/* Snow Globe: a cozy hand-drawn mantel. A garland of ornaments hangs across the top of the hero under the nav, the stocking hangs from it
   on a string beside the names and sways, the tree and the gifts stand at the hero's foot on the other side, and asterisk snow falls over
   it all. The countdown numbers sit in hand-drawn paper circles beside the snow globe; each heading wears a little ornament; the reindeer
   peeks in by the story, the gifts by the schedule, the tree by the questions; the table finder is a card with an ornament hanging over
   it; the RSVP card has a hand-drawn double line with the gifts and the tree at its feet; the snow globe 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-snow-globe {
  --sk-accent-font: "Quicksand", sans-serif;
  --sk-accent-style: normal;
  --sk-photo-shape: none;
  --sk-gap: 104px;
  --sk-measure: 900px;
  --sg-off: max(3vw, calc(50% - 620px));       /* the hero's art from the screen's edge */
  /* the hero's art scales with the screen's height as well as its width (vw and svh), so a tall screen isn't left with an empty sky */
  --sg-stock: clamp(110px, min(13vw, 19svh), 240px);   /* the hanging stocking's width */
  --sg-drop: clamp(0px, calc(22svh - 120px), 240px);   /* extra string: on a tall screen the stocking hangs down beside the names */
  --sg-tree: clamp(150px, min(16vw, 26svh), 320px);    /* the tree group: its height is 1.45 of this */
  --sg-gh: clamp(120px, min(13vw, 21svh), 240px);      /* the garland's height */
  --sg-rule: var(--s-accent);
}
.esite-skin-snow-globe .ss-h, .esite-skin-snow-globe .cl-names, .esite-skin-snow-globe .ss-closing-names { font-weight: 700; letter-spacing: .02em; text-transform: none; }
.esite-skin-snow-globe .ss-h { font-size: calc(clamp(3rem, 5.2vw, 4.4rem) * var(--s-hscale, 1)); line-height: 1.02; color: var(--s-accent); }
.esite-skin-snow-globe .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 52px; height: 62px; margin-bottom: 10px; }

