/* Buffalo Restyle Christmas overlay. Decorative only; no network or motion. */
.br-christmas {
  --br-ice: #f1f7ff;
  --br-ice-blue: #b7d5eb;
  --br-champagne: #f5d8a3;
  background-image: radial-gradient(ellipse 40rem 19rem at 50% 13.5rem, #16304045, transparent);
  background-repeat: no-repeat;
}
.br-holiday-lights {
  height: 28px;
  width: min(100%, 78rem);
  margin-inline: auto;
  color: #6d6572;
  pointer-events: none;
  background-image: url("/buffalo-holiday-lights.svg");
  background-position: center top;
  background-repeat: repeat-x;
  position: relative;
  z-index: 1;
  opacity: .92;
  mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
.br-christmas .quote-section > .br-holiday-lights,
.br-christmas .confirm-hero + .section > .br-holiday-lights { margin-block-end: 14px; }
.br-christmas .close > .br-holiday-lights {
  position: absolute;
  inset: 9px 0 auto;
  opacity: .78;
}
.br-entrance-lights {
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent),
              linear-gradient(180deg, #000 0 75%, transparent);
  mask-composite: intersect;
}
.br-christmas .brandbar .location {
  justify-content: center;
  background: linear-gradient(135deg, #172823, #201820 78%);
  border-color: #d1ab6275;
  box-shadow: inset 0 1px #fff1, 0 4px 20px #0a20183d;
  color: var(--br-champagne);
  font-size: clamp(.75rem, 2.65vw, .86rem);
  font-weight: 650;
  text-align: center;
}
.br-christmas .brandbar .location::before,
.br-christmas .brandbar .location::after {
  content: "";
  width: .78rem;
  height: .78rem;
  flex: 0 0 .78rem;
  border-radius: 0;
  background: url("/buffalo-holiday-flake.svg") center / contain no-repeat;
  box-shadow: none;
  animation: none;
}
@media (max-width: 600px) {
  .br-holiday-lights { height: 23px; background-size: 204px 24px; }
}

/* Use the actual painted glyphs as the frost mask, including their curves and corners. */
.br-frost-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.br-snowword {
  display: inline-block;
  white-space: nowrap;
  color: #bce9f8;
  text-shadow: none;
}
@supports (background-clip: text) {
  .br-snowword {
    background: linear-gradient(#ebfaff 18%, #bbe6f4 43%, #81c6de 78%, #55a4c1 100%);
    background-clip: text;
    color: transparent;
    filter: url("#br-glyph-frost") drop-shadow(0 .018em 0 #276c86);
  }
}

.br-christmas .quote-card,.br-christmas .contact-note {
  background-image: linear-gradient(145deg, #748f9d14, transparent 38%), linear-gradient(325deg, #ad804e12, transparent 40%);
  border-color: #efca902e;
}
@media (forced-colors: active) {
  .br-holiday-lights,.br-christmas .brandbar .location::before,.br-christmas .brandbar .location::after { display: none; }
  .br-snowword { background:none; filter:none; color:CanvasText; }
}

/* A short string tucked into an edge. Never overlaps the interactive surface. */
.br-christmas :is(.inclusion-card,.journey-card,.main-video,.contact-note) { position:relative; }
.br-christmas :is(.quote-card,.inclusion-card:nth-of-type(3n+1),.journey-card:nth-of-type(4n+1),
  .gallery figure:nth-of-type(3n+1),.owner-portrait,.main-video,.breakout:nth-of-type(3n+1))::after {
  content:""; position:absolute; z-index:2; pointer-events:none;
  top:2px; right:4px; width:min(39%,9.25rem); aspect-ratio:160/42;
  background:url("/buffalo-corner-lights.svg") top right / 100% auto no-repeat;
  opacity:.9;
}
.br-christmas :is(.gallery figure:nth-of-type(3n+1),.owner-portrait,.main-video)::after { top:4px; right:6px; width:min(55%,9.5rem); }
@media(max-width:600px){
  .br-christmas :is(.quote-card,.inclusion-card,.journey-card,.breakout)::after { width:min(31%,7rem); }
  .br-christmas .gallery figure:nth-of-type(3n+1)::after { width:70%; }
}
@media(forced-colors:active){
  .br-christmas :is(.quote-card,.inclusion-card,.journey-card,.gallery figure,.owner-portrait,.main-video,.breakout)::after { display:none; }
}


.br-hero-details {
  width: min(100%, 43rem);
  margin: 1.05rem auto 0;
}
.br-hero-end {
  display: inline-flex;
  align-items: center;
  gap: .22em;
  white-space: nowrap;
}
.br-special-tag {
  display: inline-flex;
  flex: none;
  font-family: "DM Sans", system-ui, sans-serif;
  align-items: center;
  gap: .45rem;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: .36rem .9rem .36rem .78rem;
  clip-path: polygon(0 50%, .55rem 0, 100% 0, 100% 100%, .55rem 100%);
  border-radius: 0 .28rem .28rem 0;
  background: linear-gradient(165deg, #f5fdff 2%, #c7ecfb 34%, #8ec5dd);
  color: #102c3a;
  box-shadow: inset 0 1px #fff, inset 0 -1px #74abc4;
  transform: rotate(-7deg);
  transform-origin: .95rem center;
  animation: br-tag-rock 3s ease-in-out infinite alternate;
  text-transform: uppercase;
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .08em;
}
.br-special-tag > span {
  width: .3rem;
  height: .3rem;
  border-radius: 50%;
  background: #1d414f;
  box-shadow: 0 0 0 1px #ffffffad;
}
.br-special-tag::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, transparent 24%, #fff8 49%, transparent 69%);
  transform: translateX(-100%);
  animation: br-tag-glint 5s ease-in-out infinite;
}
@keyframes br-tag-rock {
  from { transform: rotate(-9deg); }
  to { transform: rotate(9deg); }
}
@keyframes br-tag-glint {
  25%, 100% { transform: translateX(100%); }
}
.br-hero-sub {
  margin: .65rem auto 1.15rem;
  max-width: 38rem;
  color: #dce6ee;
  font-size: clamp(1rem, 2.5vw, 1.24rem);
  line-height: 1.46;
  text-wrap: pretty;
}
.br-hero-sub strong { color: #c3efff; }
.br-hero-benefits {
  list-style: none;
  margin: 0 auto 1rem;
  padding: 0;
  text-align: left;
}
.br-hero-benefits li {
  display: grid;
  grid-template-columns: 1.05rem 1fr;
  align-items: start;
  gap: .7rem;
  padding: .67rem .35rem;
  border-top: 1px solid #a5d7ef35;
  color: #eef6fb;
  font-size: clamp(.93rem, 2.15vw, 1.06rem);
  line-height: 1.36;
}
.br-hero-benefits li::before {
  content: "";
  box-sizing: border-box;
  width: .48rem;
  height: .77rem;
  margin: .1rem 0 0 .25rem;
  border: solid #a5dbef;
  border-width: 0 .13rem .13rem 0;
  transform: rotate(42deg);
}
.br-hero-quote { display: inline-flex; justify-content: center; width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .br-special-tag,.br-special-tag::after { animation: none; }
}
