/* ==========================================================================
   Melodia Deo — 32th Anniversary Choir Concert
   Design system for the public pages (index.php / result.php).

   The layout follows assets/images/acuan-choir.png (the poster), top to bottom:
     cathedral photo fading into deep brown · intro line (Garet, letterspaced) ·
     MELODIA DEO (TAN Aegean, gold) · #melodiuntuktuhan (Allura) ·
     ANNIVERSARY CHOIR CONCERT (Aegean, letterspaced) · gold music flourish +
     32 badge · white sparkles · "SUNDAY / 06 DESEMBER 2026" + clock/pin info.

   Palette sampled directly from the artwork:
     · background-landscape.png → espresso #1F1813 · walnut #4A3421
                                    altar gold #765723 · shadow #281E15
     · logo-event.png           → MELODIA DEO gold #EC9A0E
     · frame.png / frame0.png   → ornament gold #D09C44 · cream #DDCDBA
                                    taupe ring #94918E
     · bg-tone.png              → base brown #21160F
   Type: TAN Aegean (display: BEST WISHES, SUNDAY, sub-titles)
         Allura (script: hashtag, card titles, the greeting itself)
         Spacetype Garet Book (body) · Garet Heavy (buttons)
   ========================================================================== */

@font-face {
    font-family: 'Allura';
    src: url('../fonts/web/Allura.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Garet';
    src: url('../fonts/web/GaretBook.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Garet';
    src: url('../fonts/web/GaretHeavy.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Aegean';
    src: url('../fonts/web/Aegean.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}

:root {
    /* ---- colour tokens (from the artwork) ---- */
    --md-brown:      #21160F;   /* darkest base (bg-tone.png)            */
    --md-espresso:   #1F1813;   /* background edges                      */
    --md-walnut:     #4A3421;   /* column stone                          */
    --md-altar:      #765723;   /* warm gold in the nave                 */
    --md-shadow:     #281E15;   /* ceiling / upper shadow                */

    --md-gold:       #EC9A0E;   /* MELODIA DEO logo gold                 */
    --md-gold-deep:  #C77F05;   /* pressed gold                          */
    --md-gold-soft:  #F2C46B;   /* highlight / gradient edge             */
    --md-ornament:   #D09C44;   /* frame.png ornament gold               */
    --md-taupe:      #94918E;   /* frame ring                            */

    --md-cream:      #DDCDBA;   /* frame.png paper / card fill           */
    --md-cream-soft: #F1E7D9;   /* lighter cream for surfaces            */
    --md-parchment:  #EFE3D0;   /* input fields                          */

    --md-ink:        #2A1C12;   /* text on cream                         */
    --md-ink-soft:   #5C4632;   /* secondary text                        */
    --md-on-dark:    #F4E9D8;   /* text on brown                         */
    --md-on-dark-dim:#C9B394;

    --md-error:      #B3261E;
    --md-error-soft: #F8E5E1;

    /* ---- type ---- */
    --font-script:  'Allura', 'Garet', cursive;
    --font-body:    'Garet', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Aegean', Georgia, 'Times New Roman', serif;

    /* ---- metrics ---- */
    --radius-card: 16px;
    --radius-field: 10px;
    --radius-pill: 999px;
    --shell: 560px;                             /* phone-first column */
    --gutter: clamp(16px, 4.6vw, 24px);
}

/* ============================ reset ======================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { min-height: 100%; }

body {
    font-family: var(--font-body);
    color: var(--md-on-dark);
    background: var(--md-brown);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    overflow-x: clip;
}

/* ============================ page shell ================================== */
.page {
    position: relative;
    min-height: 100dvh;
    max-width: var(--shell);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    background: var(--md-brown);
    overflow: hidden;
}

/* the cathedral photo fills the top of the page and fades into the brown,
   exactly like the poster's upper half */
.page::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: min(64vh, 620px);
    z-index: -2;
    background: url('../images/cathedral-m.webp') center 30% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
}
.page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(90% 38% at 50% 22%, rgba(236,154,14,.16), transparent 70%),
        linear-gradient(180deg, rgba(26,17,11,.70) 0%, rgba(26,17,11,.42) 26%, rgba(26,17,11,.62) 46%, rgba(33,22,15,.0) 66%);
}

/* ============================ sparkles ==================================== */
/* white sparkles from the poster (star.png / star2.png) */
.spark {
    position: absolute;
    pointer-events: none;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,.6));
    animation: spark-twinkle 3.8s ease-in-out infinite;
}
.spark--a { right: 9%;  top: 36%; width: 24px; }
.spark--b { left: 7%;   top: 72%; width: 20px; animation-delay: 1.3s; }
.spark--c { right: 14%; top: 4%;  width: 14px; animation-delay: 2.4s; }
@keyframes spark-twinkle {
    0%, 100% { opacity: .35; transform: scale(.85) rotate(0deg); }
    50%      { opacity: 1;   transform: scale(1.08) rotate(8deg); }
}

/* ============================ hero ======================================== */
.hero {
    position: relative;
    flex: none;
    text-align: center;
    padding: clamp(18px, 3.6vh, 40px) var(--gutter) 0;
}

/* MELODIA DEO wordmark: the original logo-event.png (with #melodiuntuktuhan
   and ANNIVERSARY CHOIR CONCERT), never retyped */
.hero__logo { margin: 0; line-height: 0; }
.hero__logo img {
    display: block;
    width: min(80%, 37vh, 370px);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 18px rgba(0,0,0,.55));
}

