/* Limoncello (STAGING 2026-11-15) — the sunny maiolica layer over the gatefold engine (site/limon/limon.js). Scoped to html.lm-on.
   Zero AI imagery: flat vector drawings + CSS. Google Fonts (SIL OFL): Fraunces (soft display + italic text), DM Sans 500/600 (labels).
   The colours of each colourway are set by limon.js as --lm-* variables (one table): --lm-fruit / -fruitD / -fruitL (the fruit and
   the hero field), --lm-ink / -inkD (the tile ink, type, cards), --lm-white (tile white = the paper), --lm-leaf*, --lm-onFruit (type
   on the fruit field), --lm-body (body text), --lm-sea, --lm-terra; --lm-tile = the tile picture (a data-URI SVG). */
html.lm-on {
  --lm-fruit: #f5cf3e; --lm-fruitD: #e6ae1f; --lm-fruitL: #fff3b8; --lm-flesh: #fff6cc; --lm-seg: #f7d65a; --lm-ink: #1f4c9e; --lm-inkD: #173a7a; --lm-white: #fbf8f0;
  --lm-leaf: #4c7a3a; --lm-leafL: #6a9a4e; --lm-leafD: #2f5428; --lm-twig: #5b4a2a; --lm-onFruit: #1f4c9e; --lm-body: #2a4f8c; --lm-terra: #c8653a; --lm-sea: #2f63b8;
  --lm-disp: 'Fraunces', Georgia, 'Times New Roman', serif; --lm-sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --lm-shadow: color-mix(in srgb, var(--lm-inkD) 80%, #000);
}
html.lm-on, html.lm-on body { background: var(--table); }
html.lm-on .app { background: var(--paper-img) repeat 0 0 / 256px, var(--paper); font-family: var(--lm-disp); }

/* ───────── the hero ───────── */
html.lm-on .hero { background: var(--lm-fruit); }
html.lm-on .hero .hint, html.lm-on .hero .hn { opacity: 0 !important; pointer-events: none; }
/* the engine's own card (paper doors) stays under the layer and is never seen: not painted, not animated */
html.lm-on .hero > .card { visibility: hidden; }
html.lm-on .hero > .card * { animation: none !important; transition: none !important; }
.lm { position: absolute; inset: 0; z-index: 6; overflow: hidden; background: var(--lm-fruit); --pad: 20px;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; cursor: pointer; font-family: var(--lm-disp); color: var(--lm-onFruit); }
.lm.open { cursor: default; }
.lm.done { pointer-events: none; }
/* print grain over the whole hero (static) */
.lm::after { content: ''; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: var(--paper-img) repeat 0 0 / 256px; opacity: .7; }
.lm-field { position: absolute; inset: 0; background: var(--lm-fruit); }

/* the tile wall: every tile = a front (the maiolica picture) and a back (a sunlit lemon face) that turn in a wave */
.lm-wall { position: absolute; inset: 0; z-index: 1; }
.lm-t { position: absolute; width: var(--lm-s, 78px); height: var(--lm-s, 78px); }
.lm-t b { position: absolute; inset: -1px; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lm-t .f { background: var(--lm-tile) 1px 1px / var(--lm-s, 78px) var(--lm-s, 78px); transform: perspective(900px) rotateY(0deg); will-change: transform; }
.lm-t .b { background: linear-gradient(135deg, var(--lm-fruitL) 0%, var(--lm-fruit) 55%, var(--lm-fruitD) 130%); transform: perspective(900px) rotateY(-90deg); opacity: 0; will-change: transform, opacity; }
.lm.open .lm-t .f { animation: lmFa .26s cubic-bezier(.5, 0, .85, .5) var(--d) both; }
.lm.open .lm-t .b { animation: lmFb .52s cubic-bezier(.15, .5, .35, 1) calc(var(--d) + .26s) both; }
@keyframes lmFa { 0% { transform: perspective(900px) rotateY(0deg); opacity: 1; } 96% { opacity: 1; } 100% { transform: perspective(900px) rotateY(90deg); opacity: 0; } }
@keyframes lmFb { 0% { transform: perspective(900px) rotateY(-90deg); opacity: 0; } 3% { opacity: 1; } 45% { transform: perspective(900px) rotateY(0deg); opacity: 1; } 100% { transform: perspective(900px) rotateY(0deg); opacity: 0; } }
.lm.done .lm-wall { visibility: hidden; }
/* the foot: two rows of tiles that stay, under a scalloped lemon edge that appears on the opening */
.lm-foot { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--lm-s, 78px) * 2); z-index: 1;
  background: var(--lm-tile) var(--lm-tx, 0px) 0 / var(--lm-s, 78px) var(--lm-s, 78px) repeat; }
.lm-fs { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--lm-s, 78px) * 2 - var(--lm-bandh, 101px)); background: var(--lm-fruit); }
.lm-fs::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: var(--lm-sch, 16px);
  background: radial-gradient(circle at 50% 0, var(--lm-fruit) 9.4px, transparent 10px) repeat-x 0 0 / 20px 100%; }
.lm-fs { transform-origin: 50% 0; transform: scaleY(0); opacity: 1; will-change: transform; }
.lm.open .lm-fs { animation: lmGrow .5s cubic-bezier(.3, .6, .3, 1) .42s both; }
@keyframes lmGrow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes lmFade { from { opacity: 0; } to { opacity: 1; } }

