@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Playfair+Display:wght@400;500&display=swap');
/* Painted Leaves: the painter's studio. The hero is a big stretched canvas on a slim wooden easel, a mint wash and the big red leaf over
   its bushes painted on it, while the leaf cluster and a spray spill over its edges onto the wall; the name is signed beside it in
   Parisienne over a small brass plaque with the date and place. On wide screens loose leaves drift slowly down the window's edges.
   Down the page the countdown numbers sit on small framed paint swatches, the schedule is a gallery guide with room numbers, headings
   wear a single leaf laid on its side, the gifts and the RSVP are deckled artist's note cards, the cat sits by the RSVP card and the
   leaf row 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-painted-leaves {
  --sk-accent-font: "Cormorant Garamond", Georgia, serif;
  --sk-accent-style: italic;
  --sk-photo-shape: none;
  --sk-gap: 104px;
  --sk-measure: 940px;
  --pl-serif: "Cormorant Garamond", Georgia, serif;
  --pl-num: "Playfair Display", Georgia, serif;
  --pl-ratio: 0.748;   /* painting.webp: width / height */
  --pl-ph: min(calc(max(100svh, 760px) - 100px), 840px, calc(46vw / var(--pl-ratio)));
  --pl-pw: calc(var(--pl-ph) * var(--pl-ratio));
  --pl-left: max(2vw, calc(50% - 690px));
  --pl-brass: linear-gradient(160deg, #e9d29a 0%, #c9a35a 32%, #f1dea8 52%, #b98f45 78%, #d9bb76 100%);
  --pl-engrave: #2a1b07;   /* deep enough to read 4.5:1 on the darkest stop of the brass */
}
.esite-skin-painted-leaves .ss-h { font-family: var(--pl-serif) !important; }
.esite-skin-painted-leaves .ss-h, .esite-skin-painted-leaves .ss-closing-names { font-family: var(--pl-serif); font-weight: 500; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.esite-skin-painted-leaves .ss-h { font-size: calc(clamp(1.9rem, 3.1vw, 2.6rem) * var(--s-hscale, 1)); line-height: 1.15; color: var(--s-text); }
.esite-skin-painted-leaves .ss-scope:not([data-type="hero"]):not([data-type="countdown"]):not([data-type="none"]) .ss-h::before { width: 150px; height: 58px; margin-bottom: 14px; }
.esite-skin-painted-leaves .cl-names { font-weight: 400; letter-spacing: 0; text-transform: none; }
.esite-skin-painted-leaves .ss-p { font-size: 1.0625rem; line-height: 1.7; }
.esite-skin-painted-leaves .cl-btn, .esite-skin-painted-leaves .ss-btn { background: var(--s-accent); border-color: var(--s-accent); color: var(--s-bg); letter-spacing: .16em; }
.esite-skin-painted-leaves .cl-btn.ghost { background: transparent; color: var(--s-accent); }

/* ---- leaves drifting down the window's edges (wide screens only, clear of the text column) ---- */
@media (min-width: 1360px) {
  .esite-skin-painted-leaves::before, .esite-skin-painted-leaves::after {
    content: ""; position: fixed; top: 0; bottom: 0; z-index: 30; width: 130px; pointer-events: none;
  }
  .esite-skin-painted-leaves::before {
    left: 10px; background: var(--sk-drift-0, none) 6px -200px / 60px 1000px repeat-y, var(--sk-drift-2, none) 48px -700px / 60px 1150px repeat-y;
    animation: pl-drift-l 76s linear infinite;
  }
  .esite-skin-painted-leaves::after {
    right: 10px; background: var(--sk-drift-1, none) 44px -500px / 60px 1300px repeat-y, var(--sk-drift-3, none) 10px -100px / 60px 1450px repeat-y;
    animation: pl-drift-r 92s linear infinite;
  }
}
@keyframes pl-drift-l {
  0%   { background-position: 6px -200px, 48px -700px; }
  25%  { background-position: 14px 50px, 34px -412.5px; }
  50%  { background-position: 6px 300px, 48px -125px; }
  75%  { background-position: 2px 550px, 60px 162.5px; }
  100% { background-position: 6px 800px, 48px 450px; }
}
@keyframes pl-drift-r {
  0%   { background-position: 44px -500px, 10px -100px; }
  25%  { background-position: 30px -175px, 24px 262.5px; }
  50%  { background-position: 44px 150px, 10px 625px; }
  75%  { background-position: 56px 475px, 0 987.5px; }
  100% { background-position: 44px 800px, 10px 1350px; }
}

/* ---- hero: the studio wall, the easel with its canvas, the name signed beside it ---- */
.esite-skin-painted-leaves .ss-hero.hs-classic { position: relative; overflow: hidden; background: var(--s-band); }
.esite-skin-painted-leaves .hs-classic .cl-panel { background: none; }
.esite-skin-painted-leaves .hs-classic.no-photo .cl-panel::after {   /* the studio floor the easel stands on */
  inset: auto 0 0 0; height: clamp(54px, 9svh, 96px); z-index: 0;
  background: linear-gradient(color-mix(in srgb, var(--s-text) 9%, var(--s-band)), color-mix(in srgb, var(--s-text) 5%, var(--s-band)));
  border-top: 1px solid color-mix(in srgb, var(--s-text) 14%, transparent);
}
.esite-skin-painted-leaves .hs-classic.no-photo .cl-panel::before {   /* the easel, its canvas and the leaves leaving it */
  display: block; inset: auto auto 0 var(--pl-left); z-index: 1; height: var(--pl-ph); width: auto; aspect-ratio: var(--pl-ratio);
  background: var(--sk-painting, none) 50% 100% / contain no-repeat;
}
.esite-skin-painted-leaves .cl-text { z-index: 3; }
.esite-skin-painted-leaves .cl-panel .h-kicker { margin: 0 0 4px; font-family: var(--s-fbody); font-size: .8125rem; font-style: normal; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--s-text); }
.esite-skin-painted-leaves .hs-classic .cl-names { justify-items: center; font-size: calc(clamp(4.2rem, 8.4vw, 8.4rem) * var(--s-hscale, 1)); line-height: 1.12; color: var(--s-accent); text-wrap: balance; }
.esite-skin-painted-leaves .hs-classic .cl-names .cn-1, .esite-skin-painted-leaves .hs-classic .cl-names .cn-2 { justify-self: center; padding: 0; }
.esite-skin-painted-leaves .cl-sub { margin: 8px auto 0; font-family: var(--pl-serif); font-size: 1.375rem; font-style: italic; letter-spacing: .01em; line-height: 1.45; text-transform: none; color: var(--s-text); text-wrap: balance; }
/* the brass plaque: date and place engraved */
.esite-skin-painted-leaves .cl-facts {
  display: inline-block; max-width: min(100%, 440px); margin: 22px auto 28px; padding: 14px 34px 15px; border-radius: 2px;
  background: radial-gradient(circle at 12px 50%, #7d5d2a 0 2.2px, #f5e4b4 2.6px 3.6px, transparent 4px),
              radial-gradient(circle at calc(100% - 12px) 50%, #7d5d2a 0 2.2px, #f5e4b4 2.6px 3.6px, transparent 4px), var(--pl-brass);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 210, .55), inset 0 -2px 3px rgba(90, 60, 20, .25), 0 3px 8px -3px rgba(40, 25, 10, .45);
}
.esite-skin-painted-leaves .cl-facts b { display: block; font-family: var(--s-fbody); font-size: .75rem; font-weight: 600; letter-spacing: .2em; line-height: 1.6; text-transform: uppercase; color: var(--pl-engrave); text-shadow: 0 1px 0 rgba(255, 244, 205, .6); }
.esite-skin-painted-leaves .cl-facts span { display: block; margin-top: 3px; font-family: var(--pl-serif); font-size: 1.0625rem; font-style: italic; font-weight: 500; line-height: 1.35; color: var(--pl-engrave); opacity: 1; text-shadow: 0 1px 0 rgba(255, 244, 205, .6); }
.esite-skin-painted-leaves .cl-text .cl-btn { padding: 14px 44px; }

@media (min-width: 901px) {
  /* the words in the wall's free part, right of the easel */
  .esite-skin-painted-leaves .hs-classic.no-photo .cl-panel {
    align-content: center; min-height: max(100svh, 760px);
    padding: 110px max(3vw, calc(50% - 660px)) clamp(90px, 13svh, 130px) calc(var(--pl-left) + var(--pl-pw) + 2vw);
  }
  .esite-skin-painted-leaves .hs-classic.no-photo .cl-text { max-width: 600px; }
}
@media (max-width: 900px) {
  /* a phone: the canvas on its easel first, its legs fading into the floor, the words under it */
  .esite-skin-painted-leaves .hs-classic.no-photo .cl-panel { min-height: 0; gap: 0; padding: 86px 20px 64px; }
  .esite-skin-painted-leaves .hs-classic.no-photo .cl-panel::before {
    position: relative; inset: auto; grid-row: 1; justify-self: center; width: min(86vw, 440px); height: auto; margin: 0 0 -9%;
    -webkit-mask-image: linear-gradient(#000 70%, transparent 92%); mask-image: linear-gradient(#000 70%, transparent 92%);
  }
  .esite-skin-painted-leaves .hs-classic.no-photo .cl-panel::after { display: none; }
  .esite-skin-painted-leaves .hs-classic.no-photo .cl-text { grid-row: 2; }
  .esite-skin-painted-leaves .hs-classic .cl-names { font-size: calc(clamp(3.6rem, 17vw, 5rem) * var(--s-hscale, 1)); }
  .esite-skin-painted-leaves .cl-panel .h-kicker { letter-spacing: .22em; }
  .esite-skin-painted-leaves .cl-facts { padding: 13px 30px 14px; }
}

/* a photo: it becomes the canvas, a spray of leaves spilling over its corner; the easel steps aside */
.esite-skin-painted-leaves .hs-classic:not(.no-photo) .cl-panel::before, .esite-skin-painted-leaves .hs-classic:not(.no-photo) .cl-panel::after { display: none; }
.esite-skin-painted-leaves .hs-classic:not(.no-photo) .cl-panel { padding-bottom: 96px; }
.esite-skin-painted-leaves .hs-classic:not(.no-photo):not(.hv-cover) .cl-photo { border-radius: 0; box-shadow: 10px 0 0 -2px color-mix(in srgb, var(--s-text) 22%, var(--s-band)), 26px 30px 44px -22px rgba(30, 15, 25, .5); }
.esite-skin-painted-leaves .hs-classic:not(.no-photo):not(.hv-cover) .cl-visual::after {
  inset: -10% -20% auto auto; width: 52%; height: auto; aspect-ratio: 1.01; z-index: 2;
  background: var(--sk-corner, none) 100% 0 / contain no-repeat;
}
.esite-skin-painted-leaves .hv-flip:not(.no-photo) .cl-visual::after { inset: -10% auto auto -20%; transform: scaleX(-1); }
/* photo behind: it fills the whole hero on a phone too */
.esite-skin-painted-leaves .hv-cover:not(.no-photo) .cl-visual { inset: 0; height: auto; }
.esite-skin-painted-leaves .hv-cover:not(.no-photo) :is(.cl-names, .h-kicker, .cl-sub) { color: #fff; }

/* ---- countdown: each number on a small framed paint swatch, hung a little unevenly as on a studio wall ---- */
.esite-skin-painted-leaves .ss-countdown .ss-h { font-family: var(--pl-serif) !important; font-style: italic !important; text-transform: none !important; letter-spacing: .01em !important; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.esite-skin-painted-leaves .cd-n { font-family: var(--pl-num) !important; font-weight: 400; }
.esite-skin-painted-leaves .cdv-tiles .ss-cd { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.6vw, 38px); margin-top: 18px; }
.esite-skin-painted-leaves .cdv-tiles .cd-unit {
  position: relative; display: block !important; width: clamp(112px, 10.5vw, 148px); aspect-ratio: 200 / 240; padding: 0 !important;
  border: 0 !important; outline: 0; border-radius: 0; box-shadow: 0 14px 22px -16px rgba(30, 15, 25, .55);
  background: var(--sk-swatch-0, none) 0 0 / 100% 100% no-repeat !important;
}
.esite-skin-painted-leaves .cdv-tiles .cd-unit:nth-child(2) { background-image: var(--sk-swatch-1, none) !important; transform: rotate(1.4deg) translateY(6px); }
.esite-skin-painted-leaves .cdv-tiles .cd-unit:nth-child(3) { background-image: var(--sk-swatch-2, none) !important; transform: rotate(-1deg); }
.esite-skin-painted-leaves .cdv-tiles .cd-unit:nth-child(4) { background-image: var(--sk-swatch-3, none) !important; transform: rotate(1.8deg) translateY(4px); }
.esite-skin-painted-leaves .cdv-tiles .cd-unit:nth-child(1) { transform: rotate(-1.6deg); }
.esite-skin-painted-leaves .cdv-tiles .cd-unit::before, .esite-skin-painted-leaves .cdv-tiles .cd-unit::after { display: none !important; }
.esite-skin-painted-leaves .cdv-tiles .cd-n { position: absolute; left: 0; right: 0; top: 41.7%; transform: translateY(-50%); font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1; text-align: center; color: #fffaf4; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.esite-skin-painted-leaves .cdv-tiles .cd-l { position: absolute; left: 0; right: 0; top: 82.5%; transform: translateY(-50%); margin: 0; font-family: var(--s-fbody); font-size: .625rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-align: center; color: var(--s-text); opacity: .8; }

/* ---- the schedule: a gallery guide, every moment a room ---- */
.esite-skin-painted-leaves .ss-timeline { counter-reset: pl-room; }
.esite-skin-painted-leaves .ss-tl-item { counter-increment: pl-room; }
.esite-skin-painted-leaves .ss-tl-time { font-family: var(--s-fbody); font-style: normal; font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--s-accent); }
.esite-skin-painted-leaves .ss-tl-time::before { content: counter(pl-room, upper-roman) "\2002"; font-family: var(--pl-serif); font-size: 1.25rem; font-style: italic; font-weight: 500; letter-spacing: 0; color: var(--s-text); }
.esite-skin-painted-leaves .schv-cards .ss-tl-time, .esite-skin-painted-leaves .schv-timeline .ss-tl-time, .esite-skin-painted-leaves .schv-rail .ss-tl-time { font-family: var(--s-fbody); font-size: .8125rem; font-style: normal; }
.esite-skin-painted-leaves .ss-tl-title { font-family: var(--pl-serif); font-size: 1.375rem; font-weight: 600; }
.esite-skin-painted-leaves .schv-wide .ss-timeline {
  max-width: 640px; margin-top: 30px; padding: 26px clamp(18px, 4vw, 44px); background: var(--s-bg);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--s-text) 10%, transparent), 0 20px 40px -30px rgba(30, 15, 25, .55);
}
.esite-skin-painted-leaves .schv-wide .ss-tl-item { align-items: baseline; border-bottom: 1px solid var(--sk-line) !important; padding: 16px 0; }
.esite-skin-painted-leaves .schv-wide .ss-tl-item:last-child { border-bottom: 0 !important; }

/* ---- sections: the suite's pieces at their sides (wide screens) ---- */
.esite-skin-painted-leaves .ss-scope[data-type="story"]::before { top: 56px; right: max(1vw, calc(50% - 720px)); width: clamp(170px, 16vw, 260px); aspect-ratio: 1.12;
  background: var(--sk-spray-a, none) 100% 0 / contain no-repeat; }
.esite-skin-painted-leaves .ss-scope[data-type="schedule"]::before { top: auto; bottom: 30px; left: max(1vw, calc(50% - 720px)); width: clamp(130px, 12vw, 200px); aspect-ratio: .66;
  background: var(--sk-sprig, none) 0 100% / contain no-repeat; }
.esite-skin-painted-leaves .ss-scope[data-type="faq"]::before { top: auto; bottom: 30px; right: max(1vw, calc(50% - 720px)); left: auto; width: clamp(120px, 11vw, 180px); aspect-ratio: .98;
  background: var(--sk-posy, none) 100% 100% / contain no-repeat; }
.esite-skin-painted-leaves .ss-scope[data-type="location"]::before { content: ""; position: absolute; z-index: -1; top: 40px; left: max(1vw, calc(50% - 720px)); width: clamp(120px, 11vw, 180px); aspect-ratio: 1.03; pointer-events: none;
  background: var(--sk-berry, none) 0 0 / contain no-repeat; }
.esite-skin-painted-leaves .ss-loc-venue { font-family: var(--pl-serif) !important; font-style: italic; font-size: 2rem; color: var(--s-accent); }
.esite-skin-painted-leaves .ss-faq-q { font-family: var(--pl-serif); font-size: 1.375rem; font-weight: 600; }
.esite-skin-painted-leaves .stv-side .ss-story-img img, .esite-skin-painted-leaves .stv-right .ss-story-img img { box-shadow: 18px 22px 40px -24px rgba(30, 15, 25, .55); }

/* ---- the gifts and the table finder: deckled artist's note cards ---- */
.esite-skin-painted-leaves .gftv-panel .ss-wrap {
  aspect-ratio: auto; width: min(600px, 100%); padding: 40px clamp(22px, 5vw, 48px) 44px;
  border: 12px solid transparent; border-image: var(--sk-deckle, none) 14 fill / 12px stretch; background: none;
  filter: drop-shadow(0 16px 22px rgba(30, 15, 25, .2));
}
.esite-skin.esite-skin-painted-leaves .ss-scope[data-type="gifts"]:not([data-type="none"]) .gftv-panel .ss-h::before { display: block !important; width: 120px; height: 46px; margin: 0 auto 12px !important;
  background: var(--sk-ornament, none) 50% 50% / contain no-repeat; }
.esite-skin-painted-leaves .ss-scope[data-type="gifts"]:has(.gftv-panel) { background-color: var(--sk-sec-bg, var(--s-band)); }
.esite-skin-painted-leaves .seatv-card .ss-seat-body { border: 12px solid transparent; border-image: var(--sk-deckle, none) 14 fill / 12px stretch; background: none; filter: drop-shadow(0 16px 22px rgba(30, 15, 25, .2)); }
.esite-skin-painted-leaves .ss-seat-table { font-family: var(--pl-serif); font-size: 1.75rem; }

/* ---- RSVP: an artist's note card, the posy pinned at its top, the cat sitting beside it ---- */
.esite-skin-painted-leaves .ss-scope[data-type="rsvp"]::before, .esite-skin-painted-leaves .ss-scope[data-type="rsvp"]::after { display: none; }
.esite-skin-painted-leaves .ss-rsvp-form {
  position: relative; margin-top: 64px; padding: 58px clamp(22px, 5vw, 46px) 40px; border-radius: 0;
  border: 14px solid transparent; border-image: var(--sk-deckle, none) 14 fill / 14px stretch; background: none; box-shadow: none;
  filter: drop-shadow(0 22px 30px rgba(30, 15, 25, .22));
}
.esite-skin-painted-leaves .ss-rsvp-form::before {   /* the posy pinned at the card's top */
  content: ""; position: absolute; left: 50%; top: -86px; width: 92px; aspect-ratio: .98; transform: translateX(-50%) rotate(-6deg); pointer-events: none;
  background: var(--sk-posy, none) 50% 50% / contain no-repeat;
}
.esite-skin-painted-leaves .ss-rsvp-form::after {    /* the cat, sitting by the card */
  content: ""; position: absolute; right: -236px; bottom: -14px; width: 236px; aspect-ratio: 1.18; pointer-events: none;
  background: var(--sk-cat, none) 50% 100% / contain no-repeat;
}
.esite-skin-painted-leaves .ss-rsvp-form .btn-rsvp { border-color: var(--s-accent); background: var(--s-accent); color: var(--s-bg); }

/* ---- the last word: the leaf row over the name ---- */
.esite-skin-painted-leaves .ss-closing::before { width: min(78vw, 340px); height: 230px; margin-bottom: 14px; background: var(--sk-leafrow, none) 50% 100% / contain no-repeat; }
.esite-skin-painted-leaves .ss-closing-names { font-family: var(--s-fhead); font-size: clamp(3rem, 6vw, 4.6rem); letter-spacing: 0; text-transform: none; color: var(--s-accent); }
.esite-skin-painted-leaves .ss-closing-line { font-family: var(--s-fbody); font-style: normal; font-size: .875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--s-text); }

@media (prefers-reduced-motion: reduce) {
  .esite-skin-painted-leaves::before, .esite-skin-painted-leaves::after { animation: none; }
}
@media (max-width: 1320px) {
  .esite-skin-painted-leaves .ss-scope[data-type="story"]::before, .esite-skin-painted-leaves .ss-scope[data-type="schedule"]::before,
  .esite-skin-painted-leaves .ss-scope[data-type="faq"]::before, .esite-skin-painted-leaves .ss-scope[data-type="location"]::before { display: none; }
  /* the cat climbs onto the card's top edge */
  .esite-skin-painted-leaves .ss-rsvp-form::after { right: 6px; bottom: calc(100% - 4px); width: 130px; }
  .esite-skin-painted-leaves .ss-rsvp-form::before { left: 64px; }
  .esite-skin-painted-leaves .ss-rsvp-form { margin-top: 120px; }
}
@media (max-width: 640px) {
  .esite-skin-painted-leaves .cdv-tiles .ss-cd { flex-wrap: nowrap; gap: 8px; }
  .esite-skin-painted-leaves .cdv-tiles .cd-unit { width: 22vw; }
  .esite-skin-painted-leaves .cdv-tiles .cd-n { font-size: 1.55rem; }
  .esite-skin-painted-leaves .cdv-tiles .cd-l { font-size: .5rem; letter-spacing: .1em; }
  .esite-skin-painted-leaves .ss-rsvp-form { padding: 46px 16px 26px; }
}
