/*
 * Template "Sakinah Tanpa Foto" (Pernikahan): a syar'i-friendly wedding that looks complete without photos.
 * Colors from the variant (x-inv.head): --inv-primary (deep teal: dark sections, buttons), --inv-deep (the
 * darkest tone), --inv-accent (soft gold: lines, lattice, medallion), --inv-blush (muted terracotta: dates,
 * washes, small accents), --inv-background (warm ivory), --inv-soft (sand bands), --inv-text.
 * Deep sections carry the class "sk-dark" (gold lattice + paper grain); light ones are ivory or sand.
 */

:root {
    --inv-primary: #1b5550;
    --inv-accent: #c9a45a;
    --inv-background: #f8f1e3;
    --inv-text: #1c2a28;
    --inv-deep: #0d2f2c;
    --inv-soft: #ebe1cd;
    --inv-blush: #b8654f;
    --inv-radius: 14px;

    --sk-col: min(100vw, 460px);
    --sk-edge: max(0px, calc((100vw - var(--sk-col)) / 2));
    --sk-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sk-script: 'Pinyon Script', 'Brush Script MT', cursive;
    --sk-text: 'Crimson Pro', Georgia, serif;
    --sk-arabic: 'Amiri', 'Traditional Arabic', serif;

    --sk-ivory: color-mix(in srgb, var(--inv-background) 80%, #fff);
    --sk-gold-hi: color-mix(in srgb, var(--inv-accent) 55%, #fff3d2);
    --sk-gold-lo: color-mix(in srgb, var(--inv-accent) 62%, #3a2608);
    /* gold dark enough for small text on ivory */
    --sk-gold-ink: color-mix(in srgb, var(--inv-accent) 45%, #2a1d08);
    --sk-muted: color-mix(in srgb, var(--inv-text) 84%, var(--inv-background));
    --sk-line: color-mix(in srgb, var(--inv-accent) 60%, transparent);
    --sk-paper: color-mix(in srgb, #fff 62%, var(--inv-background));
    --sk-shadow: 0 22px 44px -28px color-mix(in srgb, var(--inv-deep) 70%, transparent);

    /* the star-and-cross lattice, the ogee arch and paper grain (used as masks / overlays, tinted by CSS) */
    --sk-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none' stroke='black' stroke-width='.9'%3E%3Cpath d='M28 0L36.2 8.2H47.8V19.8L56 28L47.8 36.2V47.8H36.2L28 56L19.8 47.8H8.2V36.2L0 28L8.2 19.8V8.2H19.8Z'/%3E%3Cpath d='M28 15L31.8 18.8H37.2V24.2L41 28L37.2 31.8V37.2H31.8L28 41L24.2 37.2H18.8V31.8L15 28L18.8 24.2V18.8H24.2Z'/%3E%3Ccircle cx='28' cy='28' r='4'/%3E%3Cpath d='M0 0l8.2 8.2M56 0l-8.2 8.2M0 56l8.2-8.2M56 56l-8.2-8.2'/%3E%3C/svg%3E");
    --sk-arch-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 280' preserveAspectRatio='none'%3E%3Cpath d='M0 280V112C0 60 56 42 100 0c44 42 100 60 100 112v168Z'/%3E%3C/svg%3E");
    --sk-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
p, h1, h2, h3, figure, blockquote, ol, ul { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

body.sk-body {
    min-height: 100vh;
    color: var(--inv-text);
    font-family: var(--sk-text);
    font-size: 16.5px;
    line-height: 1.65;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(70vw 60vh at 50% 0%, color-mix(in srgb, var(--inv-primary) 70%, transparent), transparent 70%),
        var(--inv-deep);
    background-attachment: fixed;
}
/* the gold lattice backdrop on wide screens, behind the column */
body.sk-body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-accent); opacity: .12;
    -webkit-mask: var(--sk-lattice) center / 56px 56px repeat; mask: var(--sk-lattice) center / 56px 56px repeat;
}

.sk-preview {
    position: fixed; top: 0; left: 50%; z-index: 60; transform: translateX(-50%);
    padding: .3rem .9rem; border-radius: 0 0 10px 10px; white-space: nowrap;
    background: var(--inv-blush); color: #fff; font: 600 .72rem/1.4 var(--sk-text);
}

/* ---------- deep sections: gradient, gold lattice (≤ 8%) and paper grain ---------- */
.sk-dark {
    --sk-muted: color-mix(in srgb, var(--sk-ivory) 84%, var(--inv-deep));
    position: relative; isolation: isolate; color: var(--sk-ivory);
    background:
        radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--inv-primary) 85%, #fff 6%), transparent 72%),
        radial-gradient(70% 40% at 100% 100%, color-mix(in srgb, var(--inv-blush) 22%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 55%, var(--inv-deep)), var(--inv-deep));
}
.sk-dark::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-accent); opacity: .08;
    -webkit-mask: var(--sk-lattice) center top / 56px 56px repeat; mask: var(--sk-lattice) center top / 56px 56px repeat;
}
.sk-dark::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--sk-grain); opacity: .16; mix-blend-mode: soft-light;
}

/* ---------- shared pieces ---------- */
.sk-kicker {
    font: 700 .74rem/1.4 var(--sk-serif); letter-spacing: .3em; text-transform: uppercase;
    color: var(--sk-gold-ink);
}
.sk-dark .sk-kicker, .sk-cover .sk-kicker { color: var(--sk-gold-hi); }
.sk-script { font-family: var(--sk-script); font-weight: 400; line-height: 1.25; color: var(--inv-primary); }
.sk-dark .sk-script { color: var(--sk-gold-hi); }
.sk-khatam { display: block; color: var(--inv-accent); }
.sk-moon { display: block; color: var(--inv-accent); }
.sk-icon { display: inline-block; vertical-align: -.2em; width: 1.05rem; height: 1.05rem; flex: none; }

.sk-divider { display: flex; align-items: center; justify-content: center; gap: .6rem; max-width: 15rem; margin: 1.5rem auto; color: var(--inv-accent); }
.sk-divider__line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--inv-accent), transparent); }
.sk-divider__star { flex: none; width: 1.4rem; height: 1.4rem; }
.sk-divider--title { margin: .45rem auto 0; max-width: 12rem; }

.sk-chip {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
    padding: .42rem .95rem; border-radius: 999px; text-decoration: none;
    font: 600 .86rem/1.2 var(--sk-text); color: var(--inv-primary);
    background: var(--sk-paper);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 40%, transparent);
}
.sk-chip .sk-icon { width: 1rem; height: 1rem; }