/* ---- hero: the garland, the snow; the stocking on its string at the right, the tree and the gifts at the foot on the left ---- */
.esite-skin-snow-globe .ss-hero.hs-classic { position: relative; overflow: hidden; background: var(--s-bg); }
.esite-skin-snow-globe .ss-hero.hs-classic::before {   /* the garland, swinging a little */
  content: ""; position: absolute; z-index: 2; top: 62px; left: -20px; right: -20px; height: var(--sg-gh); pointer-events: none;
  /* a tile's edge is a high point of the swag with nothing hanging: it is set where the stocking's string ties on */
  background: var(--sk-garland, none) right calc(var(--sg-off) + var(--sg-stock) * .91 + 20px) top 0 / auto 100% repeat-x;
  transform-origin: 50% 0; animation: sg-swag 7s ease-in-out infinite alternate;
}
.esite-skin-snow-globe .ss-hero.hs-classic::after {    /* the file's asterisk snow, two layers at two speeds */
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: .8;   /* behind the words */
  background: var(--sk-snow, none) 0 0 / 560px 560px repeat;
  animation: sg-snow 44s linear infinite;
  /* the snow thins out behind the words */
  -webkit-mask: radial-gradient(ellipse 470px 260px at 50% 50%, transparent 62%, #000 100%);
  mask: radial-gradient(ellipse 470px 260px at 50% 50%, transparent 62%, #000 100%);
}
.esite-skin-snow-globe .hs-classic .cl-panel { background: none; z-index: 1; }
.esite-skin-snow-globe .hs-classic.no-photo .cl-panel {
  align-content: center; min-height: max(100svh, 760px);
  padding: clamp(190px, 22svh, 240px) calc(var(--sg-off) + var(--sg-stock) + 28px) max(clamp(120px, 14svh, 170px), calc(var(--sg-tree) * .9));
}
.esite-skin-snow-globe .hs-classic .cl-panel::before, .esite-skin-snow-globe .hs-classic .cl-panel::after { display: none; }
.esite-skin-snow-globe .hs-classic.no-photo .cl-panel::after {   /* the stocking hanging from the garland */
  display: block; content: ""; position: absolute; z-index: 1; inset: calc(62px + var(--sg-gh) * .06) var(--sg-off) auto auto;
  width: var(--sg-stock); height: calc(var(--sg-stock) * 571 / 440 + var(--sg-drop)); transform-origin: 9% 0;
  background: var(--sk-stocking-hang, none) 0 100% / 100% auto no-repeat,
              linear-gradient(color-mix(in srgb, var(--s-text) 86%, transparent), color-mix(in srgb, var(--s-text) 86%, transparent)) 9% 0 / 2px calc(100% - 20px) no-repeat;
  animation: sg-sway 4.6s ease-in-out infinite alternate;
}
.esite-skin-snow-globe .hs-classic.no-photo .cl-panel::before {   /* the tree with the gifts at its foot */
  display: block; content: ""; position: absolute; z-index: 1; inset: auto auto 22px var(--sg-off); width: calc(var(--sg-tree) * 1.5); height: calc(var(--sg-tree) * 1.45);
  background: var(--sk-tree, none) 0 100% / auto 100% no-repeat, var(--sk-gifts, none) 100% 100% / auto 54% no-repeat;
}
/* a tall screen (the /templates card, a portrait tablet): the tree group stands under the words in the middle, larger, and the
   words center in the sky between the garland and the tree */
@media (min-width: 901px) and (max-aspect-ratio: 1 / 1) {
  .esite-skin-snow-globe { --sg-tree: clamp(180px, min(27svh, 40vw), 420px); --sg-stock: clamp(120px, min(21vw, 17svh), 240px); --sg-gh: clamp(150px, 16svh, 240px);
    --sg-drop: clamp(0px, calc(16svh - 60px), 220px); }
  .esite-skin-snow-globe .hs-classic.no-photo .cl-panel { padding-bottom: calc(var(--sg-tree) * 1.45 + 44px); padding-top: calc(62px + var(--sg-gh) + 24px); }
  .esite-skin-snow-globe .hs-classic.no-photo .cl-panel::before { left: 50%; translate: -50% 0; }
  .esite-skin-snow-globe .hs-classic.no-photo .cl-names { font-size: calc(clamp(4.2rem, min(11.5vw, 8.5svh), 9rem) * var(--s-hscale, 1)); }
  .esite-skin-snow-globe .hs-classic.no-photo .cl-sub { font-size: 1.1875rem; }
  .esite-skin-snow-globe .hs-classic.no-photo .cl-facts span { font-size: 1.0625rem; }
}
@keyframes sg-snow { to { background-position: 40px 560px; } }
@keyframes sg-sway { from { rotate: -3deg; } to { rotate: 3deg; } }
@keyframes sg-swag { from { translate: 0 0; } to { translate: 0 5px; } }

.esite-skin-snow-globe .cl-text { z-index: 3; }
.esite-skin-snow-globe .cl-panel .h-kicker { margin: 0 0 4px; font-family: var(--s-fbody); font-size: .9375rem; font-weight: 700; font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--s-text); }
.esite-skin-snow-globe .hs-classic .cl-names { justify-items: center; font-size: calc(clamp(4.2rem, 8.4vw, 8rem) * var(--s-hscale, 1)); line-height: .98; color: var(--s-accent); text-wrap: balance; }
.esite-skin-snow-globe .hs-classic .cl-names .cn-1, .esite-skin-snow-globe .hs-classic .cl-names .cn-2 { justify-self: center; padding: 0; }
.esite-skin-snow-globe .cl-sub { margin-top: 12px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: none; color: var(--s-text); }
.esite-skin-snow-globe .cl-facts { margin: 16px 0 24px; }
.esite-skin-snow-globe .cl-facts b { font-family: var(--s-fbody); font-weight: 700; font-size: .875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--s-accent); }
.esite-skin-snow-globe .cl-facts span { font-family: var(--s-fbody); font-size: 1rem; color: var(--s-text); }
.esite-skin-snow-globe .cl-btn:not(.ghost), .esite-skin-snow-globe .ss-btn { background: var(--s-accent); color: var(--s-bg); border-color: var(--s-accent); }
.esite-skin-snow-globe .cl-btn, .esite-skin-snow-globe .ss-btn, .esite-skin-snow-globe .ss-rsvp-form .btn-rsvp, .esite-skin-snow-globe .ss-location .ss-dir { border-radius: 999px !important; }
.esite-skin-snow-globe .cl-text .cl-btn { font-weight: 700; }
/* a photo: the garland and the snow stay; the photo gets a hand-drawn double line; stocking and tree step aside */
.esite-skin-snow-globe .hs-classic:not(.no-photo) .cl-panel { padding-top: clamp(170px, 20svh, 220px); }
.esite-skin-snow-globe .hv-cover:not(.no-photo) .cl-panel { padding-top: 112px; }
.esite-skin-snow-globe .hv-cover:not(.no-photo) :is(.cl-names, .cl-facts b, .cl-facts span, .h-kicker, .cl-sub) { color: #fff; }
.esite-skin-snow-globe .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 20px;
  box-shadow: 0 0 0 8px var(--s-bg), 0 0 0 11px var(--sg-rule), 0 0 0 17px var(--s-bg), 0 0 0 18px var(--sg-rule); }
