/* Tartan Cartouche: the hero is the invitation at screen size. The colorway's tartan (one seamless repeat of the print suite's sett)
   fills it, and the names sit in a big cream cartouche ringed and dotted as the file draws it, the bow tied on its top bump and the
   pine laid across its foot; a glass bauble hangs on its gold string from the hero's top corner and sways. Down the page the countdown
   numbers sit in little cartouches on a tartan band, headings wear the bow, the schedule, the table finder and the gifts sit on the
   file's wavy panel (nine slices, any size), the bauble hangs by the story, the little tree stands by the location, the berry sprig by
   the questions, the RSVP section is tartan again with the form on a wavy panel tied with the bow, and the bow 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-tartan-cartouche {
  --sk-accent-font: "Public Sans", sans-serif;
  --sk-accent-style: normal;
  --sk-photo-shape: none;
  --sk-gap: 104px;
  --sk-measure: 940px;
  --tc-tile: clamp(230px, 21vw, 330px);      /* one repeat of the sett */
  --tc-bow: clamp(120px, 11vw, 170px);
}
.esite-skin-tartan-cartouche .ss-h, .esite-skin-tartan-cartouche .cl-names, .esite-skin-tartan-cartouche .ss-closing-names { font-weight: 400; letter-spacing: 0; text-transform: none; }
.esite-skin-tartan-cartouche .ss-h { font-size: calc(clamp(2.6rem, 4.6vw, 3.7rem) * var(--s-hscale, 1)); line-height: 1.2; color: var(--s-accent); }
.esite-skin-tartan-cartouche .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 92px; height: 74px; margin-bottom: 4px; }

/* ---- hero: the tartan, the cartouche with the bow and the pine, the bauble swaying from the corner ---- */
.esite-skin-tartan-cartouche .ss-hero.hs-classic { position: relative; overflow: hidden; background: var(--sk-tartan, none) 50% 0 / var(--tc-tile) auto repeat, var(--s-band); }
.esite-skin-tartan-cartouche .hs-classic .cl-panel { background: none; }
.esite-skin-tartan-cartouche .hs-classic .cl-panel::before { display: none; }
.esite-skin-tartan-cartouche .hs-classic.no-photo .cl-panel { align-content: center; min-height: max(100svh, 860px); padding: calc(var(--tc-bow) * .6 + 120px) 24px 110px; }
.esite-skin-tartan-cartouche .hs-classic.no-photo .cl-panel::after {   /* the bauble on its gold string, cut by the screen's top */
  display: block; content: ""; position: absolute; z-index: 2; top: 0; bottom: auto; left: auto; right: clamp(24px, 9vw, 180px);
  width: clamp(90px, 9vw, 150px); aspect-ratio: .628; transform-origin: 50% 0; pointer-events: none;
  background: var(--sk-bauble, none) 50% 100% / 100% auto no-repeat; animation: tc-sway 5.5s ease-in-out infinite alternate;
}
@keyframes tc-sway { from { rotate: -3deg; } to { rotate: 3deg; } }
@keyframes tc-twinkle { 0%, 100% { opacity: .35; scale: .8; } 50% { opacity: 1; scale: 1; } }
.esite-skin-tartan-cartouche .hs-classic.no-photo .cl-text {
  position: relative; z-index: 3; width: min(700px, 100%); min-height: min(800px, 86svh); justify-content: center; align-content: center;
  padding: clamp(80px, 9vw, 120px) clamp(48px, 8vw, 104px); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .28));
}
.esite-skin-tartan-cartouche .hs-classic.no-photo .cl-text::before {   /* the cartouche */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: var(--sk-cart, none) 0 0 / 100% 100% no-repeat;
}
.esite-skin-tartan-cartouche .hs-classic.no-photo .cl-text::after {   /* the bow on the top bump, the pine across the foot */
  content: ""; position: absolute; z-index: 2; left: 50%; translate: -50% 0; top: calc(var(--tc-bow) * -.42); bottom: -54px; width: max(100%, 560px); pointer-events: none;
  background: var(--sk-bow, none) 50% 0 / var(--tc-bow) auto no-repeat, var(--sk-pine, none) 50% 100% / clamp(200px, 22vw, 300px) auto no-repeat;
}
.esite-skin-tartan-cartouche .cl-panel .h-kicker { margin: 0 0 8px; font-family: var(--s-fbody); font-size: .875rem; font-weight: 500; font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--s-text); }
.esite-skin-tartan-cartouche .hs-classic .cl-names { justify-items: center; font-size: calc(clamp(3.2rem, 6vw, 5.8rem) * var(--s-hscale, 1)); line-height: 1.1; color: var(--s-accent); text-wrap: balance; }
.esite-skin-tartan-cartouche .hs-classic .cl-names .cn-1, .esite-skin-tartan-cartouche .hs-classic .cl-names .cn-2 { justify-self: center; padding: 0; }
.esite-skin-tartan-cartouche .hs-classic .cl-names .cn-amp { font-family: var(--s-fhead); font-style: normal; color: var(--sk-deep); }
.esite-skin-tartan-cartouche .cl-sub { margin-top: 10px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: none; color: var(--s-text); }
.esite-skin-tartan-cartouche .cl-facts { margin: 16px 0 24px; }
.esite-skin-tartan-cartouche .cl-facts b { font-family: var(--s-fbody); font-weight: 600; font-size: .8125rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sk-deep); }
.esite-skin-tartan-cartouche .cl-facts span { font-family: var(--s-fbody); font-size: 1.0625rem; color: var(--s-text); }
.esite-skin-tartan-cartouche .cl-btn:not(.ghost), .esite-skin-tartan-cartouche .ss-btn { background: var(--sk-deep); color: var(--sk-deep-ink); border-color: var(--sk-deep); font-weight: 600; }
.esite-skin-tartan-cartouche .cl-btn, .esite-skin-tartan-cartouche .ss-btn, .esite-skin-tartan-cartouche .ss-rsvp-form .btn-rsvp, .esite-skin-tartan-cartouche .ss-location .ss-dir { border-radius: 999px !important; }
/* a photo: on a cream mat ringed in the frame color, as the photo card; the words on the wavy panel beside it */
.esite-skin-tartan-cartouche .hs-classic:not(.no-photo) .cl-text { padding: 46px clamp(26px, 4vw, 52px); border: 30px solid transparent; border-image: var(--sk-wavy, none) 30 fill / 30px round; background: none; }
.esite-skin-tartan-cartouche .hv-cover:not(.no-photo) :is(.cl-names, .cl-sub, .cl-facts span) { color: var(--s-text); }
.esite-skin-tartan-cartouche .hv-cover:not(.no-photo) :is(.h-kicker, .cl-facts b, .cn-amp) { color: var(--sk-deep); }
.esite-skin-tartan-cartouche .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 2px; box-shadow: 0 0 0 14px var(--s-bg), 0 0 0 18px var(--sk-deep), 0 30px 50px -20px rgba(0, 0, 0, .5); }
.esite-skin-tartan-cartouche .stv-side .ss-story-img img, .esite-skin-tartan-cartouche .stv-right .ss-story-img img { border-radius: 2px; box-shadow: 0 0 0 10px var(--s-bg), 0 0 0 13px var(--sk-deep); }

