/*
 * Nhung Hoa (template 13): red velvet and paper wedding invitation.
 * Mobile-only canvas centred on desktop. Velvet surfaces take the palette colour
 * through a neutral texture (background-blend-mode); flowers, envelope and wax
 * seal are tinted with --nh-tone. Photos, text, maps and QR codes are never filtered.
 */
body.wedding-invitation {
    background: #241918;
}
.wedding-invitation .page-wrapper {
    max-width: 480px;
    margin-inline: auto;
    background: #f8f4ee;
}
.wedding-invitation .bgr-main-fixed {
    display: none;
}

.invitation-13 {
    --accent: var(--invitation-accent, #8e0101);
    --ink: #2e2220;
    --ink-soft: #5b4845;
    --cream: #fff8ef;
    --champagne: #f7e2c8;
    --script: "Great Vibes", "Times New Roman", cursive;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Be Vietnam Pro", Roboto, Arial, sans-serif;
    /* Small accent text on paper: a deeper shade keeps 4.5:1 for the lighter palettes (2, 7, 9). */
    --accent-ink: var(--accent);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #f8f4ee;
    color: var(--ink);
    font: 400 16px/1.7 var(--sans);
    text-align: center;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
    .invitation-13 {
        --accent-ink: color-mix(in srgb, var(--accent) 80%, #000);
    }
}
.invitation-13 * {
    box-sizing: border-box;
}
/* Zero-specificity reset: the global p/h rules (14px on mobile, heading colour) must not win over the design classes. */
.invitation-13 :where(h1, h2, h3, p, figure) {
    margin: 0;
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}
.invitation-13 :where(p) {
    text-wrap: pretty;
}
.invitation-13 :where(h1, h2, h3) {
    font-family: inherit;
}
.invitation-13 :is(h1, h2, h3, p, a, strong, span) {
    overflow-wrap: anywhere;
}
.invitation-13 img {
    max-width: 100%;
    height: auto;
}

/* Surfaces */
.nh-velvet {
    color: var(--cream);
    background-color: var(--accent);
    background-image:
        url("../images/velvet.webp"),
        linear-gradient(180deg, rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.32));
    background-size: cover, auto;
    background-position: center;
    background-blend-mode: overlay, normal;
}
.nh-paper {
    background: #f8f4ee url("../images/paper.webp") center / cover;
    color: var(--ink);
}

/* Palette tone of the red decorations (flowers, envelope, wax seal); colour 1 is the original. */
.color2 .invitation-13 {
    --nh-tone: hue-rotate(28deg) saturate(0.45) brightness(1.3);
}
.color3 .invitation-13 {
    --nh-tone: hue-rotate(150deg) saturate(0.8) brightness(0.95);
}
.color4 .invitation-13 {
    --nh-tone: hue-rotate(-22deg) saturate(0.9) brightness(1.18);
}
.color5 .invitation-13 {
    --nh-tone: hue-rotate(222deg) saturate(0.9) brightness(1.08);
}
.color6 .invitation-13 {
    --nh-tone: hue-rotate(-48deg) saturate(0.8) brightness(1.08);
}
.color7 .invitation-13 {
    --nh-tone: hue-rotate(178deg) saturate(0.9) brightness(0.95);
}
.color8 .invitation-13 {
    --nh-tone: hue-rotate(105deg) saturate(0.8) brightness(0.9);
}
.color9 .invitation-13 {
    --nh-tone: hue-rotate(16deg) saturate(0.9) brightness(1.12);
}
.color10 .invitation-13 {
    --nh-tone: hue-rotate(-95deg) saturate(0.75) brightness(1.12);
}
.color11 .invitation-13 {
    --nh-tone: hue-rotate(-10deg) saturate(0.75) brightness(1.08);
}
.color12 .invitation-13 {
    --nh-tone: hue-rotate(38deg) saturate(0.75) brightness(1.3);
}
.nh-flowers,
.nh-envelope,
.nh-wax {
    filter: var(--nh-tone, none);
}

/* Cover: photobooth strip printed from a slot */
.nh-cover {
    position: relative;
    padding: 44px 22px 42px;
}
.nh-cover-kicker {
    font: 400 34px/1.3 var(--script);
    color: var(--champagne);
}
.nh-cover-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 12px;
    margin-top: 8px !important;
}
.nh-cover-names .nh-script {
    font: 400 54px/1.2 var(--script);
    color: var(--cream);
    text-shadow: 0 3px 14px rgb(0 0 0 / 0.28);
}
.invitation-13 .nh-cover-bride {
    display: inline-block;
    max-width: 100%;
}
.invitation-13 .nh-cover-amp {
    margin-right: 10px;
    font: italic 500 32px/1 var(--serif);
    color: var(--champagne);
}
.nh-double-rule {
    display: block;
    width: min(78%, 300px);
    height: 5px;
    margin: 10px auto 0;
    border-block: 1px solid rgb(247 226 200 / 0.6);
}
.nh-booth {
    position: relative;
    margin-top: 30px;
}
.nh-slot {
    position: relative;
    z-index: 2;
    width: min(66%, 250px);
    height: 32px;
    margin: 0 auto;
    border-radius: 9px;
    background: linear-gradient(
        180deg,
        #fbfbfc 0%,
        #d6d7dc 42%,
        #a7a9b1 58%,
        #eceef1 100%
    );
    box-shadow:
        0 7px 16px rgb(0 0 0 / 0.38),
        inset 0 1px 0 #fff,
        inset 0 -2px 3px rgb(0 0 0 / 0.22);
}
.nh-slot::before {
    content: "";
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    height: 8px;
    translate: 0 -50%;
    border-radius: 5px;
    background: linear-gradient(180deg, #121215, #3b3b42);
    box-shadow:
        inset 0 2px 3px rgb(0 0 0 / 0.85),
        0 1px 0 rgb(255 255 255 / 0.7);
}
.nh-strip-window {
    position: relative;
    z-index: 1;
    width: min(52%, 200px);
    margin: -16px auto 0;
    clip-path: inset(0 -40px -60px -40px);
}
.nh-strip {
    display: grid;
    gap: 8px;
    padding: 24px 8px 8px;
    background: #fffdf9;
    box-shadow: 0 14px 24px rgb(0 0 0 / 0.36);
}
.nh-strip img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 10 / 9;
    object-fit: cover;
    object-position: center 28%;
    background: #eee7df;
}
.nh-strip-caption {
    margin-top: 2px !important;
    font: 600 14px/1.5 var(--serif);
    letter-spacing: 3px;
    color: var(--accent-ink);
}
.nh-strip-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    aspect-ratio: 10 / 9;
    background: var(--accent);
    color: var(--cream);
}
.nh-strip-date strong {
    font: 600 44px/1.05 var(--serif);
}
.nh-strip-date span {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.nh-strip-empty .nh-strip-caption {
    display: none;
}
.invitation-13 .nh-strip[data-aos] {
    transition: none !important;
}
body[data-aos-easing] .invitation-13 .nh-strip[data-aos="nh-print"] {
    transform: translateY(-101%);
}
/* With JavaScript and motion allowed, keep the strip inside the slot while the preloader fades, before AOS starts. */
@media (prefers-reduced-motion: no-preference) {
    html.js
        body:not([data-aos-easing])
        .invitation-13
        .nh-strip-window:has(> .nh-strip[data-aos="nh-print"]) {
        clip-path: inset(0 0 100% 0);
    }
}
body[data-aos-easing]
    .invitation-13
    .nh-strip[data-aos="nh-print"].aos-animate {
    transform: none;
    animation: nh-print 2.6s cubic-bezier(0.45, 0.05, 0.3, 1) 0.2s both;
}
.nh-invite-label {
    margin-top: 28px !important;
    font: 600 21px/1.4 var(--serif);
    letter-spacing: 0.3px;
}
.invitation-13 .guest-name {
    display: inline-block;
    max-width: 100%;
    margin-top: 2px;
    font: 400 40px/1.5 var(--script);
    color: var(--champagne);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 9px;
}

/* Families, announcement, names, portraits and ceremony */
.nh-families {
    position: relative;
    padding: 46px 26px 52px;
}
.nh-family-list {
    text-align: left;
}
.nh-family + .nh-family {
    margin-top: 20px;
    padding-top: 20px;
    background: linear-gradient(var(--ink), var(--ink)) left top / 88px 1px
        no-repeat;
}
.nh-family-label {
    font: 400 34px/1.25 var(--script);
    color: var(--ink);
}
.nh-parents {
    margin-top: 4px !important;
    font-weight: 500;
    line-height: 1.6;
    color: var(--accent-ink);
}
.nh-parents span {
    display: inline-block;
    max-width: 100%;
}
.nh-parents-amp {
    padding-inline: 2px;
}
.nh-family-address {
    margin-top: 2px !important;
    font-size: 14px;
    color: var(--ink-soft);
}
.nh-announce {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 34px -12px 0 0;
}
.nh-announce-solo {
    grid-template-columns: minmax(0, 1fr);
    margin-right: 0;
}
.nh-announce-copy p {
    font: 600 19px/1.45 var(--serif);
    color: var(--ink);
}
.nh-announce-title {
    margin: 4px 0 !important;
    font: 600 min(23px, 5.6vw)/1.3 var(--serif);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--accent);
}
.nh-polaroid-tilt {
    position: relative;
    transform: rotate(4deg);
}
.nh-polaroid-photo {
    position: absolute;
    left: 7.3%;
    top: 11.2%;
    width: 81.8% !important;
    height: 68.4% !important;
    object-fit: cover;
    object-position: center 22%;
}
.nh-polaroid-frame {
    position: relative;
    display: block;
    width: 100%;
}
.nh-fullnames {
    margin-top: 34px;
}
.nh-fullname {
    font: 400 48px/1.25 var(--script);
    color: var(--accent);
    text-wrap: balance;
}
.nh-fullname-groom {
    text-align: left;
    padding-right: 18px;
}
.nh-fullname-bride {
    text-align: right;
    padding-left: 18px;
}
.nh-and {
    margin: 2px 0 !important;
    font: italic 500 24px/1.4 var(--serif);
    color: var(--ink-soft);
}
.nh-portraits {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin: 34px -6px 0;
    padding-bottom: 56px;
}
.nh-portraits-single {
    grid-template-columns: minmax(0, 0.62fr);
    justify-content: center;
}
.nh-portrait-tilt {
    padding: 5px;
    border: 4px solid var(--accent);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 22px rgb(60 20 20 / 0.22);
}
.nh-portrait-groom .nh-portrait-tilt {
    transform: rotate(-6deg);
}
.nh-portrait-bride .nh-portrait-tilt {
    transform: translateY(26px) rotate(5deg);
}
.nh-portraits-single .nh-portrait-tilt {
    transform: rotate(-3deg);
}
.nh-portrait-tilt img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 6px;
}
.nh-flowers {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}
.nh-flowers-portrait-left {
    left: -30px;
    bottom: -6px;
    width: 46%;
}
.nh-flowers-portrait-right {
    right: -46px;
    bottom: 54px;
    width: 34%;
    transform: scaleX(-1) rotate(-14deg);
}
.nh-ceremony {
    margin-top: 40px;
}
.nh-ceremony-intro {
    font: 600 20px/1.45 var(--serif);
}
.nh-venue-title {
    margin-top: 4px !important;
    font: 600 23px/1.35 var(--serif);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}