.esite-skin-snow-globe .hs-classic:not(.no-photo) .cl-visual::after { display: none; }
.esite-skin-snow-globe .stv-side .ss-story-img img, .esite-skin-snow-globe .stv-right .ss-story-img img { border-radius: 20px; }

/* ---- countdown: each number in a hand-drawn paper circle; the snow globe beside them ---- */
.esite-skin-snow-globe .ss-scope[data-type="countdown"] .ss-h { font-family: var(--s-fhead) !important; font-style: normal !important; text-transform: none !important; letter-spacing: .02em !important; font-weight: 700; font-size: calc(clamp(2.8rem, 4.6vw, 3.8rem) * var(--s-hscale, 1)); }
.esite-skin-snow-globe .ss-scope[data-type="countdown"]:has(.cdv-tiles) { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-snow-globe .ss-scope[data-type="countdown"]:has(.cdv-tiles)::before {
  content: ""; position: absolute; z-index: -1; left: max(2vw, calc(50% - 600px)); top: 50%; translate: 0 -50%; width: clamp(150px, 15vw, 230px); aspect-ratio: .89; pointer-events: none;
  background: var(--sk-globe, none) 50% 50% / contain no-repeat;
}
.esite-skin-snow-globe .ss-scope[data-type="countdown"]:has(.cdv-tiles)::after { content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none; opacity: .45;
  background: var(--sk-snow, none) 90px 0 / 420px 420px repeat; animation: sg-snow 56s linear infinite; }
.esite-skin-snow-globe .cdv-tiles .ss-cd { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2.4vw, 32px); }
.esite-skin-snow-globe .cdv-tiles .cd-unit {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center !important; width: clamp(104px, 10.5vw, 140px); aspect-ratio: 1;
  padding: 0 !important; border: 0 !important; outline: 0; border-radius: 50%; box-shadow: none;
  background: var(--sk-disc, none) 50% 50% / contain no-repeat !important;
}
.esite-skin-snow-globe .cdv-tiles .cd-unit:nth-child(even) { rotate: 4deg; }
.esite-skin-snow-globe .cdv-tiles .cd-unit:nth-child(odd) { rotate: -3deg; }
.esite-skin-snow-globe .cdv-tiles .cd-unit::before, .esite-skin-snow-globe .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-snow-globe .cdv-tiles .cd-n { font-family: var(--s-fhead) !important; font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: .9; color: var(--s-accent); }
.esite-skin-snow-globe .cdv-tiles .cd-l { font-family: var(--s-fbody); color: var(--s-text); font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }
.esite-skin-snow-globe .ss-countdown .cd-n { font-family: var(--s-fhead); font-weight: 700; }

