@font-face {
    font-family: "Derivia";
    src:
        url("../fonts/Derivia.woff2") format("woff2"),
        url("../fonts/Derivia.ttf") format("truetype"),
        url("../fonts/Derivia-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --t2-main: #e5e3dd;
    --t2-primary: #cabfa3;
    --t2-secondary: #7087a1;
    --t2-ink: #353a40;
    --t2-muted: #66707a;
    --t2-paper: rgba(255, 252, 244, 0.92);
    --t2-shadow: 0 18px 45px rgba(53, 58, 64, 0.16);
    --t2-mosque-ratio: 1482 / 1435;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--t2-main);
    color: var(--t2-ink);
    font-family: "Nunito Sans", "Inter", sans-serif;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; user-select: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.t2-shell {
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}
.t2-shell.is-visible {
    opacity: 1;
    visibility: visible;
}

.t2-cover-gate {
    position: fixed;
    inset: 0;
    z-index: 50;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 2rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbfb 0%, var(--t2-main) 62%, #d9d2bd 100%);
    transition: opacity .8s ease, transform .8s ease, visibility .8s ease;
}
.t2-cover-gate .t2-cover-bg {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: .9;
    background-image: var(--t2-sky);
    background-size: min(1180px, 230vw) auto;
    background-repeat: no-repeat;
    background-position: center top;
    pointer-events: none;
}
.t2-cover-corner,
.t2-cover-branch,
.t2-cover-flower,
.t2-cover-bottom {
    position: absolute;
    pointer-events: none;
}
.t2-cover-corner {
    z-index: 2;
    top: 0;
    width: 50%;
    aspect-ratio: 1 / 1;
}
.t2-cover-corner--left {
    left: 0;
    transform: translate(-55%, -30%);
}
.t2-cover-corner--right {
    right: 0;
    transform: translate(55%, -30%);
}
.t2-cover-branch,
.t2-cover-flower {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.t2-cover-branch {
    inset: 0;
    background-image: var(--t2-branch3);
}
.t2-cover-corner--right .t2-cover-branch {
    background-image: var(--t2-branch2);
}
.t2-cover-flower {
    right: 20%;
    bottom: 0;
    width: 80%;
    height: 80%;
    background-image: var(--t2-flower1);
    animation: t2-cover-flower-left 4600ms ease-in-out infinite alternate;
}
.t2-cover-corner--right .t2-cover-flower {
    left: 20%;
    right: auto;
    animation-name: t2-cover-flower-right;
}
.t2-cover-branch {
    animation: t2-cover-branch-sway 5200ms ease-in-out infinite alternate;
}
.t2-cover-corner--right .t2-cover-branch {
    animation-name: t2-cover-branch-sway-right;
}
.t2-cover-bottom {
    z-index: 2;
    bottom: 0;
    width: 40%;
    aspect-ratio: 1 / 1;
    background: var(--t2-branch) center / contain no-repeat;
    animation: t2-cover-bottom-left 5800ms ease-in-out infinite alternate;
}
.t2-cover-bottom--left {
    left: 0;
    transform: translate(-20%, 40%);
}
.t2-cover-bottom--right {
    right: 0;
    transform: translate(20%, 40%) scaleX(-1);
    animation-name: t2-cover-bottom-right;
}
.t2-cover-gate.is-open {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-2rem);
    pointer-events: none;
}
.t2-sky,
.t2-mosque,
.t2-flower,
.t2-branch {
    position: absolute;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.t2-sky {
    inset: 0;
    height: auto;
    background-image: var(--t2-sky);
    background-size: cover;
    opacity: .9;
}
.t2-mosque {
    left: 50%;
    bottom: -1rem;
    width: min(860px, 135vw);
    height: auto;
    aspect-ratio: var(--t2-mosque-ratio);
    transform: translateX(-50%);
    background-image: var(--t2-mosque);
    background-position: bottom center;
    background-size: contain;
    opacity: .64;
}
.t2-flower {
    width: clamp(130px, 34vw, 250px);
    height: clamp(130px, 34vw, 250px);
    animation: t2-float 8s ease-in-out infinite;
}
.t2-flower--left {
    left: -3rem;
    top: 8%;
    background-image: var(--t2-flower1);
    transform-origin: center;
}
.t2-flower--right {
    right: -3rem;
    bottom: 8%;
    background-image: var(--t2-flower4);
    animation-delay: -2s;
}

.t2-cover-card,
.t2-hero-frame,
.t2-countdown-card,
.t2-widget-card,
.t2-thank-card,
.t2-event-card,
.t2-couple-card,
.t2-story-card,
.t2-gift-card {
    position: relative;
    z-index: 1;
}
.t2-cover-card {
    width: min(420px, 100%);
    justify-self: center;
    align-self: center;
    margin: 0 auto;
    padding: .85rem 1.45rem 1.25rem;
    text-align: center;
    color: var(--t2-ink);
}
.t2-title span {
    content: "";
    display: block;
    width: min(300px, 86%);
    aspect-ratio: 2.3 / 1;
    margin: 0 auto -1.6rem;
    background-image: var(--t2-frame);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.t2-cover-card::before {
    content: "";
    display: block;
    width: min(300px, 86%);
    aspect-ratio: 2.3 / 1;
    margin: 0 auto -1.2rem;
    background-image: var(--t2-frame);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.t2-cover-photo {
    width: min(245px, 72vw);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    margin: -.35rem auto .75rem;
    border-radius: 999px 999px 8px 8px;
    border: 7px solid rgba(255, 255, 255, .72);
    box-shadow: 0 16px 36px rgba(53, 58, 64, .18);
}
.t2-eyebrow,
.t2-cover-card small,
.t2-date {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .76rem;
    font-weight: 700;
    color: var(--t2-muted);
}
.t2-cover-card h1,
.t2-hero-frame h1,
.t2-desktop-copy h1 {
    margin: .35rem 0 .5rem;
    font-family: "Derivia", serif;
    font-size: clamp(3.1rem, 16vw, 5.8rem);
    line-height: .86;
    font-weight: 400;
}
.t2-cover-card h1 span,
.t2-hero-frame h1 span {
    display: block;
    font-size: .5em;
    line-height: 1.1;
    color: var(--t2-secondary);
}
.t2-cover-card h1 {
    white-space: nowrap;
}
.t2-cover-card h1 span {
    display: inline;
    margin: 0 .12em;
    font-size: .72em;
    line-height: inherit;
}
.t2-guest {
    margin: 1.6rem auto 1.2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, .48);
    border: 1px solid rgba(112, 135, 161, .28);
    border-radius: 8px;
}
.t2-guest strong { display: block; margin-top: .3rem; font-size: 1.05rem; }

.t2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .75rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: var(--t2-secondary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(112, 135, 161, .25);
}
.t2-btn--small { min-height: 38px; padding: .55rem 1rem; font-size: .9rem; }

.t2-desktop-hero {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    width: calc(100vw - min(480px, 100vw));
    min-width: 0;
    overflow: hidden;
    background: #cabfa3;
}
.t2-desktop-hero::before,
.t2-desktop-hero::after {
    content: none;
}
.t2-desktop-cover-bg {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-image: var(--t2-sky);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: min(980px, 92vw) auto;
    opacity: .72;
    pointer-events: none;
}
.t2-desktop-hero .t2-cover-corner {
    width: 20%;
}
.t2-desktop-hero .t2-cover-bottom {
    width: 20%;
}
.t2-desktop-copy {
    position: relative;
    z-index: 2;
    text-align: center;
}
.t2-desktop-cover-content {
    position: relative;
    z-index: 2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    padding: 9rem 7vw 5rem;
    text-align: center;
}
.t2-desktop-photo {
    position: relative;
    z-index: 1;
    top: auto;
    right: auto;
    width: min(300px, 30vw);
    aspect-ratio: 3 / 4;
    border-radius: 999px 999px 8px 8px;
    border: 8px solid rgba(255, 255, 255, .76);
    box-shadow: var(--t2-shadow);
    overflow: hidden;
    background: rgba(255, 255, 255, .48);
}
.t2-desktop-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.t2-desktop-photo {
    animation: t2-soft-float 6200ms ease-in-out infinite;
}
.t2-desktop-copy p,
.t2-desktop-copy span {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
    color: var(--t2-muted);
}
.t2-scroll {
    min-height: 100vh;
    background: var(--t2-main);
    overflow: hidden;
}
.t2-hero,
.t2-thank-section {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 5rem 1.2rem 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, #f9fbfb 0%, var(--t2-main) 66%, #d5cbb2 100%);
}
.t2-hero-sky,
.t2-hero-mosque,
.t2-hero-corner,
.t2-hero-branch,
.t2-hero-flower,
.t2-hero-orn {
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.t2-hero-sky {
    top: 0;
    left: 50%;
    z-index: 0;
    width: 150%;
    height: 42%;
    background-image: var(--t2-sky);
    background-size: contain;
    background-position: top center;
    transform: translate(-50%, 3%);
    opacity: .78;
}
.t2-hero-mosque {
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 0;
    width: 100%;
    height: auto;
    aspect-ratio: var(--t2-mosque-ratio);
    background-image: var(--t2-mosque);
    background-size: contain;
    background-position: bottom center;
    transform: none;
    opacity: .7;
}
.t2-hero-corner {
    top: 0;
    z-index: 2;
    width: 50%;
    aspect-ratio: 1 / 1;
}
.t2-hero-corner--left {
    left: 0;
    transform: translate(-55%, -30%);
}
.t2-hero-corner--right {
    right: 0;
    transform: translate(55%, -30%);
}
.t2-hero-branch,
.t2-hero-flower {
    display: block;
}
.t2-hero-branch {
    inset: 0;
    background-image: var(--t2-branch3);
    animation: t2-cover-branch-sway 5200ms ease-in-out infinite alternate;
}
.t2-hero-corner--right .t2-hero-branch {
    background-image: var(--t2-branch2);
    animation-name: t2-cover-branch-sway-right;
}
.t2-hero-flower {
    right: 20%;
    bottom: 0;
    width: 80%;
    height: 80%;
    background-image: var(--t2-flower1);
    animation: t2-cover-flower-left 4600ms ease-in-out infinite alternate;
}
.t2-hero-corner--right .t2-hero-flower {
    left: 20%;
    right: auto;
    animation-name: t2-cover-flower-right;
}
.t2-hero-orn {
    z-index: 2;
    aspect-ratio: 1 / 1;
}
.t2-hero-orn--branch-left {
    left: 0;
    bottom: 0;
    width: 50%;
    background-image: var(--t2-branch);
    transform: translate(-10%, 50%);
    animation: t2-hero-branch-left 5600ms ease-in-out infinite alternate;
}
.t2-hero-orn--branch-right {
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: var(--t2-branch);
    transform: translate(0, 50%) scaleX(-1);
    animation: t2-hero-branch-right 5600ms ease-in-out infinite alternate;
}
.t2-hero-orn--flower2-left {
    left: 0;
    bottom: 1rem;
    width: 45%;
    background-image: var(--t2-flower2);
    transform: translate(-65%, 0);
    animation: t2-hero-flower2-left 5200ms ease-in-out infinite alternate;
}
.t2-hero-orn--flower2-right {
    right: 0;
    bottom: 1rem;
    width: 45%;
    background-image: var(--t2-flower2);
    transform: translate(65%, 0) scaleX(-1);
    animation: t2-hero-flower2-right 5200ms ease-in-out infinite alternate;
}
.t2-hero-orn--flower3-left {
    left: 0;
    bottom: 0;
    width: 30%;
    background-image: var(--t2-flower3);
    transform: translate(-15%, 20%);
    animation: t2-hero-flower3-left 6000ms ease-in-out infinite alternate;
}
.t2-hero-orn--flower3-right {
    right: 0;
    bottom: 0;
    width: 30%;
    background-image: var(--t2-flower3);
    transform: translate(15%, 20%) scaleX(-1);
    animation: t2-hero-flower3-right 6000ms ease-in-out infinite alternate;
}
.t2-hero-orn--flower4-left {
    left: 0;
    bottom: 0;
    width: 40%;
    background-image: var(--t2-flower4);
    transform: translate(25%, 65%);
    animation: t2-hero-flower4-left 6500ms ease-in-out infinite alternate;
}
.t2-hero-orn--flower4-right {
    right: 0;
    bottom: 0;
    width: 40%;
    background-image: var(--t2-flower4);
    transform: translate(-5%, 65%) scaleX(-1);
    animation: t2-hero-flower4-right 6500ms ease-in-out infinite alternate;
}
.t2-thank-section::before,
.t2-thank-section::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: clamp(145px, 40vw, 230px);
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}
.t2-thank-section::before {
    left: -5.8rem;
    bottom: 4rem;
    background-image: var(--t2-flower2);
    animation: t2-section-orn-left 5200ms ease-in-out infinite alternate;
}
.t2-thank-section::after {
    right: -5.8rem;
    bottom: 2.5rem;
    background-image: var(--t2-flower3);
    transform: scaleX(-1);
    animation: t2-section-orn-right 5600ms ease-in-out infinite alternate;
}
.t2-hero-frame {
    position: relative;
    z-index: 2;
    width: min(400px, 100%);
    min-height: min(560px, 82svh);
    display: grid;
    align-content: center;
    padding: 5rem 1.5rem;
    text-align: center;
}
.t2-hero-frame::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: -1;
    width: min(390px, 96vw);
    aspect-ratio: 1 / 1.28;
    background: var(--t2-frame-header) center / contain no-repeat;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.t2-thank-card > img {
    width: min(280px, 82vw);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 1.2rem;
    border-radius: 999px 999px 8px 8px;
    border: 8px solid rgba(255, 255, 255, .72);
    box-shadow: var(--t2-shadow);
}
.t2-scroll-icon {
    display: flex;
    justify-content: center;
    margin-top: 1.7rem;
}
.t2-scroll-icon svg {
    overflow: visible;
}
#scroll-animate {
    animation: scrollAnim 1500ms ease infinite;
}
@keyframes scrollAnim {
    0% { opacity: 0; transform: translate3d(0, -20%, 0); }
    50% { opacity: .9; }
    100% { opacity: 0; transform: translate3d(0, 90%, 0); }
}
.t2-hero-frame p,
.t2-hero-frame small {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--t2-muted);
}

.t2-section {
    position: relative;
    padding: 4.75rem 1.15rem;
    overflow: hidden;
}
.t2-section::before,
.t2-section::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .42;
    pointer-events: none;
}
.t2-section::before {
    left: -72px;
    top: 12px;
    background-image: var(--t2-branch3);
}
.t2-section::after {
    right: -78px;
    bottom: 2rem;
    background-image: var(--t2-branch2);
    transform: scaleX(-1);
}
.t2-title {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto 1.4rem;
}
.t2-title::after {
    content: "";
    display: block;
    width: 76px;
    height: 24px;
    margin: .15rem auto 0;
    background: var(--t2-title-ornament) center / contain no-repeat;
}
.t2-title h2 {
    margin: 0;
    font-family: "Derivia", serif;
    font-size: clamp(2.2rem, 11vw, 3.7rem);
    font-weight: 400;
    color: var(--t2-ink);
}
.t2-copy {
    position: relative;
    z-index: 1;
    width: min(650px, 100%);
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.8;
    color: var(--t2-muted);
}
.t2-quote-section,
.t2-story-section,
.t2-gallery-section {
    background: linear-gradient(180deg, #f4f0e7, #e7e2d3);
}

.t2-couple-stack,
.t2-event-grid,
.t2-story-list,
.t2-gift-list,
.t2-gallery-grid {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    margin: 0 auto;
}
.t2-couple-stack {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}
.t2-couple-section {
    background: var(--t2-primary);
    text-align: center;
}
.t2-couple-card {
    padding: 0;
    text-align: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.t2-couple-photo {
    position: relative;
    width: min(330px, 100%);
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    border: 0;
}
.t2-couple-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.t2-couple-cut,
.t2-couple-frame {
    position: absolute;
    pointer-events: none;
}
.t2-couple-cut {
    left: -1px;
    z-index: 2;
    width: calc(100% + 3px);
    height: auto;
    display: block;
}
.t2-couple-cut path {
    fill: var(--t2-primary);
}
.t2-couple-cut--top {
    top: -1px;
}
.t2-couple-cut--bottom {
    bottom: -1px;
    transform: scaleY(-1);
}
.t2-couple-frame {
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 92%;
    height: 92%;
    background: var(--t2-frame-couple) center / contain no-repeat;
    transform: translate(-50%, -50%);
}
.t2-couple-initial {
    position: relative;
    z-index: 1;
    font-family: "Derivia", serif;
    font-size: 5rem;
    color: var(--t2-secondary);
}
.t2-couple-description {
    position: relative;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(to bottom, var(--t2-main), rgba(229, 227, 221, 0));
    border-radius: 8px;
}
.t2-couple-card h3 {
    margin: 0;
    font-family: "Derivia", serif;
    font-size: 2.5rem;
    font-weight: 400;
}
.t2-couple-card h4 {
    margin: .25rem 0 .65rem;
    font-size: 1rem;
}
.t2-couple-card h3,
.t2-couple-card h4,
.t2-couple-card p {
    position: relative;
    z-index: 3;
}
.t2-couple-card p {
    margin: 0 auto;
    color: var(--t2-muted);
    line-height: 1.7;
}
.t2-sosmed-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
}
.t2-sosmed {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: .5rem .6rem;
    color: #fff;
    text-decoration: none;
    background: var(--t2-secondary);
    border-radius: 50px;
}
.t2-sosmed small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
}
.t2-sosmed .fab {
    font-size: 18px;
}
.t2-and {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: -.25rem auto;
    border-radius: 50%;
    background: var(--t2-secondary);
    color: #fff;
    font-family: "Derivia", serif;
    font-size: 2.3rem;
    line-height: 1;
}

