/* Cherry on Top (LOCAL DRAFT 2026-11-14) — the still-life layer over the gatefold engine (site/cherry/cherry.js). Scoped to html.ch-on.
   Zero AI imagery: photo cut-outs (Unsplash License), code-made light, shadows and paper; Google Fonts (Playfair Display, Jost —
   OFL; fonts 2026-11-19: the body is Playfair 400 too, Cormorant dropped — two serifs side by side clashed). --accent = the fruit colour of the type, --ink = body text, --paper = the cream / blush / ivory / butter sweep. */
html.ch-on {
  --ch-disp: 'Playfair Display', 'Didot', Georgia, serif; --ch-serif: 'Playfair Display', Georgia, serif; --ch-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ch-deep: color-mix(in srgb, var(--paper) 72%, var(--table) 28%);
  --ch-shc: color-mix(in srgb, var(--ink) 78%, var(--accent) 22%); /* a red fruit casts a warm shadow */
  --ch-hi: color-mix(in srgb, var(--accent) 52%, #fff 48%);
  --ch-dark: color-mix(in srgb, var(--accent) 80%, #000 20%);
}
html.ch-on body { background: var(--paper) var(--paper-img); background-size: 512px; background-blend-mode: multiply; }

/* ───────── the hero ───────── */
html.ch-on .hero .hint, html.ch-on .hero .hn { opacity: 0 !important; pointer-events: none; }
.ch { position: absolute; inset: 0; z-index: 6; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; color: var(--accent); --pad: var(--ch-pad, 24px);
  /* exactly the page's own paper (.app in gatefold/style.css): the hero's last row is the page's first — no seam */
  background: linear-gradient(color-mix(in srgb, var(--paper) var(--veil, 55%), transparent), color-mix(in srgb, var(--paper) var(--veil, 55%), transparent)), var(--paper-img) repeat var(--paper);
  background-size: auto, 512px; }
html.ch-on .hero { background: none; }
.ch.open { cursor: default; }
.ch.done { pointer-events: none; }
.ch-bg, .ch-bg i, .ch-stage { position: absolute; inset: 0; }
.ch-bg i { display: block; }
/* a studio sweep: lighter wall up top, the cream "table" deepens toward the still life, then melts back to the page paper at the very
   bottom (the page below continues in the same colour — no seam) */
.ch-wall { background: radial-gradient(130% 62% at 50% 18%, color-mix(in srgb, var(--paper) 55%, #fff 45%) 0%, color-mix(in srgb, var(--paper) 88%, #fff 12%) 46%, transparent 78%); }
.ch-floor { top: calc(var(--ch-fl, 85%) - var(--ch-sh, 180px) * .78); mix-blend-mode: multiply;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--ch-deep) 30%, transparent) 16%, color-mix(in srgb, var(--ch-deep) 78%, transparent) 42%,
    var(--ch-deep) 56%, color-mix(in srgb, var(--ch-deep) 62%, transparent) 70%, color-mix(in srgb, var(--ch-deep) 26%, transparent) 81%, color-mix(in srgb, var(--ch-deep) 7%, transparent) 90%, transparent 97%); }
.ch-glow { background: radial-gradient(60% 34% at 30% 64%, rgba(255, 255, 255, .34), transparent 70%); mix-blend-mode: soft-light; }

/* the still life: positioned by its floor line (--ch-fl); the closed view is the same set, nearer the camera */
.ch-still { position: absolute; width: var(--ch-sw, 290px); height: var(--ch-sh, 190px); left: calc(50% + var(--ch-sw, 290px) * .08); top: calc(var(--ch-fl, 85%) - var(--ch-sh, 190px));
  transform-origin: 46% 96%; transform: translate3d(-50%, 0, 0); will-change: transform; }
.ch:not(.open) .ch-still { transform: translate3d(calc(-50% - var(--ch-sw, 290px) * .08), -13svh, 0) scale(1.22); }
.ch.open .ch-still { transition: transform .96s cubic-bezier(.45, .05, .2, 1) .02s; }
.ch-still img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
/* contact shadows under each of the three cherries: a tight dark kiss + a wide soft pool, both warm */
.ch-sh { position: absolute; display: block; pointer-events: none; border-radius: 50%; }
.ch-sh::before, .ch-sh::after { content: ''; position: absolute; border-radius: 50%; }
.ch-sh { width: 34%; height: 15%; top: 87.5%; }
.ch-sh.s1 { left: -1%; } .ch-sh.s2 { left: 30%; top: 89%; } .ch-sh.s3 { left: 64.5%; top: 88%; }
.ch-sh::before { inset: 0 -12% -20%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ch-shc) 34%, transparent), color-mix(in srgb, var(--ch-shc) 12%, transparent) 55%, transparent); }
.ch-sh::after { left: 18%; right: 18%; top: 34%; height: 30%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ch-shc) 62%, transparent), transparent); }
/* the cake (birthdays and other cake occasions): it rises from below the frame; its bottom melts into the page */
.ch.cake .ch-still { left: 50%; top: auto; bottom: 0; height: calc(var(--ch-sh, 250px) * 1.04); transform-origin: 50% 100%; transform: translate3d(-50%, 0, 0); }
.ch.cake:not(.open) .ch-still { transform: translate3d(-50%, 2svh, 0) scale(1.22); }
.ch.cake .ch-still img { height: auto; -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0, 0, 0, .5) 88%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, rgba(0, 0, 0, .5) 88%, transparent 100%); }