.sk-card {
    --sk-muted: color-mix(in srgb, var(--inv-text) 84%, var(--inv-background));
    position: relative; padding: 1.5rem 1.25rem; border-radius: 22px; text-align: left; color: var(--inv-text);
    background: var(--sk-paper);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 45%, transparent), var(--sk-shadow);
}
.sk-dark .sk-card { box-shadow: inset 0 0 0 1px var(--inv-accent), 0 0 0 5px color-mix(in srgb, var(--inv-accent) 18%, transparent), 0 26px 50px -30px #000; }
.sk-lead { max-width: 32ch; margin: 0 auto 1.8rem; color: var(--sk-muted); font-size: 1.02rem; font-style: italic; }

/* small arch outline (date card) */
.sk-arch { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sk-arch__fill { fill: color-mix(in srgb, #fff 6%, transparent); }
.sk-arch__line { stroke: var(--inv-accent); stroke-width: 1.4; }
.sk-arch__inner { stroke: var(--inv-accent); stroke-width: .8; opacity: .6; }

/* ---------- the mihrab: deep fill, gold lattice band, glowing niche, gold lines, finial ---------- */
.sk-mihrab { --sk-band: 13px; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sk-mihrab__fill, .sk-mihrab__pattern, .sk-mihrab__core {
    position: absolute; inset: 0;
    -webkit-mask: var(--sk-arch-mask) 0 0 / 100% 100% no-repeat; mask: var(--sk-arch-mask) 0 0 / 100% 100% no-repeat;
}
.sk-mihrab__fill { background: linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 70%, var(--inv-deep)), var(--inv-deep)); }
.sk-mihrab__pattern {
    background: linear-gradient(180deg, var(--sk-gold-hi), var(--inv-accent)); opacity: .55;
    -webkit-mask: var(--sk-lattice) center top / 26px 26px repeat, var(--sk-arch-mask) 0 0 / 100% 100% no-repeat;
    -webkit-mask-composite: source-in;
    mask: var(--sk-lattice) center top / 26px 26px repeat, var(--sk-arch-mask) 0 0 / 100% 100% no-repeat;
    mask-composite: intersect;
}
.sk-mihrab__core {
    inset: var(--sk-band) var(--sk-band) 0;
    background:
        radial-gradient(75% 38% at 50% 34%, color-mix(in srgb, var(--inv-primary) 60%, #fff 22%), transparent 100%),
        linear-gradient(180deg, var(--inv-primary), color-mix(in srgb, var(--inv-primary) 55%, var(--inv-deep)) 70%, var(--inv-deep));
    box-shadow: inset 0 0 40px #000;
}
.sk-mihrab__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sk-mihrab__line path { stroke: var(--inv-accent); stroke-width: 1.6; }
.sk-mihrab__line--core { inset: var(--sk-band) var(--sk-band) 0; width: calc(100% - 2 * var(--sk-band)); height: calc(100% - var(--sk-band)); }
.sk-mihrab__line--core path { stroke: var(--sk-gold-hi); stroke-width: 1.2; }
.sk-mihrab__line--fine { inset: calc(var(--sk-band) + 6px) calc(var(--sk-band) + 6px) 0; width: calc(100% - 2 * var(--sk-band) - 12px); height: calc(100% - var(--sk-band) - 6px); }
.sk-mihrab__line--fine path { stroke: var(--inv-accent); stroke-width: .7; opacity: .7; }
.sk-mihrab__base {
    position: absolute; left: -10px; right: -10px; bottom: -7px; height: 7px; border-radius: 2px;
    background: linear-gradient(180deg, var(--sk-gold-hi), var(--inv-accent) 45%, var(--sk-gold-lo));
    box-shadow: 0 6px 14px -6px #000, 0 -3px 0 -1px color-mix(in srgb, var(--inv-accent) 60%, transparent);
}
.sk-mihrab__finial { position: absolute; top: 0; left: 50%; width: 1.7rem; height: 2.7rem; translate: -50% -94%; color: var(--inv-accent); overflow: visible; }
/* the arch melts into the ground at its foot */
.sk-mihrab--fade { -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }

/* the opening moment on the cover: the mihrab rises, its gold lines grow upward */
@media (prefers-reduced-motion: no-preference) {
    .sk-mihrab--draw { animation: sk-rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
    .sk-mihrab--draw .sk-mihrab__line { animation: sk-grow 1.5s .2s cubic-bezier(.5, 0, .2, 1) both; }
    .sk-mihrab--draw .sk-mihrab__base {
    position: absolute; left: -10px; right: -10px; bottom: -7px; height: 7px; border-radius: 2px;
    background: linear-gradient(180deg, var(--sk-gold-hi), var(--inv-accent) 45%, var(--sk-gold-lo));
    box-shadow: 0 6px 14px -6px #000, 0 -3px 0 -1px color-mix(in srgb, var(--inv-accent) 60%, transparent);
}
.sk-mihrab__finial { animation: sk-fade 0.6s 1.2s ease both; }
    .sk-cover__palm { animation: sk-fade 1s .7s ease both; }
}
@keyframes sk-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes sk-grow { from { clip-path: inset(100% -4px -4px -4px); } to { clip-path: inset(-12% -4px -4px -4px); } }
@keyframes sk-fade { from { opacity: 0; } }

/* ---------- the shamsa medallion ---------- */
.sk-medallion { position: relative; display: grid; place-items: center; width: 7rem; height: 7rem; flex: none; }
.sk-medallion__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .28)); }
.sk-medallion__ring { stroke: var(--inv-deep); stroke-width: .8; opacity: .45; }
.sk-medallion__bead { fill: var(--inv-deep); opacity: .55; }
.sk-medallion__star { fill: color-mix(in srgb, var(--inv-deep) 55%, var(--inv-accent)); stroke: var(--sk-gold-hi); stroke-width: .8; }
.sk-medallion__disc { fill: var(--inv-deep); stroke: var(--sk-gold-hi); stroke-width: 1.2; }
.sk-medallion__inner { stroke: var(--inv-accent); stroke-width: .6; stroke-dasharray: 1.4 2.2; }
.sk-medallion__letters {
    position: relative; display: inline-flex; align-items: baseline; justify-content: center; gap: .12rem;
    font: 600 1.5rem/1 var(--sk-serif); color: var(--sk-gold-hi); letter-spacing: .02em;
}
.sk-medallion__letters i { font: 400 1.05rem/1 var(--sk-script); color: var(--sk-ivory); font-style: normal; }

/* ---------- the date-palm sprig ---------- */
.sk-palm { display: block; overflow: visible; pointer-events: none; }
.sk-palm--flip { scale: -1 1; }
.sk-palm__rachis { fill: none; stroke: var(--sk-gold-lo); stroke-width: 1.3; stroke-linecap: round; }
.sk-palm__leaf--0 { fill: var(--inv-accent); }
.sk-palm__leaf--1 { fill: var(--sk-gold-hi); }
.sk-palm__leaf--2 { fill: var(--sk-gold-lo); }
.sk-palm__frond:nth-child(2) .sk-palm__leaf { opacity: .85; }
.sk-palm__strand { fill: none; stroke: var(--sk-gold-lo); stroke-width: .9; }
.sk-palm__date { fill: var(--inv-blush); stroke: color-mix(in srgb, var(--inv-blush) 60%, #000); stroke-width: .5; }
.sk-palm__shine { fill: #fff; opacity: .45; }

/* the lanterns: gold frame, glowing amber window, swinging from the chain */
.sk-lantern {
    display: block; color: var(--inv-accent); transform-origin: 50% 0;
    will-change: transform; animation: sk-swing 5.5s ease-in-out infinite alternate;
}
.sk-lantern__cap { fill: var(--inv-accent); }
.sk-lantern__body { fill: color-mix(in srgb, var(--inv-deep) 70%, var(--inv-accent)); }
.sk-lantern__window { fill: #ffd890; }
.sk-dark .sk-lantern, .sk-cover .sk-lantern, .sk-niche .sk-lantern { filter: drop-shadow(0 0 7px rgb(255 205 120 / .55)); }

@keyframes sk-swing { from { rotate: -4deg; } to { rotate: 4deg; } }
@keyframes sk-turn { to { rotate: 360deg; } }
@keyframes sk-pulse { 0%, 100% { opacity: .5; scale: 1; } 50% { opacity: .9; scale: 1.06; } }

/* ---------- cover ---------- */
.sk-cover {
    position: fixed; top: 0; bottom: 0; left: 50%; z-index: 30; width: var(--sk-col); transform: translateX(-50%);
    overflow: hidden auto; overscroll-behavior: contain; isolation: isolate; color: var(--sk-ivory);
    background:
        radial-gradient(80% 45% at 50% 40%, color-mix(in srgb, var(--inv-primary) 90%, #fff 8%), transparent 75%),
        radial-gradient(70% 35% at 50% 105%, color-mix(in srgb, var(--inv-blush) 30%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-deep), color-mix(in srgb, var(--inv-primary) 60%, var(--inv-deep)) 55%, var(--inv-deep));
}
.sk-cover::before {
    content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: var(--inv-accent); opacity: .08;
    -webkit-mask: var(--sk-lattice) center / 56px 56px repeat; mask: var(--sk-lattice) center / 56px 56px repeat;
}
.sk-cover::after {
    content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: var(--sk-grain); opacity: .16; mix-blend-mode: soft-light;
}
.sk-cover__lantern { position: absolute; top: 0; z-index: 1; width: 2rem; height: 5.6rem; }
.sk-cover__lantern--left { left: 9%; height: 4.4rem; width: 1.6rem; }
.sk-cover__lantern--right { right: 9%; animation-delay: -2.6s; }

.sk-cover__inner {
    position: relative; z-index: 2; min-height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: space-evenly;
    padding: calc(4rem + env(safe-area-inset-top)) 1.6rem calc(2.4rem + env(safe-area-inset-bottom));
    text-align: center;
}
.sk-cover__frame {
    position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: .3rem;
    width: 100%; max-width: 21rem; padding: 6.6rem 1.6rem 2.2rem;
}
.sk-cover__frame > :not(.sk-mihrab):not(.sk-palm) { position: relative; z-index: 1; }
.sk-cover__palm { position: absolute; bottom: -1.2rem; z-index: 2; width: 7.6rem; height: auto; aspect-ratio: 170 / 200; }
.sk-cover__palm--left { left: -2.4rem; }
.sk-cover__palm--right { right: -2.4rem; }
.sk-cover__the { margin-top: .2rem; font-size: .68rem; letter-spacing: .22em; white-space: nowrap; }
.sk-cover__medallion { margin: .35rem 0 .2rem; }

.sk-cover__names { display: flex; flex-direction: column; align-items: center; font-size: clamp(2.7rem, 12vw, 3.3rem); line-height: 1.12; color: var(--sk-ivory); text-shadow: 0 2px 14px rgb(0 0 0 / .35); }
.sk-cover__amp { font: italic 500 .5em/1.1 var(--sk-serif); color: var(--sk-gold-hi); }
.sk-cover__date { margin-top: .5rem; font: 700 .8rem/1.5 var(--sk-serif); letter-spacing: .2em; text-transform: uppercase; color: var(--sk-gold-hi); }
.sk-cover__quote { max-width: 26ch; margin-top: .45rem; font: italic 500 1rem/1.45 var(--sk-serif); color: color-mix(in srgb, var(--sk-ivory) 90%, transparent); }

.sk-guest {
    width: min(100%, 17rem); margin-top: 1.4rem; padding: .8rem 1.2rem .9rem; border-radius: 4px;
    background: color-mix(in srgb, var(--inv-deep) 55%, transparent);
    border: 1px solid var(--inv-accent);
    outline: 1px solid color-mix(in srgb, var(--inv-accent) 45%, transparent); outline-offset: 3px;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.sk-guest__label { font: 700 .66rem/1.4 var(--sk-serif); letter-spacing: .28em; text-transform: uppercase; color: var(--sk-gold-hi); }
.sk-guest__name { display: block; margin-top: .15rem; font: 600 1.35rem/1.3 var(--sk-serif); color: var(--sk-ivory); overflow-wrap: anywhere; }

.sk-open.inv-button {
    margin-top: 1.3rem; padding: .85rem 1.7rem; gap: .55rem;
    font: 700 .84rem/1 var(--sk-serif); letter-spacing: .16em; text-transform: uppercase;
    background: linear-gradient(135deg, var(--sk-gold-hi), var(--inv-accent) 55%, var(--sk-gold-lo)); color: var(--inv-deep);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--inv-accent) 22%, transparent), 0 14px 26px -12px #000;
}
.sk-open__icon { width: 1.15rem; height: 1.15rem; }
.sk-open.inv-button:hover { filter: brightness(1.06); }

.sk-cover--leave { transition: opacity .9s ease, transform 1s cubic-bezier(.6, 0, .3, 1); }
.sk-cover--gone { opacity: 0; transform: translateX(-50%) translateY(-4%); }

/* ---------- page ---------- */
.sk-page {
    position: relative; display: flex; flex-direction: column;
    width: var(--sk-col); min-height: 100vh; margin: 0 auto; overflow: hidden;
    background: var(--inv-background);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 35%, transparent), 0 0 80px -10px #000;
}
.sk-main { position: relative; }
.sk-section { position: relative; isolation: isolate; padding: 4.5rem 1.5rem; text-align: center; }
/* sand bands with a faint lattice */
.sk-tint { background: linear-gradient(180deg, var(--inv-soft), color-mix(in srgb, var(--inv-soft) 55%, var(--inv-background))); }
.sk-tint::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-primary); opacity: .07;
    -webkit-mask: var(--sk-lattice) center / 56px 56px repeat; mask: var(--sk-lattice) center / 56px 56px repeat;
}

.sk-title { position: relative; display: grid; justify-items: center; gap: .3rem; margin-bottom: 1.6rem; }
/* a soft terracotta wash behind the heading (gold glow on deep sections) */
.sk-title::before {
    content: ''; position: absolute; top: 45%; left: 50%; z-index: -1; width: 17rem; height: 7rem; translate: -50% -50%;
    border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-blush) 16%, transparent), transparent);
}
.sk-dark .sk-title::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-accent) 18%, transparent), transparent); }
.sk-title__moon { width: 1.6rem; height: 1.6rem; margin-bottom: .2rem; }
.sk-title__text { font: 600 2.55rem/1.1 var(--sk-serif); color: var(--inv-primary); letter-spacing: -.005em; }
.sk-dark .sk-title__text { color: var(--sk-ivory); }