.nh-address {
    font-size: 15px;
    color: var(--ink-soft);
}
.nh-at {
    margin-top: 16px !important;
    font: 400 32px/1.3 var(--script);
}
.nh-time {
    font: 600 21px/1.45 var(--serif);
    letter-spacing: 0.5px;
    color: var(--accent-ink);
}
.nh-date {
    font: 600 36px/1.2 var(--serif);
    letter-spacing: 4px;
    color: var(--accent);
}
.nh-lunar {
    margin-top: 6px !important;
    font: italic 600 18px/1.45 var(--serif);
    color: var(--ink-soft);
}

/* Reception */
.nh-reception {
    padding: 52px 22px 44px;
}
.nh-reception-intro {
    font: 600 21px/1.45 var(--serif);
}
.nh-reception-title {
    margin-top: 16px !important;
    font: 600 25px/1.3 var(--serif);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--champagne);
}
.nh-reception .nh-datetime {
    margin-top: 22px;
}
.nh-reception :is(.nh-time, .nh-date) {
    color: var(--cream);
}
.nh-reception .nh-lunar {
    color: var(--champagne);
}
.nh-reception-venue {
    margin-top: 26px !important;
    font: 600 22px/1.4 var(--serif);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--champagne);
}
.nh-reception-address {
    margin-top: 4px !important;
}
.nh-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 26px;
    padding: 8px 30px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--accent);
    font: 600 19px/1.3 var(--serif);
    text-decoration: none;
    box-shadow: 0 8px 18px rgb(0 0 0 / 0.28);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.nh-map-button:hover,