/* the cover: the lemon band on top (kicker + names) and the white band below (the hint) */
.lm-top { position: absolute; left: 0; right: 0; top: 0; height: var(--lm-toph, 232px); z-index: 3; background: var(--lm-fruit); }
.lm-tsc { position: absolute; left: 0; top: 100%; width: 100%; height: 18px; margin-top: -1px; display: block; }
.lm-tsc path { fill: var(--lm-fruit); }
.lm-tin { position: absolute; left: calc(var(--pad) + 6px); right: calc(var(--pad) + 6px); top: var(--lm-tpad, 70px); text-align: center; }
.lm-ck { font: 600 11px/1.45 var(--lm-sans); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.lm-ck span { display: inline-block; padding-left: .3em; }
.lm-ck.tight { letter-spacing: .16em; } .lm-ck.tight span { padding-left: .16em; }
.lm-ck.wrap { white-space: normal; letter-spacing: .14em; text-wrap: balance; overflow: visible; }
.lm-cn { margin-top: 14px; font: italic 500 var(--lm-cf, 54px)/1.04 var(--lm-disp); font-variation-settings: 'SOFT' 50, 'opsz' 72; white-space: nowrap; }
.lm-cn.wrap { white-space: normal; text-wrap: balance; }
.lm.open .lm-tin { animation: lmOut .4s ease-in both; }
@keyframes lmOut { to { opacity: 0; transform: translateY(-10px); } }
.lm-bot { position: absolute; left: 0; right: 0; bottom: 0; height: var(--lm-both, 150px); z-index: 3; background: var(--lm-white); will-change: transform; }
.lm-bsc { position: absolute; left: 0; bottom: 100%; width: 100%; height: 18px; margin-bottom: -1px; display: block; }
.lm-bsc path { fill: var(--lm-white); }
.lm.open .lm-bot { animation: lmDown .62s cubic-bezier(.55, 0, .8, .4) .05s both; }
@keyframes lmDown { to { transform: translate3d(0, calc(100% + 24px), 0); } }
.lm-hint { position: absolute; left: 50%; bottom: calc(var(--lm-both, 150px) / 2); transform: translate(-50%, 50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 0; padding: 6px 8px; border: 0; background: none; font: 600 11px/1.3 var(--lm-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--lm-ink); white-space: nowrap; cursor: pointer; }
.lm-hint span { padding-left: .3em; }
.lm-hint svg { display: block; animation: lmSpin 9s linear infinite; }
@keyframes lmSpin { to { transform: rotate(360deg); } }
.lm.lm.open .lm-hint { opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.lm.open .lm-hint svg { animation: none; }
@media (max-width: 350px) { .lm-hint { letter-spacing: .2em; } .lm-ck { font-size: 10.5px; } }

/* the medallion: closed in the middle of the wall, it rises to the top and shrinks (transform only) */
.lm-med { position: absolute; left: var(--lm-mx, 45px); top: var(--lm-my, 280px); width: var(--lm-d0, 300px); z-index: 5; transform-origin: 50% calc(var(--lm-d0, 300px) / 2); will-change: transform; }
.lm-msvg { display: block; width: 100%; height: auto; overflow: visible; }
.lm-mdate { position: absolute; left: 0; right: 0; top: calc(var(--lm-d0, 300px) * .75); text-align: center; font: 600 calc(var(--lm-d0, 300px) * .04) / 1 var(--lm-sans); letter-spacing: .36em; padding-left: .36em; color: var(--lm-ink); }
.lm.open .lm-med { animation: lmRise .9s cubic-bezier(.62, 0, .22, 1) .14s both; }
@keyframes lmRise { from { transform: none; } to { transform: translate3d(var(--lm-mdx), var(--lm-mdy), 0) scale(var(--lm-msc)); } }
.lm.open .lm-mdate { animation: lmFadeOut .3s ease .02s both; }
@keyframes lmFadeOut { to { opacity: 0; } }
.lm-bl { transform-box: fill-box; transform-origin: 50% 50%; }
.lm.open .lm-bl { animation: lmBloomOut .4s ease-in calc(.82s + var(--i) * .12s) both; }
@keyframes lmBloomOut { to { opacity: 0; transform: scale(.4); } }
/* the three fruits: they drop onto the branch with a soft bounce (after the medallion has arrived) */
.lm-fruits i { position: absolute; display: block; z-index: 6; opacity: 0; will-change: transform; }
.lm-fruits svg { display: block; width: 100%; height: auto; overflow: visible; }
.lm.open .lm-fruits i { animation: lmDrop .82s calc(.78s + var(--i) * .12s) both; }
@keyframes lmDrop {
  0% { opacity: 1; transform: translate3d(0, var(--fall, -300px), 0) rotate(-14deg); animation-timing-function: cubic-bezier(.45, 0, .85, .55); }
  58% { opacity: 1; transform: translate3d(0, 0, 0) rotate(3deg); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  76% { transform: translate3d(0, -7%, 0) rotate(-1.5deg); animation-timing-function: cubic-bezier(.5, 0, .7, 1); }
  90% { transform: translate3d(0, 1.5%, 0) rotate(.5deg); }
  100% { opacity: 1; transform: none; } }

/* the words, set line by line */
.lm-head { position: absolute; left: calc(var(--pad) + 4px); right: calc(var(--pad) + 4px); top: var(--lm-hy, 200px); z-index: 4; text-align: center; color: var(--lm-onFruit); pointer-events: none; }
.lm-k { font: 600 calc(var(--lm-k, 1) * 11.5px)/1.45 var(--lm-sans); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.lm-k span { display: inline-block; padding-left: .3em; }
.lm-head .tight { letter-spacing: .14em; } .lm-head .lm-k.tight span { padding-left: .14em; }
.lm-head .wrap { white-space: normal; text-wrap: balance; overflow: visible; }
.lm-names { margin: calc(var(--lm-k, 1) * 16px) 0 0; font-weight: 400; }
.lm-n { display: block; }
.lm-n b { display: block; font: 600 50px/1.02 var(--lm-disp); font-variation-settings: 'SOFT' 50, 'opsz' 72; letter-spacing: -.005em; white-space: nowrap; }
.lm-n.wrap b { white-space: normal; text-wrap: balance; }
.lm-n.amp b { font: italic 400 calc(var(--lm-k, 1) * 34px)/1 var(--lm-disp) !important; margin: calc(var(--lm-k, 1) * 2px) 0 calc(var(--lm-k, 1) * 4px); }
.lm-sub { margin-top: calc(var(--lm-k, 1) * 16px); font: italic 400 calc(var(--lm-k, 1) * 19px)/1.35 var(--lm-disp); text-wrap: balance; }
.lm-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: calc(var(--lm-k, 1) * 22px); font: 600 calc(var(--lm-k, 1) * 11.5px)/1 var(--lm-sans); letter-spacing: .3em; text-transform: uppercase; }
.lm-rule span { padding-left: .3em; }
.lm-rule i { display: block; width: calc(var(--lm-k, 1) * 50px); height: 1.5px; background: currentColor; }
.lm-date { margin-top: calc(var(--lm-k, 1) * 10px); font: 500 calc(var(--lm-k, 1) * 32px)/1.1 var(--lm-disp); font-variation-settings: 'SOFT' 50; }
.lm-date { white-space: nowrap; overflow: hidden; }
.lm-date small { font: italic 400 .6em/1 var(--lm-disp); white-space: nowrap; }
.lm-date.brk { white-space: normal; text-wrap: balance; } /* QA 2026-11-18: balanced + nbsp before the year (limon.js) → never "2027" alone */ .lm-date.brk small { display: block; margin-top: .25em; font-size: .56em; } .lm-date small i { font-style: normal; } .lm-date.brk small i { display: none; }
.lm-date.tight { font-size: calc(var(--lm-k, 1) * 26px); }
.lm-place { margin-top: calc(var(--lm-k, 1) * 10px); font: italic 400 calc(var(--lm-k, 1) * 17.5px)/1.35 var(--lm-disp); white-space: nowrap; overflow: hidden; }
.lm-place.tight { font-size: calc(var(--lm-k, 1) * 16px); letter-spacing: 0; }
.lm-place i { font-style: normal; } .lm-place.wrap span { display: block; } .lm-place.wrap i { display: none; }
.lm-meas { position: absolute; left: -9999px; top: 0; white-space: nowrap; visibility: hidden; }
.lm-meas.nm { font: 600 100px/1 var(--lm-disp); font-variation-settings: 'SOFT' 50, 'opsz' 72; letter-spacing: -.005em; }
.lm-meas.cn { font: italic 500 100px/1 var(--lm-disp); font-variation-settings: 'SOFT' 50, 'opsz' 72; }
.lm-l { opacity: 0; }
.lm.open .lm-l { animation: lmSet .85s cubic-bezier(.2, .7, .2, 1) calc(.86s + var(--li, 0) * .1s) both; }
@keyframes lmSet { 0% { opacity: 0; transform: translateY(.4em); clip-path: inset(-20% -5% 100% -5%); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; clip-path: inset(-40% -5% -40% -5%); } }
/* fonts first: nothing is set in a fallback face */
.lm-tin, .lm-hint, .lm-med, .lm-wall { opacity: 0; transition: opacity .5s ease; }
.lm.fonts .lm-tin, .lm.fonts .lm-hint, .lm.fonts .lm-med, .lm.fonts .lm-wall { opacity: 1; }

/* the scroll cue: a small chevron over the tile band */
html.lm-on .hero .cue { z-index: 8; bottom: 14px; }
html.lm-on .hero .cue span { display: none; }
html.lm-on .hero .cue i { width: 22px; height: 22px; margin: 0 auto; border-radius: 50%; background: var(--lm-white); border: 0; box-shadow: 0 0 0 1.5px var(--lm-ink); position: relative; animation: lmCue 1.9s ease-in-out infinite; }
html.lm-on .hero .cue i::after { content: ''; position: absolute; left: 50%; top: 45%; width: 6px; height: 6px; margin: -4px 0 0 -3px; border: solid var(--lm-ink); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
@keyframes lmCue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
/* ?open (studio / previews) and reduced motion: the finished hero at once */
.lm.instant *, .lm.instant { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }
.lm.instant .lm-hint, .lm.instant .lm-wall, .lm.instant .lm-bot { display: none; }
.lm.done .lm-hint, .lm.done .lm-bot { display: none; }
@media (prefers-reduced-motion: reduce) { .lm-hint svg { animation: none !important; } }
.lm.off .lm-hint svg { animation-play-state: paused; }

/* ───────── the pages ───────── */
html.lm-on #content { position: relative; }
html.lm-on #content > .sec { isolation: isolate; }
html.lm-on #content > .sec:not(.foot) { padding: 56px 28px 54px; }
html.lm-on #content .sec p { font-family: var(--lm-disp); font-weight: 400; font-size: 18px; line-height: 1.55; color: var(--lm-body); max-width: 330px; }
html.lm-on .kicker { font: 600 11.5px/1.5 var(--lm-sans); letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; color: var(--lm-ink); }
html.lm-on.gf-serifheads h2.script, html.lm-on.gf-serifheads .note h2.script, html.lm-on .kicker.lm-h { font: italic 500 42px/1.08 var(--lm-disp); font-variation-settings: 'SOFT' 50; letter-spacing: 0; padding-left: 0; text-transform: none; color: var(--lm-ink);
  margin: 10px auto 0; max-width: 330px; text-wrap: balance; }
html.lm-on.gf-serifheads h2.script::after { display: none; }
@media (max-width: 350px) { html.lm-on.gf-serifheads h2.script, html.lm-on.gf-serifheads .note h2.script, html.lm-on .kicker.lm-h { font-size: 36px; } html.lm-on #content > .sec:not(.foot) { padding-left: 22px; padding-right: 22px; } }
html.lm-on .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 2px 26px 0 28px; border-radius: 999px; border: 1.5px solid var(--lm-ink); background: transparent; box-shadow: none;
  font: 600 12px/1 var(--lm-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--lm-ink); }
html.lm-on .btn.fill { min-height: 56px; min-width: min(100%, 260px); padding: 2px 32px 0 34px; border: 0; background: var(--lm-ink); color: var(--lm-white); font-size: 12.5px; letter-spacing: .24em;
  box-shadow: 0 5px 0 var(--lm-inkD), 0 14px 20px -10px color-mix(in srgb, var(--lm-inkD) 70%, transparent); }
html.lm-on .divider { display: none; }
/* vignettes: flat drawings in their own space */
.lm-vig { display: flex; justify-content: center; margin: 0 auto 16px; pointer-events: none; }
.lm-vig svg { display: block; height: auto; overflow: visible; max-width: 100%; }
/* blossoms drifting down the side margins (only while the section is on screen) */
.lm-dr { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.lm-dr i { position: absolute; display: block; opacity: 0; animation: lmDrift var(--t, 11s) linear infinite; animation-delay: calc(var(--d) * -1s); will-change: transform, opacity; }
.lm-dr i.l { left: 6px; } .lm-dr i.r { right: 6px; }
.lm-dr i svg { display: block; }
@keyframes lmDrift { 0% { opacity: 0; transform: translate3d(0, -30px, 0) rotate(0deg); } 12% { opacity: .9; } 50% { transform: translate3d(5px, 60px, 0) rotate(140deg); } 85% { opacity: .9; } 100% { opacity: 0; transform: translate3d(-2px, 150px, 0) rotate(300deg); } }
html.lm-on #content > .sec:not(.vis) .lm-dr i, html.lm-on #content > .sec:not(.vis) .lm-sun .ry, html.lm-on #content > .sec:not(.vis) .lm-sun .sb, html.lm-on #content > .sec:not(.vis) .lm-map .fy,
html.lm-on #content > .sec:not(.vis) .lm-end .er, html.lm-on #content > .sec:not(.vis) .lm-end .es, html.lm-on #content > .sec:not(.vis) .lm-vig.ferry .fb { animation-play-state: paused; }
/* corner sprigs (top corners, mirrored) */
.lm-cor { position: absolute; top: 0; z-index: -1; pointer-events: none; }
.lm-cor.l { left: 4px; } .lm-cor.r { right: 4px; transform: scaleX(-1); }
.lm-cor svg { display: block; }
.lm-cor[data-reveal] { opacity: 0; transform: translateY(-8px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .8, .3, 1); }
.lm-cor.r[data-reveal] { transform: scaleX(-1) translateY(-8px); }
.lm-cor.in { opacity: 1; transform: none; } .lm-cor.r.in { transform: scaleX(-1); }
@media (max-width: 370px) { .lm-cor svg { width: 64px; } }
html.lm-on #content > .sec.venue { padding-top: 70px; }

/* the branch vignette: the leaves open out, the fruit drops in */
.lm-vig.branch, .lm-vig.pbranch { margin: 10px auto 2px; }
.lm-vig .lf { transform-box: fill-box; transform-origin: 0 50%; transition: transform .8s cubic-bezier(.3, 1.3, .5, 1) calc(.1s + var(--i) * .06s), opacity .4s ease calc(.1s + var(--i) * .06s); }
.lm-vig:not(.in) .lf { transform: scale(.2); opacity: 0; }
.lm-vig .fr { transition: transform .9s cubic-bezier(.3, 1.5, .5, 1) calc(.55s + var(--i) * .13s), opacity .3s ease calc(.55s + var(--i) * .13s); }
.lm-vig:not(.in) .fr { transform: translateY(-60px); opacity: 0; }

/* the invitation */
html.lm-on .sec.invite { padding-top: 62px; z-index: 7; }
.lm-isc { position: absolute; left: 0; top: -14px; width: 100%; height: 16px; display: block; z-index: 2; pointer-events: none; }
html.lm-on .sec.invite .names-big { font: 600 50px/1.02 var(--lm-disp); font-variation-settings: 'SOFT' 50; color: var(--lm-ink); margin: 16px 0 10px; }
html.lm-on .sec.invite .names-big .amp { font: italic 400 .7em/1 var(--lm-disp); color: var(--lm-ink); }
html.lm-on .sec.invite .dateline, html.lm-on .sec.invite .timeline-words { display: none; }
/* the date tile: a square maiolica plaque (a border of tiles, a white centre with a double ink rule) */
.lm-dtile { width: min(100%, 248px); margin: 30px auto 0; padding: 15px; background: var(--lm-tile) 0 0 / 39px 39px; border-radius: 6px;
  box-shadow: 0 0 0 2px var(--lm-ink), 0 18px 24px -14px color-mix(in srgb, var(--lm-shadow) 55%, transparent); }
.lm-dti { position: relative; padding: 18px 10px 18px; background: var(--lm-white); border-radius: 3px; box-shadow: 0 0 0 2px var(--lm-ink), inset 0 0 0 5px var(--lm-white), inset 0 0 0 6px color-mix(in srgb, var(--lm-ink) 50%, transparent); color: var(--lm-ink); }
.lm-dti .w { font: 600 11px/1.3 var(--lm-sans); letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; }
.lm-dti .d { margin-top: 4px; font: 600 74px/1 var(--lm-disp); font-variation-settings: 'SOFT' 50; }
.lm-dti .m { font: italic 500 21px/1.2 var(--lm-disp); }
.lm-dti .t { margin-top: 8px; font: 600 11px/1.3 var(--lm-sans); letter-spacing: .26em; padding-left: .26em; text-transform: uppercase; color: var(--lm-body); }
.lm-dtile[data-reveal] { transform: translateY(16px) rotate(-3deg) scale(.96); transition: opacity .8s ease, transform 1.1s cubic-bezier(.2, 1.2, .35, 1); }
.lm-dtile.in { transform: none; }
html.lm-on .sec.invite p.lm-dpl { margin-top: 16px; font-style: italic; font-size: 17px; text-wrap: balance; }

/* the countdown: a cobalt card in a frame of tiles; the sun turns over the sea */
html.lm-on .countdown .framed, html.lm-on .countdown .framed.plain { position: relative; max-width: 338px; margin: 0 auto; padding: 12px; border: 0; border-radius: 16px; overflow: hidden; background: var(--lm-tile) 0 0 / 39px 39px; color: var(--lm-white);
  box-shadow: 0 0 0 2px var(--lm-ink), 0 18px 26px -14px color-mix(in srgb, var(--lm-shadow) 55%, transparent); }
html.lm-on .countdown .framed::before, html.lm-on .countdown .framed::after, html.lm-on .countdown .framed-in::before, html.lm-on .countdown .framed-in::after { display: none; }
html.lm-on .countdown .framed-in { position: relative; border: 0; padding: 0 20px 30px; width: auto; height: auto; min-height: 150px; background: var(--lm-ink); border-radius: 9px; box-shadow: inset 0 0 0 5px var(--lm-ink), inset 0 0 0 6.5px color-mix(in srgb, var(--lm-white) 45%, transparent); }
.lm-sun { position: absolute; z-index: 1; left: 12px; right: 12px; top: 12px; height: 112px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; border-radius: 9px 9px 0 0; pointer-events: none; }
.lm-sun svg { display: block; overflow: visible; margin-bottom: -2px; }
.lm-sun .ry { transform-box: fill-box; transform-origin: 50% 50%; animation: lmSpin 60s linear infinite; }
.lm-sun .sb { animation: lmBob 3.2s ease-in-out infinite; }
@keyframes lmBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.6px); } }
html.lm-on .countdown .framed-in { padding-top: 118px; }
html.lm-on .countdown .kicker { color: var(--lm-fruit); }
html.lm-on .countdown .cd-past { font: italic 500 30px/1.15 var(--lm-disp) !important; letter-spacing: 0 !important; color: var(--lm-white); text-wrap: balance; }
@media (max-width: 350px) { html.lm-on .countdown .cd-past { font-size: 26px !important; } }
html.lm-on .countdown .cd-past-date { font: 600 12px/1.5 var(--lm-sans) !important; letter-spacing: .24em !important; text-transform: uppercase; color: var(--lm-fruit); opacity: 1 !important; margin-top: 12px !important; }
html.lm-on .countdown .cd-days b { font: 600 92px/.95 var(--lm-disp); font-variation-settings: 'SOFT' 50; color: var(--lm-white); }
html.lm-on .countdown .cd-days span, html.lm-on .countdown .cd-row span { font: 600 10.5px/1.4 var(--lm-sans); letter-spacing: .24em; text-transform: uppercase; color: color-mix(in srgb, var(--lm-white) 80%, transparent); }
html.lm-on .countdown .cd-row { border: 0; border-top: 1.5px solid color-mix(in srgb, var(--lm-white) 20%, transparent); margin-top: 16px; padding-top: 14px; }
html.lm-on .countdown .cd-row > div { border: 0; }
html.lm-on .countdown .cd-row b { font: 600 30px/1.1 var(--lm-disp); color: var(--lm-white); }
html.lm-on .countdown .cd-t { font: italic 400 16px/1.4 var(--lm-disp); color: var(--lm-white); opacity: .9; }
html.lm-on .countdown .btn { margin-top: 26px; }

/* the programme: a cobalt arch card */
html.lm-on #content > .sec.schedule { padding-left: 16px; padding-right: 16px; }
.lm-prog { position: relative; max-width: 370px; margin: 0 auto; padding: 10px; border-radius: 190px 190px 18px 18px; background: var(--lm-tile) 0 0 / 39px 39px;
  box-shadow: 0 0 0 2px var(--lm-ink), 0 20px 30px -16px color-mix(in srgb, var(--lm-shadow) 55%, transparent); }
.lm-pin { position: relative; padding: 70px 18px 18px; border-radius: 180px 180px 10px 10px; background: var(--lm-ink); color: var(--lm-white);
  box-shadow: inset 0 0 0 6px var(--lm-ink), inset 0 0 0 7.5px color-mix(in srgb, var(--lm-white) 45%, transparent); }
.lm-ptop { position: absolute; left: 50%; top: 24px; margin-left: -17px; }
.lm-ptop svg { display: block; animation: lmSpin 24s linear infinite; }
html.lm-on .schedule .lm-pin > .kicker { color: var(--lm-fruit); }
html.lm-on.gf-serifheads .schedule .lm-pin > h2.script { color: var(--lm-white); font-size: 44px; }
html.lm-on .schedule .prog { position: relative; max-width: 300px; margin: 18px auto 0; text-align: center; }
html.lm-on .schedule .prog li, html.lm-on .schedule .prog li.alt { display: flex; flex-direction: column; grid-template-columns: none; align-items: center; gap: 0; padding: 16px 0; border: 0; text-align: center; background: none; position: relative; }
html.lm-on .schedule .prog li + li::before { content: ''; position: absolute; left: 50%; top: 0; width: 46px; margin-left: -23px; border-top: 1.5px dotted color-mix(in srgb, var(--lm-white) 45%, transparent); }
html.lm-on .schedule .prog .pi, html.lm-on .schedule .prog li.alt .pi { order: 0; flex: none; width: 40px; height: 40px; margin: 0 0 8px; display: block; position: relative; background: none; }
html.lm-on .schedule .prog .pi svg { display: block; width: 40px; height: 40px; transform: scale(.4) rotate(-30deg); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1) .2s, opacity .3s ease .2s; }
html.lm-on .schedule .prog li.in .pi svg { transform: none; opacity: 1; }
html.lm-on .schedule .prog .pt { display: block; text-align: center; }
html.lm-on .schedule .prog .pt b { display: block; font: 500 23px/1.15 var(--lm-disp); text-transform: none; letter-spacing: 0; font-variation-settings: 'SOFT' 50; color: var(--lm-white); margin: 0; text-wrap: balance; }
html.lm-on .schedule .prog .pt time { display: block; margin: 5px 0 0; font: 600 11px/1.4 var(--lm-sans); letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; color: var(--lm-fruit); }
html.lm-on .schedule .prog .pt span { display: block; font: italic 400 16px/1.45 var(--lm-disp); color: var(--lm-white); opacity: .86; margin-top: 4px; text-wrap: balance; }
.lm-vig.pbranch { margin: 12px auto 4px; }

/* photos: a tiled wall, a white arch with an ink ring; photo 1 in a tall lemon-edged arch (inner shadow, drop shadow) */
html.lm-on #content > .sec.photos { padding-left: 16px; padding-right: 16px; }
.lm-pwall { max-width: 370px; margin: 0 auto; padding: 18px 16px 20px; border-radius: 18px; background: var(--lm-tile) 0 0 / 52px 52px;
  box-shadow: 0 0 0 2px var(--lm-ink), 0 20px 30px -16px color-mix(in srgb, var(--lm-shadow) 55%, transparent); }
.lm-parch { position: relative; padding: 46px 18px 22px; background: var(--lm-white); border-radius: 170px 170px 12px 12px;
  box-shadow: 0 0 0 4px var(--lm-white), 0 0 0 7px var(--lm-ink), 0 14px 22px -10px color-mix(in srgb, var(--lm-shadow) 50%, transparent); }
html.lm-on .photos .kicker.lm-k2 { margin-bottom: 0; }
html.lm-on .photos .portrait.noframe { position: relative; width: min(84%, 250px); aspect-ratio: 266 / 350; margin: 22px auto 0; padding: 0; border-radius: 999px 999px 6px 6px; background: var(--lm-fruit); overflow: visible;
  box-shadow: 0 2px 3px color-mix(in srgb, var(--lm-shadow) 22%, transparent), 0 22px 26px -12px color-mix(in srgb, var(--lm-shadow) 50%, transparent); }
html.lm-on .photos .portrait.noframe::before, html.lm-on .photos .portrait.noframe::after { display: none; }
html.lm-on .photos .portrait.noframe .ph { position: absolute; inset: 9px; width: auto; height: auto; border-radius: 999px 999px 3px 3px; background-size: cover; background-position: 50% 40%; }
/* smoothness: while it waits for its reveal the photo frame is at opacity .004 (invisible), not 0 — WebKit then paints and decodes
   the big photo ahead in the tiles below the screen, instead of decoding it synchronously in the frame it fades in (a 40–65 ms hitch) */
html.lm-on .photos .portrait[data-reveal]:not(.in) { opacity: .004; }
html.lm-on .photos .portrait.noframe .ph::after, html.lm-on .gf-gal .lm-ish { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: none;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .38), inset 0 0 22px rgba(0, 0, 0, .14); }
.lm-pbr { position: absolute; right: -40px; bottom: -36px; z-index: 3; pointer-events: none; transform: rotate(-30deg); }
.lm-pbr svg { display: block; overflow: visible; }
html.lm-on .gf-gal, html.lm-on .gf-gal.one, html.lm-on .gf-gal.mixed, html.lm-on .gf-gal.odd { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 16px; width: auto; margin: 42px auto 0; max-width: 320px; grid-template-columns: none; }
html.lm-on .gf-gal figure, html.lm-on .gf-gal.odd figure:last-child, html.lm-on .gf-gal.one figure, html.lm-on .gf-gal.mixed figure.solo, html.lm-on .gf-gal figure.wide, html.lm-on .gf-gal figure.sq { position: relative; flex: 0 0 auto; width: min(38vw, 132px); aspect-ratio: 3 / 4; margin: 0; padding: 0;
  border-radius: 999px 999px 4px 4px; background: var(--lm-fruit); grid-column: auto; justify-self: auto; box-shadow: 0 0 0 1.5px var(--lm-fruitD), 0 2px 3px color-mix(in srgb, var(--lm-shadow) 22%, transparent), 0 16px 20px -10px color-mix(in srgb, var(--lm-shadow) 50%, transparent); }
html.lm-on .gf-gal img, html.lm-on .gf-gal figure.wide img, html.lm-on .gf-gal.mixed figure.solo img, html.lm-on .gf-gal.odd figure:last-child img, html.lm-on .gf-gal.one img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border-radius: 999px 999px 2px 2px; object-fit: cover; object-position: 50% 35%; display: block; aspect-ratio: auto; }
html.lm-on .gf-gal figure::before, html.lm-on .gf-gal figure::after { display: none !important; }
html.lm-on .gf-gal .lm-ish { position: absolute; inset: 5px; z-index: 1; border-radius: 999px 999px 2px 2px; }
.lm-vig.slices { margin: 26px auto 0; }
.lm-vig.slices:not(.in) svg { transform: translateY(8px); opacity: 0; }
.lm-vig.slices svg { transition: transform .9s cubic-bezier(.25, 1, .4, 1) .2s, opacity .5s ease .2s; }

