@layer skin{
/* Fiesta: strings of papel picado in pink, green and marigold (one pattern tile masked over a striped band of the
   theme's colours), a bold festive script, photos cut like paper flags and marigold blooms. Every colour comes from the theme. */
.nv-skin-fiesta { --fi-sun: color-mix(in srgb, var(--nv-c-surface) 55%, var(--nv-c-primary));
  --fi-sun: oklch(from var(--nv-c-surface) calc(l - 0.1) calc(c * 2.6) h); --fi-flag: 72px; --fi-flags: repeating-linear-gradient(90deg, var(--nv-c-primary) 0 var(--fi-flag),
    var(--nv-c-accent) var(--fi-flag) calc(var(--fi-flag) * 2), var(--fi-sun) calc(var(--fi-flag) * 2) calc(var(--fi-flag) * 3)); }
.nv-skin-fiesta .nv-header { background: color-mix(in srgb, var(--nv-c-background) 94%, transparent); border-bottom: 0; }
.nv-skin-fiesta .nv-brand { font-family: var(--nv-f-display); font-weight: 700; font-size: var(--nv-fs-3); color: var(--nv-c-primary); }
.nv-skin-fiesta .nv-nav a { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nv-skin-fiesta .nv-heading { font-weight: 700; }
.nv-skin-fiesta .nv-hp-display { color: var(--nv-c-primary); line-height: 1; font-size: calc(min(var(--nv-fs-6) * 1.2, 16vw) * var(--nv-fscale)); }
.nv-skin-fiesta .nv-hp-title { color: var(--nv-c-primary); font-size: calc(min(var(--nv-fs-5), 11vw) * var(--nv-fscale)); }
.nv-skin-fiesta .nv-tp-lead { font-weight: 600; }
.nv-skin-fiesta .nv-btn { font-weight: 600; letter-spacing: 0.06em; box-shadow: 0 6px 0 color-mix(in srgb, var(--nv-c-primary) 55%, var(--nv-c-text)); }
.nv-skin-fiesta .nv-btn:active { translate: 0 3px; box-shadow: 0 3px 0 color-mix(in srgb, var(--nv-c-primary) 55%, var(--nv-c-text)); }

/* the strings of flags: across the top of the hero and the RSVP, and under the header */
.nv-skin-fiesta [data-nv-section="home"]::before,
.nv-skin-fiesta [data-nv-section="rsvp"]::before,
.nv-skin-fiesta [data-nv-section="welcome"]::before { content: ""; position: absolute; z-index: 1; top: 0; inset-inline: 0; height: calc(var(--fi-flag) * 0.67);
  background: var(--fi-flags); -webkit-mask: url("618a8e53c5a23ad6bc6bd982066592e4.svg") 0 0 / var(--fi-flag) calc(var(--fi-flag) * 0.67) repeat-x;
  mask: url("618a8e53c5a23ad6bc6bd982066592e4.svg") 0 0 / var(--fi-flag) calc(var(--fi-flag) * 0.67) repeat-x; pointer-events: none; }
.nv-skin-fiesta [data-nv-section="welcome"]::before { opacity: 0.85; }
.nv-skin-fiesta [data-nv-section="rsvp"]::before { background: var(--nv-c-background); }

/* the hero: a cord of three photo flags cut like papel picado, each with a coloured fold, hanging along the sag,
   with marigolds at the knots */
.nv-skin-fiesta [data-nv-section="home"] .nv-stack:has(> .nv-image) { flex-wrap: nowrap; width: min(100%, 640px); padding: 22px 6% 0; margin: 0 auto calc(var(--nv-space) * 3); }
.nv-skin-fiesta [data-nv-section="home"] .nv-stack:has(> .nv-image)::before { content: ""; position: absolute; top: 0; inset-inline: 2%; height: 56px;
  border-bottom: 3px solid var(--nv-c-text); border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: 0.55; }
.nv-skin-fiesta [data-nv-section="home"] .nv-stack:has(> .nv-image)::after { content: ""; position: absolute; top: -18px; inset-inline: -2%; height: 64px;
  background-color: var(--fi-sun); pointer-events: none; z-index: 2;
  -webkit-mask: url("ba7b39e2e49b714f9f62ed4ff36ab534.svg") left top / 64px no-repeat, url("ba7b39e2e49b714f9f62ed4ff36ab534.svg") right top / 64px no-repeat;
  mask: url("ba7b39e2e49b714f9f62ed4ff36ab534.svg") left top / 64px no-repeat, url("ba7b39e2e49b714f9f62ed4ff36ab534.svg") right top / 64px no-repeat; }
.nv-skin-fiesta [data-nv-section="home"] .nv-stack > .nv-image { flex: 0 1 30%; filter: drop-shadow(0 12px 14px color-mix(in srgb, var(--nv-c-text) 30%, transparent)); }
.nv-skin-fiesta [data-nv-section="home"] .nv-stack > .nv-image:nth-child(2) { flex-basis: 34%; margin-top: 30px; --fi-fold: var(--nv-c-accent); }
.nv-skin-fiesta [data-nv-section="home"] .nv-stack > .nv-image:nth-child(3) { --fi-fold: var(--fi-sun); }
.nv-skin-fiesta [data-nv-section="home"] .nv-image .nv-img { border-top: 14px solid var(--fi-fold, var(--nv-c-primary));
  clip-path: polygon(0 0, 100% 0, 100% 92%, 91.67% 100%, 83.33% 92%, 75% 100%, 66.67% 92%, 58.33% 100%, 50% 92%, 41.67% 100%,
    33.33% 92%, 25% 100%, 16.67% 92%, 8.33% 100%, 0 92%); }

/* the gallery: square photos on solid blocks of pink, green and marigold, cut like a flag along the bottom */
.nv-skin-fiesta .nv-frame-offset .nv-img::after { inset: 12px -12px -12px 12px; border: 0; background: var(--fi-block, var(--nv-c-primary));
  clip-path: polygon(0 0, 100% 0, 100% 90%, 87.5% 100%, 75% 90%, 62.5% 100%, 50% 90%, 37.5% 100%, 25% 90%, 12.5% 100%, 0 90%); }
.nv-skin-fiesta [data-nv-section="gallery"] .nv-column:nth-child(4n + 2) { --fi-block: var(--nv-c-accent); }
.nv-skin-fiesta [data-nv-section="gallery"] .nv-column:nth-child(4n + 3) { --fi-block: var(--fi-sun); }
.nv-skin-fiesta [data-nv-section="gallery"] .nv-img { border-radius: var(--nv-radius); }

/* a marigold sun on a pink-to-green wash while a photo is empty */
.nv-skin-fiesta .nv-img-empty { background:
  radial-gradient(circle at 74% 26%, var(--fi-sun) 0 13%, transparent 13.5%),
  linear-gradient(150deg, color-mix(in srgb, var(--nv-c-primary) 85%, var(--nv-c-background)), color-mix(in srgb, var(--nv-c-accent) 75%, var(--nv-c-background))); }

/* data blocks: bright cards with a pink or green top */
.nv-skin-fiesta .nv-cd-boxes .nv-cd-u { border: 0; color: var(--nv-c-on_primary); background: var(--nv-c-primary); border-radius: var(--nv-radius); }
.nv-skin-fiesta .nv-cd-boxes .nv-cd-u:nth-child(2) { background: var(--nv-c-accent); }
.nv-skin-fiesta .nv-cd-boxes .nv-cd-l { color: inherit; opacity: 0.9; }
.nv-skin-fiesta .nv-cd-n { font-family: var(--nv-f-body); font-weight: 700; }
.nv-skin-fiesta .nv-ev-cards .nv-event { background: var(--nv-c-background); border: 0; border-top: 8px solid var(--nv-c-primary); align-items: center;
  box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--nv-c-text) 50%, transparent); }
