/* Cabin Road: the drive home for Christmas. The hero is a snowy evening: a road of tire tracks climbs a broad snow hill from the left
   to the cabin among its pines on the crest at the right; the red car with the tree tied on its roof drives in along it and stops,
   bobbing; the bulb with the sleeping deer hangs from the top corner and sways, the moon sits over the cabin, snow falls, and the words
   stand in the sky at the left. Down the page the countdown numbers are on retro road signs along a track, every heading wears the
   snowflake cookie, the story has the puppy in its gift, the schedule the sled, the questions the dog with the red bow, the gifts the
   parcel trio, the RSVP card is ringed with tire tracks with the car under its tower of gifts in the section's corner, and the closing
   is the cabin on its hill.
   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-cabin-road {
  --sk-accent-font: "Public Sans", sans-serif;
  --sk-accent-style: normal;
  --sk-photo-shape: none;
  --sk-gap: 104px;
  --sk-measure: 920px;
  --cr-ground: clamp(210px, 34svh, 360px);     /* the road's snow hill: its crest at 74% across, 95/420 of its height from its top */
  --cr-cabin: clamp(210px, 22vw, 360px);
  --cr-car: clamp(170px, 18vw, 320px);
  --cr-bulb: clamp(78px, 6.6vw, 124px);
}
.esite-skin-cabin-road .ss-h, .esite-skin-cabin-road .cl-names, .esite-skin-cabin-road .ss-closing-names { font-weight: 400; letter-spacing: 0; text-transform: none; }
.esite-skin-cabin-road .ss-h { font-size: calc(clamp(2.5rem, 4.4vw, 3.6rem) * var(--s-hscale, 1)); line-height: 1.12; color: var(--s-accent); }
.esite-skin-cabin-road .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 64px; height: 62px; margin-bottom: 12px; }

/* ---- hero: the road up the snow hill to the cabin, the moon over it, the car driving in, the bulb swaying ---- */
.esite-skin-cabin-road .ss-hero.hs-classic { position: relative; overflow: hidden; background: var(--s-bg); }
.esite-skin-cabin-road .ss-hero.hs-classic::before {   /* the cabin on the crest, the moon, the hill with its tracks */
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: var(--sk-moon, none) left 61vw top clamp(96px, 15svh, 150px) / clamp(34px, 3.4vw, 56px) auto no-repeat,
              var(--sk-cabin, none) left calc(74vw - var(--cr-cabin) / 2) bottom calc(var(--cr-ground) * .774 - var(--cr-cabin) * .09) / var(--cr-cabin) auto no-repeat,
              var(--sk-road, none) 0 100% / 100% var(--cr-ground) no-repeat;
}
.esite-skin-cabin-road .ss-hero.hs-classic::after {    /* falling snow, quiet, over everything */
  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: cr-snow 40s linear infinite;
}
.esite-skin-cabin-road .hs-classic .cl-panel { background: none; z-index: 1; }
.esite-skin-cabin-road .hs-classic.no-photo .cl-panel {
  align-content: center; justify-items: start; min-height: max(100svh, 780px);
  padding: 120px max(5vw, calc(50% - 660px)) calc(var(--cr-ground) * .3 + var(--cr-car) * .8 + 30px);
}
.esite-skin-cabin-road .hs-classic .cl-panel::before {   /* the car with its tree, driving in along the road and stopping */
  inset: auto auto calc(var(--cr-ground) * .2) calc(22vw - var(--cr-car) / 2); width: var(--cr-car); aspect-ratio: 1.308; z-index: 2;
  background: var(--sk-car-tree, none) 50% 100% / contain no-repeat;
  transform-origin: 50% 100%;
  animation: cr-drive 3.4s cubic-bezier(.2, .7, .25, 1) both, cr-bob .9s ease-in-out 3.4s infinite alternate;
}
.esite-skin-cabin-road .hs-classic .cl-panel::after {    /* the bulb with the sleeping deer, hanging on its cord from the top */
  display: block; content: ""; position: absolute; z-index: 1; inset: 40px max(3vw, calc(50% - 700px)) auto auto; width: var(--cr-bulb); aspect-ratio: .49;
  background: var(--sk-bulb-src, none) 50% 100% / contain no-repeat;
  transform-origin: 50% 0; animation: cr-sway 4.6s ease-in-out infinite alternate;
}
@keyframes cr-snow { to { background-position: 40px 360px, 80px 880px; } }
@keyframes cr-drive { from { transform: translateX(calc(-22vw - var(--cr-car))) rotate(-9deg); } to { transform: translateX(0) rotate(-9deg); } }
@keyframes cr-bob { from { transform: translateY(0) rotate(-9deg); } to { transform: translateY(-3px) rotate(-8.4deg); } }
@keyframes cr-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