/* the venue + the map of the coast */
html.lm-on .sec.venue { position: relative; }
.lm-map { position: relative; display: block; width: min(100%, 334px); aspect-ratio: 16 / 10; margin: 26px auto 22px; border-radius: 12px; overflow: hidden; background: var(--lm-sea);
  box-shadow: 0 0 0 5px var(--lm-white), 0 0 0 7px var(--lm-ink), 0 20px 26px -14px color-mix(in srgb, var(--lm-shadow) 50%, transparent); }
.lm-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lm-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .16); }
.lm-map .pin { opacity: 0; transition: opacity .3s ease .5s; }
.lm-map .pd { transform: translateY(-26px); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) .5s; }
.lm-map.in .pin { opacity: 1; } .lm-map.in .pd { transform: none; }
.lm-map .fy { animation: lmFerry 26s linear infinite; }
@keyframes lmFerry { 0% { transform: translate(-20px, 176px); } 100% { transform: translate(340px, 160px); } }
html.lm-on .venue-name { font: 500 30px/1.1 var(--lm-disp); text-transform: none; letter-spacing: 0; font-variation-settings: 'SOFT' 50; color: var(--lm-ink); margin-top: 6px; text-wrap: balance; }
html.lm-on .venue .addr { font-size: 17px; color: var(--lm-body); }
html.lm-on .venue .when { font: 600 11.5px/1.6 var(--lm-sans) !important; letter-spacing: .18em; text-wrap: balance; text-transform: uppercase; color: var(--lm-ink) !important; margin-top: 14px; }

