/* Candle Glow: a cozy window. The hero is the file's border card at screen size: a painted border in the colorway's border color
   frames the screen; from its top edge the bead mobile hangs on the left and the macrame mobile on the right, swaying slowly; along its
   foot runs a ledge with the four pillar candles on the left and the little Nordic houses on the right, the names in the middle in the
   brush script. Down the page the countdown numbers stand under pillar candles on a ledge, each heading wears the bead garland, a little
   house sits by the story, the string of lights hangs over the schedule, the town map lies by the location, gifts in the FAQ's corner, a
   cone tree on the table finder card, the RSVP form is the border card again with the cone trees on top, and three candles close 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-candle-glow {
  --sk-accent-font: "Work Sans", sans-serif;
  --sk-accent-style: normal;
  --sk-photo-shape: none;
  --sk-gap: 100px;
  --sk-measure: 920px;
  --cg-edge: clamp(14px, 2vw, 28px);                 /* the painted border's width */
  --cg-mobile: clamp(210px, 21vw, 360px);
  --cg-mobile-b: clamp(190px, 18vw, 320px);
  --cg-candles: clamp(230px, 23vw, 400px);
  --cg-houses: clamp(220px, 21vw, 370px);
  --cg-ledge: 12px;
  --cg-foot: clamp(26px, 4svh, 46px);                 /* the ledge's height over the frame's bottom edge */
}
.esite-skin-candle-glow .ss-h, .esite-skin-candle-glow .cl-names, .esite-skin-candle-glow .ss-closing-names { font-weight: 400; letter-spacing: 0; text-transform: none; }
.esite-skin-candle-glow .ss-h { font-size: calc(clamp(2.3rem, 4.2vw, 3.3rem) * var(--s-hscale, 1)); line-height: 1.25; color: var(--s-accent); }
.esite-skin-candle-glow .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 150px; height: 36px; margin-bottom: 10px; }

/* ---- hero: the painted border, the mobiles hanging from its top, the candles and houses on the ledge ---- */
.esite-skin-candle-glow .ss-hero.hs-classic { position: relative; background: var(--s-bg); }
.esite-skin-candle-glow .hs-classic .cl-panel { background: var(--s-bg); }
.esite-skin-candle-glow .hs-classic.no-photo .cl-panel::before {
  inset: 68px 0 0; z-index: 0;
  border: var(--cg-edge) solid transparent; border-image-source: var(--sk-edge, none); border-image-slice: 1; border-image-repeat: stretch;
  background: var(--sk-candles, none) left clamp(18px, 5vw, 90px) bottom calc(var(--cg-foot) + var(--cg-ledge) - 2px) / var(--cg-candles) auto no-repeat,
              var(--sk-houses, none) right clamp(18px, 5vw, 90px) bottom calc(var(--cg-foot) + var(--cg-ledge) - 2px) / var(--cg-houses) auto no-repeat,
              var(--sk-edge, none) 0 calc(100% - var(--cg-foot)) / 100% var(--cg-ledge) no-repeat;
  background-origin: padding-box;
}
.esite-skin-candle-glow .hs-classic.no-photo .cl-panel::after {   /* the bead mobile, hung from the frame's top edge */
  inset: calc(68px + var(--cg-edge)) auto auto clamp(28px, 8vw, 150px);
  width: var(--cg-mobile); aspect-ratio: 1.295; transform-origin: 50% 0;
  background: var(--sk-mobile, none) 50% 0 / 100% auto no-repeat;
  animation: cg-sway 7s ease-in-out infinite alternate;
}
.esite-skin-candle-glow .ss-hero.hs-classic.no-photo::after {     /* the macrame mobile on the right */
  content: ""; position: absolute; z-index: 3; pointer-events: none; top: calc(68px + var(--cg-edge)); right: clamp(28px, 8vw, 150px);
  width: var(--cg-mobile-b); aspect-ratio: 1.331; transform-origin: 50% 0;
  background: var(--sk-mobile-b, none) 50% 0 / 100% auto no-repeat;
  animation: cg-sway 8.5s ease-in-out -3s infinite alternate;
}
@keyframes cg-sway { from { rotate: -1.6deg; } to { rotate: 1.6deg; } }
@keyframes cg-glow { from { opacity: .55; } to { opacity: .9; } }
.esite-skin-candle-glow .hs-classic.no-photo .cl-panel { align-content: center; min-height: max(100svh, 760px);
  padding: calc(68px + var(--cg-edge) + clamp(40px, 8svh, 90px)) clamp(24px, 4vw, 60px) calc(var(--cg-foot) + var(--cg-ledge) + clamp(150px, 20svh, 240px)); }