/* ---------- hero (first screen after opening) ---------- */
.sk-hero {
    position: relative; isolation: isolate; display: grid; justify-items: center; gap: .55rem;
    padding: 7.5rem 1.5rem 0; overflow: hidden; text-align: center;
}
.sk-hero__lantern { position: absolute; top: 0; z-index: 1; width: 1.9rem; height: 5.3rem; }
.sk-hero__lantern--1 { left: 12%; height: 4.2rem; width: 1.5rem; animation-delay: -1s; }
.sk-hero__lantern--2 { left: 50%; margin-left: -.95rem; height: 6.2rem; width: 2.2rem; margin-left: -1.1rem; }
.sk-hero__lantern--3 { right: 12%; height: 4.2rem; width: 1.5rem; animation-delay: -3s; }
.sk-hero__medallion { width: 8rem; height: 8rem; margin: .4rem 0 .3rem; }
.sk-hero__medallion .sk-medallion__letters { font-size: 1.75rem; }
.sk-hero__names { font-size: 3.1rem; line-height: 1.15; color: var(--sk-ivory) !important; }
.sk-hero__names span { color: var(--sk-gold-hi); font-size: .7em; }
.sk-hero__date { display: flex; align-items: center; gap: .7rem; font: 700 .8rem/1.5 var(--sk-serif); letter-spacing: .2em; text-transform: uppercase; color: var(--sk-gold-hi); }
.sk-hero__date span { width: 1.8rem; height: 1px; background: var(--inv-accent); }