/* ============================ emblem ====================================== */
/* gold music flourish (flourish.png) with the 32 badge, overlapping the card */
.emblem {
    position: relative;
    flex: none;
    height: clamp(46px, 7.6vh, 72px);
    margin: clamp(0px, .6vh, 6px) var(--gutter) calc(-1 * clamp(14px, 2.2vh, 22px));
    z-index: 2;
    pointer-events: none;
}
.emblem__flourish {
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 100%;
    width: auto;
    transform: translateX(-58%);
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.5));
}
.emblem__badge {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: clamp(70px, 19vw, 92px);
    height: auto;
    filter: drop-shadow(0 5px 12px rgba(0,0,0,.6));
}

/* ============================ main ======================================== */
.main {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(10px, 1.6vh, 16px);
    padding: 0 var(--gutter) clamp(12px, 2vh, 22px);
}

/* ============================ card ======================================== */
/* parchment card with a double gold rule, like a printed programme */
.card {
    position: relative;
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.55), transparent 70%),
        linear-gradient(180deg, var(--md-cream-soft) 0%, var(--md-cream) 100%);
    color: var(--md-ink);
    border-radius: var(--radius-card);
    padding: clamp(16px, 2.6vh, 28px) clamp(16px, 4.6vw, 26px) clamp(16px, 2.2vh, 24px);
    box-shadow:
        0 0 0 1px rgba(208,156,68,.9),
        0 0 0 5px rgba(33,22,15,.55),
        0 0 0 6px rgba(208,156,68,.45),
        0 22px 50px rgba(0,0,0,.6);
}
/* inner hairline */
.card::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(208,156,68,.45);
    border-radius: calc(var(--radius-card) - 5px);
    pointer-events: none;
}

.card__head { text-align: center; padding-top: clamp(14px, 2.2vh, 20px); }  /* clear the flourish + badge */
.card__title {                 /* BEST WISHES, as on the wall's QR panel */
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(23px, min(6.8vw, 3.6vh), 30px);
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    color: var(--md-gold-deep);
}
.card__hint {                  /* 32 Tahun St. Elisabeth Choir */
    margin-top: 6px;
    font-family: var(--font-body);
    font-size: clamp(10px, 2.8vw, 11.5px);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--md-ink-soft);
}
/* ornamental rule with a gold diamond under the card title */
.card__head::after {
    content: "";
    display: block;
    width: 160px;
    height: 10px;
    margin: clamp(5px, .9vh, 9px) auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23D09C44' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23D09C44'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='1' x2='0'%3E%3Cstop offset='0' stop-color='%23D09C44' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23D09C44'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='4.5' width='70' height='1' fill='url(%23l)'/%3E%3Crect x='90' y='4.5' width='70' height='1' fill='url(%23r)'/%3E%3Cpath d='M80 0l5 5-5 5-5-5z' fill='%23EC9A0E'/%3E%3Cpath d='M71 5l2.5-2.5L76 5l-2.5 2.5zM84 5l2.5-2.5L89 5l-2.5 2.5z' fill='%23D09C44'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================ form ======================================== */
.form {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.3vh, 13px);
}

.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.field__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    font-family: var(--font-body);
    font-weight: 700;              /* Garet Heavy: same family as the typed text, bold */
    font-size: clamp(11.5px, 3.2vw, 13px);
    letter-spacing: .14em;
    white-space: nowrap;
    text-transform: uppercase;
    color: var(--md-walnut);
    padding-left: 2px;
}
.field__opt {
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: .04em;
    text-transform: none;
    color: var(--md-ink-soft);
    opacity: .75;
}

