/*
 * Template "Gala Dinner" (Acara Kantor & Komunitas) — a corporate awards night / gala dinner in a theatre.
 * Deep velvet sections (wine by default) with gold, alternating with ivory "programme paper" and a cream
 * "tablecloth". Signature pieces: velvet theatre curtains with a scalloped valance and gold edge
 * (sections/_curtains; cover + closing), the faceted gold award star (sections/_star), stage-light beams and
 * spotlights, a red carpet with gold stanchions and a velvet rope under the guest's place card (cover), an
 * engraved "presented by" plaque (organizer), seating cards with a round-table plan (events, sections/_table),
 * honouree cards in arched frames (speakers), a dinner menu card (rundown), a step-and-repeat sponsor wall
 * (vendors) and a tented place card for the reply (RSVP). Mobile-first, one column (~460px) on a velvet
 * backdrop on wide screens.
 *
 * Colours come from the chosen colour variant (template.json → <x-inv.head>):
 *   --inv-primary (wine / royal purple / emerald / graphite: buttons and emphasis on light grounds)
 *   --inv-accent (gold, or silver: lines, ornaments, text ONLY on dark grounds)   --inv-shine (light highlight)
 *   --inv-background (ivory)   --inv-text   --inv-deep (velvet sections)   --inv-velvet (curtains, carpet)
 *   --inv-soft (cream tablecloth tint)
 * Everything else is mixed from those, so a new variant only needs these eight colours.
 *
 * Section tones (set on each section in its partial): .gd-tone--ivory, --cream (light), --velvet (deep),
 * --wine (a primary band). Light and dark alternate.
 *
 * Motion only runs with html.inv-anim (set by <x-inv.head> unless the guest prefers reduced motion);
 * without it everything is shown finished.
 *
 * Contents: 1 base · 2 tones & photo backgrounds · 3 shared pieces (heading, star, curtains, logo, table) ·
 *           4 cover · 5 sections in page order · 6 forms · 7 shared components · 8 screen sizes · 9 motion
 */

/* ---------- 1. base ---------- */
:root {
    /* defaults = the "Anggur Emas" variant (the variant's colours override these) */
    --inv-primary: #8a1838;
    --inv-accent: #d6aa4f;
    --inv-background: #fbf6ec;
    --inv-text: #2a1218;
    --inv-deep: #3b0918;
    --inv-velvet: #9b1b3a;
    --inv-shine: #f6dc95;
    --inv-soft: #f3e5d3;
    --inv-radius: 10px;

    --gd-serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
    --gd-caps: 'Cinzel', 'Trajan Pro', Georgia, serif;
    --gd-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gd-col: 460px;

    --gd-gold-deep: color-mix(in srgb, var(--inv-accent) 62%, #3a2300);
    /* polished metal: a highlight, the metal, a darker band, the metal again */
    --gd-gold: linear-gradient(125deg, var(--inv-shine) 0%, var(--inv-accent) 32%, var(--gd-gold-deep) 55%, var(--inv-accent) 74%, var(--inv-shine) 100%);
    --gd-gold-text: linear-gradient(180deg, var(--inv-shine) 10%, var(--inv-accent) 55%, color-mix(in srgb, var(--inv-accent) 80%, var(--inv-shine)) 90%);
    --gd-title: color-mix(in srgb, var(--inv-text) 70%, var(--inv-primary));
    --gd-muted: color-mix(in srgb, var(--inv-text) 76%, var(--inv-background));
    --gd-on-deep: color-mix(in srgb, #fff 82%, var(--inv-deep));
    --gd-hair: color-mix(in srgb, var(--inv-accent) 55%, transparent);
    --gd-drop: 0 26px 44px -26px color-mix(in srgb, var(--inv-deep) 85%, transparent);
    --gd-paper: color-mix(in srgb, #fff 55%, var(--inv-background));

    /* colours of the shared components */
    --inv-ambient-1: var(--inv-accent);
    --inv-ambient-2: var(--inv-shine);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--inv-background);
    color: var(--inv-text);
    font-family: var(--gd-sans);
    font-size: 15.5px;
    line-height: 1.65;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--inv-primary); }

.gd-preview {
    position: sticky; top: 0; z-index: 60; padding: .5rem 1rem; text-align: center;
    background: #fff4d6; color: #6b4e00; font-size: .8125rem;
}

/* the one column of the page; every section paints its own full-width background */
.gd-main { max-width: var(--gd-col); margin: 0 auto; }
.gd-branding { max-width: var(--gd-col); margin: 0 auto; }

.gd-section { position: relative; isolation: isolate; overflow: hidden; padding: 4.6rem 1.35rem; text-align: center; }
.gd-section > p { margin: 0 auto 1rem; max-width: 34ch; }

.gd-arabic { font-family: 'Amiri', 'Traditional Arabic', serif; line-height: 1.9; color: var(--inv-primary); }

/* ---------- 2. tones & photo backgrounds ---------- */

/* ivory: programme paper with a faint art-deco fan pattern and a warm glow at the top */
.gd-tone--ivory {
    background:
        radial-gradient(70% 28% at 50% 0%, color-mix(in srgb, var(--inv-shine) 30%, transparent), transparent 75%),
        var(--inv-background);
}
.gd-tone--ivory::before, .gd-tone--cream::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
    background:
        radial-gradient(circle at 50% 100%, transparent 9px, var(--inv-primary) 9px 10px, transparent 10px 15px, var(--inv-primary) 15px 16px, transparent 16px 21px, var(--inv-primary) 21px 22px, transparent 22px) 0 0 / 44px 22px;
    -webkit-mask: linear-gradient(180deg, #000, transparent 30%, transparent 70%, #000); mask: linear-gradient(180deg, #000, transparent 30%, transparent 70%, #000);
}
/* cream: a linen tablecloth tint */
.gd-tone--cream {
    background:
        repeating-linear-gradient(0deg, color-mix(in srgb, var(--inv-primary) 3%, transparent) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, color-mix(in srgb, var(--inv-primary) 3%, transparent) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, var(--inv-soft), color-mix(in srgb, var(--inv-soft) 55%, var(--inv-background)));
}
.gd-tone--cream::before { opacity: .05; }

/* velvet: the deep colour with soft vertical pleats and a lighter sheen */
.gd-tone--velvet {
    color: #fff;
    background:
        repeating-linear-gradient(90deg, rgb(0 0 0 / .16) 0, rgb(0 0 0 / 0) 22px, rgb(255 255 255 / .035) 34px, rgb(0 0 0 / 0) 46px, rgb(0 0 0 / .16) 68px),
        radial-gradient(90% 45% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 55%, transparent), transparent 75%),
        linear-gradient(180deg, var(--inv-deep), color-mix(in srgb, var(--inv-deep) 82%, #000));
}
.gd-tone--velvet a:not(.inv-button) { color: var(--inv-shine); }
.gd-tone--velvet .gd-arabic { color: var(--inv-shine); }

/* wine: a rich primary band */
.gd-tone--wine {
    color: #fff;
    background:
        repeating-linear-gradient(90deg, rgb(0 0 0 / .12) 0, rgb(0 0 0 / 0) 22px, rgb(255 255 255 / .04) 34px, rgb(0 0 0 / 0) 46px, rgb(0 0 0 / .12) 68px),
        radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 60%, #fff 6%), transparent 70%),
        linear-gradient(180deg, var(--inv-primary), color-mix(in srgb, var(--inv-primary) 70%, var(--inv-deep)));
}

/* the spotlight glow at the top of a velvet section */
.gd-spot {
    position: absolute; z-index: -1; top: -2rem; left: 50%; width: 130%; height: 32rem; margin-left: -65%; pointer-events: none;
    background:
        radial-gradient(28% 70% at 50% 0%, color-mix(in srgb, var(--inv-shine) 22%, transparent), transparent 72%),
        radial-gradient(50% 50% at 50% 0%, color-mix(in srgb, var(--inv-shine) 10%, transparent), transparent 80%);
}

/* a client photo behind a section, under a strong gradient of the section's own tone */
.gd-bgphoto { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.gd-bgphoto img { display: block; width: 100%; height: calc(100% + 80px); margin-top: -40px; object-fit: cover; object-position: center 45%; --inv-parallax: 40px; }
.gd-bgphoto::after { content: ''; position: absolute; inset: 0; }
.gd-tone--ivory .gd-bgphoto::after {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--inv-background) 90%, transparent),
        color-mix(in srgb, var(--inv-background) 80%, transparent) 40%,
        color-mix(in srgb, var(--inv-background) 97%, transparent) 85%);
}
.gd-tone--velvet .gd-bgphoto::after {
    background:
        radial-gradient(80% 40% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 40%, transparent), transparent),
        linear-gradient(180deg,
            color-mix(in srgb, var(--inv-deep) 92%, transparent),
            color-mix(in srgb, var(--inv-deep) 84%, transparent) 45%,
            color-mix(in srgb, var(--inv-deep) 97%, transparent));
}

/* ---------- 3. shared pieces ---------- */

/* section heading: an engraved eyebrow, a Bodoni title with an italic part, a gold rule with a star */
.gd-heading { max-width: 23rem; margin: 0 auto 2.2rem; }
.gd-heading--left { margin-left: 0; text-align: left; }
.gd-heading__eyebrow {
    margin: 0 0 .7rem; font: 600 .7rem/1.3 var(--gd-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary);
}
.gd-heading__title {
    margin: 0; font-family: var(--gd-serif); font-weight: 500; font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.1; letter-spacing: -.01em; color: var(--gd-title); text-wrap: balance;
}
.gd-heading__title em { font-style: italic; color: var(--inv-primary); }
.gd-heading__rule { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-top: 1rem; }
.gd-heading__rule::before, .gd-heading__rule::after { content: ''; width: 3.2rem; height: 1px; background: linear-gradient(90deg, transparent, var(--inv-accent)); transform-origin: right; }
.gd-heading__rule::after { background: linear-gradient(90deg, var(--inv-accent), transparent); transform-origin: left; }
.gd-heading__rule svg { width: .95rem; height: .95rem; fill: var(--inv-accent); }
.gd-heading--left .gd-heading__rule { justify-content: flex-start; }
.gd-heading--left .gd-heading__rule::before { display: none; }