/* the ivory arcade the deep hero ends in */
.sk-arcade { display: block; width: calc(100% + 3rem); height: auto; aspect-ratio: 390 / 90; margin: 2.8rem -1.5rem -1px; }
.sk-arcade__fill { fill: var(--inv-background); }
.sk-arcade__edge { stroke: var(--inv-accent); stroke-width: 1.4; }
.sk-arcade__bead { fill: var(--inv-accent); }

/* ---------- opening ---------- */
.sk-opening { padding-top: 2.4rem; background: var(--inv-background); }
.sk-basmalah { display: grid; justify-items: center; gap: .6rem; margin-bottom: 1.3rem; }
.sk-basmalah__star { width: 2.2rem; height: 2.2rem; }
.sk-arabic { font-family: var(--sk-arabic); font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1.9; color: var(--inv-primary); }
.sk-opening__greeting { font: italic 600 1.35rem/1.4 var(--sk-serif); color: var(--inv-primary); }
.sk-opening__message { max-width: 33ch; margin: 0 auto; color: var(--sk-muted); }

.sk-verse {
    position: relative; isolation: isolate; margin: 3.2rem auto 0; padding: 3rem 1.6rem 2.1rem; max-width: 23rem;
    border-radius: 50% 50% 20px 20px / 92px 92px 20px 20px;
    box-shadow: 0 0 0 1px var(--inv-accent), 0 0 0 6px var(--inv-background), 0 0 0 7px color-mix(in srgb, var(--inv-accent) 55%, transparent), var(--sk-shadow);
}
.sk-verse::before, .sk-verse::after { border-radius: inherit; }
.sk-verse__crown { position: absolute; inset: .55rem; z-index: -1; border-radius: 50% 50% 14px 14px / 84px 84px 14px 14px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 55%, transparent); pointer-events: none; }
.sk-verse__badge {
    position: absolute; top: -1.3rem; left: 50%; display: grid; place-items: center;
    width: 2.6rem; height: 2.6rem; margin-left: -1.3rem; border-radius: 50%;
    background: var(--inv-deep); box-shadow: 0 0 0 1px var(--inv-accent), 0 0 0 4px var(--inv-background);
}
.sk-verse__moon { width: 1.35rem; height: 1.35rem; color: var(--sk-gold-hi); }
.sk-verse blockquote { font: italic 500 1.18rem/1.6 var(--sk-serif); color: var(--sk-ivory); }
.sk-verse figcaption { margin-top: 1rem; font: 700 .74rem/1.4 var(--sk-serif); letter-spacing: .22em; text-transform: uppercase; color: var(--sk-gold-hi); }
.sk-verse__palm { position: absolute; right: -1.6rem; bottom: -1.8rem; width: 5.6rem; height: auto; aspect-ratio: 170 / 200; }

/* ---------- couple: mihrab niches with initials, beside the text ---------- */
.sk-person { display: grid; grid-template-columns: minmax(0, 43%) minmax(0, 1fr); align-items: center; column-gap: 1.1rem; text-align: left; }
.sk-person--bride { grid-template-columns: minmax(0, 1fr) minmax(0, 43%); text-align: right; }
.sk-person--bride .sk-niche { order: 2; }
.sk-niche { position: relative; isolation: isolate; width: 100%; aspect-ratio: 3 / 4.3; margin-top: 1.4rem; }
.sk-mihrab--niche { --sk-band: 9px; }
.sk-mihrab--niche .sk-mihrab__base {
    position: absolute; left: -10px; right: -10px; bottom: -7px; height: 7px; border-radius: 2px;
    background: linear-gradient(180deg, var(--sk-gold-hi), var(--inv-accent) 45%, var(--sk-gold-lo));
    box-shadow: 0 6px 14px -6px #000, 0 -3px 0 -1px color-mix(in srgb, var(--inv-accent) 60%, transparent);
}
.sk-mihrab__finial { width: 1.2rem; height: 1.9rem; }
.sk-niche__lantern { position: absolute; top: 15%; left: 50%; width: 1.2rem; height: 3.3rem; margin-left: -.6rem; }
.sk-niche__initial {
    position: absolute; top: 45%; left: 0; right: 0; text-align: center;
    font: italic 500 5rem/1 var(--sk-serif); color: var(--sk-gold-hi); text-shadow: 0 4px 16px rgb(0 0 0 / .4);
}
.sk-niche__palm { position: absolute; left: -1rem; bottom: -1.2rem; width: 58%; height: auto; aspect-ratio: 170 / 200; }
.sk-niche__palm.sk-palm--flip { left: auto; right: -1rem; }

.sk-person__label { font-size: .68rem; letter-spacing: .24em; margin-bottom: .1rem; }
.sk-person__nick { font-size: 2.9rem; line-height: 1.15; }
.sk-person__name { margin-top: .15rem; font: 700 1.28rem/1.25 var(--sk-serif); color: var(--inv-text); }
.sk-person__parents { margin-top: .5rem; font-size: .95rem; line-height: 1.5; color: var(--sk-muted); }
.sk-person__parents span { display: block; font-size: .86rem; font-style: italic; }

