/*
 * Template "Garden Sketch" (Pernikahan): a pen-and-ink garden sketchbook. Line art in sections/_sprite
 * (rose pergola, vines, venue sketches) with watercolor washes laid slightly off the lines, off-white
 * paper, hand-drawn borders. Fonts: Cormorant Garamond (serif), Caveat (pen notes), Mrs Saint Delafield (names).
 * Colors come from the color variant: --inv-primary (ink), --inv-accent (wash accent), --inv-background (paper),
 * --inv-text, --inv-wash (flower wash), --inv-leaf (leaf wash), --inv-paper (cards), --inv-deep (dark ink).
 * Every class of this template starts with "gs-".
 */

:root {
    --inv-primary: #3d5243;
    --inv-accent: #8aa685;
    --inv-background: #f8f5ec;
    --inv-text: #2a302b;
    --inv-wash: #ecc7bd;
    --inv-leaf: #bfd2b3;
    --inv-paper: #fdfbf4;
    --inv-deep: #26332a;
    --inv-highlight: #b4533a;
    --inv-radius: 14px;

    --gs-serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
    --gs-hand-font: 'Caveat', 'Segoe Print', 'Comic Sans MS', cursive;
    --gs-script: 'Mrs Saint Delafield', 'Brush Script MT', cursive;
    --gs-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

    /* derived tones: pen for the line art, a readable accent ink, muted body text, hairlines */
    --gs-pen: color-mix(in srgb, var(--inv-primary) 85%, var(--inv-text));
    --gs-ink: color-mix(in srgb, var(--inv-accent) 45%, var(--inv-text));
    --gs-muted: color-mix(in srgb, var(--inv-text) 82%, var(--inv-background));
    --gs-line: color-mix(in srgb, var(--gs-pen) 45%, transparent);
    --gs-shadow: 0 18px 36px -26px color-mix(in srgb, var(--inv-deep) 70%, transparent);
    --gs-column: 460px;

    /* the classic hand-drawn border radius (and its mirror for the second pen stroke) */
    --gs-wobble: 255px 15px 225px 15px / 15px 225px 15px 255px;
    --gs-wobble-2: 15px 225px 15px 255px / 255px 15px 225px 15px;
    --gs-squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7C40 3 70 10 110 6S190 3 230 7 280 9 297 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.gs-body {
    margin: 0;
    background: var(--inv-background);
    color: var(--inv-text);
    font-family: var(--gs-serif);
    font-size: 1.14rem;
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.gs-body img { max-width: 100%; }
.gs-body h1, .gs-body h2, .gs-body h3, .gs-body p, .gs-body figure { margin: 0; }

/* ---------- line art (sprite classes) ---------- */

.gs-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gs-l {
    fill: none; stroke: var(--gs-pen); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.gs-thin { stroke-width: .8; }
.gs-wl { fill: var(--inv-leaf); opacity: .75; mix-blend-mode: multiply; }
.gs-wf { fill: var(--inv-wash); opacity: .8; mix-blend-mode: multiply; }
.gs-ww { fill: color-mix(in srgb, var(--inv-accent) 28%, var(--inv-paper)); opacity: .7; mix-blend-mode: multiply; }
.gs-heart { fill: var(--inv-accent); }
.gs-dot { fill: var(--gs-pen); }

/* ---------- paper, column, wide-screen backdrop ---------- */

.gs-paper, .gs-page, .gs-cover {
    background-color: var(--inv-background);
    background-image:
        radial-gradient(color-mix(in srgb, var(--inv-text) 7%, transparent) .6px, transparent .9px),
        radial-gradient(color-mix(in srgb, var(--inv-accent) 9%, transparent) .7px, transparent 1px);
    background-size: 7px 7px, 13px 11px;
    background-position: 0 0, 3px 5px;
}

.gs-backdrop { display: none; }
@media (max-width: 559px) { :root { --gs-column: 100vw; } }

.gs-page {
    position: relative;
    max-width: var(--gs-column);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 6rem; /* room for the menu and the music button */
    overflow-x: clip;
}

@media (min-width: 560px) {
    .gs-backdrop {
        display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden;
        background:
            radial-gradient(ellipse 40% 35% at 12% 20%, color-mix(in srgb, var(--inv-wash) 55%, transparent), transparent 70%),
            radial-gradient(ellipse 38% 40% at 88% 80%, color-mix(in srgb, var(--inv-leaf) 60%, transparent), transparent 70%),
            radial-gradient(ellipse 30% 25% at 80% 15%, color-mix(in srgb, var(--inv-leaf) 35%, transparent), transparent 70%),
            color-mix(in srgb, var(--inv-background) 88%, var(--inv-accent));
    }
    .gs-backdrop__art { position: absolute; width: min(34vw, 420px); height: auto; opacity: .55; overflow: visible; }
    .gs-backdrop__art--a { top: -10px; left: -10px; }
    .gs-backdrop__art--b { right: -10px; bottom: -10px; transform: scale(-1, -1); }
    .gs-page { box-shadow: 0 0 0 1px var(--gs-line), 0 30px 80px -30px color-mix(in srgb, var(--inv-deep) 55%, transparent); }
}

.gs-preview {
    position: fixed; top: .5rem; left: 50%; z-index: 45; transform: translateX(-50%);
    padding: .35rem .85rem; border-radius: 999px; pointer-events: none;
    background: var(--inv-deep); color: var(--inv-paper);
    font: 600 .72rem/1.3 var(--gs-serif); letter-spacing: .02em; white-space: nowrap; opacity: .92;
}

/* ---------- shared pieces ---------- */

.gs-label {
    font-family: var(--gs-serif);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gs-ink);
}

.gs-note {
    display: inline-block;
    font: 600 1.25rem/1.2 var(--gs-hand-font);
    color: var(--gs-ink);
    transform: rotate(-2deg);
}

.gs-head { margin-bottom: 2rem; }
.gs-title {
    margin: .35rem 0 .2rem !important;
    font-family: var(--gs-serif);
    font-size: 2.05rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--inv-primary);
}
.gs-title em {
    display: inline-block;
    font-family: var(--gs-script); font-style: normal; font-weight: 400;
    font-size: 1.45em; line-height: .9; letter-spacing: 0;
    color: var(--gs-ink);
}
.gs-divider { display: block; width: 11rem; height: auto; margin: 0 auto; overflow: visible; }
.gs-head .gs-note { margin-top: .3rem; }

.gs-intro { max-width: 22rem; margin: -.6rem auto 1.6rem !important; color: var(--gs-muted); line-height: 1.6; }

/* hand-drawn box: a wobbly pen border plus a second, slightly offset stroke */
.gs-hand { position: relative; border: 1.5px solid var(--gs-pen); border-radius: var(--gs-wobble); }
.gs-hand::after {
    content: ''; position: absolute; inset: -5px -3px -3px -6px; pointer-events: none;
    border: 1px solid var(--gs-line); border-radius: var(--gs-wobble-2); transform: rotate(-.7deg);
}

.gs-card { padding: 1.6rem 1.2rem; background: var(--inv-paper); box-shadow: var(--gs-shadow); }

.gs-tape {
    position: absolute; top: -.75rem; left: 50%; z-index: 2; width: 4.8rem; height: 1.45rem;
    transform: translateX(-50%) rotate(-3deg);
    background: color-mix(in srgb, var(--inv-wash) 70%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gs-pen) 18%, transparent);
    clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%);
}