.gd-tone--velvet .gd-heading__eyebrow, .gd-tone--wine .gd-heading__eyebrow { color: var(--inv-accent); }
.gd-tone--velvet .gd-heading__title, .gd-tone--wine .gd-heading__title { color: #fff; }
.gd-tone--velvet .gd-heading__title em, .gd-tone--wine .gd-heading__title em {
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    padding-right: .06em;
}
.gd-tone--wine .gd-heading__eyebrow { color: var(--inv-shine); }

/* icons */
.gd-icon { display: block; flex: none; width: 1.25rem; height: 1.25rem; }

/* the award star (sections/_star): facets in the metal colours, a bright rim, a glint */
.gd-star { display: block; overflow: visible; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .4)); }
.gd-star__s1 { stop-color: var(--inv-shine); }
.gd-star__s2 { stop-color: var(--inv-accent); }
.gd-star__s3 { stop-color: color-mix(in srgb, var(--inv-accent) 85%, #fff); }
.gd-star__s4 { stop-color: var(--gd-gold-deep); }
.gd-star__rim { fill: none; stroke: color-mix(in srgb, var(--inv-shine) 85%, #fff); stroke-width: 1.1; stroke-linejoin: round; opacity: .8; }
.gd-star__glint { fill: #fff; opacity: .9; }

/* the theatre curtains (sections/_curtains): two pleated velvet sides gathered by a tie-back, a scalloped
   valance with a gold edge; the shadow of the whole set comes from a filter on the wrapper */
.gd-curtains { --curtain-w: 17%; --valance-h: 2.6rem; --scallop: 30px; position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .5)); }
.gd-curtains__side {
    --pleats: repeating-linear-gradient(90deg,
        rgb(0 0 0 / .42) 0, rgb(0 0 0 / .1) 7px, rgb(255 255 255 / .16) 12px, rgb(255 255 255 / .04) 16px, rgb(0 0 0 / .32) 24px);
    position: absolute; top: 0; bottom: 0; width: var(--curtain-w);
    background:
        linear-gradient(180deg, rgb(0 0 0 / .45), transparent 22%, transparent 70%, rgb(0 0 0 / .35)),
        var(--pleats),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-velvet) 85%, #000), var(--inv-velvet) 45%, color-mix(in srgb, var(--inv-velvet) 70%, #000));
}
/* the inner edge sweeps in to the tie-back (at ~62%) and flares out to the floor */
.gd-curtains__side--left { left: 0; clip-path: polygon(0 0, 100% 0, 100% 12%, 96% 26%, 86% 40%, 70% 52%, 54% 62%, 62% 72%, 80% 86%, 96% 100%, 0 100%); }
.gd-curtains__side--right { right: 0; transform: scaleX(-1); clip-path: polygon(0 0, 100% 0, 100% 12%, 96% 26%, 86% 40%, 70% 52%, 54% 62%, 62% 72%, 80% 86%, 96% 100%, 0 100%); }
.gd-curtains__valance, .gd-curtains::before {
    position: absolute; top: 0; left: 0; right: 0; height: var(--valance-h);
    -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--scallop) / 2) no-repeat, radial-gradient(closest-side, #000 97%, transparent) bottom / var(--scallop) var(--scallop) repeat-x;
    mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--scallop) / 2) no-repeat, radial-gradient(closest-side, #000 97%, transparent) bottom / var(--scallop) var(--scallop) repeat-x;
    -webkit-mask-position: top, 0 100%; mask-position: top, 0 100%;
}
.gd-curtains__valance {
    background:
        repeating-linear-gradient(90deg, rgb(0 0 0 / .3) 0, rgb(255 255 255 / .1) calc(var(--scallop) / 2), rgb(0 0 0 / .3) var(--scallop)),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-velvet) 70%, #000), var(--inv-velvet));
}
/* the gold edge: the same scalloped shape, a little lower, behind the valance */
.gd-curtains::before { content: ''; top: 3px; background: var(--gd-gold); }