.sk-amp { display: flex; align-items: center; gap: .9rem; max-width: 15rem; margin: 2.2rem auto .4rem; color: var(--inv-accent); }
.sk-amp__badge { position: relative; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; flex: none; }
.sk-amp__star { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-amp__badge .sk-script {
    position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--inv-primary); color: var(--sk-gold-hi); box-shadow: 0 0 0 1px var(--inv-accent);
    font-size: 1.7rem; line-height: 1; padding-top: .2rem;
}

/* ---------- countdown ---------- */
.sk-countdown__lantern { position: absolute; top: 0; width: 1.6rem; height: 4.8rem; }
.sk-countdown__lantern--left { left: 8%; }
.sk-countdown__lantern--right { right: 8%; height: 6rem; animation-delay: -2.4s; }
.sk-datecard { position: relative; isolation: isolate; display: grid; justify-items: center; width: 9.5rem; margin: 0 auto 1.9rem; padding: 3rem .5rem 1.1rem; }
.sk-datecard__day, .sk-datecard__month { font: 700 .74rem/1.4 var(--sk-serif); letter-spacing: .22em; text-transform: uppercase; color: var(--sk-gold-hi); }
.sk-datecard__num { font: 600 3.6rem/1.05 var(--sk-serif); color: var(--sk-ivory); }

.inv-countdown { gap: .5rem; }
.inv-countdown__item {
    flex: 1; min-width: 0; max-width: 5rem; padding: 1.15rem .2rem .7rem;
    border-radius: 50% 50% 10px 10px / 28px 28px 10px 10px;
    background: color-mix(in srgb, var(--sk-ivory) 9%, transparent);
    box-shadow: inset 0 0 0 1px var(--inv-accent), 0 12px 22px -16px #000;
}
.inv-countdown__value { font: 600 1.8rem/1.2 var(--sk-serif); color: var(--sk-gold-hi); }
.inv-countdown__label { margin-top: .1rem; font: 700 .62rem/1.3 var(--sk-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--sk-muted); }
.inv-countdown__actions { margin-top: 1.5rem; }
.inv-countdown__actions .inv-button { padding: .6rem 1.05rem; font-size: .82rem; }
.inv-countdown__done { font: italic 600 1.25rem var(--sk-serif); }

/* ---------- buttons ---------- */
.inv-button {
    background: var(--inv-primary); color: #fff; font: 600 .9rem/1.2 var(--sk-text); letter-spacing: .02em;
    box-shadow: 0 10px 20px -14px var(--inv-deep);
}
.inv-button--outline {
    background: var(--sk-paper); color: var(--inv-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 45%, transparent);
}
.sk-dark .inv-button:not(.sk-card .inv-button) { background: linear-gradient(135deg, var(--sk-gold-hi), var(--inv-accent)); color: var(--inv-deep); }
.sk-dark .inv-button--outline:not(.sk-card .inv-button) { background: transparent; color: var(--sk-ivory); box-shadow: inset 0 0 0 1px var(--inv-accent); }

/* ---------- events: ivory cards under a deep mihrab head ---------- */
.sk-events { background: var(--inv-background); }
.sk-event {
    display: grid; justify-items: center; gap: .3rem; max-width: 22rem; margin: 0 auto; padding-bottom: 1.5rem;
    border-radius: 120px 120px 22px 22px; background: var(--sk-paper);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 55%, transparent), var(--sk-shadow);
}
.sk-event + .sk-event { margin-top: 2.2rem; }
.sk-event > :not(.sk-event__head) { margin-inline: 1.2rem; }
.sk-event__head {
    display: grid; justify-items: center; gap: .25rem; width: 100%; margin-bottom: .9rem; padding: 2.6rem 1.2rem 1.3rem;
    border-radius: 120px 120px 0 0; overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--inv-accent), inset 0 0 0 6px color-mix(in srgb, var(--inv-deep) 40%, transparent), inset 0 0 0 7px color-mix(in srgb, var(--inv-accent) 55%, transparent);
}
.sk-event__star { width: 2rem; height: 2rem; margin-bottom: .1rem; color: var(--sk-gold-hi); }
.sk-event__name { font: 600 2.2rem/1.1 var(--sk-serif); color: var(--sk-ivory); }
.sk-event__date { font: 700 .8rem/1.5 var(--sk-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--sk-gold-hi); }
.sk-event__line { font-size: 1rem; }
.sk-event__time { font: 700 .92rem/1.5 var(--sk-serif); letter-spacing: .08em; color: var(--inv-primary); }
.sk-event__line .sk-icon, .sk-event__venue .sk-icon, .sk-event__dress .sk-icon { color: var(--inv-blush); margin-right: .2rem; }
.sk-event__venue { margin-top: .35rem; font: 700 1.3rem/1.3 var(--sk-serif); color: var(--inv-text); }
.sk-event__address { max-width: 30ch; font-size: .96rem; color: var(--sk-muted); }
.sk-event__dress {
    margin-top: .5rem; padding: .3rem .9rem; border-radius: 999px; font-size: .9rem;
    background: color-mix(in srgb, var(--inv-blush) 13%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-blush) 40%, transparent);
}
.sk-event__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; width: calc(100% - 2.4rem); margin-top: 1.1rem; }
.sk-event__actions .sk-btn:only-child { grid-column: 1 / -1; }
.sk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 0;
    padding: .7rem .6rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
    font: 600 .86rem/1.2 var(--sk-text); color: #fff; background: var(--inv-primary);
    box-shadow: 0 10px 20px -14px var(--inv-deep);
}
.sk-btn--soft { background: var(--sk-paper); color: var(--inv-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 45%, transparent); }
.sk-btn .sk-icon { width: 1rem; height: 1rem; }