.gs-pill {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem;
    padding: .4rem 1.05rem .45rem; border-radius: var(--gs-wobble);
    color: var(--inv-primary); text-decoration: none; border: 1.5px solid var(--gs-pen);
    font: 600 1.1rem/1 var(--gs-hand-font);
    transition: background .25s ease, color .25s ease;
}
.gs-pill:hover { background: var(--inv-primary); color: var(--inv-paper); }

/* pergola: the photo sits in the sketch's arched opening (x 80–220, y 60–330 of 300x360) */
.gs-pergola { position: relative; width: 15rem; aspect-ratio: 300 / 360; }
.gs-pergola__photo {
    position: absolute; left: 26.667%; top: 16.667%; width: 46.667%; height: 75%;
    display: block; object-fit: cover; border-radius: 999px 999px 3px 3px;
}
.gs-pergola__photo--empty {
    background:
        radial-gradient(ellipse at 40% 35%, color-mix(in srgb, var(--inv-wash) 80%, transparent), transparent 65%),
        radial-gradient(ellipse at 60% 80%, color-mix(in srgb, var(--inv-leaf) 90%, transparent), transparent 65%),
        var(--inv-paper);
}
.gs-pergola__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

/* ---------- ink branches in the corners ---------- */

.gs-corners { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gs-corner { position: absolute; width: clamp(120px, 38%, 170px); aspect-ratio: 200 / 220; opacity: .85; }
.gs-corner svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gs-corner[class*="--tl"] { top: -6px; left: -6px; }
.gs-corner[class*="--tr"] { top: -6px; right: -6px; transform: scaleX(-1); }
.gs-corner[class*="--bl"] { bottom: -6px; left: -6px; transform: scaleY(-1); }
.gs-corner[class*="--br"] { bottom: -6px; right: -6px; transform: scale(-1, -1); }
.gs-corner[class$="-sm"] { width: clamp(80px, 24%, 110px); opacity: .6; }

.gs-sway { transform-origin: 0 0; }
html.inv-anim .gs-sway { will-change: transform; animation: gs-sway 8s ease-in-out infinite alternate; }
html.inv-anim .gs-corner:nth-child(2) .gs-sway { animation-duration: 9.5s; animation-delay: -3s; }
@keyframes gs-sway {
    from { transform: rotate(-1.8deg); }
    to { transform: rotate(2.2deg); }
}

/* ---------- cover: a sketchbook page ---------- */

.gs-cover {
    position: fixed; top: 0; bottom: 0; left: 50%; z-index: 30;
    width: min(100%, var(--gs-column));
    transform: translateX(-50%);
    transform-origin: 50% 0;
    overflow-x: hidden; overflow-y: auto;
}
.gs-cover::before {
    content: ''; position: fixed; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 30% at 50% 45%, color-mix(in srgb, var(--inv-leaf) 28%, transparent), transparent 70%),
        radial-gradient(ellipse 50% 25% at 50% 95%, color-mix(in srgb, var(--inv-wash) 25%, transparent), transparent 70%);
}
.gs-cover--leave { transition: opacity .8s ease, transform .9s cubic-bezier(.6, 0, .3, 1); }
.gs-cover--gone { opacity: 0; transform: translateX(-50%) perspective(1400px) rotateX(75deg); }

/* spiral binding along the top edge */
.gs-spiral {
    position: absolute; top: 0; left: 1.2rem; right: 1.2rem; z-index: 3; height: 30px; pointer-events: none;
    background:
        radial-gradient(circle at 50% 22px, color-mix(in srgb, var(--inv-text) 55%, var(--inv-background)) 0 3.2px, transparent 3.7px) 0 0 / 22px 30px repeat-x,
        radial-gradient(7px 14px at 50% 9px, transparent 60%, var(--gs-pen) 64% 84%, transparent 88%) 0 0 / 22px 30px repeat-x;
}

.gs-cover__inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100%; padding: 2.6rem 1.6rem 2rem; text-align: center;
}

.gs-mono { position: relative; display: grid; place-items: center; width: 5.2rem; height: 5.2rem; margin-bottom: .5rem; }
.gs-mono__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gs-mono__letters { position: relative; margin-top: -.3rem !important; font: 500 1.45rem/1 var(--gs-serif); color: var(--inv-primary); }
.gs-mono__letters span + span::before {
    content: ''; display: inline-block; width: 1px; height: 1.05em; margin: 0 .3rem;
    background: var(--inv-accent); transform: rotate(22deg); vertical-align: -.12em;
}