/* dress code: the straw hat and the fan */
.lm-vig.hat { margin: 18px auto 10px; }
.lm-vig.hat .ht { transform-box: view-box; transform-origin: 94px 100px; transition: transform 1s cubic-bezier(.3, 1.4, .5, 1) .1s, opacity .4s ease .1s; }
.lm-vig.hat:not(.in) .ht { transform: translateY(-40px) rotate(-14deg); opacity: 0; }
.lm-vig.hat .fn { transition: transform .9s cubic-bezier(.3, 1.3, .5, 1) .45s, opacity .4s ease .45s; }
.lm-vig.hat .fn path { transform-box: view-box; transform-origin: 0 0; }
.lm-vig.hat:not(.in) .fn { transform: translate(196px, 100px) scale(.2); opacity: 0; }
/* QA 2026-11-18: once revealed, the CSS "transform: none" replaced the fan's SVG translate(196 100) attribute, so the open fan jumped to
   the top-left corner of the box and covered the "D" of "Dress Code" → keep its place beside the hat in the CSS too */
.lm-vig.hat.in .fn { transform: translate(196px, 100px); }
html.lm-on .dress .dress-title { font: italic 500 30px/1.1 var(--lm-disp); text-transform: none; letter-spacing: 0; text-wrap: balance; color: var(--lm-ink); }
html.lm-on .dress .palette { gap: 14px; margin-top: 24px; }
html.lm-on .dress .palette span { width: 38px; height: 38px; border-radius: 50%; transform: none; background: var(--c); background-image: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px color-mix(in srgb, var(--lm-ink) 45%, transparent), 0 8px 10px -6px color-mix(in srgb, var(--lm-shadow) 50%, transparent); }