.esite-skin-cabin-road .cl-text { z-index: 3; }
@media (min-width: 901px) {   /* the words in the sky at the left, clear of the cabin and the bulb */
  .esite-skin-cabin-road .hs-classic.no-photo .cl-text { max-width: min(780px, 56vw); }
}
.esite-skin-cabin-road .cl-panel .h-kicker { margin: 0 0 6px; font-family: var(--s-fbody); font-size: .875rem; font-weight: 700; font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--s-text); }
.esite-skin-cabin-road .hs-classic .cl-names { justify-items: center; font-size: calc(clamp(3.4rem, 6.8vw, 6.4rem) * var(--s-hscale, 1)); line-height: 1.04; color: var(--s-accent); text-wrap: balance; }
.esite-skin-cabin-road .hs-classic .cl-names .cn-1, .esite-skin-cabin-road .hs-classic .cl-names .cn-2 { justify-self: center; padding: 0; }
.esite-skin-cabin-road .cl-sub { margin-top: 12px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: none; color: var(--s-text); }
.esite-skin-cabin-road .cl-facts { margin: 16px 0 22px; }
.esite-skin-cabin-road .cl-facts b { font-family: var(--s-fbody); font-weight: 700; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--s-accent); }
.esite-skin-cabin-road .cl-facts span { font-family: var(--s-fbody); font-size: 1rem; color: var(--s-text); }
.esite-skin-cabin-road .cl-btn:not(.ghost), .esite-skin-cabin-road .ss-btn { background: var(--s-accent); color: var(--s-bg); border-color: var(--s-accent); }
.esite-skin-cabin-road .cl-btn, .esite-skin-cabin-road .ss-btn, .esite-skin-cabin-road .ss-rsvp-form .btn-rsvp, .esite-skin-cabin-road .ss-location .ss-dir { border-radius: 999px !important; }
/* a photo: the road, the cabin and the car step aside; the photo gets a rounded frame in the accent, the bulb still hangs */
.esite-skin-cabin-road .ss-hero.hs-classic:not(.no-photo)::before, .esite-skin-cabin-road .hs-classic:not(.no-photo) .cl-panel::before { display: none; }
.esite-skin-cabin-road .hv-cover:not(.no-photo) :is(.cl-names, .cl-facts b, .cl-facts span, .h-kicker, .cl-sub) { color: #fff; }
.esite-skin-cabin-road .hv-cover:not(.no-photo) .cl-panel::after { display: none; }
.esite-skin-cabin-road .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 22px; box-shadow: 0 0 0 8px var(--s-accent), 0 26px 60px -30px rgba(0, 0, 0, .55); }
.esite-skin-cabin-road .hs-classic:not(.no-photo) .cl-visual::after { display: none; }
.esite-skin-cabin-road .stv-side .ss-story-img img, .esite-skin-cabin-road .stv-right .ss-story-img img { border-radius: 20px; }