.t2-countdown-section {
    position: relative;
    display: block;
    min-height: 0;
    padding: 1.25rem 1rem 5rem;
    overflow: hidden;
    text-align: center;
    background: var(--t2-primary);
}
.t2-reminder-ornaments {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.t2-reminder-mosque,
.t2-reminder-branch,
.t2-reminder-flower,
.t2-reminder-flower-small {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.t2-reminder-mosque {
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: auto;
    aspect-ratio: var(--t2-mosque-ratio);
    background-image: var(--t2-mosque);
    background-position: bottom center;
    background-size: contain;
    transform: none;
    opacity: .5;
}
.t2-reminder-branch {
    bottom: 0;
    width: min(50%, 280px);
    aspect-ratio: 1 / 1;
    background-image: var(--t2-branch);
}
.t2-reminder-branch--left {
    left: 0;
    transform: translate(-30%, 60%);
}
.t2-reminder-branch--right {
    right: 0;
    transform: translate(30%, 60%) scaleX(-1);
}
.t2-reminder-flower {
    bottom: 0;
    width: min(40%, 210px);
    aspect-ratio: 1 / 1;
    background-image: var(--t2-flower2);
}
.t2-reminder-flower--left {
    left: 0;
    transform: translate(-60%, 0);
}
.t2-reminder-flower--right {
    right: 0;
    transform: translate(60%, 0) scaleX(-1);
}
.t2-reminder-flower-small {
    bottom: 0;
    width: min(40%, 210px);
    aspect-ratio: 1 / 1;
    background-image: var(--t2-flower4);
}
.t2-reminder-flower-small--left {
    left: 0;
    transform: translate(0, 70%);
}
.t2-reminder-flower-small--right {
    right: 0;
    transform: translate(0, 70%) scaleX(-1);
}
.t2-reminder-content {
    position: relative;
    z-index: 2;
    width: min(220px, 100%);
    max-width: 100%;
    margin: 0 auto;
    transform: translateY(-.35rem);
}
.t2-countdown-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 230%;
    height: calc(100% - 5.8rem);
    background: var(--t2-frame-countdown) center / contain no-repeat;
    transform: translate(-50%, calc(-50% - 2.9rem));
    pointer-events: none;
}
.countdown-grid {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    gap: .3rem;
    text-align: center;
    transform: translateY(.85rem);
}
.countdown-grid .days,
.countdown-grid .hours,
.countdown-grid .minutes,
.countdown-grid .seconds {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 1rem;
}
.countdown-grid .angka,
.countdown-grid .huruf {
    margin: 0;
    padding: 0;
}
.countdown-grid .angka {
    margin-bottom: 0;
    font-family: "Derivia", serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    color: var(--t2-ink);
}
.countdown-grid .huruf {
    font-size: 16px;
    font-weight: 600;
}
.t2-btn--reminder {
    position: relative;
    z-index: 3;
    display: inline-flex;
    margin: 5rem auto 0;
    gap: .5rem;
}

.t2-schedule-section {
    position: relative;
    padding: 5rem 1rem;
    overflow: hidden;
    background: var(--t2-main);
}
.t2-venue-ornaments {
    display: none;
}
.t2-venue-orn {
    position: absolute;
    bottom: 0;
    width: min(50%, 260px);
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.t2-venue-orn--one {
    left: 0;
    background-image: var(--t2-branch);
    transform: translate(-30%, 60%);
}
.t2-venue-orn--two {
    right: 0;
    background-image: var(--t2-branch);
    transform: translate(30%, 60%) scaleX(-1);
}
.t2-venue-orn--three {
    left: 0;
    width: min(45%, 220px);
    background-image: var(--t2-flower2);
    transform: translate(-60%, 0);
}
.t2-venue-orn--four {
    right: 0;
    width: min(45%, 220px);
    background-image: var(--t2-flower2);
    transform: translate(60%, 0) scaleX(-1);
}
.t2-venue-description {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    margin: 0 auto 3rem;
    text-align: left;
}
.t2-title--left {
    margin: 0 0 1.25rem;
    padding: 0;
    text-align: left;
}
.t2-title--left::after {
    margin-right: 0;
    margin-left: 1rem;
}
.t2-venue-description p {
    margin: 0;
    line-height: 1.8;
    color: var(--t2-muted);
}
.t2-event-grid {
    display: grid;
    gap: 3rem 1rem;
    align-items: start;
}
.t2-event-card {
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem 3.75rem;
    min-height: 520px;
    text-align: left;
    background: transparent;
    border-radius: 8px;
    border: 0;
    box-shadow: none;
}
.t2-event-card::before,
.t2-event-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    z-index: 0;
    width: min(38%, 170px);
    aspect-ratio: 1 / 1;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}
.t2-event-card::before {
    left: 0;
    background-image: var(--t2-flower2);
    transform: translate(-42%, 18%);
}
.t2-event-card::after {
    right: 0;
    background-image: var(--t2-flower4);
    transform: translate(42%, 18%) scaleX(-1);
}
.t2-event-mosque {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: auto;
    aspect-ratio: var(--t2-mosque-ratio);
    background: var(--t2-mosque) center bottom / contain no-repeat;
    transform: scaleX(-1);
    opacity: .42;
}
.t2-event-wrapper {
    position: relative;
    z-index: 1;
    width: min(82%, 310px);
    min-height: 100%;
    margin: 0 auto;
    padding: 0 0 1.35rem;
}
.t2-event-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--t2-main);
    opacity: 1;
    border-radius: 8px;
}
.t2-event-wrapper > * {
    position: relative;
    z-index: 1;
}
.t2-event-name {
    position: relative;
    width: 100%;
    min-height: 270px;
    margin-bottom: .8rem;
    text-align: center;
}
.t2-event-name-bg {
    position: relative;
    width: 112%;
    margin-left: -6%;
    aspect-ratio: 1.35 / 1;
    background: var(--t2-bg-event-name) center / contain no-repeat;
}
.t2-event-name-body {
    position: absolute;
    top: 44%;
    left: 50%;
    width: 100%;
    padding: 0 .75rem;
    transform: translate(-50%, -42%);
}
.t2-event-title-ornament {
    display: block;
    width: 60px;
    height: 22px;
    margin: 0 auto .5rem;
    background: var(--t2-title-ornament) center / contain no-repeat;
}
.t2-event-card h3 {
    margin: 0 0 .75rem;
    padding: 0;
    font-family: "Derivia", serif;
    font-size: 2rem;
    font-weight: 400;
}
.t2-event-card h4 {
    margin: 0;
    font-family: "Derivia", serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}
