/* Starlit Village: a winter night over the village. The hero is the night sky in the colorway's paper with the file's wave bands, the
   crescent moon high on the left, stars twinkling and a little snow falling; the village tree (houses, pines and cars stacked into a
   Christmas tree under a gold star) stands at the foot of the screen under the names, its trunk on the hero's edge. Down the page the
   countdown numbers sit in little snowy houses, each heading wears the tree's star, a row of pines grows along the foot of the schedule,
   the middle row of houses stands by the story, the table finder is a table card with the star on top, and the RSVP card wears the photo
   card's double rule under the moon while the two cars drive along a road beneath it; the file's lower street closes the page.
   The hero is never isolated and gets no z-index: the fixed nav lives inside it. Layout stays with the editor's layout classes. */
.esite-skin-starlit-village {
  --sk-accent-font: "Montserrat", sans-serif;
  --sk-accent-style: normal;
  --sk-photo-shape: none;
  --sk-gap: 104px;
  --sk-measure: 900px;
  --sv-tree: clamp(300px, 46svh, 560px);
  --sv-rule: var(--s-accent);
}
.esite-skin-starlit-village .ss-h, .esite-skin-starlit-village .cl-names, .esite-skin-starlit-village .ss-closing-names { font-weight: 400; letter-spacing: 0; text-transform: none; }
.esite-skin-starlit-village .ss-h { font-size: calc(clamp(2.6rem, 4.6vw, 3.7rem) * var(--s-hscale, 1)); line-height: 1.12; color: var(--s-accent); }
.esite-skin-starlit-village .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 160px; height: 46px; margin-bottom: 8px; }

/* ---- hero: the sky, the moon, the stars and the snow; the village tree at the foot under the names ---- */
.esite-skin-starlit-village .ss-hero.hs-classic { position: relative; overflow: hidden; background: var(--s-bg); }
.esite-skin-starlit-village .ss-hero.hs-classic::before {   /* wave bands, the moon, still stars */
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: var(--sk-moon, none) max(4vw, calc(50% - 600px)) 104px / clamp(120px, 12vw, 200px) auto no-repeat,
              var(--sk-sparkle, none) 22% 34% / 16px auto no-repeat, var(--sk-sparkle, none) 81% 22% / 20px auto no-repeat,
              var(--sk-sparkle, none) 91% 58% / 14px auto no-repeat, var(--sk-sparkle, none) 8% 70% / 18px auto no-repeat,
              var(--sk-dot, none) 30% 16% / 7px auto no-repeat, var(--sk-dot, none) 68% 12% / 6px auto no-repeat,
              var(--sk-dot, none) 88% 38% / 8px auto no-repeat, var(--sk-dot, none) 14% 48% / 6px auto no-repeat,
              var(--sk-dot, none) 74% 74% / 7px auto no-repeat, var(--sk-dot, none) 24% 84% / 6px auto no-repeat,
              var(--sk-waves, none) 50% 50% / cover no-repeat;
}
.esite-skin-starlit-village .ss-hero.hs-classic::after {    /* falling snow: two tiles at two speeds, over everything but quiet */
  content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none; opacity: .6;
  background: var(--sk-snow-a, none) 0 0 / 360px 360px repeat, var(--sk-snow-b, none) 120px 40px / 420px 420px repeat;
  animation: sv-snow 34s linear infinite;
}
.esite-skin-starlit-village .hs-classic .cl-panel { background: none; z-index: 1; }
.esite-skin-starlit-village .hs-classic.no-photo .cl-panel {
  align-content: center; min-height: max(100svh, 760px);   /* the words in the sky above the tree, whatever the screen's height */
  padding: clamp(124px, 16svh, 176px) 24px calc(var(--sv-tree) + 28px);
}
.esite-skin-starlit-village .hs-classic .cl-panel::before {   /* stars twinkling, a second set over the still ones */
  inset: 0; z-index: -1;
  background: var(--sk-sparkle, none) 18% 40% / 22px auto no-repeat, var(--sk-sparkle, none) 70% 30% / 14px auto no-repeat,
              var(--sk-sparkle, none) 86% 12% / 16px auto no-repeat, var(--sk-sparkle, none) 32% 62% / 12px auto no-repeat,
              var(--sk-sparkle, none) 62% 56% / 18px auto no-repeat;
  animation: sv-twinkle 5.5s ease-in-out infinite alternate;
}
.esite-skin-starlit-village .hs-classic .cl-panel::after { display: none; }
.esite-skin-starlit-village .hs-classic.no-photo .cl-panel::after {   /* the village tree, standing on the hero's edge */
  display: block; content: ""; position: absolute; z-index: 1; inset: auto auto 0 50%; width: calc(var(--sv-tree) * .766); height: var(--sv-tree);
  translate: -50% 0; background: var(--sk-village, none) 50% 100% / contain no-repeat;
}
@keyframes sv-snow { to { background-position: 40px 360px, 80px 880px; } }
@keyframes sv-twinkle { 0% { opacity: .15; } 100% { opacity: 1; } }
@keyframes sv-drive { from { background-position: -18% 100%, 118% 0, 0 55%; } to { background-position: 118% 100%, -18% 0, 0 55%; } }

