/* String Lights: a bold block of one flat color, the screen itself the card. A swag of glowing fairy lights hangs across the top of
   the hero and twinkles; the lit tree stands on its hills at the hero's left foot, the indigo forest at its right with the red gift before
   it, snow falling over everything; the words sit in the clear middle. Down the page the countdown numbers glow inside big bulbs hanging
   from one wire, each heading wears a short string of lights, the story has the green gift at its side, the schedule the forest in its
   corner, the table finder and the RSVP card wear a swag of lights over their top edge, and the closing is the lit tree.
   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-string-lights {
  --sk-accent-font: "Rubik", sans-serif;
  --sk-accent-style: normal;
  --sk-photo-shape: none;
  --sk-gap: 104px;
  --sk-measure: 900px;
  --sl-tree: min(clamp(320px, 56svh, 600px), 44vw);
  --sl-glow: drop-shadow(0 0 14px rgba(255, 205, 100, .55));
}
.esite-skin-string-lights .ss-h, .esite-skin-string-lights .cl-names, .esite-skin-string-lights .ss-closing-names { font-weight: 400; letter-spacing: 0; text-transform: none; }
.esite-skin-string-lights .ss-h { font-size: calc(clamp(2.4rem, 4.2vw, 3.4rem) * var(--s-hscale, 1)); line-height: 1.08; color: var(--s-accent); }
.esite-skin-string-lights .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 190px; height: 56px; margin-bottom: 10px; }

/* ---- hero: the drape of lights along the top, the tree on its hills at the left foot, the forest and the gift at the right ---- */
.esite-skin-string-lights .ss-hero.hs-classic { position: relative; overflow: hidden; background: var(--s-bg); }
.esite-skin-string-lights .ss-hero.hs-classic::before {   /* hills behind the tree, the forest at the right foot */
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: var(--sk-forest, none) right max(1vw, calc(50% - 720px)) bottom -2px / auto clamp(240px, 46svh, 500px) no-repeat,
              var(--sk-hills, none) left -6vw bottom -2px / clamp(520px, 56vw, 960px) auto no-repeat;
}
.esite-skin-string-lights .ss-hero.hs-classic::after {    /* falling snow, quiet, over everything */
  content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none; opacity: .55;
  background: var(--sk-snow-a, none) 0 0 / 360px 360px repeat, var(--sk-snow-b, none) 120px 40px / 420px 420px repeat;
  animation: sl-snow 36s linear infinite;
}
.esite-skin-string-lights .hs-classic .cl-panel { background: none; z-index: 1; }
.esite-skin-string-lights .hs-classic.no-photo .cl-panel {
  align-content: center; min-height: max(100svh, 760px);
  padding: calc(60px + 108vw / 5.6) 24px clamp(150px, 20svh, 220px);
}
.esite-skin-string-lights .hs-classic .cl-panel::before {   /* the drape of lights hanging under the top bar, twinkling */
  inset: 60px 0 auto 0; height: calc(108vw / 5.4); z-index: 2;
  background: var(--sk-lights-swag, none) 50% 0 / 108vw auto no-repeat;
  animation: sl-twinkle 2.8s ease-in-out infinite alternate;
}
.esite-skin-string-lights .hs-classic .cl-panel::after { display: none; }
.esite-skin-string-lights .hs-classic.no-photo .cl-panel::after {   /* the lit tree on the hero's foot, the red gift before the forest */
  display: block; content: ""; position: absolute; z-index: 1; inset: auto 0 0 0; height: var(--sl-tree);
  background: var(--sk-tree, none) left max(3vw, calc(50% - 700px)) bottom / auto 100% no-repeat,
              var(--sk-gift-red, none) right max(12vw, calc(50% - 520px)) bottom / auto 34% no-repeat;
}
@keyframes sl-snow { to { background-position: 40px 360px, 80px 880px; } }
@keyframes sl-twinkle { 0% { filter: brightness(.92); } 100% { filter: brightness(1.16) drop-shadow(0 0 10px rgba(255, 214, 120, .45)); } }