.esite-skin-candle-glow .cl-text { z-index: 3; max-width: min(640px, 100%); }
@media (min-width: 1101px) {
  .esite-skin-candle-glow .hs-classic.no-photo .cl-text { max-width: min(640px, calc(100vw - 2 * (var(--cg-mobile) + clamp(28px, 8vw, 150px)) + 120px)); }
}
.esite-skin-candle-glow .cl-panel .h-kicker { margin: 0 0 10px; font-family: var(--s-fbody); font-size: .8125rem; font-weight: 600; font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--s-text); }
.esite-skin-candle-glow .cl-names { display: block; font-size: calc(clamp(3.2rem, 6vw, 5.8rem) * var(--s-hscale, 1)); line-height: 1.14; color: var(--s-accent); text-wrap: balance; }
.esite-skin-candle-glow .cl-names :is(.cn-1, .cn-2) { padding: 0; }
.esite-skin-candle-glow .cl-names .cn-amp { display: inline; margin: 0 .2em; font-family: var(--s-fhead); font-size: 1em; }
.esite-skin-candle-glow .cl-sub { margin-top: 14px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: none; color: var(--s-text); }
.esite-skin-candle-glow .cl-facts { margin: 16px 0 24px; }
.esite-skin-candle-glow .cl-facts b { font-family: var(--s-fbody); font-weight: 600; font-size: .8125rem; letter-spacing: .22em; text-transform: uppercase; color: var(--s-accent); }
.esite-skin-candle-glow .cl-facts span { font-family: var(--s-fbody); font-size: 1.0625rem; color: var(--s-text); }
.esite-skin-candle-glow .cl-btn:not(.ghost), .esite-skin-candle-glow .ss-btn { background: var(--s-accent); color: var(--s-bg); border-color: var(--s-accent); font-weight: 600; }
.esite-skin-candle-glow .cl-btn, .esite-skin-candle-glow .ss-btn, .esite-skin-candle-glow .ss-rsvp-form .btn-rsvp, .esite-skin-candle-glow .ss-location .ss-dir { border-radius: 999px !important; }
/* a photo: framed in the painted border, the bead mobile hanging over its top corner */
.esite-skin-candle-glow .hv-cover:not(.no-photo) :is(.cl-names, .cl-facts b, .cl-facts span, .h-kicker, .cl-sub) { color: #fff; }
.esite-skin-candle-glow .hs-classic:not(.no-photo) .cl-panel { padding-top: clamp(120px, 16svh, 170px); }
.esite-skin-candle-glow .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 0; border: var(--cg-edge) solid transparent; border-image: var(--sk-edge, none) 1 stretch; }
.esite-skin-candle-glow .hs-classic:not(.no-photo) .cl-panel::after { inset: 68px auto auto clamp(10px, 3vw, 50px); width: clamp(150px, 15vw, 250px); aspect-ratio: 1.295;
  background: var(--sk-mobile, none) 50% 0 / 100% auto no-repeat; transform-origin: 50% 0; animation: cg-sway 7s ease-in-out infinite alternate; }
.esite-skin-candle-glow .hs-classic:not(.no-photo):not(.hv-cover) .cl-visual::after { display: none; }