/* ---- sections: the drawings peek in at the sides ---- */
.esite-skin-snow-globe .ss-scope[data-type="story"]::before { top: auto; bottom: 0; right: max(2vw, calc(50% - 660px)); left: auto; width: clamp(120px, 12vw, 180px); aspect-ratio: .745;
  background: var(--sk-reindeer, none) 50% 100% / contain no-repeat; }
.esite-skin-snow-globe .ss-scope[data-type="schedule"]::before { top: auto; bottom: 26px; left: max(2vw, calc(50% - 660px)); right: auto; width: clamp(80px, 8vw, 120px); aspect-ratio: .54;
  background: var(--sk-gifts, none) 50% 100% / contain no-repeat; }
.esite-skin-snow-globe .ss-scope[data-type="faq"]::before { top: auto; bottom: 26px; right: max(2vw, calc(50% - 660px)); left: auto; width: clamp(100px, 10vw, 150px); aspect-ratio: .68;
  background: var(--sk-tree, none) 50% 100% / contain no-repeat; }
.esite-skin-snow-globe .schv-wide .ss-tl-time, .esite-skin-snow-globe .schv-cards .ss-tl-time, .esite-skin-snow-globe .schv-timeline .ss-tl-time, .esite-skin-snow-globe .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: 700; text-transform: uppercase; }
.esite-skin-snow-globe .ss-tl-title { font-family: var(--s-fbody); font-size: 1.125rem; font-weight: 600; }
.esite-skin-snow-globe .ss-faq-q { font-family: var(--s-fbody); font-size: 1.0625rem; font-weight: 700; }
.esite-skin-snow-globe .ss-loc-venue { font-family: var(--s-fhead); font-style: normal; font-weight: 700; font-size: 2.4rem; color: var(--s-accent); }
.esite-skin-snow-globe .gftv-panel .ss-wrap { aspect-ratio: auto; width: min(620px, 100%); padding: 44px 30px 46px; background: var(--s-band); border-radius: 28px;
  box-shadow: inset 0 0 0 8px var(--s-band), inset 0 0 0 10px var(--sg-rule); }
.esite-skin.esite-skin-snow-globe .ss-scope[data-type="gifts"]:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .gftv-panel .ss-h::before { display: block !important; width: 70px; height: 118px; margin: 0 auto 10px !important; background-image: var(--sk-gifts, none); }

/* ---- find your table: a card with a hand-drawn double line, an ornament hanging over it ---- */
.esite-skin.esite-skin-snow-globe .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-snow-globe .seatv-card .ss-seat-body { position: relative; margin-top: 104px; padding: 56px clamp(22px, 5vw, 48px) 40px; border: 0; border-radius: 22px;
  box-shadow: inset 0 0 0 3px var(--sg-rule), inset 0 0 0 9px var(--sk-paper), inset 0 0 0 10px var(--sg-rule), 0 24px 50px -36px rgba(0, 0, 0, .55); }
.esite-skin-snow-globe .seatv-card .ss-seat-body::before { content: ""; position: absolute; left: 50%; top: -124px; width: 74px; aspect-ratio: 220 / 399; translate: -50% 0; pointer-events: none;
  transform-origin: 50% 0; background: var(--sk-ornament-hang, none) 50% 0 / contain no-repeat; animation: sg-sway 5.2s ease-in-out infinite alternate; }
.esite-skin-snow-globe .ss-seat-table { font-family: var(--s-fhead); font-style: normal; font-weight: 700; font-size: 2.2rem; }

/* ---- RSVP: the card with a hand-drawn double line; the gifts and the tree stand at its feet ---- */
.esite-skin-snow-globe .ss-scope[data-type="rsvp"]::before { top: auto; bottom: 0; right: max(3vw, calc(50% - 560px)); width: clamp(130px, 13vw, 200px); aspect-ratio: .68;
  background: var(--sk-tree, none) 50% 100% / contain no-repeat; }