/* ---- countdown: each number on a retro road sign on its post, the signs along a tire track ---- */
.esite-skin-cabin-road .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-cabin-road .ss-scope[data-type="countdown"]:has(.cdv-tiles) { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-cabin-road .cdv-tiles .ss-cd { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3.4vw, 52px); padding-bottom: 16px; }
.esite-skin-cabin-road .cdv-tiles .ss-cd::after {   /* the track the signs stand along */
  content: ""; position: absolute; left: -6vw; right: -6vw; bottom: 0; height: 16px; background: var(--sk-tracks, none) 0 0 / 400px 16px repeat-x; opacity: .7;
}
.esite-skin-cabin-road .cdv-tiles .cd-unit {
  position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start !important; width: clamp(108px, 10.5vw, 146px); aspect-ratio: 160 / 220;
  padding: calc(clamp(108px, 10.5vw, 146px) * .17) 0 0 !important; border: 0 !important; outline: 0; border-radius: 0; box-shadow: none;
  background: var(--sk-sign, none) 50% 0 / contain no-repeat !important; transform-origin: 50% 100%;
}
.esite-skin-cabin-road .cdv-tiles .cd-unit:nth-child(odd) { transform: rotate(-2deg); }
.esite-skin-cabin-road .cdv-tiles .cd-unit:nth-child(even) { transform: rotate(1.6deg); }
.esite-skin-cabin-road .cdv-tiles .cd-unit::before, .esite-skin-cabin-road .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-cabin-road .cdv-tiles .cd-n { font-family: var(--s-fbody) !important; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--s-bg); }
.esite-skin-cabin-road .cdv-tiles .cd-l { font-family: var(--s-fbody); color: var(--s-bg); opacity: .92; font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; }

/* ---- sections: the suite's pieces at their sides ---- */
.esite-skin-cabin-road .ss-scope[data-type="story"]::before { top: auto; bottom: 0; right: max(2vw, calc(50% - 660px)); left: auto; width: clamp(110px, 11vw, 170px); aspect-ratio: .883;
  background: var(--sk-puppy-gift, none) 50% 100% / contain no-repeat; }
.esite-skin-cabin-road .ss-scope[data-type="faq"]::before { top: auto; bottom: 0; left: max(2vw, calc(50% - 680px)); right: auto; width: clamp(100px, 9vw, 150px); aspect-ratio: .756;
  background: var(--sk-dog-bow, none) 50% 100% / contain no-repeat; }
.esite-skin-cabin-road .ss-scope[data-type="schedule"]::before { top: auto; bottom: 10px; right: max(1vw, calc(50% - 700px)); left: auto; width: clamp(160px, 16vw, 250px); aspect-ratio: 1.662;
  background: var(--sk-sled, none) 50% 100% / contain no-repeat; }
.esite-skin-cabin-road .schv-wide .ss-tl-time, .esite-skin-cabin-road .schv-cards .ss-tl-time, .esite-skin-cabin-road .schv-timeline .ss-tl-time, .esite-skin-cabin-road .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-cabin-road .ss-tl-title { font-family: var(--s-fbody); font-size: 1.125rem; font-weight: 700; }
.esite-skin-cabin-road .ss-faq-q { font-family: var(--s-fbody); font-size: 1.0625rem; font-weight: 700; }
.esite-skin-cabin-road .ss-loc-venue { font-family: var(--s-fhead); font-style: normal; font-size: 2.1rem; color: var(--s-accent); }
.esite-skin-cabin-road .gftv-panel .ss-wrap { aspect-ratio: auto; width: min(620px, 100%); padding: 44px 30px 48px; background: var(--s-band); border-radius: 26px; }
.esite-skin.esite-skin-cabin-road .ss-scope[data-type="gifts"]:not([data-type="none"]) .gftv-panel .ss-h::before { display: block !important; width: 190px; height: 112px; margin: 0 auto 10px !important;
  background: var(--sk-gifts, none) 50% 100% / contain no-repeat; }

/* ---- find your table: a card ringed with tire tracks ---- */
.esite-skin-cabin-road .seatv-card .ss-seat-body { position: relative; padding: 46px clamp(22px, 5vw, 48px) 40px; border: 3px dashed color-mix(in srgb, var(--s-accent) 70%, transparent); outline: 3px dashed color-mix(in srgb, var(--s-accent) 70%, transparent); outline-offset: 7px; border-radius: 24px; background: var(--s-band); }
.esite-skin-cabin-road .ss-seat-table { font-family: var(--s-fhead); font-style: normal; font-size: 1.85rem; }