/* ---- countdown: each number under its own pillar candle, the four standing on a ledge ---- */
.esite-skin-candle-glow .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.2rem, 3.8vw, 3.1rem) * var(--s-hscale, 1)); }
.esite-skin-candle-glow .ss-scope[data-type="countdown"]:has(.cdv-tiles) { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-candle-glow .cdv-tiles .ss-cd { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 3vw, 44px); padding-bottom: 0; }
.esite-skin-candle-glow .cdv-tiles .cd-unit {
  display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start !important; width: clamp(96px, 10vw, 130px);
  padding: clamp(118px, 13vw, 150px) 0 14px !important; border: 0 !important; outline: 0; border-radius: 0; box-shadow: none;
  background: var(--sk-candle-b, none) 50% 0 / auto clamp(104px, 11.5vw, 136px) no-repeat !important;
  border-bottom: var(--cg-ledge) solid transparent !important; border-image: var(--sk-edge, none) 1 stretch !important;
}
.esite-skin-candle-glow .cdv-tiles .cd-unit:nth-child(1) { background-image: var(--sk-candle-a, none) !important; }
.esite-skin-candle-glow .cdv-tiles .cd-unit:nth-child(3) { background-image: var(--sk-candle-c, none) !important; }
.esite-skin-candle-glow .cdv-tiles .cd-unit:nth-child(4) { background-image: var(--sk-candle-d, none) !important; }
.esite-skin-candle-glow .cdv-tiles .cd-unit::before, .esite-skin-candle-glow .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-candle-glow .cdv-tiles .cd-n { font-family: var(--s-fhead) !important; font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.1; color: var(--s-accent); }
.esite-skin-candle-glow .cdv-tiles .cd-l { font-family: var(--s-fbody); color: var(--s-text); font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }
.esite-skin-candle-glow .ss-countdown .cd-n { font-family: var(--s-fhead); }

/* ---- sections: the file's pieces at their edges ---- */
.esite-skin-candle-glow .ss-scope[data-type="story"]::before { top: auto; bottom: 26px; right: max(2vw, calc(50% - 640px)); left: auto; width: clamp(70px, 7vw, 110px); aspect-ratio: .502;
  background: var(--sk-house-c, none) 50% 100% / contain no-repeat; }
.esite-skin-candle-glow .ss-scope[data-type="schedule"]::before { top: 0; left: 50%; right: auto; bottom: auto; width: min(400px, 72vw); aspect-ratio: 2.119; translate: -50% 0; opacity: .9;
  background: var(--sk-lights, none) 50% 0 / 100% auto no-repeat; }
.esite-skin-candle-glow .ss-scope[data-type="schedule"] .ss { padding-top: calc(min(400px, 72vw) / 2.119 + 30px); }
.esite-skin-candle-glow .ss-scope[data-type="location"]::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: 50%; bottom: auto; right: max(16px, calc(50% - 720px + 16px)); left: auto; width: clamp(180px, 14vw, 240px); aspect-ratio: .987; translate: 0 -50%; opacity: .95;
  background: var(--sk-map, none) 50% 50% / contain no-repeat; }
.esite-skin-candle-glow .ss-scope[data-type="faq"]::before { top: auto; bottom: 18px; left: max(1vw, calc(50% - 700px)); right: auto; width: clamp(170px, 17vw, 270px); aspect-ratio: 2.42;
  background: var(--sk-gifts-b, none) 0 100% / contain no-repeat; }
.esite-skin-candle-glow .schv-wide .ss-tl-time, .esite-skin-candle-glow .schv-cards .ss-tl-time, .esite-skin-candle-glow .schv-timeline .ss-tl-time, .esite-skin-candle-glow .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-candle-glow .ss-tl-title { font-family: var(--s-fbody); font-size: 1.125rem; font-weight: 600; }
.esite-skin-candle-glow .ss-faq-q { font-family: var(--s-fbody); font-size: 1.0625rem; font-weight: 600; }
.esite-skin-candle-glow .ss-loc-venue { font-family: var(--s-fhead); font-style: normal; font-size: 2.2rem; line-height: 1.3; color: var(--s-accent); }
.esite-skin-candle-glow .gftv-panel .ss-wrap { aspect-ratio: auto; width: min(620px, 100%); padding: 48px 30px; background: var(--s-band); border-radius: 0; border: var(--cg-edge) solid transparent; border-image: var(--sk-edge, none) 1 stretch; }
.esite-skin-candle-glow .gftv-panel .ss-h::before { display: block !important; margin: 0 auto 8px !important; }
.esite-skin-candle-glow .stv-side .ss-story-img img, .esite-skin-candle-glow .stv-right .ss-story-img img { border-radius: 0; }

/* ---- find your table: a card with a cone tree on its corner ---- */
.esite-skin.esite-skin-candle-glow .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-candle-glow .seatv-card .ss-seat-body { position: relative; margin-top: 30px; padding: 46px clamp(22px, 5vw, 48px) 40px; border: 0; border-radius: 20px;
  background: var(--s-band); box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .5); }