.esite-skin-snow-globe .ss-scope[data-type="rsvp"]::after { bottom: 0; left: max(3vw, calc(50% - 560px)); width: clamp(100px, 10vw, 150px); aspect-ratio: .54;
  background: var(--sk-gifts, none) 50% 100% / contain no-repeat; }
.esite-skin-snow-globe .ss-rsvp-form { position: relative; margin-top: 34px; padding: 50px 46px 44px; border-radius: 24px;
  box-shadow: inset 0 0 0 3px var(--sg-rule), inset 0 0 0 10px var(--sk-paper), inset 0 0 0 11px var(--sg-rule), 0 24px 50px -30px rgba(0, 0, 0, .5); }
.esite-skin-snow-globe .ss-rsvp-form .btn-rsvp { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-bg); font-weight: 700; }

/* ---- the last word: the snow globe ---- */
.esite-skin-snow-globe .ss-closing::before { width: min(52vw, 220px); height: 250px; margin-bottom: 18px; background: var(--sk-globe, none) 50% 100% / contain no-repeat; }
.esite-skin-snow-globe .ss-closing-names { color: var(--s-accent); font-size: clamp(3.4rem, 7vw, 5.2rem); }
.esite-skin-snow-globe .ss-closing-line { font-family: var(--s-fbody); font-size: 1rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--s-text); text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  .esite-skin-snow-globe .ss-hero.hs-classic::before, .esite-skin-snow-globe .ss-hero.hs-classic::after, .esite-skin-snow-globe .hs-classic .cl-panel::after,
  .esite-skin-snow-globe .ss-scope[data-type="countdown"]::after, .esite-skin-snow-globe .seatv-card .ss-seat-body::before { animation: none; }
}
@media (max-width: 1100px) {
  .esite-skin-snow-globe .ss-scope[data-type="story"]::before, .esite-skin-snow-globe .ss-scope[data-type="schedule"]::before, .esite-skin-snow-globe .ss-scope[data-type="faq"]::before { display: none; }
}
@media (max-width: 900px) {
  .esite-skin-snow-globe { --sg-stock: 100px; --sg-tree: 120px; --sg-off: 14px; --sg-gh: 120px; --sg-drop: 0px; }
  /* on a phone the stocking hangs at the top right under the garland, the words below it, the tree and the gifts under the words */
  .esite-skin-snow-globe .hs-classic.no-photo .cl-panel { min-height: 100svh; padding: 250px 18px calc(var(--sg-tree) * 1.45 + 40px); }
  .esite-skin-snow-globe .hs-classic.no-photo .cl-panel::before { left: 50%; translate: -50% 0; }
  .esite-skin-snow-globe .hs-classic .cl-names { font-size: calc(clamp(3.6rem, 16vw, 5rem) * var(--s-hscale, 1)); }
  .esite-skin-snow-globe .ss-scope[data-type="countdown"]:has(.cdv-tiles)::before { left: 50%; top: 30px; translate: -50% 0; width: 96px; }
  .esite-skin-snow-globe .cdv-tiles .ss-h { margin-top: 104px; }   /* room for the globe above the heading (the section's padding is !important) */
  .esite-skin-snow-globe .ss-scope[data-type="rsvp"]::before, .esite-skin-snow-globe .ss-scope[data-type="rsvp"]::after { width: 74px; }
  .esite-skin-snow-globe .ss-scope[data-type="rsvp"]:not(.ss-pad-c):not(.ss-pad-s) .ss { padding-bottom: calc(var(--sk-gap) + 100px); }
  .esite-skin-snow-globe .ss-rsvp-form { padding: 42px 22px 30px; }
}
@media (max-width: 640px) {
  .esite-skin-snow-globe .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 6px; }
  .esite-skin-snow-globe .cdv-tiles .cd-unit { width: 22vw; }
  .esite-skin-snow-globe .cdv-tiles .cd-n { font-size: 2rem; }
  .esite-skin-snow-globe .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .08em; }
}