.field input,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;               /* ≥16px: no iOS zoom */
    line-height: 1.4;
    color: var(--md-ink);
    background: rgba(255,251,244,.62);
    border: 1px solid rgba(118,87,35,.30);
    border-radius: var(--radius-field);
    padding: 10px 13px;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(74,52,33,.08);
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.field textarea {
    resize: none;
    min-height: clamp(58px, 9.5vh, 120px);
}
.field input::placeholder,
.field textarea::placeholder {
    color: #9A8366;
    opacity: 1;
}
.field input:focus,
.field textarea:focus {
    background: #FFFDF8;
    border-color: var(--md-gold);
    box-shadow: 0 0 0 3px rgba(236,154,14,.20);
}

.field__error {
    display: none;
    font-size: 12.5px;
    color: var(--md-error);
    padding-left: 2px;
}
.field.has-error input,
.field.has-error textarea {
    border-color: var(--md-error);
    background: var(--md-error-soft);
}
.field.has-error .field__error { display: block; }

/* live character counter (sits inside the textarea's bottom-right corner) */
.field__box { position: relative; display: flex; }
.field__box textarea { padding-bottom: 22px; }
.counter {
    position: absolute;
    right: 11px;
    bottom: 8px;
    font-size: 11.5px;
    line-height: 1;
    color: var(--md-ink-soft);
    opacity: .8;
    pointer-events: none;
}
.counter strong { font-weight: 700; color: var(--md-walnut); }
.counter.is-near { opacity: 1; }
.counter.is-near strong { color: var(--md-error); }

/* ============================ buttons ===================================== */
.btn {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 2px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(13.5px, 3.7vw, 15px);
    letter-spacing: .22em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: var(--md-brown);
    background:
        linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 52%),
        linear-gradient(180deg, var(--md-gold-soft) 0%, var(--md-gold) 55%, var(--md-gold-deep) 100%);
    border: 1px solid var(--md-gold-deep);
    border-radius: var(--radius-pill);
    padding: 13px 20px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.5),
        0 8px 20px rgba(199,127,5,.35),
        0 2px 0 rgba(120,76,3,.6);
    transition: transform .1s, box-shadow .15s, filter .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.05); }
.btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 8px rgba(199,127,5,.3);
}
.btn:disabled {
    background: var(--md-taupe);
    border-color: #7d7a77;
    color: #F1E7D9;
    box-shadow: none;
    cursor: default;
    transform: none;
}
.btn--ghost {
    background: rgba(33,22,15,.35);
    color: var(--md-gold-soft);
    border: 1px solid rgba(236,154,14,.6);
    box-shadow: none;
}
.btn--ghost:active { transform: translateY(2px); box-shadow: none; }

/* ============================ footer ====================================== */
/* "SUNDAY / 06 DESEMBER 2026" + clock / pin, like the bottom of the poster */
.foot {
    flex: none;
    display: flex;
    align-items: center;
    gap: clamp(10px, 3vw, 16px);
    padding: clamp(10px, 1.6vh, 16px) var(--gutter) calc(clamp(10px, 1.6vh, 16px) + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(208,156,68,.32);
    background: linear-gradient(180deg, rgba(26,17,11,.2), rgba(26,17,11,.75));
}
.foot__date {
    display: flex;
    flex-direction: column;
    flex: none;
    line-height: 1;
}
.foot__day {
    font-family: var(--font-display);
    font-size: clamp(21px, 6vw, 28px);
    text-transform: uppercase;
    color: var(--md-gold);
}
.foot__dmy {
    margin-top: 4px;
    font-size: clamp(8.5px, 2.4vw, 10px);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--md-on-dark);
}
.foot__info {
    list-style: none;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: clamp(10px, 3vw, 16px);
    border-left: 1px solid rgba(208,156,68,.32);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: clamp(9.5px, 2.6vw, 11px);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--md-on-dark);
}
.foot__info li { display: flex; align-items: center; gap: 7px; line-height: 1.25; }
.foot__info svg {
    flex: none;
    width: 15px; height: 15px;
    fill: none;
    stroke: var(--md-on-dark);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.foot__logo {
    flex: none;
    width: clamp(56px, 15vw, 80px);
    height: auto;
}

/* ============================ thank-you modal ============================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26,17,11,.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
    position: relative;
    width: 100%;
    max-width: 360px;
    text-align: center;
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.55), transparent 70%),
        linear-gradient(180deg, var(--md-cream-soft), var(--md-cream));
    color: var(--md-ink);
    border-radius: var(--radius-card);
    padding: 52px 26px 26px;
    box-shadow:
        0 0 0 1px rgba(208,156,68,.9),
        0 0 0 5px rgba(33,22,15,.55),
        0 0 0 6px rgba(208,156,68,.45),
        0 24px 60px rgba(0,0,0,.6);
    transform: translateY(18px) scale(.96);
    transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.modal::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(208,156,68,.45);
    border-radius: calc(var(--radius-card) - 5px);
    pointer-events: none;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

/* the gold flourish crowning the modal */
.modal__flourish {
    position: absolute;
    top: -40px;
    left: 50%;
    width: 170px;
    height: auto;
    transform: translateX(-50%);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.45));
    pointer-events: none;
}
.modal__title {
    font-family: var(--font-script);
    font-size: clamp(46px, 13vw, 58px);
    line-height: 1;
    color: var(--md-gold-deep);
}
.modal__text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--md-ink-soft);
    margin: 10px 0 22px;
}

