/* =====================================================================
   SPInvite — full-page invitation designs (pages/rsvp/invite.js).
   Layout, motion and timings follow reference/raikanfarisyanie one to one:
   cover gate with corner flowers that gather on "Buka Jemputan", a sticky
   parallax hero that pins the pelamin while the couple rises into it, then
   the content sections and a frosted bottom nav. Artwork is CoreLuke's own
   (pages/rsvp/art/<design>/, built by tools/build-invite-art.mjs).
   Each design sets the --ivx-* tokens on .ivx[data-design].
   ===================================================================== */
.ivx {
  --bg-primary: #fdf8f4;
  --bg-secondary: #f5ede4;
  --text-primary: #5a5a5a;
  --text-secondary: #6b6b70;
  --accent-gold: #bb9958;
  --accent-gold-light: #d4b96a;
  --accent-rose: #c4917b;
  --border-light: #e8ddd2;
  --nav-bg: rgba(253, 248, 244, .88);
  --gate: #1a2744;
  --gate-ink: #ffffff;
  --hero-ink: #c8890a;
  --hero-ink-2: #e0a955;
  --hero-soft: rgba(224, 169, 85, .85);
  --hero-bg: linear-gradient(180deg, #1a2744 0%, #1a2744 18%, #d9e8f0 32%, #fdf8f4 48%, #fdf8f4 100%);
  --font-display: "Playfair Display", Georgia, serif;
  --font-names: var(--font-display);
  --font-arabic: "Amiri", "Times New Roman", serif;
  --font-body: "Lato", system-ui, sans-serif;
  --font-label: "Montserrat", system-ui, sans-serif;
  --couple-margin-top: calc(-300px - 85svh);
  --u: 1;
  /* the shared sheets (card.css .ivc-*) read these */
  --iv-card: var(--bg-primary); --iv-soft: var(--bg-secondary); --iv-ink: var(--text-primary); --iv-muted: var(--text-secondary);
  --iv-gold: var(--accent-gold); --iv-accent: var(--accent-rose); --iv-line: var(--border-light);
  --iv-display: var(--font-display); --iv-text: var(--font-body); --iv-label: var(--font-label); --iv-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative; font-family: var(--font-body); color: var(--text-primary); -webkit-font-smoothing: antialiased;
}
.ivx *, .ivx *::before, .ivx *::after { box-sizing: border-box; }
.ivx img { max-width: none; }
.ivx p, .ivx h1, .ivx h2, .ivx h3, .ivx blockquote { margin: 0; }
.ivx button { font: inherit; }
.ivx iconify-icon { vertical-align: -.18em; }
@media (min-width: 769px) { .ivx { --couple-margin-top: calc(-100px - 100svh); } }

html.ivx-doc { scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior: none; }
html.ivx-doc::-webkit-scrollbar, html.ivx-doc body::-webkit-scrollbar { display: none; width: 0; height: 0; }
html.ivx-doc body { margin: 0; min-height: 100vh; scrollbar-width: none; overscroll-behavior: none; background: var(--ivx-shell, #1a1a1f); }

/* ── Shared bits ── */
.ivx-center { text-align: center; }
.ivx-eyebrow { margin-bottom: 8px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-gold); }
.ivx-h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.33; font-weight: 400; color: var(--text-primary); }
.ivx-sub { max-width: 320px; margin: 12px auto 0; font-size: 14px; line-height: 1.63; color: var(--text-secondary); }
.ivx-small { font-size: 14px; line-height: 1.63; color: var(--text-secondary); }
.ivx-shimmer {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light), var(--accent-gold)); background-size: 200%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: 3s linear infinite ivxShimmer;
}
.ivx-divider { display: flex; justify-content: center; padding: 16px 0; }
.ivx-divider img { display: block; height: auto; }
.ivx-heart { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0; }
.ivx-heart i { flex: 1; max-width: 70px; height: 1px; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--accent-gold) 60%, transparent)); }
.ivx-heart i:last-child { background: linear-gradient(to left, transparent, color-mix(in srgb, var(--accent-gold) 60%, transparent)); }
.ivx-heart svg { flex-shrink: 0; color: var(--accent-rose); }
@keyframes ivxShimmer { 0% { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes ivxFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Cover gate ── */
.ivx-cover { position: fixed; top: 0; bottom: 0; left: 50%; z-index: 50; width: 100%; max-width: 425px; transform: translateX(-50%); }
.ivx-flowers { position: absolute; inset: 0; overflow: hidden; }
.ivx-backdrop { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: var(--gate); transition: opacity .45s ease; }
.ivx-flowers.is-gathering:not(.is-curtain) .ivx-backdrop { opacity: 1; }
.ivx-flowers.is-gathering.is-curtain .ivx-backdrop { opacity: 0; }
.ivx-loader { position: absolute; inset: 0; z-index: 32; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; animation: .2s ease-out forwards ivxFadeIn; }
.ivx-spinner { display: block; width: 34px; height: 34px; border: 2.5px solid color-mix(in srgb, var(--gate-ink) 20%, transparent); border-top-color: var(--gate-ink); border-radius: 50%; animation: .8s linear infinite ivxSpin; }
@keyframes ivxSpin { to { transform: rotate(360deg); } }
.ivx-gate { position: absolute; inset: 0; z-index: 35; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity .3s; }
.ivx-flowers.is-gathering .ivx-gate { opacity: 0; }
.ivx-dots { position: absolute; inset: 0; opacity: .06;
  background-image: radial-gradient(circle at 30% 40%, var(--gate-ink) 1px, transparent 2px), radial-gradient(circle at 70% 60%, var(--gate-ink) 1px, transparent 2px), radial-gradient(circle at 50% 80%, var(--gate-ink) .5px, transparent 1.5px);
  background-size: 50px 50px, 60px 60px, 40px 40px; }
.ivx-frame-line { position: absolute; inset: 20px; border: 1px solid color-mix(in srgb, var(--gate-ink) 25%, transparent); border-radius: 8px; pointer-events: none; }
.ivx-gate-copy { position: relative; z-index: 35; padding: 0 32px; text-align: center; opacity: 0; animation: 1s ease-out .3s forwards ivxFadeIn; }
.ivx-bism { margin-bottom: 8px !important; font-family: var(--font-arabic); font-size: 18px; line-height: 1.55; color: var(--gate-ink); }
.ivx-gate-eyebrow { margin-bottom: 12px !important; font-size: 12px; font-weight: 500; letter-spacing: .35em; text-transform: uppercase; color: color-mix(in srgb, var(--gate-ink) 55%, transparent); }
.ivx-arabic { margin: 0; padding: .1em 0; font-family: var(--font-arabic); font-size: 3.4rem; font-weight: 400; line-height: 1.6; direction: rtl; text-shadow: 0 2px 20px color-mix(in srgb, var(--gate-ink) 25%, transparent);
  background: linear-gradient(90deg, var(--gate-ink), color-mix(in srgb, var(--gate-ink) 65%, transparent), var(--gate-ink)); background-size: 200%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: 3s linear infinite ivxShimmer; }
.ivx-arabic + .ivx-dan + .ivx-arabic { margin-bottom: 8px; }
.ivx-dan { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -12px auto; }
.ivx-dan i { width: 60px; height: 1px; background: linear-gradient(to right, transparent, var(--gate-ink)); }
.ivx-dan i:last-child { background: linear-gradient(to left, transparent, var(--gate-ink)); }
.ivx-dan span { font-family: var(--font-arabic); font-size: 1.6rem; color: color-mix(in srgb, var(--gate-ink) 80%, transparent); }
.ivx-to { margin: 2px 0 14px !important; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--gate-ink) 55%, transparent); }
.ivx-to b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 18px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gate-ink); }
.ivx-open { position: relative; padding: 12px 40px; border: 1.5px solid var(--gate-ink); border-radius: 999px; background: transparent; color: var(--gate-ink); font-size: 14px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s; }
.ivx-open:hover { background: color-mix(in srgb, var(--gate-ink) 12%, transparent); }
.ivx-open:focus-visible { outline: 2px solid var(--gate-ink); outline-offset: 3px; }
.ivx-gate-note { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 35; text-align: center; font-size: 12px; color: color-mix(in srgb, var(--gate-ink) 40%, transparent); }
.ivx-exit { animation: .3s forwards ivxGone !important; }
@keyframes ivxGone { to { opacity: 0; } }

/* butterflies / doves */
.ivx-fly { position: absolute; z-index: 41; pointer-events: none; }
.ivx-fly.is-mirror { transform: scaleX(-1); }
.ivx-fly img { width: 50px; opacity: 0; animation: .8s ease-out 2s forwards ivxFlyIn, 4s ease-in-out 2.8s infinite ivxFloat; }
.ivx-fly.is-late img { animation: .8s ease-out 2.2s forwards ivxFlyIn, 4.5s ease-in-out 3s infinite ivxFloat; }
@keyframes ivxFlyIn { 0% { opacity: 0; transform: translateY(-10px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ivxFloat { 0%, to { transform: none; } 25% { transform: translateY(-6px) rotate(2deg); } 50% { transform: translateY(-3px) rotate(-1deg); } 75% { transform: translateY(-8px) rotate(1.5deg); } }

/* corner flowers: page-load entrance and the gather on open converge on the
   same point, --gx/--gy/--gs, measured in JS from each flower's real position */
.ivx-fl { position: absolute; z-index: 40; pointer-events: none; will-change: transform; backface-visibility: hidden; animation: 2s ease-in-out .3s both ivxFlowerIn; }
.ivx-fl img { display: block; width: 100%; }
.ivx-fl .is-flip { transform: scale(-1, -1); }
.ivx-fl .is-flip-x { transform: scaleX(-1); }
@keyframes ivxFlowerIn {
  0%, 20% { transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0) scale(var(--gs, 1)); }
  to { transform: translate(0, 0) scale(1); }
}
@keyframes ivxFlowerGather {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  25%, 72% { opacity: 1; transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0) scale(var(--gs, 1)); }
  to { opacity: 0; transform: translate(0, 0) scale(1); }
}
.ivx-flowers.is-gathering .ivx-fl { animation: 1.6s ease-in-out forwards ivxFlowerGather !important; }
.ivx-flowers.is-gathering .ivx-fl img { animation: none !important; }
.ivx-sway-1 { transform-origin: top; animation: 4s cubic-bezier(.45, 0, .55, 1) infinite ivxWind; }
.ivx-sway-2 { transform-origin: top; animation: 4.5s cubic-bezier(.45, 0, .55, 1) .5s infinite ivxWind2; }
.ivx-sway-3 { transform-origin: bottom; animation: 4s cubic-bezier(.45, 0, .55, 1) 1s infinite ivxWind; }
.ivx-sway-4 { transform-origin: bottom; animation: 4s cubic-bezier(.45, 0, .55, 1) 1.5s infinite ivxWind; }
@keyframes ivxWind { 0%, to { transform: none; } 50% { transform: rotate(3deg) translate(6px); } }
@keyframes ivxWind2 { 0%, to { transform: none; } 30% { transform: rotate(-2deg) translate(-5px); } 70% { transform: rotate(1.5deg) translate(4px); } }

/* sparkles */
.ivx-sparkles { pointer-events: none; overflow: hidden; opacity: .35; }
.ivx-sparkles.is-cover { position: fixed; inset: 0; z-index: 5; }
.ivx-sparkles.is-hero { position: fixed; top: 0; bottom: 0; left: 50%; z-index: 5; width: 100%; max-width: 375px; transform: translateX(-50%); }
.ivx-spark { position: absolute; top: -5%; animation: linear infinite ivxFall; }
@keyframes ivxFall { 0% { transform: translateY(-5vh) translate(0) rotate(0); } to { transform: translateY(105vh) translateX(var(--drift, 0px)) rotate(360deg); } }

/* ── Main column ── */
.ivx-main { position: relative; width: 100%; max-width: 425px; margin: 0 auto; overflow-x: clip; background: var(--bg-primary); }

/* ── Hero ── */
.ivx-hero { position: relative; isolation: isolate; z-index: 10; width: 100%; }
.ivx-hero.is-handoff { z-index: 4; }
.ivx-track { height: calc(2000px * var(--u)); }
.ivx-sticky { position: sticky; top: 0; z-index: 1; height: 100vh; height: 100lvh; overflow: clip; background: var(--gate); }
.ivx-scene { position: relative; z-index: 1; width: 100%; min-height: calc(2000px * var(--u)); background: var(--hero-bg); }
.ivx-layer { position: absolute; pointer-events: none; will-change: transform; }
.ivx-layer img, img.ivx-layer { display: block; width: 100%; height: auto; }
.ivx-sky { top: 0; left: 0; width: 100%; height: 50% !important; object-fit: cover; object-position: top center; }
.ivx-bush-bg { left: -5%; width: 110%; bottom: calc(1020px * var(--u)); }
.ivx-bush-bg img { opacity: .9; animation: bushWindBg 5s ease-in-out infinite; }
.ivx-bush-fg { left: -15%; width: 150%; bottom: calc(1010px * var(--u)); }
.ivx-bush-fg.is-low { bottom: calc(950px * var(--u)); }
.ivx-bush-fg.is-low > div { transform: scaleX(-1); }
.ivx-bush-fg img { animation: bushWindFg 3.5s ease-in-out -1.2s infinite; }
.ivx-house { left: 0; width: 100%; bottom: calc(580px * var(--u)); }
.ivx-pelamin { left: 0; width: 100%; bottom: calc(510px * var(--u)); }
@keyframes bushWindBg { 0%, to { transform: none; } 30% { transform: translate(7px); } 65% { transform: translate(-5px); } }
@keyframes bushWindFg { 0%, to { transform: none; } 35% { transform: translate(-6px); } 70% { transform: translate(4px); } }

.ivx-hero-copy { position: absolute; left: 0; right: 0; top: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; padding-top: 96px; text-align: center; }
@media (min-width: 768px) { .ivx-hero-copy { padding-top: 160px; } }
.ivx-s1-label { margin-bottom: 16px !important; font-family: var(--font-arabic); font-size: 1.1rem; letter-spacing: .4em; color: var(--hero-soft); opacity: 0; }
.ivx-s1-name { display: inline-block; overflow: hidden; margin: 0; font-family: var(--font-names); font-size: 3rem; font-weight: 400; line-height: 1.1; color: var(--hero-ink); }
.ivx-s1-name > span { display: inline-block; opacity: 0; }
.ivx-s1-weds { display: flex; align-items: center; justify-content: center; gap: 14px; width: fit-content; margin: -8px auto; }
.ivx-s1-line { display: block; flex-shrink: 0; width: 60px; height: 1px; border-radius: 2px; opacity: 0; transform: scaleX(0); background: linear-gradient(to right, transparent, var(--hero-ink)); transform-origin: 100%; }
.ivx-s1-line:last-child { background: linear-gradient(to left, transparent, var(--hero-ink)); transform-origin: 0; }
.ivx-s1-amp { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; letter-spacing: .3em; color: var(--hero-ink); text-shadow: 0 2px 12px rgba(0, 0, 0, .2); opacity: 0; }
.ivx-s1-date { margin-top: 24px !important; font-family: var(--font-display); font-size: 1rem; font-style: italic; color: var(--hero-soft); text-shadow: 0 2px 15px rgba(0, 0, 0, .2); opacity: 0; }
.ivx-s1-hint { display: flex; flex-direction: column; align-items: center; margin-top: 12px; opacity: 0; }
.ivx-s1-hint p { margin-bottom: 2px !important; font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--hero-soft); opacity: .6; }
.ivx-chevrons { display: flex; flex-direction: column; align-items: center; color: var(--hero-soft); }
.ivx-chevrons svg:first-child { opacity: .5; animation: 1.5s ease-in-out infinite ivxChevron; }
.ivx-chevrons svg:last-child { opacity: .3; animation: 1.5s ease-in-out .2s infinite ivxChevron; }
@keyframes ivxChevron { 0%, to { opacity: .4; transform: none; } 50% { opacity: 1; transform: translateY(4px); } }