/* ---------- love story: gold timeline on deep ---------- */
.sk-timeline { position: relative; display: grid; gap: 1.8rem; max-width: 24rem; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.sk-timeline::before {
    content: ''; position: absolute; top: .5rem; bottom: .5rem; left: 1.15rem; width: 1px;
    background: linear-gradient(transparent, var(--inv-accent) 6%, var(--inv-accent) 94%, transparent);
}
.sk-moment { position: relative; display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.sk-moment__dot {
    display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
    background: var(--inv-deep); color: var(--sk-gold-hi);
    box-shadow: 0 0 0 1px var(--inv-accent), 0 0 0 5px color-mix(in srgb, var(--inv-accent) 14%, transparent);
}
.sk-moment__dot .sk-icon { width: 1.05rem; height: 1.05rem; }
.sk-moment__date { font: 700 .74rem/1.4 var(--sk-serif); letter-spacing: .2em; text-transform: uppercase; color: var(--sk-gold-hi); padding-top: .35rem; }
.sk-moment__title { margin-top: .1rem; font: 600 1.45rem/1.25 var(--sk-serif); color: var(--sk-ivory); overflow-wrap: anywhere; }
.sk-moment__story { margin-top: .3rem; font-size: 1rem; line-height: 1.6; color: var(--sk-muted); overflow-wrap: anywhere; }

/* ---------- live ---------- */
.sk-live { background: var(--inv-background); }
.sk-live__card { display: grid; justify-items: center; gap: .6rem; text-align: center; }
.sk-live__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--inv-primary); color: var(--sk-gold-hi); }
.sk-live__icon .sk-icon { width: 1.5rem; height: 1.5rem; }
.sk-live__badge { display: inline-flex; align-items: center; gap: .45rem; font: 700 .76rem/1.4 var(--sk-serif); letter-spacing: .18em; text-transform: uppercase; color: var(--inv-primary); }
.sk-live__badge span { width: .5rem; height: .5rem; border-radius: 50%; background: #d64545; box-shadow: 0 0 0 4px color-mix(in srgb, #d64545 22%, transparent); animation: sk-pulse 2s ease-in-out infinite; }
.sk-live__note { font-size: .92rem; color: var(--sk-muted); }

/* ---------- gift: accounts as deep cards with a gold lattice ---------- */
.sk-giftbox { display: grid; gap: 1rem; }
.inv-gift__account + .inv-gift__account { margin-top: 0; }
.inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.inv-gift__account:not(.inv-gift__address) {
    position: relative; isolation: isolate; overflow: hidden; min-width: 0; margin: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: .85rem .85rem .9rem; border-radius: 16px; text-align: left; color: #fff;
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--inv-accent) 32%, transparent), transparent 55%),
        linear-gradient(135deg, var(--inv-primary), var(--inv-deep) 75%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 60%, transparent), 0 16px 28px -20px var(--inv-deep);
}
/* the chip */
.inv-gift__account:not(.inv-gift__address)::before {
    content: ''; display: block; order: 1; width: 1.7rem; height: 1.3rem; margin-top: .55rem; border-radius: 4px;
    background:
        linear-gradient(90deg, transparent 31%, rgb(0 0 0 / .2) 32% 34%, transparent 35% 65%, rgb(0 0 0 / .2) 66% 68%, transparent 69%),
        linear-gradient(transparent 46%, rgb(0 0 0 / .2) 47% 53%, transparent 54%),
        linear-gradient(135deg, #f6e6b8, var(--inv-accent) 55%, color-mix(in srgb, var(--inv-accent) 70%, #000));
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15);
}
/* a gold lattice on the card */
.inv-gift__account:not(.inv-gift__address)::after {
    content: ''; position: absolute; right: -2rem; bottom: -2.5rem; z-index: -1; width: 8.5rem; height: 8.5rem;
    background: var(--inv-accent); opacity: .4;
    -webkit-mask: var(--sk-lattice) center / 30px 30px repeat, radial-gradient(closest-side, #000 40%, transparent);
    -webkit-mask-composite: source-in;
    mask: var(--sk-lattice) center / 30px 30px repeat intersect, radial-gradient(closest-side, #000 40%, transparent);
}
.inv-gift__account:not(.inv-gift__address) .inv-gift__bank {
    order: 0; margin: 0; min-height: 1.5rem; max-width: 100%; display: flex; align-items: center; overflow-wrap: anywhere;
    font: 700 .76rem/1.2 var(--sk-serif); letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.inv-gift__account:not(.inv-gift__address) .inv-gift__logo { height: 1.5rem; padding: .2rem .45rem; border-radius: .35rem; }
.inv-gift__account:not(.inv-gift__address) .inv-gift__logo img { max-width: 5.5rem; }
.inv-gift__account:not(.inv-gift__address) .inv-gift__number {
    order: 2; max-width: 100%; margin: .55rem 0 0; font: 600 1.02rem/1.3 var(--sk-text); letter-spacing: .06em; font-variant-numeric: tabular-nums; color: #fff;
    text-shadow: 0 1px 0 rgb(0 0 0 / .3); overflow-wrap: anywhere;
}
.inv-gift__account:not(.inv-gift__address) .inv-gift__holder {
    order: 3; max-width: 100%; margin: .2rem 0 0; font: 700 .64rem/1.35 var(--sk-serif); letter-spacing: .1em; text-transform: uppercase;
    color: rgb(255 255 255 / .88); overflow-wrap: anywhere;
}
.inv-gift__account:not(.inv-gift__address) .inv-button {
    order: 4; margin-top: .65rem; padding: .35rem .75rem; font-size: .7rem;
    background: rgb(255 255 255 / .14); color: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4);
}
.inv-gift__address {
    padding: 1.4rem 1.2rem; border-radius: 16px; text-align: center; background: var(--sk-paper);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 50%, transparent), var(--sk-shadow);
}
.inv-gift__address .inv-gift__bank { margin: 0 0 .4rem; font: 700 .76rem/1.4 var(--sk-serif); letter-spacing: .2em; text-transform: uppercase; color: var(--inv-primary); }
.inv-gift__address .inv-gift__holder { margin: 0 0 .2rem; font: 600 1.15rem/1.3 var(--sk-serif); }
.inv-gift__address p { margin: 0 0 .9rem; font-size: .95rem; color: var(--sk-muted); }

/* ---------- forms & wishes ---------- */
.sk-form .inv-form label, .sk-form .inv-form__choices legend { font-weight: 600; font-size: .92rem; }
.sk-form .inv-form input:not([type=radio]):not([type=checkbox]), .sk-form .inv-form select, .sk-form .inv-form textarea {
    border: 1px solid color-mix(in srgb, var(--inv-accent) 55%, transparent); border-radius: 12px;
    background: #fff; color: var(--inv-text); padding: .7rem .85rem; font-family: var(--sk-text); font-size: 1rem;
}
.sk-form .inv-form input:focus, .sk-form .inv-form select:focus, .sk-form .inv-form textarea:focus {
    outline: none; border-color: var(--inv-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--inv-primary) 16%, transparent);
}
.sk-form .inv-form .inv-button[type=submit] { width: 100%; padding: .85rem 1rem; }
.inv-rsvp__deadline { margin: 0 0 .9rem; font-size: .9rem; color: var(--sk-muted); text-align: center; }
.inv-form__notice { background: color-mix(in srgb, var(--inv-soft) 80%, transparent); }
.sk-wishes { background: var(--inv-background); }
.inv-wishes { --inv-wishes-height: 20rem; }
.inv-wishes:not(.inv-wishes--paged) .inv-wishes__list {
    padding: .5rem .45rem .5rem .35rem; border-radius: 12px;
    background: color-mix(in srgb, var(--inv-soft) 60%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 25%, transparent);
}
.inv-wish {
    padding: .65rem .8rem; background: #fff; border-radius: 4px 14px 14px 14px;
    box-shadow: inset 3px 0 0 var(--inv-blush), inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 25%, transparent);
}
.inv-wish__name { font: 700 1.08rem/1.3 var(--sk-serif); color: var(--inv-primary); }
.inv-wish__message { font-size: .95rem; line-height: 1.45; }
.inv-wish__time { font-size: .74rem; }