/* ============================ toast ======================================= */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 60;
    max-width: calc(100% - 32px);
    background: var(--md-cream-soft);
    color: var(--md-ink);
    border: 1px solid var(--md-ornament);
    border-left: 4px solid var(--md-error);
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================ result ====================================== */
.page--result .hero { padding-top: clamp(22px, 4vh, 44px); }
.page--result .hero__logo img { width: min(74%, 38vh, 340px); }

.thanks {
    text-align: center;
    margin-top: clamp(4px, 1vh, 10px);
}
.thanks__title {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(40px, min(12vw, 6vh), 54px);
    line-height: 1;
    color: var(--md-gold);
    text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.thanks__text {
    max-width: 30ch;
    margin: 4px auto 0;
    font-size: clamp(13px, 3.6vw, 15px);
    color: var(--md-on-dark);
}

/* The visitor's greeting as the same card the digital wall shows
   (wishing/assets/css/style.css .wish-card): parchment, thin gold rules,
   corner brackets, flourish crest, white sparkles, name + koor · paroki. */
.wishcard {
    position: relative;
    width: min(100%, 440px);
    margin: 22px auto 4px;
}
.wishcard__crest {
    position: absolute;
    left: 50%;
    top: -26px;
    width: 130px;
    height: auto;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.5));
}
.wishcard__spark {
    position: absolute;
    z-index: 3;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255,255,255,.75));
    animation: spark-twinkle 3.8s ease-in-out infinite;
}
.wishcard__spark--l { left: -12px; top: 18px; width: 24px; }
.wishcard__spark--r { right: -10px; bottom: 20px; width: 19px; animation-delay: 1.6s; }

.wishcard__card {
    position: relative;
    min-height: 190px;
    padding: 34px 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(130% 130% at 50% 0%, #F7EFE3 0%, var(--md-cream) 56%, var(--md-parchment) 100%);
    border-radius: 8px;
    box-shadow:
        0 0 0 1px rgba(208,156,68,.75),
        0 0 0 5px rgba(33,22,15,.55),
        0 0 0 6px rgba(208,156,68,.32),
        0 22px 48px rgba(0,0,0,.62);
}
/* inner hairline */
.wishcard__card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(208,156,68,.40);
    pointer-events: none;
}
/* corner brackets */
.wishcard__card::before {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(148,145,142,.38);
    pointer-events: none;
    -webkit-mask-image:
        linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    -webkit-mask-size: 20px 20px;
    -webkit-mask-position: top left, top right, bottom left, bottom right;
    -webkit-mask-repeat: no-repeat;
    mask-image:
        linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    mask-size: 20px 20px;
    mask-position: top left, top right, bottom left, bottom right;
    mask-repeat: no-repeat;
}
.wishcard__text {
    font-family: var(--font-script);
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.2;
    color: var(--md-ink);
    overflow-wrap: anywhere;
    -webkit-text-stroke: .8px var(--md-ink);
    paint-order: stroke fill;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.wishcard__text.is-long  { font-size: clamp(23px, 6.8vw, 29px); line-height: 1.22; }
.wishcard__text.is-xlong { font-size: clamp(18px, 5.1vw, 22px); line-height: 1.24; }
.wishcard__meta {
    margin-top: 12px;
    padding-top: 9px;
    border-top: 1px solid rgba(148,145,142,.34);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wishcard__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--md-gold-deep);
    overflow-wrap: anywhere;
}
.wishcard__org {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.3;
    color: var(--md-ink-soft);
    overflow-wrap: anywhere;
}

/* ============================ utility ===================================== */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================ responsive ================================== */
/* short phones (iPhone SE & co.): the form must fit */
@media (max-height: 760px) {
    .form { gap: 7px; }
    .field { gap: 3px; }
    .field input { padding-top: 8px; padding-bottom: 8px; }
    .field textarea { min-height: 54px; }
    .card { padding-top: 14px; }
}
@media (min-width: 561px) {
    body { background: var(--md-espresso); }
    .page { box-shadow: 0 0 70px rgba(0,0,0,.6); }
}

@media (prefers-reduced-motion: reduce) {
    .modal, .modal-overlay, .toast { transition: none; }
    .spark, .wishcard__spark { animation: none; opacity: .85; }
}