/* ---- RSVP: the card ringed with tire tracks, the car under its tower of gifts in from the section's corner ---- */
.esite-skin-cabin-road .ss-rsvp-form { position: relative; margin-top: 30px; padding: 54px 46px 44px; border-radius: 26px; background: var(--s-band);
  border: 3px dashed color-mix(in srgb, var(--s-accent) 70%, transparent); outline: 3px dashed color-mix(in srgb, var(--s-accent) 70%, transparent); outline-offset: 8px; }
.esite-skin-cabin-road .ss-rsvp-form .btn-rsvp { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-bg); }
.esite-skin-cabin-road .ss-scope[data-type="rsvp"]::before { content: ""; position: absolute; z-index: -1; top: auto; right: auto; left: 0; bottom: 0; width: clamp(130px, 13vw, 220px); aspect-ratio: .451; pointer-events: none;
  background: var(--sk-car-gifts, none) 0 100% / contain no-repeat; }

/* ---- the last word: the cabin on its hill ---- */
.esite-skin-cabin-road .ss-closing::before { width: min(70vw, 300px); height: 300px; margin-bottom: 22px;
  background: var(--sk-cabin, none) 50% calc(100% - 26px) / auto 86% no-repeat, var(--sk-mound, none) 50% 100% / 100% 50px no-repeat; }
.esite-skin-cabin-road .ss-closing-names { color: var(--s-accent); }
.esite-skin-cabin-road .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-cabin-road .ss-hero.hs-classic::after, .esite-skin-cabin-road .hs-classic .cl-panel::before, .esite-skin-cabin-road .hs-classic .cl-panel::after { animation: none; }
  .esite-skin-cabin-road .hs-classic .cl-panel::before { transform: rotate(-9deg); }
}
@media (max-width: 1100px) {
  .esite-skin-cabin-road .ss-scope[data-type="story"]::before, .esite-skin-cabin-road .ss-scope[data-type="faq"]::before,
  .esite-skin-cabin-road .ss-scope[data-type="schedule"]::before, .esite-skin-cabin-road .ss-scope[data-type="rsvp"]::before { display: none; }
}
@media (max-width: 900px) {
  .esite-skin-cabin-road { --cr-ground: clamp(170px, 28svh, 250px); --cr-cabin: clamp(150px, 40vw, 250px); --cr-car: clamp(140px, 40vw, 230px); --cr-bulb: clamp(44px, 11vw, 70px); }
  .esite-skin-cabin-road .hs-classic.no-photo .cl-panel { justify-items: center; min-height: 100svh;
    padding: 108px 22px calc(var(--cr-ground) * .774 + var(--cr-cabin) * .95); }
  .esite-skin-cabin-road .ss-hero.hs-classic::before { background-position: left 74vw top 82px, left calc(74vw - var(--cr-cabin) / 2) bottom calc(var(--cr-ground) * .774 - var(--cr-cabin) * .09), 0 100%;
    background-size: 34px auto, var(--cr-cabin) auto, 100% var(--cr-ground); }
  .esite-skin-cabin-road .hs-classic .cl-panel::before { inset: auto auto calc(var(--cr-ground) * .17) 4vw; }
  @keyframes cr-drive { from { transform: translateX(-60vw) rotate(-9deg); } to { transform: translateX(0) rotate(-9deg); } }
  .esite-skin-cabin-road .hs-classic .cl-panel::after { inset: 44px 5vw auto auto; }
  .esite-skin-cabin-road .hs-classic .cl-names { font-size: calc(clamp(2.9rem, 12.5vw, 4.2rem) * var(--s-hscale, 1)); }
  .esite-skin-cabin-road .cl-panel .h-kicker { padding: 0 calc(var(--cr-bulb) * .6); }
  .esite-skin-cabin-road .ss-rsvp-form { padding: 46px 22px 30px; }
}
@media (max-width: 640px) {
  .esite-skin-cabin-road .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 6px; }
  .esite-skin-cabin-road .cdv-tiles .cd-unit { width: 22vw; padding-top: 3.6vw !important; }
  .esite-skin-cabin-road .cdv-tiles .cd-n { font-size: 1.45rem; }
  .esite-skin-cabin-road .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .06em; }
}