/* notes: getting there = a white card framed in tiles; gifts = no box */
html.lm-on .note-card { padding: 0; border: 0; outline: 0; background: none; box-shadow: none; }
html.lm-on .note-card::before, html.lm-on .note-card::after { display: none; }
html.lm-on #content > .sec.note { padding-top: 40px; padding-bottom: 44px; }
html.lm-on .lm-tilecard .note-card { position: relative; max-width: 350px; margin: 0 auto; padding: 26px 22px 30px; border: 14px solid transparent; border-radius: 18px;
  background: linear-gradient(var(--lm-white), var(--lm-white)) padding-box, var(--lm-tile) 0 0 / 39px 39px border-box;
  box-shadow: 0 0 0 2px var(--lm-ink), inset 0 0 0 2px var(--lm-ink), 0 18px 26px -12px color-mix(in srgb, var(--lm-shadow) 50%, transparent); }
html.lm-on #content > .sec.lm-tilecard { padding: 44px 20px 48px !important; }
.lm-vig.ferry { margin-bottom: 10px; }
.lm-vig.ferry .fb { animation: lmBob 3s ease-in-out infinite; }
.lm-vig.gift .bw { transform-box: view-box; transform-origin: 80px 42px; transition: transform 1s cubic-bezier(.3, 1.8, .45, 1) .3s; }
.note-card:not(.in) .lm-vig.gift .bw { transform: scale(.4) rotate(-20deg); }