.t2-event-card p {
    margin: 0;
    font-weight: 600;
    line-height: 1.45;
}
.t2-event-date {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin: .35rem 0 .2rem;
}
.t2-event-line {
    display: block;
    width: 2px;
    height: 32px;
    background-color: rgba(112, 135, 161, .55);
    border-radius: 50px;
}
.t2-event-date span:last-child {
    display: flex;
    width: min-content;
    font-size: 14px;
    text-align: left;
}
.t2-event-place {
    position: relative;
    padding: 0 1rem;
    text-align: center;
}
.t2-ribbon-venue {
    position: relative;
    margin: 0 auto .7rem;
    width: 36px;
}
.t2-ribbon-venue svg {
    display: block;
    width: 36px;
    height: auto;
    overflow: visible;
}
.t2-ribbon-venue .st0 {
    fill: var(--t2-secondary);
}
.t2-ribbon-venue .st1 {
    fill: none;
    stroke: var(--t2-secondary);
    stroke-width: 19;
    stroke-linecap: round;
    stroke-miterlimit: 10;
    transform-origin: 50% 75%;
}
.t2-ribbon-venue #Layer_3 {
    animation: t2VenueBoing 1000ms ease-out infinite alternate;
}
.t2-ribbon-venue .st1 {
    animation: t2VenueRing 2000ms ease-out infinite;
}
.t2-ribbon-venue .dot {
    transform-origin: 50% 75%;
    animation: t2VenueDot 2000ms ease-out infinite;
}
.t2-event-place h4 {
    width: min(240px, 100%);
    margin: 0 auto 1.15rem;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
}
.t2-event-place .t2-btn {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 0 auto;
    transform: none;
}
@keyframes t2VenueRing {
    0% { opacity: 0; transform: scale3d(.5, .5, .5); }
    40% { opacity: 1; }
    70%, 100% { opacity: 0; transform: scale3d(1.25, 1.25, 1.25); }
}
@keyframes t2VenueBoing {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -5rem, 0); }
}
@keyframes t2VenueDot {
    0%, 100% { opacity: 1; transform: scale3d(1, 1, 1); }
    50% { opacity: 0; transform: scale3d(.25, .25, .25); }
}
.t2-story-card h3,
.t2-gift-card h3 {
    margin: 0 0 .75rem;
    font-family: "Derivia", serif;
    font-size: 2rem;
    font-weight: 400;
}