.gs-cover__title { margin-bottom: .2rem !important; }
.gs-cover__pergola { width: clamp(170px, 27vh, 230px); }

.gs-cover__names {
    margin: .1rem 0 .1rem !important;
    font-family: var(--gs-script); font-weight: 400;
    font-size: clamp(2.9rem, 13vw, 3.6rem); line-height: 1.15;
    color: var(--inv-primary);
}
.gs-amp { font-family: var(--gs-serif); font-style: italic; font-size: .5em; color: var(--gs-ink); }

.gs-cover__date { font: 700 .82rem/1.4 var(--gs-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--gs-muted); }
.gs-cover__quote { max-width: 19rem; margin-top: .6rem !important; font-style: italic; font-size: 1rem; line-height: 1.45; color: var(--gs-muted); }

.gs-cover__guest {
    width: min(100%, 19.5rem); margin: 1.1rem 0 1.15rem;
    padding: .7rem 1.4rem .65rem; background: color-mix(in srgb, var(--inv-paper) 85%, transparent);
}
.gs-cover__to { font: 700 .72rem/1.4 var(--gs-serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gs-muted); }
.gs-cover__guestname { display: block; margin: .1rem 0; font: 700 1.6rem/1.2 var(--gs-hand-font); color: var(--inv-text); overflow-wrap: anywhere; }
.gs-cover__sorry { font-style: italic; font-size: .8rem; color: var(--gs-muted); }

.gs-open { gap: .55rem; }

/* ---------- buttons of the shared components ---------- */

.gs-body .inv-button {
    padding: .55rem 1.35rem .6rem;
    border: 1.5px solid var(--inv-highlight); border-radius: var(--gs-wobble);
    font: 700 1.18rem/1.15 var(--gs-hand-font); letter-spacing: .01em; text-transform: none;
    background: var(--inv-highlight); color: #fff;
    box-shadow: 3px 4px 0 -1px color-mix(in srgb, var(--inv-accent) 45%, transparent);
    transition: background .25s ease, transform .25s ease;
}
.gs-body .inv-button:hover { background: var(--inv-deep); transform: rotate(-1deg); }
.gs-body .inv-button--outline {
    border-color: var(--inv-primary); background: var(--inv-paper); color: var(--inv-primary);
    box-shadow: 3px 4px 0 -1px color-mix(in srgb, var(--inv-leaf) 80%, transparent);
}
.gs-body .inv-button--outline:hover { background: var(--inv-primary); color: var(--inv-paper); }

/* ---------- hero (first screen after opening) ---------- */