.ivx-hero.is-active .ivx-s1-label { animation: 1s ease-out .2s forwards ivxFadeDown; }
.ivx-hero.is-active .ivx-s1-line { animation: 1s ease-out 1.1s forwards ivxLines; }
.ivx-hero.is-active .ivx-s1-amp { animation: .8s ease-out 1.3s forwards ivxAmp; }
.ivx-hero.is-active .ivx-s1-date { animation: 1s ease-out 2.6s forwards ivxFadeDown; }
.ivx-hero.is-active .ivx-s1-hint { animation: 1s ease-out 4s forwards ivxFadeDown; }
.ivx-hero.is-active .ivx-s1-name > span {
  background: linear-gradient(90deg, var(--hero-ink), var(--hero-ink-2), var(--hero-ink)); background-size: 200%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: 1.2s cubic-bezier(.22, 1, .36, 1) .6s forwards ivxMaskRise, 5s linear 2s infinite ivxShimmer;
}
.ivx-hero.is-active .ivx-s1-name.is-2 > span { animation: 1.2s cubic-bezier(.22, 1, .36, 1) 1.4s forwards ivxMaskRise, 5s linear 2.8s infinite ivxShimmer; }
@keyframes ivxFadeDown { 0% { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes ivxMaskRise { 0% { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@keyframes ivxLines { 0% { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes ivxAmp { 0% { opacity: 0; } to { opacity: .85; } }

.ivx-couple { position: relative; z-index: 10; margin-top: var(--couple-margin-top); overflow-x: clip; pointer-events: none; transition: opacity .35s ease; }
.ivx-couple-glow { position: absolute; top: 0; left: 50%; z-index: 1; width: 120%; height: 90svh; pointer-events: none; opacity: 0; transform: translateX(-50%);
  background: radial-gradient(ellipse 80% 60% at 50% 100%, var(--glow, rgba(255, 255, 255, .88)) 0%, color-mix(in srgb, var(--glow, rgba(255, 255, 255, .88)) 35%, transparent) 35%, transparent 60%), linear-gradient(to top, var(--bg-primary) 0%, transparent 40%); }
.ivx-couple-img { position: relative; z-index: 2; display: block; width: 100% !important; max-height: min(85svh, 720px); height: auto; margin: 0 auto; object-fit: contain; object-position: center bottom; }
.ivx-nav-trigger { height: 0; }

/* ── Content ── */
.ivx-content { position: relative; z-index: 6; overflow: hidden; padding-bottom: 80px; background-color: var(--bg-primary); background-repeat: repeat; background-size: 250px; opacity: 0; pointer-events: none; }
.ivx.is-open .ivx-content { opacity: 1; pointer-events: auto; transition: opacity .4s ease; }
.ivx-greet { position: relative; padding: 32px 24px 12px; text-align: center; }
.ivx-greet::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-primary) 42%, color-mix(in srgb, var(--bg-primary) 98%, transparent) 55%, transparent 78%); }
.ivx-greet .ivx-bism-lg { margin-bottom: 16px !important; font-family: var(--font-arabic); font-size: 30px; line-height: 1.2; color: var(--accent-gold); }
.ivx-greet .ivx-salam { margin-bottom: 32px !important; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-secondary); }
.ivx-parent { font-family: var(--font-display); font-size: 24px; line-height: 1.33; }
.ivx-amp { margin: 4px 0 !important; font-family: var(--font-display); font-style: italic; color: var(--accent-gold); }
.ivx-parent.is-2 { margin-bottom: 24px !important; }
.ivx-greet .ivx-small { max-width: 320px; margin: 0 auto; }

.ivx-people { padding: 12px 24px 48px; text-align: center; }
.ivx-portrait { display: block; width: min(300px, 88vw) !important; height: auto; margin: 0 auto 16px; pointer-events: none; }
.ivx-person-name { margin-bottom: 4px !important; font-family: var(--font-display); font-size: 36px; line-height: 1.11; font-weight: 400; }
.ivx-people .ivx-small { margin-bottom: 4px !important; }

.ivx-details { padding: 32px 24px 16px; text-align: center; }
.ivx-details .ivx-stack { display: flex; flex-direction: column; gap: 32px; }
.ivx-details .ivx-addr { max-width: 270px; margin: 4px auto 0 !important; }

.ivx-sched { padding: 16px 24px 24px; }
.ivx-sched > div > .ivx-eyebrow { margin-bottom: 40px; text-align: center; font-family: var(--font-label); }
.ivx-tl { position: relative; max-width: 320px; margin: 0 auto; }
.ivx-tl-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: var(--accent-gold); opacity: .35; }
.ivx-tl-fill { position: absolute; top: 0; left: 50%; z-index: 1; width: 2px; height: 0; transform: translateX(-50%); background: var(--accent-gold); transition: height .35s cubic-bezier(.4, 0, .2, 1); }
.ivx-tl.is-in .ivx-tl-fill { height: 100%; }
.ivx-tl-cap { position: relative; z-index: 10; display: flex; justify-content: center; margin: 0 0 24px; }
.ivx-tl-cap:last-child { margin: 24px 0 0; }
.ivx-tl-cap i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-gold); }
.ivx-tl-rows { display: flex; flex-direction: column; gap: 32px; }
.ivx-tl-row { position: relative; display: flex; align-items: center; }
.ivx-tl-row > div { width: 50%; transition: opacity .5s; }
.ivx-tl-row > div:first-child { padding-right: 24px; text-align: right; }
.ivx-tl-row > div:last-child { padding-left: 24px; text-align: left; }
.ivx-tl-row > div.is-off { opacity: 0; pointer-events: none; }
.ivx-tl-row b { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.ivx-tl-row span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.375; color: var(--text-secondary); }
.ivx-tl-icon { position: absolute; left: 50%; z-index: 10; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid var(--accent-gold); border-radius: 50%; transform: translateX(-50%);
  background: var(--icon-bg, #fff); color: var(--accent-gold); font-size: 18px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-gold) 12%, transparent); }

.ivx-count-sec { padding: 48px 24px; text-align: center; }
.ivx-count-sec .ivx-eyebrow { margin-bottom: 24px; }
.ivx-count { display: flex; justify-content: center; gap: 12px; }
.ivx-count > div { min-width: 70px; padding: 12px 16px; border-radius: 12px; text-align: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-gold) 8%, transparent), color-mix(in srgb, var(--accent-gold) 2%, transparent)); border: 1px solid color-mix(in srgb, var(--accent-gold) 15%, transparent); }
.ivx-count b { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--accent-gold); font-variant-numeric: tabular-nums; }
.ivx-count span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-secondary); }

.ivx-doa { padding: 40px 24px; text-align: center; }
.ivx-doa blockquote { margin-bottom: 16px; font-family: var(--font-display); font-size: 18px; font-style: italic; line-height: 1.63; color: var(--text-primary); }
.ivx-doa p { font-size: 12px; color: var(--text-secondary); }

.ivx-story { padding: 48px 0; }
.ivx-story .ivx-heading { margin-bottom: 40px; }
.ivx-story-list { display: flex; flex-direction: column; gap: 40px; padding: 0 24px; }
.ivx-story-img { position: relative; max-width: 320px; margin: 0 auto; }
.ivx-story-img img { display: block; width: 100% !important; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #f0ebe3; pointer-events: none; }
.ivx-story-txt { max-width: 320px; margin: 16px auto 0; text-align: center; }
.ivx-story-txt b { display: block; margin-bottom: 4px; font-family: var(--font-label); font-size: 14px; font-weight: 600; color: var(--text-primary); }
.ivx-story-txt p { font-size: 12px; line-height: 1.63; color: var(--text-secondary); }
.ivx-story-div { display: flex; justify-content: center; margin-top: 12px; }

.ivx-gallery { padding: 48px 0; }
.ivx-gallery .ivx-heading { margin-bottom: 32px; padding: 0 24px; }
.ivx-gal-track { display: flex; gap: 12px; overflow-x: auto; padding: 0 24px 8px; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
.ivx-gal-track::-webkit-scrollbar { display: none; }
.ivx-gal-track > div { flex-shrink: 0; width: 72%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); scroll-snap-align: center; }
.ivx-gal-track img { display: block; width: 100% !important; height: 100%; object-fit: cover; background: #f0ebe3; }
.ivx-gal-ctl { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 16px; }
.ivx-gal-arrow { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border: 1.5px solid var(--accent-gold); border-radius: 50%; background: transparent; color: var(--accent-gold); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.ivx-gal-arrow:hover { background: var(--accent-gold); color: #fff; }
.ivx-gal-dots { display: flex; align-items: center; gap: 8px; }
.ivx-gal-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--accent-gold) 35%, transparent); cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.ivx-gal-dots button.is-on { width: 18px; background: var(--accent-gold); }

.ivx-book { padding: 24px 24px; text-align: center; }
.ivx-book .ivx-heading { margin-bottom: 24px; }
.ivx-loop { position: relative; height: 260px; overflow: hidden; cursor: grab; }
.ivx-loop-item { padding: 16px 0; text-align: center; }
.ivx-loop-item p { margin-bottom: 6px !important; padding: 0 16px; font-size: 14px; font-style: italic; line-height: 1.63; color: var(--text-secondary); }
.ivx-loop-item b { font-size: 12px; font-weight: 600; color: var(--accent-gold); }
.ivx-loop-item i { display: block; width: 32px; height: 1px; margin: 16px auto 0; background: var(--border-light); }
.ivx-shine { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 24px auto 0; padding: 12px 40px; overflow: hidden; border: 0; border-radius: 999px; background: var(--accent-gold); color: var(--on-accent, #fff); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s; }
.ivx-shine::after { content: ""; position: absolute; top: -20%; left: -120%; width: 60%; height: 140%; transform: skew(-15deg);
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .07) 40%, rgba(255, 255, 255, .13) 50%, rgba(255, 255, 255, .07) 60%, transparent 80%); animation: 4s cubic-bezier(.4, 0, .6, 1) infinite ivxShine; }
.ivx-shine:focus-visible, .ivx-gal-arrow:focus-visible, .ivx-nav button:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }
@keyframes ivxShine { 0% { opacity: 0; left: -120%; } 10% { opacity: 1; } 50% { opacity: 1; left: 160%; } 51% { opacity: 0; } to { opacity: 0; left: 160%; } }

.ivx-foot { padding-bottom: 32px; text-align: center; }
.ivx-foot .ivx-tag { font-family: var(--font-display); font-size: 24px; line-height: 1.33; color: var(--accent-gold); }
.ivx-foot .ivx-small { margin-top: 16px; }
.ivx-foot .ivx-small + .ivx-small { margin-top: 4px; }
.ivx-foot .ivx-by { margin-top: 32px !important; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-secondary); }
.ivx-foot a { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--accent-gold); text-decoration: none; }

/* scroll reveal: children rise and scale in, staggered */
.ivx-reveal > * { opacity: 0; transform: translateY(36px) scale(.95); }
.ivx-reveal.is-in > * { opacity: 1; transform: none; transition: opacity .8s ease-out, transform 1s cubic-bezier(.2, .8, .2, 1); }
.ivx-reveal.is-in > :nth-child(2) { transition-delay: 70ms; }
.ivx-reveal.is-in > :nth-child(3) { transition-delay: 140ms; }
.ivx-reveal.is-in > :nth-child(4) { transition-delay: 210ms; }
.ivx-reveal.is-in > :nth-child(5) { transition-delay: 280ms; }
.ivx-reveal.is-in > :nth-child(6) { transition-delay: 350ms; }
.ivx-reveal.is-in > :nth-child(7) { transition-delay: 420ms; }
.ivx-reveal.is-in > :nth-child(8) { transition-delay: 490ms; }