.nh-map-button:focus-visible {
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgb(0 0 0 / 0.32);
}
.nh-map-button:focus-visible {
    outline: 3px solid var(--champagne);
    outline-offset: 3px;
}
.nh-map {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 26px;
    border: 4px solid var(--cream);
    border-radius: 8px;
    background: #eee;
}

/* Calendar */
.nh-calendar {
    position: relative;
    padding: 46px 24px 64px;
}
.nh-calendar-card {
    position: relative;
    z-index: 1;
    max-width: 380px;
    margin: 0 auto;
    padding: 16px 18px 12px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    background: rgb(255 255 255 / 0.6);
}
.nh-calendar-title {
    font: 400 36px/1.3 var(--script);
    color: var(--accent);
}
.nh-calendar table {
    width: 100%;
    margin-top: 8px;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 15px;
}
.nh-calendar th {
    padding: 8px 0;
    border-block: 1px solid rgb(46 34 32 / 0.5);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.nh-calendar th:last-child,
.nh-calendar td:last-child {
    font-weight: 600;
}
.nh-calendar tbody tr:first-child td {
    padding-top: 8px;
}
.nh-calendar tbody tr:last-child td {
    border-bottom: 1px solid rgb(46 34 32 / 0.5);
    padding-bottom: 8px;
}
.nh-calendar td {
    height: 40px;
    padding: 0;
}
.nh-calendar td span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}
.nh-calendar td[aria-current] span {
    font-weight: 700;
    color: var(--accent-ink);
}
.nh-calendar td[aria-current] span::before {
    content: "";
    position: absolute;
    inset: -5px -7px -3px;
    background: var(--accent);
    -webkit-mask: url("../images/heart.webp") center / contain no-repeat;
    mask: url("../images/heart.webp") center / contain no-repeat;
    animation: nh-heart 3.4s ease-in-out infinite;
}
.nh-flowers-calendar {
    right: -34px;
    bottom: 10px;
    width: 42%;
}