/* the drop: one more cherry falls from above the screen, lands in front of the three and settles */
.ch-drop { position: absolute; width: var(--ch-dw, 104px); height: var(--ch-dh, 184px); left: calc(50% - var(--ch-sw, 290px) * .56);
  top: calc(var(--ch-fl, 85%) - var(--ch-dh, 184px) + var(--ch-sh, 190px) * .07); pointer-events: none; }
.ch-fall, .ch-bnc { position: absolute; inset: 0; transform-origin: 50% 97%; }
.ch-fall { transform: translate3d(0, var(--ch-fallY, -700px), 0) rotate(-9deg); opacity: 0; will-change: transform; }
.ch-dimg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ch-dsh, .ch-dsh2 { position: absolute; display: block; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.3); }
.ch-dsh { left: -18%; right: -22%; top: 90%; height: 16%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ch-shc) 36%, transparent), color-mix(in srgb, var(--ch-shc) 12%, transparent) 55%, transparent); }
.ch-dsh2 { left: 16%; right: 14%; top: 93.8%; height: 6.5%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ch-shc) 66%, transparent), transparent); }
.ch.open .ch-fall { animation: chFall .78s cubic-bezier(.45, 0, .9, .55) .22s both; }
.ch.open .ch-bnc { animation: chBounce .66s linear 1s both; }
/* the shadow: gathers while the fruit falls (wide + faint → tight + dark, in step with the fall), then breathes with the hop only */
.ch.open .ch-dsh, .ch.open .ch-dsh2 { animation: chShadowFall .78s cubic-bezier(.45, 0, .9, .55) .22s both, chShadowHop .66s linear 1s forwards; }
@keyframes chFall { 0% { opacity: 1; transform: translate3d(0, var(--ch-fallY, -700px), 0) rotate(-9deg); } 100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(-1.5deg); } }
/* the landing (2026-11-14 polish: the old 9 % hop floated the fruit above its shadow for ~0.2 s — a firm cherry on a table barely
   leaves it): a quick squash, one small hop of ~2.5 % of its height, a tiny second tap, a slow roll that settles the tilt */