/* ---- countdown: each number in a little cartouche on a tartan band ---- */
.esite-skin-tartan-cartouche .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; color: var(--s-accent); font-size: calc(clamp(2.4rem, 4vw, 3.3rem) * var(--s-hscale, 1)); }
.esite-skin-tartan-cartouche .ss-scope[data-type="countdown"]:has(.cdv-tiles) { background: var(--sk-tartan, none) 50% 50% / var(--tc-tile) auto repeat, var(--s-band); }
.esite-skin-tartan-cartouche .ss-scope[data-type="countdown"]:has(.cdv-tiles) .ss-h { display: inline-block; padding: 6px 34px 10px; border-radius: 999px; background: var(--s-bg); box-shadow: 0 0 0 4px var(--sk-deep); }
.esite-skin-tartan-cartouche .ss-scope[data-type="countdown"]:has(.cdv-tiles) .ss-h::before { display: none !important; }
.esite-skin-tartan-cartouche .cdv-tiles .ss-cd { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2.6vw, 34px); margin-top: 42px; }
.esite-skin-tartan-cartouche .cdv-tiles .cd-unit {
  position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center !important; gap: 4px;
  width: clamp(118px, 12.5vw, 160px); aspect-ratio: 300 / 260; padding: 0 !important; border: 0 !important; outline: 0; border-radius: 0; box-shadow: none;
  background: var(--sk-cart-s, none) 0 0 / 100% 100% no-repeat !important; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .3));
}
.esite-skin-tartan-cartouche .cdv-tiles .cd-unit::before, .esite-skin-tartan-cartouche .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-tartan-cartouche .cdv-tiles .cd-n { font-family: var(--s-fbody) !important; font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1; color: var(--s-text); }
.esite-skin-tartan-cartouche .cdv-tiles .cd-l { font-family: var(--s-fbody); color: var(--sk-deep); opacity: 1; font-size: .625rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.esite-skin-tartan-cartouche .ss-countdown .cd-n { font-family: var(--s-fbody); }

/* ---- sections: the file's supporting pieces at their sides ---- */
.esite-skin-tartan-cartouche .ss-scope[data-type="story"]::before { top: 0; bottom: auto; right: max(3vw, calc(50% - 640px)); left: auto; width: clamp(70px, 6.5vw, 104px); aspect-ratio: .628;
  background: var(--sk-bauble, none) 50% 100% / 100% auto no-repeat; transform-origin: 50% 0; animation: tc-sway 6s ease-in-out infinite alternate; }
.esite-skin-tartan-cartouche .ss-scope[data-type="location"]::before { content: ""; position: absolute; z-index: -1; pointer-events: none; right: max(2vw, calc(50% - 660px)); bottom: 0; width: clamp(110px, 10vw, 160px); aspect-ratio: .813;
  background: var(--sk-tree, none) 50% 100% / contain no-repeat; }
.esite-skin-tartan-cartouche .ss-scope[data-type="faq"]::before { top: auto; bottom: 18px; left: max(3vw, calc(50% - 640px)); right: auto; width: clamp(60px, 5.6vw, 90px); aspect-ratio: .573;
  background: var(--sk-sprig, none) 50% 100% / contain no-repeat; }
/* the schedule, the table finder and the gifts on the file's wavy panel */
.esite-skin-tartan-cartouche .ss-scope[data-type="schedule"], .esite-skin-tartan-cartouche .ss-scope[data-type="gifts"] { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-tartan-cartouche .schv-wide .ss-wrap, .esite-skin-tartan-cartouche .gftv-panel .ss-wrap {
  position: relative; padding: 46px clamp(18px, 4vw, 46px) 40px; border: 30px solid transparent; border-image: var(--sk-wavy, none) 30 fill / 30px round; background: none; }
.esite-skin-tartan-cartouche .gftv-panel .ss-wrap { width: min(640px, 100%); aspect-ratio: auto; }
.esite-skin-tartan-cartouche .schv-wide .ss-wrap::after, .esite-skin-tartan-cartouche .gftv-panel .ss-wrap::after { content: ""; position: absolute; left: 50%; top: -86px; width: 110px; aspect-ratio: 1.08; translate: -50% 0; pointer-events: none;
  background: var(--sk-bow, none) 50% 100% / contain no-repeat; }
.esite-skin-tartan-cartouche .ss-scope:has(.schv-wide) .ss-h::before, .esite-skin-tartan-cartouche .ss-scope:has(.gftv-panel) .ss-h::before, .esite-skin-tartan-cartouche .ss-scope:has(.rsv-tint) .ss-h::before { display: none !important; }
.esite-skin-tartan-cartouche .ss-scope[data-type="schedule"]:not(.ss-pad-c):not(.ss-pad-s) .ss, .esite-skin-tartan-cartouche .ss-scope[data-type="gifts"]:not(.ss-pad-c):not(.ss-pad-s) .ss { padding-top: calc(var(--sk-gap) * .6 + 50px); }
.esite-skin-tartan-cartouche .schv-wide .ss-tl-time, .esite-skin-tartan-cartouche .schv-cards .ss-tl-time, .esite-skin-tartan-cartouche .schv-timeline .ss-tl-time, .esite-skin-tartan-cartouche .schv-rail .ss-tl-time {
  font-family: var(--s-fbody); font-style: normal; letter-spacing: .18em; color: var(--sk-deep); font-size: .8125rem; font-weight: 600; text-transform: uppercase; }
.esite-skin-tartan-cartouche .ss-tl-title { font-family: var(--s-fbody); font-size: 1.1875rem; font-weight: 500; }
.esite-skin-tartan-cartouche .ss-faq-q { font-family: var(--s-fbody); font-size: 1.125rem; font-weight: 500; }
.esite-skin-tartan-cartouche .ss-loc-venue { font-family: var(--s-fhead); font-style: normal; font-size: 2.3rem; line-height: 1.3; color: var(--s-accent); }

/* ---- find your table: a wavy panel with a star at its corner ---- */
.esite-skin.esite-skin-tartan-cartouche .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-tartan-cartouche .seatv-card .ss-seat-body { position: relative; margin-top: 30px; padding: 40px clamp(16px, 4vw, 40px) 34px; border: 30px solid transparent; border-image: var(--sk-wavy, none) 30 fill / 30px round; background: none; box-shadow: none; }
.esite-skin-tartan-cartouche .ss-seat-table { font-family: var(--s-fhead); font-style: normal; font-size: 1.9rem; color: var(--s-accent); }

/* ---- RSVP: tartan again, the form on a wavy panel tied with the bow ---- */
.esite-skin-tartan-cartouche .ss-scope[data-type="rsvp"]:has(.rsv-tint) { background: var(--sk-tartan, none) 50% 0 / var(--tc-tile) auto repeat, var(--s-band); }
.esite-skin-tartan-cartouche .ss-scope[data-type="rsvp"]::before, .esite-skin-tartan-cartouche .ss-scope[data-type="rsvp"]::after { display: none; }
.esite-skin-tartan-cartouche .rsv-tint.ss-rsvp .ss-wrap { position: relative; max-width: 700px; margin: 80px auto 0; padding: 58px clamp(14px, 4vw, 44px) 40px; border: 30px solid transparent;
  border-image: var(--sk-wavy, none) 30 fill / 30px round; background: none; color: var(--s-text); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .28)); }