/* ── Bottom nav, music ── */
.ivx-nav { position: fixed; bottom: 0; left: 50%; z-index: 60; width: 100%; max-width: 375px; transform: translate(-50%, 100%); transition: transform .3s ease-out; touch-action: none;
  background: var(--nav-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid color-mix(in srgb, var(--accent-gold) 15%, transparent); border-radius: 14px 14px 0 0; box-shadow: 0 -4px 20px rgba(0, 0, 0, .05); }
.ivx-nav.is-in { transform: translate(-50%, 0); }
.ivx-nav > div { display: flex; align-items: stretch; justify-content: space-around; padding: 10px 8px; }
.ivx-nav button { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 4px; border: 0; background: transparent; color: var(--accent-gold); cursor: pointer; }
.ivx-nav span { font-family: var(--font-label); font-size: 9px; letter-spacing: .025em; }
.ivx-music[hidden] { display: none; }
.ivx-music { position: fixed; top: 16px; right: max(16px, calc(50% - 212px + 16px)); z-index: 50; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%;
  color: var(--accent-gold); background: color-mix(in srgb, var(--nav-bg) 96%, #fff); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); cursor: pointer; }

/* sheets (markup and styles shared with card.css) sit in a fixed layer over the column */
.ivx-sheets { position: fixed; top: 0; bottom: 0; left: 50%; z-index: 70; width: 100%; max-width: 425px; transform: translateX(-50%); pointer-events: none; }
.ivx-sheets .ivc-sheet-wrap { pointer-events: auto; }
.ivx-sheets .ivc-sheet { font-family: var(--font-body); color: var(--text-primary); }
.ivx-sheets iconify-icon { font-size: 1.15em; vertical-align: -.18em; }

/* ── Event designs (Design 2 · Annual Dinner): midnight, champagne gold, ivory ── */
.ivx.is-still .ivx-bush-bg img { animation: none; }
.ivx.is-dark .ivc-sheet { background: var(--bg-secondary); border-top: 1px solid var(--border-light); }
.ivx.is-dark .ivc-sheet h3 { font-family: var(--font-display); letter-spacing: .04em; }
.ivx.is-dark .ivc-form input, .ivx.is-dark .ivc-form select, .ivx.is-dark .ivc-form textarea, .ivx.is-dark .ivc-seg span { background: rgba(255, 255, 255, .05); color: var(--text-primary); border-color: var(--border-light); }
.ivx.is-dark .ivc-form select option { color: #111; }
.ivx.is-dark .ivc-seg input:checked + span { background: color-mix(in srgb, var(--accent-gold) 22%, transparent); color: var(--text-primary); }
.ivx.is-dark .ivc-btn { color: var(--on-accent, #fff); background: linear-gradient(180deg, #f6e3a6, #d9b45a 55%, #b8862e); border: 0; }
.ivx.is-dark .ivc-btn.is-ghost { color: var(--accent-gold); background: transparent; border: 1px solid var(--accent-gold); }
.ivx.is-dark .ivc-li, .ivx.is-dark .ivc-acct { background: rgba(255, 255, 255, .04); border: 1px solid var(--border-light); }
.ivx.is-dark .ivc-mono { background: transparent; box-shadow: none; }
.ivx.is-dark .ivc-err { color: #ff9a8a; }
.ivx.is-dark .ivx-gal-arrow:hover { color: var(--on-accent, #fff); }

/* cover: an engraved invitation card with a foil title */
.gx-gate { position: relative; padding: 30px 20px 26px; border: 1px solid rgba(246, 227, 166, .5); border-radius: 4px; background: radial-gradient(120% 80% at 50% 0%, rgba(246, 227, 166, .08), transparent 60%), rgba(6, 9, 20, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: inset 0 0 0 6px rgba(6, 9, 20, .6), inset 0 0 0 7px rgba(246, 227, 166, .22), 0 30px 60px -30px #000; }
.gx-corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid #e9c46a; }
.gx-corner.is-tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; } .gx-corner.is-tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.gx-corner.is-bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; } .gx-corner.is-br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.gx-corner::after { content: ""; position: absolute; width: 6px; height: 6px; background: #e9c46a; transform: rotate(45deg); }
.gx-corner.is-tl::after { top: 4px; left: 4px; } .gx-corner.is-tr::after { top: 4px; right: 4px; } .gx-corner.is-bl::after { bottom: 4px; left: 4px; } .gx-corner.is-br::after { bottom: 4px; right: 4px; }
.gx-invited { margin-bottom: 4px !important; font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; font-style: italic; color: rgba(246, 227, 166, .8); }
.gx-company { margin-bottom: 14px !important; font-family: "Montserrat", sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #f6e3a6; }
.gx-title3d { display: flex; flex-direction: column; align-items: center; transition: transform .25s ease-out; }
.gx-title3d span { display: block; font-family: "Cinzel", Georgia, serif; font-size: 2.85rem; font-weight: 700; line-height: 1.04; letter-spacing: .03em;
  background: linear-gradient(180deg, #fff7da 0%, #f3d27a 38%, #b98a2e 62%, #f6dc8c 82%, #c9993c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 #8a6224) drop-shadow(0 2px 0 #6e4c16) drop-shadow(0 3px 0 #4f360f) drop-shadow(0 12px 16px rgba(0, 0, 0, .65)); animation: gxFloat 6s ease-in-out infinite; }
.gx-title3d span + span { animation-delay: -.8s; }
@keyframes gxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.gx-year { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 8px; }
.gx-year i { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, #e9c46a); } .gx-year i:last-child { background: linear-gradient(90deg, #e9c46a, transparent); }
.gx-year b { font-family: "Cinzel", Georgia, serif; font-size: 1.25rem; font-weight: 600; letter-spacing: .42em; padding-left: .42em; color: #f6e3a6; }
.gx-theme { margin-bottom: 4px !important; font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; font-style: italic; color: #f3ead7; }
.gx-when { margin-bottom: 16px !important; font-family: "Montserrat", sans-serif; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 227, 166, .6); }
.gx-dear { margin: 0 0 16px !important; font-family: "Montserrat", sans-serif; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 227, 166, .6); }
.gx-dear b { display: block; margin-top: 3px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-style: italic; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff8e7; }
.ivx .gx-open { padding: 13px 34px; border: 0; color: #1a1405; font-size: 12px !important; letter-spacing: .24em; background: linear-gradient(180deg, #fff1c4 0%, #e2bd62 50%, #b8862e 100%);
  box-shadow: 0 10px 24px -10px rgba(233, 196, 106, .8), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(110, 76, 22, .4); }
.ivx .gx-open:hover { background: linear-gradient(180deg, #fff6d6 0%, #ebc86e 50%, #c3923a 100%); }
.ivx[data-design="gala"] .ivx-s1-name { font-size: 1.85rem; letter-spacing: .03em; }
.ivx[data-design="gala"] .ivx-s1-amp { font-family: "Cinzel", Georgia, serif; font-style: normal; font-size: 1.1rem; letter-spacing: .36em; padding-left: .36em; }
.gx-label { font-family: var(--font-label) !important; font-size: 10.5px !important; letter-spacing: .32em !important; text-transform: uppercase; }

/* content building blocks */
.gx { --lux-line: rgba(217, 180, 90, .3); }
.gx-sec { position: relative; padding: 36px 20px; text-align: center; }
.gx-head { margin-bottom: 22px; text-align: center; }
.gx-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px !important; font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--accent-gold); }
.gx-eyebrow i { width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-gold)); } .gx-eyebrow i:last-child { background: linear-gradient(90deg, var(--accent-gold), transparent); }
.gx-title { font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: .03em;
  background: linear-gradient(180deg, #fff2c8 0%, #ebc86e 55%, #b8862e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); }
.gx-sub { max-width: 300px; margin: 8px auto 0 !important; font-family: var(--font-serif); font-size: 16px; font-style: italic; color: var(--text-secondary); }
.gx-body { max-width: 330px; margin: 0 auto !important; font-size: 14px; line-height: 1.75; color: var(--text-secondary); }
.gx-body b { color: var(--text-primary); }
.gx-lux { position: relative; border: 1px solid var(--lux-line); border-radius: 16px; text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .012) 60%), rgba(9, 13, 26, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 40px -28px #000; }
.gx-lux::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(217, 180, 90, .1); border-radius: 12px; pointer-events: none; }
.gx-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--lux-line); border-radius: 50%; color: var(--accent-gold-light); font-size: 19px;
  background: radial-gradient(circle at 35% 30%, rgba(246, 227, 166, .22), rgba(246, 227, 166, .03)); box-shadow: 0 6px 14px -8px #000; }
.gx-monogram { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin-bottom: 14px; border: 1px solid var(--lux-line); border-radius: 50%; background: radial-gradient(circle, rgba(246, 227, 166, .12), transparent 70%); }
.gx-monogram img { width: 44px !important; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.gx-sign { margin-top: 18px !important; font-family: var(--font-serif); font-size: 22px; font-style: italic; color: var(--accent-gold-light); }
.gx-sign small { display: block; margin-top: 2px; font-family: var(--font-label); font-size: 9.5px; font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--text-secondary); }
.gx-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gx-det { display: flex; flex-direction: column; gap: 3px; padding: 16px 14px; }
.gx-det.is-wide { grid-column: span 2; }
.gx-det .gx-ico { margin-bottom: 8px; }
.gx-det small { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-gold); }
.gx-det b { font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--text-primary); }
.gx-det p { margin: 2px 0 0 !important; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.gx-det a { color: var(--accent-gold-light); text-decoration: none; border-bottom: 1px solid var(--lux-line); }
.gx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ivx .gx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--lux-line); border-radius: 999px; background: rgba(246, 227, 166, .06); color: var(--accent-gold-light); font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, border-color .2s; }
.gx-chip:hover { background: rgba(246, 227, 166, .14); border-color: var(--accent-gold); }

/* programme: three acts, a time column, a gold rail with medallions and a card per moment */
.gx-now { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px 16px; font-size: 13.5px; line-height: 1.45; color: var(--text-primary); }
.gx-now small { color: var(--text-secondary); }
.gx-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 0 rgba(110, 231, 168, .6); animation: gxPulse 1.8s infinite; }
.gx-dot.is-off { background: var(--accent-gold); animation: none; }
@keyframes gxPulse { 70% { box-shadow: 0 0 0 10px rgba(110, 231, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 231, 168, 0); } }
.gx-prog { text-align: left; }
.gx-phase { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; }
.gx-phase:first-child { margin-top: 4px; }
.gx-phase span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--accent-gold); border-radius: 50%; font-family: var(--font-display); font-size: 12px; color: var(--accent-gold-light); }
.gx-phase b { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-primary); }
.gx-phase i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--lux-line), transparent); }
.gx-items { margin: 0; padding: 0; list-style: none; }
.gx-item { display: grid; grid-template-columns: 54px 34px 1fr; column-gap: 10px; transition: opacity .4s; }
.gx-time { padding-top: 7px; text-align: right; }
.gx-time b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1; color: var(--accent-gold-light); }
.gx-time small { font-family: var(--font-label); font-size: 8.5px; letter-spacing: .2em; color: var(--text-secondary); }
.gx-rail { position: relative; display: flex; justify-content: center; }
.gx-rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); background: linear-gradient(180deg, var(--lux-line), rgba(217, 180, 90, .12)); }
.gx-item:last-child .gx-rail::before { bottom: 50%; }
.gx-medal { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-top: 2px; border: 1px solid var(--lux-line); border-radius: 50%; font-size: 17px; color: var(--accent-gold-light);
  background: radial-gradient(circle at 35% 30%, #283253, #0d1324); box-shadow: 0 6px 14px -6px #000, inset 0 1px 0 rgba(255, 255, 255, .08); }
.gx-card { position: relative; margin-bottom: 12px; padding: 11px 14px 12px; border: 1px solid rgba(217, 180, 90, .16); border-radius: 12px; background: rgba(255, 255, 255, .03); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.gx-card h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 3px; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--text-primary); }
.gx-card h4 em { padding: 2px 8px; border-radius: 999px; font-family: var(--font-label); font-size: 8.5px; font-style: normal; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #1a1405; background: linear-gradient(180deg, #f6e3a6, #d9b45a); }
.gx-card p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); }
.gx-state { display: block; font-family: var(--font-label); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #6ee7a8; }
.gx-state:empty { display: none; }
.gx-item.is-key .gx-card { border-color: rgba(217, 180, 90, .4); background: linear-gradient(160deg, rgba(246, 227, 166, .08), rgba(246, 227, 166, .015)); }
.gx-item.is-key .gx-medal { color: #1a1405; background: radial-gradient(circle at 35% 30%, #fff1c4, #c9993c); border-color: transparent; }
.gx-item.is-done { opacity: .45; }
.gx-item.is-now .gx-card { border-color: var(--accent-gold); box-shadow: 0 0 0 1px rgba(217, 180, 90, .4), 0 12px 30px -12px rgba(233, 196, 106, .5); }
.gx-item.is-now .gx-medal { color: #1a1405; background: radial-gradient(circle at 35% 30%, #fff1c4, #c9993c); box-shadow: 0 0 0 6px rgba(233, 196, 106, .18); }
.gx-item.is-next .gx-state { color: var(--accent-gold-light); }
.ivx-reveal.is-in .gx-item { animation: gxIn .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.3s + var(--i) * 90ms); }
@keyframes gxIn { from { opacity: 0; transform: translateY(14px); } }
.ivx.no-intro .gx-item { animation: none; }
.gx-note { margin-top: 6px !important; font-size: 11.5px; font-style: italic; color: var(--text-secondary); }

.gx-count .gx-eyebrow { margin-bottom: 20px !important; }
.ivx[data-design="gala"] .ivx-count > div { min-width: 72px; border-radius: 14px; border-color: var(--lux-line); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 26px -18px #000; }
.ivx[data-design="gala"] .ivx-count b { font-family: var(--font-display); font-weight: 600; background: linear-gradient(180deg, #fff2c8, #d9b45a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ivx[data-design="gala"] .ivx-count span { font-family: var(--font-label); font-size: 9.5px; letter-spacing: .2em; }

/* dress guide with the couple */
.gx-dress { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; text-align: left; }
.gx-arch { position: relative; height: 230px; overflow: hidden; border: 1px solid var(--lux-line); border-radius: 80px 80px 14px 14px; background: radial-gradient(90% 60% at 50% 40%, rgba(246, 227, 166, .18), rgba(6, 9, 20, .9)); box-shadow: inset 0 0 0 5px rgba(6, 9, 20, .5), inset 0 0 0 6px rgba(217, 180, 90, .18); }
.gx-arch img { position: absolute; left: 50%; top: 10px; width: 104% !important; height: auto; transform: translateX(-50%); }
.gx-dress-txt b { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text-primary); }
.gx-dress-txt p { margin: 0 0 14px !important; font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
.gx-swatches { display: flex; gap: 10px; }
.gx-swatches span { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 58px; font-size: 9.5px; line-height: 1.25; text-align: center; color: var(--text-secondary); }
.gx-swatches i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--c) 35%, #fff) 0%, var(--c) 48%, color-mix(in srgb, var(--c) 55%, #000) 100%); box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .7); }

/* highlights */
.gx-hls { display: flex; flex-direction: column; gap: 18px; }
.gx-hl { margin: 0; overflow: hidden; padding: 0; }
.gx-hl img { display: block; width: 100% !important; aspect-ratio: 16 / 11; object-fit: cover; }
.gx-hl figcaption { position: relative; padding: 14px 16px 16px 58px; }
.gx-hl figcaption span { position: absolute; left: 16px; top: 13px; font-family: var(--font-display); font-size: 22px; color: var(--accent-gold); opacity: .8; }
.gx-hl b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text-primary); }
.gx-hl p { margin: 3px 0 0 !important; font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); }
.gx-gallery .gx-head { padding: 0 20px; }

/* RSVP panel */
.gx-rsvp { padding: 26px 18px 22px; text-align: center; }
.gx-dead { max-width: 260px; margin: 16px auto 0; }
.gx-dead span { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.gx-dead i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #b8862e, #f6e3a6); }
.gx-dead small { display: block; margin-top: 6px; font-family: var(--font-label); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-secondary); }
.gx-status { margin-top: 14px; }
.gx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--lux-line); border-radius: 999px; font-size: 11.5px; color: var(--text-secondary); }
.gx-pill.is-ok { color: #9ff0c4; border-color: rgba(110, 231, 168, .4); }
.gx-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 6px; }
.ivx[data-design="gala"] .ivx-shine { margin-top: 14px; background: linear-gradient(180deg, #fff1c4 0%, #e2bd62 50%, #b8862e 100%); box-shadow: 0 10px 24px -10px rgba(233, 196, 106, .8), inset 0 1px 0 rgba(255, 255, 255, .7); letter-spacing: .22em; font-size: 12.5px; }
.ivx .gx-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 26px; border: 1px solid var(--accent-gold); border-radius: 999px; background: transparent; color: var(--accent-gold-light); font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.gx-ghost:hover { background: rgba(246, 227, 166, .1); }
.gx-chip:focus-visible, .gx-ghost:focus-visible, .gx-open:focus-visible { outline: 2px solid var(--accent-gold-light); outline-offset: 3px; }
.ivx[data-design="gala"] .ivx-foot .ivx-tag { font-size: 20px; letter-spacing: .04em; }

/* e-ticket: a card that tilts with the pointer or the phone */
.ivt-wrap { perspective: 900px; padding: 8px 4px 4px; }
.ivt { position: relative; overflow: hidden; border-radius: 18px; color: #f3ead7; transform-style: preserve-3d; transition: transform .2s ease-out;
  background: linear-gradient(150deg, #1f2a52 0%, #0d1322 55%, #1a1f3a 100%); border: 1px solid rgba(217, 180, 90, .45); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12); }
.ivt-head { padding: 16px 18px 12px; text-align: center; background: linear-gradient(180deg, rgba(217, 180, 90, .18), transparent); }
.ivt-head span { display: block; font-family: "Montserrat", sans-serif; font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: #d9b45a; }
.ivt-head b { display: block; margin-top: 4px; font-family: "Cinzel", Georgia, serif; font-size: 22px; letter-spacing: .04em; color: #f7dd8e; text-shadow: 0 2px 0 #9a7428, 0 6px 12px rgba(0, 0, 0, .5); }
.ivt-head em { font-family: "Cinzel", Georgia, serif; font-size: 11px; font-style: normal; color: #b8b1a2; }
.ivt-body { display: flex; align-items: center; gap: 14px; padding: 6px 18px 14px; }
.ivt-qr { flex-shrink: 0; padding: 7px; border-radius: 10px; background: #fff; line-height: 0; }
.ivt-qr img, .ivt-qr canvas { display: block; width: 104px; height: 104px; }
.ivt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 12px; text-align: left; }
.ivt dt { font-family: "Montserrat", sans-serif; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #8f8a7e; align-self: center; }
.ivt dd { margin: 0; font-weight: 700; color: #f3ead7; overflow-wrap: anywhere; }
.ivt-cut { position: relative; height: 0; border-top: 2px dashed rgba(217, 180, 90, .4); margin: 0 14px; }
.ivt-cut::before, .ivt-cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-secondary, #151d33); }
.ivt-cut::before { left: -26px; } .ivt-cut::after { right: -26px; }
.ivt-foot { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 18px 16px; text-align: center; }
.ivt-foot span { display: block; font-family: "Montserrat", sans-serif; font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: #8f8a7e; }
.ivt-foot b { font-size: 13px; color: #f7dd8e; }
.ivt-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at var(--sx, 50%) 0%, rgba(255, 240, 200, .22), transparent 70%); mix-blend-mode: screen; }

/* ── Design 2B · Pastel Garden: the same blocks in blush, lilac, mint and plum ── */
.ivx[data-design="pastel"] .gx-gate { border-color: rgba(192, 122, 156, .45); background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .6), inset 0 0 0 7px rgba(192, 122, 156, .2), 0 30px 50px -30px rgba(143, 91, 120, .45); }
.ivx[data-design="pastel"] .gx-corner { border-color: #c07a9c; }
.ivx[data-design="pastel"] .gx-corner::after { background: #cdb8ec; }
.ivx[data-design="pastel"] .gx-invited { color: #8f6a8a; }
.ivx[data-design="pastel"] .gx-company, .ivx[data-design="pastel"] .gx-year b { color: #6b4f7a; }
.ivx[data-design="pastel"] .gx-year i { background: linear-gradient(90deg, transparent, #c07a9c); } .ivx[data-design="pastel"] .gx-year i:last-child { background: linear-gradient(90deg, #c07a9c, transparent); }
.ivx[data-design="pastel"] .gx-title3d span { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 3rem; background: linear-gradient(180deg, #d98bb0 0%, #a8678a 55%, #8f6bb8 100%); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .9)) drop-shadow(0 8px 14px rgba(143, 91, 120, .3)); }
.ivx[data-design="pastel"] .gx-theme { color: #4f3f5c; }
.ivx[data-design="pastel"] .gx-when, .ivx[data-design="pastel"] .gx-dear { color: #8f7a9e; }
.ivx[data-design="pastel"] .gx-dear b { color: #4f3f5c; }
.ivx[data-design="pastel"] .gx-open, .ivx[data-design="pastel"] .ivx-shine { color: #fff; background: linear-gradient(135deg, #f3a2bf 0%, #d9a3d8 50%, #b9a3ea 100%); box-shadow: 0 10px 22px -10px rgba(192, 122, 156, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.ivx[data-design="pastel"] .gx-open:hover { background: linear-gradient(135deg, #f6b0c9 0%, #e0b0de 50%, #c4b0ee 100%); }
.ivx[data-design="pastel"] .gx { --lux-line: rgba(192, 122, 156, .26); }
.ivx[data-design="pastel"] .gx-title { background: linear-gradient(180deg, #c07a9c 0%, #8f6bb8 100%); -webkit-background-clip: text; background-clip: text; filter: none; }
.ivx[data-design="pastel"] .gx-lux { background: rgba(255, 255, 255, .78); box-shadow: 0 18px 32px -24px rgba(143, 91, 120, .55); }
.ivx[data-design="pastel"] .gx-lux::before { border-color: rgba(205, 184, 236, .35); }
.ivx[data-design="pastel"] .gx-ico, .ivx[data-design="pastel"] .gx-monogram { color: #a8678a; background: radial-gradient(circle at 35% 30%, #fff, #fbe3ec); box-shadow: 0 6px 14px -8px rgba(143, 91, 120, .5); }
.ivx[data-design="pastel"] .gx-sign { color: #a8678a; }
.ivx[data-design="pastel"] .gx-chip { background: #fff; color: #8f5b78; }
.ivx[data-design="pastel"] .gx-chip:hover { background: #fdf0f4; }
.ivx[data-design="pastel"] .gx-det a { color: #a8678a; }
.ivx[data-design="pastel"] .gx-phase span { color: #8f5b78; border-color: #e3a9c3; background: #fff; }
.ivx[data-design="pastel"] .gx-time b { color: #a8678a; }
.ivx[data-design="pastel"] .gx-medal { color: #a8678a; background: radial-gradient(circle at 35% 30%, #fff, #fdeaf1); box-shadow: 0 6px 12px -6px rgba(143, 91, 120, .5); }
.ivx[data-design="pastel"] .gx-card { background: rgba(255, 255, 255, .8); border-color: rgba(192, 122, 156, .2); box-shadow: 0 10px 20px -18px rgba(143, 91, 120, .6); }
.ivx[data-design="pastel"] .gx-card h4 em { color: #fff; background: linear-gradient(135deg, #f3a2bf, #b9a3ea); }
.ivx[data-design="pastel"] .gx-item.is-key .gx-card { border-color: rgba(192, 122, 156, .45); background: linear-gradient(160deg, #fff, #fdf0f6); }
.ivx[data-design="pastel"] .gx-item.is-key .gx-medal, .ivx[data-design="pastel"] .gx-item.is-now .gx-medal { color: #fff; background: radial-gradient(circle at 35% 30%, #f6b7cf, #b9a3ea); }
.ivx[data-design="pastel"] .gx-item.is-now .gx-card { box-shadow: 0 0 0 1px rgba(192, 122, 156, .45), 0 12px 26px -12px rgba(192, 122, 156, .6); }
.ivx[data-design="pastel"] .gx-state { color: #2f9a68; }
.ivx[data-design="pastel"] .ivx-count > div { background: #fff; border-color: rgba(192, 122, 156, .26); box-shadow: 0 14px 24px -18px rgba(143, 91, 120, .6); }
.ivx[data-design="pastel"] .ivx-count b { background: linear-gradient(180deg, #c07a9c, #8f6bb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ivx[data-design="pastel"] .gx-arch { background: radial-gradient(90% 60% at 50% 40%, #fff, #fbe3ec); box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .6), inset 0 0 0 6px rgba(205, 184, 236, .4); }
.ivx[data-design="pastel"] .gx-swatches i { border-color: #fff; box-shadow: 0 8px 14px -6px rgba(143, 91, 120, .5); }
.ivx[data-design="pastel"] .gx-dead span { background: rgba(143, 91, 120, .12); }
.ivx[data-design="pastel"] .gx-dead i { background: linear-gradient(90deg, #f3a2bf, #b9a3ea); }
.ivx[data-design="pastel"] .gx-pill.is-ok { color: #2f8f5f; border-color: rgba(47, 143, 95, .35); }
.ivx[data-design="pastel"] .gx-ghost { color: #8f5b78; border-color: #e3a9c3; }
.ivx[data-design="pastel"] .gx-ghost:hover { background: #fdf0f4; }
.ivx[data-design="pastel"] .ivx-foot .ivx-tag { font-style: italic; }
.ivx[data-design="pastel"] .ivt { color: #4f3f5c; background: linear-gradient(150deg, #ffffff 0%, #fdeef4 55%, #efe6fb 100%); border-color: rgba(192, 122, 156, .4); box-shadow: 0 24px 40px -20px rgba(143, 91, 120, .55); }
.ivx[data-design="pastel"] .ivt-head { background: linear-gradient(180deg, rgba(246, 201, 220, .45), transparent); }
.ivx[data-design="pastel"] .ivt-head span { color: #a8678a; }
.ivx[data-design="pastel"] .ivt-head b { font-family: "Playfair Display", Georgia, serif; font-style: italic; color: #8f5b78; text-shadow: none; }
.ivx[data-design="pastel"] .ivt-head em { color: #86778c; }
.ivx[data-design="pastel"] .ivt dd, .ivx[data-design="pastel"] .ivt-foot b { color: #4f3f5c; }
.ivx[data-design="pastel"] .ivt-qr { box-shadow: 0 0 0 1px rgba(192, 122, 156, .25); }
.ivx[data-design="pastel"] .ivt-cut { border-top-color: rgba(192, 122, 156, .4); }

/* ── Design 3 · Around the World: a travel-campaign poster in turquoise, coral, golden yellow and green on ivory ── */
.ivx.is-wide .ivx-cover { max-width: 560px; }
.ivx[data-design="world"] .ivx-gate { z-index: 45; justify-content: flex-start; overflow-y: auto; padding: max(14px, env(safe-area-inset-top)) 0 44px; }
.ivx[data-design="world"] .ivx-gate-copy { width: 100%; margin: auto 0; padding: 0 12px; }
.ivx[data-design="world"] .ivx-frame-line { display: none; }
.ivx[data-design="world"] .ivx-gate-note, .ivx[data-design="world"] .ivx-gate > .ivx-fly { display: none; }
.wx-note { margin: 10px 0 0 !important; font-family: "Plus Jakarta Sans", sans-serif; font-size: 10.5px; color: #7a979d; }
.wx-poster { position: relative; max-width: 470px; margin: 0 auto; padding: 18px 14px 18px; border: 7px solid transparent; border-radius: 24px; text-align: center; color: #2b4f57;
  background: radial-gradient(120% 60% at 50% 0%, #f6fcfa 0%, rgba(255, 253, 246, 0) 70%) padding-box,
    repeating-linear-gradient(0deg, rgba(43, 79, 87, .018) 0 2px, transparent 2px 5px) padding-box, linear-gradient(#f3faf8, #f3faf8) padding-box,
    repeating-linear-gradient(135deg, #e8743b 0 12px, #fff 12px 20px, #18a3a3 20px 32px, #fff 32px 40px) border-box;
  box-shadow: 0 30px 50px -28px rgba(43, 79, 87, .55), 0 8px 16px -10px rgba(43, 79, 87, .25); }
.wx-poster::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(43, 79, 87, .2); border-radius: 15px; pointer-events: none; }
.wx-stamp { position: absolute; top: -14px; right: -10px; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 66px; height: 66px; border: 2px solid #3a8a80; border-radius: 50%;
  color: #3a8a80; background: rgba(255, 248, 236, .92); box-shadow: inset 0 0 0 3px #f3faf8, inset 0 0 0 4.5px rgba(58, 138, 128, .55); transform: rotate(14deg); }
.wx-stamp b { font-family: "Fraunces", Georgia, serif; font-size: 17px; font-weight: 800; line-height: 1; }
.wx-stamp small { max-width: 52px; margin-top: 2px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 6px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.wx-label { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 6px !important; font-family: "Plus Jakarta Sans", sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #3a86a8; }
.wx-label i { width: 22px; height: 2px; border-radius: 2px; background: #9fd6c0; }
.wx-title { display: flex; flex-direction: column; align-items: center; margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 900; line-height: .92; letter-spacing: -.01em; text-transform: uppercase; }
.wx-title span { display: block; font-size: clamp(2.2rem, 11.5vw, 3.1rem); color: #347f77; text-shadow: 2px 2px 0 #f3faf8, 4px 4px 0 #9fd6c0; }
.wx-title span + span { font-size: clamp(1.9rem, 9.6vw, 2.6rem); color: #3a8a80; text-shadow: 2px 2px 0 #f3faf8, 4px 4px 0 #3f9a8f; }
.wx-tag { margin: 10px auto 12px !important; max-width: 300px; text-wrap: balance; font-family: "Plus Jakarta Sans", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #2f7c9b; }
.wx-art { position: relative; width: min(100%, calc(36svh * 1.391)); aspect-ratio: 1600 / 1150; margin: 0 auto; overflow: hidden; border-radius: 16px; background: #bfe7ea;
  box-shadow: inset 0 0 0 1px rgba(43, 79, 87, .08), 0 14px 26px -18px rgba(43, 79, 87, .6); }
.wx-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.wx-l0 { animation: 1.6s cubic-bezier(.2, .8, .2, 1) .35s both wxSettle; translate: calc(var(--px, 0) * -6px) calc(var(--py, 0) * -4px); }
.wx-l1 { animation: 1.2s cubic-bezier(.2, .9, .25, 1.15) .9s both wxRise; translate: calc(var(--px, 0) * 5px) calc(var(--py, 0) * 3px); }
.wx-l2 { animation: 1.2s cubic-bezier(.2, .9, .25, 1.15) 1.3s both wxRise; translate: calc(var(--px, 0) * 11px) calc(var(--py, 0) * 6px); }
.wx-art img { transition: translate .4s ease-out; }
@keyframes wxSettle { from { opacity: 0; transform: scale(1.08); } }
@keyframes wxRise { from { opacity: 0; transform: translateY(22%); } 70% { opacity: 1; } }
.wx-cloud { position: absolute; z-index: 2; width: 24%; height: 8%; border-radius: 999px; pointer-events: none; opacity: .9;
  background: radial-gradient(40% 70% at 30% 60%, #fff 60%, transparent 62%), radial-gradient(38% 90% at 58% 45%, #fff 60%, transparent 62%), radial-gradient(30% 60% at 80% 65%, #fff 60%, transparent 62%);
  will-change: transform; animation: 38s linear infinite wxDrift; }
.wx-cloud.is-a { top: 5%; left: 0; }
.wx-cloud.is-b { top: 15%; left: 0; width: 17%; height: 6%; opacity: .75; animation-duration: 52s; animation-delay: -24s; }
@keyframes wxDrift { from { transform: translateX(-110%); } to { transform: translateX(520%); } }
.wx-fly { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; opacity: 0; animation: .8s ease-out 2.2s forwards ivxFadeIn; }
.wx-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; }
.wx-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid rgba(43, 79, 87, .12); border-radius: 999px; background: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: 11.5px; font-weight: 700; color: #2b4f57; box-shadow: 0 4px 10px -8px rgba(43, 79, 87, .5); }
.wx-meta iconify-icon { font-size: 15px; color: #3a8a80; }
.wx-meta span:nth-child(2) iconify-icon { color: #3f9a8f; } .wx-meta span:nth-child(3) iconify-icon { color: #2f7c9b; }
.wx-dear { margin: 12px 0 0 !important; font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; color: #5a7b83; }
.wx-dear b { font-family: "Fraunces", Georgia, serif; font-size: 16px; font-style: italic; color: #2b4f57; }
.ivx .wx-open { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 13px 30px; border: 0; color: #2b4f57; font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px !important; font-weight: 800; letter-spacing: .2em;
  background: linear-gradient(135deg, #bfe6d6 0%, #9fd6c0 50%, #86c7b1 100%); box-shadow: 0 12px 22px -10px rgba(58, 138, 128, .85), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(30, 80, 70, .25); }
.ivx .wx-open iconify-icon { font-size: 18px; }
.ivx .wx-open:hover { background: linear-gradient(135deg, #cdeee1 0%, #a8dcc8 50%, #92cfb9 100%); transform: translateY(-1px); }
.ivx .wx-open:focus-visible { outline: 2px solid #3a86a8; outline-offset: 3px; }
@media (min-height: 860px) { .wx-poster { padding: 24px 18px 22px; } .wx-art { width: min(100%, calc(40svh * 1.391)); } }

/* hero and section headings */
.ivx[data-design="world"] .ivx-s1-label { color: #3a86a8; font-weight: 800; }
.ivx[data-design="world"] .ivx-s1-name { font-size: 2.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.ivx[data-design="world"] .ivx-s1-name > span { filter: drop-shadow(3px 3px 0 #9fd6c0); }
.ivx[data-design="world"] .ivx-s1-amp { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; color: #3a8a80; }
.ivx[data-design="world"] .ivx-s1-date { font-family: "Plus Jakarta Sans", sans-serif; font-size: .9rem; font-style: normal; font-weight: 700; color: #2b4f57; }

/* boarding pass */
.wx-pass-sec { padding-top: 30px; padding-bottom: 10px; }
.wx-pass { position: relative; overflow: hidden; border: 1px solid rgba(43, 79, 87, .1); border-radius: 18px; background: #fff; text-align: left; box-shadow: 0 22px 36px -26px rgba(43, 79, 87, .6); }
.wx-pass-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; color: #fff; background: linear-gradient(90deg, #3f9a8f, #2f7c9b); }
.wx-pass-head span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-label); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.wx-pass-head iconify-icon { font-size: 16px; }
.wx-pass-head b { font-family: var(--font-display); font-size: 14px; font-style: italic; font-weight: 600; }
.wx-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 16px 16px 12px; }
.wx-route > div:last-child { text-align: right; }
.wx-route small, .wx-fields dt { display: block; font-family: var(--font-label); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #7a979d; }
.wx-route b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 1.15; color: #2b4f57; }
.wx-route span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: #5a7b83; }
.wx-route i { position: relative; display: flex; align-items: center; justify-content: center; width: 54px; font-size: 22px; color: #3a8a80; }
.wx-route i::before, .wx-route i::after { content: ""; position: absolute; top: 50%; width: 12px; border-top: 2px dotted rgba(43, 79, 87, .3); }
.wx-route i::before { left: 0; } .wx-route i::after { right: 0; }
.wx-fields { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin: 0; padding: 14px 16px 16px; border-top: 2px dashed rgba(43, 79, 87, .14); }
.wx-fields::before, .wx-fields::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-primary); box-shadow: inset 0 0 0 1px rgba(43, 79, 87, .1); }
.wx-fields::before { left: -11px; } .wx-fields::after { right: -11px; }
.wx-fields dd { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: #2b4f57; }
.wx-pass-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid rgba(43, 79, 87, .08); background: #eef8f5; }
.wx-pass-foot .ivx-shine { flex: 1 1 100%; justify-content: center; margin: 0; padding: 12px 22px; font-size: 11.5px; }
.wx-pass-foot .gx-chip { flex: 1 1 0; justify-content: center; padding: 10px 12px; }

/* venue sheet: hall as the headline, date and time, a copyable address, one big map button */
.ivv { display: grid; gap: 12px; text-align: left; }
.ivv-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0; font: 700 10.5px/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: #0d7b7b; }
.ivv-eyebrow iconify-icon { font-size: 15px; }
.ivx-sheets .ivv .ivv-title { margin: -4px 0 0; font: 800 clamp(24px, 7.4vw, 30px)/1.1 "Fraunces", var(--font-display); letter-spacing: -.01em; color: #123239; }
.ivv-hotel { margin: -6px 0 0 !important; font: 600 14px/1.35 var(--font-body); color: #46666d; }
.ivv-when { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.ivv-when li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #e4f5f0; font: 700 12px/1 var(--font-body); color: #123239; }
.ivv-when iconify-icon { font-size: 15px; color: #0d7b7b; }
.ivv-addr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px; background: #f5faf8; box-shadow: inset 0 0 0 1px rgba(18, 50, 57, .08); }
.ivv-addr-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: #0d7b7b; font-size: 20px; box-shadow: 0 1px 0 rgba(18, 50, 57, .06); }
.ivx-sheets .ivv-addr p { margin: 0; font: 500 13.5px/1.4 var(--font-body); color: #123239; }
.ivv-copy { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: #0d7b7b; font: 700 12px/1 var(--font-body); cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(13, 123, 123, .35); transition: background-color .2s, color .2s; }
.ivv-copy.is-done { background: #0d7b7b; color: #fff; box-shadow: none; }
.ivv-go { display: grid; gap: 8px; margin-top: 4px; }
.ivv-btn { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 16px; background: #fff; color: #0d7b7b; font: 700 14px/1 var(--font-body); text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(13, 123, 123, .35); transition: transform .16s ease; }
.ivv-btn span { flex: 1; }
.ivv-btn:active { transform: scale(.98); }
.ivv-btn iconify-icon { font-size: 20px; }
.ivv-btn iconify-icon:last-child { font-size: 17px; opacity: .7; }
.ivv-btn.is-main { background: linear-gradient(180deg, #14948f, #0d7b7b); color: #fff; box-shadow: 0 12px 22px -14px rgba(13, 123, 123, .9); }
.ivx-sheets .ivv-tip { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font: 500 12px/1.3 var(--font-body); color: #46666d; }
.ivv-tip iconify-icon { font-size: 15px; color: #0d7b7b; }

/* boarding pass — the voyage ticket: airmail stripe, KUL → JHB route, fields and a barcode stub */
.wx-bp-wrap { container-type: inline-size; text-align: left; }
.wx-bp { --bp-ink: #123239; --bp-ink2: #46666d; --bp-teal: #0d7b7b; --bp-teal2: #18a3a3; --bp-coral: #e8743b; --bp-coral-ink: #b4501f; --bp-mist: #e4f5f0;
  --bp-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --bp-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  position: relative; display: grid; overflow: hidden; border-radius: 22px; background: #fff; color: var(--bp-ink); box-shadow: 0 1px 0 rgba(18, 50, 57, .05), 0 24px 50px -26px rgba(18, 50, 57, .45); }
.wx-bp::before { content: ""; display: block; height: 7px; background: repeating-linear-gradient(135deg, var(--bp-coral) 0 12px, #fff 12px 20px, var(--bp-teal2) 20px 32px, #fff 32px 40px); }
.wx-bp-main { padding: 18px 18px 20px; }
.wx-bp-top { display: flex; justify-content: space-between; align-items: center; font: 800 12px/1 var(--bp-body); letter-spacing: .08em; text-transform: uppercase; }
.wx-bp-air { display: inline-flex; align-items: center; gap: 8px; color: var(--bp-teal); }
.wx-bp-air iconify-icon { font-size: 20px; }
.wx-bp-class { padding: 5px 10px; border-radius: 999px; background: var(--bp-mist); font-size: 10px; letter-spacing: .14em; }
.wx-bp-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 20px 0 18px; }
.wx-bp-port small { display: block; font: 700 9.5px/1 var(--bp-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bp-ink2); }
.wx-bp-port b { display: block; margin-top: 6px; font: 700 clamp(34px, 11vw, 48px)/1 var(--bp-mono); letter-spacing: -.02em; }
.wx-bp-port span { display: block; margin-top: 4px; font: 400 12.5px/1.3 var(--bp-body); color: var(--bp-ink2); }
.wx-bp-port.is-to { text-align: right; }
.wx-bp-arc { position: relative; height: 40px; color: var(--bp-teal2); }
.wx-bp-arc svg { width: 100%; height: 100%; display: block; }
.wx-bp-arc iconify-icon { position: absolute; left: 50%; top: 2px; margin-left: -11px; font-size: 22px; color: var(--bp-teal); }
.wx-bp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 0; padding-top: 16px; border-top: 1px dashed rgba(18, 50, 57, .12); }
.wx-bp-fields .is-wide { grid-column: 1 / -1; }
.wx-bp-fields dt { font: 700 9.5px/1.2 var(--bp-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bp-ink2); }
.wx-bp-fields dd { margin: 3px 0 0; font: 700 15px/1.3 var(--bp-body); }
.wx-bp-stub { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 18px; border-top: 2px dashed rgba(18, 50, 57, .16); background: #f5faf8; }
.wx-bp-stub::before, .wx-bp-stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-primary); }
.wx-bp-stub::before { left: -11px; } .wx-bp-stub::after { right: -11px; }
.wx-bp-stub p { margin: 0; }
.wx-bp-stub small { display: block; font: 700 9.5px/1 var(--bp-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bp-ink2); }
.wx-bp-stub b { display: block; margin-top: 4px; font: 700 14px/1.3 var(--bp-body); }
.wx-bp-info { display: grid; gap: 6px; justify-items: start; align-content: center; }
.wx-bp-qr { width: 96px; height: 96px; color: var(--bp-teal); }
.wx-bp-qr svg { display: block; width: 100%; height: 100%; }
.wx-bp-rsvp { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--bp-teal); color: #fff; font: 700 12.5px/1 var(--bp-body); cursor: pointer; }
.wx-bp-rsvp iconify-icon { font-size: 15px; }
.wx-bp-status { font: 600 12.5px/1.3 var(--bp-body); color: var(--bp-coral-ink); }
.wx-bp-status.is-ok { color: var(--bp-teal); }
.wx-bp-foot { padding: 16px 0 0; border-top: 0; background: none; }
@container (min-width: 600px) {
  .wx-bp { grid-template-columns: 1fr 240px; }
  .wx-bp::before { grid-column: 1 / -1; }
  .wx-bp-main { padding: 26px 30px 28px; }
  .wx-bp-fields { grid-template-columns: repeat(4, 1fr); }
  .wx-bp-fields .is-wide { grid-column: span 2; }
  .wx-bp-stub { grid-template-columns: 1fr; align-content: center; gap: 14px; border-top: 0; border-left: 2px dashed rgba(18, 50, 57, .16); padding: 24px; }
  .wx-bp-stub::before, .wx-bp-stub::after { left: -12px; right: auto; }
  .wx-bp-stub::before { top: -12px; } .wx-bp-stub::after { top: auto; bottom: -12px; }
  .wx-bp-qr { width: 132px; height: 132px; margin: 0 auto; }
  .wx-bp-info { justify-items: center; text-align: center; }
}

/* Design 2's blocks in the world palette */
.ivx[data-design="world"] .gx { --lux-line: rgba(63, 154, 143, .26); }
.ivx[data-design="world"] .gx-eyebrow { color: #3a8a80; font-weight: 800; letter-spacing: .24em; }
.ivx[data-design="world"] .gx-title { font-weight: 800; background: linear-gradient(180deg, #347f77 0%, #3a86a8 100%); -webkit-background-clip: text; background-clip: text; filter: none; }
.ivx[data-design="world"] .gx-sub { color: #2f7c9b; }
.ivx[data-design="world"] .gx-lux { background: #fafefd; border-color: rgba(43, 79, 87, .12); box-shadow: 0 18px 30px -24px rgba(43, 79, 87, .55); }
.ivx[data-design="world"] .gx-lux::before { border: 1px dashed rgba(58, 138, 128, .2); }
.ivx[data-design="world"] .gx-ico, .ivx[data-design="world"] .gx-monogram { color: #3a8a80; border-color: rgba(58, 138, 128, .25); background: radial-gradient(circle at 35% 30%, #fff, #e4f5f0); box-shadow: 0 6px 14px -8px rgba(58, 138, 128, .55); }
.ivx[data-design="world"] .gx-det:nth-child(2n) .gx-ico { color: #3f9a8f; border-color: rgba(63, 154, 143, .25); background: radial-gradient(circle at 35% 30%, #fff, #e4f5f0); }
.ivx[data-design="world"] .gx-det small { color: #3a86a8; }
.ivx[data-design="world"] .gx-sign { color: #3a8a80; }
.ivx[data-design="world"] .gx-chip { background: #fff; color: #3a86a8; border-color: rgba(58, 134, 168, .25); }
.ivx[data-design="world"] .gx-chip:hover { background: #e4f5f0; border-color: #3f9a8f; }
.ivx[data-design="world"] .gx-det a { color: #3a86a8; }
.ivx[data-design="world"] .gx-phase span { color: #fff; border-color: transparent; background: #3f9a8f; }
.ivx[data-design="world"] .gx-phase:nth-of-type(2) span { background: #3a8a80; } .ivx[data-design="world"] .gx-phase:nth-of-type(3) span { background: #2f7c9b; }
.ivx[data-design="world"] .gx-time b { color: #3a8a80; }
.ivx[data-design="world"] .gx-rail::before { background: repeating-linear-gradient(180deg, rgba(63, 154, 143, .45) 0 4px, transparent 4px 8px); }
.ivx[data-design="world"] .gx-medal { color: #347f77; border-color: rgba(63, 154, 143, .3); background: radial-gradient(circle at 35% 30%, #fff, #e4f5f0); box-shadow: 0 6px 12px -6px rgba(43, 79, 87, .4); }
.ivx[data-design="world"] .gx-card { background: #fafefd; border-color: rgba(43, 79, 87, .12); box-shadow: 0 10px 20px -18px rgba(43, 79, 87, .6); }
.ivx[data-design="world"] .gx-card h4 em { color: #fff; background: linear-gradient(135deg, #86c7b1, #347f77); }
.ivx[data-design="world"] .gx-item.is-key .gx-card { border-color: rgba(58, 138, 128, .4); background: linear-gradient(160deg, #fff, #e4f5f0); }
.ivx[data-design="world"] .gx-item.is-key .gx-medal, .ivx[data-design="world"] .gx-item.is-now .gx-medal { color: #fff; border-color: transparent; background: radial-gradient(circle at 35% 30%, #c4e6f1, #3a8a80); }
.ivx[data-design="world"] .gx-item.is-now .gx-card { border-color: #3a8a80; box-shadow: 0 0 0 1px rgba(58, 138, 128, .4), 0 12px 26px -12px rgba(58, 138, 128, .55); }
.ivx[data-design="world"] .gx-state { color: #347f77; }
.ivx[data-design="world"] .gx-item.is-next .gx-state { color: #3a8a80; }
.ivx[data-design="world"] .ivx-count > div { background: #fafefd; border-color: rgba(43, 79, 87, .12); border-radius: 14px; box-shadow: 0 14px 24px -18px rgba(43, 79, 87, .6); }
.ivx[data-design="world"] .ivx-count b { font-family: var(--font-display); font-weight: 800; background: linear-gradient(180deg, #3f9a8f, #3a86a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ivx[data-design="world"] .gx-arch { border-color: rgba(63, 154, 143, .3); background: radial-gradient(90% 60% at 50% 40%, #fff, #d9eff2); box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .7), inset 0 0 0 6px rgba(242, 182, 50, .4); }
.ivx[data-design="world"] .gx-arch img { top: auto; bottom: 0; width: 230% !important; }
.ivx[data-design="world"] .gx-dress-txt { min-width: 0; }
.ivx[data-design="world"] .gx-swatches { flex-wrap: wrap; gap: 6px; }
.ivx[data-design="world"] .gx-swatches span { width: 44px; }
.ivx[data-design="world"] .gx-swatches i { border-color: #fff; box-shadow: 0 8px 14px -6px rgba(43, 79, 87, .45); }
.ivx[data-design="world"] .gx-hl figcaption span { color: #3a8a80; }
.ivx[data-design="world"] .gx-dead span { background: rgba(43, 79, 87, .1); }
.ivx[data-design="world"] .gx-dead i { background: linear-gradient(90deg, #3f9a8f, #9fd6c0, #3a8a80); }
.ivx[data-design="world"] .gx-pill.is-ok { color: #2f8f5f; border-color: rgba(47, 143, 95, .35); }
.ivx[data-design="world"] .gx-ghost { color: #3a86a8; border-color: #3f9a8f; }
.ivx[data-design="world"] .gx-ghost:hover { background: #e4f5f0; }
.ivx[data-design="world"] .ivx-shine { color: #2b4f57; background: linear-gradient(135deg, #bfe6d6 0%, #9fd6c0 50%, #86c7b1 100%); box-shadow: 0 10px 22px -10px rgba(58, 138, 128, .8), inset 0 1px 0 rgba(255, 255, 255, .45); letter-spacing: .18em; font-size: 12.5px; }
.ivx[data-design="world"] .gx-chip:focus-visible, .ivx[data-design="world"] .gx-ghost:focus-visible { outline-color: #3a86a8; }
.ivx[data-design="world"] .ivx-foot .ivx-tag { font-weight: 800; color: #347f77; }

/* e-ticket as a boarding pass */
.ivx[data-design="world"] .ivt { color: #2b4f57; background: linear-gradient(160deg, #ffffff 0%, #f3faf8 60%, #eaf6f4 100%); border-color: rgba(43, 79, 87, .14); box-shadow: 0 24px 40px -20px rgba(43, 79, 87, .55); }
.ivx[data-design="world"] .ivt-head { color: #fff; background: linear-gradient(90deg, #3f9a8f, #2f7c9b); }
.ivx[data-design="world"] .ivt-head span { color: #e4f5f0; }
.ivx[data-design="world"] .ivt-head b { font-family: "Fraunces", Georgia, serif; font-weight: 800; color: #fff; text-shadow: 2px 2px 0 rgba(58, 138, 128, .9); }
.ivx[data-design="world"] .ivt-head em { color: #e4f5f0; }
.ivx[data-design="world"] .ivt-body { padding-top: 14px; }
.ivx[data-design="world"] .ivt dt, .ivx[data-design="world"] .ivt-foot span { color: #7a979d; }
.ivx[data-design="world"] .ivt dd, .ivx[data-design="world"] .ivt-foot b { color: #2b4f57; }
.ivx[data-design="world"] .ivt-foot b { color: #3a8a80; }
.ivx[data-design="world"] .ivt-qr { box-shadow: 0 0 0 1px rgba(43, 79, 87, .14); }
.ivx[data-design="world"] .ivt-cut { border-top-color: rgba(43, 79, 87, .2); }
.ivx[data-design="world"] .ivt-shine { mix-blend-mode: normal; background: radial-gradient(60% 50% at var(--sx, 50%) 0%, rgba(255, 255, 255, .35), transparent 70%); }

@media (prefers-reduced-motion: reduce) {
  .wx-cloud { animation: none !important; }
  .wx-cloud.is-a { left: 8%; } .wx-cloud.is-b { left: 66%; }
  .wx-art img { transition: none; translate: none; }
}

/* Card Studio redraws: no entrance animations, so typing does not flicker */
.ivx.no-intro .ivx-reveal > * { opacity: 1; transform: none; transition: none; }
.ivx.no-intro .ivx-hero.is-active .ivx-s1-label, .ivx.no-intro .ivx-hero.is-active .ivx-s1-date, .ivx.no-intro .ivx-hero.is-active .ivx-s1-hint,
.ivx.no-intro .ivx-hero.is-active .ivx-s1-amp, .ivx.no-intro .ivx-hero.is-active .ivx-s1-line { animation: none; opacity: 1; transform: none; }
.ivx.no-intro .ivx-hero.is-active .ivx-s1-name > span { animation: 5s linear infinite ivxShimmer; opacity: 1; }
.ivx.no-intro .ivx-content { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .ivx *, .ivx *::before, .ivx *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ivx-reveal > * { opacity: 1; transform: none; }
  html.ivx-doc { scroll-behavior: auto; }
}

/* ===== Design 3 · Around the World: culture artwork + entrances (world-culture.js, design-world.js) ===== */
.wc-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wx-skyline { left: 0; width: 100%; bottom: calc(1150px * var(--u)); height: calc(330px * var(--u)); }
.wx-floaters { left: 0; width: 100%; bottom: calc(1300px * var(--u)); height: calc(780px * var(--u)); }
.wx-flags { left: 0; width: 100%; bottom: calc(1492px * var(--u)); height: calc(124px * var(--u)); }
.wx-lm, .wx-fl { position: absolute; }
.wx-lm-art, .wx-fl-art { display: block; width: 100%; height: auto; overflow: visible; }
.wx-lm-art { filter: drop-shadow(0 6px 8px rgba(43, 79, 87, .12)); }
/* a bank of clouds the landmarks stand on */
.wx-bank { position: absolute; left: -6%; right: -6%; bottom: calc(-16px * var(--u)); height: calc(58px * var(--u)); border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #fff; opacity: .94; filter: blur(1.5px); pointer-events: none; }
.wx-bank::before, .wx-bank::after { content: ""; position: absolute; bottom: 30%; width: 34%; height: 90%; border-radius: 50%; background: #fff; }
.wx-bank::before { left: 6%; } .wx-bank::after { right: 8%; width: 40%; }
.wx-bank.is-b { bottom: calc(-26px * var(--u)); height: calc(46px * var(--u)); background: #eef8f5; opacity: .9; left: -12%; right: -2%; }
/* landmarks pop up one after another */
.wx-ready .wx-lm { opacity: 0; transform-origin: 50% 100%; }
.wx-ready .wx-in.is-in .wx-lm { animation: wxPop 1.15s cubic-bezier(.3, 1.4, .5, 1) calc(.1s + var(--i) * .14s) both; }
@keyframes wxPop { 0% { opacity: 0; translate: 0 38px; scale: .55 .3; } 45% { opacity: 1; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
.wx-ready .wx-bank { opacity: 0; translate: 0 18px; transition: opacity 1.2s ease-out, translate 1.4s cubic-bezier(.22, 1, .36, 1); }
.wx-ready .wx-in.is-in .wx-bank { opacity: .94; translate: 0 0; }
.wx-ready .wx-in.is-in .wx-bank.is-b { opacity: .9; }
.wc-blades { transform-box: fill-box; transform-origin: center; animation: wxSpin 11s linear infinite; }
@keyframes wxSpin { to { rotate: 360deg; } }
/* kites, koi streamers, cranes and lanterns */
.wx-ready .wx-fl { opacity: 0; }
.wx-ready .wx-in.is-in .wx-fl { animation: wxFlIn 1.1s cubic-bezier(.2, .9, .3, 1) calc(.2s + var(--i) * .2s) both; }
@keyframes wxFlIn { from { opacity: 0; scale: .4; translate: 0 46px; } to { opacity: 1; scale: 1; translate: 0 0; } }
.wx-sway .wx-fl-art { transform-origin: 50% 4%; animation: wxSwayA 5.5s ease-in-out var(--d) infinite alternate; }
.wx-drift .wx-fl-art { animation: wxDrift 7s ease-in-out var(--d) infinite alternate; }
.wx-rise .wx-fl-art { animation: wxRise 9s ease-in-out var(--d) infinite alternate; }
@keyframes wxSwayA { from { rotate: -7deg; } to { rotate: 8deg; } }
@keyframes wxDrift { from { translate: -10px 2px; rotate: -7deg; } to { translate: 12px -16px; rotate: 7deg; } }
@keyframes wxRise { from { translate: 0 8px; } to { translate: 0 -30px; } }
.wc-tail { transform-box: fill-box; transform-origin: 50% 0; animation: wxWave 2.6s ease-in-out infinite alternate; }
.wc-fish { transform-box: fill-box; transform-origin: 0 50%; animation: wxWave 3s ease-in-out calc(var(--k) * -.8s) infinite alternate; }
/* country pennants: the string draws, the flags drop on, then wave */
.wx-flags svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wx-string { stroke-dasharray: 520; stroke-dashoffset: 0; }
.wx-ready .wx-flags .wx-string { stroke-dashoffset: 520; }
.wx-ready .wx-flags.is-in .wx-string { animation: wxDraw 1.5s ease-out both; }
@keyframes wxDraw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
.wx-flag { transform-box: fill-box; transform-origin: 50% 0; }
.wx-ready .wx-flag { opacity: 0; }
.wx-ready .wx-flags.is-in .wx-flag { animation: wxDrop 1s cubic-bezier(.3, 1.5, .5, 1) calc(.45s + var(--i) * .09s) both, wxWave 3.2s ease-in-out calc(1.9s + var(--i) * .17s) infinite alternate; }
@keyframes wxDrop { from { opacity: 0; rotate: -75deg; translate: 0 -16px; } to { opacity: 1; rotate: 0deg; translate: 0 0; } }
@keyframes wxWave { from { rotate: -4deg; } to { rotate: 5deg; } }
/* the house settles in and the stage with its arch and globe rises out of the ground */
.wx-ready .ivx-house { translate: 0 4%; scale: .95; transform-origin: 50% 100%; filter: saturate(.7) blur(4px); transition: translate 1.7s cubic-bezier(.22, 1, .36, 1), scale 1.7s cubic-bezier(.22, 1, .36, 1), filter 1.3s ease-out; }
.wx-ready .ivx-house.is-in { translate: 0 0; scale: 1; filter: none; }
.wx-ready .ivx-pelamin { clip-path: inset(100% 0 0 0); translate: 0 7%; transition: clip-path 1.9s cubic-bezier(.22, 1, .36, 1) .2s, translate 1.9s cubic-bezier(.22, 1, .36, 1) .2s; }
.wx-ready .ivx-pelamin.is-in { clip-path: inset(0 0 0 0); translate: 0 0; }
.wx-props { left: 0; width: 100%; bottom: calc(628px * var(--u)); height: calc(150px * var(--u)); }
.wx-prop { position: absolute; }
.wx-ready .wx-prop { opacity: 0; transform-origin: 50% 100%; }
.wx-ready .wx-props.is-in .wx-prop { animation: wxPop 1.1s cubic-bezier(.3, 1.45, .5, 1) calc(.9s + var(--i) * .16s) both; }
/* real 3D skyline (world3d.js): the canvas stands where the flat skyline was */
.wx-sky3d { left: 0; width: 100%; bottom: calc(1096px * var(--u)); height: calc(450px * var(--u)); }
.wx3d-canvas { display: block; width: 100%; height: 100%; }
.wx3d .wx-skyline { display: none; }
/* what to wear: 3D mannequins */
.wx-fits { padding-left: 0; padding-right: 0; }
.wx-fits > .ivx-reveal { padding: 0 20px; }
.wx-fit-row { display: flex; gap: 12px; padding: 8px 20px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wx-fit-row::-webkit-scrollbar { display: none; }
.wx-fit { position: relative; flex: 0 0 min(68vw, 252px); scroll-snap-align: center; overflow: hidden; border: 1px solid rgba(43, 79, 87, .1); border-radius: 24px; background: #fff; box-shadow: 0 22px 38px -22px rgba(43, 79, 87, .5); text-align: left; }
.wx-fit-art { position: relative; display: grid; place-items: end center; height: 340px; overflow: hidden; background: radial-gradient(70% 50% at 50% 38%, rgba(255, 255, 255, .95), transparent 72%), linear-gradient(180deg, #d9eff2 0%, #f3faf8 100%); }
.wx-fit-art img { position: absolute; left: 8px; right: 8px; top: 14px; bottom: 0; width: calc(100% - 16px); height: calc(100% - 14px); object-fit: contain; object-position: 50% 100%; opacity: 0; transform: translateY(16px) scale(.95); transition: opacity .8s ease, transform 1s cubic-bezier(.22, 1, .36, 1); }
.wx-fit-art img[hidden] { display: none; }
.wx-fit-art.is-ready img { opacity: 1; transform: none; }
.wx-fit-art.is-photo img { object-position: 50% 100%; filter: drop-shadow(0 14px 12px rgba(43, 79, 87, .22)); }
.wx-fit-art.is-scene img { left: 0; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: none; }
.wx-fit-skel { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .75) 50%, transparent 80%) 0 0 / 220% 100%; animation: wxSkel 1.5s linear infinite; }
.wx-fit-art.is-ready .wx-fit-skel { display: none; }
@keyframes wxSkel { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.wx-fit-body { padding: 14px 18px 18px; }
.wx-fit-body small { display: block; font-family: var(--font-label); font-size: 9.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #347f77; }
.wx-fit-body b { display: block; margin-top: 3px; font-family: var(--font-display); font-size: 23px; font-weight: 800; line-height: 1.1; color: #2b4f57; }
.wx-fit-body p { margin: 6px 0 12px; font-size: 12.5px; line-height: 1.5; color: #5a7b83; }
.wx-fit-sw { display: inline-flex; gap: 6px; }
.wx-fit-sw i { width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(43, 79, 87, .18); }
.wx-fits.is-flat .wx-fit-art { display: none; }
.wx-ready .wx-fit-row .wx-fit { opacity: 0; }
.wx-ready .wx-fit-row.is-in .wx-fit { animation: wxCardIn .9s cubic-bezier(.22, 1, .36, 1) calc(var(--i) * .08s) both; }
.ivx-foot .ivx-name { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--accent-gold); }
/* say hello around the world */
.wx-hello { padding-left: 0; padding-right: 0; }
.wx-hello > .ivx-reveal { padding: 0 20px; }
.wx-hello-row { display: flex; gap: 12px; padding: 8px 20px 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wx-hello-row::-webkit-scrollbar { display: none; }
.wx-card { position: relative; flex: 0 0 min(62vw, 232px); scroll-snap-align: center; overflow: hidden; border: 1px solid rgba(43, 79, 87, .1); border-radius: 22px; background: #fff; box-shadow: 0 18px 34px -20px rgba(43, 79, 87, .45); text-align: left; }
.wx-card-art { position: relative; display: grid; place-items: end center; height: 132px; background: linear-gradient(180deg, #d9eff2 0%, #f3faf8 100%); overflow: hidden; }
.wx-card-sun { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: #c4e6f1; opacity: .9; }
.wx-card-lm { position: relative; z-index: 1; display: block; width: 116px; height: 116px; margin-bottom: -4px; animation: wxBob 4.2s ease-in-out calc(var(--i) * -.5s) infinite alternate; }
@keyframes wxBob { from { translate: 0 0; } to { translate: 0 -5px; } }
.wx-card-body { padding: 12px 16px 16px; }
.wx-card-body small { display: block; font-family: var(--font-label); font-size: 9.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #347f77; }
.wx-card-body b { display: block; margin-top: 3px; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.1; color: #2b4f57; }
.wx-card-body p { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: #5a7b83; }
.wx-card-stamp { position: absolute; top: 10px; left: 10px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px dashed color-mix(in srgb, var(--c) 70%, #2b4f57); border-radius: 50%; font-family: var(--font-label); font-size: 10px; font-weight: 800; color: color-mix(in srgb, var(--c) 70%, #2b4f57); background: rgba(255, 255, 255, .7); }
.wx-ready .wx-hello-row .wx-card { opacity: 0; }
.wx-ready .wx-hello-row.is-in .wx-card { animation: wxCardIn .9s cubic-bezier(.22, 1, .36, 1) calc(var(--i) * .08s) both; }
@keyframes wxCardIn { from { opacity: 0; translate: 56px 0; rotate: 4deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) {
  .wx-lm, .wx-prop, .wx-fl, .wx-flag, .wx-card, .wx-fit, .wx-bank { animation: none !important; opacity: 1 !important; translate: none !important; scale: none !important; rotate: none !important; transition: none !important; }
  .wx-fl-art, .wc-blades, .wc-tail, .wc-fish, .wx-card-lm { animation: none !important; }
  .wx-ready .wx-flags .wx-string { stroke-dashoffset: 0; animation: none; }
  .wx-ready .ivx-house, .wx-ready .ivx-pelamin { translate: none; scale: none; filter: none; clip-path: none; transition: none; }
}


/* venue map: OpenStreetMap data on CARTO light tiles (Leaflet), a teal pin and white rounded zoom buttons */
.ivv-map { position: relative; z-index: 0; height: 200px; overflow: hidden; border-radius: 16px; background: #e9eef0; box-shadow: inset 0 0 0 1px rgba(18, 50, 57, .1); isolation: isolate; }
.ivv-map-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 12.5px/1.3 var(--font-body); color: #46666d; }
.ivv-map .leaflet-container { width: 100%; height: 100%; background: #e9eef0; font-family: var(--font-body); outline: 0; }
.ivv-map .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px -6px rgba(18, 50, 57, .45); margin: 10px 10px 0 0; }
.ivv-map .leaflet-control-zoom a { width: 34px; height: 34px; line-height: 34px; border: 0; color: #123239; font-size: 20px; font-weight: 700; }
.ivv-map .leaflet-control-zoom a + a { border-top: 1px solid rgba(18, 50, 57, .1); }
.ivv-map .leaflet-control-attribution { margin: 0; padding: 2px 6px; border-radius: 8px 0 0 0; background: rgba(255, 255, 255, .8); font-size: 9.5px; color: #46666d; }
.ivv-map .leaflet-control-attribution a { color: #0d7b7b; }
.ivv-pin { background: none; border: 0; }
.ivv-pin i { position: absolute; left: 3px; top: 0; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: #0d7b7b; transform: rotate(-45deg); box-shadow: 0 6px 12px -4px rgba(13, 123, 123, .7); }
.ivv-pin i::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.ivv-pin b { position: absolute; left: 7px; top: 32px; width: 20px; height: 8px; border-radius: 50%; background: rgba(18, 50, 57, .22); animation: ivvPulse 2s ease-out infinite; }
@keyframes ivvPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ivv-pin b { animation: none; } }
.ivv-map .leaflet-tile-pane { filter: saturate(.55) brightness(1.04) contrast(.94); }

/* calendar sheet: the month with the night circled, then add-to-calendar buttons */
.ivk-month { padding: 12px 14px 14px; border-radius: 16px; background: #f5faf8; box-shadow: inset 0 0 0 1px rgba(18, 50, 57, .08); }
.ivx-sheets .ivk-mt { margin: 0 0 8px; font: 800 13px/1 var(--font-body); letter-spacing: .04em; color: #123239; }
.ivk-wd, .ivk-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.ivk-wd span { padding: 4px 0 6px; font: 700 10px/1 var(--font-body); letter-spacing: .1em; color: #46666d; }
.ivk-days { row-gap: 2px; }
.ivk-days b { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; font: 600 13px/1 var(--font-body); color: #123239; }
.ivk-days b.is-event { background: #0d7b7b; color: #fff; font-weight: 800; box-shadow: 0 8px 16px -8px rgba(13, 123, 123, .9); }
.ivx-sheets .ivk-add { margin: 4px 0 -4px; font: 700 10.5px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: #46666d; }

/* contact sheet: one clear card — who, the number (copyable), then WhatsApp and Call */
.ivq-card { display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: #f5faf8; box-shadow: inset 0 0 0 1px rgba(18, 50, 57, .08); }
.ivq-head { display: flex; align-items: center; gap: 14px; }
.ivq-head .ivc-ava { width: 64px; height: 64px; flex: none; background: radial-gradient(circle at 50% 35%, #fff 0%, #dff1f3 70%, #cfe8ee 100%); }
.ivc-ava img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ivq-who { display: grid; gap: 2px; min-width: 0; }
.ivq-who b { font: 800 17px/1.2 "Fraunces", var(--font-display); color: #123239; }
.ivq-who small { font: 500 13px/1.3 var(--font-body); color: #46666d; }
.ivq-who em { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font: 600 11.5px/1.2 var(--font-body); font-style: normal; color: #0d7b7b; }
.ivq-num { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(18, 50, 57, .08); }
.ivq-num > span { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--font-body); letter-spacing: .02em; color: #123239; font-variant-numeric: tabular-nums; }
.ivq-num > span iconify-icon { font-size: 18px; color: #0d7b7b; }
.ivq-go { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.ivq-wa, .ivq-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 16px; font: 700 14px/1 var(--font-body); text-decoration: none; transition: transform .16s ease; }
.ivq-wa:active, .ivq-call:active { transform: scale(.97); }
.ivq-wa iconify-icon, .ivq-call iconify-icon { font-size: 21px; }
.ivq-wa { color: #fff; background: linear-gradient(135deg, #34df78, #12a85d); box-shadow: 0 12px 20px -12px rgba(18, 168, 93, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.ivq-call { color: #0d7b7b; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(13, 123, 123, .35); }

/* ── World countdown: one connected panel, live seconds in coral ── */
.ivx[data-design="world"] .wx-cd { padding: 44px 20px 36px; }
.ivx[data-design="world"] .wx-cd .ivx-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: min(100%, 340px); margin: 0 auto; padding: 6px; border-radius: 22px; background: #fff; border: 1px solid rgba(43, 79, 87, .1); box-shadow: 0 20px 34px -22px rgba(43, 79, 87, .55), inset 0 0 0 1px rgba(255, 255, 255, .8); }
.ivx[data-design="world"] .wx-cd .ivx-count > div { position: relative; min-width: 0; padding: 14px 2px 12px; border: 0; border-radius: 16px; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ivx[data-design="world"] .wx-cd .ivx-count > div + div::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(43, 79, 87, .12); }
.ivx[data-design="world"] .wx-cd .ivx-count b { font-size: clamp(30px, 9.4vw, 38px); line-height: 1.1; letter-spacing: -.01em; }
.ivx[data-design="world"] .wx-cd .ivx-count > div:last-child b { background: linear-gradient(180deg, #f2a65a, #e8743b); -webkit-background-clip: text; background-clip: text; }
.ivx[data-design="world"] .wx-cd .ivx-count span { margin-top: 6px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #5f858c; }
.ivx .wx-cd-cap { margin: 26px 0 0; font: 600 13px/1.3 var(--font-body); color: #2b4f57; letter-spacing: .01em; }
.wx-cd-add { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 9px 16px 9px 13px; border: 1px solid rgba(13, 123, 123, .28); border-radius: 999px; background: rgba(255, 255, 255, .7); color: #0d7b7b; font: 700 12.5px/1 var(--font-body); cursor: pointer; transition: background .2s, transform .2s, border-color .2s; }
.wx-cd-add iconify-icon { font-size: 16px; }
.wx-cd-add:hover { background: #fff; border-color: #0d7b7b; }
.wx-cd-add:active { transform: scale(.97); }
.wx-cd-add:focus-visible { outline: 2px solid #0d7b7b; outline-offset: 3px; }

/* ── Boarding-pass QR: tap for the full-page, see-through view ── */
.wx-bp-qr.is-zoom { position: relative; cursor: zoom-in; border-radius: 8px; -webkit-tap-highlight-color: transparent; transition: transform .2s; }
.wx-bp-qr.is-zoom:active { transform: scale(.96); }
.wx-bp-qr.is-zoom:focus-visible { outline: 2px solid var(--bp-teal); outline-offset: 4px; }
.wx-bp-qr-zoom { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bp-teal); color: #fff; font-size: 12px; box-shadow: 0 2px 6px rgba(13, 123, 123, .4); }
.wx-qrfull { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; color: #0b5f5f; cursor: zoom-out; opacity: 0; transition: opacity .25s ease;
  background: rgba(236, 248, 246, .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.wx-qrfull[hidden] { display: none; }
.wx-qrfull.is-in { opacity: 1; }
.wx-qrfull-in { display: grid; justify-items: center; gap: 6px; text-align: center; transform: scale(.9) translateY(10px); transition: transform .32s cubic-bezier(.2, .9, .3, 1); }
.wx-qrfull.is-in .wx-qrfull-in { transform: none; }
.wx-qrfull-code { width: min(78vw, 56vh, 380px); aspect-ratio: 1; }
.wx-qrfull-code svg { display: block; width: 100%; height: 100%; }
.ivx .wx-qrfull-t { margin: 28px 0 0; font: 800 20px/1.2 var(--font-display); color: #123239; }
.ivx .wx-qrfull-s { margin: 0; font: 600 13.5px/1.4 var(--font-body); color: #2b4f57; }
.ivx .wx-qrfull-h { margin: 10px 0 0; font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #5f858c; }
.wx-qrfull-x { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(13, 123, 123, .25); border-radius: 50%; background: rgba(255, 255, 255, .7); color: #0b5f5f; font-size: 18px; cursor: pointer; }
.wx-qrfull-x:focus-visible { outline: 2px solid #0b5f5f; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wx-qrfull, .wx-qrfull-in, .wx-bp-qr.is-zoom { transition: none; } }

/* ── World bottom nav: a floating dock, RSVP as the primary action ── */
.ivx[data-design="world"] .ivx-nav { bottom: max(10px, env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-width: 351px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 26px; transform: translate(-50%, calc(100% + 28px)); transition: transform .4s cubic-bezier(.2, .9, .3, 1);
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 18px 34px -12px rgba(8, 30, 40, .55), 0 2px 8px rgba(8, 30, 40, .1), inset 0 0 0 1px rgba(43, 79, 87, .06); }
.ivx[data-design="world"] .ivx-nav.is-in { transform: translate(-50%, 0); }
.ivx[data-design="world"] .ivx-nav > div { gap: 4px; padding: 6px; }
.ivx[data-design="world"] .ivx-nav button { gap: 4px; min-height: 52px; padding: 8px 4px 7px; border-radius: 20px; color: #4f747b; transition: background .2s, color .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.ivx[data-design="world"] .ivx-nav button svg { width: 22px; height: 22px; stroke-width: 1.8; }
.ivx[data-design="world"] .ivx-nav span { font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.ivx[data-design="world"] .ivx-nav button:hover { background: rgba(13, 123, 123, .08); color: #0d7b7b; }
.ivx[data-design="world"] .ivx-nav button:active { transform: scale(.94); }
.ivx[data-design="world"] .ivx-nav button:focus-visible { outline: 2px solid #0d7b7b; outline-offset: 1px; }
.ivx[data-design="world"] .ivx-nav button[data-iv-open="rsvp"] { flex: 1.25; color: #fff; background: linear-gradient(160deg, #1ba895, #0d7b7b); box-shadow: 0 8px 16px -8px rgba(13, 123, 123, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ivx[data-design="world"] .ivx-nav button[data-iv-open="rsvp"]:hover { background: linear-gradient(160deg, #20b6a2, #0f8686); color: #fff; }
@media (prefers-reduced-motion: reduce) { .ivx[data-design="world"] .ivx-nav, .ivx[data-design="world"] .ivx-nav button { transition: none; } }

/* ── Cross-browser polish (Safari / iOS / Chrome) ── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.ivx button, .ivx a, .ivx [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ivx button { font-family: inherit; }
/* hover styles only where a real pointer exists, so taps on phones don't leave things stuck "hovered" */
@media (hover: none) { .ivx[data-design="world"] .ivx-nav button:hover { background: transparent; color: #4f747b; } .ivx[data-design="world"] .ivx-nav button[data-iv-open="rsvp"]:hover { background: linear-gradient(160deg, #1ba895, #0d7b7b); color: #fff; } .wx-cd-add:hover { background: rgba(255, 255, 255, .7); border-color: rgba(13, 123, 123, .28); } }
/* the dock stays clear of rounded corners and the home bar on narrow phones */
@media (max-width: 359px) { .ivx[data-design="world"] .ivx-nav span { font-size: 10px; } .ivx[data-design="world"] .ivx-nav > div { gap: 2px; padding: 5px; } }

/* tablets and desktops: the invitation stays a phone-width column, framed on a soft backdrop */
@media (min-width: 600px) {
  html.ivx-doc body { background: radial-gradient(55% 45% at 15% 8%, rgba(63, 154, 143, .2), transparent 70%), radial-gradient(50% 45% at 88% 92%, rgba(242, 166, 90, .18), transparent 70%), var(--ivx-shell, #1a1a1f); }
  .ivx-main { box-shadow: 0 0 0 1px rgba(43, 79, 87, .08), 0 40px 90px -30px rgba(11, 37, 48, .45); }
}

/* comfortable touch targets (at least ~40px tall) */
.ivx .wx-bp-rsvp { min-height: 42px; padding: 11px 18px; }
.ivx .gx-chip { min-height: 40px; }
.ivx .wx-cd-add { min-height: 42px; }
.ivx .wr-credits a { display: inline-block; padding: 6px 2px; }

/* ── "Open Invitation": a clear primary action, with a soft pulse and the plane taking off ── */
.ivx .ivx-open.wx-open { position: relative; isolation: isolate; min-height: 54px; gap: 10px; margin-top: 18px; padding: 15px 32px 15px 28px; color: #fff; font-size: 13px !important; letter-spacing: .16em; text-shadow: 0 1px 0 rgba(0, 60, 60, .35);
  background: linear-gradient(160deg, #26bba6 0%, #12958a 55%, #0d7b7b 100%); box-shadow: 0 16px 28px -12px rgba(13, 123, 123, .9), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 60, 60, .28); transition: transform .2s, box-shadow .2s, filter .2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ivx .ivx-open.wx-open::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 2px solid rgba(38, 187, 166, .65); animation: wxOpenPulse 2.4s ease-out infinite; pointer-events: none; }
.ivx .ivx-open.wx-open iconify-icon { font-size: 22px; animation: wxOpenFly 2.4s ease-in-out infinite; }
.ivx .ivx-open.wx-open:hover { background: linear-gradient(160deg, #2cc6b0 0%, #14a094 55%, #0f8686 100%); transform: translateY(-2px); box-shadow: 0 20px 32px -12px rgba(13, 123, 123, .95), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(0, 60, 60, .28); }
.ivx .ivx-open.wx-open:active { transform: translateY(1px) scale(.97); box-shadow: 0 8px 16px -10px rgba(13, 123, 123, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ivx .ivx-open.wx-open:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0d7b7b, 0 16px 28px -12px rgba(13, 123, 123, .9); }
@keyframes wxOpenPulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.22, 1.5); opacity: 0; } }
@keyframes wxOpenFly { 0%, 55%, 100% { transform: translate(0, 0) rotate(0); } 80% { transform: translate(5px, -3px) rotate(-8deg); } }
@media (hover: none) { .ivx .ivx-open.wx-open:hover { transform: none; background: linear-gradient(160deg, #26bba6 0%, #12958a 55%, #0d7b7b 100%); } }
@media (prefers-reduced-motion: reduce) { .ivx .ivx-open.wx-open::before, .ivx .ivx-open.wx-open iconify-icon { animation: none; } .ivx .ivx-open.wx-open { transition: none; } }

/* ── World programme: phase chips, time ranges, duration pills, tentative notice ── */
.ivx[data-design="world"] .wx-ph { position: sticky; top: 62px; z-index: 20; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0 0 12px; padding: 5px; border-radius: 18px; background: rgba(255, 255, 255, .96); border: 1px solid rgba(43, 79, 87, .1); box-shadow: 0 14px 26px -16px rgba(43, 79, 87, .5); }
.ivx[data-design="world"] .wx-ph-b { display: grid; justify-items: center; gap: 2px; min-width: 0; padding: 8px 4px 7px; border: 0; border-radius: 13px; background: transparent; color: #2b4f57; font-family: var(--font-body); cursor: pointer; transition: background .25s, color .25s, transform .15s; -webkit-tap-highlight-color: transparent; }
.ivx[data-design="world"] .wx-ph-b i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 800 10px/1 var(--font-display); font-style: normal; color: #347f77; background: rgba(63, 154, 143, .14); transition: background .25s, color .25s; }
.ivx[data-design="world"] .wx-ph-b b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; }
.ivx[data-design="world"] .wx-ph-b small { font-size: 9.5px; font-weight: 600; letter-spacing: .02em; color: #5f858c; transition: color .25s; white-space: nowrap; }
.ivx[data-design="world"] .wx-ph-b:active { transform: scale(.96); }
.ivx[data-design="world"] .wx-ph-b:focus-visible { outline: 2px solid #0d7b7b; outline-offset: 1px; }
.ivx[data-design="world"] .wx-ph-b.is-on { color: #fff; background: linear-gradient(160deg, #1ba895, #0d7b7b); box-shadow: 0 8px 14px -8px rgba(13, 123, 123, .8); }
.ivx[data-design="world"] .wx-ph-b.is-on i { color: #0d7b7b; background: #fff; }
.ivx[data-design="world"] .wx-ph-b.is-on small { color: rgba(255, 255, 255, .85); }
.ivx[data-design="world"] .wx-tent { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 16px; padding: 10px 12px; border: 1px dashed rgba(232, 116, 59, .5); border-radius: 12px; background: #fff7ee; font: 500 12px/1.45 var(--font-body); color: #7a4620; text-align: left; }
.ivx[data-design="world"] .wx-tent iconify-icon { flex: none; margin-top: 1px; font-size: 16px; color: #e8743b; }
.ivx[data-design="world"] .wx-tent b { font-weight: 800; }
.ivx[data-design="world"] .gx-phase { margin-top: 26px; scroll-margin-top: 140px; }
.ivx[data-design="world"] .gx-phase small { padding: 4px 9px; border-radius: 999px; font: 700 10.5px/1 var(--font-body); letter-spacing: .02em; white-space: nowrap; color: #347f77; background: rgba(63, 154, 143, .12); }
.ivx[data-design="world"] .wx-dur { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ivx[data-design="world"] .wx-dur span { padding: 2px 8px; border-radius: 999px; font: 700 10.5px/1.4 var(--font-body); color: #2f7c9b; background: rgba(47, 124, 155, .1); }
.ivx[data-design="world"] .wx-dur em { font-style: normal; font-size: 11.5px; color: #5f858c; }
.ivx[data-design="world"] .gx-time b { font-size: 17px; }
.ivx[data-design="world"] .gx-time small { font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.ivx[data-design="world"] .gx-item.is-done .gx-card { background: #f4f9f8; }
@media (max-width: 359px) { .ivx[data-design="world"] .wx-ph-b small { display: none; } }
@media (prefers-reduced-motion: reduce) { .ivx[data-design="world"] .wx-ph-b, .ivx[data-design="world"] .wx-ph-b i, .ivx[data-design="world"] .wx-ph-b small { transition: none; } }
.ivx[data-design="world"] .gx-phase b { white-space: nowrap; letter-spacing: .1em; font-size: 13.5px; }
.ivx[data-design="world"] .gx-phase i { min-width: 0; }
@media (max-width: 359px) { .ivx[data-design="world"] .gx-phase { flex-wrap: wrap; } .ivx[data-design="world"] .gx-phase i { display: none; } }
.gx-now[hidden] { display: none; }

/* ── World programme: richer timeline cards, a colour per phase ── */
.ivx[data-design="world"] .gx-phase[data-ph="0"], .ivx[data-design="world"] .gx-items[data-ph="0"] { --acc: #1ba895; --acc-soft: rgba(27, 168, 149, .12); --acc-ink: #0d7b7b; }
.ivx[data-design="world"] .gx-phase[data-ph="1"], .ivx[data-design="world"] .gx-items[data-ph="1"] { --acc: #2f7c9b; --acc-soft: rgba(47, 124, 155, .12); --acc-ink: #1f6584; }
.ivx[data-design="world"] .gx-phase[data-ph="2"], .ivx[data-design="world"] .gx-items[data-ph="2"] { --acc: #e8743b; --acc-soft: rgba(232, 116, 59, .13); --acc-ink: #b4501f; }
.ivx[data-design="world"] .gx-phase span { background: var(--acc, #3f9a8f) !important; box-shadow: 0 6px 12px -6px var(--acc, #3f9a8f); }
.ivx[data-design="world"] .gx-phase b { color: var(--acc-ink, #123239); }
.ivx[data-design="world"] .gx-phase small { color: var(--acc-ink, #347f77); background: var(--acc-soft, rgba(63, 154, 143, .12)); }
.ivx[data-design="world"] .gx-phase i { background: linear-gradient(90deg, var(--acc, #3f9a8f), transparent); opacity: .35; }
.ivx[data-design="world"] .gx-item { grid-template-columns: 52px 38px 1fr; column-gap: 8px; }
.ivx[data-design="world"] .gx-time { padding-top: 11px; }
.ivx[data-design="world"] .gx-time b { color: var(--acc-ink, #3a8a80); }
.ivx[data-design="world"] .gx-rail::before { background: repeating-linear-gradient(180deg, var(--acc, #3f9a8f) 0 4px, transparent 4px 9px); opacity: .45; }
.ivx[data-design="world"] .gx-medal { width: 38px; height: 38px; margin-top: 4px; font-size: 18px; color: var(--acc-ink, #347f77); border: 0; background: #fff; box-shadow: 0 0 0 3px var(--acc-soft, rgba(63, 154, 143, .12)), 0 8px 14px -8px rgba(43, 79, 87, .55); }
.ivx[data-design="world"] .gx-card { position: relative; margin-bottom: 12px; padding: 12px 14px 12px 16px; overflow: hidden; border: 1px solid rgba(43, 79, 87, .08); border-radius: 16px; background: #fff; box-shadow: 0 12px 22px -18px rgba(43, 79, 87, .65), 0 1px 0 rgba(255, 255, 255, .9) inset; }
.ivx[data-design="world"] .gx-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--acc, #3f9a8f); }
.ivx[data-design="world"] .gx-card h4 { font-size: 15px; line-height: 1.25; color: #123239; }
.ivx[data-design="world"] .gx-card h4 em { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; font-size: 9px; letter-spacing: .12em; color: #fff; background: linear-gradient(135deg, #f2a65a, #e8743b); box-shadow: 0 6px 10px -6px rgba(232, 116, 59, .9); }
.ivx[data-design="world"] .gx-card h4 em iconify-icon { font-size: 11px; }
.ivx[data-design="world"] .gx-item.is-key .gx-card { border-color: rgba(232, 116, 59, .35); background: linear-gradient(160deg, #fffaf4 0%, #fff 60%); box-shadow: 0 16px 26px -18px rgba(232, 116, 59, .75); }
.ivx[data-design="world"] .gx-item.is-key .gx-card::before { background: linear-gradient(180deg, #f2a65a, #e8743b); }
.ivx[data-design="world"] .gx-item.is-key .gx-medal { color: #fff; background: radial-gradient(circle at 35% 30%, #f6b98a, #e8743b); box-shadow: 0 0 0 3px rgba(232, 116, 59, .18), 0 8px 14px -8px rgba(232, 116, 59, .9); }
.ivx[data-design="world"] .gx-item.is-now .gx-card { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc-soft), 0 16px 28px -14px var(--acc); }
.ivx[data-design="world"] .gx-item.is-now .gx-medal { color: #fff; background: var(--acc); box-shadow: 0 0 0 5px var(--acc-soft); }
.ivx[data-design="world"] .wx-dur span { color: var(--acc-ink, #2f7c9b); background: var(--acc-soft, rgba(47, 124, 155, .1)); }
.ivx[data-design="world"] .wx-ph-b[data-wx-jump="1"].is-on { background: linear-gradient(160deg, #3a93b5, #2f7c9b); box-shadow: 0 8px 14px -8px rgba(47, 124, 155, .8); }
.ivx[data-design="world"] .wx-ph-b[data-wx-jump="1"].is-on i { color: #2f7c9b; }
.ivx[data-design="world"] .wx-ph-b[data-wx-jump="2"].is-on { background: linear-gradient(160deg, #f2a65a, #e8743b); box-shadow: 0 8px 14px -8px rgba(232, 116, 59, .85); }
.ivx[data-design="world"] .wx-ph-b[data-wx-jump="2"].is-on i { color: #e8743b; }