@keyframes chBounce {
  0% { transform: none; animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  8% { transform: scale(1.035, .962) rotate(.3deg); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  30% { transform: translateY(-2.6%) rotate(2deg); animation-timing-function: cubic-bezier(.5, 0, .8, .4); }
  46% { transform: scale(1.012, .99) rotate(1.6deg); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  56% { transform: translateY(-.5%) rotate(1.7deg); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  64% { transform: rotate(1.8deg); animation-timing-function: cubic-bezier(.35, 0, .25, 1); }
  100% { transform: rotate(1.4deg); }
}
@keyframes chShadowFall { 0% { opacity: 0; transform: scale(.42); } 35% { opacity: .1; transform: scale(.5); } 100% { opacity: 1; transform: scale(1); } }
@keyframes chShadowHop {
  0% { opacity: 1; transform: scale(1); }
  8% { opacity: 1; transform: scale(1.05, 1); }
  30% { opacity: .82; transform: scale(.93); }
  46% { opacity: 1; transform: scale(1.01, 1); }
  56% { opacity: .95; transform: scale(.985); }
  64%, 100% { opacity: 1; transform: scale(1); }
}

/* ───────── the words ───────── */
.ch-top { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--ch-ty, 72px) - 4px); display: flex; justify-content: center; }
/* small caps labels ≥ 11 px and the fruit-coloured ones a shade deeper (--ch-dark) — guest review 2026-11-19: 10–10.5 px pale pink
   on pink was hard to read on an iPhone (was 10 / 10.5 px, var(--accent)) */
.ch-k { display: inline-flex; align-items: center; gap: 14px; font: 500 11.5px/1.4 var(--ch-sans); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: var(--ch-dark); white-space: nowrap;
  opacity: 0; transition: opacity .9s ease .1s; }
.ch-k.nodash::before, .ch-k.nodash::after { display: none; }
.ch-k.tight { letter-spacing: .28em; padding-left: .28em; }
.ch-k::before, .ch-k::after { content: ''; width: 22px; height: 1px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.ch.ready .ch-k { opacity: 1; }
.ch.kdup:not(.open) .ch-k { opacity: 0; }
.ch-top { display: grid; justify-items: center; } .ch-top > span { grid-area: 1 / 1; }
.ch-kd { font: 500 11.5px/1.4 var(--ch-sans); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .9s ease .1s; }
.ch.kdup.ready:not(.open) .ch-kd { opacity: 1; }
.ch.open .ch-kd { opacity: 0; transition: opacity .35s ease; }
.ch.kdup.open .ch-k { opacity: 1; transition: opacity .8s ease .55s; }
.ch-head { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--ch-ty, 72px) + 26px); bottom: var(--ch-tb, 42%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ch-inv { position: absolute; left: 0; right: 0; top: 38%; transform: translateY(-50%); font: italic 500 clamp(34px, 11.5vw, 54px)/1 var(--ch-disp); letter-spacing: -.01em; color: var(--accent);
  opacity: 0; transition: opacity 1s ease .15s, transform 1s ease .15s; }
.ch.ready .ch-inv { opacity: 1; }
.ch.open .ch-inv { opacity: 0; transform: translateY(-62%); transition: opacity .38s ease, transform .5s ease; }
.ch-title { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; font-weight: inherit; }
.ch-title > span { display: block; max-width: 100%; }
.ch-title b { display: inline-block; font-weight: inherit; padding: .06em .1em .14em; margin: -.06em -.1em -.14em;
  /* the gloss: a lighter band crosses the glossy red letters once, after they land */
  background: linear-gradient(104deg, var(--accent) 0%, var(--accent) 40%, var(--ch-hi) 49%, var(--accent) 58%, var(--accent) 100%) 100% 0 / 320% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent); }
.ch-l1 { font: italic 700 var(--ch-f1, 84px)/.98 var(--ch-disp); letter-spacing: -.022em; white-space: nowrap; }
.ch-l1.wrap { white-space: normal; text-wrap: balance; line-height: 1.02; }
.ch-l2 { margin-top: .16em; font: 500 var(--ch-f2, 40px)/1.06 var(--ch-disp); letter-spacing: -.004em; white-space: nowrap; }
.ch-rule { display: flex; align-items: center; justify-content: center; gap: 12px; width: min(220px, 62%); margin: 20px 0 14px; }
.ch-rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 50%, transparent)); transform-origin: 100% 50%; }
.ch-rule i:last-child { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 50%, transparent), transparent); transform-origin: 0 50%; }
.ch-rule img { width: 13px; height: auto; display: block; margin-top: -9px; filter: drop-shadow(0 1.5px 1px color-mix(in srgb, var(--ch-shc) 30%, transparent)); }
.ch-sub { display: flex; flex-direction: column; align-items: center; gap: 7px; font: 500 11.5px/1.5 var(--ch-sans); letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; color: var(--ink); }
.ch-sub span + span { color: color-mix(in srgb, var(--ink) 72%, var(--paper)); }
/* closed: only the kicker, "You're invited" and the still life */
.ch-title > span, .ch-rule, .ch-sub { opacity: 0; }
.ch-rule i { transform: scaleX(0); } .ch-rule img { opacity: 0; transform: translateY(-6px); }
/* open: each title line is set in — a soft rise behind a wipe, then the gloss crosses it; the rule draws, the cherry dot drops in */
.ch.open .ch-l1 { animation: chLine .95s cubic-bezier(.2, .7, .2, 1) .82s both; }
.ch.open .ch-l2 { animation: chLine .9s cubic-bezier(.2, .7, .2, 1) 1.08s both; }
.ch.open .ch-l1 b { animation: chGloss 1.5s cubic-bezier(.45, 0, .25, 1) 1.45s both; }
.ch.open .ch-l2 b { animation: chGloss 1.4s cubic-bezier(.45, 0, .25, 1) 1.7s both; }
.ch.open .ch-rule { opacity: 1; transition: opacity .3s ease 1.5s; }
.ch.open .ch-rule i { transform: none; transition: transform .8s cubic-bezier(.5, 0, .2, 1) 1.55s; }
.ch.open .ch-rule img { opacity: 1; transform: none; transition: opacity .4s ease 1.75s, transform .5s cubic-bezier(.3, 1.4, .5, 1) 1.75s; }
.ch.open .ch-sub { animation: chSub .85s ease 1.85s both; }
@keyframes chLine {
  0% { opacity: 0; transform: translateY(.34em); clip-path: inset(0 -20% 100% -20%); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: none; clip-path: inset(-30% -20% -30% -20%); }
}
@keyframes chGloss { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes chSub { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* the tap hint: quiet spaced caps on a breathing hairline */
.ch-hint { position: absolute; left: 50%; bottom: calc(4.6% + env(safe-area-inset-bottom) * .5); transform: translateX(-50%); z-index: 3; border: 0; background: none; padding: 14px 18px 16px;
  font: 500 11.5px/1 var(--ch-sans); letter-spacing: .38em; text-transform: uppercase; color: var(--ink); white-space: nowrap; cursor: pointer; opacity: 0; transition: opacity .9s ease .6s; }
.ch-hint span { padding-left: .38em; }
.ch-hint::after { content: ''; position: absolute; left: 32%; right: 32%; bottom: 6px; height: 1px; background: color-mix(in srgb, var(--accent) 70%, transparent); animation: chHint 2.6s ease-in-out infinite; }
@keyframes chHint { 0%, 100% { transform: scaleX(.25); opacity: .35; } 50% { transform: scaleX(1); opacity: .9; } }
.ch.ready .ch-hint { opacity: 1; }
.ch.open .ch-hint { opacity: 0; transition: opacity .3s ease; }
.ch.cake .ch-hint { bottom: auto; top: calc(var(--ch-fl, 85%) - var(--ch-sh, 250px) * 1.2); }
.ch-meas { position: absolute; left: -9999px; top: 0; white-space: nowrap; visibility: hidden; }
.ch-meas.l1 { font: italic 700 100px/1 var(--ch-disp); letter-spacing: -.022em; }
.ch-meas.l2 { font: 500 100px/1 var(--ch-disp); letter-spacing: -.004em; }
/* the engine's scroll cue above the layer, once the hero is done */
html.ch-on .hero .cue { z-index: 8; --cue-ink: var(--accent); color: var(--accent); }
html.ch-on .hero .cue span { font-family: var(--ch-sans); }
/* the cake fills the bottom: the cue waits above it, never on the frosting */
html.ch-on.ch-cakehero .hero .cue { bottom: auto; top: calc(100% - var(--ch-sh, 250px) * 1.04 - 40px); }
/* ?open (studio / previews) and reduced motion: the finished hero at once */
.ch.instant *, .ch.instant { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }
.ch.instant .ch-hint::after { animation: none !important; }

/* ───────── the pages ───────── */
html.ch-on #content > .sec:not(.foot) { padding-top: 58px; padding-bottom: 56px; }
html.ch-on #content .sec p { font-family: var(--ch-serif); font-weight: 400; font-size: 17.5px; line-height: 1.5; color: var(--ink); }
html.ch-on .kicker { font-family: var(--ch-sans); font-size: 11.5px; letter-spacing: .38em; font-weight: 500; color: var(--ch-dark); }
html.ch-on.gf-serifheads h2.script, html.ch-on.gf-serifheads .note h2.script { font-family: var(--ch-disp); font-style: italic; font-weight: 600; font-size: 42px; line-height: 1.06;
  letter-spacing: -.012em; text-transform: none; color: var(--accent); margin-top: 10px; text-wrap: balance; }
html.ch-on.gf-serifheads h2.script::after { display: none; }
@media (max-width: 340px) { html.ch-on.gf-serifheads h2.script, html.ch-on.gf-serifheads .note h2.script { font-size: 35px; } }
html.ch-on .btn { border-radius: 999px; font-family: var(--ch-sans); font-size: 11px; letter-spacing: .28em; font-weight: 500; padding: 15px 28px 15px 32px; min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); color: var(--accent); background: transparent; box-shadow: none; }
html.ch-on .btn.fill { border: 0; color: #fff; background: linear-gradient(180deg, var(--ch-hi) -40%, var(--accent) 45%, var(--ch-dark) 120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 24px -14px color-mix(in srgb, var(--ch-dark) 80%, transparent); }
/* small cherry cut-outs as ornaments — always in their own space above the words */
.ch-orn { display: flex; justify-content: center; margin: 0 auto 22px; pointer-events: none; }
.ch-orn img { display: block; width: 26px; height: auto; transform: rotate(-6deg); filter: drop-shadow(0 3px 2px color-mix(in srgb, var(--ch-shc) 26%, transparent)); }
.ch-orn.trio { margin: 0 auto 18px; }
.ch-orn.trio img { width: 92px; transform: none; filter: drop-shadow(0 5px 4px color-mix(in srgb, var(--ch-shc) 22%, transparent)); }
/* dividers: a feathered hairline with one small cherry in the middle */
html.ch-on .divider.ldiv.ch-div { position: relative; display: flex; justify-content: center; align-items: center; height: 34px; }
html.ch-on .divider.ldiv.ch-div svg { display: none; }
html.ch-on .divider.ldiv.ch-div::before { content: ''; position: absolute; left: 14%; right: 14%; top: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 40%, transparent) 30%, transparent 44%, transparent 56%, color-mix(in srgb, var(--accent) 40%, transparent) 70%, transparent); }
html.ch-on .divider img.ch-dc { width: 15px; height: auto; position: relative; margin-top: -4px; filter: drop-shadow(0 2px 1.5px color-mix(in srgb, var(--ch-shc) 28%, transparent)); }