.t2-story-list {
    display: grid;
    gap: 1rem;
}
.t2-story-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
}
.t2-story-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}
.t2-story-card div {
    margin-top: .9rem;
    padding: 1rem;
    background: rgba(255, 252, 244, .68);
    border-radius: 8px;
}
.t2-story-card small {
    display: inline-flex;
    margin-bottom: .45rem;
    font-weight: 800;
    color: var(--t2-secondary);
}
.t2-story-card p {
    margin: 0;
    color: var(--t2-muted);
    line-height: 1.7;
}

.t2-widget-card {
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 1.25rem;
    background: var(--t2-paper);
    border-radius: 8px;
    box-shadow: var(--t2-shadow);
}
.t2-gift-list {
    display: grid;
    gap: .8rem;
}
.t2-gift-card {
    padding: 1rem;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(112, 135, 161, .18);
    border-radius: 8px;
}
.t2-gift-card p { color: var(--t2-muted); line-height: 1.7; }
.copy-btn {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: .5rem .8rem;
    border: 0;
    border-radius: 999px;
    background: var(--t2-primary);
    color: var(--t2-ink);
    font-weight: 800;
    cursor: pointer;
}
.t2-gift-card a {
    display: inline-flex;
    margin-left: .5rem;
    font-weight: 800;
    color: var(--t2-secondary);
    text-decoration: none;
}