.esite-skin-candle-glow .seatv-card .ss-seat-body::before { content: ""; position: absolute; right: 18px; top: -46px; width: 40px; aspect-ratio: .491; pointer-events: none;
  background: var(--sk-tree-c, none) 50% 100% / contain no-repeat; }
.esite-skin-candle-glow .ss-seat-table { font-family: var(--s-fhead); font-style: normal; font-size: 1.7rem; }

/* ---- RSVP: the border card again, the cone trees standing on its top ---- */
.esite-skin-candle-glow .ss-scope[data-type="rsvp"] { background-color: var(--sk-sec-bg, var(--s-bg)); }
.esite-skin-candle-glow .ss-rsvp-form { position: relative; margin-top: 150px; padding: 46px 40px 40px; border-radius: 0; background: var(--s-bg);
  border: var(--cg-edge) solid transparent; border-image: var(--sk-edge, none) 1 stretch; box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .4); }
.esite-skin-candle-glow .ss-rsvp-form::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + var(--cg-edge)); width: 200px; aspect-ratio: 1.781; translate: -50% 0; pointer-events: none;
  background: var(--sk-trees, none) 50% 100% / contain no-repeat; }
.esite-skin-candle-glow .ss-rsvp-form .btn-rsvp { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-bg); }

/* ---- the last word: three candles ---- */
.esite-skin-candle-glow .ss-closing::before { width: min(46vw, 190px); height: 172px; margin-bottom: 18px; background: var(--sk-candles-3, none) 50% 100% / contain no-repeat; }
.esite-skin-candle-glow .ss-closing-names { color: var(--s-accent); line-height: 1.25; }
.esite-skin-candle-glow .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-candle-glow .cl-panel::after, .esite-skin-candle-glow .ss-hero.hs-classic::after { animation: none; }
}
@media (max-width: 1399px) { .esite-skin-candle-glow .ss-scope[data-type="location"]::before { display: none; } }
@media (max-width: 1100px) {
  .esite-skin-candle-glow .ss-scope[data-type="story"]::before { display: none; }
  .esite-skin-candle-glow .ss-hero.hs-classic.no-photo::after { display: none; }
  .esite-skin-candle-glow .hs-classic.no-photo .cl-panel::after { left: 50%; translate: -50% 0; width: min(62vw, 300px); }
  .esite-skin-candle-glow .hs-classic.no-photo .cl-panel { align-content: center; padding-top: calc(68px + var(--cg-edge) + min(62vw, 300px) / 1.295 + 24px); }
}
@media (max-width: 900px) {
  /* on a phone the bead mobile opens the screen, the candles stand on the ledge under the words, the houses stay for wider screens */
  .esite-skin-candle-glow { --cg-candles: min(58vw, 260px); --cg-foot: 22px; }
  .esite-skin-candle-glow .hs-classic.no-photo .cl-panel::before {
    background: var(--sk-candles, none) 50% calc(100% - var(--cg-foot) - var(--cg-ledge) + 2px) / var(--cg-candles) auto no-repeat,
                var(--sk-edge, none) 0 calc(100% - var(--cg-foot)) / 100% var(--cg-ledge) no-repeat; }
  .esite-skin-candle-glow .hs-classic.no-photo .cl-panel { min-height: 100svh; padding-left: 26px; padding-right: 26px; padding-bottom: calc(var(--cg-foot) + var(--cg-ledge) + var(--cg-candles) / 1.425 + 24px); }
  .esite-skin-candle-glow .cl-names { font-size: calc(clamp(2.6rem, 11vw, 3.6rem) * var(--s-hscale, 1)); }
  .esite-skin-candle-glow .ss-scope[data-type="faq"]::before { width: 140px; }
  .esite-skin-candle-glow .ss-rsvp-form { padding: 40px 20px 30px; }
}
@media (max-width: 640px) {
  .esite-skin-candle-glow .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 6px; }
  .esite-skin-candle-glow .cdv-tiles .cd-unit { width: 22vw; padding-top: 92px !important; background-size: auto 84px !important; }
  .esite-skin-candle-glow .cdv-tiles .cd-n { font-size: 1.8rem; }
  .esite-skin-candle-glow .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .08em; }
}