.gs-hero {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: clamp(600px, 100vh, 860px); min-height: clamp(600px, 100svh, 860px);
    padding: 3.5rem 1.6rem 4rem; text-align: center; overflow: hidden;
}
.gs-hero > :not(.gs-corners) { position: relative; z-index: 1; }
.gs-hero .gs-label { margin-bottom: 1.6rem !important; }
.gs-head .gs-label { color: var(--inv-highlight); }
.gs-band--dark .gs-head .gs-label { color: color-mix(in srgb, var(--inv-highlight) 45%, #fff); }

/* photo with a pen border, a second offset stroke and a watercolor wash behind */
.gs-sketchframe { position: relative; width: min(66vw, 15.5rem); aspect-ratio: 4 / 5; }
.gs-sketchframe img, .gs-hero__mono {
    position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover;
    border: 1.5px solid var(--gs-pen); border-radius: 3px;
}
.gs-sketchframe::before {
    content: ''; position: absolute; inset: -9px -7px -8px -10px; z-index: 2; pointer-events: none;
    border: 1px solid var(--gs-pen); border-radius: var(--gs-wobble-2); transform: rotate(1.4deg); opacity: .6;
}
.gs-sketchframe::after {
    content: ''; position: absolute; inset: 14px -18px -16px 16px; z-index: 0;
    border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%;
    background: radial-gradient(ellipse at 60% 60%, color-mix(in srgb, var(--inv-wash) 85%, transparent), color-mix(in srgb, var(--inv-leaf) 60%, transparent) 70%, transparent 75%);
}
.gs-hero__mono {
    display: grid; place-items: center;
    background: linear-gradient(165deg, var(--inv-leaf), var(--inv-wash));
    font: 400 4rem/1 var(--gs-script); color: var(--inv-primary);
}
.gs-hero__mono span + span::before { content: '&'; margin: 0 .15em; font-size: .6em; }
.gs-hero__rose { position: absolute; z-index: 3; right: -2.4rem; bottom: -1.2rem; width: 8rem; height: auto; overflow: visible; transform: rotate(-18deg); }
.gs-hero__photo img { object-position: center 30%; }

.gs-hero__names {
    margin: 2rem 0 .1rem !important;
    font-family: var(--gs-script); font-size: clamp(3rem, 14vw, 3.8rem); line-height: 1.15; color: var(--inv-primary);
}
.gs-hero__names span { font-family: var(--gs-serif); font-style: italic; font-size: .5em; color: var(--gs-ink); }
.gs-hero__date { font: 700 .82rem/1.4 var(--gs-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--inv-highlight); }
.gs-hero__note { margin-top: .8rem; }

/* ---------- sections ---------- */

.gs-section { position: relative; padding: 4.4rem 1.4rem 4.6rem; text-align: center; overflow: hidden; }
.gs-section > :not(.gs-corners) { position: relative; z-index: 1; }
/* a pen squiggle between sections */
.gs-section::before {
    content: ''; position: absolute; top: 0; left: 15%; right: 15%; z-index: 1; height: 10px;
    background: var(--gs-line);
    -webkit-mask: var(--gs-squiggle) center / 100% 100% no-repeat; mask: var(--gs-squiggle) center / 100% 100% no-repeat;
}
/* alternating tones: tinted leaf paper, and the dark ink band (countdown) */
.gs-section--tint { background-color: color-mix(in srgb, var(--inv-leaf) 26%, var(--inv-background)); }
.gs-band--dark {
    --gs-pen: color-mix(in srgb, var(--inv-paper) 70%, var(--inv-deep));
    --gs-ink: color-mix(in srgb, var(--inv-leaf) 80%, #fff);
    --gs-muted: color-mix(in srgb, var(--inv-paper) 78%, var(--inv-deep));
    --gs-line: color-mix(in srgb, var(--inv-paper) 40%, transparent);
    background:
        radial-gradient(ellipse 70% 45% at 100% 0%, color-mix(in srgb, var(--inv-highlight) 28%, transparent), transparent 70%),
        var(--inv-deep);
    color: var(--inv-paper);
}
.gs-band--dark .gs-title { color: var(--inv-paper); }
.gs-band--dark .gs-countdown__date svg { color: var(--inv-leaf); }
.gs-band--dark .inv-countdown__item { --gs-pen: var(--inv-deep); color: var(--inv-text); }
.gs-band--dark .inv-countdown__item .inv-countdown__label { color: color-mix(in srgb, var(--inv-accent) 45%, var(--inv-text)); }
.gs-band--dark .inv-button--outline { background: transparent; color: var(--inv-paper); border-color: var(--inv-paper); }

/* soft watercolor washes behind some sections */
.gs-section--wash {
    background:
        radial-gradient(ellipse 55% 30% at 8% 18%, color-mix(in srgb, var(--inv-leaf) 32%, transparent), transparent 70%),
        radial-gradient(ellipse 50% 28% at 95% 82%, color-mix(in srgb, var(--inv-wash) 30%, transparent), transparent 70%);
}

/* opening */
.gs-sprig { display: block; width: 7rem; height: auto; margin: 0 auto 1.2rem; overflow: visible; }
.gs-arabic { margin-bottom: 1rem !important; font-family: 'Amiri', serif; font-size: 1.55rem; line-height: 2; color: var(--inv-primary); }
.gs-opening__greeting { margin-bottom: .8rem !important; font-style: italic; font-size: 1.3rem; color: var(--inv-primary); }
.gs-opening__message { max-width: 24rem; margin: 0 auto !important; color: var(--gs-muted); line-height: 1.75; }

.gs-quote { margin: 2.6rem .3rem 0 !important; padding: 1.6rem 1.3rem 1.3rem; background: var(--inv-paper); box-shadow: var(--gs-shadow); }
.gs-quote__mark {
    position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%);
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding-top: .8rem;
    border-radius: 50%; background: var(--inv-background); border: 1.5px solid var(--gs-pen);
    font: 600 2.6rem/1 var(--gs-serif); color: var(--inv-primary);
}
.gs-quote blockquote { margin: 0; font-style: italic; font-size: 1.1rem; line-height: 1.7; }
.gs-quote figcaption { margin-top: .8rem; font: 700 1.2rem/1.3 var(--gs-hand-font); color: var(--gs-ink); }

/* couple */
.gs-person { display: grid; justify-items: center; }
.gs-oval { position: relative; width: 11rem; aspect-ratio: 4 / 5; margin-bottom: 1.6rem; }
.gs-oval img, .gs-oval__initial {
    position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover;
    border-radius: 50%; border: 1.5px solid var(--gs-pen);
}
.gs-oval__initial {
    display: grid; place-items: center; background: linear-gradient(165deg, var(--inv-leaf), var(--inv-wash));
    font: 400 4rem/1 var(--gs-script); color: var(--inv-primary);
}
.gs-oval::before {
    content: ''; position: absolute; inset: -8px -6px -7px -9px; z-index: 2; pointer-events: none;
    border-radius: 48% 52% 50% 50% / 50% 48% 52% 50%; border: 1px solid var(--gs-pen); opacity: .55; transform: rotate(-4deg);
}
.gs-oval::after {
    content: ''; position: absolute; inset: 12px -16px -12px 14px; z-index: 0;
    border-radius: 44% 56% 50% 50% / 52% 46% 54% 48%;
    background: color-mix(in srgb, var(--inv-leaf) 75%, transparent);
}
.gs-person--bride .gs-oval::after { inset: 12px 14px -12px -16px; background: color-mix(in srgb, var(--inv-wash) 75%, transparent); }
.gs-person__sprig { position: absolute; z-index: 3; left: -2.6rem; bottom: .9rem; width: 7rem; height: auto; overflow: visible; transform: rotate(12deg); }
.gs-person--bride .gs-person__sprig { left: auto; right: -2.6rem; transform: scaleX(-1) rotate(12deg); }
.gs-person__role { font: 700 .74rem/1.4 var(--gs-serif); letter-spacing: .3em; text-transform: uppercase; color: var(--gs-ink); }
.gs-person__nick { margin: .1rem 0 0 !important; font: 400 3.2rem/1.2 var(--gs-script); color: var(--inv-primary); }
.gs-person__name { font-size: 1.32rem; font-weight: 600; line-height: 1.3; }
.gs-person__parents { margin-top: .5rem !important; color: var(--gs-muted); line-height: 1.5; }
.gs-person__parents strong { color: var(--inv-text); font-weight: 600; }

.gs-couple__and { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 2.2rem 0 2rem; }
.gs-couple__and svg { width: 5.5rem; height: auto; overflow: visible; }
.gs-couple__and .gs-flip { transform: scaleX(-1); }
.gs-couple__and span { font: italic 500 2.6rem/1 var(--gs-serif); color: var(--gs-ink); }

/* countdown: four hand-drawn boxes with a wash */
.gs-countdown__date {
    display: inline-flex; align-items: center; gap: .5rem; margin: -.6rem 0 1.6rem !important;
    font-size: 1.18rem; font-weight: 600;
}
.gs-countdown__date svg, .gs-event svg {
    width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}
.gs-countdown__date svg { color: var(--gs-ink); }
.gs-countdown .inv-countdown { gap: .55rem; }
.gs-countdown .inv-countdown__item {
    display: grid; place-content: center; width: 4.6rem; height: 4.9rem; min-width: 0; padding: 0;
    border: 1.5px solid var(--gs-pen); border-radius: var(--gs-wobble);
    background:
        radial-gradient(ellipse 60% 55% at 62% 66%, color-mix(in srgb, var(--inv-leaf) 85%, transparent), transparent 72%),
        var(--inv-paper);
    color: var(--inv-primary);
    box-shadow: 3px 4px 0 -1px color-mix(in srgb, var(--inv-wash) 80%, transparent);
}
.gs-countdown .inv-countdown__item:nth-child(even) {
    border-radius: var(--gs-wobble-2);
    background:
        radial-gradient(ellipse 60% 55% at 38% 64%, color-mix(in srgb, var(--inv-wash) 85%, transparent), transparent 72%),
        var(--inv-paper);
    box-shadow: 3px 4px 0 -1px color-mix(in srgb, var(--inv-leaf) 90%, transparent);
}
.gs-countdown .inv-countdown__value { font: 700 2rem/1 var(--gs-serif); color: var(--inv-highlight); }
.gs-countdown .inv-countdown__label { margin-top: .15rem; font: 700 1.05rem/1 var(--gs-hand-font); color: var(--gs-ink); opacity: 1; }
.gs-countdown .inv-countdown__done { font-style: italic; color: var(--gs-muted); }
.gs-countdown .inv-countdown__actions { margin-top: 1.7rem; gap: .6rem; }
.gs-countdown .inv-countdown__actions .inv-button { padding: .45rem .95rem .5rem; font-size: 1.05rem; }

/* events (W): rounded hand-inked cards with a coloured header band, over a veiled photo of the couple */
.gs-events > .gs-events__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.gs-events__bg img { position: absolute; inset: -40px 0; width: 100%; height: calc(100% + 80px); object-fit: cover; object-position: 50% 30%; opacity: .32; }
.gs-events__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--inv-background) 0%, color-mix(in srgb, var(--inv-background) 66%, transparent) 22%, color-mix(in srgb, var(--inv-background) 55%, transparent) 70%, var(--inv-background) 100%);
}
.gs-event {
    display: block; max-width: 23rem; margin: 0 auto; overflow: hidden; border-radius: 30px 26px 32px 24px;
    background: var(--inv-paper); box-shadow: 4px 5px 0 -1px color-mix(in srgb, var(--inv-wash) 85%, transparent), var(--gs-shadow);
}
.gs-event::after { border-radius: 26px 32px 24px 30px; }
.gs-event + .gs-event { margin-top: 1.8rem; }
.gs-event__band {
    --gs-pen: color-mix(in srgb, var(--inv-paper) 75%, transparent);
    position: relative; overflow: hidden; padding: 1.05rem 1rem 2.6rem; text-align: left;
    background:
        radial-gradient(ellipse 60% 80% at 100% 100%, color-mix(in srgb, var(--inv-highlight) 35%, transparent), transparent 70%),
        var(--inv-primary);
    color: var(--inv-paper);
}
.gs-event .gs-event__venue-art { position: absolute; right: -.6rem; bottom: -.4rem; width: 8.4rem; height: auto; opacity: .55; overflow: visible; fill: initial; stroke: initial; }
.gs-event__no { position: relative; font: 700 .72rem/1.4 var(--gs-serif); letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.gs-event__name { position: relative; font: 400 2.9rem/1.1 var(--gs-script); color: var(--inv-paper); }
.gs-event__body { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 1.1rem 1.5rem; }
.gs-event__photo { position: relative; z-index: 2; width: 5.6rem; aspect-ratio: 1; margin: -2.4rem 0 .7rem !important; transform: rotate(3deg); }
.gs-event__photo img {
    display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    border: 4px solid var(--inv-paper); box-shadow: 0 0 0 1.5px var(--gs-pen), var(--gs-shadow);
}
.gs-event__time {
    display: inline-flex; align-items: center; gap: .45rem;
    font: 700 1.45rem/1.3 var(--gs-hand-font); color: var(--inv-highlight);
}
.gs-event__date { display: inline-flex; align-items: center; gap: .45rem; margin-top: .1rem !important; font-size: 1.12rem; font-weight: 600; }
.gs-event__place { display: grid; justify-items: center; gap: .1rem; max-width: 20rem; margin-top: .8rem; }
.gs-event__pin { width: 1.35rem !important; height: 1.35rem !important; margin-bottom: .15rem; color: var(--inv-highlight); }
.gs-event__venue { font-size: 1.22rem; font-weight: 700; line-height: 1.3; color: var(--inv-primary); }
.gs-event__address { color: var(--gs-muted); line-height: 1.5; }
.gs-event__dress {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem !important;
    padding: .25rem .9rem .3rem; border: 1px dashed var(--gs-pen); border-radius: var(--gs-wobble);
    background: color-mix(in srgb, var(--inv-leaf) 35%, transparent);
    font: 600 1.12rem/1.3 var(--gs-hand-font); color: var(--inv-text);
}
.gs-event__actions {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem;
    width: 100%; margin-top: 1.2rem;
}
.gs-event__actions .gs-event__button:only-child { grid-column: 1 / -1; }
.gs-body .gs-event__button { gap: .4rem; padding: .5rem .4rem .55rem; font-size: 1.08rem; white-space: nowrap; }
.gs-event__button svg { width: 1rem; height: 1rem; }
/* the venue sketch slides in after its card pops */
html.inv-anim .gs-event .gs-event__venue-art { transform: translateX(40%); opacity: 0; transition: transform 1s cubic-bezier(.16, 1, .3, 1) .4s, opacity .8s ease .4s; }
html.inv-anim .gs-event.is-revealed .gs-event__venue-art { transform: none; opacity: .55; }

/* love story (L): compact zig-zag on an inked dashed line */
.gs-moments { position: relative; margin: 0; padding: .2rem 0; list-style: none; }
.gs-moments::before { content: ''; position: absolute; top: .6rem; bottom: .6rem; left: 50%; border-left: 1.5px dashed var(--gs-line); }
.gs-moment { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr); column-gap: .7rem; align-items: start; }
.gs-moment > * { grid-row: 1; }
.gs-moment + .gs-moment { margin-top: 1.9rem; }
.gs-moment__dot {
    grid-column: 2; position: relative; z-index: 2; display: grid; place-items: center;
    width: 2rem; height: 2rem; border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%;
    background: var(--inv-highlight); border: 1.5px solid var(--inv-paper); color: #fff;
    box-shadow: 2px 2px 0 color-mix(in srgb, var(--inv-wash) 85%, transparent);
    font: 700 1.1rem/1 var(--gs-hand-font);
}
html.inv-anim .gs-moment__dot { transform: scale(0) rotate(-30deg); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .45s; }
html.inv-anim .gs-moments.is-revealed .gs-moment__dot { transform: none; }
html.inv-anim .gs-moments.is-revealed .gs-moment:nth-child(2) .gs-moment__dot { transition-delay: .65s; }
html.inv-anim .gs-moments.is-revealed .gs-moment:nth-child(3) .gs-moment__dot { transition-delay: .85s; }
html.inv-anim .gs-moments.is-revealed .gs-moment:nth-child(n + 4) .gs-moment__dot { transition-delay: 1s; }
.gs-moment--left .gs-moment__text { grid-column: 1; text-align: right; }
.gs-moment--left .gs-moment__side { grid-column: 3; align-items: flex-start; text-align: left; }
.gs-moment--right .gs-moment__text { grid-column: 3; text-align: left; }
.gs-moment--right .gs-moment__side { grid-column: 1; align-items: flex-end; text-align: right; }
.gs-moment__title { padding-top: .1rem; font-size: 1.22rem; font-weight: 700; line-height: 1.25; color: var(--inv-primary); overflow-wrap: anywhere; }
.gs-moment__rule { display: block; width: 3.4rem; margin: .35rem 0; border-top: 2px dotted var(--gs-pen); opacity: .6; }
.gs-moment--left .gs-moment__rule { margin-left: auto; }
.gs-moment__story { color: var(--gs-muted); font-size: .98rem; line-height: 1.45; overflow-wrap: anywhere; }
.gs-moment__side { display: flex; flex-direction: column; gap: .5rem; }
.gs-moment__date { font: 700 1.35rem/1.15 var(--gs-hand-font); color: var(--inv-highlight); overflow-wrap: anywhere; }
.gs-moment__photo { position: relative; width: min(100%, 6rem); transform: rotate(-3deg); }
.gs-moment--right .gs-moment__photo { transform: rotate(3deg); }
.gs-moment__photo .gs-tape { top: auto; bottom: -.35rem; width: 3.4rem; height: 1.1rem; }
.gs-moment__photo img {
    display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
    border: 4px solid #fff; box-shadow: 0 0 0 1px var(--gs-line), 0 10px 20px -14px rgb(0 0 0 / .5);
}
.gs-moment__sketch svg { width: 4.4rem; height: 4.4rem; overflow: visible; }