.t2-wish-section .wish-card {
    background: var(--t2-paper);
}
.t2-wish-section .wish-form .field {
    border-radius: 8px;
    border-color: rgba(112, 135, 161, .28);
}
.t2-wish-section .wish-item {
    background: transparent;
}

.t2-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}
.gallery-trigger {
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #ddd;
}
.gallery-trigger img {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    object-fit: cover;
    transition: transform .45s ease;
}
.gallery-trigger:hover img { transform: scale(1.04); }

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .84);
    padding: 4rem 1rem;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox__image {
    max-width: min(920px, 92vw);
    max-height: 82vh;
    object-fit: contain;
}
.gallery-lightbox__close,
.gallery-lightbox__nav {
    position: absolute;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
}
.gallery-lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 2rem;
}
.gallery-lightbox__nav {
    top: 50%;
    width: 44px;
    height: 60px;
    transform: translateY(-50%);
    font-size: 3rem;
}
.gallery-lightbox__nav--prev { left: .5rem; }
.gallery-lightbox__nav--next { right: .5rem; }

.t2-thank-card {
    width: min(520px, 100%);
    padding: 1rem;
    text-align: center;
}
.t2-thank-card p {
    margin: 0 auto 1rem;
    color: var(--t2-muted);
    line-height: 1.75;
}
.t2-thank-card small {
    display: block;
    color: var(--t2-muted);
}
.t2-thank-card h3 {
    margin: .25rem 0 0;
    font-family: "Derivia", serif;
    font-size: 2.4rem;
    font-weight: 400;
}
.t2-footer {
    padding: 1rem;
    text-align: center;
    background: var(--t2-secondary);
    color: #fff;
    font-size: .85rem;
}
.t2-footer p { margin: 0; }
.t2-footer a { font-weight: 800; text-decoration: none; }