/* ---------- closing: deep gradient with the mihrab and the shamsa ---------- */
.sk-closing {
    padding-top: 3.4rem; padding-bottom: 5.2rem;
    background:
        radial-gradient(90% 40% at 50% 30%, color-mix(in srgb, var(--inv-primary) 85%, #fff 8%), transparent 75%),
        radial-gradient(80% 30% at 50% 100%, color-mix(in srgb, var(--inv-blush) 30%, transparent), transparent 75%),
        linear-gradient(180deg, var(--inv-deep), color-mix(in srgb, var(--inv-primary) 65%, var(--inv-deep)) 45%, var(--inv-deep));
}
.sk-scene { position: relative; isolation: isolate; width: min(56%, 12rem); aspect-ratio: 3 / 3.7; margin: 1.4rem auto 1.5rem; }
.sk-mihrab--scene { --sk-band: 12px; }
.sk-scene__lantern { position: absolute; top: 22%; width: 1.3rem; height: 3.7rem; }
.sk-scene__lantern--left { left: 20%; }
.sk-scene__lantern--right { right: 20%; animation-delay: -2.7s; }
.sk-scene__medallion { position: absolute; top: 46%; left: 50%; width: 5.2rem; height: 5.2rem; translate: -50% 0; }
.sk-scene__medallion .sk-medallion__letters { font-size: 1.15rem; }
.sk-scene__palm { position: absolute; bottom: -1.4rem; width: 48%; height: auto; aspect-ratio: 170 / 200; }
.sk-scene__palm--left { left: -22%; }
.sk-scene__palm--right { right: -22%; }

.sk-closing__kicker { margin-bottom: .2rem; }
.sk-closing__title { margin-bottom: .6rem; font: 600 2.4rem/1.1 var(--sk-serif); color: var(--sk-ivory); }
.sk-closing__message { max-width: 32ch; margin: 0 auto; font-size: .92rem; line-height: 1.6; color: var(--sk-muted); }
.sk-closing .sk-divider { margin-block: .9rem; }
.sk-closing__sign { margin-bottom: .2rem; }
.sk-closing__names { font-size: clamp(2.3rem, 10vw, 2.7rem); }

/* ---------- footer & floating UI ---------- */
.sk-foot { flex: 1; display: grid; align-content: start; justify-items: center; padding: .5rem 1rem 0; background: var(--inv-deep); }
.sk-foot::before, .sk-foot::after { display: none; }
.sk-foot__star { width: 1.8rem; height: 1.8rem; opacity: .9; }
.sk-branding { color: var(--sk-muted); opacity: 1; }

.sk-nav.inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-background) 95%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-text) 72%, transparent);
    --inv-nav-active: var(--inv-primary);
    border-color: var(--sk-line);
    box-shadow: 0 10px 30px -14px #000;
}
.sk-nav.inv-nav--icons .inv-nav__item { border-radius: 1.35rem 1.35rem .8rem .8rem; -webkit-tap-highlight-color: transparent; }
.sk-nav.inv-nav--icons .inv-nav__item.is-active { color: var(--sk-gold-hi); }