.esite-skin-tartan-cartouche .rsv-tint.ss-rsvp .ss-wrap::after { content: ""; position: absolute; left: 50%; top: -112px; width: 150px; aspect-ratio: 1.08; translate: -50% 0; pointer-events: none;
  background: var(--sk-bow, none) 50% 100% / contain no-repeat; }
.esite-skin-tartan-cartouche .rsv-tint .ss-h::before { display: none !important; }
.esite-skin-tartan-cartouche .rsv-tint .ss-rsvp-form { margin-top: 14px; padding: 6px 0 0; box-shadow: none; background: none; }
.esite-skin-tartan-cartouche .ss-rsvp-form .btn-rsvp { border-color: var(--sk-deep); background: var(--sk-deep); color: var(--sk-deep-ink); }

/* ---- the last word: the bow ---- */
.esite-skin-tartan-cartouche .ss-closing::before { width: min(50vw, 170px); height: 160px; margin-bottom: 14px; background: var(--sk-bow, none) 50% 100% / contain no-repeat; }
.esite-skin-tartan-cartouche .ss-closing-names { color: var(--s-accent); line-height: 1.25; }
.esite-skin-tartan-cartouche .ss-closing-line { font-family: var(--s-fbody); font-size: .9375rem; letter-spacing: .18em; text-transform: uppercase; color: var(--s-text); text-wrap: balance; }