.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .35s ease;
}
.floating-actions.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.floating-btn {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--t2-secondary);
    color: #fff;
    box-shadow: var(--t2-shadow);
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-anim][data-anim] {
    will-change: transform, opacity;
}
[data-anim][data-anim].animation-invisible {
    visibility: hidden;
}
[data-anim][data-anim].has-animate {
    visibility: visible;
    animation-duration: 2400ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
}
[data-anim][data-anim].animate-loop {
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
[data-anim=fade].has-animate { animation-name: fadeAnim; }
[data-anim=fade-right].has-animate { animation-name: fadeRight; }
[data-anim=fade-left].has-animate { animation-name: fadeLeft; }
[data-anim=fade-up].has-animate { animation-name: fadeUp; }
[data-anim=fade-down].has-animate { animation-name: fadeDown; }
[data-anim=slide-right].has-animate { animation-name: slideRight; }
[data-anim=img-slide-right].has-animate { animation-name: imgSlideRight; }
[data-anim=slide-left].has-animate { animation-name: slideLeft; }
[data-anim=slide-up].has-animate { animation-name: slideUp; }
[data-anim=slide-down].has-animate { animation-name: slideDown; }
[data-anim=rotate-right].has-animate { animation-name: rotateRight; }
[data-anim=rotate-left].has-animate { animation-name: rotateLeft; }
[data-anim=zoom-in].has-animate { animation-name: zoomIn; }
[data-anim=zoom-in-up].has-animate { animation-name: zoomInUp; }
[data-anim=zoom-in-down].has-animate { animation-name: zoomInDown; }
[data-anim=zoom-in-left].has-animate { animation-name: zoomInLeft; }
[data-anim=zoom-in-right].has-animate { animation-name: zoomInRight; }
[data-anim=zoom-out].has-animate { animation-name: zoomOut; }
[data-anim=zoom-out-up].has-animate { animation-name: zoomOutUp; }
[data-anim=zoom-out-down].has-animate { animation-name: zoomOutDown; }

@keyframes fadeAnim {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fadeRight {
    0% { transform: translate3d(-100px, 0, 0); opacity: 0; }
    100% { transform: translateZ(0); opacity: 1; }
}
@keyframes fadeLeft {
    0% { transform: translate3d(100px, 0, 0); opacity: 0; }
    100% { transform: translateZ(0); opacity: 1; }
}
@keyframes fadeUp {
    0% { transform: translate3d(0, 100px, 0); opacity: 0; }
    100% { transform: translateZ(0); opacity: 1; }
}
@keyframes fadeDown {
    0% { transform: translate3d(0, -100px, 0); opacity: 0; }
    100% { transform: translateZ(0); opacity: 1; }
}
@keyframes slideRight {
    0% { transform: translate3d(-100px, 0, 0); }
    100% { transform: translateZ(0); }
}
@keyframes imgSlideRight {
    0% { transform: translate3d(-10%, 0, 0); }
    100% { transform: translateZ(0); }
}
@keyframes slideLeft {
    0% { transform: translate3d(30%, 0, 0); }
    100% { transform: translateZ(0); }
}
@keyframes slideUp {
    0% { transform: translate3d(0, 50%, 0); }
    100% { transform: translateZ(0); }
}
@keyframes slideDown {
    0% { transform: translate3d(0, -100px, 0); }
    100% { transform: translateZ(0); }
}
@keyframes rotateRight {
    0% { transform: rotateZ(0); }
    100% { transform: rotate(10deg); }
}
@keyframes rotateLeft {
    0% { transform: rotateZ(0); }
    100% { transform: rotate(-10deg); }
}
@keyframes zoomIn {
    0% { transform: scale3d(.3, .3, .3); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale3d(1, 1, 1); }
}
@keyframes zoomInUp {
    0% { transform: translate3d(0, 100px, 0) scale3d(.3, .3, .3); opacity: 0; }
    80% { opacity: 1; }
    100% { transform: translateZ(0) scale3d(1, 1, 1); }
}
@keyframes zoomInDown {
    0% { transform: translate3d(0, -100px, 0) scale3d(.3, .3, .3); opacity: 0; }
    80% { opacity: 1; }
    100% { transform: translateZ(0) scale3d(1, 1, 1); }
}
@keyframes zoomInLeft {
    0% { transform: translate3d(50%, 0, 0) scale3d(.3, .3, .3); opacity: 0; }
    80% { opacity: 1; }
    100% { transform: translateZ(0) scale3d(1, 1, 1); }
}
@keyframes zoomInRight {
    0% { transform: translate3d(-50%, 0, 0) scale3d(.3, .3, .3); opacity: 0; }
    80% { opacity: 1; }
    100% { transform: translateZ(0) scale3d(1, 1, 1); }
}
@keyframes zoomOut {
    0% { transform: scale3d(1.3, 1.3, 1.3); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale3d(1, 1, 1); }
}
@keyframes zoomOutUp {
    0% { transform: translate3d(0, 100px, 0) scale3d(1.3, 1.3, 1.3); opacity: 0; }
    80% { opacity: 1; }
    100% { transform: translateZ(0) scale3d(1, 1, 1); }
}
@keyframes zoomOutDown {
    0% { transform: translate3d(0, -100px, 0) scale3d(1.3, 1.3, 1.3); opacity: 0; }
    80% { opacity: 1; }
    100% { transform: translateZ(0) scale3d(1, 1, 1); }
}

@keyframes t2-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(12px) rotate(4deg); }
}
@keyframes t2-cover-branch-sway {
    0% { transform: rotate(0deg) translate3d(0, 0, 0); }
    100% { transform: rotate(-7deg) translate3d(-6px, 5px, 0); }
}
@keyframes t2-cover-branch-sway-right {
    0% { transform: rotate(0deg) translate3d(0, 0, 0); }
    100% { transform: rotate(7deg) translate3d(6px, 5px, 0); }
}
@keyframes t2-cover-flower-left {
    0% { transform: translate(0, 60%) rotate(0deg); }
    100% { transform: translate(0, 60%) rotate(-10deg); }
}
@keyframes t2-cover-flower-right {
    0% { transform: translate(0, 60%) scaleX(-1) rotate(0deg); }
    100% { transform: translate(0, 60%) scaleX(-1) rotate(10deg); }
}
@keyframes t2-cover-bottom-left {
    0% { transform: translate(-20%, 40%) rotate(0deg); }
    100% { transform: translate(-20%, 40%) rotate(-8deg); }
}
@keyframes t2-cover-bottom-right {
    0% { transform: translate(20%, 40%) scaleX(-1) rotate(0deg); }
    100% { transform: translate(20%, 40%) scaleX(-1) rotate(8deg); }
}
@keyframes t2-desktop-orn-left {
    0% { transform: translate3d(0, 0, 0) rotate(-2deg); }
    100% { transform: translate3d(8px, -8px, 0) rotate(8deg); }
}
@keyframes t2-desktop-orn-right {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    100% { transform: translate3d(-9px, 9px, 0) rotate(-9deg); }
}
@keyframes t2-soft-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes t2-section-orn-left {
    0% { transform: translate3d(0, 0, 0) rotate(-2deg); }
    100% { transform: translate3d(7px, -10px, 0) rotate(8deg); }
}
@keyframes t2-section-orn-right {
    0% { transform: scaleX(-1) translate3d(0, 0, 0) rotate(0deg); }
    100% { transform: scaleX(-1) translate3d(8px, -8px, 0) rotate(-8deg); }
}
@keyframes t2-sky-slide {
    0% { background-position: top left; }
    100% { background-position: top right; }
}
@keyframes t2-hero-branch-left {
    0% { transform: translate(-10%, 50%) rotate(0deg); }
    100% { transform: translate(-10%, 50%) rotate(-8deg); }
}
@keyframes t2-hero-branch-right {
    0% { transform: translate(0, 50%) scaleX(-1) rotate(0deg); }
    100% { transform: translate(0, 50%) scaleX(-1) rotate(8deg); }
}
@keyframes t2-hero-flower2-left {
    0% { transform: translate(-65%, 0) rotate(0deg); }
    100% { transform: translate(-65%, 0) rotate(8deg); }
}
@keyframes t2-hero-flower2-right {
    0% { transform: translate(65%, 0) scaleX(-1) rotate(0deg); }
    100% { transform: translate(65%, 0) scaleX(-1) rotate(-8deg); }
}
@keyframes t2-hero-flower3-left {
    0% { transform: translate(-15%, 20%) rotate(0deg); }
    100% { transform: translate(-15%, 20%) rotate(-9deg); }
}
@keyframes t2-hero-flower3-right {
    0% { transform: translate(15%, 20%) scaleX(-1) rotate(0deg); }
    100% { transform: translate(15%, 20%) scaleX(-1) rotate(9deg); }
}
@keyframes t2-hero-flower4-left {
    0% { transform: translate(25%, 65%) rotate(0deg); }
    100% { transform: translate(25%, 65%) rotate(7deg); }
}
@keyframes t2-hero-flower4-right {
    0% { transform: translate(-5%, 65%) scaleX(-1) rotate(0deg); }
    100% { transform: translate(-5%, 65%) scaleX(-1) rotate(-7deg); }
}