/* RSVP card with wax seal */
.nh-rsvp {
    padding: 70px 18px 52px;
    scroll-margin-top: 20px;
}
.nh-rsvp-card {
    position: relative;
    max-width: 390px;
    margin: 0 auto;
    padding: 54px 20px 26px;
    border-radius: 3px;
    background: #fbf8f3 url("../images/paper.webp") center / cover;
    color: var(--ink);
    box-shadow: 0 20px 34px rgb(0 0 0 / 0.34);
}
.nh-wax {
    position: absolute;
    top: -40px;
    left: 50%;
    width: 84px;
    margin-left: -42px;
}
.nh-rsvp-title {
    font: 600 25px/1.3 var(--serif);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-wrap: balance;
}
.nh-rule {
    display: block;
    width: 72px;
    height: 1px;
    margin: 14px auto;
    background: var(--accent);
}
.nh-rsvp-intro {
    margin-bottom: 22px !important;
    color: var(--ink-soft);
}
.nh-rsvp form {
    text-align: left;
}
.nh-rsvp label,
.nh-rsvp legend {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--ink);
}
.nh-rsvp :is(input.form-control, textarea, select) {
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid rgb(91 72 69 / 0.28);
    border-radius: 23px;
    background: #fff;
    font-size: 16px;
    color: var(--ink);
}
.nh-rsvp textarea {
    border-radius: 18px;
}
.nh-rsvp :is(input.form-control, textarea, select):focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgb(0 0 0 / 0.08);
}
.nh-rsvp legend {
    margin-bottom: 6px;
}
.nh-rsvp .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding-left: 0;
}
.nh-rsvp .form-check-input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid rgb(91 72 69 / 0.6);
}
.nh-rsvp .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}
.nh-rsvp .form-check-label {
    font-weight: 400;
    font-size: 15px;
}
.nh-rsvp #number-guest {
    margin-top: 10px;
}
.nh-button {
    min-height: 48px;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: 600 16px/1.4 var(--sans);
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.2);
    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}