@media (max-width: 1100px) {
  .esite-skin-tartan-cartouche .ss-scope[data-type="story"]::before, .esite-skin-tartan-cartouche .ss-scope[data-type="faq"]::before,
  .esite-skin-tartan-cartouche .ss-scope[data-type="location"]::before { display: none; }
}
@media (max-width: 900px) {
  .esite-skin-tartan-cartouche { --tc-tile: 200px; --tc-bow: clamp(96px, 26vw, 130px); }
  .esite-skin-tartan-cartouche .hs-classic.no-photo .cl-panel { min-height: 100svh; padding: calc(var(--tc-bow) * .6 + 96px) 12px 90px; }
  .esite-skin-tartan-cartouche .hs-classic.no-photo .cl-panel::after { display: none; }
  .esite-skin-tartan-cartouche .hs-classic.no-photo .cl-text { min-height: min(680px, 80svh); padding: 96px 40px 92px; }
  .esite-skin-tartan-cartouche .hs-classic.no-photo .cl-text::before { background-image: var(--sk-cart-tall, none); }
  .esite-skin-tartan-cartouche .hs-classic.no-photo .cl-text::after { width: 100%; bottom: -40px; background-size: var(--tc-bow) auto, 190px auto; }
  .esite-skin-tartan-cartouche .hs-classic .cl-names { font-size: calc(clamp(2.8rem, 12vw, 3.8rem) * var(--s-hscale, 1)); }
  .esite-skin-tartan-cartouche .rsv-tint.ss-rsvp .ss-wrap { padding: 50px 6px 30px; }
}
@media (max-width: 640px) {
  .esite-skin-tartan-cartouche .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 6px; }
  .esite-skin-tartan-cartouche .cdv-tiles .cd-unit { width: 23vw; }
  .esite-skin-tartan-cartouche .cdv-tiles .cd-n { font-size: 1.4rem; }
  .esite-skin-tartan-cartouche .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .esite-skin-tartan-cartouche *, .esite-skin-tartan-cartouche *::before, .esite-skin-tartan-cartouche *::after { animation: none !important; }
}