@media (min-width: 680px) {
    .t2-couple-stack {
        grid-template-columns: 1fr auto 1fr;
    }
    .t2-and {
        margin-top: 12rem;
    }
    .t2-event-grid,
    .t2-story-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .t2-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .t2-cover-gate .t2-cover-bg {
        width: 100%;
        height: 100%;
        background-size: min(900px, 235vw) auto;
    }
}

@media (max-width: 575px) {
    .t2-cover-gate {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .75rem 1rem 1.15rem;
    }
    .t2-cover-gate .t2-cover-bg {
        width: 100%;
        height: 100%;
        background-size: min(780px, 250vw) auto;
        background-position: center top;
    }
    .t2-cover-card {
        width: min(360px, 100%);
        max-width: calc(100vw - 2rem);
        margin: 0 auto;
        padding: .55rem .9rem 1rem;
        transform: none;
    }
    .t2-cover-card::before {
        width: min(230px, 76%);
        margin-bottom: -.7rem;
    }
    .t2-cover-photo {
        width: min(218px, 58vw);
        margin: -.25rem auto .55rem;
    }
    .t2-cover-card h1 {
        width: 100%;
        font-size: clamp(2.55rem, 13vw, 3.55rem);
        line-height: .92;
        text-align: center;
    }
    .t2-guest {
        margin: .7rem auto .7rem;
        padding: .65rem .75rem;
    }
    .t2-cover-card .t2-btn {
        min-height: 40px;
        padding: .62rem .95rem;
    }
    .t2-countdown-section {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }
    .t2-reminder-content {
        width: min(210px, 100%);
    }
    .t2-countdown-frame {
        width: 225%;
        height: calc(100% - 4.7rem);
        transform: translate(-50%, calc(-50% - 2.35rem));
    }
    .countdown-grid {
        gap: .5rem;
    }
    .countdown-grid .angka {
        font-size: 32px;
    }
    .countdown-grid .huruf {
        font-size: 14px;
    }
    .t2-btn--reminder {
        margin-top: 3rem;
    }
    .t2-reminder-mosque {
        top: auto;
        bottom: -1px;
        width: 100%;
        height: auto;
        aspect-ratio: var(--t2-mosque-ratio);
        background-size: contain;
        background-position: bottom center;
    }
    .t2-event-wrapper {
        width: 85%;
    }
}