.nv-skin-fiesta .nv-ev-cards .nv-event:nth-child(even) { border-top-color: var(--nv-c-accent); }
.nv-skin-fiesta .nv-event-name, .nv-skin-fiesta .nv-card-title, .nv-skin-fiesta .nv-rsvp-title { font-family: var(--nv-f-display); font-weight: 700; color: var(--nv-c-primary); }
.nv-skin-fiesta .nv-event-name { font-size: var(--nv-fs-3); }
.nv-skin-fiesta .nv-sc-cards .nv-sc-item { background: var(--nv-c-surface); border-left: 6px solid var(--nv-c-accent); }
.nv-skin-fiesta .nv-sc-time { color: var(--nv-c-primary); }
.nv-skin-fiesta .nv-sc-date { font-family: var(--nv-f-display); font-weight: 700; color: var(--nv-c-accent); text-align: center; }
.nv-skin-fiesta .nv-cv-elevated .nv-card { border-radius: var(--nv-radius); box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--nv-c-text) 50%, transparent); }
.nv-skin-fiesta .nv-card-badge { background: var(--nv-c-accent); color: var(--nv-c-background); }
.nv-skin-fiesta .nv-cards-grid .nv-card:nth-child(3n + 2) .nv-card-badge { background: var(--nv-c-primary); }
.nv-skin-fiesta .nv-card-title { font-size: var(--nv-fs-3); }
.nv-skin-fiesta .nv-cv-bordered .nv-card { background: var(--nv-c-background); border: 2px dashed var(--nv-c-primary); }
.nv-skin-fiesta .nv-faq-item { border-bottom: 2px dotted var(--nv-c-primary); }
.nv-skin-fiesta .nv-faq-q { font-family: var(--nv-f-body); font-weight: 600; font-size: var(--nv-fs-1); }
.nv-skin-fiesta .nv-faq-accordion summary::after { color: var(--nv-c-primary); font-weight: 700; }
.nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card { position: relative; box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--nv-c-text) 70%, transparent); }
.nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::before,
.nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::after { content: ""; position: absolute; top: -34px; width: 88px; aspect-ratio: 1;
  background-color: var(--fi-sun); -webkit-mask: url("ba7b39e2e49b714f9f62ed4ff36ab534.svg") center / contain no-repeat;
  mask: url("ba7b39e2e49b714f9f62ed4ff36ab534.svg") center / contain no-repeat; }
.nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::before { left: -30px; }
.nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::after { right: -30px; rotate: 20deg; background-color: var(--nv-c-accent); }
.nv-skin-fiesta .nv-footer-text { font-weight: 700; font-size: var(--nv-fs-2); color: var(--nv-c-primary); }

@media (max-width: 639.98px) {
  .nv-skin-fiesta { --fi-flag: 48px; }
  .nv-skin-fiesta [data-nv-section="home"] .nv-stack:has(> .nv-image) { padding: 14px 4% 0; margin-bottom: calc(var(--nv-space) * 2); gap: 10px; }
  .nv-skin-fiesta [data-nv-section="home"] .nv-stack:has(> .nv-image)::before { height: 30px; border-bottom-width: 2px; }
  .nv-skin-fiesta [data-nv-section="home"] .nv-stack:has(> .nv-image)::after { top: -12px; height: 40px; -webkit-mask-size: 40px; mask-size: 40px; }
  .nv-skin-fiesta [data-nv-section="home"] .nv-stack > .nv-image:nth-child(2) { margin-top: 16px; }
  .nv-skin-fiesta [data-nv-section="home"] .nv-image .nv-img { border-top-width: 9px; }
  .nv-skin-fiesta .nv-frame-offset .nv-img::after { inset: 8px -8px -8px 8px; }
  .nv-skin-fiesta [data-nv-section="gallery"] .nv-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; gap: 18px; }
  .nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::before,
  .nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::after { width: 60px; top: -24px; }
  .nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::before { left: -12px; }
  .nv-skin-fiesta [data-nv-section="rsvp"] .nv-surface-card::after { right: -12px; }
}

}
