/* Christmas theme. Keep scene lighting, text, and control colors scoped to the active season. */
html.holiday {
  --holiday-cream: #fff9ed;
  --holiday-cranberry: #95223e;
  --holiday-pine: #1f4c37;
  --holiday-spruce: #173326;
  --holiday-mint: #c9e6cf;
  --holiday-rose: #ffc4ce;
  --holiday-lights: radial-gradient(ellipse 4px 4px at 8px 4px,#ffe7e1 0 .65px,#ed3e50 1.2px 1.85px,#d72b4740 2.5px,transparent 4px) 0 50%/96px 9px repeat-x,radial-gradient(ellipse 4px 4px at 32px 4px,#e3ffe8 0 .65px,#3dc978 1.2px 1.85px,#24a75640 2.5px,transparent 4px) 0 50%/96px 9px repeat-x,radial-gradient(ellipse 4px 4px at 56px 4px,#e7f3ff 0 .65px,#488ff7 1.2px 1.85px,#3471d540 2.5px,transparent 4px) 0 50%/96px 9px repeat-x,radial-gradient(ellipse 4px 4px at 80px 4px,#fff6cc 0 .65px,#e5be43 1.2px 1.85px,#e2ae3640 2.5px,transparent 4px) 0 50%/96px 9px repeat-x;
}

/* Shared navigation and page actions */
html.holiday {
  --agency-orange: #ffc4ce;
  --agency-peach: #d7edd9;
}

:where(.holiday) .agency-page a:focus-visible,
:where(.holiday) .agency-page button:focus-visible,
:where(.holiday) .site-mast :focus-visible,
:where(.holiday) .agency-foot :focus-visible {
  outline: 2px solid #ffc4ce;
}

:where(.holiday) .site-skip {
  background: #f6f1df;
  color: #17271e !important;
}

:where(.holiday) .site-links {
  border: 1px solid #eeeedd52;
}

:where(.holiday) .site-links .site-tab[aria-current=page],
:where(.holiday) .site-links .site-tab[aria-selected=true] {
  color: #19201c;
}

:where(.holiday) .site-quote:hover {
  color: #17271e;
}

/* Main Street */
:where(.holiday) .scene-label {
  color: #d7edd9;
}

:where(.holiday) .town .primary-action:hover {
  background: #ffc4ce;
}

:where(.holiday) .town .why-action:hover {
  color: #ffc4ce;
}

/* Coverage chooser */
:where(.holiday) .coverage-stage__chooser button[aria-pressed="true"] {
  color: #ffc4ce;
}

/* Agency story */
:where(.holiday) .why-page {
  --why-peach: #d7edd9;
  --why-orange: #ffc4ce;
}

:where(.holiday) .why-page .why-portrait {
  box-shadow: 0 0 0 5px var(--why-night),0 0 0 6px #c6e1bf45;
}

@media screen and (prefers-reduced-motion: no-preference) {
  :where(.holiday) .why-origin::before {
    background: radial-gradient(ellipse at 73% 46%,#9ec2a526,transparent 62%);
  }

  :where(.holiday) .home-page .agency-foot::before {
    background: linear-gradient(90deg,#ffc4ce,#d7edd9 48%,transparent);
  }
}

/* Immersive tour and map controls */
html.holiday {
  --orange: #ffc4ce;
}

:where(.holiday .tour-body) button:focus-visible,
:where(.holiday .tour-body) a:focus-visible {
  outline: 2px solid #ffc4ce;
}

:where(.holiday .tour-body) .skip {
  color: #17271e;
}

:where(.holiday .tour-body) .experience {
  background: radial-gradient(ellipse at 79% 46%,#1d3027 0%,#19201c 39%,#151513 73%);
}

:where(.holiday .tour-body) .tab[aria-selected=true] {
  color: #1d3027;
}

:where(.holiday .tour-body) .kicker {
  color: #bad7c1;
}

:where(.holiday .tour-body) h1 em {
  color: #d7edd9;
}

:where(.holiday .tour-body) .action {
  color: #17271e;
}

:where(.holiday .tour-body) .action:hover {
  background: #ffc4ce;
}

:where(.holiday .tour-body) .vehicle-views {
  background: #19201c;
}

:where(.holiday .tour-body) .vehicle-views button[aria-pressed=true] {
  color: #17271e;
}

:where(.holiday .tour-body) .lens {
  background: #19201c;
}

:where(.holiday .tour-body) .corner {
  border-color: #bad7c1;
}

:where(.holiday .tour-body) .pin .ring {
  border: 1px solid #fff9ebed;
  background: #15251ece;
  box-shadow: 0 0 0 5px #16221b66,0 2px 10px #0005;
}

:where(.holiday .tour-body) .pin:hover .ring,
:where(.holiday .tour-body) .pin:focus-visible .ring,
:where(.holiday .tour-body) .pin.chosen .ring {
  border-color: #ffc4ce;
  color: #17271e;
  box-shadow: 0 0 0 5px #eeb1c237,0 2px 12px #0004;
}

:where(.holiday .tour-body) .pin.displaced:before {
  background: #f6f1df;
}

:where(.holiday .tour-body) .track-line:after {
  background: #bad7c1;
}

@media (max-width:814px) and (min-height:501px) {
  :where(.holiday .tour-body) .pin .ring {
    box-shadow: 0 0 0 3px #16221b7d,0 2px 8px #0006;
  }
}

:where(.holiday .tour-body) .immersive .kicker {
  color: #d7edd9;
}

:where(.holiday .tour-body) .immersive h1 em {
  color: #d7edd9;
}

:where(.holiday .tour-body) .umbrella-world {
  background: linear-gradient(#bddbd1 30%,#bacac8 65%,#9baeb2);
}

/* Commercial street and business tours */
:where(.holiday) .business-back {
  color: #d7edd9;
}

:where(.holiday) .business-back span {
  color: #ffc4ce;
}

:where(.holiday) #business-hub .kicker {
  color: #d7edd9;
}

:where(.holiday) #business-hub h1 em {
  color: #d7edd9;
}

:where(.holiday) .hub-pin:is(:hover, :focus-visible, .paired)::before {
  color: #1d3027;
  border-color: #ffc4ce;
}

:where(.holiday) .hub-choice:is(:hover, :focus-visible, .paired) {
  color: #d7edd9;
}

:where(.holiday) .hub-other a {
  color: #ffc4ce;
}

/* Life insurance */
:where(.holiday) .life-intake:focus-visible {
  outline: 3px solid #8c203e;
}

:where(.holiday) .life-form-head h2 em {
  color: #8c203e;
}

:where(.holiday) .life-intake a {
  text-decoration-color: #3a6a50;
}

:where(.holiday) .life-intake a:focus-visible {
  outline-color: #8c203e;
}

/* Client welcome and lock-screen notifications */
:where(.holiday) .welcome {
  --rust: #8c203e;
}

:where(.holiday) .welcome-letter h1 em {
  color: #d7edd9;
}

:where(.holiday) .welcome-signature img {
  border: 1px solid #bad7c1;
}

:where(.holiday) .welcome-contact {
  border-block: 1px solid #dce5d930;
}

:where(.holiday) .welcome .welcome-button:hover {
  background: #d7edd9;
}

:where(.holiday) .claims-panel h2 em {
  color: #d7edd9;
}

:where(.holiday) .client-phone .phone-display {
  background: radial-gradient(ellipse 130% 75% at 125% 106%,#c44c69 0%,#74253e 19%,#452537 33%,#17241e 55%,transparent 56%), radial-gradient(ellipse 140% 92% at -29% 13%,#111a1a 32%,#27312e 56%,#48504a 66%,#6e987e 69.3%,#cee7d0 70%,#436951 70.5%,#17241e 72%,transparent 76%), linear-gradient(143deg,#29312e,#131918 51%,#2a4c39 93%);
}

:where(.holiday) .client-phone .phone-app-badge > span {
  background: #b93452;
}

:where(.holiday) .client-phone .phone-notice a:focus-visible::after {
  outline: 2px solid #8c203e;
}

/* Quote form */
:where(.holiday) .quote-intro details {
  border-block: 1px solid #dce5d930;
}

:where(.holiday) .quote-frame-help a:focus-visible {
  outline-color: #8c203e;
}

/* Snow, roofline colors, and the transparent header monogram */
.holiday .season-flurries {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  contain: strict;
}

.holiday .season-flurries i {
  position: absolute;
  top: -4%;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  background: #fff;
  border-radius: 50%;
  opacity: var(--a);
  animation: holiday-snowfall var(--d) linear var(--lag) infinite;
  animation-play-state: paused;
}

.holiday .season-flurries.in-view i {
  animation-play-state: running;
}

/* Stacked scenes occupy the same viewport box, even when the tour hides them.
   Removing the inactive sheets from layout releases their animation layers. */
.holiday .season-flurries:not(.in-view),
.holiday .is-guided .coverage-stage__scene:not(.is-current) > .season-flurries,
.holiday .scene-layer:not(.visible) > .season-flurries,
.holiday .street-pending .town-photo > .season-flurries {
  display: none;
}

@keyframes holiday-snowfall {
  0% {
    transform: translate(0,-1svh);
  }

  65% {
    transform: translate(2.5vw,68svh);
  }

  100% {
    transform: translate(5vw,107svh);
  }
}

.holiday .coverage-stage__caption {
  z-index: 3;
}

.holiday .why-origin,
.holiday .quote-page,
.holiday .agency-foot {
  --winter-forest: #172724;
}

.holiday .why-page .why-origin {
  background: radial-gradient(ellipse at 78% 42%,#34453b,transparent 59%),var(--winter-forest);
}

.holiday .agency-foot {
  background: var(--winter-forest);
  position: relative;
}

.holiday .agency-foot::before {
  content: "";
  display: block;
  height: 9px;
  background: var(--holiday-lights);
  opacity: .8;
  position: absolute;
  inset: 0 0 auto;
}

.holiday .why-portrait {
  box-shadow: 0 0 0 5px #1b2824,0 0 0 6px #b4d2b988,0 3px 40px #b3d3ba1b;
}

.holiday .town::after {
  background: linear-gradient(90deg,#101c25d9 0%,#131f28a8 29%,#13202b32 60%,transparent 82%),linear-gradient(0deg,#111a2345,transparent 42%);
}

@media (max-width:720px) {
  .holiday .town::after {
    background: linear-gradient(90deg,#101c2396,transparent 100%),linear-gradient(0deg,#111c25a8 2%,#111c2550 56%,#111c2526);
  }

  .holiday .season-flurries i:nth-child(2n) {
    display: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .holiday .season-flurries {
    display: none;
  }
}

.holiday #personal-layer:has(.motorcycle-stop) > .season-flurries {
  display: none;
}

.holiday .site-brand img {
  width: clamp(50px,4.4vw,65px);
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

@media (max-width:900px) {
  .holiday .site-brand img {
    width: 45px;
  }
}

@media (max-width:370px),(min-width:650px) and (max-height:500px) {
  .holiday .site-brand img {
    width: 37px;
  }
}

/* Navigation and control contrast on imagery and paper */
.holiday .site-links,
.holiday .site-quote {
  background-color: #182e24f0;
}

.holiday .site-links .site-tab:is([aria-selected=true],[aria-current=page]) {
  background: var(--holiday-cream);
  color: var(--holiday-spruce);
}

.holiday .site-quote:hover {
  background: var(--holiday-cream);
  color: var(--holiday-spruce);
}

.holiday .town .primary-action,
.holiday .action,
.holiday .life-page .life-action,
.holiday .welcome .welcome-button,
.holiday .coverage-stage .coverage-stage__open {
  background: var(--holiday-cranberry);
  color: var(--holiday-cream);
  box-shadow: inset 0 0 0 1px #fcd8df60;
}

.holiday .town .primary-action:hover,
.holiday .action:hover,
.holiday .life-page .life-action:hover,
.holiday .welcome .welcome-button:hover,
.holiday .coverage-stage .coverage-stage__open:is(:hover,:focus-visible) {
  background: #751832;
  color: white;
}

.holiday .town .why-action {
  background: var(--holiday-spruce);
  color: var(--holiday-mint);
}

.holiday .town .why-action:hover {
  background: var(--holiday-pine);
  color: white;
}

.holiday .life-page .life-intake h2 em {
  color: var(--holiday-cranberry);
}

.holiday .quote-frame-panel:focus-visible {
  outline-color: var(--holiday-pine);
}

.holiday .client-phone .phone-notice {
  background: linear-gradient(140deg,#fffaf2f5,#e6eee5ef);
  border-color: #ffffff9c;
}

.holiday .client-phone .notice-brand strong {
  color: var(--holiday-pine);
}

.holiday .client-phone .phone-app-badge > span {
  background: var(--holiday-cranberry);
}

.holiday .home-page .agency-foot::before {
  background: var(--holiday-lights);
}