.esite-skin-string-lights .cl-text { z-index: 3; }
/* the words keep to the middle, clear of the tree and the forest */
@media (min-width: 901px) {
  .esite-skin-string-lights .hs-classic.no-photo .cl-text { max-width: min(980px, calc(100vw - 2 * (max(3vw, 50vw - 700px) + var(--sl-tree) * .36))); margin-inline: auto; }
}
.esite-skin-string-lights .cl-panel .h-kicker { margin: 0 0 8px; 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-string-lights .hs-classic .cl-names { justify-items: center; font-size: calc(clamp(3.2rem, 6.4vw, 6rem) * var(--s-hscale, 1)); line-height: 1.02; color: var(--s-accent); text-wrap: balance; }
.esite-skin-string-lights .hs-classic .cl-names .cn-1, .esite-skin-string-lights .hs-classic .cl-names .cn-2 { justify-self: center; padding: 0; }
.esite-skin-string-lights .cl-sub { margin-top: 12px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: none; color: var(--s-text); }
.esite-skin-string-lights .cl-facts { margin: 16px 0 22px; }
.esite-skin-string-lights .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-string-lights .cl-facts span { font-family: var(--s-fbody); font-size: 1rem; color: var(--s-text); }
.esite-skin-string-lights .cl-btn:not(.ghost), .esite-skin-string-lights .ss-btn { background: var(--s-accent); color: var(--s-bg); border-color: var(--s-accent); }
.esite-skin-string-lights .cl-btn, .esite-skin-string-lights .ss-btn, .esite-skin-string-lights .ss-rsvp-form .btn-rsvp, .esite-skin-string-lights .ss-location .ss-dir { border-radius: 999px !important; }
/* a photo: a bold rounded frame in the accent; the lights stay on top, the tree and the forest step aside */
.esite-skin-string-lights .ss-hero.hs-classic:not(.no-photo)::before { display: none; }
.esite-skin-string-lights .hv-cover:not(.no-photo) :is(.cl-names, .cl-facts b, .cl-facts span, .h-kicker, .cl-sub) { color: #fff; }
.esite-skin-string-lights .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 26px; box-shadow: 0 0 0 9px var(--s-accent), 0 26px 60px -30px rgba(0, 0, 0, .6); }
.esite-skin-string-lights .hs-classic:not(.no-photo) .cl-visual::after { display: none; }
.esite-skin-string-lights .hs-classic:not(.no-photo) .cl-panel { padding-top: clamp(170px, 22svh, 230px); }
.esite-skin-string-lights .stv-side .ss-story-img img, .esite-skin-string-lights .stv-right .ss-story-img img { border-radius: 22px; }

/* ---- countdown: each number glowing inside a big bulb, all hanging from one wire ---- */
.esite-skin-string-lights .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; }
.esite-skin-string-lights .ss-scope[data-type="countdown"]:has(.cdv-tiles) { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-string-lights .cdv-tiles .ss-cd { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 3vw, 44px); padding-top: 6px; }
.esite-skin-string-lights .cdv-tiles .ss-cd::before {   /* the wire */
  content: ""; position: absolute; left: -4vw; right: -4vw; top: 4px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--s-text) 45%, transparent);
}
.esite-skin-string-lights .cdv-tiles .cd-unit {
  position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center !important; width: clamp(104px, 10vw, 136px); aspect-ratio: 140 / 180;
  padding: calc(clamp(104px, 10vw, 136px) * .36) 0 0 !important; border: 0 !important; outline: 0; border-radius: 0; box-shadow: none;
  background: var(--sk-bulb-tile, none) 50% 0 / contain no-repeat !important; filter: drop-shadow(0 0 18px rgba(255, 205, 100, .55));
  animation: sl-bulb 3.4s ease-in-out infinite alternate;
}
.esite-skin-string-lights .cdv-tiles .cd-unit:nth-child(2) { animation-delay: -1.1s; }
.esite-skin-string-lights .cdv-tiles .cd-unit:nth-child(3) { animation-delay: -2.3s; }
.esite-skin-string-lights .cdv-tiles .cd-unit:nth-child(4) { animation-delay: -.6s; }
.esite-skin-string-lights .cdv-tiles .cd-unit::before, .esite-skin-string-lights .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-string-lights .cdv-tiles .cd-n { font-family: var(--s-fhead) !important; font-weight: 400; font-size: clamp(1.8rem, 2.9vw, 2.4rem); line-height: 1; color: #3a2410; }
.esite-skin-string-lights .cdv-tiles .cd-l { font-family: var(--s-fbody); color: #3a2410; opacity: .85; font-size: .625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.esite-skin-string-lights .ss-countdown .cd-n { font-family: var(--s-fhead); }
@keyframes sl-bulb { 0% { filter: drop-shadow(0 0 8px rgba(255, 205, 100, .3)); } 100% { filter: drop-shadow(0 0 26px rgba(255, 205, 100, .75)); } }

/* ---- sections: the suite's pieces at their sides ---- */
.esite-skin-string-lights .ss-scope[data-type="story"]::before { top: auto; bottom: 0; right: max(2vw, calc(50% - 660px)); left: auto; width: clamp(110px, 11vw, 160px); aspect-ratio: .74;
  background: var(--sk-gift-green, none) 50% 100% / contain no-repeat; }
.esite-skin-string-lights .ss-scope[data-type="faq"]::before { top: auto; bottom: 0; left: max(2vw, calc(50% - 660px)); right: auto; width: clamp(70px, 6vw, 96px); aspect-ratio: .3;
  background: var(--sk-pine-3, none) 50% 100% / contain no-repeat; }
.esite-skin-string-lights .ss-scope[data-type="schedule"]::before { top: auto; bottom: 0; right: max(1vw, calc(50% - 700px)); left: auto; width: clamp(150px, 15vw, 220px); aspect-ratio: .71;
  background: var(--sk-forest, none) 50% 100% / contain no-repeat; }
.esite-skin-string-lights .schv-wide .ss-tl-time, .esite-skin-string-lights .schv-cards .ss-tl-time, .esite-skin-string-lights .schv-timeline .ss-tl-time, .esite-skin-string-lights .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-string-lights .ss-tl-title { font-family: var(--s-fbody); font-size: 1.125rem; font-weight: 600; }
.esite-skin-string-lights .ss-faq-q { font-family: var(--s-fbody); font-size: 1.0625rem; font-weight: 600; }
.esite-skin-string-lights .ss-loc-venue { font-family: var(--s-fhead); font-style: normal; font-size: 2rem; color: var(--s-accent); }
.esite-skin-string-lights .gftv-panel .ss-wrap { aspect-ratio: auto; width: min(620px, 100%); padding: 48px 30px; background: var(--s-band); border-radius: 28px; }
.esite-skin-string-lights .gftv-panel .ss-h::before { display: block !important; margin: 0 auto 8px !important; }

/* ---- find your table: a card with a swag of lights over its top edge ---- */
.esite-skin.esite-skin-string-lights .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-string-lights .seatv-card .ss-seat-body { position: relative; margin-top: 54px; padding: 64px clamp(22px, 5vw, 48px) 40px; border: 0; border-radius: 24px; background: var(--s-band);
  box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .55); }
.esite-skin-string-lights .seatv-card .ss-seat-body::before { content: ""; position: absolute; left: -14px; right: -14px; top: -26px; height: 84px; pointer-events: none;
  background: var(--sk-lights-swag, none) 50% 0 / 100% auto no-repeat; animation: sl-twinkle 2.6s ease-in-out infinite alternate; }
.esite-skin-string-lights .ss-seat-table { font-family: var(--s-fhead); font-style: normal; font-size: 1.75rem; }

/* ---- RSVP: the card in the band color with a swag of lights over its top edge, the green gift by its foot ---- */
.esite-skin-string-lights .ss-rsvp-form { position: relative; margin-top: 58px; padding: 70px 46px 44px; border-radius: 26px; background: var(--s-band); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .5); }
.esite-skin-string-lights .ss-rsvp-form::before { content: ""; position: absolute; z-index: 3; left: -18px; right: -18px; top: -30px; height: 100px; pointer-events: none;
  background: var(--sk-lights-swag, none) 50% 0 / 100% auto no-repeat; animation: sl-twinkle 3s ease-in-out infinite alternate; }