.esite-skin-starlit-village .cl-text { z-index: 3; }
/* the words keep clear of the moon: on a wide screen they stay inside the band between the moon and its mirror, so a long party name
   ("Northwind Co. Christmas Party") wraps to two lines instead of running under the moon */
@media (min-width: 901px) {
  .esite-skin-starlit-village .hs-classic.no-photo .cl-text {
    max-width: calc(100vw - 2 * (max(4vw, 50vw - 600px) + clamp(120px, 12vw, 200px) + 28px)); margin-inline: auto; }
}
.esite-skin-starlit-village .cl-panel .h-kicker { margin: 0 0 6px; font-family: var(--s-fbody); font-size: .875rem; font-weight: 600; font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--s-text); }
.esite-skin-starlit-village .hs-classic .cl-names { justify-items: center; font-size: calc(clamp(3.4rem, 6.6vw, 6.2rem) * var(--s-hscale, 1)); line-height: 1.08; color: var(--s-accent); text-wrap: balance; }
.esite-skin-starlit-village .hs-classic .cl-names .cn-1, .esite-skin-starlit-village .hs-classic .cl-names .cn-2 { justify-self: center; padding: 0; }
.esite-skin-starlit-village .cl-sub { margin-top: 12px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: none; color: var(--s-text); }
.esite-skin-starlit-village .cl-facts { margin: 16px 0 22px; }
.esite-skin-starlit-village .cl-facts b { font-family: var(--s-fbody); font-weight: 600; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--s-accent); }
.esite-skin-starlit-village .cl-facts span { font-family: var(--s-fbody); font-size: 1rem; color: var(--s-text); }
.esite-skin-starlit-village .cl-btn:not(.ghost), .esite-skin-starlit-village .ss-btn { background: var(--s-accent); color: var(--s-bg); border-color: var(--s-accent); }
.esite-skin-starlit-village .cl-btn, .esite-skin-starlit-village .ss-btn, .esite-skin-starlit-village .ss-rsvp-form .btn-rsvp, .esite-skin-starlit-village .ss-location .ss-dir { border-radius: 999px !important; }
.esite-skin-starlit-village .ss-rsvp .ss-h { color: var(--s-accent); }
/* a photo: framed with the photo card's double rule; the tree stays out of the way of the picture and the words */
.esite-skin-starlit-village .ss-hero.hs-classic:not(.no-photo):not(.hv-center)::before { background-position: 50% 84px, 22% 34%, 81% 22%, 91% 58%, 8% 70%, 30% 16%, 68% 12%, 88% 38%, 14% 48%, 74% 74%, 24% 84%, 50% 50%;
  background-size: clamp(64px, 6vw, 96px) auto, 16px auto, 20px auto, 14px auto, 18px auto, 7px auto, 6px auto, 8px auto, 6px auto, 7px auto, 6px auto, cover; }
.esite-skin-starlit-village .hv-cover:not(.no-photo) :is(.cl-names, .cl-facts b, .cl-facts span, .h-kicker, .cl-sub) { color: #fff; }
.esite-skin-starlit-village .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 18px;
  box-shadow: 0 0 0 7px var(--s-bg), 0 0 0 10px var(--sv-rule), 0 0 0 16px var(--s-bg), 0 0 0 17px var(--sv-rule); }
.esite-skin-starlit-village .hs-classic:not(.no-photo) .cl-visual::after { display: none; }
.esite-skin-starlit-village .stv-side .ss-story-img img, .esite-skin-starlit-village .stv-right .ss-story-img img { border-radius: 18px; }

