/* Christmas Crawl. Scoped to body.crawl and to the home-page teaser
   (.crawl-home) so the rest of the site, including /maps, stays as it is.
   Holiday colour on the same type: Instrument Serif, Karla, bone, near-black.
   Gold #E4C56A, cranberry #8E2432 / #7E1E2E, pine #14281C. */

.crawl-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 15% 0%, rgba(228, 197, 106, .18), transparent 55%),
    #163024;
  color: #F7F4EA;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.crawl-home .kicker { color: #E4C56A; }
.crawl-home .display { color: #F7F4EA; }
.crawl-home em.lit { color: #F0D78C; }
.crawl-home .lede { color: #E4EDE4; max-width: 46rem; }
.crawl-home .btn-go { background: #E4C56A; color: #1A1408; }
.crawl-home .btn-go:hover { background: #fff; color: #1A1408; }

/* ---------- string lights and snow ---------- */
.lights {
  position: absolute;
  z-index: 2;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 3%;
  height: 28px;
  pointer-events: none;
}
.lights::before {
  content: "";
  position: absolute;
  left: 1%; right: 1%; top: 5px;
  border-top: 2px solid #4A3518;
  border-radius: 2px;
}
.lights i {
  position: relative;
  width: 11px; height: 15px;
  margin-top: 6px;
  border-radius: 50% 50% 42% 42%;
  color: #E4C56A;
  background: currentColor;
  box-shadow: 0 0 8px currentColor, inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.lights i:nth-child(3n + 1) { color: #E23B4A; }
.lights i:nth-child(3n + 2) { color: #8FD6A4; }
.lights i:nth-child(odd) { margin-top: 9px; }
.crawl-home .lights { height: 22px; }

.snow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.snow span {
  position: absolute;
  top: -8%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
  animation: snow-fall linear infinite;
}
.snow span:nth-child(1)  { left: 6%;  animation-duration: 11s; animation-delay: -2s; }
.snow span:nth-child(2)  { left: 14%; animation-duration: 15s; animation-delay: -8s; width: 3px; height: 3px; }
.snow span:nth-child(3)  { left: 23%; animation-duration: 13s; animation-delay: -4s; }
.snow span:nth-child(4)  { left: 31%; animation-duration: 17s; animation-delay: -11s; width: 4px; height: 4px; }
.snow span:nth-child(5)  { left: 40%; animation-duration: 12s; animation-delay: -6s; }
.snow span:nth-child(6)  { left: 48%; animation-duration: 16s; animation-delay: -1s; width: 3px; height: 3px; }
.snow span:nth-child(7)  { left: 57%; animation-duration: 14s; animation-delay: -9s; }
.snow span:nth-child(8)  { left: 66%; animation-duration: 18s; animation-delay: -3s; width: 4px; height: 4px; }
.snow span:nth-child(9)  { left: 74%; animation-duration: 12s; animation-delay: -7s; }
.snow span:nth-child(10) { left: 83%; animation-duration: 15s; animation-delay: -12s; width: 3px; height: 3px; }
.snow span:nth-child(11) { left: 90%; animation-duration: 13s; animation-delay: -5s; }
.snow span:nth-child(12) { left: 96%; animation-duration: 17s; animation-delay: -10s; }

@keyframes snow-fall {
  0%   { transform: translateY(-10%) translateX(0); opacity: 0; }
  12%  { opacity: .8; }
  100% { transform: translateY(105vh) translateX(18px); opacity: .15; }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50%      { opacity: .45; filter: brightness(.65); }
}
@keyframes stamp-in {
  0%   { transform: rotate(-14deg) scale(1.55); opacity: 0; }
  100% { transform: rotate(-14deg) scale(1); opacity: 1; }
}
@keyframes pin-pulse {
  50% { box-shadow: 0 0 0 8px rgba(228, 197, 106, .2), 0 2px 6px rgba(0, 0, 0, .35); }
}

@keyframes foil-shift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  .lights i { animation: twinkle 2.6s ease-in-out infinite; }
  .lights i:nth-child(3n + 1) { animation-delay: .4s; }
  .lights i:nth-child(3n + 2) { animation-delay: .9s; }
  .marquee-bulbs i { animation: twinkle 1.7s ease-in-out infinite; }
  .marquee-bulbs i:nth-child(3n + 1) { animation-delay: .2s; }
  .marquee-bulbs i:nth-child(3n + 2) { animation-delay: .55s; }
  .marquee-huge { animation: foil-shift 5.5s linear infinite alternate; }
  .celebrate[open] .stamp { animation: stamp-in .45s cubic-bezier(.2, 1.3, .4, 1); }
  .pin-next { animation: pin-pulse 1.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .snow { display: none; }
  .lights i, .stamp, .pin-next { animation: none; }
}

/* ---------- landing ---------- */
.crawl-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3.6rem, 9vw, 6rem) .85rem clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(ellipse 80% 55% at 50% 18%, rgba(228, 197, 106, .34), transparent 58%),
    radial-gradient(ellipse 42% 48% at 6% 88%, rgba(142, 36, 50, .55), transparent 55%),
    radial-gradient(ellipse 38% 42% at 96% 78%, rgba(30, 107, 58, .4), transparent 60%),
    #0c1c14;
  color: #F7F4EA;
}
.crawl-hero-inner { position: relative; z-index: 1; }
.crawl-hero .kicker { color: #F0D78C; }
.marquee {
  position: relative;
  max-width: 34rem;
  margin: .2rem auto 1.5rem;
  padding: 1.7rem .7rem 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 220, 150, .14), transparent 28%),
    repeating-linear-gradient(90deg, #5c321c 0 14px, #4a2816 14px 28px);
  border: 8px solid #2a160e;
  border-radius: 12px;
  box-shadow:
    0 0 0 3px #E4C56A,
    0 22px 40px rgba(0, 0, 0, .45),
    inset 0 0 0 2px rgba(228, 197, 106, .35);
}
.marquee-bulbs {
  position: absolute;
  inset: 7px;
  pointer-events: none;
}
.marquee-bulbs i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff4c4;
  box-shadow: 0 0 8px #fff4c4, 0 0 2px #fff;
}
.marquee-bulbs i:nth-child(3n + 1) { background: #ff4d5a; box-shadow: 0 0 8px #ff4d5a; }
.marquee-bulbs i:nth-child(3n + 2) { background: #7dffb0; box-shadow: 0 0 8px #7dffb0; }
.marquee-bulbs i:nth-child(1)  { top: 0; left: 2%; }
.marquee-bulbs i:nth-child(2)  { top: 0; left: 12%; }
.marquee-bulbs i:nth-child(3)  { top: 0; left: 22%; }
.marquee-bulbs i:nth-child(4)  { top: 0; left: 32%; }
.marquee-bulbs i:nth-child(5)  { top: 0; left: 42%; }
.marquee-bulbs i:nth-child(6)  { top: 0; left: 52%; }
.marquee-bulbs i:nth-child(7)  { top: 0; left: 62%; }
.marquee-bulbs i:nth-child(8)  { top: 0; left: 72%; }
.marquee-bulbs i:nth-child(9)  { top: 0; left: 82%; }
.marquee-bulbs i:nth-child(10) { top: 0; left: 92%; }
.marquee-bulbs i:nth-child(11) { bottom: 0; left: 6%; }
.marquee-bulbs i:nth-child(12) { bottom: 0; left: 18%; }
.marquee-bulbs i:nth-child(13) { bottom: 0; left: 30%; }
.marquee-bulbs i:nth-child(14) { bottom: 0; left: 42%; }
.marquee-bulbs i:nth-child(15) { bottom: 0; left: 54%; }
.marquee-bulbs i:nth-child(16) { bottom: 0; left: 66%; }
.marquee-bulbs i:nth-child(17) { bottom: 0; left: 78%; }
.marquee-bulbs i:nth-child(18) { bottom: 0; left: 90%; }
.marquee-bulbs i:nth-child(19) { top: 18%; left: 0; }
.marquee-bulbs i:nth-child(20) { top: 42%; left: 0; }
.marquee-bulbs i:nth-child(21) { top: 66%; left: 0; }
.marquee-bulbs i:nth-child(22) { top: 18%; right: 0; }
.marquee-bulbs i:nth-child(23) { top: 42%; right: 0; }
.marquee-bulbs i:nth-child(24) { top: 66%; right: 0; }
.marquee-title { margin: 0; }
.marquee-banner {
  display: inline-block;
  margin: 0 0 .45rem;
  padding: .42rem .85rem .36rem;
  background: #8E2432;
  color: #F7F4EA;
  font-family: "Rye", Georgia, serif;
  font-size: clamp(1.05rem, 4.8vw, 1.65rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .02em;
  border-radius: 3px;
  box-shadow: 0 5px 0 #4e1018;
  transform: rotate(-1.5deg);
}
.marquee-huge {
  display: block;
  margin: 0;
  font-family: "Abril Fatface", Georgia, serif;
  font-size: clamp(3.35rem, 15.6vw, 7.4rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.02em;
  color: #F6E2A4;
  text-shadow: 0 3px 0 #3a220c, 0 0 18px rgba(246, 226, 164, .45);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .marquee-huge {
    background-image: linear-gradient(105deg, #fff8dc 0%, #f6e2a4 18%, #fff 36%, #e4c56a 52%, #a67c2d 70%, #fff6d4 86%, #f0d78c 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 0 #3a220c) drop-shadow(0 0 14px rgba(246, 226, 164, .4));
    text-shadow: none;
  }
}
.marquee-icons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: .85rem;
  margin-top: .65rem;
}
.crawl-hero em.lit { color: #F3DE9A; }
.crawl-hero .lede {
  color: #E4EDE4;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.date-show { margin: 1.8rem auto 0; max-width: 28rem; }
.date-kicker {
  margin: 0 0 .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #F0D78C;
}
.cal-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.cal-tile {
  background: #F7F4EA;
  color: #171A15;
  border-radius: 8px 8px 6px 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
.cal-dow {
  display: block;
  background: #7E1E2E;
  color: #F7F4EA;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .45rem .4rem .4rem;
}
.cal-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.4rem, 12vw, 4.6rem);
  line-height: .9;
  padding: .45rem 0 .1rem;
  color: #7E1E2E;
}
.cal-mon {
  display: block;
  padding-bottom: .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4A5145;
}
.cal-year {
  margin: .75rem 0 .35rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .18em;
  color: #F0D78C;
}
.time-ribbon {
  display: inline-block;
  margin: .2rem 0 0;
  padding: .55rem 1.15rem .5rem;
  background: #E4C56A;
  color: #1A1408;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(228, 197, 106, .22), 0 10px 24px rgba(0, 0, 0, .25);
}
.crawl-countdown {
  margin: .85rem 0 0;
  min-height: 1.4em;
  font-size: .95rem;
  color: #F7F4EA;
}
.crawl-prize {
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(228, 197, 106, .28), transparent 62%),
    radial-gradient(ellipse 40% 70% at 0% 100%, rgba(142, 36, 50, .08), transparent 60%),
    var(--bone);
}
.crawl-prize .wrap {
  max-width: 46rem;
  border: 2px solid #7E1E2E;
  border-radius: 12px;
  padding: 1.4rem 1.15rem 1.5rem;
  background: #fffdf6;
  box-shadow: 0 0 0 6px rgba(228, 197, 106, .45), 0 14px 30px rgba(23, 26, 21, .07);
}
.crawl-prize .lede { max-width: 40rem; }
.crawl-card { position: relative; overflow: hidden; }
.crawl-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: #8E2432;
}
.crawl-card:first-child {
  border-color: #C6A15B;
  box-shadow: 0 8px 22px rgba(198, 161, 91, .22);
}
.crawl-card:first-child::before { background: #C6A15B; }
.map-when {
  display: inline-block;
  margin: 0 0 .8rem;
  padding: .35rem .7rem;
  background: #7E1E2E;
  color: #F7F4EA;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 999px;
}
@media (prefers-reduced-motion: no-preference) {
  .time-ribbon { animation: ribbon-glow 2.8s ease-in-out infinite; }
  .cal-tile { animation: rise .7s cubic-bezier(.16, .84, .3, 1) both; }
  .cal-tile:nth-child(2) { animation-delay: .08s; }
}
@keyframes ribbon-glow {
  50% { box-shadow: 0 0 0 7px rgba(228, 197, 106, .12), 0 10px 24px rgba(0, 0, 0, .25); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .crawl-card { transition: transform .2s ease, box-shadow .2s ease; }
  .crawl-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(23, 26, 21, .12); }
}
.ph-flag {
  display: inline-block;
  margin: 0 auto 1.15rem;
  padding: .4rem .8rem;
  border: 1px dashed rgba(228, 197, 106, .85);
  border-radius: 2px;
  color: #F3E2A8;
  font-size: .86rem;
  line-height: 1.45;
}
.tbd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin: 1.6rem auto 0;
  max-width: 46rem;
  text-align: left;
}
.tbd-when { max-width: 44rem; }
@media (min-width: 48rem) {
  .tbd.tbd-when { grid-template-columns: 1fr 1fr; }
}
.crawl-more {
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-size: 1.45rem;
  color: #8E2432;
}
.tbd div {
  border: 1px dashed rgba(228, 197, 106, .55);
  background: rgba(0, 0, 0, .18);
  padding: .85rem .9rem;
  border-radius: 2px;
}
.tbd span {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #E4C56A;
}
.tbd strong {
  display: block;
  margin-top: .28rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
}

.crawl .paper em.lit, .crawl .paper-2 em.lit { color: #8E2432; }
.crawl .paper .kicker, .crawl .paper-2 .kicker { color: #8E2432; }
.crawl .steps li::before { color: #8E2432; }
.crawl .steps { margin-top: 1.6rem; }

.crawl-count {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8A8474;
  margin: 1.4rem 0 0;
}
.crawl-cards {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .8rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .crawl-cards { grid-template-columns: 1fr 1fr; } }
.crawl-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid #E0D9C4;
  border-radius: 3px;
  padding: 1.05rem 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.crawl-num {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
  color: #8E2432;
}
.crawl-card h3 {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  margin: .35rem 0 .2rem;
  line-height: 1.3;
}
.crawl-hours { margin: 0; color: #1E6B3A; font-size: .84rem; font-weight: 700; }
.crawl-addr { margin: .15rem 0 0; color: var(--ink-faint); font-size: .86rem; }
.crawl-sells {
  margin: .4rem 0 0;
  color: var(--ink-soft);
  font-size: .84rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.crawl-links { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: .75rem 0 0; }
.crawl-links a {
  color: #7E1E2E;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.crawl-links a:hover { text-decoration: underline; }
.crawl-empty { color: var(--ink-soft); padding: 1rem 0; }
.crawl-missing {
  margin: 1rem 0 0;
  color: #7E1E2E;
  font-size: .9rem;
}

.crawl-cta {
  background:
    radial-gradient(ellipse 50% 80% at 50% 120%, rgba(228, 197, 106, .18), transparent 60%),
    #7E1E2E;
  color: #F7F4EA;
  text-align: center;
}
.crawl-cta .kicker { color: #F0D48A; }
.crawl-cta .lede { color: #F6E4E6; }
.crawl-cta .btn-go { background: #E4C56A; color: #1A1408; }
.crawl-cta .btn-go:hover { background: #fff; color: #1A1408; }
.crawl-cta .btn-line { border-color: rgba(247, 244, 234, .45); color: #F7F4EA; }
.crawl-cta .btn-line:hover { border-color: #fff; color: #fff; }
.crawl-soon { color: #F7F4EA; text-align: center; }
.crawl-soon .kicker, .crawl-soon em.lit { color: #F0D78C; }
.crawl-soon .display { color: #F7F4EA; }
.crawl-soon .lede { color: #F7F4EA; max-width: 28rem; margin-inline: auto; }

/* ---------- section bands ---------- */
.crawl .display {
  font-size: clamp(2.85rem, 8.6vw, 5.6rem);
  line-height: 1.05;
}
.scallop {
  position: relative;
  z-index: 1;
  margin-top: -18px;
}
.crawl-hero.scallop { margin-top: 0; z-index: 0; }
.crawl-prize.scallop { z-index: 1; --bump: #F7F4EA; --dot: #7E1E2E; }
.crawl-how.scallop { z-index: 2; --bump: #7E1E2E; --dot: #F0D78C; }
.crawl-lineup.scallop { z-index: 3; --bump: #10241A; --dot: #F0D78C; }
.crawl-cta.scallop { z-index: 4; --bump: #7E1E2E; --dot: #F7F4EA; }
.crawl-soon.scallop { z-index: 2; --bump: #7E1E2E; --dot: #F0D78C; }
.scallop:not(.crawl-hero) {
  background-color: transparent;
  background-image:
    radial-gradient(circle at 14px 6px, var(--dot) 3.5px, transparent 4px),
    radial-gradient(circle at 14px 0, var(--bump) 14px, transparent 15px),
    linear-gradient(var(--bump), var(--bump));
  background-size: 28px 18px, 28px 18px, 100% calc(100% - 17px);
  background-position: 0 0, 0 0, 0 17px;
  background-repeat: repeat-x, repeat-x, no-repeat;
}
.crawl-prize,
.crawl-how,
.crawl-lineup,
.crawl-cta {
  padding-block: clamp(4.4rem, 11vw, 7.4rem);
}
.crawl-prize.chan::after,
.crawl-how.chan::after,
.crawl-lineup.chan::after,
.crawl-cta.chan::after { top: clamp(2rem, 4vw, 3rem); }

.crawl-how {
  color: #F7F4EA;
}
.crawl-how .kicker { color: #F0D78C; }
.crawl-how .display { color: #F7F4EA; }
.crawl-how em.lit { color: #F0D78C; }

.step-cards {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: .9rem;
}
@media (min-width: 48rem) {
  .step-cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.step-cards li {
  counter-increment: step;
  position: relative;
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.3rem 1.15rem;
  min-width: 0;
}
.step-cards { counter-reset: step; }
.step-cards li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: .75rem;
  right: .9rem;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
  opacity: .55;
}
.step-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-bottom: .75rem;
}
.step-cards h3 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 .45rem;
  padding-right: 2.4rem;
}
.step-cards p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.step-cards a { font-weight: 700; }
.step-cards li:nth-child(1) { background: #F7F4EA; color: #171A15; }
.step-cards li:nth-child(1) .step-ico { background: #7E1E2E; color: #F7F4EA; }
.step-cards li:nth-child(1) a { color: #7E1E2E; }
.step-cards li:nth-child(2) { background: #E4C56A; color: #1A1408; }
.step-cards li:nth-child(2) .step-ico { background: #7E1E2E; color: #F7F4EA; }
.step-cards li:nth-child(2) a { color: #6E1A28; }
.step-cards li:nth-child(3) { background: #143024; color: #F7F4EA; }
.step-cards li:nth-child(3) .step-ico { background: #E4C56A; color: #1A1408; }
.step-cards li:nth-child(3) a { color: #F0D78C; }
.step-cards li:nth-child(4) { background: #fff; color: #171A15; box-shadow: inset 0 0 0 3px #E4C56A; }
.step-cards li:nth-child(4) .step-ico { background: #143024; color: #F7F4EA; }
.step-cards li:nth-child(4) a { color: #7E1E2E; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .step-cards li { transition: transform .2s ease; }
  .step-cards li:hover { transform: translateY(-3px); }
}

.crawl-lineup { color: #F7F4EA; }
.crawl-lineup .kicker { color: #F0D78C; }
.crawl-lineup .display { color: #F7F4EA; }
.crawl-lineup em.lit { color: #F0D78C; }
.crawl-lineup .lede { color: #E7EFE4; max-width: 40rem; font-size: clamp(1.08rem, 2.4vw, 1.28rem); }
.crawl-lineup .crawl-count { color: #F0D78C; }
.crawl-lineup .crawl-more { color: #F0D78C; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.crawl-lineup .crawl-card { box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }
.crawl-cta.chan::after {
  content: "";
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  opacity: 1;
  font-size: 0;
  background: repeating-linear-gradient(90deg, #E4C56A 0 18px, #F7F4EA 18px 26px, #1E6B3A 26px 44px);
}

.is-off { display: none !important; }

/* ---------- tour ---------- */
body.crawl-tour { background: #14281C; }
body.crawl-tour .masthead { flex-shrink: 0; }
.tour-app { display: block; }
.tour-map { position: relative; height: 42vh; min-height: 240px; background: #E8E4D6; }
#crawlmap { height: 100%; width: 100%; background: #E8E4D6; z-index: 1; }
.tour-styles {
  position: absolute;
  z-index: 500;
  top: .55rem; right: .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  justify-content: flex-end;
  max-width: 70%;
}
.tour-styles .fschip {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  border-color: transparent;
}
.tour-styles .fschip.is-on { background: #1A1408; color: #E4C56A; border-color: #1A1408; }

.tour-sheet {
  background: var(--bone);
  color: var(--ink);
  padding: 1rem var(--gutter) 1.4rem;
}
.tour-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: .15rem 0 .35rem;
}
.tour-progress {
  margin: 0 0 .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8E2432;
}
.ph-inline {
  margin: 0 0 .8rem;
  padding: .55rem .7rem;
  border: 1px dashed #C4A15A;
  background: #FBF6E6;
  color: #5C4310;
  font-size: .86rem;
  line-height: 1.45;
}
.ph-inline a { color: #7E1E2E; }
.tour-lead { margin: 0 0 .8rem; color: var(--ink-soft); font-size: .95rem; }
.tour-status { margin: 0 0 .7rem; color: var(--ink-soft); font-size: .9rem; min-height: 0; }
.tour-status:empty { display: none; }
.tour-leg { margin: 0 0 .85rem; padding-bottom: .85rem; border-bottom: 1px solid #E2DCC8; }
.tour-next-label {
  margin: 0;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E2432;
}
.tour-leg h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1.05;
  margin: .15rem 0 .3rem;
}
.tour-meta { margin: 0; font-weight: 700; font-size: 1.02rem; }
.tour-addr, .tour-hours { margin: .15rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.tour-hours { color: #1E6B3A; font-weight: 700; }
.tour-note { margin: .45rem 0 0; color: #7E1E2E; font-size: .84rem; }
.tour-fine { margin: .7rem 0 0; color: var(--ink-faint); font-size: .78rem; }
.tour-fine a { color: #7E1E2E; }
.tour-actions { display: flex; flex-direction: column; gap: .45rem; margin-top: .75rem; }
.tour-actions .btn { width: 100%; text-align: center; white-space: normal; }
.tour-sheet .btn-go { background: #E4C56A; color: #1A1408; border-color: #E4C56A; }
.tour-sheet .btn-go:hover { background: #F4E2A2; color: #1A1408; }
.tour-sheet .btn-line { border-color: #C4BBA4; color: var(--ink); }
.tour-sheet .btn-line:hover { border-color: #1A1408; color: #1A1408; }
.tour-sheet button:focus-visible,
.tour-sheet a:focus-visible,
.crawl-links a:focus-visible,
.crawl-cta .btn:focus-visible {
  outline: 3px solid #7E1E2E;
  outline-offset: 2px;
}

.reorder-hint {
  margin: 1.05rem 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tour-order {
  list-style: none;
  padding: 0;
  margin: .35rem 0 0;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.tour-order li {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem .15rem;
  border-top: 1px solid #E2DCC8;
  background: transparent;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
html.is-reordering,
html.is-reordering body {
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  overscroll-behavior: none;
}
.tour-order li.is-lifted {
  position: relative;
  z-index: 5;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(23, 26, 21, .22);
  pointer-events: none;
  touch-action: none;
}
.tour-order li:focus-visible {
  outline: 3px solid #7E1E2E;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .tour-order li.is-lifted { box-shadow: 0 0 0 2px #7E1E2E; }
}
.tour-order li.is-next { background: rgba(228, 197, 106, .35); margin-inline: -.45rem; padding-inline: .45rem; }
.tour-order li.is-dragging { opacity: .45; pointer-events: none; }
.drag-handle {
  flex: none;
  width: 28px; height: 36px;
  border: 0; border-radius: 2px;
  background:
    radial-gradient(circle, #6A6558 1.15px, transparent 1.4px) 0 0 / 8px 7px;
  cursor: grab;
  touch-action: none;
  padding: 0;
}
.drag-handle:focus-visible { outline: 3px solid #7E1E2E; outline-offset: 2px; }
.ord-num {
  flex: none;
  min-width: 1.3rem;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  color: #8E2432;
  text-align: center;
}
.tour-order li.is-visited .ord-num { color: #1E6B3A; }
.ord-text { flex: 1; min-width: 0; }
.ord-name { display: block; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.ord-addr {
  display: block;
  color: var(--ink-faint);
  font-size: .78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ord-actions { flex: none; display: flex; flex-direction: column; gap: .25rem; }
.nudge {
  font: inherit;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid #D5D0BE;
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
  padding: .32rem .42rem;
  cursor: pointer;
}
.nudge:disabled { opacity: .35; cursor: default; }
.ord-stamp {
  flex: none;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #14501B;
  background: #DCEEDD;
  padding: .28rem .4rem;
  border-radius: 2px;
}
.tour-order.is-picking li:not(.is-visited) { cursor: pointer; }

/* you-are-here and numbered pins. Leaflet's divIcon draws a white box
   unless the class takes the background off. */
.leaflet-div-icon.pin-wrap,
.leaflet-div-icon.you-wrap { background: transparent; border: 0; }
.pin {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: .78rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.pin-rest { background: #F7F4EA; color: #8E2432; }
.pin-next {
  background: #8E2432;
  color: #F7F4EA;
  box-shadow: 0 0 0 4px rgba(228, 197, 106, .9), 0 2px 6px rgba(0, 0, 0, .35);
}
.pin-visited { background: #1E6B3A; color: #fff; }
.you { position: relative; display: block; width: 28px; height: 28px; }
.you b {
  position: absolute;
  left: 5px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #1D4ED8;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.you i {
  position: absolute;
  left: 9px; top: -8px;
  width: 10px; height: 18px;
  background: #1D4ED8;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  /* Pivot on the center of the dot, not the tip. */
  transform-origin: 5px 22px;
}

.celebrate {
  border: 0;
  border-radius: 6px;
  background: #F7F4EA;
  color: #171A15;
  padding: 1.6rem 1.3rem 1.3rem;
  max-width: min(22rem, calc(100vw - 2rem));
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.celebrate::backdrop { background: rgba(12, 20, 16, .72); }
.celebrate[open] { display: block; }
.stamp {
  width: 7.2rem; height: 7.2rem;
  margin: 0 auto .9rem;
  border: 4px solid #8E2432;
  border-radius: 50%;
  color: #8E2432;
  display: grid;
  place-items: center;
  transform: rotate(-14deg);
  box-shadow: inset 0 0 0 2px rgba(142, 36, 50, .35);
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: .02em;
}
.celebrate .kicker { color: #8E2432; }
.celebrate h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  margin: 0 0 .4rem;
}
.celebrate p { margin: 0 0 .9rem; color: var(--ink-soft); }
.celebrate .btn-go { background: #7E1E2E; color: #fff; }
.celebrate .btn-go:hover { background: #5E1622; color: #fff; }

@media (min-width: 64rem) {
  body.crawl-tour {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  body.crawl-tour .tour-app {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: row;
  }
  body.crawl-tour .tour-map { height: auto; flex: 1; min-height: 0; }
  body.crawl-tour .tour-sheet {
    width: min(420px, 38vw);
    overflow: auto;
    padding-top: 1.2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 63.99rem) {
  .tour-sheet { padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
}
