:root {
  --night: #1A1F47;
  --indigo: #232A5C;
  --indigo-2: #2D3570;
  --paper: #F6F2F7;
  --paper-soft: #C9C6E0;
  --magenta: #D0407F;
  --marigold: #F0A11B;
  --teal: #23B1A5;
  --violet: #9A7FE0;
  --orange: #F27A1A;
  --sans: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
}
* { box-sizing: border-box; }
body.leaving main, body.leaving .hero, body.leaving .page-head, body.leaving .altar { opacity: 0.55; transition: opacity 0.2s ease; }
html { color-scheme: dark; overflow-x: hidden; overflow-x: clip; max-width: 100%; overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; }
body {
  margin: 0;
  display: flex; flex-direction: column; min-height: 100dvh;
  overflow-x: hidden; overflow-x: clip; max-width: 100%; position: relative;
  /* the flyer's florals, printed faintly across the blue */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='640'%3E%3Cg fill='%23fff' fill-opacity='0.035'%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(10 70 80)'/%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(55 70 80)'/%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(100 70 80)'/%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(145 70 80)'/%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(190 70 80)'/%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(235 70 80)'/%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(280 70 80)'/%3E%3Cellipse cx='70' cy='58.9' rx='8.2' ry='12.9' transform='rotate(325 70 80)'/%3E%3Ccircle cx='70' cy='80' r='6.8'/%3E%3Cg transform='rotate(30 250 60)'%3E%3Cpath d='M250 102 Q258.4 60 250 18' fill='none' stroke='%23fff' stroke-opacity='0.035' stroke-width='2'/%3E%3Cellipse cx='240.8' cy='93.6' rx='9.2' ry='3.4' transform='rotate(30 240.8 93.6)'/%3E%3Cellipse cx='259.2' cy='81.0' rx='9.2' ry='3.4' transform='rotate(-30 259.2 81.0)'/%3E%3Cellipse cx='240.8' cy='68.4' rx='9.2' ry='3.4' transform='rotate(30 240.8 68.4)'/%3E%3Cellipse cx='259.2' cy='55.8' rx='9.2' ry='3.4' transform='rotate(-30 259.2 55.8)'/%3E%3Cellipse cx='240.8' cy='43.2' rx='9.2' ry='3.4' transform='rotate(30 240.8 43.2)'/%3E%3Cellipse cx='259.2' cy='30.6' rx='9.2' ry='3.4' transform='rotate(-30 259.2 30.6)'/%3E%3C/g%3E%3Cg transform='rotate(-20 380 110)'%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(-70 380 110)'/%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(-50 380 110)'/%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(-30 380 110)'/%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(-10 380 110)'/%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(10 380 110)'/%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(30 380 110)'/%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(50 380 110)'/%3E%3Cellipse cx='380' cy='90.2' rx='3.6' ry='16.2' transform='rotate(70 380 110)'/%3E%3C/g%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(0.0 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(25.7 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(51.4 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(77.1 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(102.9 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(128.6 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(154.3 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(180.0 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(205.7 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(231.4 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(257.1 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(282.9 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(308.6 160 230)'/%3E%3Cellipse cx='160' cy='214.4' rx='3.1' ry='9.4' transform='rotate(334.3 160 230)'/%3E%3Ccircle cx='160' cy='230' r='4.7'/%3E%3Cpath d='M300 191 Q301.35 198.65 309 200 Q301.35 201.35 300 209 Q298.65 201.35 291 200 Q298.65 198.65 300 191Z'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(25 430 300)'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(70 430 300)'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(115 430 300)'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(160 430 300)'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(205 430 300)'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(250 430 300)'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(295 430 300)'/%3E%3Cellipse cx='430' cy='282.6' rx='6.7' ry='10.6' transform='rotate(340 430 300)'/%3E%3Ccircle cx='430' cy='300' r='5.6'/%3E%3Cg transform='rotate(-40 60 330)'%3E%3Cpath d='M60 368 Q67.6 330 60 292' fill='none' stroke='%23fff' stroke-opacity='0.035' stroke-width='2'/%3E%3Cellipse cx='51.6' cy='360.4' rx='8.4' ry='3.0' transform='rotate(30 51.6 360.4)'/%3E%3Cellipse cx='68.4' cy='349.0' rx='8.4' ry='3.0' transform='rotate(-30 68.4 349.0)'/%3E%3Cellipse cx='51.6' cy='337.6' rx='8.4' ry='3.0' transform='rotate(30 51.6 337.6)'/%3E%3Cellipse cx='68.4' cy='326.2' rx='8.4' ry='3.0' transform='rotate(-30 68.4 326.2)'/%3E%3Cellipse cx='51.6' cy='314.8' rx='8.4' ry='3.0' transform='rotate(30 51.6 314.8)'/%3E%3Cellipse cx='68.4' cy='303.4' rx='8.4' ry='3.0' transform='rotate(-30 68.4 303.4)'/%3E%3C/g%3E%3Cpath d='M200 363 Q201.05 368.95 207 370 Q201.05 371.05 200 377 Q198.95 371.05 193 370 Q198.95 368.95 200 363Z'/%3E%3Cg transform='rotate(15 300 420)'%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(-70 300 420)'/%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(-50 300 420)'/%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(-30 300 420)'/%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(-10 300 420)'/%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(10 300 420)'/%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(30 300 420)'/%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(50 300 420)'/%3E%3Cellipse cx='300' cy='403.5' rx='3.0' ry='13.5' transform='rotate(70 300 420)'/%3E%3C/g%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(10.0 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(35.7 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(61.4 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(87.1 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(112.9 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(138.6 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(164.3 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(190.0 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(215.7 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(241.4 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(267.1 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(292.9 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(318.6 470 470)'/%3E%3Cellipse cx='470' cy='456.8' rx='2.6' ry='7.9' transform='rotate(344.3 470 470)'/%3E%3Ccircle cx='470' cy='470' r='4.0'/%3E%3Cpath d='M110 462 Q111.2 468.8 118 470 Q111.2 471.2 110 478 Q108.8 471.2 102 470 Q108.8 468.8 110 462Z'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(40 230 520)'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(85 230 520)'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(130 230 520)'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(175 230 520)'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(220 230 520)'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(265 230 520)'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(310 230 520)'/%3E%3Cellipse cx='230' cy='505.1' rx='5.8' ry='9.1' transform='rotate(355 230 520)'/%3E%3Ccircle cx='230' cy='520' r='4.8'/%3E%3Cg transform='rotate(60 400 560)'%3E%3Cpath d='M400 596 Q407.2 560 400 524' fill='none' stroke='%23fff' stroke-opacity='0.035' stroke-width='2'/%3E%3Cellipse cx='392.1' cy='588.8' rx='7.9' ry='2.9' transform='rotate(30 392.1 588.8)'/%3E%3Cellipse cx='407.9' cy='578.0' rx='7.9' ry='2.9' transform='rotate(-30 407.9 578.0)'/%3E%3Cellipse cx='392.1' cy='567.2' rx='7.9' ry='2.9' transform='rotate(30 392.1 567.2)'/%3E%3Cellipse cx='407.9' cy='556.4' rx='7.9' ry='2.9' transform='rotate(-30 407.9 556.4)'/%3E%3Cellipse cx='392.1' cy='545.6' rx='7.9' ry='2.9' transform='rotate(30 392.1 545.6)'/%3E%3Cellipse cx='407.9' cy='534.8' rx='7.9' ry='2.9' transform='rotate(-30 407.9 534.8)'/%3E%3C/g%3E%3Cpath d='M40 554 Q40.9 559.1 46 560 Q40.9 560.9 40 566 Q39.1 560.9 34 560 Q39.1 559.1 40 554Z'/%3E%3Cg transform='rotate(-30 110 600)'%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(-70 110 600)'/%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(-50 110 600)'/%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(-30 110 600)'/%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(-10 110 600)'/%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(10 110 600)'/%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(30 110 600)'/%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(50 110 600)'/%3E%3Cellipse cx='110' cy='584.6' rx='2.8' ry='12.6' transform='rotate(70 110 600)'/%3E%3C/g%3E%3Cpath d='M480 33 Q481.05 38.95 487 40 Q481.05 41.05 480 47 Q478.95 41.05 473 40 Q478.95 38.95 480 33Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 520px 640px, var(--night);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
}
html[data-l="en"] .es, html[data-l="es"] .en { display: none !important; }
a { color: var(--paper); text-decoration-color: var(--c, var(--marigold)); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--c, var(--marigold)); }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
.wrap { width: min(100% - 32px, 46rem); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* site header: the page links are papel picado flags hanging from one string */
.bar {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 0.75rem 1.5rem;
  padding: 0 16px; max-width: 76rem; margin-inline: auto; font-family: var(--sans);
}
body > .bar { max-width: none; }
.home-link { display: flex; align-items: center; gap: 0.6rem; padding-top: 22px; font-weight: 800; font-size: 1.0625rem; text-decoration: none; position: relative; z-index: 3; }
.home-link img { width: 52px; height: 52px; display: block; }
.name-short { display: none; }
/* the name is as long as the room allows: long on wide screens, short a bit narrower, just the logo where the flags crowd it, long again when the flags drop to their own row, short on phones */
@media (max-width: 93rem) { .name-long { display: none; } .name-short { display: inline; } }
@media (min-width: 60.01rem) and (max-width: 77rem) { .home-link > span { display: none; } }
@media (max-width: 60rem) { .name-short { display: none; } .name-long { display: inline; } }
@media (max-width: 40rem) { .name-long { display: none; } .name-short { display: inline; } }
@media (max-width: 25rem) { .home-link { font-size: 0.8125rem; } }
.lang { position: relative; z-index: 3; margin-top: 30px; }
/* one globe button: shows the current language, tap to switch */
.lang button { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 1px solid var(--indigo-2); color: var(--paper); padding: 0.4rem 0.65rem; cursor: pointer; font: 700 0.8125rem var(--sans); }
.lang button:hover { background: var(--indigo); }
.lang button[aria-pressed="false"] { display: none; }
.navflags { position: relative; justify-self: center; }
.navflags .flags { display: flex; gap: 14px; justify-content: center; }
.navflags .flags li { padding-top: 10px; padding-bottom: 26px; }
.navflags .flags a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 34px; height: 5px; margin-left: -17px; border-radius: 3px; background: var(--c, #F28C1B); } /* the page you're on: a bar under its flag */
.navflags .flags li::before { top: 10px; }
.navflags .flags a { width: 152px; min-height: 112px; padding: 32px 8px 28px; text-align: center; gap: 0; }
.navflags .flags b { font-size: 1.3rem; line-height: 1.1; }
@media (max-width: 60rem) {
  .bar { grid-template-columns: 1fr auto; column-gap: 0.75rem; }
  .navflags { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .navflags .flags { gap: 4px; justify-content: space-between; }
  .navflags .flags li { flex: 1 1 0; min-width: 0; }
  .navflags .flags a { width: 100%; min-height: 78px; padding: 22px 2px 20px; }
  .navflags .flags b { font-size: 0.8125rem; }
  .home-link { padding-top: 18px; font-size: 0.9375rem; gap: 0.45rem; white-space: nowrap; }
  .home-link img { width: 40px; height: 40px; }
  .lang { margin-top: 22px; }
}

/* flags that sway */
.sway { transform-box: fill-box; transform-origin: 50% 0; }

/* home hero: the Recuérdame sign */
.hero { overflow-x: clip; display: grid; justify-items: center; text-align: center; padding-bottom: 0; }
.hero > .paper-string, .hero > svg { width: 100%; }
.sign { width: min(100% - 32px, 64rem); margin: clamp(2rem, 6vw, 4rem) 0 clamp(1.25rem, 3vw, 2.25rem); }
.sign { position: relative; }
/* hold the sign's space while it loads, and only show the garland once the sign is in */
.sign-slot { aspect-ratio: 960 / 590; }
.sign .marigolds { opacity: 0; transition: opacity 0.4s ease; }
.sign:has(.sign-art) .marigolds { opacity: 1; }
/* a garland of real marigolds wrapped around the frame (art is 960 x 590, garland adds 40 on every side) */
.marigolds { position: absolute; z-index: 1; left: -4.1667%; top: -6.78%; width: 108.333%; height: auto; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4)); }
/* a little life inside the sign */
.sign-art .turn, .sign-art .fan, .sign-art .beat { transform-box: fill-box; transform-origin: center; }
.sign-art .fan { transform-origin: 20% 50%; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes fan { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 26% { transform: scale(1.06); } }
@media (prefers-reduced-motion: no-preference) {
  .sign-art .turn { animation: turn 26s linear infinite; }
  .sign-art .turn.back { animation-duration: 18s; animation-direction: reverse; }
  .sign-art .turn.slow { animation-duration: 40s; }
  .sign-art .fan { animation: fan 3.2s ease-in-out infinite alternate; }
  .sign-art .beat { animation: beat 1.8s ease-in-out infinite; }
}
.sign-art { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.welcome { margin: 1rem auto 0; max-width: 34rem; text-align: center; font-size: clamp(1.125rem, 2.6vw, 1.375rem); line-height: 1.45; }

.string { stroke: var(--paper-soft); stroke-width: 2; fill: none; }
/* paper strings: the canvas paints over the flat SVG once it runs */
.paper-string { position: relative; overflow: hidden; height: 90px; }
.paper-string > svg { display: block; width: 100%; height: 90px; }
.paper-string.gl > svg { visibility: hidden; }
.paper-gl { position: absolute; pointer-events: none; z-index: 0; }

/* home: the event at a glance */
.glance { margin-top: 2.5rem; }

/* home: four flags that open the pages */
.flags-wrap { position: relative; margin-top: 3rem; }
.navflags.flags-wrap { margin-top: 0; }
.flags {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 52rem) {
  .flags-wrap:not(.navflags) { width: min(100vw - 32px, 66rem); margin-left: 50%; transform: translateX(-50%); }
  .flags-wrap:not(.navflags) .flags { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* when the paper simulation runs, it paints the flags; the links stay on top, see-through */
.flags.gl li::before { display: none; }
.flags.gl a { position: relative; z-index: 1; background: transparent; color: transparent; -webkit-mask: none; mask: none; transform: none; transition: none; }
.flags.gl a:hover { color: transparent; }
.flags.gl a:focus-visible { outline-color: var(--paper); }
.flags li { position: relative; padding-top: 6px; }
.flags li::before { content: ""; position: absolute; top: 0; left: -0.7rem; right: -0.7rem; height: 2px; background: var(--paper-soft); opacity: 0.7; }
.flags a {
  display: grid; align-content: start; gap: 0.35rem;
  min-height: 12rem; padding: 1.75rem 1rem 3.5rem;
  background: var(--c); color: var(--night); text-decoration: none;
  /* tissue paper: punched dots on top, a row of diamonds, scalloped bottom */
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Ccircle cx='9' cy='5' r='2.6'/%3E%3C/svg%3E") 0 8px / 18px 10px repeat-x,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M12 1 L18 7 L12 13 L6 7Z'/%3E%3C/svg%3E") 0 calc(100% - 26px) / 24px 14px repeat-x,
    radial-gradient(circle 9px at 50% 0, #000 96%, transparent 100%) 0 100% / 18px 9px repeat-x,
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 9px) no-repeat;
  -webkit-mask-composite: xor, xor, source-over;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Ccircle cx='9' cy='5' r='2.6'/%3E%3C/svg%3E") 0 8px / 18px 10px repeat-x exclude,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M12 1 L18 7 L12 13 L6 7Z'/%3E%3C/svg%3E") 0 calc(100% - 26px) / 24px 14px repeat-x exclude,
    radial-gradient(circle 9px at 50% 0, #000 96%, transparent 100%) 0 100% / 18px 9px repeat-x add,
    linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 9px) no-repeat;
  transform-origin: 50% 0;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.5s cubic-bezier(.3, 1.6, .5, 1);
}
.flags li:nth-child(odd) a { --tilt: -1.2deg; }
.flags li:nth-child(even) a { --tilt: 1deg; }
.flags a:hover { color: var(--night); transform: rotate(calc(var(--tilt) * -2.5)); }
.flags b { font-family: var(--sans); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.flags a > span { font-size: 0.9375rem; line-height: 1.4; }

/* inner pages: a string of flags in the page color, then the title */
.page-head svg[data-flags] { display: block; width: 100%; height: 90px; overflow: hidden; }
.page-head h1 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(2.5rem, 9vw, 4.25rem); line-height: 1; letter-spacing: -0.025em;
}
.lede { margin: 0 0 1rem; font-size: clamp(1.125rem, 2.6vw, 1.3125rem); line-height: 1.5; color: var(--paper-soft); }

section { padding-block: 2rem 0.5rem; }
h2 { margin: 0 0 1rem; font-family: var(--sans); font-weight: 800; font-size: clamp(1.5rem, 4vw, 1.875rem); line-height: 1.1; letter-spacing: -0.01em; }
h3 { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
.tbd { color: var(--paper-soft); font-style: italic; }

/* event */
.when {
  display: grid; gap: 0.25rem; padding: 1.25rem 1.25rem 1.25rem 1.5rem; margin-bottom: 1.5rem;
  background: var(--indigo); border-left: 6px solid var(--magenta); font-family: var(--sans);
}
.when strong { font-size: clamp(1.5rem, 4.5vw, 2rem); line-height: 1.1; }
.when > span { color: var(--paper-soft); }
.rsvp { display: inline-block; padding: 0.85rem 1.25rem; background: var(--magenta); color: var(--paper); text-decoration: none; font-family: var(--sans); font-weight: 700; }
.rsvp:hover { background: #E05592; color: var(--paper); }
.more { display: block; width: fit-content; margin: 1.5rem 0 0; font-family: var(--sans); font-weight: 700; }
.happen { list-style: none; margin: 0; padding: 0; display: grid; }
.happen li { display: grid; gap: 0.1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--indigo-2); }
.happen b { font-family: var(--sans); font-weight: 700; color: var(--c); }

/* rsvp */
.rsvp-section { scroll-margin-top: 1rem; }
.thanks-inline { margin-top: 1rem; padding: 1rem; background: var(--indigo); border-left: 6px solid var(--magenta); font-family: var(--sans); }

/* learn */
.symbols { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .symbols { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; } }
.symbols li { border-top: 3px solid var(--c); padding-top: 0.6rem; }
.symbols p { margin: 0.2rem 0 0; color: var(--paper-soft); font-size: 1rem; }

/* lists of links */
.links { list-style: none; margin: 0; padding: 0; display: grid; }
.links li { padding: 0.9rem 0; border-bottom: 1px solid var(--indigo-2); }
.links a { font-family: var(--sans); font-weight: 700; }
.links p { margin: 0.15rem 0 0; color: var(--paper-soft); font-size: 1rem; }

/* ofrenda: the school's table, with a serape cloth and an embroidered runner */
.altar {
  position: relative; margin-top: 2rem; padding: 4rem 0 0;
  /* a plaster wall: fine grain, warm light from the middle, darker toward the corners */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 240px 240px, radial-gradient(ellipse 75% 60% at 50% 40%, rgba(244,184,96,0.16), rgba(244,184,96,0) 70%), radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(8,4,16,0.5)), #2B1A38;
  overflow: hidden;
}
.table { position: relative; width: 100%; margin: 0; padding-top: 1rem; }
/* the tabletop, seen from just above: the cloth and runner lie on it in perspective */
.table-top {
  position: absolute; left: 0; right: 0; bottom: calc(clamp(300px, 34vw, 460px) - 2px); height: 300px;
  transform-origin: 50% 100%; transform: perspective(1100px) rotateX(64deg);
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0) 60%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14'%3E%3Cg fill='rgba(0,0,0,0.28)'%3E%3Crect x='0' y='0' width='10' height='1.4'/%3E%3Crect x='0' y='7' width='5' height='1.4'/%3E%3Crect x='4.3' y='0' width='1.4' height='7'/%3E%3Crect x='9' y='7' width='1' height='7'/%3E%3Crect x='0' y='7' width='0.6' height='7'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.12)'%3E%3Crect x='0.8' y='1.6' width='3.2' height='1'/%3E%3Crect x='5.9' y='8.6' width='3' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 10px 14px, linear-gradient(90deg, #D7263D 0.00% 1.58%, #E8579B 1.58% 2.64%, #C9206A 2.64% 3.69%, #F6F2F7 3.69% 4.02%, #F7B500 4.02% 5.08%, #F28C1B 5.08% 6.13%, #E04A2F 6.13% 6.93%, #F7E26B 6.93% 7.26%, #1F5FBF 7.26% 8.31%, #1FA7A0 8.31% 9.63%, #36C3CC 9.63% 10.42%, #2A1A2E 10.42% 10.75%, #7B2A8C 10.75% 12.34%, #9B6FD1 12.34% 13.13%, #F6F2F7 13.13% 13.46%, #2E9E4F 13.46% 14.51%, #7CC242 14.51% 16.09%, #F7E26B 16.09% 16.42%, #D7263D 16.42% 18.01%, #E8579B 18.01% 19.33%, #C9206A 19.33% 20.91%, #F6F2F7 20.91% 21.24%, #1F5FBF 21.24% 22.56%, #1FA7A0 22.56% 23.61%, #36C3CC 23.61% 24.93%, #2A1A2E 24.93% 25.26%, #F7B500 25.26% 26.06%, #F28C1B 26.06% 27.37%, #E04A2F 27.37% 28.17%, #F6F2F7 28.17% 28.50%, #7B2A8C 28.50% 29.82%, #9B6FD1 29.82% 31.13%, #F7E26B 31.13% 31.46%, #2E9E4F 31.46% 32.26%, #7CC242 32.26% 33.58%, #F6F2F7 33.58% 33.91%, #D7263D 33.91% 34.96%, #E8579B 34.96% 36.02%, #C9206A 36.02% 37.60%, #2A1A2E 37.60% 37.93%, #1F5FBF 37.93% 39.25%, #1FA7A0 39.25% 40.57%, #36C3CC 40.57% 41.62%, #F6F2F7 41.62% 41.95%, #F7B500 41.95% 43.54%, #F28C1B 43.54% 44.59%, #E04A2F 44.59% 45.65%, #2A1A2E 45.65% 45.98%, #2E9E4F 45.98% 47.56%, #7CC242 47.56% 48.61%, #F7E26B 48.61% 48.94%, #7B2A8C 48.94% 50.00%, #9B6FD1 50.00% 51.58%, #F7E26B 51.58% 51.91%, #D7263D 51.91% 53.23%, #E8579B 53.23% 54.29%, #C9206A 54.29% 55.34%, #F6F2F7 55.34% 55.67%, #F7B500 55.67% 56.73%, #F28C1B 56.73% 58.05%, #E04A2F 58.05% 59.37%, #F7E26B 59.37% 59.70%, #1F5FBF 59.70% 60.75%, #1FA7A0 60.75% 62.34%, #36C3CC 62.34% 63.39%, #2A1A2E 63.39% 63.72%, #2E9E4F 63.72% 65.30%, #7CC242 65.30% 66.09%, #2A1A2E 66.09% 66.42%, #7B2A8C 66.42% 67.74%, #9B6FD1 67.74% 69.06%, #2A1A2E 69.06% 69.39%, #D7263D 69.39% 70.45%, #E8579B 70.45% 72.03%, #C9206A 72.03% 73.35%, #F6F2F7 73.35% 73.68%, #1F5FBF 73.68% 75.00%, #1FA7A0 75.00% 75.79%, #36C3CC 75.79% 76.58%, #2A1A2E 76.58% 76.91%, #F7B500 76.91% 78.23%, #F28C1B 78.23% 79.82%, #E04A2F 79.82% 81.40%, #F6F2F7 81.40% 81.73%, #7B2A8C 81.73% 82.52%, #9B6FD1 82.52% 83.31%, #2A1A2E 83.31% 83.64%, #2E9E4F 83.64% 85.22%, #7CC242 85.22% 86.81%, #F7E26B 86.81% 87.14%, #D7263D 87.14% 88.72%, #E8579B 88.72% 90.30%, #C9206A 90.30% 91.89%, #F6F2F7 91.89% 92.22%, #F7B500 92.22% 93.54%, #F28C1B 93.54% 94.85%, #E04A2F 94.85% 96.17%, #2A1A2E 96.17% 96.50%, #1F5FBF 96.50% 97.56%, #1FA7A0 97.56% 98.88%, #36C3CC 98.88% 99.67%, #F7E26B 99.67% 100.00%);
}
.runner-top { position: absolute; left: -2%; right: -2%; top: 52%; height: 30%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='64'%3E%3Crect width='200' height='64' fill='%231E1A24'/%3E%3Cpath d='M0 40 C30 20 50 56 100 34 S170 22 200 40' fill='none' stroke='%232E9E4F' stroke-width='2'/%3E%3Cellipse cx='18' cy='30' rx='7' ry='3' fill='%237CC242' transform='rotate(-30 18 30)'/%3E%3Cellipse cx='64' cy='46' rx='7' ry='3' fill='%232E9E4F' transform='rotate(20 64 46)'/%3E%3Cellipse cx='122' cy='28' rx='7' ry='3' fill='%237CC242' transform='rotate(-20 122 28)'/%3E%3Cellipse cx='160' cy='44' rx='7' ry='3' fill='%2336C3CC' transform='rotate(30 160 44)'/%3E%3Cellipse cx='86' cy='18' rx='7' ry='3' fill='%2336C3CC' transform='rotate(40 86 18)'/%3E%3Cellipse cx='190' cy='22' rx='7' ry='3' fill='%232E9E4F' transform='rotate(-40 190 22)'/%3E%3Ccircle cx='47.0' cy='30.0' r='6' fill='%23E2342D'/%3E%3Ccircle cx='43.5' cy='36.1' r='6' fill='%23E2342D'/%3E%3Ccircle cx='36.5' cy='36.1' r='6' fill='%23E2342D'/%3E%3Ccircle cx='33.0' cy='30.0' r='6' fill='%23E2342D'/%3E%3Ccircle cx='36.5' cy='23.9' r='6' fill='%23E2342D'/%3E%3Ccircle cx='43.5' cy='23.9' r='6' fill='%23E2342D'/%3E%3Ccircle cx='40' cy='30' r='4' fill='%23F7B500'/%3E%3Ccircle cx='108.0' cy='40.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='105.7' cy='45.7' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='100.0' cy='48.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='94.3' cy='45.7' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='92.0' cy='40.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='94.3' cy='34.3' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='100.0' cy='32.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='105.7' cy='34.3' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='100' cy='40' r='4' fill='%23F7B500'/%3E%3Ccircle cx='152.0' cy='24.0' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='147.9' cy='29.7' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='141.1' cy='27.5' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='141.1' cy='20.5' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='147.9' cy='18.3' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='146' cy='24' r='3' fill='%23E2342D'/%3E%3Ccircle cx='183.0' cy='46.0' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='180.5' cy='50.3' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='175.5' cy='50.3' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='173.0' cy='46.0' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='175.5' cy='41.7' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='180.5' cy='41.7' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='178' cy='46' r='3' fill='%23F7B500'/%3E%3Ccircle cx='17.0' cy='52.0' r='4' fill='%23F7B500'/%3E%3Ccircle cx='13.5' cy='56.8' r='4' fill='%23F7B500'/%3E%3Ccircle cx='8.0' cy='54.9' r='4' fill='%23F7B500'/%3E%3Ccircle cx='8.0' cy='49.1' r='4' fill='%23F7B500'/%3E%3Ccircle cx='13.5' cy='47.2' r='4' fill='%23F7B500'/%3E%3Ccircle cx='12' cy='52' r='2.5' fill='%23E2342D'/%3E%3Ccircle cx='74.0' cy='14.0' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='71.2' cy='17.8' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='66.8' cy='16.4' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='66.8' cy='11.6' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='71.2' cy='10.2' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='70' cy='14' r='2' fill='%23F6F2F7'/%3E%3Ccircle cx='126.0' cy='52.0' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='123.2' cy='55.8' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='118.8' cy='54.4' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='118.8' cy='49.6' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='123.2' cy='48.2' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='122' cy='52' r='2' fill='%23F7B500'/%3E%3Ccircle cx='54' cy='52' r='2.5' fill='%23F7B500'/%3E%3Ccircle cx='92' cy='58' r='2' fill='%2336C3CC'/%3E%3Ccircle cx='164' cy='10' r='2.5' fill='%23E84A9A'/%3E%3Ccircle cx='26' cy='10' r='2' fill='%23F28C1B'/%3E%3C/svg%3E") 0 0 / auto 100% repeat-x; box-shadow: 0 0 0 2px rgba(0,0,0,0.25); }
/* marigolds lying along the table on both sides of the sign */
.table-garland { position: absolute; left: 6%; right: 6%; bottom: calc(clamp(300px, 34vw, 460px) + 84px); height: 44px; z-index: 1; background: url("garland-strip.webp") 0 50% / auto 44px; background-repeat: round no-repeat; filter: drop-shadow(0 4px 5px rgba(0,0,0,0.45)); }
.tabletop { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem; padding: 0 5%; margin-bottom: 64px; }
.table-items { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 1rem; min-height: 4rem; }
.table-items.left { justify-content: flex-end; }
.table-items.right { justify-content: flex-start; }
.sign-stack { position: relative; width: clamp(200px, 30vw, 340px); margin-bottom: 6px; }
.table-sign { width: 100%; }
.table-sign svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.45)); }
/* the cloth hanging down the front, with folds and an uneven hem */
.cloth {
  position: relative; z-index: 1; height: clamp(300px, 34vw, 460px);
  clip-path: none;
  background:
    linear-gradient(rgba(0,0,0,0.38), rgba(0,0,0,0) 14%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.35)),
    linear-gradient(90deg, rgba(0,0,0,0.3), rgba(255,255,255,0.07) 6%, rgba(0,0,0,0.16) 13%, rgba(255,255,255,0.05) 22%, rgba(0,0,0,0.14) 33%, rgba(255,255,255,0.07) 45%, rgba(0,0,0,0.12) 57%, rgba(255,255,255,0.06) 69%, rgba(0,0,0,0.15) 81%, rgba(255,255,255,0.06) 90%, rgba(0,0,0,0.3)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14'%3E%3Cg fill='rgba(0,0,0,0.28)'%3E%3Crect x='0' y='0' width='10' height='1.4'/%3E%3Crect x='0' y='7' width='5' height='1.4'/%3E%3Crect x='4.3' y='0' width='1.4' height='7'/%3E%3Crect x='9' y='7' width='1' height='7'/%3E%3Crect x='0' y='7' width='0.6' height='7'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.12)'%3E%3Crect x='0.8' y='1.6' width='3.2' height='1'/%3E%3Crect x='5.9' y='8.6' width='3' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 10px 14px,
    linear-gradient(90deg, #D7263D 0.00% 1.58%, #E8579B 1.58% 2.64%, #C9206A 2.64% 3.69%, #F6F2F7 3.69% 4.02%, #F7B500 4.02% 5.08%, #F28C1B 5.08% 6.13%, #E04A2F 6.13% 6.93%, #F7E26B 6.93% 7.26%, #1F5FBF 7.26% 8.31%, #1FA7A0 8.31% 9.63%, #36C3CC 9.63% 10.42%, #2A1A2E 10.42% 10.75%, #7B2A8C 10.75% 12.34%, #9B6FD1 12.34% 13.13%, #F6F2F7 13.13% 13.46%, #2E9E4F 13.46% 14.51%, #7CC242 14.51% 16.09%, #F7E26B 16.09% 16.42%, #D7263D 16.42% 18.01%, #E8579B 18.01% 19.33%, #C9206A 19.33% 20.91%, #F6F2F7 20.91% 21.24%, #1F5FBF 21.24% 22.56%, #1FA7A0 22.56% 23.61%, #36C3CC 23.61% 24.93%, #2A1A2E 24.93% 25.26%, #F7B500 25.26% 26.06%, #F28C1B 26.06% 27.37%, #E04A2F 27.37% 28.17%, #F6F2F7 28.17% 28.50%, #7B2A8C 28.50% 29.82%, #9B6FD1 29.82% 31.13%, #F7E26B 31.13% 31.46%, #2E9E4F 31.46% 32.26%, #7CC242 32.26% 33.58%, #F6F2F7 33.58% 33.91%, #D7263D 33.91% 34.96%, #E8579B 34.96% 36.02%, #C9206A 36.02% 37.60%, #2A1A2E 37.60% 37.93%, #1F5FBF 37.93% 39.25%, #1FA7A0 39.25% 40.57%, #36C3CC 40.57% 41.62%, #F6F2F7 41.62% 41.95%, #F7B500 41.95% 43.54%, #F28C1B 43.54% 44.59%, #E04A2F 44.59% 45.65%, #2A1A2E 45.65% 45.98%, #2E9E4F 45.98% 47.56%, #7CC242 47.56% 48.61%, #F7E26B 48.61% 48.94%, #7B2A8C 48.94% 50.00%, #9B6FD1 50.00% 51.58%, #F7E26B 51.58% 51.91%, #D7263D 51.91% 53.23%, #E8579B 53.23% 54.29%, #C9206A 54.29% 55.34%, #F6F2F7 55.34% 55.67%, #F7B500 55.67% 56.73%, #F28C1B 56.73% 58.05%, #E04A2F 58.05% 59.37%, #F7E26B 59.37% 59.70%, #1F5FBF 59.70% 60.75%, #1FA7A0 60.75% 62.34%, #36C3CC 62.34% 63.39%, #2A1A2E 63.39% 63.72%, #2E9E4F 63.72% 65.30%, #7CC242 65.30% 66.09%, #2A1A2E 66.09% 66.42%, #7B2A8C 66.42% 67.74%, #9B6FD1 67.74% 69.06%, #2A1A2E 69.06% 69.39%, #D7263D 69.39% 70.45%, #E8579B 70.45% 72.03%, #C9206A 72.03% 73.35%, #F6F2F7 73.35% 73.68%, #1F5FBF 73.68% 75.00%, #1FA7A0 75.00% 75.79%, #36C3CC 75.79% 76.58%, #2A1A2E 76.58% 76.91%, #F7B500 76.91% 78.23%, #F28C1B 78.23% 79.82%, #E04A2F 79.82% 81.40%, #F6F2F7 81.40% 81.73%, #7B2A8C 81.73% 82.52%, #9B6FD1 82.52% 83.31%, #2A1A2E 83.31% 83.64%, #2E9E4F 83.64% 85.22%, #7CC242 85.22% 86.81%, #F7E26B 86.81% 87.14%, #D7263D 87.14% 88.72%, #E8579B 88.72% 90.30%, #C9206A 90.30% 91.89%, #F6F2F7 91.89% 92.22%, #F7B500 92.22% 93.54%, #F28C1B 93.54% 94.85%, #E04A2F 94.85% 96.17%, #2A1A2E 96.17% 96.50%, #1F5FBF 96.50% 97.56%, #1FA7A0 97.56% 98.88%, #36C3CC 98.88% 99.67%, #F7E26B 99.67% 100.00%);
}
/* the runner's end hangs a little over the front edge */
.runner-drop { position: absolute; left: 0; right: 0; top: 0; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='64'%3E%3Crect width='200' height='64' fill='%231E1A24'/%3E%3Cpath d='M0 40 C30 20 50 56 100 34 S170 22 200 40' fill='none' stroke='%232E9E4F' stroke-width='2'/%3E%3Cellipse cx='18' cy='30' rx='7' ry='3' fill='%237CC242' transform='rotate(-30 18 30)'/%3E%3Cellipse cx='64' cy='46' rx='7' ry='3' fill='%232E9E4F' transform='rotate(20 64 46)'/%3E%3Cellipse cx='122' cy='28' rx='7' ry='3' fill='%237CC242' transform='rotate(-20 122 28)'/%3E%3Cellipse cx='160' cy='44' rx='7' ry='3' fill='%2336C3CC' transform='rotate(30 160 44)'/%3E%3Cellipse cx='86' cy='18' rx='7' ry='3' fill='%2336C3CC' transform='rotate(40 86 18)'/%3E%3Cellipse cx='190' cy='22' rx='7' ry='3' fill='%232E9E4F' transform='rotate(-40 190 22)'/%3E%3Ccircle cx='47.0' cy='30.0' r='6' fill='%23E2342D'/%3E%3Ccircle cx='43.5' cy='36.1' r='6' fill='%23E2342D'/%3E%3Ccircle cx='36.5' cy='36.1' r='6' fill='%23E2342D'/%3E%3Ccircle cx='33.0' cy='30.0' r='6' fill='%23E2342D'/%3E%3Ccircle cx='36.5' cy='23.9' r='6' fill='%23E2342D'/%3E%3Ccircle cx='43.5' cy='23.9' r='6' fill='%23E2342D'/%3E%3Ccircle cx='40' cy='30' r='4' fill='%23F7B500'/%3E%3Ccircle cx='108.0' cy='40.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='105.7' cy='45.7' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='100.0' cy='48.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='94.3' cy='45.7' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='92.0' cy='40.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='94.3' cy='34.3' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='100.0' cy='32.0' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='105.7' cy='34.3' r='5' fill='%23E84A9A'/%3E%3Ccircle cx='100' cy='40' r='4' fill='%23F7B500'/%3E%3Ccircle cx='152.0' cy='24.0' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='147.9' cy='29.7' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='141.1' cy='27.5' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='141.1' cy='20.5' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='147.9' cy='18.3' r='5' fill='%23F28C1B'/%3E%3Ccircle cx='146' cy='24' r='3' fill='%23E2342D'/%3E%3Ccircle cx='183.0' cy='46.0' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='180.5' cy='50.3' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='175.5' cy='50.3' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='173.0' cy='46.0' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='175.5' cy='41.7' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='180.5' cy='41.7' r='4' fill='%239B6FD1'/%3E%3Ccircle cx='178' cy='46' r='3' fill='%23F7B500'/%3E%3Ccircle cx='17.0' cy='52.0' r='4' fill='%23F7B500'/%3E%3Ccircle cx='13.5' cy='56.8' r='4' fill='%23F7B500'/%3E%3Ccircle cx='8.0' cy='54.9' r='4' fill='%23F7B500'/%3E%3Ccircle cx='8.0' cy='49.1' r='4' fill='%23F7B500'/%3E%3Ccircle cx='13.5' cy='47.2' r='4' fill='%23F7B500'/%3E%3Ccircle cx='12' cy='52' r='2.5' fill='%23E2342D'/%3E%3Ccircle cx='74.0' cy='14.0' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='71.2' cy='17.8' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='66.8' cy='16.4' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='66.8' cy='11.6' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='71.2' cy='10.2' r='3.5' fill='%2336C3CC'/%3E%3Ccircle cx='70' cy='14' r='2' fill='%23F6F2F7'/%3E%3Ccircle cx='126.0' cy='52.0' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='123.2' cy='55.8' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='118.8' cy='54.4' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='118.8' cy='49.6' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='123.2' cy='48.2' r='3.5' fill='%23E2342D'/%3E%3Ccircle cx='122' cy='52' r='2' fill='%23F7B500'/%3E%3Ccircle cx='54' cy='52' r='2.5' fill='%23F7B500'/%3E%3Ccircle cx='92' cy='58' r='2' fill='%2336C3CC'/%3E%3Ccircle cx='164' cy='10' r='2.5' fill='%23E84A9A'/%3E%3Ccircle cx='26' cy='10' r='2' fill='%23F28C1B'/%3E%3C/svg%3E") 0 100% / auto 54px repeat-x; box-shadow: 0 6px 10px rgba(0,0,0,0.45); z-index: 1; }
.cloth .paper-string, .cloth > svg { position: absolute; left: 0; right: 0; top: 18%; height: 190px; }
.cloth .paper-string > svg { height: 190px; }

/* the floating gallery: every photo hangs in the air above the table */
.gallery { position: relative; width: 100%; margin: 0 0 1rem; min-height: 2rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: pan-x pan-y; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.slides { cursor: grab; }
.wall-track { position: relative; height: 100%; }
.float-frame {
  position: absolute; left: 0; top: 0; width: var(--w, var(--size)); padding: 0; border: 0; background: none; cursor: pointer; color: var(--paper);
  transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(var(--r));
  transition: transform 0.25s ease;
}
.float-frame img { display: block; width: 100%; aspect-ratio: var(--ar, 0.8); object-fit: cover; padding: 5px; background: var(--frame); box-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 5px 9px rgba(0,0,0,0.4); }
.float-frame.gold { --frame: linear-gradient(135deg, #F4D27A, #B98A2A 45%, #F7E2A1 60%, #A8781F); --pin: #E2342D; }
.float-frame.pink { --frame: linear-gradient(135deg, #F0378E, #C9126C); --pin: #F7B500; }
.float-frame.teal { --frame: linear-gradient(135deg, #3FD1C8, #1F8E88); --pin: #E84A9A; }
.float-frame.wood { --frame: linear-gradient(135deg, #A86B3C, #6E4122 50%, #B57A48); --pin: #36C3CC; }
.float-frame.orange { --frame: linear-gradient(135deg, #F7A531, #D9650F); --pin: #9B6FD1; }
.float-frame span { display: block; margin-top: 6px; font: 700 0.8125rem/1.2 var(--sans); text-align: center; opacity: 0; transition: opacity 0.25s ease; }
.float-frame:hover, .float-frame:focus-visible { z-index: 200 !important; transform: translate(var(--x), var(--y)) scale(calc(var(--s) * 1.1)) rotate(0deg); }
.float-frame:hover span, .float-frame:focus-visible span { opacity: 1; }

/* things on the table */
.prop { display: block; flex: none; height: auto; }
.prop.calavera { width: 44px; }
@media (max-width: 40rem) {
  .tabletop { grid-template-columns: 1fr auto 1fr; gap: 0.4rem; padding: 0 2%; margin-bottom: 40px; }
  .sign-stack { width: 58vw; }
  .table-items { flex-wrap: nowrap; gap: 0.3rem; }
  .table-items .prop:nth-child(n+3) { display: none; }
  .prop.calavera { width: 28px; } .prop.veladora { width: 16px; } .prop.pan { width: 40px; }
}

.prop.veladora { width: 26px; }
.prop.pan { width: 64px; }
.altar-empty, .altar-loading { text-align: center; margin: 1rem 0 0; color: var(--paper-soft); font-style: italic; }
.altar-cta { display: flex; }
/* ofrenda: the button sits to the right of the title */
.page-head .wrap:has(.altar-cta) { display: grid; grid-template-columns: 1fr auto; column-gap: 1.5rem; align-items: center; }
.page-head .wrap:has(.altar-cta) > :not(h1):not(.altar-cta) { grid-column: 1 / -1; }
.page-head .wrap:has(.altar-cta) > h1 { grid-row: 1; }
.page-head .wrap:has(.altar-cta) > .altar-cta { grid-column: 2; grid-row: 1; margin-top: 0.75rem; }
@media (max-width: 40rem) {
  .page-head .wrap:has(.altar-cta) { grid-template-columns: 1fr; }
  .page-head .wrap:has(.altar-cta) > .altar-cta { grid-column: 1; grid-row: auto; margin-top: 0.5rem; }
}
/* on the ofrenda the table runs into the footer; no second string of flags */
.no-foot-flags .foot > .paper-string, .no-foot-flags .foot > .foot-flags { display: none; }
.add { background: var(--marigold); color: var(--night); border: 0; padding: 0.9rem 1.4rem; cursor: pointer; font: 700 1rem var(--sans); }
.add:hover { background: #F4B860; }

dialog { width: min(100% - 32px, 30rem); max-height: calc(100dvh - 32px); padding: 1.5rem; border: 0; background: var(--paper); color: var(--night); }
dialog::backdrop { background: rgba(14, 8, 20, 0.75); }
dialog h2 { margin: 0 0 1rem; font: 800 1.5rem/1.15 var(--sans); }
dialog .row { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1rem; }
.ghost { background: none; color: var(--night); border: 1px solid #B9B0C6; padding: 0.7rem 1.1rem; cursor: pointer; font: 500 1rem var(--sans); }
.send { background: var(--magenta); color: var(--paper); border: 0; padding: 0.7rem 1.25rem; cursor: pointer; font: 700 1rem var(--sans); }
.send:disabled { opacity: 0.6; cursor: wait; }
.sendform form { display: grid; gap: 0.9rem; }
.sendform label { display: grid; gap: 0.3rem; font: 500 0.875rem var(--sans); }
.sendform input[type=text], .sendform textarea { font: 1rem var(--serif); padding: 0.6rem 0.7rem; border: 1px solid #B9B0C6; background: #FBF9FC; color: var(--night); }
.drop { position: relative; display: grid; place-items: center; min-height: 8rem; padding: 1rem; border: 2px dashed #B9B0C6; background: #FBF9FC; cursor: pointer; text-align: center; color: #5B4A66; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .preview { max-height: 12rem; width: auto; }
.hp { position: absolute; left: -9999px; }
.note { margin: 0; font-size: 0.875rem; color: #5B4A66; }
.error { margin: 0; padding: 0.6rem 0.8rem; background: #FBE1EC; color: #8A1240; font: 500 0.9375rem var(--sans); }
.thanks p { margin: 0; padding: 1rem; background: #FBE6BE; font-family: var(--sans); }

/* one memory: the photo inside the painted frame, the name on its plaque */
.memory { width: min(100% - 32px, 26rem); text-align: center; }
/* the frame's size, photo window, and plaque come from FRAMES in ofrenda.js (portrait or landscape) */
.framed { position: relative; width: 100%; aspect-ratio: var(--fw) / var(--fh); margin-bottom: 0.75rem; }
.framed-photo { position: absolute; left: var(--wx); top: var(--wy); width: var(--ww); height: var(--wh); object-fit: cover; }
.framed-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.plaque { position: absolute; left: var(--px); top: var(--py); width: var(--pw); height: var(--ph); margin: 0; display: grid; place-items: center; font: 700 clamp(0.75rem, 3.4vw, 0.95rem)/1.1 var(--sans); color: #3A2414; overflow: hidden; }
.m-relation { margin: 0; font: 700 1rem var(--sans); }
.memory.landscape { width: min(100% - 32px, 34rem); }
.keep { background: var(--marigold); color: var(--night); border: 0; padding: 0.7rem 1.1rem; cursor: pointer; font: 700 1rem var(--sans); }
.m-memory { margin: 0.5rem 0 0; font-size: 1.0625rem; }
.m-from { margin: 0.5rem 0 0; font: 500 0.875rem var(--sans); color: #5B4A66; }

@media (prefers-reduced-motion: no-preference) {
}

/* folk florals from the event flyer */
.has-flora { position: relative; }
.flora-corner { position: absolute; z-index: 0; width: clamp(110px, 16vw, 200px); height: auto; pointer-events: none; }
.page-head .flora-corner { top: 0; }
.page-head .flora-corner.left { left: 0; }
.page-head .flora-corner.right { right: 0; transform: scaleX(-1); }
.glance .flora-corner { top: -1.5rem; width: clamp(90px, 12vw, 150px); }
.glance .flora-corner.left { left: calc(-1 * clamp(100px, 14vw, 170px)); }
.glance .flora-corner.right { right: calc(-1 * clamp(100px, 14vw, 170px)); transform: scaleX(-1); }
.foot .flora-corner { bottom: 0; width: clamp(90px, 12vw, 160px); transform: scaleY(-1); }
.foot .flora-corner.left { left: 0; }
.foot .flora-corner.right { right: 0; transform: scale(-1, -1); }
.page-head .wrap, .glance > *:not(.flora-corner), .foot-grid { position: relative; z-index: 1; }
.flora-divider { display: block; width: 200px; height: auto; margin: 2.5rem auto 0; }
@media (max-width: 44rem) {
  .page-head .flora-corner { top: 0; width: 90px; opacity: 0.5; }
  .glance .flora-corner { display: none; }
}

/* loading: a marigold that turns (and, where the browser allows, its petal rings turn against each other) */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.25em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cg fill='%23D9650F'%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(0.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(20.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(40.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(60.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(80.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(100.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(120.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(140.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(160.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(180.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(200.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(220.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(240.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(260.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(280.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(300.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(320.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(340.0)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='360 0 0' dur='2.4s' repeatCount='indefinite'/%3E%3C/g%3E%3Cg fill='%23F28C1B'%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(10.0)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(35.7)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(61.4)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(87.1)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(112.9)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(138.6)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(164.3)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(190.0)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(215.7)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(241.4)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(267.1)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(292.9)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(318.6)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(344.3)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='-360 0 0' dur='1.8s' repeatCount='indefinite'/%3E%3C/g%3E%3Cg fill='%23F7B500'%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(5.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(41.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(77.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(113.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(149.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(185.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(221.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(257.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(293.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(329.0)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='360 0 0' dur='1.3s' repeatCount='indefinite'/%3E%3C/g%3E%3Ccircle r='3.2' fill='%23B85409'/%3E%3C/svg%3E") center / contain no-repeat;  animation: spin 1.4s linear infinite; }
.busy { position: relative; color: transparent !important; pointer-events: none; }
.busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.4em; height: 1.4em; margin: -0.7em 0 0 -0.7em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cg fill='%23D9650F'%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(0.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(20.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(40.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(60.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(80.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(100.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(120.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(140.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(160.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(180.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(200.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(220.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(240.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(260.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(280.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(300.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(320.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(340.0)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='360 0 0' dur='2.4s' repeatCount='indefinite'/%3E%3C/g%3E%3Cg fill='%23F28C1B'%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(10.0)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(35.7)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(61.4)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(87.1)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(112.9)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(138.6)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(164.3)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(190.0)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(215.7)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(241.4)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(267.1)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(292.9)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(318.6)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(344.3)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='-360 0 0' dur='1.8s' repeatCount='indefinite'/%3E%3C/g%3E%3Cg fill='%23F7B500'%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(5.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(41.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(77.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(113.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(149.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(185.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(221.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(257.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(293.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(329.0)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='360 0 0' dur='1.3s' repeatCount='indefinite'/%3E%3C/g%3E%3Ccircle r='3.2' fill='%23B85409'/%3E%3C/svg%3E") center / contain no-repeat;  animation: spin 1.4s linear infinite; }
body.leaving::after { content: ""; position: fixed; left: 50%; top: 50%; z-index: 100; width: 56px; height: 56px; margin: -28px 0 0 -28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cg fill='%23D9650F'%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(0.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(20.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(40.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(60.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(80.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(100.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(120.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(140.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(160.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(180.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(200.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(220.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(240.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(260.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(280.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(300.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(320.0)'/%3E%3Cpath d='M0 -13.05 C-5.46 -15 -5.46 -22.15 -2.457 -25.4 L0 -23.060000000000002 L2.457 -25.4 C5.46 -22.15 5.46 -15 0 -13.05Z' transform='rotate(340.0)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='360 0 0' dur='2.4s' repeatCount='indefinite'/%3E%3C/g%3E%3Cg fill='%23F28C1B'%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(10.0)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(35.7)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(61.4)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(87.1)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(112.9)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(138.6)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(164.3)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(190.0)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(215.7)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(241.4)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(267.1)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(292.9)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(318.6)'/%3E%3Cpath d='M0 -7.35 C-4.62 -9 -4.62 -15.05 -2.079 -17.8 L0 -15.82 L2.079 -17.8 C4.62 -15.05 4.62 -9 0 -7.35Z' transform='rotate(344.3)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='-360 0 0' dur='1.8s' repeatCount='indefinite'/%3E%3C/g%3E%3Cg fill='%23F7B500'%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(5.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(41.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(77.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(113.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(149.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(185.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(221.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(257.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(293.0)'/%3E%3Cpath d='M0 -2.1500000000000004 C-3.78 -3.5 -3.78 -8.45 -1.7009999999999998 -10.7 L0 -9.08 L1.7009999999999998 -10.7 C3.78 -8.45 3.78 -3.5 0 -2.1500000000000004Z' transform='rotate(329.0)'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 0 0' to='360 0 0' dur='1.3s' repeatCount='indefinite'/%3E%3C/g%3E%3Ccircle r='3.2' fill='%23B85409'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));  animation: spin 1.4s linear infinite; }

/* first visit: welcome and pick a language, then fade into the page */
.gated body { overflow: hidden; }
.welcome-gate {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(244,184,96,0.16), rgba(244,184,96,0) 70%), var(--night);
  transition: opacity 0.85s ease;
}
.welcome-gate.leaving-gate { opacity: 0; pointer-events: none; }
.welcome-gate > * { grid-area: 1 / 1; }
.welcome-card { display: grid; justify-items: center; text-align: center; gap: 0.5rem; }
/* the dedication shows first; then it fades and the welcome rises */
.dedication { margin: 0; max-width: 36rem; text-align: center; transition: opacity 0.9s ease; }
.dedication blockquote { margin: 0; }
.dedication p { margin: 0 0 1rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 3.6vw, 1.75rem); line-height: 1.4; }
.dedication p[lang="es"] { font-size: clamp(1.0625rem, 3vw, 1.375rem); color: var(--paper-soft); }
.dedication figcaption { margin-top: 0.5rem; font: 500 0.875rem var(--sans); color: var(--paper-soft); }
.welcome-card { opacity: 0; visibility: hidden; transition: opacity 0.9s ease 0.3s, visibility 0s 1.2s; }
.welcome-gate.to-welcome .dedication { opacity: 0; pointer-events: none; }
.welcome-gate.to-welcome .welcome-card { opacity: 1; visibility: visible; transition: opacity 0.9s ease 0.3s, visibility 0s; }
.welcome-card img { width: clamp(180px, 42vw, 300px); height: auto; margin-bottom: 0.5rem; }
.welcome-card h2 { margin: 0; font: 800 clamp(2.25rem, 8vw, 4rem)/1 var(--sans); letter-spacing: -0.02em; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 0.5em; }
.welcome-slash { color: var(--marigold); font-weight: 500; }
.welcome-card p { margin: 0.25rem 0 1.25rem; font-family: var(--sans); color: var(--paper-soft); }
.welcome-choose { display: flex; gap: 0.75rem; }
.welcome-choose button { font: 700 1.0625rem var(--sans); padding: 0.85rem 1.5rem; border: 0; cursor: pointer; background: var(--marigold); color: var(--night); min-width: 9rem; }
.welcome-choose button:hover { background: #F4B860; }
.welcome-choose button + button { background: var(--magenta); color: var(--paper); }
.welcome-choose button + button:hover { background: #E05592; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: no-preference) {
  .dedication p, .dedication figcaption { animation: rise 1.2s ease both; }
  .dedication p[lang="es"] { animation-delay: 0.6s; }
  .dedication figcaption { animation-delay: 1.1s; }
  .to-welcome .welcome-card > * { animation: rise 0.9s ease both; }
  .to-welcome .welcome-card > :nth-child(2) { animation-delay: 0.45s; }
  .to-welcome .welcome-card > :nth-child(3) { animation-delay: 0.6s; }
  .to-welcome .welcome-card > :nth-child(4) { animation-delay: 0.75s; }
}
@media (prefers-reduced-motion: reduce) { .welcome-gate { transition: none; } }

/* footer */
.foot { margin-top: auto; }
body > main { margin-bottom: 5rem; }
.foot { background: var(--indigo); font-family: var(--sans); font-size: 0.9375rem; color: var(--paper-soft); }
.foot-flags { display: block; width: 100%; height: 90px; overflow: hidden; }
.foot .paper-string { background: var(--night); }
.foot-grid {
  display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  max-width: 72rem; margin-inline: auto; padding: 2.5rem 16px 3rem;
}
.foot p { margin: 0 0 0.5rem; line-height: 1.5; }
.foot a { color: var(--paper); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.maker { font-size: 0.8125rem; opacity: 0.7; }
.maker a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201,198,224,0.35); }
.maker a:hover { color: var(--paper); border-bottom-color: currentColor; }
.partner { margin: 0 0 0.75rem; font-weight: 700; }


@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
  .flags a { transition: none; }
}
@media (max-width: 30rem) {
  .flags a { min-height: 10rem; }
  .flags b { font-size: 1.25rem; }
  .more { display: block; margin: 1rem 0 0; }
}

/* mobile: nothing may be wider than the screen, and the page never pans sideways */
img, svg, canvas, video { max-width: 100%; }
.page-head, .altar, .foot, .hero, .gallery, .table { overflow-x: clip; }
.paper-gl, .marigolds { max-width: none; }

/* phones: a compact footer. CDS info and links share the top row; date and credits share the next */
@media (max-width: 40rem) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding: 1.5rem 16px 2rem; }
  .foot-links { gap: 0.2rem; }
  body > main { margin-bottom: 2.5rem; }
  .foot-flags, .foot .paper-string, .foot-flags + .paper-string { height: 70px; }
}

/* the add button: a small painted sign leaning on the Recuérdame sign, resting on the table */
.add.leaning {
  position: absolute; left: 50%; bottom: -14px; z-index: 3; width: 74%;
  padding: 0.55rem 0.5rem 0.65rem; border: 3px solid #1E1A24; outline: 2px solid var(--magenta); outline-offset: -8px;
  background: linear-gradient(180deg, #F7B53A, var(--marigold));
  color: #1E1A24; font: 800 clamp(0.75rem, 2.6vw, 0.9375rem)/1.15 var(--sans); text-align: center;
  transform: translateX(-50%) rotate(-3.5deg); transform-origin: 50% 100%;
  box-shadow: 0 10px 14px rgba(0,0,0,0.5), 0 2px 0 #B9740F;
  transition: transform 0.2s ease;
}
.add.leaning:hover, .add.leaning:focus-visible { transform: translateX(-50%) rotate(-1deg) translateY(-3px); background: linear-gradient(180deg, #F9C25A, #F4B14A); }
/* raised: the header and wall sit higher now that the button no longer takes a row */
.altar { margin-top: 0.5rem; padding-top: 1.25rem; }
.page-head .lede { margin-bottom: 0.25rem; }
.gallery { margin-bottom: 0.5rem; }

/* corners: the logo and title are pinned top left, the language button top right; the flags stay centered */
.bar { display: flex; justify-content: center; }
.home-link, .lang { position: fixed; top: 10px; z-index: 60; margin: 0; background: rgba(26, 31, 71, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.home-link { left: 10px; padding: 6px 12px 6px 6px; }
.lang { right: 10px; }
@media (max-width: 60rem) {
  .bar { padding-top: 62px; }
  .home-link { padding: 5px 10px 5px 5px; }
}

/* the header is locked to the top; the page scrolls under it, showing through a little */
.bar { position: sticky; top: 0; z-index: 60; background: linear-gradient(rgba(26, 31, 71, 0.9), rgba(26, 31, 71, 0.74)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home-link, .lang { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 60rem) {
  /* on phones the locked header stays compact so it doesn't eat the screen */
  .bar { padding-top: 54px; }
  .navflags .flags a { min-height: 64px; padding: 19px 2px 16px; }
}

/* the locked header spans the whole window, so the corner items sit at the real corners */
body > .bar { width: 100%; max-width: none; margin: 0; }

/* locked to the top: fixed, with the page starting just below it */
body > .bar { position: fixed; top: 0; left: 0; right: 0; }
body { padding-top: var(--bar-h, 122px); }

/* event page: details on the left, RSVP on the right (one column on phones) */
.rsvp-section { scroll-margin-top: calc(var(--bar-h, 122px) + 1rem); }
@media (min-width: 56rem) {
  body[data-page="event"] main.wrap { width: min(100% - 48px, 70rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 3.5rem; align-items: start; }
  body[data-page="event"] main.wrap > * { grid-column: 1; }
  body[data-page="event"] main.wrap > a.rsvp { display: none; } /* the RSVP card is right there */
  body[data-page="event"] main.wrap > .rsvp-section { grid-column: 2; grid-row: 1 / span 6; position: sticky; top: calc(var(--bar-h, 122px) + 1rem); padding: 1.5rem; margin-top: 2rem; background: var(--indigo); border-left: 6px solid var(--magenta); }
  body[data-page="event"] }

/* less scrolling: tighter spacing everywhere, and side-by-side layouts on larger screens */
section { padding-block: 1.25rem 0.25rem; }
.page-head h1 { margin: 0.9rem 0 0.25rem; font-size: clamp(2rem, 7vw, 3rem); }
.lede { margin: 0 0 0.5rem; font-size: clamp(1rem, 2.4vw, 1.1875rem); }
.foot { margin-top: 2.5rem; }
.foot-grid { padding-block: 1.5rem 2rem; }
.happen li { padding: 0.5rem 0; }
@media (min-width: 56rem) {
  /* Event: the four things happening sit in two columns */
  .happen { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .when { padding: 0.9rem 1.25rem 0.9rem 1.5rem; margin-bottom: 0.75rem; }
  /* Learn: the story on the left, the symbols beside it */
  body[data-page="learn"] main.wrap { width: min(100% - 48px, 70rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 3.5rem; align-items: start; }
  body[data-page="learn"] .symbols { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  body[data-page="learn"] .symbols p { font-size: 0.9375rem; }
  /* Local events: two columns */
  body[data-page="nearby"] main.wrap { width: min(100% - 48px, 70rem); }
  body[data-page="nearby"] .links { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (max-width: 40rem) {
  section { padding-block: 1rem 0.25rem; }
  .page-head h1 { font-size: 2rem; }
  .happen li { padding: 0.4rem 0; }
}

/* event page: the date box and the RSVP card start at the same height, with room under the intro */
@media (min-width: 56rem) {
  body[data-page="event"] main.wrap { padding-top: 1.5rem; }
  body[data-page="event"] main.wrap > .rsvp-section { margin-top: 0; }
  body[data-page="event"] main.wrap > .when { margin-top: 0; }
}

.bring { text-align: center; }

/* Learn: the story on the left, the symbols to its right; the divider flowers are not needed here */
@media (min-width: 56rem) {
  body[data-page="learn"] main.wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-auto-flow: row; }
  body[data-page="learn"] main.wrap > .flora-divider { display: none; }
  body[data-page="learn"] main.wrap > section:first-of-type { grid-column: 1; grid-row: 1; }
  body[data-page="learn"] main.wrap > section:last-of-type { grid-column: 2; grid-row: 1; }
  body[data-page="learn"] .symbols p { font-size: 1rem; }
}

/* symbols: small animated icons in the folk style */
.symbols li { display: grid; grid-template-columns: 52px 1fr; column-gap: 0.75rem; align-items: start; }
.symbols li > h3, .symbols li > p { grid-column: 2; }
.symbol-icon { grid-column: 1; grid-row: 1 / span 3; width: 52px; height: 52px; overflow: visible; }
.symbol-icon .i-flame, .symbol-icon .i-spin, .symbol-icon .i-sway, .symbol-icon .i-nod, .symbol-icon .i-steam, .symbol-icon .i-shelf { transform-box: view-box; }
@keyframes i-flick { from { transform: scale(1, 1) rotate(-3deg); opacity: .92; } to { transform: scale(.88, 1.14) rotate(3deg); opacity: 1; } }
@keyframes i-turn { to { transform: rotate(360deg); } }
@keyframes i-swing { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }
@keyframes i-bob { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes i-rise { 0% { transform: translateY(5px); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-4px); opacity: 0; } }
@keyframes i-glowpulse { from { opacity: .08; } to { opacity: .22; } }
@keyframes i-eyes { 0%, 90%, 100% { opacity: 1; } 95% { opacity: .2; } }
@media (prefers-reduced-motion: no-preference) {
  .i-flame { animation: i-flick 1.1s ease-in-out infinite alternate; }
  .i-spin { transform-origin: 24px 24px; animation: i-turn 14s linear infinite; }
  .i-sway { animation: i-swing 3s ease-in-out infinite alternate; }
  .i-nod { animation: i-bob 2.6s ease-in-out infinite alternate; }
  .i-eye { animation: i-eyes 3.8s ease-in-out infinite; }
  .i-glow { animation: i-glowpulse 1.4s ease-in-out infinite alternate; }
  .i-steam path { animation: i-rise 2.6s ease-in-out infinite; }
  .i-steam path:nth-child(2) { animation-delay: .8s; }
  .i-steam path:nth-child(3) { animation-delay: 1.6s; }
}

/* the footer sits at the bottom of the window on every page, and below the content when the page is long */
html { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > .foot { margin-top: auto; flex: none; }
body > main, body > .altar, body > .page-head { flex: none; }
body > .altar { margin-bottom: 0; }

/* the dancing couple on the Learn page */
.dancers { margin: 1.25rem 0 0; max-width: 28rem; }
.dancers-art { display: block; width: 100%; height: auto; box-shadow: 0 12px 24px rgba(0,0,0,0.35); border-radius: 14px; }
.dancers-art g { transform-box: view-box; }
.d-man { transform-origin: 127px 320px; }
.d-lady { transform-origin: 280px 320px; }
.d-skirt { transform-origin: 280px 205px; }
.d-strum { transform-origin: 124px 197px; }
.d-arm { transform-origin: 102px 140px; }
.d-wave { transform-origin: 308px 150px; }
.d-bloom { transform-origin: 300px 90px; }
@keyframes d-sway-a { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
@keyframes d-sway-b { from { transform: rotate(2.2deg); } to { transform: rotate(-2.2deg); } }
@keyframes d-swish { from { transform: skewX(-5deg) scaleX(0.96); } to { transform: skewX(5deg) scaleX(1.05); } }
@keyframes d-strumming { from { transform: rotate(-3deg); } to { transform: rotate(2deg); } }
@keyframes d-armstrum { from { transform: rotate(-7deg); } to { transform: rotate(8deg); } }
@keyframes d-hand { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes d-floatup { 0% { transform: translate(0, 18px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(14px, -50px); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .d-man { animation: d-sway-a 1.4s ease-in-out infinite alternate; }
  .d-lady { animation: d-sway-b 1.4s ease-in-out infinite alternate; }
  .d-skirt { animation: d-swish 0.7s ease-in-out infinite alternate; }
  .d-strum { animation: d-strumming 0.35s ease-in-out infinite alternate; }
  .d-arm { animation: d-armstrum 0.35s ease-in-out infinite alternate; }
  .d-wave { animation: d-hand 1.4s ease-in-out infinite alternate; }
  .d-bloom { animation: d-sway-a 1.4s ease-in-out infinite alternate; }
  .d-note { animation: d-floatup 3.2s ease-out infinite; }
  .d-note.n2 { animation-delay: 1.05s; }
  .d-note.n3 { animation-delay: 2.1s; }
}

/* memory match */
.game { padding-bottom: 1rem; }
.game-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-family: var(--sans); }
.moves { margin: 0; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 30rem) { .board { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.card { aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; cursor: pointer; perspective: 700px; }
.card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.45s ease; }
.card.open .card-inner, .card.done .card-inner { transform: rotateY(180deg); }
.card-back, .card-face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 8px; }
.card-back { background: radial-gradient(circle at 50% 50%, var(--night) 0 10px, transparent 11px), radial-gradient(circle, rgba(255,255,255,0.25) 1.5px, transparent 2px) 0 0 / 14px 14px, linear-gradient(160deg, #D0407F, #A3256A); box-shadow: inset 0 0 0 3px rgba(255,255,255,0.18); }
.card:hover .card-back, .card:focus-visible .card-back { filter: brightness(1.12); }
.card-face { transform: rotateY(180deg); background: var(--indigo); box-shadow: inset 0 0 0 3px var(--marigold); }
.card-face svg { width: 70%; height: auto; }
.card.done .card-face { box-shadow: inset 0 0 0 3px var(--teal); }
@media (prefers-reduced-motion: reduce) { .card-inner { transition: none; } }
.fact { min-height: 3.2rem; margin: 1rem 0 0; font-size: 1.0625rem; }
.learned h2 { margin: 1.5rem 0 0.75rem; }
.found-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.found-list li { display: grid; grid-template-columns: 44px 1fr; gap: 0.75rem; align-items: start; }
.found-list svg { width: 44px; height: 44px; }
.found-list p { margin: 0.1rem 0 0; color: var(--paper-soft); font-size: 0.9375rem; }
.win { margin-top: 1rem; padding: 1rem; background: var(--indigo); border-left: 6px solid var(--teal); font-family: var(--sans); font-weight: 700; }
.i-flame, .i-spin, .i-sway, .i-nod, .i-steam, .i-shelf { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .card.done .i-flame { animation: i-flick 1.1s ease-in-out infinite alternate; }
  .card.done .i-spin { transform-origin: 24px 24px; animation: i-turn 14s linear infinite; }
  .card.done .i-sway { animation: i-swing 3s ease-in-out infinite alternate; }
  .card.done .i-nod { animation: i-bob 2.6s ease-in-out infinite alternate; }
  .card.done .i-steam path { animation: i-rise 2.6s ease-in-out infinite; }
}

/* home: the game, mentioned right under the event */
.play-promo { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1.1rem 1.25rem; background: var(--indigo); border-left: 6px solid var(--teal); }
.play-promo > svg { width: 72px; height: 72px; }
.play-promo h2 { margin: 0 0 0.25rem; font-size: 1.5rem; }
.play-promo p { margin: 0 0 0.6rem; color: var(--paper-soft); }
.play-promo .rsvp { background: var(--teal); color: var(--night); }
.play-promo .rsvp:hover { background: #2FC9BC; color: var(--night); }
@media (max-width: 30rem) { .play-promo { grid-template-columns: 56px 1fr; } .play-promo > svg { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: no-preference) { .play-promo .i-nod { animation: i-bob 2.6s ease-in-out infinite alternate; } .play-promo .i-eye { animation: i-eyes 3.8s ease-in-out infinite; } }

/* smaller nav flags: six fit comfortably, and the locked header takes less room */
.navflags .flags { gap: 10px; }
.navflags .flags a { width: 116px; min-height: 80px; padding: 22px 6px 20px; }
.navflags .flags b { font-size: 1.0625rem; }
@media (max-width: 60rem) {
  .navflags .flags { gap: 3px; }
  .navflags .flags a { width: 100%; min-height: 56px; padding: 17px 1px 14px; }
  .navflags .flags b { font-size: 0.6875rem; }
}

/* home: the event and the game side by side on larger screens */
@media (min-width: 56rem) {
  body[data-page="home"] main.wrap { width: min(100% - 48px, 70rem); display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; align-items: stretch; }
  body[data-page="home"] main.wrap > .welcome { grid-column: 1 / -1; }
  body[data-page="home"] main.wrap > .flora-divider { display: none; }
  body[data-page="home"] .glance, body[data-page="home"] .play-promo { margin-top: 1.5rem; }
  body[data-page="home"] .glance { align-self: start; }
  body[data-page="home"] .play-promo { align-self: start; }
  body[data-page="home"] .glance .flora-corner { display: none; }
}

/* game on phones: all 12 cards fit on one screen without scrolling */
@media (max-width: 40rem) {
  body[data-page="play"] .page-head .lede { display: none; }
  body[data-page="play"] .page-head h1 { font-size: 1.625rem; margin: 0.5rem 0 0.25rem; }
  body[data-page="play"] .page-head .flora-corner { display: none; }
  body[data-page="play"] section, body[data-page="play"] .game { padding-top: 0; }
  .game-bar { margin-bottom: 0.5rem; font-size: 0.875rem; }
  .game-bar .send { padding: 0.5rem 0.9rem; font-size: 0.875rem; }
  .board { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .card { aspect-ratio: 3 / 4; }
  .fact { min-height: 2.6rem; margin-top: 0.6rem; font-size: 0.9375rem; line-height: 1.4; }
}

/* phones, Android included: quick taps, no double-tap zoom delay, no text selection on cards */
.card, .send, .add { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.card { user-select: none; -webkit-user-select: none; }
.card-inner { will-change: transform; -webkit-transform-style: preserve-3d; }
.card-back, .card-face { -webkit-backface-visibility: hidden; }
.board { gap: 6px; }

/* the result card: made to screenshot and text to a friend */
.result { display: grid; justify-items: center; text-align: center; gap: 0.15rem; margin: 1.25rem auto 0; max-width: 24rem; padding: 1.5rem 1.25rem 1.25rem; border: 3px solid var(--marigold); background: radial-gradient(ellipse 80% 70% at 50% 25%, rgba(244,184,96,0.2), transparent 70%), var(--indigo); box-shadow: 0 14px 28px rgba(0,0,0,0.4); }
.result svg { width: 64px; height: 64px; }
.result p { margin: 0; }
.result-kicker { font: 700 0.8125rem var(--sans); color: var(--paper-soft); }
.result-time { font: 800 clamp(3.25rem, 16vw, 4.5rem)/1.05 var(--sans); letter-spacing: -0.03em; color: var(--marigold); }
.result-line { font: 700 1.0625rem var(--sans); }
.result-best { font: 700 0.9375rem var(--sans); color: var(--teal); min-height: 1.4rem; }
.result-url { margin-top: 0.4rem !important; font: 500 0.75rem var(--sans); color: var(--paper-soft); }
.result .send { margin-top: 0.75rem; }
.moves b { font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) { .game-bar { gap: 0.4rem; } .moves { font-size: 0.8125rem; } }

/* more symbols: butterfly wings, a falling drop */
.i-flap, .i-drip { transform-box: view-box; }
@keyframes i-flapping { from { transform: scaleX(1); } to { transform: scaleX(0.4); } }
@keyframes i-drop { 0% { transform: translateY(-3px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .card.done .i-flap { transform-origin: 24px 24px; animation: i-flapping 0.5s ease-in-out infinite alternate; }
  .card.done .i-drip { animation: i-drop 1.8s ease-in infinite; }
}
/* the game gets a wide board on desktop: more cards, more challenge */
@media (min-width: 56rem) { body[data-page="play"] main.wrap { width: min(100% - 48px, 70rem); } }

/* the timer is big and stays in view under the header while you play */
.result[hidden], .learned[hidden] { display: none; }
.game-bar { position: sticky; top: var(--bar-h, 122px); z-index: 40; margin: 0 -16px 0.75rem; padding: 0.5rem 16px; background: linear-gradient(rgba(26, 31, 71, 0.95), rgba(26, 31, 71, 0.85)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.clockbox { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--marigold); }
.clockbox svg { width: 1.75rem; height: 1.75rem; }
.clockbox b { font: 800 clamp(1.75rem, 7vw, 2.5rem)/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.game-bar .moves { margin-left: auto; text-align: right; }
@media (max-width: 40rem) { .game-bar { margin: 0 -16px 0.5rem; } .game-bar .moves { flex-basis: auto; } }

/* the timer sits in the page, right above the board: the board is fitted to the screen, so it is always in view */
.game-bar { position: static; margin: 0 0 0.75rem; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 40rem) { .game-bar { margin: 0 0 0.5rem; } }

/* a fast finish: a shower of petals and a badge on the result card */
.result-badge { margin: 0 0 0.35rem !important; padding: 0.3rem 0.8rem; background: var(--teal); color: var(--night); font: 800 0.875rem var(--sans); }
.result-badge[hidden] { display: none; }
.confetti { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }

.rain { position: absolute; overflow: visible; will-change: transform; animation-timing-function: ease-in-out; animation-fill-mode: both; }
.rain.falls { top: -60px; animation-name: rain-fall; }
.rain.rises { bottom: -60px; animation-name: rain-rise; }
.confetti .i-flap { transform-box: view-box; transform-origin: 24px 24px; animation: i-flapping 0.35s ease-in-out infinite alternate; }
.confetti .i-spin { transform-origin: 24px 24px; animation: i-turn 6s linear infinite; }
@keyframes rain-fall {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  8% { opacity: 1; }
  25% { transform: translate(var(--sway), 28vh) rotate(calc(var(--spin) * .25)); }
  50% { transform: translate(calc(var(--sway) * -1), 56vh) rotate(calc(var(--spin) * .5)); }
  75% { transform: translate(var(--sway), 84vh) rotate(calc(var(--spin) * .75)); }
  100% { transform: translate(0, 112vh) rotate(var(--spin)); opacity: 1; }
}
@keyframes rain-rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  33% { transform: translate(var(--sway), -36vh); }
  66% { transform: translate(calc(var(--sway) * -1), -74vh); }
  100% { transform: translate(0, -112vh); opacity: 1; }
}

/* what each match means appears right above the cards, where you are looking */
.fact { min-height: 3.4rem; margin: 0 0 0.6rem; padding: 0.55rem 0.8rem; background: var(--indigo); border-left: 4px solid var(--teal); font-size: 1rem; line-height: 1.4; }
.fact:empty { background: none; border-left-color: transparent; }
@media (max-width: 40rem) { .fact { min-height: 4.6rem; margin: 0 0 0.5rem; font-size: 0.875rem; padding: 0.45rem 0.65rem; } }

.result #next { margin-top: 0.75rem; }
.result .ghost { color: var(--paper); border-color: var(--paper-soft); margin-top: 0.5rem; }

/* the board is exactly as wide as its columns and centered in the window */
.board { width: fit-content; max-width: 100%; margin-inline: auto; }

/* when you finish, the result card appears in the middle of the screen, in view, with the page dimmed behind it */
.result:not([hidden]) { position: fixed; z-index: 80; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 24rem); max-height: 92dvh; overflow-y: auto; margin: 0; box-shadow: 0 0 0 100vmax rgba(14, 8, 20, 0.72), 0 14px 28px rgba(0, 0, 0, 0.4); }
.result #close-result { margin-top: 0.25rem; }

/* what you found: two columns */
.found-list { grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; }
@media (max-width: 30rem) { .found-list { gap: 0.75rem 0.75rem; } .found-list li { grid-template-columns: 34px 1fr; gap: 0.5rem; } .found-list svg { width: 34px; height: 34px; } .found-list p { font-size: 0.8125rem; } }

/* phones: timer, level and New game share one row, so the cards get the room */
@media (max-width: 40rem) {
  .game-bar { flex-wrap: nowrap; align-items: center; gap: 0.5rem; }
  .clockbox { flex: none; }
  .clockbox b { font-size: 1.75rem; }
  .clockbox svg { width: 1.4rem; height: 1.4rem; }
  .game-bar .moves { flex: 1 1 0; min-width: 0; margin-left: 0; font-size: 0.75rem; line-height: 1.3; text-align: right; }
  .game-bar .send { flex: none; padding: 0.45rem 0.7rem; font-size: 0.75rem; }
}

/* phones: a slimmer learning line, so the cards stack big instead of squeezing across one row */
@media (max-width: 40rem) { .fact { min-height: 3.1rem; font-size: 0.8125rem; line-height: 1.35; padding: 0.35rem 0.6rem; margin-bottom: 0.4rem; } }

/* the card back: a small cousin of the Recuérdame sign, with folk flowers on dark board and a pink frame */
.card .card-back { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 160' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='120' height='160' fill='%231E1A24'/%3E%3Crect x='4' y='4' width='112' height='152' rx='7' fill='none' stroke='%23F0378E' stroke-width='4'/%3E%3Crect x='10' y='10' width='100' height='140' rx='4' fill='none' stroke='%23F7B500' stroke-width='1' stroke-dasharray='1.5 4' stroke-linecap='round'/%3E%3Cpath d='M14 14h8l-4 7z' fill='%23D0407F'/%3E%3Cpath d='M22 14h8l-4 7z' fill='%23F7B500'/%3E%3Cpath d='M30 14h8l-4 7z' fill='%2323B1A5'/%3E%3Cpath d='M38 14h8l-4 7z' fill='%239A7FE0'/%3E%3Cpath d='M46 14h8l-4 7z' fill='%23D0407F'/%3E%3Cpath d='M54 14h8l-4 7z' fill='%23F7B500'/%3E%3Cpath d='M62 14h8l-4 7z' fill='%2323B1A5'/%3E%3Cpath d='M70 14h8l-4 7z' fill='%239A7FE0'/%3E%3Cpath d='M78 14h8l-4 7z' fill='%23D0407F'/%3E%3Cpath d='M86 14h8l-4 7z' fill='%23F7B500'/%3E%3Cpath d='M94 14h8l-4 7z' fill='%2323B1A5'/%3E%3Cpath d='M102 14h8l-4 7z' fill='%239A7FE0'/%3E%3Cpath d='M14 139h8l-4 -7z' fill='%23D0407F'/%3E%3Cpath d='M22 139h8l-4 -7z' fill='%23F7B500'/%3E%3Cpath d='M30 139h8l-4 -7z' fill='%2323B1A5'/%3E%3Cpath d='M38 139h8l-4 -7z' fill='%239A7FE0'/%3E%3Cpath d='M46 139h8l-4 -7z' fill='%23D0407F'/%3E%3Cpath d='M54 139h8l-4 -7z' fill='%23F7B500'/%3E%3Cpath d='M62 139h8l-4 -7z' fill='%2323B1A5'/%3E%3Cpath d='M70 139h8l-4 -7z' fill='%239A7FE0'/%3E%3Cpath d='M78 139h8l-4 -7z' fill='%23D0407F'/%3E%3Cpath d='M86 139h8l-4 -7z' fill='%23F7B500'/%3E%3Cpath d='M94 139h8l-4 -7z' fill='%2323B1A5'/%3E%3Cpath d='M102 139h8l-4 -7z' fill='%239A7FE0'/%3E%3Cpath d='M16 80C28 64 42 62 52 74M104 80C92 64 78 62 68 74M16 80C28 96 42 98 52 86M104 80C92 96 78 98 68 86' fill='none' stroke='%2323B1A5' stroke-width='3' stroke-linecap='round'/%3E%3Cellipse cx='26' cy='66' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(-35 26 66)'/%3E%3Cellipse cx='36' cy='60' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(-10 36 60)'/%3E%3Cellipse cx='94' cy='66' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(35 94 66)'/%3E%3Cellipse cx='84' cy='60' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(10 84 60)'/%3E%3Cellipse cx='26' cy='94' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(35 26 94)'/%3E%3Cellipse cx='36' cy='100' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(10 36 100)'/%3E%3Cellipse cx='94' cy='94' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(-35 94 94)'/%3E%3Cellipse cx='84' cy='100' rx='9' ry='3.4' fill='%2323B1A5' transform='rotate(-10 84 100)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(0.0 60 80)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(45.0 60 80)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(90.0 60 80)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(135.0 60 80)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(180.0 60 80)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(225.0 60 80)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(270.0 60 80)'/%3E%3Cellipse cx='60' cy='63.5' rx='5.2' ry='10.5' fill='%23E2342D' transform='rotate(315.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(22.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(67.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(112.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(157.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(202.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(247.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(292.0 60 80)'/%3E%3Cellipse cx='60' cy='70.8' rx='3.4' ry='6.2' fill='%23F0378E' transform='rotate(337.0 60 80)'/%3E%3Ccircle cx='60' cy='80' r='5.2' fill='%23F7C948'/%3E%3Ccircle cx='60' cy='80' r='2' fill='%23E2342D'/%3E%3Cellipse cx='60' cy='30.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(0.0 60 38)'/%3E%3Cellipse cx='60' cy='30.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(60.0 60 38)'/%3E%3Cellipse cx='60' cy='30.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(120.0 60 38)'/%3E%3Cellipse cx='60' cy='30.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(180.0 60 38)'/%3E%3Cellipse cx='60' cy='30.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(240.0 60 38)'/%3E%3Cellipse cx='60' cy='30.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(300.0 60 38)'/%3E%3Ccircle cx='60' cy='38' r='2.6' fill='%23F7C948'/%3E%3Cellipse cx='60' cy='114.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(0.0 60 122)'/%3E%3Cellipse cx='60' cy='114.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(60.0 60 122)'/%3E%3Cellipse cx='60' cy='114.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(120.0 60 122)'/%3E%3Cellipse cx='60' cy='114.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(180.0 60 122)'/%3E%3Cellipse cx='60' cy='114.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(240.0 60 122)'/%3E%3Cellipse cx='60' cy='114.6' rx='2.6' ry='5.4' fill='%239A7FE0' transform='rotate(300.0 60 122)'/%3E%3Ccircle cx='60' cy='122' r='2.6' fill='%23F7C948'/%3E%3Cpath d='M60 52q3 -5 0 -8M60 108q-3 5 0 8' stroke='%2323B1A5' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M22 42q1.2 -4 5 -5q-4 -1 -5 -5q-1.2 4 -5 5q4 1 5 5z' fill='%23F7B500'/%3E%3Cpath d='M98 42q1.2 -4 5 -5q-4 -1 -5 -5q-1.2 4 -5 5q4 1 5 5z' fill='%23F7B500'/%3E%3Cpath d='M22 122q1.2 -4 5 -5q-4 -1 -5 -5q-1.2 4 -5 5q4 1 5 5z' fill='%23F7B500'/%3E%3Cpath d='M98 122q1.2 -4 5 -5q-4 -1 -5 -5q-1.2 4 -5 5q4 1 5 5z' fill='%23F7B500'/%3E%3Ccircle cx='40' cy='30' r='1.6' fill='%23C9DC2C'/%3E%3Ccircle cx='80' cy='30' r='1.6' fill='%23C9DC2C'/%3E%3Ccircle cx='40' cy='130' r='1.6' fill='%23C9DC2C'/%3E%3Ccircle cx='80' cy='130' r='1.6' fill='%23C9DC2C'/%3E%3C/svg%3E") center / cover no-repeat, #1E1A24; box-shadow: 0 1px 2px rgba(0,0,0,0.5); border-radius: 8px; }
.card:hover .card-back, .card:focus-visible .card-back { filter: brightness(1.15); }

/* the play counter sits beside the game's name */
.plays { margin-left: 0.6rem; font: 700 0.875rem var(--sans); letter-spacing: 0; color: var(--teal); white-space: nowrap; }
.plays:empty { display: none; }

/* the play counter is a small marigold papel picado badge beside the game's name */
.plays { flex: none; display: grid; justify-items: center; margin: 0; padding: 0.4rem 0.85rem 0.95rem; min-width: 5.2rem; background: linear-gradient(180deg, #F7B53A, #F0A11B); color: #1A1F47; font-family: var(--sans); letter-spacing: 0; line-height: 1.05; clip-path: polygon(0 0, 100% 0, 100.0% calc(100% - 7px), 85.71% 100%, 71.43% calc(100% - 7px), 57.14% 100%, 42.86% calc(100% - 7px), 28.57% 100%, 14.29% calc(100% - 7px), 0.0% 100%); transform: rotate(-2deg); }
.plays::before { content: ""; width: 100%; height: 5px; margin-bottom: 0.2rem; background: radial-gradient(circle, rgba(26, 31, 71, 0.65) 1.3px, transparent 1.7px) 0 0 / 8px 5px repeat-x; }
.plays .b-label { font: 700 0.625rem var(--sans); }
.plays .b-num { font: 800 1.625rem/1.05 var(--sans); font-variant-numeric: tabular-nums; }
.plays:empty { display: none; }

/* the badge sits at the right end of the game bar, beside New game */
.game-bar .plays { margin-left: 0.25rem; transform: rotate(-2deg); }
.game-bar .moves { margin-left: auto; }
.ng-icon { display: none; }
@media (max-width: 40rem) {
  .plays { min-width: 4.3rem; padding: 0.3rem 0.5rem 0.75rem; transform: none; }
  .plays .b-label { font-size: 0.5rem; }
  .plays .b-num { font-size: 1.2rem; }
  #again { padding: 0.5rem 0.6rem; }
  #again .en, #again .es { display: none; }
  #again .ng-icon { display: block; }
  .game-bar .moves { font-size: 0.6875rem; }
}

/* the game bar, with a clear order: the clock first, then the numbers that matter, then the badge and New game */
.game-bar { display: flex; align-items: center; gap: 1rem; margin: 0 0 0.75rem; padding: 0.55rem 0.9rem; background: var(--indigo); border-left: 4px solid var(--marigold); }
.game-bar .clockbox { flex: none; }
.stats { display: flex; align-items: stretch; gap: 1.25rem; margin-right: auto; padding-left: 1.1rem; border-left: 1px solid var(--indigo-2); }
.stat { display: grid; align-content: center; justify-items: start; gap: 0.1rem; margin: 0; }
.stat-label { font: 600 0.6875rem var(--sans); color: var(--paper-soft); }
.stat b { font: 800 1.375rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--paper); }
.game-bar .plays { margin: 0; }
.game-bar #again { flex: none; }
@media (max-width: 40rem) {
  .game-bar { gap: 0.5rem; padding: 0.4rem 0.5rem 0.4rem 0.6rem; }
  .game-bar .clockbox b { font-size: 1.5rem; }
  .game-bar .clockbox svg { width: 1.2rem; height: 1.2rem; }
  .game-bar .clockbox { gap: 0.3rem; }
  .stats { gap: 0.6rem; padding-left: 0.5rem; }
  .stat-label { font-size: 0.5625rem; }
  .stat b { font-size: 1rem; }
}

/* no dead space: the bar is compact and centered over the cards, and the numbers share the room evenly */
.game-bar { max-width: 40rem; margin-inline: auto; }
.stats { flex: 1; justify-content: space-evenly; margin-right: 0; gap: 0.75rem; }

/* the game page: one centered column and one spacing rhythm (8, 16, 24 pixels) */
body[data-page="play"] .page-head .wrap { text-align: center; }
body[data-page="play"] .page-head h1 { margin: 16px 0 8px; }
body[data-page="play"] .page-head .lede { max-width: 40rem; margin: 0 auto 16px; }
body[data-page="play"] .page-head { padding-bottom: 0; }
body[data-page="play"] .game { padding-top: 0; }
body[data-page="play"] section.game, body[data-page="play"] main.game { padding-top: 0; }
.game-bar { margin: 0 auto 8px; }
.fact { max-width: 40rem; margin: 0 auto 16px; text-align: center; border-left: 0; background: none; padding: 0 0.5rem; min-height: 3rem; display: grid; align-content: center; }
.fact.hint { color: var(--paper-soft); font-style: italic; }
.fact:not(.hint):not(:empty) { background: var(--indigo); border-left: 4px solid var(--teal); text-align: left; padding: 0.5rem 0.8rem; }
@media (max-width: 40rem) {
  body[data-page="play"] .page-head h1 { margin: 8px 0; font-size: 1.5rem; }
  .game-bar { margin: 0 0 8px; }
  .fact { margin: 0 0 8px; min-height: 2.6rem; font-size: 0.8125rem; padding: 0 0.25rem; }
  .fact:not(.hint):not(:empty) { padding: 0.4rem 0.6rem; }
}

/* every page: the same rhythm and the same left edge for the title, the description, and what follows */
.page-head h1 { margin: 16px 0 8px; }
.page-head .lede { margin: 0; }
body > main.wrap:not(.game) { padding-top: 24px; }
body > main.wrap > section:first-of-type { padding-top: 0; }
body > .page-head + .altar { margin-top: 24px; }
@media (min-width: 56rem) {
  body[data-page="event"] .page-head .wrap,
  body[data-page="learn"] .page-head .wrap,
  body[data-page="nearby"] .page-head .wrap,
  body[data-page="ofrenda"] .page-head .wrap { width: min(100% - 48px, 70rem); }
}
@media (max-width: 40rem) { body > main.wrap:not(.game) { padding-top: 16px; } .page-head h1 { margin: 8px 0; } body > .page-head + .altar { margin-top: 16px; } }

/* cards come alive in place: lift when you point at them, pop on a match, shake on a miss (they simply appear when dealt) */
@keyframes deal-in { from { opacity: 0; transform: translateY(14px) scale(0.92) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes match-pop { 0% { transform: scale(1); } 40% { transform: scale(1.1) rotate(-1.5deg); } 70% { transform: scale(0.97); } 100% { transform: scale(1); } }
@keyframes miss-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px) rotate(-1.5deg); } 40% { transform: translateX(5px) rotate(1.5deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
@keyframes glow-breathe { from { box-shadow: 0 0 0 0 rgba(35, 177, 165, 0.0); } to { box-shadow: 0 0 14px 2px rgba(35, 177, 165, 0.45); } }
.card { transition: transform 0.2s ease; }
@media (prefers-reduced-motion: no-preference) {
  .card:not(.open):not(.done):hover, .card:not(.open):not(.done):focus-visible { transform: translateY(-5px) rotate(-1deg); }
  .card.done { animation: match-pop 0.5s ease both; }
  .card.done .card-face { animation: glow-breathe 2.4s ease-in-out infinite alternate; border-radius: 8px; }
  .card.miss { animation: miss-shake 0.45s ease both; }
}

/* no stranded last words: short text blocks balance their lines, longer paragraphs avoid a lone last word */
h1, h2, h3, .lede, .welcome, .fact, .intro p, .happen li, .symbols p, .links p, .result p, .play-promo p { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* every page head is centered: the title, then the description */
.page-head .wrap { text-align: center; }
.page-head .lede { max-width: 40rem; margin-inline: auto; }
body[data-page="ofrenda"] .page-head .lede { margin-bottom: 0; }

/* the dancers stand on the page itself: no panel, no frame */
.dancers { margin: 1.5rem auto 0; max-width: 30rem; }
.dancers-art { box-shadow: none; border-radius: 0; background: none; overflow: visible; }

/* a felt wreath of flowers and sugar skulls on the sign's corner; calls people to the ofrenda */
.ofrenda-badge { --w: clamp(8rem, 22vw, 14rem); position: absolute; left: 94.5%; top: 94.5%; z-index: 2; display: grid; place-items: center; width: var(--w); aspect-ratio: 1; color: var(--paper); text-decoration: none; text-align: center; transform: translate(-50%, -50%) rotate(14deg); transition: transform 0.2s ease; }
.ofrenda-badge > * { grid-area: 1 / 1; }
/* the shadow the wreath throws onto the frame beneath it */
.ofrenda-badge::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: rgba(8,10,30,0.8); filter: blur(14px); transform: translate(0.6rem, 1rem); z-index: -1; }
.ofrenda-badge img { width: 100%; height: auto; filter: drop-shadow(0 0 2px rgba(11,14,42,0.9)) drop-shadow(0 6px 8px rgba(0,0,0,0.6)); }
.ofrenda-badge .words { position: relative; z-index: 1; width: 44%; text-align: center; font: 800 clamp(0.6875rem, 1.45vw, 0.9375rem)/1.15 var(--sans); }
.ofrenda-badge:hover, .ofrenda-badge:focus-visible { transform: translate(-50%, -50%) rotate(0deg) scale(1.05); color: var(--paper); }
@media (max-width: 700px) { .ofrenda-badge { left: min(94.5%, calc(100% + 12px - var(--w) / 2)); } } /* keep it on the screen on phones */
/* the instant first paint of the flags (flagpaint.js): flat pictures behind the see-through links */
.flag-static { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4)); }
.flags.gl-static { position: relative; }
.flags.gl-static::before { content: ""; position: absolute; top: 10px; left: -0.7rem; right: -0.7rem; height: 2px; background: var(--paper-soft); opacity: 0.7; }