/* the reply: a lemon card, two little glasses clink */
html.lm-on .rsvp .seal { display: none; }
html.lm-on #content > .sec.rsvp { padding-bottom: 50px; }
html.lm-on .sec.lm-rcard::before { content: ''; position: absolute; left: 50%; top: 26px; bottom: 26px; width: min(calc(100% - 32px), 370px); transform: translateX(-50%); border-radius: 20px; background: var(--lm-fruit); z-index: -1;
  box-shadow: 0 18px 28px -16px color-mix(in srgb, var(--lm-shadow) 50%, transparent); }
html.lm-on .sec.lm-rcard::after { content: ''; position: absolute; left: 50%; top: 34px; bottom: 34px; width: min(calc(100% - 48px), 354px); transform: translateX(-50%); border-radius: 14px; z-index: -1; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lm-onFruit) 55%, transparent); }
html.lm-on .sec.lm-rcard .kicker, html.lm-on.gf-serifheads .sec.lm-rcard h2.script { color: var(--lm-onFruit); }
html.lm-on .sec.lm-rcard p { color: var(--lm-onFruit) !important; }
/* QA 2026-11-18 (ES, 320 px): "Por favor, confirma antes del 15" ran ~3 px from the card's inner border (the section's 22–28 px padding is
   narrower than the card inset) → the reply line keeps ≥ 16 px inside the inner border on every width (the button keeps its width); balanced lines */
