.link-prompt {
  display: inline-block;
  flex: 0 0 auto;
  width: max-content;
  margin-inline-start: .42em;
  padding: .1em .33em;
  border: 1px solid currentColor;
  border-radius: .22em;
  color: inherit;
  font: 650 .69rem/1.2 system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  vertical-align: .12em;
  white-space: nowrap;
}
a:hover .link-prompt { background: #c888a123; }
a:is(.wordmark,.brand) { position: relative; padding-block-end: .62rem; }
a:is(.wordmark,.brand) > .link-prompt {
  position: absolute;
  inset-block-end: -.3rem;
  inset-inline-end: 0;
  margin: 0;
  color: inherit;
}
.quick-nav a, .nav-links a, .guide-header > nav > .free-guide-button {
  flex-direction: column;
  gap: .15rem;
}
.quick-nav a > .link-prompt, .nav-links a > .link-prompt,
.guide-header > nav > .free-guide-button > .link-prompt {
  margin-inline-start: 0;
  padding: 0;
  border: 0;
}
a.button, a.free-guide-button, .route-links a, .footer-links a { flex-wrap: wrap; }
.guide-header .page-links > a { gap: .25rem; }
.translation-panel li a { justify-content: space-between; }
.site-header {
  background: linear-gradient(110deg, #492b36, #382b30 55%, #27372e);
  border-color: #b2935c;
}
.guide-header, .site-bar {
  background: linear-gradient(105deg, #38262d, #252e27);
  border-block-end: 1px solid #9b8055;
}
.holiday-season-line {
  background: linear-gradient(95deg, #292c26, #343b2e, #292c26);
  color: #f5dfb9;
}
.site-header .holiday-wordmark, .guide-header .holiday-wordmark {
  display: block;
  flex: none;
  width: clamp(17rem, 31vw, 23rem);
  max-width: 100%;
  padding: .28rem 1.12rem .26rem .36rem;
  border: 1px solid #e0bdc8;
  border-radius: .48rem;
  background: #fff2ea;
  color: #58163d;
}
.holiday-wordmark-art {
  display: block;
  position: relative;
}
.holiday-wordmark-art img {
  display: block;
  width: 100%;
  height: auto;
}
.holiday-wordmark .holiday-trademark {
  position: absolute;
  top: 48%;
  left: 100%;
  color: #58163d;
  font: 750 .92rem/1 system-ui, sans-serif;
}
.holiday-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.holiday-stars i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(.9rem, 5.5%, 1.6rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--light);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  opacity: .57;
}
.holiday-stars i:nth-child(1) { --x: 17%; --y: 30%; --light: #fff1ff; --delay: .12s; }
.holiday-stars i:nth-child(2) { --x: 29%; --y: 35%; --light: #fff0f4; --delay: .55s; }
.holiday-stars i:nth-child(3) { --x: 41%; --y: 25%; --light: #fff5ce; --delay: .22s; }
.holiday-stars i:nth-child(4) { --x: 55%; --y: 37%; --light: #f0fcff; --delay: .85s; }
.holiday-stars i:nth-child(5) { --x: 69%; --y: 33%; --light: #fff0ff; --delay: .43s; }
.holiday-stars i:nth-child(6) { --x: 82%; --y: 23%; --light: #fff2f5; --delay: 1.0s; }
@media (prefers-reduced-motion: no-preference) {
  .holiday-stars i { animation: holiday-star-breathe 1.8s ease-in-out var(--delay) 2; }
  .holiday-wordmark:is(:hover, :focus-visible) .holiday-stars i {
    animation-name: holiday-star-twinkle;
  }
}
@keyframes holiday-star-breathe {
  0%, 100% { opacity: .57; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.45); }
}
@keyframes holiday-star-twinkle {
  0%, 100% { opacity: .57; transform: translate(-50%, -50%) scale(1); }
  42% { opacity: .82; transform: translate(-50%, -50%) scale(1.18); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}
@media (min-width: 1451px) {
  .site-header .holiday-wordmark { width: 19rem; }
  .site-header .nav-wrap { width: min(1390px, calc(100% - 40px)); gap: .75rem; }
}
@media (max-width: 600px) {
  .site-header .nav-wrap { flex-wrap: wrap; padding-block: .42rem; }
  .site-header .holiday-wordmark { flex-basis: 100%; }
}
@media (max-width: 520px) {
  .guide-header .holiday-wordmark { grid-column: 1 / -1; }
  .holiday-wordmark-art { max-width: 20rem; margin-inline: auto; }
  .guide-header ~ main :is(#start, #videos, #vesper) { scroll-margin-top: 9.5rem; }
}
.winter-greeting {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  min-height: 48px;
  padding: .3rem 1rem;
  background: #2e392e;
  color: #f6e0ba;
  border-block-end: 1px solid #9b8055;
}
.winter-greeting img {
  width: 72px;
  height: 42px;
  flex: 0 0 72px;
  object-fit: cover;
  object-position: center 58%;
  border-radius: .25rem;
}
.winter-greeting p { margin: 0; color: inherit; font: 600 .84rem/1.35 system-ui, sans-serif; }
@media (max-width: 520px) {
  .guide-header .page-links > a { flex-direction: column; justify-content: center; gap: .15rem; }
  .guide-header .page-links > a > .link-prompt {
    margin: 0;
    padding: 0;
    border: 0;
  }
}

/* A brief gold glint marks an active link. */
.link-prompt { position: relative; }
.link-prompt::after {
  content: "";
  position: absolute;
  inset-block-start: -.3rem;
  inset-inline-end: -.3rem;
  width: .52rem;
  height: .52rem;
  background: #dca846;
  clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 62%, 50% 100%, 37% 62%, 0 50%, 37% 37%);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  a:is(:hover,:focus-visible) .link-prompt::after {
    animation: link-glint .6s ease-out both;
  }
  .site-home-intro a.button-primary, #videos .free-guide-button {
    animation: warm-link-glow .85s ease-out .18s;
  }
  @keyframes link-glint {
    0% { opacity: 0; transform: scale(.3) rotate(-20deg); }
    48% { opacity: 1; transform: scale(1.35) rotate(10deg); }
    100% { opacity: 0; transform: scale(.7) rotate(30deg); }
  }
  @keyframes warm-link-glow {
    0%, 100% { box-shadow: 0 0 0 0 #dca84600; }
    45% { box-shadow: 0 0 0 4px #dca846aa; }
  }
}

.holiday-lantern-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(ellipse at 49% 55%, #ffd28d70, #ffc77726 32%, transparent 61%);
  opacity: .15;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .holiday-lantern-art::before { animation: lantern-wake 1.8s ease-out .2s both; }
  .site-home-intro a.button-primary:hover, .site-home-intro a.button-primary:focus-visible,
  #videos .free-guide-button:hover, #videos .free-guide-button:focus-visible {
    animation: lantern-link-aura .95s ease-out;
  }
  @keyframes lantern-wake {
    0%, 100% { opacity: .15; transform: scale(.87); }
    42% { opacity: .72; transform: scale(1.08); }
  }
  @keyframes lantern-link-aura {
    0% { box-shadow: 0 0 0 0 #dca84690, 0 0 0 0 #ffd49570; }
    55% { box-shadow: 0 0 0 5px #dca84650, 0 0 20px 3px #ffd49566; }
    100% { box-shadow: 0 0 0 10px #dca84600, 0 0 26px 7px #ffd49500; }
  }
}