.esite-skin-string-lights .ss-rsvp-form::after { content: ""; position: absolute; z-index: 3; left: -46px; bottom: -14px; width: 92px; aspect-ratio: .74; pointer-events: none;
  background: var(--sk-gift-green, none) 50% 100% / contain no-repeat; }
.esite-skin-string-lights .ss-rsvp-form .btn-rsvp { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-bg); }

/* ---- the last word: the lit tree ---- */
.esite-skin-string-lights .ss-closing::before { width: min(52vw, 190px); height: 300px; margin-bottom: 26px; background: var(--sk-tree, none) 50% 100% / contain no-repeat; }
.esite-skin-string-lights .ss-closing-names { color: var(--s-accent); }
.esite-skin-string-lights .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-string-lights .ss-hero.hs-classic::after, .esite-skin-string-lights .hs-classic .cl-panel::before, .esite-skin-string-lights .cdv-tiles .cd-unit,
  .esite-skin-string-lights .seatv-card .ss-seat-body::before, .esite-skin-string-lights .ss-rsvp-form::before { animation: none; }
}
@media (max-width: 1100px) {
  .esite-skin-string-lights .ss-scope[data-type="story"]::before, .esite-skin-string-lights .ss-scope[data-type="faq"]::before,
  .esite-skin-string-lights .ss-scope[data-type="schedule"]::before { display: none; }
}
@media (max-width: 900px) {
  .esite-skin-string-lights { --sl-tree: clamp(220px, 34svh, 320px); }
  .esite-skin-string-lights .hs-classic.no-photo .cl-panel { min-height: 100svh; padding: clamp(176px, 48vw, 220px) 18px calc(var(--sl-tree) + 18px); }
  .esite-skin-string-lights .hs-classic .cl-panel::before { inset: 62px 0 auto 0; height: 40vw; background-size: 170vw auto; }
  .esite-skin-string-lights .ss-hero.hs-classic::before { background-size: auto clamp(150px, 26svh, 230px), 120vw auto; background-position: right -14vw bottom -2px, left -24vw bottom -2px; }
  .esite-skin-string-lights .hs-classic.no-photo .cl-panel::after { background-position: left 2vw bottom, right 6vw bottom; background-size: auto 100%, auto 30%; }
  .esite-skin-string-lights .hs-classic .cl-names { font-size: calc(clamp(2.8rem, 12vw, 4rem) * var(--s-hscale, 1)); }
  .esite-skin-string-lights .ss-rsvp-form { padding: 60px 22px 30px; }
  .esite-skin-string-lights .ss-rsvp-form::after { left: -10px; width: 64px; }
}
@media (max-width: 640px) {
  .esite-skin-string-lights .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 6px; }
  .esite-skin-string-lights .cdv-tiles .cd-unit { width: 22vw; padding-top: 8vw !important; }
  .esite-skin-string-lights .cdv-tiles .cd-n { font-size: 1.4rem; }
  .esite-skin-string-lights .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .06em; }
}