/* floating buttons stay inside the column */
.inv-music { right: calc(var(--sk-edge) + 1rem); }
.inv-music__button { background: var(--inv-primary); color: var(--sk-gold-hi); box-shadow: 0 0 0 2px var(--inv-background), 0 0 0 3px var(--inv-accent), 0 8px 18px -8px #000; }
.inv-autoscroll { color: var(--inv-primary); font-family: var(--sk-text); }
.inv-autoscroll--running { background: var(--inv-primary); color: #fff; }
.inv-to-top { left: calc(var(--sk-edge) + 1rem); border-radius: 999px 999px .6rem .6rem; background: var(--sk-paper); color: var(--inv-primary); box-shadow: 0 0 0 1px var(--sk-line), 0 6px 14px rgb(0 0 0 / .2); }
.inv-qr-tab { right: var(--sk-edge); font-family: var(--sk-text); color: var(--inv-primary); border-color: var(--sk-line); background: color-mix(in srgb, var(--inv-background) 96%, transparent); border-radius: 1rem 0 0 1rem; }
.inv-qr-sheet .inv-checkin { font-family: var(--sk-text); color: var(--inv-text); }
.inv-checkin__title { color: var(--inv-primary); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sk-lantern, .sk-live__badge span { animation: none; }
    .sk-cover--leave { transition: opacity .3s ease; }
}

/* ---------- fit: the cover on every phone ---------- */
@media (max-height: 760px) {
    .sk-cover__the { font-size: .64rem; letter-spacing: .2em; }
    .sk-cover__inner { padding: calc(3rem + env(safe-area-inset-top)) 1.5rem calc(1.8rem + env(safe-area-inset-bottom)); }
    .sk-cover__frame { padding: 4.9rem 1.3rem 1.5rem; gap: .2rem; }
    .sk-cover__medallion { width: 5.8rem; height: 5.8rem; margin: .2rem 0 .1rem; }
    .sk-cover__medallion .sk-medallion__letters { font-size: 1.3rem; }
    .sk-cover__names { font-size: clamp(2.4rem, 10.5vw, 2.7rem); line-height: 1.08; }
    .sk-cover__date { margin-top: .3rem; }
    .sk-cover__quote { max-width: 30ch; font-size: .95rem; line-height: 1.4; }
    .sk-cover__palm { width: 5.6rem; }
    .sk-guest { margin-top: 1rem; padding-block: .65rem .7rem; }
    .sk-open.inv-button { margin-top: 1rem; }
}
@media (max-height: 660px) {
    .sk-cover__inner { padding: calc(2.6rem + env(safe-area-inset-top)) 1.4rem calc(1.4rem + env(safe-area-inset-bottom)); }
    .sk-cover__lantern { height: 3.8rem; width: 1.4rem; }
    .sk-cover__frame { padding: 4.1rem 1.1rem 1.1rem; }
    .sk-cover__medallion { width: 4.8rem; height: 4.8rem; }
    .sk-cover__medallion .sk-medallion__letters { font-size: 1.1rem; }
    .sk-cover__names { font-size: 2.2rem; }
    .sk-cover__quote { font-size: .9rem; }
    .sk-cover__palm { width: 4.8rem; bottom: -1rem; }
    .sk-guest { margin-top: .8rem; padding-block: .5rem .55rem; }
    .sk-guest__name { font-size: 1.2rem; }
    .sk-open.inv-button { margin-top: .8rem; padding-block: .75rem; }
}
/* very short screens (in-app browsers): the names share one line so the whole arch stays in view */
@media (max-height: 600px) {
    .sk-cover__inner { padding-top: calc(2.4rem + env(safe-area-inset-top)); justify-content: center; gap: .2rem; }
    .sk-cover__lantern { height: 3rem; width: 1.15rem; }
    .sk-cover__frame { padding: 3.6rem 1rem 1rem; }
    .sk-cover__the { font-size: .64rem; }
    .sk-cover__medallion { width: 4rem; height: 4rem; }
    .sk-cover__medallion .sk-medallion__letters { font-size: .95rem; }
    .sk-cover__names { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: .35rem; font-size: 2rem; }
    .sk-cover__quote { font-size: .86rem; line-height: 1.35; }
    .sk-cover__palm { width: 4.2rem; }
    .sk-guest { margin-top: .7rem; }
    .sk-guest__name { font-size: 1.1rem; }
    .sk-open.inv-button { margin-top: .7rem; padding-block: .7rem; }
}

/* ---------- intro scene "Fajar di Oase" (scene.json + sections/_scene; the intro lives in <body>, outside the page) ---------- */
/* the card is an ivory mihrab tablet; the shamsa rises behind its tip like the sun */
body.sk-body .inv-intro--scene {
    --sk-sc-w: min(72vw, 20rem, 44vh); --sk-sc-h: calc(var(--sk-sc-w) * 1.4); --sk-sc-y: 57%;
    --sk-sc-sun: min(44vw, 13rem, 26vh);
}
.sk-scene-sky { position: absolute; inset: 0; isolation: isolate;
    background:
        radial-gradient(120% 34% at 50% 100%, color-mix(in srgb, var(--inv-blush) 55%, transparent), transparent 72%),
        radial-gradient(90% 30% at 50% 92%, color-mix(in srgb, var(--sk-gold-hi) 45%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-deep), color-mix(in srgb, var(--inv-primary) 75%, var(--inv-deep)) 55%, color-mix(in srgb, var(--inv-primary) 70%, var(--inv-blush)));
}
.sk-scene-sky::before { content: ''; position: absolute; inset: 0; background: var(--inv-accent); opacity: .09;
    -webkit-mask: var(--sk-lattice) center / 56px 56px repeat; mask: var(--sk-lattice) center / 56px 56px repeat; }
.sk-scene-sky::after { content: ''; position: absolute; inset: 0; background: var(--sk-grain); opacity: .16; mix-blend-mode: soft-light; }
.inv-scene__art > .sk-scene-moon { color: var(--sk-gold-hi); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--sk-gold-hi) 55%, transparent)); }
.sk-scene-sun { position: absolute; inset: 0; }
.sk-scene-sun__medallion, .sk-scene-sun__rays {
    position: absolute; left: 50%; top: calc(var(--sk-sc-y) - var(--sk-sc-h) / 2 - var(--sk-sc-sun) * .82 + var(--sk-sc-sun) / 2);
}
.sk-scene-sun__medallion.sk-medallion { width: var(--sk-sc-sun); height: var(--sk-sc-sun); translate: -50% -50%; }
.sk-scene-sun__medallion .sk-medallion__art { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--sk-gold-hi) 60%, transparent)); }
.sk-scene-sun__medallion .sk-medallion__letters { font-size: calc(var(--sk-sc-sun) * .2); }
.sk-scene-sun__medallion .sk-medallion__letters i { font-size: calc(var(--sk-sc-sun) * .14); }
.sk-scene-sun__rays {
    width: calc(var(--sk-sc-sun) * 3.2); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; opacity: .5;
    background:
        radial-gradient(closest-side, color-mix(in srgb, var(--sk-gold-hi) 70%, transparent), transparent 62%),
        repeating-conic-gradient(color-mix(in srgb, var(--sk-gold-hi) 55%, transparent) 0 2.5deg, transparent 2.5deg 15deg);
    -webkit-mask: radial-gradient(closest-side, #000 25%, transparent); mask: radial-gradient(closest-side, #000 25%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
    .sk-scene-sun__rays { animation: sk-turn 80s linear infinite; }
    .sk-scene-sun__medallion .sk-medallion__art { animation: sk-turn 60s linear infinite reverse; }
}
.inv-scene__art > .sk-scene-arcade { width: 100%; height: 100%; margin: 0; aspect-ratio: auto; filter: drop-shadow(0 -6px 16px rgb(0 0 0 / .35)); }
.sk-scene-arcade .sk-arcade__fill { fill: color-mix(in srgb, var(--inv-soft) 70%, var(--inv-background)); }
.sk-scene-palm { display: flex; align-items: flex-end; width: 100%; height: 100%; }
.sk-scene-palm--right { justify-content: flex-end; }
.sk-scene-palm .sk-palm { width: 100%; max-height: 100%; height: auto; aspect-ratio: 170 / 200; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .35)); }
.sk-scene-palm--right .sk-palm { margin-left: auto; }

/* the card: gold-edged ivory arch, a fine inner gold line, the names in script */
body.sk-body .inv-intro--scene .inv-scene__card {
    top: var(--sk-sc-y); width: var(--sk-sc-w); aspect-ratio: 200 / 280; padding: 40% 1.1rem 12%; align-content: center;
    background: linear-gradient(180deg, var(--sk-gold-hi), var(--inv-accent) 55%, var(--sk-gold-lo));
    -webkit-backdrop-filter: none; backdrop-filter: none;
    -webkit-mask: var(--sk-arch-mask) 0 0 / 100% 100% no-repeat; mask: var(--sk-arch-mask) 0 0 / 100% 100% no-repeat;
}
body.sk-body .inv-scene__card::before, body.sk-body .inv-scene__card::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    -webkit-mask: var(--sk-arch-mask) 0 0 / 100% 100% no-repeat; mask: var(--sk-arch-mask) 0 0 / 100% 100% no-repeat;
}
body.sk-body .inv-scene__card::before { inset: 4px 4px 0;
    background: radial-gradient(80% 45% at 50% 30%, #fff, transparent 75%), var(--sk-ivory); }
body.sk-body .inv-scene__card::after { inset: 11px 11px 0; background: var(--inv-accent); opacity: .8;
    -webkit-mask: var(--sk-arch-mask) 50% 100% / 100% 100% no-repeat, var(--sk-arch-mask) 50% 100% / calc(100% - 2px) calc(100% - 1.5px) no-repeat;
    -webkit-mask-composite: xor;
    mask: var(--sk-arch-mask) 50% 100% / 100% 100% no-repeat exclude, var(--sk-arch-mask) 50% 100% / calc(100% - 2px) calc(100% - 1.5px) no-repeat; }
body.sk-body .inv-scene__card { isolation: isolate; }
body.sk-body .inv-scene__card .inv-intro__label { font: 700 .66rem/1.4 var(--sk-serif); letter-spacing: .28em; text-transform: uppercase; color: var(--sk-gold-ink); }
body.sk-body .inv-scene__card .inv-intro__names { font-family: var(--sk-script); font-weight: 400; font-size: calc(var(--sk-sc-w) * .15); line-height: 1.15; color: var(--inv-primary); }
body.sk-body .inv-scene__card .inv-intro__date { font-family: var(--sk-text); color: var(--sk-muted); }
body.sk-body .inv-scene__card .inv-intro__rule { background: linear-gradient(90deg, transparent, var(--inv-accent), transparent); }