html.lm-on .sec.lm-rcard p { text-wrap: balance; max-width: min(100%, calc(100vw - 80px)); margin-left: auto !important; margin-right: auto !important; }
.lm-vig.clink { margin: 0 auto 10px; }
.lm-vig.clink .gl, .lm-vig.clink .gr { transform-box: view-box; transition: transform .9s cubic-bezier(.3, 1.45, .5, 1) .15s; }
.lm-vig.clink .gl { transform-origin: -24px 14px; } .lm-vig.clink .gr { transform-origin: 24px 14px; }
.lm-vig.clink:not(.in) .gl { transform: translateX(-26px) rotate(-8deg); } .lm-vig.clink:not(.in) .gr { transform: translateX(26px) rotate(8deg); }
.lm-vig.clink .burst { transform-box: view-box; transform-origin: 0 -56px; transition: transform .5s cubic-bezier(.3, 1.8, .5, 1) .72s, opacity .3s ease .72s; }
.lm-vig.clink:not(.in) .burst { transform: scale(.2); opacity: 0; }
html.lm-on .rsvp .btns { margin-top: 22px; }

/* the last page: the sign-off, a thank-you line, the terrace over the sea */
html.lm-on .sec.foot { padding: 52px 0 0; }
html.lm-on .sec.foot .sig { font: italic 500 34px/1.12 var(--lm-disp) !important; letter-spacing: 0; color: var(--lm-ink) !important; padding: 0 28px; text-wrap: balance; }
.lm-thanks { font: 600 11.5px/1.7 var(--lm-sans) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--lm-ink) !important; margin-top: 16px !important; padding: 0 30px; text-wrap: balance; }
.lm-end { position: relative; height: 262px; margin-top: 18px; overflow: hidden; }
.lm-end > svg:first-child { position: absolute; left: 0; top: 0; width: 100%; height: 210px; display: block; }
.lm-end .er { transform-box: fill-box; transform-origin: 50% 50%; animation: lmSpin 80s linear infinite; }
.lm-end .es { animation: lmBob 3.4s ease-in-out infinite; }
.lm-etiles { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; display: block; background: var(--lm-tile) 50% 0 / 64px 64px repeat-x; }
.lm-esc { position: absolute; left: 0; bottom: 52px; width: 100%; height: 14px; display: block; transform: translateY(100%); }
.lm-end::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--paper-img) repeat 0 0 / 256px; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .lm-dr i, .lm-sun .ry, .lm-sun .sb, .lm-map .fy, .lm-end .er, .lm-end .es, .lm-ptop svg, .lm-vig.ferry .fb { animation: none !important; } }