/* ---- countdown: each number in a little snowy house ---- */
.esite-skin-starlit-village .ss-scope[data-type="countdown"] .ss-h { font-family: var(--s-fhead) !important; font-style: normal !important; text-transform: none !important; letter-spacing: 0 !important; font-size: calc(clamp(2.4rem, 4vw, 3.3rem) * var(--s-hscale, 1)); }
.esite-skin-starlit-village .ss-scope[data-type="countdown"]:has(.cdv-tiles) { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-starlit-village .ss-scope[data-type="countdown"]:has(.cdv-tiles)::after {   /* a lighter snowfall behind the houses */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .5;
  background: var(--sk-snow-a, none) 0 0 / 360px 360px repeat; animation: sv-snow 48s linear infinite;
}
.esite-skin-starlit-village .cdv-tiles .ss-cd { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2.6vw, 36px); }
.esite-skin-starlit-village .cdv-tiles .cd-unit {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center !important; width: clamp(108px, 11vw, 144px); aspect-ratio: 140 / 150;
  padding: calc(clamp(108px, 11vw, 144px) * .4) 0 6px !important; border: 0 !important; outline: 0; border-radius: 0; box-shadow: none;
  background: var(--sk-house-tile, none) 50% 100% / contain no-repeat !important; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18));
}
.esite-skin-starlit-village .cdv-tiles .cd-unit::before, .esite-skin-starlit-village .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-starlit-village .cdv-tiles .cd-n { font-family: var(--s-fbody) !important; font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1; color: #23415a; }
.esite-skin-starlit-village .cdv-tiles .cd-l { font-family: var(--s-fbody); color: #23415a; opacity: .8; font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.esite-skin-starlit-village .ss-countdown .cd-n { font-family: var(--s-fbody); }

/* ---- sections: the village's pieces at their sides ---- */
.esite-skin-starlit-village .ss-scope[data-type="story"]::before { top: auto; bottom: 0; right: max(2vw, calc(50% - 650px)); left: auto; width: clamp(130px, 13vw, 190px); aspect-ratio: .839;
  background: var(--sk-row, none) 50% 100% / contain no-repeat; }
.esite-skin-starlit-village .ss-scope[data-type="faq"]::before { top: auto; bottom: 0; left: max(2vw, calc(50% - 650px)); right: auto; width: clamp(90px, 9vw, 130px); aspect-ratio: .745;
  background: var(--sk-house-teal, none) 50% 100% / contain no-repeat; }
.esite-skin-starlit-village .ss-scope[data-type="schedule"]::before {   /* a row of pines along the foot */
  inset: auto 0 0 0; width: auto; height: clamp(72px, 7vw, 104px); aspect-ratio: auto; background: var(--sk-pines, none) 50% 100% / auto 100% repeat-x;
}
.esite-skin-starlit-village .ss-scope[data-type="schedule"]:not(.ss-pad-c):not(.ss-pad-s) .ss { padding-bottom: calc(var(--sk-gap) + 64px); }
.esite-skin-starlit-village .schv-wide .ss-tl-time, .esite-skin-starlit-village .schv-cards .ss-tl-time, .esite-skin-starlit-village .schv-timeline .ss-tl-time, .esite-skin-starlit-village .schv-rail .ss-tl-time {
  font-family: var(--s-fbody); font-style: normal; letter-spacing: .16em; color: var(--s-accent); font-size: .8125rem; font-weight: 600; text-transform: uppercase; }
.esite-skin-starlit-village .ss-tl-title { font-family: var(--s-fbody); font-size: 1.125rem; font-weight: 600; }
.esite-skin-starlit-village .ss-faq-q { font-family: var(--s-fbody); font-size: 1.0625rem; font-weight: 600; }
.esite-skin-starlit-village .ss-loc-venue { font-family: var(--s-fhead); font-style: normal; font-size: 2rem; color: var(--s-accent); }
.esite-skin-starlit-village .gftv-panel .ss-wrap { aspect-ratio: auto; width: min(620px, 100%); padding: 48px 30px; background: var(--s-band); border-radius: 28px; }
.esite-skin-starlit-village .gftv-panel .ss-h::before { display: block !important; margin: 0 auto 8px !important; }

/* ---- find your table: the table card, the gold star on its top edge, the double rule inside ---- */
.esite-skin.esite-skin-starlit-village .ss-scope[data-type="seating"]:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .seatv-card .ss-h::before { display: none !important; }
.esite-skin-starlit-village .seatv-card .ss-seat-body { position: relative; margin-top: 62px; padding: 56px clamp(22px, 5vw, 48px) 40px; border: 0; border-radius: 18px;
  box-shadow: inset 0 0 0 3px var(--sv-rule), inset 0 0 0 9px var(--sk-paper), inset 0 0 0 10px var(--sv-rule), 0 24px 50px -36px rgba(0, 0, 0, .55); }
.esite-skin-starlit-village .seatv-card .ss-seat-body::before { content: ""; position: absolute; left: 50%; top: -44px; width: 66px; aspect-ratio: .75; translate: -50% 0; pointer-events: none;
  background: var(--sk-star, none) 50% 50% / contain no-repeat; }
.esite-skin-starlit-village .ss-seat-table { font-family: var(--s-fhead); font-style: normal; font-size: 1.75rem; }

/* ---- RSVP: the card with the photo card's double rule under the moon; the two cars drive along a road beneath ---- */
.esite-skin-starlit-village .ss-scope[data-type="rsvp"]::before { display: none; }
.esite-skin-starlit-village .ss-scope[data-type="rsvp"]::after {
  inset: auto 0 0 0; width: auto; height: clamp(76px, 7.5vw, 104px); aspect-ratio: auto; z-index: -1;
  background: var(--sk-car-red, none) -18% 100% / auto 66% no-repeat, var(--sk-car-yellow, none) 118% 0 / auto 50% no-repeat,
              repeating-linear-gradient(90deg, color-mix(in srgb, var(--s-text) 40%, transparent) 0 28px, transparent 28px 56px) 0 55% / 100% 2px no-repeat;
  animation: sv-drive 38s linear infinite;
}
.esite-skin-starlit-village .ss-scope[data-type="rsvp"]:not(.ss-pad-c):not(.ss-pad-s) .ss { padding-bottom: calc(var(--sk-gap) + 80px); }
.esite-skin-starlit-village .ss-rsvp-form { position: relative; margin-top: 46px; padding: 54px 46px 44px; border-radius: 22px;
  box-shadow: inset 0 0 0 3px var(--sv-rule), inset 0 0 0 10px var(--sk-paper), inset 0 0 0 11px var(--sv-rule), 0 24px 50px -30px rgba(0, 0, 0, .5); }
.esite-skin-starlit-village .ss-rsvp-form::after { content: ""; position: absolute; z-index: 3; right: -34px; top: -46px; width: 96px; aspect-ratio: 1; pointer-events: none;
  background: var(--sk-moon, none) 50% 50% / contain no-repeat; }
.esite-skin-starlit-village .ss-rsvp-form .btn-rsvp { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-bg); }

/* ---- the last word: the file's lower street ---- */
.esite-skin-starlit-village .ss-closing::before { width: min(64vw, 300px); height: 230px; margin-bottom: 26px; background: var(--sk-street, none) 50% 100% / contain no-repeat; }
.esite-skin-starlit-village .ss-closing-names { color: var(--s-accent); }
.esite-skin-starlit-village .ss-closing-line { font-family: var(--s-fbody); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--s-text); text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  .esite-skin-starlit-village .ss-hero.hs-classic::after, .esite-skin-starlit-village .hs-classic .cl-panel::before,
  .esite-skin-starlit-village .ss-scope[data-type="countdown"]::after, .esite-skin-starlit-village .ss-scope[data-type="rsvp"]::after { animation: none; }
  .esite-skin-starlit-village .ss-scope[data-type="rsvp"]::after { background-position: 6% 100%, 94% 0, 0 55%; }
}
@media (max-width: 1100px) {
  .esite-skin-starlit-village .ss-scope[data-type="story"]::before, .esite-skin-starlit-village .ss-scope[data-type="faq"]::before { display: none; }
}
@media (max-width: 900px) {
  .esite-skin-starlit-village { --sv-tree: clamp(240px, 38svh, 340px); }
  .esite-skin-starlit-village .hs-classic.no-photo .cl-panel { min-height: 100svh; padding: calc(84px + clamp(84px, 24vw, 110px)) 18px calc(var(--sv-tree) + 22px); }
  /* on a phone the words fill the middle: the stars keep to the top band and the sides of the tree */
  .esite-skin-starlit-village .ss-hero.hs-classic::before { background-position: 6vw 82px, 62% 11%, 88% 13%, 94% 70%, 5% 74%, 46% 9%, 76% 9%, 92% 84%, 8% 88%, 84% 62%, 14% 62%, 50% 50%;
    background-size: clamp(86px, 24vw, 110px) auto, 14px auto, 18px auto, 12px auto, 14px auto, 6px auto, 5px auto, 7px auto, 5px auto, 6px auto, 5px auto, cover; }
  .esite-skin-starlit-village .hs-classic .cl-names { font-size: calc(clamp(3rem, 13vw, 4.2rem) * var(--s-hscale, 1)); }
  .esite-skin-starlit-village .hs-classic .cl-panel::before { background-position: 8% 66%, 90% 64%, 86% 82%, 12% 80%, 80% 9%; }
  .esite-skin-starlit-village .ss-rsvp-form { padding: 46px 22px 30px; }
  .esite-skin-starlit-village .ss-rsvp-form::after { right: -8px; top: -40px; width: 70px; }
}
@media (max-width: 640px) {
  .esite-skin-starlit-village .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 6px; }
  .esite-skin-starlit-village .cdv-tiles .cd-unit { width: 22vw; padding-top: 8.8vw !important; }
  .esite-skin-starlit-village .cdv-tiles .cd-n { font-size: 1.35rem; }
  .esite-skin-starlit-village .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .08em; }
}