@media (min-width: 768px) {
    .t2-cover-corner {
        width: 40%;
    }
    .t2-cover-bottom {
        width: 30%;
    }
}

@media (min-width: 992px) {
    .t2-cover-corner {
        width: 20%;
    }
    .t2-cover-bottom {
        width: 20%;
    }
}

@media (min-width: 1024px) {
    .t2-desktop-hero { display: block; }
    .t2-shell {
        margin-left: calc(100vw - min(480px, 100vw));
    }
    .t2-scroll {
        width: min(480px, 100vw);
        min-height: 100vh;
        box-shadow: -18px 0 48px rgba(53, 58, 64, .16);
    }
    .t2-cover-gate {
        inset: 0;
        padding: 2rem clamp(2rem, 7vw, 7rem);
    }
    .t2-cover-gate .t2-cover-bg {
        top: -1px;
        width: 100%;
        height: 100%;
        background-size: min(1280px, 92vw) auto;
        background-position: center top;
    }
    .t2-cover-corner {
        width: 20%;
        height: auto;
    }
    .t2-cover-corner--left {
        transform: translate(-55%, -30%);
    }
    .t2-cover-corner--right {
        transform: translate(55%, -30%);
    }
    .t2-cover-card {
        width: min(560px, calc(100vw - 8rem));
        max-height: calc(100svh - 4rem);
        padding: .75rem 1.25rem 1.2rem;
        transform: translateY(-1.1rem);
    }
    .t2-cover-card::before {
        width: min(300px, 68%);
        margin-bottom: -.82rem;
    }
    .t2-cover-photo {
        width: min(265px, 48vh);
        max-height: 350px;
        margin-top: -.55rem;
        margin-bottom: .65rem;
        border-width: 6px;
    }
    .t2-cover-card h1 {
        margin: .25rem 0 .35rem;
        font-size: clamp(3.8rem, 5.4vw, 6rem);
        line-height: .9;
    }
    .t2-cover-card h1 span {
        font-size: .43em;
        line-height: 1;
    }
    .t2-cover-card .t2-eyebrow,
    .t2-cover-card .t2-date,
    .t2-cover-card small {
        font-size: .68rem;
        letter-spacing: .1em;
    }
    .t2-guest {
        margin: .95rem auto .85rem;
        padding: .75rem .85rem;
    }
    .t2-guest strong {
        font-size: .96rem;
    }
    .t2-cover-card .t2-btn {
        min-height: 40px;
        padding: .62rem 1rem;
        font-size: .9rem;
    }
    .t2-section { padding-left: 1.4rem; padding-right: 1.4rem; }
    .t2-scroll .t2-couple-stack,
    .t2-scroll .t2-event-grid,
    .t2-scroll .t2-story-list {
        grid-template-columns: 1fr;
    }
    .t2-scroll .t2-and {
        margin: -.25rem auto;
    }
    .t2-scroll .t2-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) and (max-height: 760px) {
    .t2-cover-gate {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .t2-cover-card {
        width: min(480px, calc(100vw - 4rem));
        padding-top: .75rem;
        padding-bottom: 1rem;
        transform: translateY(-.65rem);
    }
    .t2-cover-card::before {
        width: 210px;
        margin-bottom: -.7rem;
    }
    .t2-cover-photo {
        width: min(185px, 34vh);
        max-height: 235px;
        margin-top: -.45rem;
        margin-bottom: .45rem;
    }
    .t2-cover-card h1 {
        font-size: clamp(3.25rem, 4.7vw, 4.55rem);
    }
    .t2-guest {
        margin: .65rem auto .65rem;
        padding: .6rem .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