/* the reply card (common/rsvp.js builds it; here only its dress): a band of tiles on top, Fraunces type, the cobalt button */
html.lm-on form.rsvp-card { border-radius: 16px; background: var(--lm-white); color: var(--lm-ink); font-family: var(--lm-disp); padding-top: 70px; overflow: hidden; }
html.lm-on form.rsvp-card::before { content: ''; display: block; position: absolute; left: 0; right: 0; top: 0; height: 46px; background: var(--lm-tile) 0 0 / 46px 46px repeat-x; box-shadow: inset 0 -3px 0 var(--lm-fruit); }
html.lm-on form.rsvp-card .rsvp-x { top: 54px; right: 10px; }
html.lm-on form.rsvp-card h3 { font: italic 500 30px/1.1 var(--lm-disp); letter-spacing: 0; color: var(--lm-ink); margin-bottom: 10px; }
html.lm-on form.rsvp-card .sub { font-size: 15px; color: var(--lm-body); opacity: .9; }
html.lm-on form.rsvp-card .rule { background: color-mix(in srgb, var(--lm-ink) 30%, transparent); }
html.lm-on form.rsvp-card label { font-family: var(--lm-sans); font-weight: 600; letter-spacing: .2em; opacity: .85; }
html.lm-on form.rsvp-card input, html.lm-on form.rsvp-card textarea, html.lm-on form.rsvp-card select { border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--lm-ink) 28%, transparent); font-family: var(--lm-disp); color: var(--lm-ink); background: #fff; }
html.lm-on form.rsvp-card input:focus, html.lm-on form.rsvp-card textarea:focus, html.lm-on form.rsvp-card select:focus { border-color: var(--lm-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lm-ink) 16%, transparent); }
html.lm-on .rsvp-att label > span { border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--lm-ink) 30%, transparent); font-weight: 600; background: transparent; }
html.lm-on .rsvp-att input:checked + span { background: var(--lm-ink); color: var(--lm-white); border-color: var(--lm-ink); }
html.lm-on .rsvp-send { border-radius: 999px; min-height: 56px; background: var(--lm-ink); color: var(--lm-white); font: 600 13px/1.2 var(--lm-sans); letter-spacing: .24em; text-transform: uppercase;
  box-shadow: 0 5px 0 var(--lm-inkD); margin-bottom: 6px; }
html.lm-on .rsvp-done .rsvp-ic { color: var(--lm-ink); }
/* Blood Orange: orange type on the terracotta cards is too faint — the light peel colour instead */
html.lm-on[data-variant="orange"] .schedule .lm-pin > .kicker, html.lm-on[data-variant="orange"] .schedule .prog .pt time,
html.lm-on[data-variant="orange"] .countdown .kicker, html.lm-on[data-variant="orange"] .countdown .cd-past-date { color: var(--lm-fruitL) !important; }