.nh-button:hover,
.nh-button:focus-visible {
    color: #fff;
    filter: brightness(1.12);
    transform: translateY(-1px);
}
.nh-button:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}
.invitation-13 .invitation-wishes {
    margin-top: 24px;
    text-align: left;
}

/* Gift box: the whole card is one button opening the shared QR modal */
.nh-gift {
    padding: 46px 24px 44px;
}
.nh-gift-intro {
    max-width: 320px;
    margin: 0 auto 18px !important;
    color: var(--ink-soft);
}
.nh-gift-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(100%, 210px);
    padding: 18px 16px 14px;
    border: 1.5px solid var(--accent);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 12px 24px rgb(70 30 30 / 0.16);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}
.nh-gift-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgb(70 30 30 / 0.22);
}
.nh-gift-box:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}
.invitation-13 .nh-envelope-wrap {
    display: block;
}
.nh-envelope {
    display: block;
    width: 140px;
    transform-origin: 50% 85%;
    animation: nh-envelope 5.2s ease-in-out 1.5s infinite;
}
.invitation-13 .nh-gift-label {
    display: block;
    font: 600 19px/1.4 var(--serif);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Album: two staggered columns */
.nh-album {
    padding: 6px 14px 54px;
}
.nh-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}
.nh-gallery-single {
    grid-template-columns: minmax(0, 0.8fr);
    justify-content: center;
}
.nh-gallery-col {
    display: grid;
    gap: 10px;
}
.nh-gallery-col + .nh-gallery-col {
    margin-top: 46px;
}
.nh-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #ece5dc;
    box-shadow: 0 8px 16px rgb(60 30 30 / 0.14);
}
.nh-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 30%;
}
.nh-gallery-col a:nth-child(even) img {
    aspect-ratio: 4 / 5;
}

/* Thank you: always the last block of the invitation */
.nh-closing {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 440px;
    padding: 80px 28px 118px;
    color: var(--cream);
}
.nh-closing-with-photo {
    min-height: 690px;
}
.nh-closing-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center 30%;
}
.nh-closing-with-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgb(26 12 12 / 0.92) 0%,
        rgb(26 12 12 / 0.62) 42%,
        rgb(26 12 12 / 0) 80%
    );
}
.nh-closing-copy {
    position: relative;
    z-index: 3;
    width: 100%;
}
.nh-closing-kicker {
    font: italic 600 18px/1.4 var(--serif);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--champagne);
}
.nh-closing-names {
    margin-top: 8px !important;
    font: 400 52px/1.25 var(--script);
    color: #fff;
    text-shadow: 0 3px 14px rgb(0 0 0 / 0.35);
}
.nh-closing-names span {
    font: italic 500 30px/1 var(--serif);
    color: var(--champagne);
}
.nh-closing-message {
    max-width: 340px;
    margin: 14px auto 0 !important;
    font: 600 20px/1.6 var(--serif);
}
.nh-flowers-closing-left {
    left: -26px;
    bottom: -14px;
    width: 40%;
}
.nh-flowers-closing-right {
    right: -26px;
    bottom: -6px;
    width: 36%;
    transform: scaleX(-1);
}