/* the invitation */
html.ch-on .sec.invite .names-big { font-family: var(--ch-disp); font-style: italic; font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -.02em; color: var(--accent); margin: 14px 0 10px; }
html.ch-on .sec.invite .names-big .amp { font-weight: 400; font-size: .5em; color: var(--accent); }
html.ch-on .sec.invite .dateline { border: 0; gap: 14px; margin-top: 30px; }
html.ch-on .sec.invite .dateline span { border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  font-family: var(--ch-sans); font-size: 11.5px; letter-spacing: .3em; color: var(--ink); }
html.ch-on .sec.invite .dateline b { font-family: var(--ch-disp); font-style: italic; font-weight: 600; color: var(--accent); }
html.ch-on .sec.invite .dateline b small { font-family: var(--ch-sans); font-style: normal; font-size: 11px; letter-spacing: .3em; color: var(--ink); }
html.ch-on .timeline-words { font-style: italic; color: var(--soft) !important; }

/* the countdown: big glossy numerals, no boxes */
html.ch-on .countdown .framed, html.ch-on .countdown .framed.plain { border: 0; padding: 0; background: none; }
html.ch-on .countdown .framed-in { border: 0; padding: 0; }
html.ch-on .countdown .cd-days b { font-family: var(--ch-disp); font-style: italic; font-weight: 700; font-size: min(34cqw, 120px); line-height: .9; letter-spacing: -.03em; color: var(--accent); }
html.ch-on .countdown .cd-days span, html.ch-on .countdown .cd-row span { font-family: var(--ch-sans); font-size: 11px; letter-spacing: .3em; color: var(--ink); }
html.ch-on .countdown .cd-row { border-top: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
html.ch-on .countdown .cd-row > div { border: 0; }
html.ch-on .countdown .cd-row > div + div { border-left: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
html.ch-on .countdown .cd-row b { font-family: var(--ch-disp); font-weight: 500; color: var(--ink); }
html.ch-on .countdown .cd-t { font-family: var(--ch-serif); font-style: italic; font-size: 18.5px; color: var(--ink); }

/* the plan: light airy rules between the items only — no boxes */
html.ch-on .schedule .prog { max-width: 340px; margin: 26px auto 0; }
html.ch-on .schedule .prog li, html.ch-on .schedule .prog li.alt { display: block; text-align: center; padding: 22px 0 20px; border: 0; position: relative; }
html.ch-on .schedule .prog li + li::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 38%, transparent), transparent); }
html.ch-on .schedule .prog .pi { display: none; }
html.ch-on .schedule .prog .pt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
html.ch-on .schedule .prog .pt time { order: -1; font: 500 11.5px/1.4 var(--ch-sans); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: var(--ch-dark); }
html.ch-on .schedule .prog .pt b { font: italic 600 25px/1.15 var(--ch-disp); letter-spacing: -.01em; text-transform: none; color: var(--ink); margin: 0; }
html.ch-on .schedule .prog .pt span { font: italic 400 16.5px/1.4 var(--ch-serif); color: var(--soft); }