/* the organizer's logo medallion (sections/_logo): an ivory disc in a gold ring, or the velvet crest */
.gd-logo {
    --logo-size: 3rem;
    --ring: calc(var(--logo-size) * .075);
    --ring-line: radial-gradient(circle closest-side, transparent calc(100% - var(--ring) - 1.5px), color-mix(in srgb, var(--gd-gold-deep) 65%, #000) calc(100% - var(--ring) - 1px) calc(100% - var(--ring)), transparent calc(100% - var(--ring) + .6px));
    position: relative; display: inline-grid; place-items: center; flex: none;
    width: var(--logo-size); height: var(--logo-size); border-radius: 50%; overflow: hidden;
    background:
        var(--ring-line),
        radial-gradient(circle closest-side, var(--gd-paper) calc(100% - var(--ring) - 1px), transparent calc(100% - var(--ring) - .4px)),
        var(--gd-gold);
    box-shadow: 0 10px 22px -10px rgb(0 0 0 / .7);
}
.gd-logo__img { display: block; width: 64%; height: 64%; object-fit: contain; }
.gd-logo--empty {
    background:
        var(--ring-line),
        radial-gradient(circle closest-side, color-mix(in srgb, var(--inv-velvet) 85%, #fff 6%), var(--inv-deep) calc(100% - var(--ring) - 1px), transparent calc(100% - var(--ring) - .4px)),
        var(--gd-gold);
}
.gd-logo__mono {
    position: relative; font-family: var(--gd-serif); font-weight: 600; font-size: calc(var(--logo-size) * .3); line-height: 1; letter-spacing: .02em; white-space: nowrap;
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gd-logo--long .gd-logo__mono { font-size: calc(var(--logo-size) * .21); }
.gd-logo--sm { --logo-size: 2.5rem; }
.gd-logo--md { --logo-size: 3.4rem; }
.gd-logo--lg { --logo-size: 6.6rem; }

/* the round-table plan (sections/_table) */
.gd-table { display: block; flex: none; overflow: visible; }
.gd-table__chair { fill: var(--gd-paper); stroke: color-mix(in srgb, var(--inv-primary) 55%, transparent); stroke-width: 1.4; }
.gd-table__chair--you { fill: var(--inv-accent); stroke: var(--gd-gold-deep); }
.gd-table__top { fill: var(--inv-deep); }
.gd-table__rim { fill: none; stroke: var(--inv-accent); stroke-width: 1.2; }
.gd-table__no { font-family: var(--gd-serif); font-weight: 600; font-size: 17px; fill: var(--inv-shine); }

/* the framed velvet card (opening quote): a gold double border with corner dots and the star on top */
.gd-frame {
    position: relative; max-width: 22.5rem; margin: 2.6rem auto 0; padding: 2.4rem 1.6rem 1.8rem;
    color: #fff; border-radius: 4px;
    background:
        radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 70%, transparent), transparent 75%),
        repeating-linear-gradient(90deg, rgb(0 0 0 / .12) 0, transparent 20px, rgb(255 255 255 / .03) 30px, transparent 40px, rgb(0 0 0 / .12) 60px),
        var(--inv-deep);
    box-shadow: inset 0 0 0 1px var(--inv-accent), inset 0 0 0 5px var(--inv-deep), inset 0 0 0 6px var(--gd-hair), var(--gd-drop);
}
.gd-frame::before {
    content: ''; position: absolute; inset: 9px; pointer-events: none;
    background:
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 0 0 / 10px 10px no-repeat,
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 100% 0 / 10px 10px no-repeat,
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 0 100% / 10px 10px no-repeat,
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 100% 100% / 10px 10px no-repeat;
}
.gd-frame__star { position: absolute; top: -1.6rem; left: 50%; width: 3.2rem; height: 3.2rem; margin-left: -1.6rem; }

/* ---------- 4. cover ---------- */
.gd-cover {
    --cover-photo-h: clamp(9rem, 33svh, 18rem);
    position: fixed; inset: 0; z-index: 30; overflow-x: hidden; overflow-y: auto;
    display: flex; flex-direction: column; align-items: center; justify-content: safe center;
    min-height: 100svh; padding: 3.4rem 1.5rem 1.6rem;
    isolation: isolate; color: #fff; text-align: center;
    background:
        radial-gradient(60% 40% at 50% 38%, color-mix(in srgb, var(--inv-velvet) 45%, transparent), transparent 75%),
        repeating-linear-gradient(90deg, rgb(0 0 0 / .14) 0, rgb(0 0 0 / 0) 22px, rgb(255 255 255 / .03) 34px, rgb(0 0 0 / 0) 46px, rgb(0 0 0 / .14) 68px),
        linear-gradient(180deg, var(--inv-deep), color-mix(in srgb, var(--inv-deep) 80%, #000));
    transition: opacity .9s ease;
}
.gd-cover .gd-curtains { position: fixed; z-index: -1; }
.gd-curtains--cover { --curtain-w: 15%; --part: 235%; }
/* stage lights: two soft beams from the top corners */
.gd-cover__beam {
    position: absolute; z-index: -1; top: -6%; width: 64%; height: 88%; pointer-events: none; opacity: .5;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-shine) 42%, transparent), transparent 85%);
    clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); filter: blur(8px);
}
.gd-cover__beam--left { left: -8%; transform: rotate(-20deg); transform-origin: 50% 0; }
.gd-cover__beam--right { right: -8%; transform: rotate(20deg); transform-origin: 50% 0; }

.gd-cover__inner { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 360px; transition: transform .9s cubic-bezier(.5, 0, .3, 1); }

.gd-cover__org { display: flex; align-items: center; justify-content: center; gap: .6rem; max-width: 100%; margin: 0 0 .9rem; text-align: left; }
.gd-cover__org-text { display: flex; flex-direction: column; min-width: 0; margin: 0; line-height: 1.25; }
.gd-cover__org-name { font-weight: 600; font-size: .84rem; color: #fff; }
.gd-cover__org-presents { margin-top: .1rem; font: italic 500 .78rem/1.2 var(--gd-serif); color: var(--inv-shine); }

.gd-cover__title {
    margin: 0; max-width: 14ch; font-family: var(--gd-serif); font-weight: 600; font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere;
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgb(0 0 0 / .45));
}
.gd-cover__title--long { max-width: 17ch; font-size: clamp(1.8rem, 8.2vw, 2.3rem); line-height: 1.06; }
.gd-cover__meta {
    display: flex; flex-direction: column; align-items: center; gap: .15rem; margin: .7rem 0 0;
    font: 600 .7rem/1.4 var(--gd-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--gd-on-deep);
}
.gd-cover__meta span:first-child { color: #fff; }
.gd-cover__meta-venue { display: inline-flex; align-items: center; gap: .55rem; color: var(--inv-shine); }
.gd-cover__meta-venue::before, .gd-cover__meta-venue::after { content: ''; width: 1rem; height: 1px; background: var(--inv-accent); }

/* the stage: the photo in a gold proscenium arch, the award star crowning it */
.gd-cover__stage { position: relative; margin-top: 2.2rem; }
.gd-cover__arch {
    position: relative; width: calc(var(--cover-photo-h) * .74); height: var(--cover-photo-h); margin: 0; padding: 4px;
    border-radius: 999px 999px 8px 8px; background: var(--gd-gold);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--inv-deep) 85%, transparent), 0 0 0 6px var(--gd-hair), 0 30px 50px -20px rgb(0 0 0 / .8), 0 0 60px -10px color-mix(in srgb, var(--inv-shine) 30%, transparent);
}
.gd-cover__photo, .gd-cover__empty { display: block; width: 100%; height: 100%; border-radius: 999px 999px 5px 5px; }
.gd-cover__photo { object-fit: cover; object-position: center 40%; }
.gd-cover__empty {
    display: grid; place-items: center; overflow: hidden;
    background:
        radial-gradient(70% 45% at 50% 18%, color-mix(in srgb, var(--inv-shine) 30%, transparent), transparent 75%),
        repeating-linear-gradient(90deg, rgb(0 0 0 / .22) 0, transparent 9px, rgb(255 255 255 / .06) 14px, transparent 18px, rgb(0 0 0 / .22) 26px),
        linear-gradient(180deg, var(--inv-velvet), var(--inv-deep));
}
.gd-cover__empty-mono {
    font-family: var(--gd-serif); font-weight: 600; font-size: min(3.6rem, calc(var(--cover-photo-h) * .26)); line-height: 1;
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gd-cover__star { position: absolute; z-index: 2; top: calc(var(--star) * -.78); left: 50%; --star: clamp(2.6rem, 8svh, 3.8rem); width: var(--star); height: var(--star); margin-left: calc(var(--star) / -2); }

/* the red carpet with the stanchions, and the place card on it */
.gd-cover__carpet { position: relative; display: flex; justify-content: center; width: 100%; margin-top: -.2rem; padding-top: 1.05rem; }
.gd-cover__rug {
    position: absolute; z-index: -1; top: 0; bottom: -1.4rem; left: 50%; width: 120%; margin-left: -60%;
    clip-path: polygon(39% 0, 61% 0, 100% 100%, 0 100%);
    background:
        linear-gradient(90deg, transparent 0 1.5%, color-mix(in srgb, var(--inv-accent) 60%, transparent) 1.5% 2%, transparent 2% 98%, color-mix(in srgb, var(--inv-accent) 60%, transparent) 98% 98.5%, transparent 98.5%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-velvet) 70%, #000), var(--inv-velvet) 60%, color-mix(in srgb, var(--inv-velvet) 85%, #fff 6%));
    -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent);
}
.gd-cover__rope { position: absolute; z-index: -1; top: .35rem; left: 50%; width: 21rem; height: 3.6rem; margin-left: -10.5rem; overflow: visible; }
.gd-rope__cord { fill: none; stroke: color-mix(in srgb, var(--inv-velvet) 80%, #fff 10%); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .5)); }
.gd-rope__post { fill: var(--inv-accent); filter: drop-shadow(0 3px 3px rgb(0 0 0 / .5)); }
.gd-rope__post circle { fill: var(--inv-shine); }

/* the tented place card: a darker folded top half, the fold line, a gold edge */
.gd-place {
    position: relative; width: min(72%, 15.2rem); padding: .95rem .8rem .9rem; border-radius: 3px; color: var(--inv-text);
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-soft) 75%, #fff) 0 30%, var(--gd-paper) 30%);
    box-shadow: inset 0 0 0 1px var(--gd-hair), inset 0 0 0 4px var(--gd-paper), inset 0 0 0 5px color-mix(in srgb, var(--inv-accent) 35%, transparent), 0 18px 26px -12px rgb(0 0 0 / .75);
}
.gd-place::before { content: ''; position: absolute; left: 5px; right: 5px; top: 30%; height: 1px; background: color-mix(in srgb, var(--inv-text) 18%, transparent); box-shadow: 0 1px 0 #fff; }
.gd-place__label { margin: 0 0 .3rem; font: 600 .6rem/1.3 var(--gd-caps); letter-spacing: .24em; text-transform: uppercase; color: var(--inv-primary); }
.gd-place__name { display: block; font-family: var(--gd-serif); font-weight: 600; font-size: 1.14rem; line-height: 1.2; color: var(--inv-text); overflow-wrap: anywhere; }

.gd-cover__quote { max-width: 30ch; margin: 1.3rem 0 0; font: italic 500 .98rem/1.45 var(--gd-serif); color: var(--gd-on-deep); }
.gd-cover__open {
    min-width: 13.5rem; margin-top: 1.05rem; min-height: 3rem; padding: .7rem 1.8rem; border-radius: 999px; border: 0;
    font: 700 .78rem/1 var(--gd-caps); letter-spacing: .18em; text-transform: uppercase; color: var(--inv-deep); background: var(--gd-gold);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 45%, transparent), 0 14px 28px -12px rgb(0 0 0 / .8), 0 0 26px -6px color-mix(in srgb, var(--inv-shine) 55%, transparent);
}

/* opening: the cover fades and lifts away (never blocks: .9s) */
.gd-cover--leave { transition: opacity .9s ease .1s; }
.gd-cover--gone { opacity: 0; }
.gd-cover--gone .gd-cover__inner { transform: translateY(-2.5rem); }

/* ---------- 5. sections ---------- */

/* opening: the greeting over a faint photo, the quote in a framed velvet card */
.gd-opening__basmalah { margin: 0 auto 1.1rem; font-size: 1.7rem; }
.gd-opening__message { font-size: 1.02rem; color: var(--inv-text); }
.gd-section > .gd-opening__message { max-width: 33ch; }
.gd-opening .gd-heading__title { font-size: clamp(1.9rem, 8.6vw, 2.35rem); }
.gd-opening__quote blockquote { margin: 0; font: italic 500 1.32rem/1.38 var(--gd-serif); color: #fff; }
.gd-opening__quote figcaption { margin-top: 1rem; font: 600 .66rem/1.4 var(--gd-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--inv-accent); }

/* organizer: the logo medallion on a gold cord above the engraved plaque */
.gd-organizer { padding-bottom: 4.8rem; }
.gd-organizer__hang { position: relative; display: flex; flex-direction: column; align-items: center; margin: -.6rem 0 -1.6rem; z-index: 1; }
.gd-organizer__cord { width: 2px; height: 1.6rem; background: linear-gradient(180deg, transparent, var(--inv-accent)); }
.gd-organizer .gd-logo--lg { box-shadow: 0 0 0 4px color-mix(in srgb, var(--inv-deep) 70%, transparent), 0 18px 34px -12px rgb(0 0 0 / .8), 0 0 40px -6px color-mix(in srgb, var(--inv-shine) 35%, transparent); }
.gd-plaque {
    position: relative; max-width: 21.5rem; margin: 0 auto; padding: 2.7rem 1.6rem 1.7rem; border-radius: 6px; color: var(--inv-deep);
    background:
        repeating-linear-gradient(90deg, rgb(255 255 255 / .07) 0 1px, transparent 1px 3px),
        linear-gradient(170deg, var(--inv-shine) 0%, var(--inv-accent) 30%, color-mix(in srgb, var(--inv-accent) 82%, #fff) 52%, var(--gd-gold-deep) 82%, var(--inv-accent) 100%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -2px 0 rgb(0 0 0 / .25), inset 0 0 0 1px rgb(0 0 0 / .18), 0 30px 50px -24px rgb(0 0 0 / .85);
}
/* the engraved inner line */
.gd-plaque::before { content: ''; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--inv-deep) 40%, transparent); border-radius: 3px; box-shadow: 0 1px 0 rgb(255 255 255 / .35), inset 0 1px 0 rgb(255 255 255 / .35); pointer-events: none; }
/* four small screws */
.gd-plaque__screw {
    position: absolute; inset: 4px; pointer-events: none;
    --screw: radial-gradient(circle at 40% 35%, #fff 0 .6px, color-mix(in srgb, var(--inv-accent) 70%, #fff) 1px, var(--gd-gold-deep) 2.6px, transparent 3px);
    background: var(--screw) 0 0 / 7px 7px no-repeat, var(--screw) 100% 0 / 7px 7px no-repeat, var(--screw) 0 100% / 7px 7px no-repeat, var(--screw) 100% 100% / 7px 7px no-repeat;
}
.gd-plaque__label { margin: 0; font: 600 .62rem/1.3 var(--gd-caps); letter-spacing: .3em; text-transform: uppercase; color: color-mix(in srgb, var(--inv-deep) 80%, transparent); }
.gd-plaque__name {
    margin: .55rem 0 0; font-family: var(--gd-caps); font-weight: 700; font-size: 1.42rem; line-height: 1.22; letter-spacing: .04em;
    color: var(--inv-deep); text-shadow: 0 1px 0 rgb(255 255 255 / .45); text-wrap: balance; overflow-wrap: anywhere;
}
.gd-plaque__unit { margin: .7rem auto 0; padding-top: .7rem; max-width: 16rem; font-weight: 600; font-size: .92rem; color: var(--inv-deep); border-top: 1px solid color-mix(in srgb, var(--inv-deep) 30%, transparent); }
.gd-plaque__tagline { margin: .45rem 0 0; font: italic 500 1.02rem/1.35 var(--gd-serif); color: var(--inv-deep); }

/* about: the programme booklet — drop cap, a star index with leaders, a velvet admission strip */
.gd-section > .gd-about__description { max-width: 32ch; margin: 0 auto 2.2rem; font-size: 1.02rem; text-align: left; }
.gd-about__description::first-letter {
    float: left; margin: .1rem .5rem 0 0; font: 600 3.5rem/.8 var(--gd-serif); color: var(--inv-primary);
}
.gd-about__index { max-width: 22rem; margin: 0 auto; padding: 1.4rem 1.2rem 1.2rem; border-radius: 4px; background: color-mix(in srgb, #fff 70%, transparent); box-shadow: inset 0 0 0 1px var(--gd-hair), 0 18px 32px -26px color-mix(in srgb, var(--inv-deep) 70%, transparent); }
.gd-about__subtitle { margin: 0 0 .7rem; font: 600 .68rem/1.3 var(--gd-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary); }
.gd-about__list { margin: 0; padding: 0; list-style: none; text-align: left; }
.gd-about__item { display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; }
.gd-about__item + .gd-about__item { border-top: 1px solid color-mix(in srgb, var(--inv-accent) 28%, transparent); }
.gd-about__item .gd-icon { width: .9rem; height: .9rem; align-self: center; color: var(--inv-accent); fill: var(--inv-accent); }
.gd-about__text { font-family: var(--gd-serif); font-weight: 500; font-size: 1.06rem; line-height: 1.3; color: var(--gd-title); }
.gd-about__text::first-letter { text-transform: uppercase; }
/* the dotted leader to the roman numeral */
.gd-about__text::after { content: none; }
.gd-about__item .gd-about__text { flex: 0 1 auto; }
.gd-about__no { flex: 1 0 2.4rem; display: flex; align-items: baseline; gap: .4rem; font: 600 .72rem/1 var(--gd-caps); letter-spacing: .1em; color: var(--inv-primary); }
.gd-about__no::before { content: ''; flex: 1; min-width: 1rem; border-bottom: 1.5px dotted color-mix(in srgb, var(--inv-primary) 40%, transparent); }
.gd-about__stats {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 22rem; margin: 1.4rem auto 0; padding: 1.2rem .4rem; border-radius: 4px;
    color: #fff;
    background:
        radial-gradient(80% 90% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 70%, transparent), transparent 75%),
        var(--inv-deep);
    box-shadow: inset 0 0 0 1px var(--inv-accent), inset 0 0 0 4px var(--inv-deep), inset 0 0 0 5px var(--gd-hair), var(--gd-drop);
}
.gd-about__stats--one { grid-template-columns: 1fr; }
.gd-about__stat { padding: .2rem .9rem; }
.gd-about__stat + .gd-about__stat { border-left: 1px solid var(--gd-hair); }
.gd-about__stat dt { font: 600 .6rem/1.2 var(--gd-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--inv-accent); }
.gd-about__stat dd { margin: .35rem 0 0; font-family: var(--gd-serif); font-weight: 500; font-size: 1.08rem; line-height: 1.25; overflow-wrap: anywhere; }

/* events: ivory seating cards with a round-table plan, a velvet foot with the date and the map */
.gd-seat {
    position: relative; max-width: 24rem; margin: 0 auto; padding: .55rem; border-radius: 6px; text-align: left; color: var(--inv-text); background: var(--gd-paper);
    box-shadow: 0 30px 50px -26px rgb(0 0 0 / .85);
}
.gd-seat::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--gd-hair); border-radius: 3px; pointer-events: none; }
.gd-seat + .gd-seat { margin-top: 2.4rem; }
.gd-seat__media { position: relative; }
.gd-seat__photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 50%; border-radius: 3px; }
.gd-seat__head { display: flex; align-items: center; gap: .95rem; padding: 1.15rem .85rem .4rem; }
.gd-seat--alt .gd-seat__head { flex-direction: row-reverse; }
.gd-seat__table { width: 4.7rem; height: 4.7rem; }
.gd-seat__title { flex: 1; min-width: 0; }
.gd-seat__no { margin: 0; font: 600 .64rem/1.3 var(--gd-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary); }
.gd-seat__name { margin: .3rem 0 0; font-family: var(--gd-serif); font-weight: 600; font-size: 1.6rem; line-height: 1.1; color: var(--gd-title); overflow-wrap: anywhere; }
.gd-seat__rows { display: grid; margin: .4rem .85rem .9rem; padding: 0; list-style: none; font-size: .92rem; }
.gd-seat__rows li { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem 0; }
.gd-seat__rows li + li { border-top: 1px solid color-mix(in srgb, var(--inv-accent) 30%, transparent); }
.gd-seat__rows .gd-icon { width: 1.15rem; height: 1.15rem; margin-top: .2rem; color: var(--inv-primary); }
.gd-seat__venue { display: block; font-weight: 600; }
.gd-seat__address { display: block; font-size: .86rem; color: var(--gd-muted); }
.gd-seat__foot {
    position: relative; padding: 1.15rem 1rem 1.1rem; border-radius: 3px; color: #fff;
    background:
        radial-gradient(80% 90% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 65%, transparent), transparent 75%),
        var(--inv-deep);
}
.gd-seat__date { display: flex; align-items: center; justify-content: center; gap: .85rem; margin: 0 0 1rem; }
.gd-seat__day {
    font-family: var(--gd-serif); font-weight: 600; font-size: 3.2rem; line-height: .85;
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gd-seat__month { display: flex; flex-direction: column; padding-left: .85rem; font: 600 .66rem/1.55 var(--gd-caps); letter-spacing: .16em; text-transform: uppercase; border-left: 1px solid var(--gd-hair); }
.gd-seat__month span:first-child { color: var(--inv-accent); }
.gd-seat__maps:empty, .gd-seat__maps:not(:has(*)) { display: none; }
.gd-seat .inv-maps { margin: 0; text-align: center; }
.gd-seat .inv-maps .inv-button {
    width: 100%; min-height: 2.8rem; border: 0; border-radius: 999px; font: 700 .72rem/1 var(--gd-caps); letter-spacing: .16em; text-transform: uppercase;
    color: var(--inv-deep); background: var(--gd-gold);
}
.gd-seat .inv-maps__frame { height: 180px; margin-top: .8rem; border-radius: 4px; background: var(--inv-soft); box-shadow: 0 0 0 1px var(--gd-hair); }

/* countdown: velvet name-plate tiles with gold numerals; the calendar card well below the buttons */
.gd-countdown .inv-countdown { gap: clamp(.4rem, 2.2vw, .7rem); }
.gd-countdown .inv-countdown__item {
    position: relative; display: grid; place-content: center; width: clamp(4.1rem, 19vw, 4.8rem); min-width: 0; aspect-ratio: 4 / 5; padding: .2rem 0 0;
    border-radius: 999px 999px 6px 6px; color: #fff;
    background:
        radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 80%, transparent), transparent 80%),
        var(--inv-deep);
    box-shadow: inset 0 0 0 1px var(--inv-accent), inset 0 0 0 4px var(--inv-deep), inset 0 0 0 5px var(--gd-hair), 0 18px 26px -14px color-mix(in srgb, var(--inv-deep) 90%, transparent);
}
.gd-countdown .inv-countdown__value {
    font-variant-numeric: lining-nums tabular-nums; font-family: var(--gd-serif); font-weight: 600; font-size: 2rem; line-height: 1.1;
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gd-countdown .inv-countdown__label { margin-top: .1rem; font: 600 .5rem/1.2 var(--gd-caps); letter-spacing: .18em; text-transform: uppercase; color: var(--gd-on-deep); opacity: 1; }
.gd-countdown .inv-countdown__done { font: italic 600 1.35rem/1.3 var(--gd-serif); color: var(--inv-primary); }
.gd-countdown .inv-countdown__actions { flex-direction: column; align-items: center; gap: .6rem; margin-top: 2rem; }
.gd-countdown .inv-countdown__actions .inv-button {
    width: min(100%, 17rem); min-height: 2.75rem; padding: .6rem 1rem; border-radius: 999px; font: 700 .7rem/1.2 var(--gd-caps); letter-spacing: .14em; text-transform: uppercase;
    color: var(--inv-primary); background: color-mix(in srgb, #fff 70%, transparent); border: 0;
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-primary) 55%, transparent);
}
.gd-countdown .inv-countdown__actions .inv-button:first-child { color: #fff; background: var(--inv-primary); box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent); }
.gd-countdown .inv-cal {
    --inv-cal-bg: #fff; --inv-cal-text: var(--inv-text); --inv-cal-mark: var(--inv-primary);
    max-width: 19rem; margin: 2.8rem auto 0; border-radius: 6px;
    box-shadow: inset 0 5px 0 var(--inv-primary), inset 0 0 0 1px var(--gd-hair), 0 22px 40px -24px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.gd-countdown .inv-cal__month { font-family: var(--gd-serif); font-weight: 600; font-style: italic; font-size: 1.4rem; color: var(--gd-title); }

/* speakers: honourees in arched gold-lined frames under a spotlight */
.gd-speakers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; text-align: center; }
.gd-honoree {
    position: relative; display: flex; flex-direction: column; min-width: 0; padding: .7rem .7rem 1rem; border-radius: 6px;
    background:
        radial-gradient(70% 38% at 50% 0%, color-mix(in srgb, var(--inv-shine) 20%, transparent), transparent 80%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-velvet) 32%, var(--inv-deep)), color-mix(in srgb, var(--inv-deep) 85%, #000));
    box-shadow: inset 0 0 0 1px var(--gd-hair), 0 24px 36px -24px rgb(0 0 0 / .9);
}
.gd-honoree__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; background: var(--inv-deep); box-shadow: 0 0 0 1.5px var(--inv-accent), 0 0 0 4px color-mix(in srgb, var(--inv-deep) 80%, transparent), 0 0 0 5px var(--gd-hair); }
.gd-honoree__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.gd-honoree__media--empty {
    display: grid; place-items: center;
    background:
        radial-gradient(60% 40% at 50% 15%, color-mix(in srgb, var(--inv-shine) 30%, transparent), transparent 75%),
        repeating-linear-gradient(90deg, rgb(0 0 0 / .2) 0, transparent 8px, rgb(255 255 255 / .06) 12px, transparent 16px, rgb(0 0 0 / .2) 22px),
        linear-gradient(180deg, var(--inv-velvet), var(--inv-deep));
}
.gd-honoree__initials {
    font-family: var(--gd-serif); font-weight: 600; font-size: 2.6rem; line-height: 1;
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gd-honoree__text { display: flex; flex-direction: column; align-items: center; flex: 1; padding: .85rem .2rem 0; }
.gd-honoree__keynote { margin: 0 0 .35rem; font: 600 .58rem/1.3 var(--gd-caps); letter-spacing: .24em; text-transform: uppercase; color: var(--inv-accent); }
.gd-honoree__name { margin: 0; font-family: var(--gd-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.gd-honoree__role { margin: .3rem 0 0; font-size: .78rem; line-height: 1.4; color: var(--gd-on-deep); }
.gd-honoree__topic {
    display: flex; align-items: flex-start; gap: .4rem; margin: auto 0 0; padding: .45rem .65rem; border-radius: 12px; text-align: left;
    font-size: .76rem; font-weight: 500; line-height: 1.35; color: var(--inv-shine);
    background: color-mix(in srgb, var(--inv-accent) 12%, transparent); box-shadow: inset 0 0 0 1px var(--gd-hair);
}
.gd-honoree__role + .gd-honoree__topic, .gd-honoree__name + .gd-honoree__topic { margin-top: .75rem; }
.gd-honoree__topic .gd-icon { width: .95rem; height: .95rem; margin-top: .05rem; color: var(--inv-accent); }
.gd-honoree--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1rem; padding: .8rem; }
.gd-honoree--wide .gd-honoree__media { flex: 0 0 44%; }
.gd-honoree--wide .gd-honoree__text { align-items: flex-start; text-align: left; padding: 0; }
.gd-honoree--wide .gd-honoree__name { font-size: 1.36rem; }
.gd-honoree--wide .gd-honoree__topic { margin-top: .85rem; }
.gd-honoree--wide .gd-honoree__initials { font-size: 3.2rem; }

/* rundown: the dinner menu card */
.gd-menu { position: relative; max-width: 21.5rem; margin: 2.6rem auto 0; }
.gd-menu__napkin {
    position: absolute; z-index: -1; left: -1.1rem; bottom: -1rem; width: 7rem; height: 7rem; transform: rotate(-14deg);
    background:
        repeating-linear-gradient(135deg, rgb(0 0 0 / .14) 0 2px, transparent 2px 9px),
        linear-gradient(135deg, var(--inv-velvet), var(--inv-deep));
    clip-path: polygon(0 0, 100% 100%, 0 100%); border-radius: 4px;
    box-shadow: 0 10px 20px rgb(0 0 0 / .3);
}
.gd-menu__card {
    position: relative; padding: 2.8rem 1.6rem 2.2rem; color: var(--inv-text); background: #fff; border-radius: 3px;
    box-shadow: inset 0 0 0 1px var(--inv-accent), inset 0 0 0 5px #fff, inset 0 0 0 6px var(--gd-hair), 0 30px 50px -28px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.gd-menu__card::before {
    content: ''; position: absolute; inset: 12px; pointer-events: none;
    background:
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 0 0 / 10px 10px no-repeat,
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 100% 0 / 10px 10px no-repeat,
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 0 100% / 10px 10px no-repeat,
        radial-gradient(circle, var(--inv-accent) 2.4px, transparent 3px) 100% 100% / 10px 10px no-repeat;
}
.gd-menu__crest {
    position: absolute; top: -1.7rem; left: 50%; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-left: -1.7rem; border-radius: 50%;
    color: var(--inv-shine);
    background: radial-gradient(circle closest-side, color-mix(in srgb, var(--inv-velvet) 70%, var(--inv-deep)) 0 calc(100% - 4px), transparent calc(100% - 3.4px)), var(--gd-gold);
    box-shadow: 0 10px 20px -8px rgb(0 0 0 / .6);
}
.gd-menu__crest .gd-icon { width: 1.35rem; height: 1.35rem; }
.gd-menu__kicker { margin: 0; font: 600 .6rem/1.4 var(--gd-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary); }
.gd-menu__title { margin: .3rem 0 1.4rem; font: italic 500 2rem/1.1 var(--gd-serif); color: var(--gd-title); }
.gd-menu__list { margin: 0; padding: 0; list-style: none; }
.gd-menu__item + .gd-menu__item::before {
    content: ''; display: block; width: 6rem; height: 9px; margin: .95rem auto;
    background:
        linear-gradient(var(--gd-hair), var(--gd-hair)) left center / 2.4rem 1px no-repeat,
        linear-gradient(var(--gd-hair), var(--gd-hair)) right center / 2.4rem 1px no-repeat,
        radial-gradient(circle, var(--inv-accent) 2.5px, transparent 3px) center / 9px 9px no-repeat;
}
.gd-menu__time { display: block; font: 600 .72rem/1.3 var(--gd-caps); letter-spacing: .22em; color: var(--inv-primary); }
.gd-menu__course { margin: .2rem 0 0; font: italic 500 1.22rem/1.3 var(--gd-serif); color: var(--inv-text); text-wrap: balance; }
.gd-menu__course::first-letter { text-transform: uppercase; }
.gd-menu__note { margin: .2rem auto 0; max-width: 26ch; font-size: .84rem; line-height: 1.45; color: var(--gd-muted); }

/* gallery: a gallery wall of thin gold frames; the first photo wide with a soft arch */
.gd-gallery .inv-gallery { gap: .7rem; }
.gd-gallery .inv-gallery__item {
    padding: 4px; border-radius: 3px; background: var(--gd-gold);
    box-shadow: 0 18px 30px -18px rgb(0 0 0 / .9);
}
.gd-gallery .inv-gallery__item img, .gd-gallery .inv-gallery__item video { border-radius: 2px; }
.gd-gallery .inv-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: 50% 50% 4px 4px / 24% 24% 4px 4px; }
.gd-gallery .inv-gallery__item:first-child img, .gd-gallery .inv-gallery__item:first-child video { border-radius: 50% 50% 2px 2px / 24% 24% 2px 2px; }

/* live streaming: a small velvet stage with a screen between curtains */
.gd-stream { padding-top: 3.8rem; padding-bottom: 3.8rem; }
.gd-stream__card {
    position: relative; max-width: 23rem; margin: 0 auto; padding: .7rem .7rem 1.5rem; border-radius: 6px; color: #fff;
    background: radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 65%, transparent), transparent 75%), var(--inv-deep);
    box-shadow: inset 0 0 0 1px var(--gd-hair), var(--gd-drop);
}
.gd-stream__screen {
    position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px;
    background: radial-gradient(60% 70% at 50% 40%, color-mix(in srgb, var(--inv-shine) 22%, var(--inv-deep)), color-mix(in srgb, var(--inv-deep) 80%, #000) 80%);
    box-shadow: inset 0 0 0 1px var(--gd-hair);
}
.gd-curtains--mini { --curtain-w: 20%; --valance-h: 1.3rem; --scallop: 16px; filter: drop-shadow(0 3px 5px rgb(0 0 0 / .5)); }
.gd-stream__play { position: relative; z-index: 1; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; color: var(--inv-deep); background: var(--gd-gold); box-shadow: 0 0 30px -4px color-mix(in srgb, var(--inv-shine) 60%, transparent); }
.gd-stream__play .gd-icon { width: 2rem; height: 2rem; }
.gd-stream__live {
    position: absolute; z-index: 1; left: 50%; bottom: .6rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .2rem .65rem; border-radius: 999px; white-space: nowrap;
    font: 600 .58rem/1.4 var(--gd-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--inv-deep); background: var(--inv-shine);
}
.gd-stream__live span { width: 6px; height: 6px; border-radius: 50%; background: var(--inv-primary); }
.gd-stream__title { margin: 1.2rem 0 0; font-family: var(--gd-serif); font-weight: 500; font-size: 1.9rem; line-height: 1.1; color: #fff; }
.gd-stream__title em { font-style: italic; color: var(--inv-shine); }
.gd-stream__text { margin: .6rem auto 0; max-width: 30ch; font-size: .9rem; color: var(--gd-on-deep); }
.gd-stream__note { margin: .45rem auto 0; max-width: 30ch; font: italic 500 .9rem/1.4 var(--gd-serif); color: var(--inv-shine); }
.gd-stream__button {
    width: calc(100% - 1.6rem); margin-top: 1.2rem; min-height: 2.85rem; border-radius: 999px; border: 0;
    font: 700 .72rem/1 var(--gd-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--inv-deep) !important; background: var(--gd-gold) !important;
}

/* RSVP: a tented place card on top of the reply card */
.gd-reply { position: relative; max-width: 24rem; margin: 0 auto; }
.gd-reply__tent {
    position: relative; z-index: 1; width: 78%; margin: 0 auto -1px; padding: 1rem 1rem .95rem; border-radius: 4px 4px 0 0; color: var(--inv-text);
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-soft) 70%, #fff) 0 34%, var(--gd-paper) 34%);
    box-shadow: inset 0 0 0 1px var(--gd-hair), 0 -10px 24px -14px rgb(0 0 0 / .6);
}
.gd-reply__tent::before { content: ''; position: absolute; left: 4px; right: 4px; top: 34%; height: 1px; background: color-mix(in srgb, var(--inv-text) 16%, transparent); box-shadow: 0 1px 0 #fff; }
.gd-reply__label { margin: 0 0 .25rem; font: 600 .58rem/1.3 var(--gd-caps); letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary); }
.gd-reply__name { display: block; margin: 0; font-family: var(--gd-serif); font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: var(--inv-text); overflow-wrap: anywhere; }
.gd-reply__body {
    position: relative; padding: 1.6rem 1.15rem 1.4rem; border-radius: 6px; color: var(--inv-text); background: var(--gd-paper);
    box-shadow: inset 0 0 0 1px var(--inv-accent), inset 0 0 0 5px var(--gd-paper), inset 0 0 0 6px var(--gd-hair), 0 30px 50px -28px rgb(0 0 0 / .85);
}
.gd-reply__intro { margin: 0 auto 1.1rem; max-width: 32ch; font-size: .9rem; text-align: center; color: var(--gd-muted); }
.gd-reply__sent { margin-bottom: 1rem; text-align: center; }
.gd-reply__seal {
    display: grid; place-items: center; width: 4.6rem; height: 4.6rem; margin: 0 auto .5rem; border-radius: 50%;
    background: radial-gradient(circle closest-side, color-mix(in srgb, var(--inv-velvet) 70%, var(--inv-deep)) 0 calc(100% - 3px), transparent calc(100% - 2.4px)), var(--gd-gold);
    box-shadow: 0 10px 22px -10px rgb(0 0 0 / .6);
}
.gd-reply__star { width: 2.6rem; height: 2.6rem; }
.gd-reply__thanks { margin: 0; font: italic 600 1.7rem/1.2 var(--gd-serif); color: var(--gd-title); }
.gd-reply__line { margin: .15rem 0 0; font-size: .9rem; color: var(--gd-muted); }
.gd-rsvp .inv-rsvp__deadline { margin: 0 0 1rem; text-align: center; font: italic 500 .92rem/1.4 var(--gd-serif); color: var(--inv-primary); }

/* wishes: a guest book — the form on a white card with a gold double border, messages with a gold quote mark */
.gd-wishes__intro { color: var(--gd-muted); }
.gd-section > .gd-wishes__intro { margin-top: -1rem; margin-bottom: 1.6rem; }
.gd-wishes .inv-wishes { --inv-wishes-height: 20rem; }
.gd-wishes .inv-form {
    padding: 1.4rem 1.15rem; border-radius: 6px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--inv-accent), inset 0 0 0 5px #fff, inset 0 0 0 6px var(--gd-hair), 0 24px 40px -28px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.gd-wishes .inv-wishes__list { margin-top: 1.5rem; }
.gd-wishes .inv-wishes:not(.inv-wishes--paged) .inv-wishes__list {
    padding: .55rem; border-radius: 6px; background: color-mix(in srgb, var(--inv-soft) 55%, transparent); box-shadow: inset 0 0 0 1px var(--gd-hair);
}
.gd-wishes .inv-wish {
    position: relative; padding: .8rem .9rem .8rem 2.3rem; border-radius: 4px; background: #fff; text-align: left;
    box-shadow: 0 2px 10px rgb(0 0 0 / .05);
}
.gd-wishes .inv-wish::before { content: '“'; position: absolute; left: .6rem; top: .55rem; font: 600 3rem/.8 var(--gd-serif); color: var(--inv-accent); }
.gd-wishes .inv-wish__name { font-family: var(--gd-serif); font-weight: 600; font-size: 1.02rem; color: var(--gd-title); }
.gd-wishes .inv-wish__message { font-size: .88rem; line-height: 1.5; }
.gd-wishes .inv-wish__time { font-size: .72rem; color: var(--gd-muted); }

/* co-hosts ("Didukung oleh"): engraved names on the wine band, small gold diamonds between them */
.gd-cohosts { padding-top: 4rem; padding-bottom: 4rem; }
.gd-cohosts__list { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 0 auto; padding: 1.1rem 0; max-width: 22rem; list-style: none; border-block: 1px solid var(--gd-hair); }
.gd-cohosts__list li { font: 600 1.02rem/1.35 var(--gd-caps); letter-spacing: .08em; color: #fff; }
.gd-cohosts__list li + li::before { content: ''; display: block; width: 7px; height: 7px; margin: .7rem auto; transform: rotate(45deg); background: var(--inv-accent); }

/* vendors ("Sponsor & mitra"): the step-and-repeat wall with sponsor plates */
.gd-wall {
    position: relative; isolation: isolate; overflow: hidden; max-width: 24rem; margin: 0 auto; padding: 1.1rem; border-radius: 6px;
    background:
        radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--inv-velvet) 60%, transparent), transparent 75%),
        var(--inv-deep);
    box-shadow: inset 0 0 0 1px var(--gd-hair), var(--gd-drop);
}
.gd-wall__pattern {
    position: absolute; z-index: -1; inset: -40% -30%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: .9rem 1.6rem; margin: 0;
    transform: rotate(-18deg); pointer-events: none;
    font: italic 600 1.1rem/1 var(--gd-serif); letter-spacing: .04em; color: color-mix(in srgb, var(--inv-accent) 16%, transparent);
}
.gd-wall__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.gd-sponsor {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 1rem .7rem; border-radius: 4px; text-align: center;
    color: var(--inv-text); background: var(--gd-paper); box-shadow: inset 0 0 0 1px var(--gd-hair), 0 12px 20px -14px rgb(0 0 0 / .8);
}
.gd-sponsor--wide { grid-column: 1 / -1; }
.gd-sponsor__role { font: 600 .56rem/1.3 var(--gd-caps); letter-spacing: .22em; text-transform: uppercase; color: var(--inv-primary); }
.gd-sponsor__name { margin: .4rem 0 0; font-family: var(--gd-serif); font-weight: 600; font-size: 1.12rem; line-height: 1.15; color: var(--gd-title); overflow-wrap: anywhere; }
.gd-sponsor__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-size: .78rem; font-weight: 600; text-decoration: none; }
.gd-sponsor__link .gd-icon { width: 1rem; height: 1rem; }
.gd-sponsor--main {
    padding: 1.4rem 1rem; color: var(--inv-deep);
    background:
        repeating-linear-gradient(90deg, rgb(255 255 255 / .07) 0 1px, transparent 1px 3px),
        linear-gradient(170deg, var(--inv-shine), var(--inv-accent) 35%, color-mix(in srgb, var(--inv-accent) 82%, #fff) 55%, var(--gd-gold-deep) 90%);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18), inset 0 0 0 6px transparent, 0 16px 26px -14px rgb(0 0 0 / .85);
}
.gd-sponsor--main .gd-sponsor__role, .gd-sponsor--main .gd-sponsor__link { color: var(--inv-deep); }
.gd-sponsor--main .gd-sponsor__name { font-size: 1.6rem; color: var(--inv-deep); text-shadow: 0 1px 0 rgb(255 255 255 / .4); }

/* contacts: a concierge list — the initial in a velvet disc with a gold ring, a velvet WhatsApp button */
.gd-contacts__list { display: grid; gap: .7rem; max-width: 24rem; margin: 0 auto; }
.gd-contact { display: flex; align-items: center; gap: .85rem; padding: .8rem .8rem .8rem .85rem; border-radius: 6px; text-align: left; background: #fff; box-shadow: inset 0 0 0 1px var(--gd-hair), 0 14px 24px -20px color-mix(in srgb, var(--inv-deep) 60%, transparent); }
.gd-contact__avatar {
    display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%;
    font: 600 1.2rem/1 var(--gd-serif); color: var(--inv-shine);
    background: radial-gradient(circle closest-side, color-mix(in srgb, var(--inv-velvet) 70%, var(--inv-deep)) 0 calc(100% - 3px), transparent calc(100% - 2.4px)), var(--gd-gold);
}
.gd-contact__text { flex: 1; min-width: 0; }
.gd-contact__text p { margin: 0; }
.gd-contact__name { font-family: var(--gd-serif); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--gd-title); }
.gd-contact__role { font-size: .82rem; color: var(--gd-muted); }
.gd-contact__phone { font-size: .82rem; color: var(--gd-muted); }
.gd-contact__button { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; padding: .45rem .9rem; border-radius: 999px; border: 0; font-size: .8rem; font-weight: 600; color: #fff; background: var(--inv-primary); }
.gd-contact__button .gd-icon { width: 1.05rem; height: 1.05rem; }

/* health protocol: white chips with a check in a small velvet disc */
.gd-protocol__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 0 auto; padding: 0; max-width: 24rem; list-style: none; }
.gd-protocol__list li { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem .4rem .4rem; border-radius: 999px; font-size: .86rem; font-weight: 500; background: #fff; box-shadow: inset 0 0 0 1px var(--gd-hair); }
.gd-protocol__list .gd-icon { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; color: var(--inv-shine); background: var(--inv-deep); }
.gd-section > .gd-protocol__note { margin-top: 1.1rem; font-size: .88rem; color: var(--gd-muted); }

/* closing: the curtain call — the photo fading into velvet, curtains drawing in, the thanks, the lockup */
.gd-closing { padding: 0 1.5rem 1.9rem; }
.gd-closing__stage { position: relative; height: 10.5rem; margin: 0 -1.5rem; overflow: hidden; }
.gd-closing--photo .gd-closing__stage { height: min(98vw, 27rem); }
.gd-closing__photo { position: absolute; inset: 0; -webkit-mask: linear-gradient(180deg, #000 0, #000 52%, rgb(0 0 0 / .55) 74%, rgb(0 0 0 / .18) 90%, transparent 100%); mask: linear-gradient(180deg, #000 0, #000 52%, rgb(0 0 0 / .55) 74%, rgb(0 0 0 / .18) 90%, transparent 100%); }
.gd-closing__photo img { display: block; width: 100%; height: calc(100% + 60px); margin-top: -30px; object-fit: cover; object-position: center 35%; --inv-parallax: 30px; }
.gd-closing__photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-deep) 25%, transparent), transparent 22%, transparent 42%, color-mix(in srgb, var(--inv-deep) 60%, transparent) 66%, var(--inv-deep) 97%);
}
.gd-closing__spot { top: 0; height: 100%; }
.gd-curtains--closing { --curtain-w: 21%; z-index: 1; -webkit-mask: linear-gradient(180deg, #000 62%, transparent 96%); mask: linear-gradient(180deg, #000 62%, transparent 96%); }
.gd-closing__body { position: relative; z-index: 2; }
.gd-closing--photo .gd-closing__body { margin-top: -5.2rem; }
.gd-closing:not(.gd-closing--photo) .gd-closing__body { margin-top: -5.2rem; }
.gd-closing__star { width: 2.5rem; height: 2.5rem; margin: 0 auto .6rem; }
.gd-closing__eyebrow { margin: 0 0 .35rem; font: 600 .7rem/1.3 var(--gd-caps); letter-spacing: .3em; text-transform: uppercase; color: var(--inv-accent); }
.gd-closing__title { margin: 0 0 .7rem; font-family: var(--gd-serif); font-weight: 500; font-size: clamp(1.95rem, 8.8vw, 2.45rem); line-height: 1; color: #fff; }
.gd-closing__title em {
    font-style: italic; color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em;
}
.gd-closing__message { margin: 0 auto; max-width: 32ch; font-size: .93rem; line-height: 1.6; color: var(--gd-on-deep); }
.gd-closing__salam { margin: .85rem auto 0; max-width: 26ch; font: italic 500 1.12rem/1.35 var(--gd-serif); color: var(--inv-shine); }
.gd-closing__signature { margin: .3rem auto 0; max-width: 30ch; font: 600 .74rem/1.5 var(--gd-caps); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.gd-closing__lockup {
    display: flex; align-items: center; justify-content: center; gap: .75rem; max-width: 22rem; margin: 1.4rem auto 0; padding-top: 1rem;
    text-align: left; border-top: 1px solid var(--gd-hair);
}
.gd-closing__org { display: flex; flex-direction: column; min-width: 0; margin: 0; line-height: 1.3; }
.gd-closing__org-name { font-weight: 600; font-size: .95rem; color: #fff; }
.gd-closing__org-tagline { margin-top: .15rem; font: italic 500 .88rem/1.3 var(--gd-serif); color: var(--inv-shine); }

/* ---------- 6. forms (shared RSVP + wishes, restyled) ---------- */
.gd-main .inv-form { gap: 1rem; text-align: left; }
.gd-main .inv-form label, .gd-main .inv-form__choices legend { font-size: .82rem; font-weight: 600; color: var(--inv-text); }
.gd-main .inv-form input:not([type=radio]):not([type=checkbox]),
.gd-main .inv-form select,
.gd-main .inv-form textarea {
    width: 100%; min-height: 2.9rem; padding: .7rem .9rem; border: 0; border-radius: 6px;
    font: 400 .95rem/1.4 var(--gd-sans); color: var(--inv-text); background: color-mix(in srgb, var(--inv-background) 70%, #fff);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-accent) 45%, transparent);
    transition: box-shadow .2s ease;
}
.gd-main .inv-form select {
    appearance: none; padding-right: 2.4rem;
    background: color-mix(in srgb, var(--inv-background) 70%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 1.1rem no-repeat;
}
.gd-main .inv-form input:not([type=radio]):focus-visible,
.gd-main .inv-form select:focus-visible,
.gd-main .inv-form textarea:focus-visible {
    outline: none; box-shadow: inset 0 0 0 2px var(--inv-primary), 0 0 0 4px color-mix(in srgb, var(--inv-accent) 35%, transparent);
}
.gd-main .inv-form button[type=submit] {
    width: 100%; min-height: 3rem; border-radius: 999px; font: 700 .76rem/1 var(--gd-caps); letter-spacing: .16em; text-transform: uppercase;
    color: #fff; background: var(--inv-primary); box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent);
}
.gd-main .inv-form .inv-button--outline { width: 100%; min-height: 2.75rem; }
.gd-main .inv-form__notice { text-align: center; }

/* the three answers as tiles with icons (the radio dot is hidden but still focusable) */
.gd-rsvp .inv-form__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.gd-rsvp .inv-form__choices legend { margin-bottom: .5rem; padding: 0; }
.gd-rsvp .inv-form__choices label {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .45rem;
    min-height: 5.3rem; padding: .85rem .3rem .75rem; border-radius: 6px; cursor: pointer; text-align: center;
    font-size: .82rem; font-weight: 600; line-height: 1.2; color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-accent) 45%, transparent);
    transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
}
.gd-rsvp .inv-form__choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gd-rsvp .inv-form__choices label::before {
    content: ''; width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: none; background: var(--inv-soft);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease;
}
.gd-rsvp .inv-form__choices label::after {
    content: ''; position: absolute; left: 50%; top: 1.3rem; width: 1.2rem; height: 1.2rem; margin-left: -.6rem;
    background: currentColor; color: var(--inv-primary); pointer-events: none;
    -webkit-mask: var(--gd-choice-icon) center / contain no-repeat; mask: var(--gd-choice-icon) center / contain no-repeat;
}
.gd-rsvp .inv-form__choices label:nth-of-type(1) {
    --gd-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.gd-rsvp .inv-form__choices label:nth-of-type(2) {
    --gd-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
}
.gd-rsvp .inv-form__choices label:nth-of-type(3) {
    --gd-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8.5 8.8a3.5 3.5 0 1 1 4.9 3.2c-.9.4-1.4 1.1-1.4 2v.5M12 19h.01'/%3E%3C/svg%3E");
}
.gd-rsvp .inv-form__choices label:has(input:checked) {
    color: #fff; background: var(--inv-primary); transform: translateY(-3px);
    box-shadow: 0 0 0 2px var(--inv-accent), 0 12px 24px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent);
}
.gd-rsvp .inv-form__choices label:has(input:checked)::before { background-color: rgb(255 255 255 / .2); transform: scale(1.1); }
.gd-rsvp .inv-form__choices label:has(input:checked)::after { color: #fff; }
.gd-rsvp .inv-form__choices label:has(input:focus-visible) { outline: 2px solid var(--inv-accent); outline-offset: 3px; }

/* ---------- 7. shared components ---------- */
.gd-main .inv-button { font-weight: 600; }
body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-deep) 94%, transparent);
    --inv-nav-text: color-mix(in srgb, #fff 72%, transparent);
    --inv-nav-active: var(--inv-shine);
    font-family: var(--gd-sans);
}

/* the room under the page (for the fixed menu and music button) continues the closing's deep colour; with the
   platform credit present, the credit's own measured colour wins */
.gd-main ~ .inv-music__space { background: var(--inv-deep); }
.gd-main ~ .gd-branding ~ .inv-music__space { background: var(--inv-end-bg, var(--inv-deep)); }

/* ---------- 8. screen sizes ---------- */

/* short phones: the cover photo and type step down so everything fits without scrolling */
@media (max-height: 760px) {
    .gd-cover { --cover-photo-h: clamp(8rem, 28svh, 14rem); padding-top: 3rem; padding-bottom: 1.3rem; }
    .gd-curtains--cover { --valance-h: 2.3rem; }
    .gd-cover__org { margin-bottom: .7rem; }
    .gd-cover__title { font-size: clamp(2.1rem, 10vw, 2.6rem); }
    .gd-cover__title--long { font-size: clamp(1.65rem, 7.6vw, 2rem); }
    .gd-cover__meta { margin-top: .55rem; }
    .gd-cover__stage { margin-top: 1.9rem; }
    .gd-cover__quote { margin-top: 1.1rem; font-size: .92rem; }
    .gd-cover__open { margin-top: .85rem; }
}
@media (max-height: 660px) {
    .gd-cover { --cover-photo-h: clamp(6.5rem, 23svh, 11rem); padding-top: 2.6rem; padding-bottom: 1.1rem; }
    .gd-curtains--cover { --valance-h: 2rem; --scallop: 24px; }
    .gd-cover__org { margin-bottom: .55rem; }
    .gd-cover .gd-logo--sm { --logo-size: 2.15rem; }
    .gd-cover__title { font-size: clamp(1.9rem, 9vw, 2.3rem); }
    .gd-cover__title--long { font-size: clamp(1.45rem, 7vw, 1.8rem); }
    .gd-cover__meta { margin-top: .45rem; font-size: .64rem; }
    .gd-cover__stage { margin-top: 1.6rem; }
    .gd-cover__carpet { padding-top: .85rem; }
    .gd-place { padding: .75rem .9rem .7rem; }
    .gd-place__name { font-size: 1.08rem; }
    .gd-cover__quote { margin-top: .85rem; font-size: .86rem; line-height: 1.38; }
    .gd-cover__open { margin-top: .7rem; min-height: 2.75rem; padding: .55rem 1.4rem; }
}
/* very short screens (in-app browsers): a smaller photo, quote and title so everything fits */
@media (max-height: 600px) {
    .gd-cover { --cover-photo-h: clamp(5.5rem, 19svh, 9rem); padding-top: 2.3rem; padding-bottom: 1rem; }
    .gd-curtains--cover { --valance-h: 1.8rem; }
    .gd-cover__org { margin-bottom: .45rem; }
    .gd-cover__title { font-size: clamp(1.7rem, 8vw, 2rem); }
    .gd-cover__title--long { font-size: clamp(1.35rem, 6.4vw, 1.6rem); }
    .gd-cover__meta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 .5rem; }
    .gd-cover__stage { margin-top: 1.35rem; }
    .gd-cover__quote { margin-top: .7rem; font-size: .8rem; }
}

/* wide screens: the phone-width column on a velvet backdrop */
@media (min-width: 560px) {
    body.gd-body {
        background:
            radial-gradient(60vw 60vh at 50% 0%, color-mix(in srgb, var(--inv-velvet) 55%, transparent), transparent 70%),
            repeating-linear-gradient(90deg, rgb(0 0 0 / .16) 0, rgb(0 0 0 / 0) 30px, rgb(255 255 255 / .03) 46px, rgb(0 0 0 / 0) 62px, rgb(0 0 0 / .16) 92px),
            var(--inv-deep);
        background-attachment: fixed;
    }
    .gd-main { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
    .gd-curtains--cover { --curtain-w: 22%; --part: 130%; }
}

/* ---------- 9. motion ---------- */
@keyframes gd-part-left { from { transform: translateX(var(--part, 160%)); } to { transform: none; } }
@keyframes gd-part-right { from { transform: scaleX(-1) translateX(var(--part, 160%)); } to { transform: scaleX(-1); } }
@keyframes gd-shut-left { from { transform: translateX(-38%); } to { transform: none; } }
@keyframes gd-shut-right { from { transform: scaleX(-1) translateX(-38%); } to { transform: scaleX(-1); } }
@keyframes gd-drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes gd-photo-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes gd-star-in { 0% { opacity: 0; transform: translateY(14px) scale(.6) rotate(-30deg); } 70% { opacity: 1; transform: translateY(-2px) scale(1.06) rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes gd-glint { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes gd-beam { from { opacity: 0; } to { opacity: .5; } }
@keyframes gd-card-drop { 0% { opacity: 0; transform: translateY(-18px) rotateX(55deg); } 70% { opacity: 1; transform: translateY(2px) rotateX(-6deg); } 100% { opacity: 1; transform: none; } }
@keyframes gd-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes gd-seal { 0% { transform: scale(0) rotate(-40deg); } 60% { transform: scale(1.12) rotate(6deg); } 100% { transform: none; } }
@keyframes gd-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* cover (≤ 2.5 s, once): the curtains part from the middle (0–1.4 s), the valance drops in, the beams fade up,
   the photo fades in while it settles from a slight zoom (.5–1.6 s), the star rises with one glint
   (1–1.9 s), the place card drops onto the carpet (1.1–2 s); the text follows its inv-enter delays */
html.inv-anim .gd-curtains--cover .gd-curtains__side--left { animation: gd-part-left 1.4s cubic-bezier(.6, 0, .2, 1) both; }
html.inv-anim .gd-curtains--cover .gd-curtains__side--right { animation: gd-part-right 1.4s cubic-bezier(.6, 0, .2, 1) both; }
html.inv-anim .gd-curtains--cover .gd-curtains__valance, html.inv-anim .gd-curtains--cover::before { animation: gd-drop .7s cubic-bezier(.3, .7, .3, 1) both; }
html.inv-anim .gd-cover__beam { animation: gd-beam 1.2s ease .6s both; }
html.inv-anim .gd-cover__arch { animation: gd-photo-in 1.1s cubic-bezier(.2, .7, .2, 1) .5s both; }
html.inv-anim .gd-cover__star { animation: gd-star-in .9s cubic-bezier(.3, .7, .3, 1) 1s both; }
html.inv-anim .gd-cover__star .gd-star__glint { transform-box: fill-box; transform-origin: center; animation: gd-glint .7s ease-in-out 1.75s both; }
html.inv-anim .gd-cover__carpet { animation: inv-enter 1s cubic-bezier(.2, .7, .2, 1) .9s both; }
html.inv-anim .gd-place { transform-origin: 50% 100%; animation: gd-card-drop .9s cubic-bezier(.3, .7, .3, 1) 1.1s both; }

/* heading rules draw out from the star once when revealed */
html.inv-anim .gd-heading .gd-heading__rule::before, html.inv-anim .gd-heading .gd-heading__rule::after { transform: scaleX(0); }
html.inv-anim .gd-heading.is-revealed .gd-heading__rule::before, html.inv-anim .gd-heading.is-revealed .gd-heading__rule::after { animation: gd-rule .9s cubic-bezier(.3, .7, .3, 1) .35s both; }

/* the closing curtains draw a little further shut once (they never reach the text) */
html.inv-anim .gd-closing__stage .gd-curtains__side--left { transform: translateX(-38%); }
html.inv-anim .gd-closing__stage .gd-curtains__side--right { transform: scaleX(-1) translateX(-38%); }
html.inv-anim .gd-closing__stage.is-revealed .gd-curtains__side--left { animation: gd-shut-left 1.6s cubic-bezier(.5, 0, .2, 1) .2s both; }
html.inv-anim .gd-closing__stage.is-revealed .gd-curtains__side--right { animation: gd-shut-right 1.6s cubic-bezier(.5, 0, .2, 1) .2s both; }

/* the live dot blinks a few times when the card appears, then stays on */
html.inv-anim .is-revealed .gd-stream__live span { animation: gd-blink 1s ease-in-out .4s 4; }

/* the RSVP seal is pressed onto the card */
html.inv-anim .gd-reply__sent .gd-reply__seal { animation: gd-seal .8s cubic-bezier(.34, 1.56, .64, 1) both; }

@media (prefers-reduced-motion: reduce) {
    .gd-cover, .gd-cover--leave, .gd-cover__inner { transition: none; }
}

/* ---------- 10. intro scene "Karpet Merah Malam Penghargaan" (scene.json + sections/_scene; the intro lives in <body>) ---------- */
.gd-scene-hall { position: absolute; inset: 0; overflow: hidden; background:
    radial-gradient(60% 30% at 50% 18%, color-mix(in srgb, var(--inv-velvet) 55%, transparent), transparent 75%),
    radial-gradient(90% 40% at 50% 100%, color-mix(in srgb, var(--inv-velvet) 30%, transparent), transparent 70%),
    linear-gradient(180deg, var(--inv-deep), color-mix(in srgb, var(--inv-deep) 78%, #000) 60%, var(--inv-deep)); }
/* the back wall pleats and the stage edge with its gold lip */
.gd-scene-hall::before { content: ''; position: absolute; inset: 0 0 40%; opacity: .5;
    background: repeating-linear-gradient(90deg, rgb(0 0 0 / .35) 0, rgb(255 255 255 / .05) 14px, rgb(0 0 0 / .35) 28px);
    -webkit-mask: linear-gradient(180deg, #000 30%, transparent); mask: linear-gradient(180deg, #000 30%, transparent); }
.gd-scene-hall__stage { position: absolute; left: -5%; right: -5%; top: 58%; height: 7%;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-velvet) 60%, #000), color-mix(in srgb, var(--inv-deep) 70%, #000));
    border-top: 2px solid var(--inv-accent); box-shadow: 0 -10px 30px -8px color-mix(in srgb, var(--inv-shine) 30%, transparent); }
.gd-scene-valance { filter: drop-shadow(0 6px 8px rgb(0 0 0 / .55)); --valance-h: 100%; --scallop: 26px; }
/* the stage screen: a double gold frame around the cover photo, the velvet crest underneath (no photo) */
.gd-scene-screen { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: 4px;
    background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--inv-velvet) 85%, #fff 6%), var(--inv-deep) 75%);
    box-shadow: 0 0 0 2px var(--inv-accent), 0 0 0 5px var(--inv-deep), 0 0 0 6px var(--gd-hair), 0 0 46px -4px color-mix(in srgb, var(--inv-shine) 45%, transparent); }
.gd-scene-screen i { position: absolute; inset: 0; background: center 35% / cover no-repeat; }
.gd-scene-screen i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .35)); }
.gd-scene-screen__crest b { font: 600 clamp(1.8rem, 10vw, 2.8rem)/1 var(--gd-serif); letter-spacing: .04em;
    color: var(--inv-shine); background: var(--gd-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* the red carpet in perspective, gold borders, stanchions with velvet ropes */
.gd-scene-carpet { position: absolute; inset: 0; }
.gd-scene-carpet__rug { position: absolute; inset: 0; clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
    background:
        repeating-linear-gradient(180deg, rgb(0 0 0 / .08) 0 2px, transparent 2px 9px),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-velvet) 70%, #000), var(--inv-velvet) 55%, color-mix(in srgb, var(--inv-velvet) 80%, #fff 6%)); }
.gd-scene-carpet__edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gd-scene-carpet__edges path { fill: none; stroke: var(--inv-accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .85; }
.gd-scene-carpet__rope { fill: none; stroke: color-mix(in srgb, var(--inv-velvet) 80%, #fff 12%); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .6)); }
.gd-scene-carpet__post { position: absolute; width: calc(10px * var(--s)); height: calc(46px * var(--s)); translate: -50% 0; border-radius: 3px;
    background: linear-gradient(90deg, var(--gd-gold-deep), var(--inv-shine) 40%, var(--inv-accent) 70%, var(--gd-gold-deep)); filter: drop-shadow(0 3px 3px rgb(0 0 0 / .55)); }
.gd-scene-carpet__post::before { content: ''; position: absolute; left: 50%; top: calc(-6px * var(--s)); width: calc(13px * var(--s)); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, var(--inv-shine) 30%, var(--inv-accent) 70%, var(--gd-gold-deep)); }
.gd-scene-carpet__post::after { content: ''; position: absolute; left: 50%; bottom: calc(-3px * var(--s)); width: calc(26px * var(--s)); height: calc(7px * var(--s)); translate: -50% 0; border-radius: 50%; background: var(--inv-accent); }
/* a round banquet table seen at an angle (sections/_table squashed) */
.gd-scene-table { position: absolute; left: 0; right: 0; bottom: 0; transform: scaleY(.52); transform-origin: 50% 100%; filter: drop-shadow(0 14px 10px rgb(0 0 0 / .55)); }
.gd-scene-table svg { display: block; width: 100%; height: auto; }
.gd-scene-table .gd-table__top { fill: color-mix(in srgb, var(--inv-soft) 88%, #fff); }
.gd-scene-table .gd-table__rim { stroke: var(--inv-accent); stroke-width: 1.6; }
.gd-scene-table .gd-table__no { fill: var(--inv-primary); }
.gd-scene-table .gd-table__chair { fill: var(--inv-velvet); stroke: var(--inv-accent); }
.gd-scene-table .gd-table__chair--you { fill: var(--inv-accent); }
.gd-scene-table--far { opacity: .7; filter: blur(.5px) drop-shadow(0 8px 6px rgb(0 0 0 / .5)); }
/* the follow-spots: a soft cone from a top corner (mirrored on the right) */
.gd-scene-beam { position: absolute; inset: 0; clip-path: polygon(0 0, 9% 0, 96% 100%, 46% 100%); filter: blur(7px);
    background: linear-gradient(160deg, color-mix(in srgb, var(--inv-shine) 55%, transparent), color-mix(in srgb, var(--inv-shine) 12%, transparent) 70%, transparent); }
.gd-scene-beam--right { transform: scaleX(-1); }
.inv-scene__layer:has(.gd-scene-beam) { mix-blend-mode: screen; }
.gd-scene-star { width: 100%; height: 100%; }
.gd-scene-star svg { width: 100%; height: 100%; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--inv-shine) 55%, transparent)) drop-shadow(0 6px 8px rgb(0 0 0 / .5)); }
html.inv-anim .gd-scene-star .gd-star__glint { transform-box: fill-box; transform-origin: center; animation: gd-glint .8s ease-in-out 4.2s both; }

/* the name card: a gold engraved plaque with four screws, like the organizer plaque */
body.gd-body .inv-intro--scene .inv-scene__card {
    --screw: radial-gradient(circle at 40% 35%, #fff 0 .6px, color-mix(in srgb, var(--inv-accent) 70%, #fff) 1px, var(--gd-gold-deep) 2.6px, transparent 3px);
    top: 50%; aspect-ratio: 5 / 4.3; padding: 2.2rem 1.5rem 1.8rem; -webkit-mask: none; mask: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; border-radius: 6px;
    background:
        var(--screw) 5px 5px / 7px 7px no-repeat, var(--screw) calc(100% - 5px) 5px / 7px 7px no-repeat,
        var(--screw) 5px calc(100% - 5px) / 7px 7px no-repeat, var(--screw) calc(100% - 5px) calc(100% - 5px) / 7px 7px no-repeat,
        repeating-linear-gradient(90deg, rgb(255 255 255 / .07) 0 1px, transparent 1px 3px),
        linear-gradient(170deg, var(--inv-shine) 0%, var(--inv-accent) 30%, color-mix(in srgb, var(--inv-accent) 82%, #fff) 52%, var(--gd-gold-deep) 82%, var(--inv-accent) 100%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -2px 0 rgb(0 0 0 / .25), inset 0 0 0 1px rgb(0 0 0 / .18),
        0 0 0 4px color-mix(in srgb, var(--inv-deep) 70%, transparent), 0 34px 54px -20px rgb(0 0 0 / .9);
}
body.gd-body .inv-intro--scene .inv-scene__card::before { content: ''; position: absolute; inset: 13px; border: 1px solid color-mix(in srgb, var(--inv-deep) 40%, transparent); border-radius: 3px;
    box-shadow: 0 1px 0 rgb(255 255 255 / .35), inset 0 1px 0 rgb(255 255 255 / .35); pointer-events: none; }
body.gd-body .inv-scene__card .inv-intro__label { margin-bottom: .7rem; font: 600 .6rem/1.5 var(--gd-caps); letter-spacing: .28em; text-transform: uppercase; color: color-mix(in srgb, var(--inv-deep) 80%, transparent); }
body.gd-body .inv-scene__card .inv-intro__names { font-weight: 600; font-size: clamp(1.45rem, 6.8vw, 2rem); line-height: 1.16; color: var(--inv-deep); text-shadow: 0 1px 0 rgb(255 255 255 / .45); text-wrap: balance; }
body.gd-body .inv-scene__card .inv-intro__rule { width: 5rem; margin: .8rem auto .7rem; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--inv-deep) 55%, transparent), transparent); }
body.gd-body .inv-scene__card .inv-intro__date { font: 600 .66rem/1.4 var(--gd-caps); letter-spacing: .16em; text-transform: uppercase; color: var(--inv-deep); }
body.gd-body .inv-intro--scene .inv-intro__skip { background: color-mix(in srgb, var(--inv-deep) 70%, transparent); border-color: var(--gd-hair); color: var(--inv-shine); }