/* Shared gift modal */
.nh-modal {
    --accent: var(--invitation-accent, #8e0101);
    color: #2e2220;
    font:
        16px/1.7 "Be Vietnam Pro",
        Roboto,
        Arial,
        sans-serif;
}
.nh-modal #modalQr .modal-content {
    padding-top: 30px;
    border-radius: 14px;
    background: #fbf8f3;
}
.nh-modal .qr-code-wrapper .button-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.nh-modal .qr-code-wrapper .pill-indicator {
    display: none;
}
.nh-modal .qr-code-wrapper .pill-btn {
    min-height: 44px;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.nh-modal .qr-code-wrapper .pill-btn.active {
    background: var(--accent);
    color: #fff;
}
.nh-modal .qr-code-wrapper .qr-block {
    display: none;
    width: 100%;
    min-width: 0;
    text-align: center;
}
.nh-modal .qr-code-wrapper .qr-block.index-0 {
    display: block;
}
.nh-modal .qr-code-wrapper .name {
    margin: 8px 0 15px;
    font-weight: 600;
}
.nh-modal .qr-code-wrapper .bank-info {
    overflow-wrap: anywhere;
}
.nh-modal .qr-code-wrapper .copy-stk {
    min-height: 44px;
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

/* Motion */
@keyframes nh-print {
    0% {
        transform: translateY(-101%);
    }
    24%,
    32% {
        transform: translateY(-68%);
    }
    56%,
    64% {
        transform: translateY(-34%);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes nh-heart {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(1.12);
    }
}
@keyframes nh-envelope {
    0%,
    62%,
    100% {
        transform: translateY(0) rotate(0);
    }
    66% {
        transform: translateY(-4px) rotate(-5deg);
    }
    72% {
        transform: translateY(-4px) rotate(5deg);
    }
    78% {
        transform: translateY(-2px) rotate(-3deg);
    }
    84% {
        transform: translateY(0) rotate(0);
    }
}

@media (max-width: 359px) {
    .nh-cover {
        padding-inline: 18px;
    }
    .nh-cover-names .nh-script {
        font-size: 46px;
    }
    .invitation-13 .guest-name {
        font-size: 36px;
    }
    .nh-families {
        padding-inline: 20px;
    }
    .nh-announce {
        margin-right: -8px;
    }
    .nh-announce-copy p {
        font-size: 17px;
    }
    .nh-announce-title {
        font-size: 18px;
    }
    .nh-fullname {
        font-size: 42px;
    }
    .nh-reception {
        padding-inline: 18px;
    }
    .nh-reception-title {
        font-size: 24px;
    }
    .nh-date {
        font-size: 32px;
        letter-spacing: 3px;
    }
    .nh-calendar {
        padding-inline: 16px;
    }
    .nh-calendar-card {
        padding-inline: 12px;
    }
    .nh-rsvp {
        padding-inline: 14px;
    }
    .nh-rsvp-card {
        padding-inline: 16px;
    }
    .nh-closing-names {
        font-size: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .invitation-13 *,
    .invitation-13 *::before,
    .invitation-13 *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .invitation-13 [data-aos],
    .invitation-13 .nh-strip {
        opacity: 1 !important;
        transform: none !important;
    }
}
body:not([data-aos-easing]) .invitation-13 [data-aos] {
    opacity: 1;
    transform: none;
}