/* photos: glossy thin frames — a lacquered keyline in the fruit colour, the photo set INTO it (inner shadow), a soft drop shadow */
html.ch-on .photos .portrait.noframe { width: min(80%, 310px); border-radius: 999px 999px 6px 6px; padding: 0;
  box-shadow: 0 26px 40px -24px color-mix(in srgb, var(--ch-shc) 70%, transparent), 0 3px 8px color-mix(in srgb, var(--ch-shc) 14%, transparent); }
html.ch-on .photos .portrait.noframe::after { inset: -6px; border-radius: 999px 999px 10px 10px; border: 2px solid transparent;
  background: linear-gradient(140deg, var(--ch-hi), var(--accent) 28%, var(--ch-dark) 58%, var(--accent) 80%, var(--ch-hi)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
html.ch-on .photos .portrait.noframe .ph::after, html.ch-on .gf-gal figure::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .28), inset 0 0 40px rgba(0, 0, 0, .14);
  background: linear-gradient(155deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 32%); }
html.ch-on .gf-gal { gap: 24px 18px; margin-top: 40px; }
html.ch-on .gf-gal figure { position: relative; border-radius: 4px; box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px color-mix(in srgb, var(--paper) 60%, #fff), 0 0 0 4.6px color-mix(in srgb, var(--accent) 35%, transparent),
  0 20px 30px -18px color-mix(in srgb, var(--ch-shc) 70%, transparent); }
html.ch-on .gf-gal img { border-radius: 4px; }
html.ch-on .portrait .ph, html.ch-on .gf-gal img { filter: saturate(1.04) contrast(1.03); }

/* venue + the map card */
html.ch-on .venue-name { font-family: var(--ch-disp); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-top: 18px; }
html.ch-on .venue .addr { font-size: 19px; color: var(--soft); }
.ch-map { position: relative; width: min(100%, 340px); aspect-ratio: 16 / 10; margin: 26px auto 24px; border-radius: 6px; overflow: hidden;
  background: color-mix(in srgb, var(--paper) 82%, var(--table) 18%);
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px color-mix(in srgb, var(--paper) 70%, #fff), 0 0 0 5px color-mix(in srgb, var(--accent) 45%, transparent), 0 22px 32px -20px color-mix(in srgb, var(--ch-shc) 70%, transparent); }
.ch-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ch-map .mw { fill: color-mix(in srgb, var(--accent2) 55%, var(--paper)); opacity: .7; }
.ch-map .mp { fill: color-mix(in srgb, var(--accent2) 40%, var(--paper)); opacity: .6; }
.ch-map .ms path { stroke: #fff; stroke-width: 6; fill: none; stroke-linecap: round; opacity: .9; }
.ch-map .ms { filter: drop-shadow(0 0 .6px color-mix(in srgb, var(--ink) 30%, transparent)); }
.ch-map .mt path { stroke: color-mix(in srgb, var(--ink) 12%, transparent); stroke-width: 1; fill: none; stroke-linecap: round; }
.ch-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 2px 10px rgba(0, 0, 0, .12); background: radial-gradient(80% 70% at 50% 45%, transparent 55%, color-mix(in srgb, var(--paper) 50%, transparent)); }
.ch-mpin { position: absolute; left: 50%; top: 50%; width: 30px; height: auto; transform: translate(-50%, -88%) rotate(-5deg); filter: drop-shadow(0 2px 1px color-mix(in srgb, var(--ch-shc) 35%, transparent)); }
.ch-mpin-sh { position: absolute; left: 50%; top: 50%; width: 34px; height: 10px; transform: translate(-46%, -55%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ch-shc) 62%, transparent), color-mix(in srgb, var(--ch-shc) 18%, transparent) 60%, transparent); }

/* dress code */
html.ch-on .dress .dress-title { font-family: var(--ch-disp); font-style: italic; font-weight: 600; font-size: 25px; letter-spacing: -.005em; text-transform: none; color: var(--ink); }

/* notes (gifts, good to know, own pages): no box — a fine rule above */
html.ch-on .note-card { padding: 0; border: 0; outline: 0; background: none; box-shadow: none; }
html.ch-on .note-card::before, html.ch-on .note-card::after { display: none; }

/* the reply: no wax seal; the heading and a glossy cherry button */
html.ch-on .rsvp .seal { display: none; }

/* the last page */
html.ch-on .sec.foot { padding-bottom: 72px; }
html.ch-on .sec.foot .sig { font-family: var(--ch-disp); font-style: italic; font-weight: 500; font-size: 25px; line-height: 1.35; color: var(--accent); }
/* fonts 2026-11-19: the engine's address line was sized for Cormorant (19 px !important) → Playfair ×.9 */
html.ch-on .venue .addr { font-size: 17px !important; }