/* gallery: photos pinned in the sketchbook */
.gs-gallery .inv-gallery { gap: .65rem; }
.gs-gallery .inv-gallery__item {
    border-radius: 3px; border: 4px solid #fff;
    box-shadow: 0 0 0 1px var(--gs-line), 0 12px 22px -16px rgb(0 0 0 / .55);
}
.gs-gallery .inv-gallery__item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.gs-gallery .inv-gallery__item:nth-child(n + 2):last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 10; }

/* live streaming */
.gs-live__icon { display: block; width: 3.2rem; height: 3.2rem; margin: 0 auto .5rem; }
.gs-live__icon svg { width: 100%; height: 100%; fill: color-mix(in srgb, var(--inv-leaf) 60%, transparent); stroke: var(--gs-pen); stroke-width: 1.3; stroke-linejoin: round; }
.gs-live__platform { font: 400 2.6rem/1.2 var(--gs-script); color: var(--inv-primary); }
.gs-live__text { margin: .3rem 0 .6rem !important; color: var(--gs-muted); line-height: 1.55; }
.gs-live__note { margin-bottom: 1.1rem !important; font: 600 1.2rem/1.3 var(--gs-hand-font); color: var(--gs-ink); }

/* gift: compact ink bank cards, two per row (an odd last card spans both) */
.gs-gift .inv-gift { display: grid; gap: 1.1rem; }
.gs-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.gs-gift .inv-gift__accounts > .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.gs-gift .inv-gift__account + .inv-gift__account { margin-top: 0; }
.gs-gift .inv-gift__account:not(.inv-gift__address) {
    position: relative; overflow: hidden; min-width: 0; min-height: 9.6rem;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 3rem .8rem .8rem; border-radius: 16px; text-align: left; color: #fff;
    background:
        radial-gradient(ellipse 60% 70% at 108% -10%, color-mix(in srgb, var(--inv-accent) 60%, transparent), transparent 70%),
        radial-gradient(ellipse 50% 60% at -12% 118%, color-mix(in srgb, var(--inv-wash) 30%, transparent), transparent 70%),
        linear-gradient(140deg, var(--inv-primary), var(--inv-deep) 85%);
    box-shadow: 0 18px 30px -18px color-mix(in srgb, var(--inv-deep) 90%, #000), inset 0 0 0 1px rgb(255 255 255 / .12);
}
/* the chip */
.gs-gift .inv-gift__account:not(.inv-gift__address)::before {
    content: ''; position: absolute; top: .85rem; left: .8rem; width: 2.2rem; height: 1.65rem; border-radius: .34rem;
    background:
        linear-gradient(90deg, transparent 31%, rgb(0 0 0 / .2) 31% 34%, transparent 34% 66%, rgb(0 0 0 / .2) 66% 69%, transparent 69%),
        linear-gradient(0deg, transparent 46%, rgb(0 0 0 / .2) 46% 54%, transparent 54%),
        linear-gradient(135deg, #f3e3c3, #c9a774 55%, #8f6f42);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15);
}
/* a sketched double ring as a watermark */
.gs-gift .inv-gift__account:not(.inv-gift__address)::after {
    content: ''; position: absolute; right: -1.6rem; bottom: -1.8rem; width: 6.5rem; height: 6rem; pointer-events: none;
    border: 1px solid rgb(255 255 255 / .28); border-radius: var(--gs-wobble);
    box-shadow: 4px -3px 0 -1px rgb(255 255 255 / .14);
    transform: rotate(-8deg);
}
.gs-gift .inv-gift__account > * { position: relative; z-index: 1; }
.gs-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__bank {
    position: absolute; top: .95rem; right: .7rem; left: 3.3rem; margin: 0; text-align: right;
    font: 700 .74rem/1.5rem var(--gs-serif); letter-spacing: .08em; text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-gift .inv-gift__logo { height: 1.5rem; padding: .18rem .45rem; border-radius: .35rem; }
.gs-gift .inv-gift__logo img { max-width: 4.6rem; }
.gs-gift .inv-gift__number {
    margin: 0 0 .25rem; font: 500 .95rem/1.3 var(--gs-mono); letter-spacing: .05em;
    text-shadow: 0 1px 2px rgb(0 0 0 / .25); overflow-wrap: anywhere;
}
.gs-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__holder {
    margin: 0 0 .65rem; font: 700 .66rem/1.4 var(--gs-serif); letter-spacing: .12em; text-transform: uppercase; opacity: .95;
    overflow-wrap: anywhere;
}
.gs-gift .inv-gift__account:not(.inv-gift__address) .inv-button--outline {
    align-self: flex-start; padding: .25rem .7rem .3rem; font-size: .98rem;
    background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .75); box-shadow: none;
}
/* the gift address: a hand-drawn paper card */
.gs-gift .inv-gift__address {
    padding: 1.5rem 1.3rem; text-align: center;
    background: var(--inv-paper); border: 1.5px dashed var(--gs-pen); border-radius: var(--gs-wobble);
    box-shadow: var(--gs-shadow);
}
.gs-gift .inv-gift__address .inv-gift__bank { font: 700 .76rem/1.4 var(--gs-serif); letter-spacing: .28em; text-transform: uppercase; color: var(--gs-ink); }
.gs-gift .inv-gift__address .inv-gift__holder { margin: .5rem 0 .2rem; font-weight: 600; font-size: 1.2rem; }
.gs-gift .inv-gift__address p:not([class]) { margin-bottom: 1rem; color: var(--gs-muted); line-height: 1.55; }

/* forms (rsvp, wishes) */
.gs-form { text-align: left; padding-top: 2rem; }
.gs-form .inv-form { gap: .95rem; }
.gs-form .inv-form label, .gs-form .inv-form__choices legend { font: 600 1rem/1.4 var(--gs-serif); color: var(--gs-muted); }
.gs-form .inv-form input:not([type=radio]):not([type=checkbox]), .gs-form .inv-form select, .gs-form .inv-form textarea {
    padding: .7rem .9rem; border-radius: 10px; background: #fff; color: #262a26;
    border: 1.5px solid color-mix(in srgb, var(--gs-pen) 35%, transparent);
    font: 500 1.08rem/1.4 var(--gs-serif); transition: border-color .2s ease, box-shadow .2s ease;
}
.gs-form .inv-form input:focus, .gs-form .inv-form select:focus, .gs-form .inv-form textarea:focus {
    outline: none; border-color: var(--inv-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--inv-leaf) 70%, transparent);
}
.gs-form .inv-form__choices label {
    padding: .4rem .85rem; border-radius: var(--gs-wobble); background: #fff; color: var(--inv-text);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gs-pen) 35%, transparent);
}
.gs-form .inv-form > .inv-button { width: 100%; margin-top: .2rem; }
.gs-form .inv-rsvp__deadline { margin-bottom: .9rem !important; font-style: italic; color: var(--gs-muted); text-align: center; }
.gs-form .inv-form__notice { font-size: 1rem; color: var(--inv-text); }

/* wishes: small notes, three per page */
.gs-form .inv-wishes__list { margin-top: 1.3rem; gap: .6rem; }
.gs-form .inv-wishes:not(.inv-wishes--paged) { --inv-wishes-height: 20rem; }
.gs-form .inv-wish {
    padding: .7rem .85rem; border-radius: var(--gs-wobble-2);
    background: color-mix(in srgb, var(--inv-leaf) 22%, #fff);
    border: 1px solid var(--gs-line);
}
.gs-form .inv-wish:nth-child(even) { background: color-mix(in srgb, var(--inv-wash) 22%, #fff); border-radius: var(--gs-wobble); }
.gs-form .inv-wish__name { font: 700 1.2rem/1.2 var(--gs-hand-font); color: var(--inv-primary); }
.gs-form .inv-wish__message { font-size: 1.02rem; line-height: 1.45; }
.gs-form .inv-wish__time { font-size: .82rem; color: var(--gs-muted); opacity: 1; }
.gs-form .inv-wish__reply { border-color: var(--gs-line); }
.gs-form .inv-wishes__empty { font-style: italic; text-align: center; }
.gs-form .inv-wishes__pager { gap: .9rem; margin-top: 1rem; }
.gs-form .inv-wishes__page-button {
    display: grid; place-items: center; width: 2.3rem; height: 2.2rem; padding: 0 0 .12rem;
    border-radius: var(--gs-wobble); border: 1.5px solid var(--gs-pen);
    font: 600 1.35rem/1 var(--gs-serif); color: var(--inv-primary); background: var(--inv-paper);
    transition: background .2s ease, color .2s ease;
}
.gs-form .inv-wishes__page-button:not(:disabled):hover { background: var(--inv-primary); color: var(--inv-paper); }
.gs-form .inv-wishes__page { font: 700 1.1rem/1 var(--gs-hand-font); color: var(--gs-muted); opacity: 1; }

/* closing */
.gs-closing { padding-top: 4.6rem; padding-bottom: 4.8rem; }
.gs-closing__pergola { width: 14.5rem; margin: 0 auto 1.4rem !important; }
.gs-closing__message { max-width: 23rem; margin: .7rem auto 1rem !important; color: var(--gs-muted); line-height: 1.75; }
.gs-closing__sign { font-style: italic; font-size: 1.1rem; }
.gs-closing__names { margin: .1rem 0 .7rem !important; font: 400 3.3rem/1.2 var(--gs-script); color: var(--inv-primary); }
.gs-closing__names span { font-family: var(--gs-serif); font-style: italic; font-size: .5em; color: var(--gs-ink); }

/* ---------- floating UI: QR card, branding, menu, back to top, music ---------- */

.gs-page .inv-checkin {
    position: relative; margin: 0 auto 2.5rem; background: var(--inv-paper); color: var(--inv-text);
    border: 1.5px solid var(--gs-pen); border-radius: var(--gs-wobble); box-shadow: var(--gs-shadow);
}
.gs-page .inv-checkin__title { font: 700 .78rem/1.4 var(--gs-serif); letter-spacing: .2em; color: var(--inv-primary); }

.gs-page .inv-branding {
    position: relative; padding: 1.3rem 1rem 1rem;
    font: 500 .85rem/1.4 var(--gs-serif); color: var(--gs-muted); opacity: 1;
}
.gs-body:has(.inv-nav) .gs-page .inv-branding { padding-bottom: 1rem; }

.gs-body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-paper) 94%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-text) 78%, transparent);
    --inv-nav-active: var(--inv-highlight);
    max-width: min(calc(100vw - 1.5rem), calc(var(--gs-column) - 1.5rem));
    border: 1.5px solid var(--gs-pen);
    border-radius: var(--gs-wobble);
    box-shadow: 3px 4px 0 -1px color-mix(in srgb, var(--inv-leaf) 85%, transparent), 0 12px 26px -16px rgb(0 0 0 / .45);
}
.gs-body .inv-nav__item { border-radius: var(--gs-wobble-2); }
.gs-body .inv-nav__item.is-active { color: #fff; }
.gs-body .inv-nav__label { font: 700 .88rem/1 var(--gs-hand-font); letter-spacing: 0; }
.gs-body .inv-nav__item { padding-left: .4rem; padding-right: .4rem; }

.gs-body .inv-to-top {
    left: max(1rem, calc(50vw - var(--gs-column) / 2 + 1rem));
    border-radius: var(--gs-wobble);
    background: var(--inv-paper); color: var(--inv-primary);
    box-shadow: inset 0 0 0 1.5px var(--gs-pen), 0 8px 18px -8px rgb(0 0 0 / .4);
}

.gs-body .inv-music__space { display: none; }
.gs-body .inv-music { right: max(1rem, calc(50vw - var(--gs-column) / 2 + 1rem)); }
.gs-body .inv-music__button {
    background: var(--inv-primary); color: var(--inv-paper);
    box-shadow: 0 0 0 2px var(--inv-background), 0 0 0 3.5px var(--gs-pen), 0 8px 18px -8px rgb(0 0 0 / .4);
}
.gs-body .inv-autoscroll { font-family: var(--gs-serif); font-weight: 600; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gs-sway, html.inv-anim .gs-sway { animation: none !important; }
    .gs-moment__dot, .gs-event .gs-event__venue-art { transform: none !important; }
    .gs-cover--leave { transition: opacity .3s ease; }
    .gs-cover--gone { transform: translateX(-50%); }
}

/* ---------- fit: the whole cover (monogram → "Buka Undangan") on one phone screen ---------- */

.gs-cover__inner { min-height: 100vh; min-height: 100svh; justify-content: space-evenly; }
.gs-cover__pergola { width: clamp(150px, 27svh, 230px); }
.gs-cover__quote { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-height: 760px) {
    .gs-cover__inner { padding: 2.4rem 1.6rem 1.6rem; }
    .gs-mono { width: 4.4rem; height: 4.4rem; margin-bottom: .3rem; }
    .gs-mono__letters { font-size: 1.25rem; }
    .gs-cover__pergola { width: clamp(140px, 25svh, 210px); }
    .gs-cover__names { font-size: clamp(2.6rem, 12vw, 3.2rem); }
    .gs-cover__quote { -webkit-line-clamp: 6; margin-top: .4rem !important; font-size: .95rem; }
    .gs-cover__guest { margin: .7rem 0 .8rem; padding: .55rem 1.2rem .5rem; }
    .gs-cover__guestname { font-size: 1.45rem; }
}
@media (max-height: 660px) {
    .gs-cover__inner { padding: 2.2rem 1.5rem 1.3rem; }
    .gs-mono { width: 3.7rem; height: 3.7rem; margin-bottom: .2rem; }
    .gs-mono__letters { font-size: 1.1rem; }
    .gs-cover__pergola { width: 22svh; }
    .gs-cover__names { font-size: 2.5rem; line-height: 1.1; }
    .gs-cover__date { font-size: .76rem; }
    .gs-cover__quote { font-size: .9rem; line-height: 1.4; }
    .gs-cover__guest { margin: .55rem 0 .65rem; padding: .45rem 1.1rem .45rem; }
    .gs-cover__guestname { font-size: 1.35rem; }
    .gs-cover__sorry { font-size: .74rem; }
}

/* ---------- fit: the page ends close to the closing names and their divider ---------- */

.gs-closing { padding-bottom: .7rem; }
