@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Italiana&display=swap');

:root {
    --frame-ink: #29352f;
    --frame-muted: #777c72;
    --frame-paper: #f8f5ef;
    --frame-paper-deep: #eee7d9;
    --frame-accent: #b28a54;
    --frame-heading: "Italiana", Georgia, serif;
    --frame-body: "DM Sans", Arial, sans-serif;
    --frame-script: "PhotographSignature", cursive;
    --frame-reveal-duration: 1350ms;
    --frame-section-padding: clamp(5rem, 10vw, 9rem);
    --frame-base-size: 16px;
    --frame-cover-title-size: clamp(3.2rem, 9vw, 7.8rem);
    --frame-section-title-size: clamp(2.8rem, 6vw, 5.5rem);
    --frame-ease: cubic-bezier(.2,.72,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body.frame-theme {
    margin: 0;
    color: var(--frame-ink);
    background: var(--frame-paper);
    font-family: var(--frame-body);
    font-size: var(--frame-base-size);
    line-height: 1.7;
}
.frame-theme :is(button, input, select, textarea) { font: inherit; }
.frame-theme a { color: inherit; }
.frame-theme img { display: block; max-width: 100%; }
.frame-theme button { color: inherit; }
.frame-theme :focus-visible { outline: 3px solid var(--frame-accent); outline-offset: 4px; }

.frame-nav {
    position: fixed;
    z-index: 30;
    inset: 0 0 auto;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 5vw;
    color: #fffaf0;
    border-bottom: 1px solid rgb(255 250 240 / 24%);
    transition: min-height .45s ease, background-color .45s ease, color .45s ease, border-color .45s ease, backdrop-filter .45s ease;
}
.frame-nav.is-scrolled {
    min-height: 64px;
    color: var(--frame-ink);
    border-color: rgb(41 53 47 / 12%);
    background: rgb(248 245 239 / 92%);
    backdrop-filter: blur(18px);
}
.frame-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    font-family: var(--frame-heading);
    font-size: 1.55rem;
    line-height: 1;
    text-decoration: none;
}
.frame-nav__brand svg { width: 15px; fill: var(--frame-accent); stroke: var(--frame-accent); stroke-width: 1.4; }
.frame-nav__links { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.frame-nav__links a {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}
.frame-nav__links a:hover { color: var(--frame-accent); }
.frame-nav__edition { font-family: var(--frame-heading); font-size: .92rem; font-style: italic; }
.frame-nav__toggle { display: none; }

.frame-cover,
.frame-section { position: relative; isolation: isolate; overflow: hidden; }
.frame-cover {
    display: grid;
    min-height: 100svh;
    min-height: max(700px, 100svh);
    place-items: center;
    color: #fffaf0;
    background: var(--frame-ink);
}
.frame-backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background: var(--frame-ink);
}
.frame-backdrop__photo {
    position: absolute;
    inset: -3%;
    width: 106%;
    height: 106%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.07) translate3d(0, 1%, 0);
    transition: opacity 1900ms ease, transform 8500ms linear;
    will-change: opacity, transform;
}
.frame-backdrop__photo.is-active { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
.frame-cover__wash {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(110deg, rgb(24 37 31 / 82%), rgb(24 37 31 / 38%) 52%, rgb(24 37 31 / 68%));
}
.frame-cover__orbit {
    position: absolute;
    z-index: 2;
    width: min(76vw, 680px);
    max-height: 88%;
    color: rgb(255 250 240 / 65%);
    animation: frame-orbit 38s linear infinite;
    pointer-events: none;
}
.frame-cover__content {
    position: relative;
    z-index: 3;
    width: min(800px, 88vw);
    padding: 8rem 0 7rem;
    text-align: center;
}
.frame-kicker {
    margin: 0 0 .8rem;
    color: var(--frame-accent);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.frame-cover .frame-kicker { color: #e2c995; }
.frame-cover__names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin: 2.1rem 0 .7rem;
    font-family: var(--frame-script);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1;
}
.frame-cover__names span { color: var(--frame-accent); font-family: var(--frame-heading); font-size: .55em; }
.frame-cover__label { margin: 0 0 .2rem; color: #eee7d9; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.frame-cover h1 {
    margin: 0 auto;
    font-family: var(--frame-heading);
    font-size: var(--frame-cover-title-size);
    font-weight: 400;
    line-height: .99;
    text-wrap: balance;
}
.frame-cover__title { margin: 1rem 0 0; color: #eee7d9; font-size: .9rem; letter-spacing: .05em; }
.frame-cover__date { margin: 1.7rem 0 .2rem; font-family: var(--frame-heading); font-size: 1.35rem; letter-spacing: .05em; }
.frame-cover__guest { margin: 0 0 1.7rem; color: #eee7d9; font-size: .82rem; }
.frame-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .6rem 1.35rem;
    border: 1px solid currentColor;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.frame-button:hover { transform: translateY(-3px); }
.frame-button--light:hover { border-color: var(--frame-accent); color: #fff; background: var(--frame-accent); }
.frame-cover__side-note,
.frame-cover__counter {
    position: absolute;
    z-index: 3;
    bottom: 2rem;
    color: rgb(255 250 240 / 75%);
    font-size: .57rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.frame-cover__side-note { left: 5vw; writing-mode: vertical-rl; transform: rotate(180deg); }
.frame-cover__counter { right: 5vw; }
.frame-cover__counter i { padding: 0 .3rem; color: var(--frame-accent); font-style: normal; }

.frame-section { min-height: 60vh; padding: var(--frame-section-padding) clamp(1.1rem, 6vw, 6rem); }
.frame-section--paper { color: var(--frame-ink); }
.frame-section--dark { color: #fffaf0; background: var(--frame-ink); }
.frame-section__wash { position: absolute; z-index: 1; inset: 0; }
.frame-section--paper .frame-section__wash { background: rgb(248 245 239 / 82%); }
.frame-section--dark .frame-section__wash { background: rgb(24 37 31 / 78%); }
.frame-section__inner { position: relative; z-index: 2; width: min(1160px, 100%); margin: 0 auto; }
.frame-section__heading { width: min(760px, 100%); margin: 0 auto clamp(2.5rem, 6vw, 5rem); text-align: center; }
.frame-index {
    margin: 0 0 1.2rem;
    color: var(--frame-accent);
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.frame-index span { margin: 0 .4rem; }
.frame-section__heading h2,
.frame-intro h2,
.frame-celebration h2,
.frame-rsvp h2 {
    margin: .4rem 0 0;
    font-family: var(--frame-heading);
    font-size: var(--frame-section-title-size);
    font-weight: 400;
    line-height: 1.05;
    text-wrap: balance;
}
.frame-section__heading h2 em,
.frame-intro h2 em,
.frame-celebration h2 em,
.frame-rsvp h2 em { color: var(--frame-accent); font-weight: 400; }
.frame-section__heading > p:last-child:not(.frame-kicker):not(.frame-index) { max-width: 590px; margin: 1rem auto 0; color: var(--frame-muted); }
.frame-section--dark .frame-section__heading > p:last-child:not(.frame-kicker):not(.frame-index) { color: rgb(255 250 240 / 75%); }

.frame-intro {
    display: grid;
    min-height: 360px;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr minmax(0, 2fr) 1fr;
    gap: 2rem;
}
.frame-intro > .frame-index { align-self: start; justify-self: start; }
.frame-intro__copy { width: min(600px, 100%); text-align: center; }
.frame-intro__copy > p:not(.frame-kicker) { color: var(--frame-muted); }
.frame-intro__quote { margin: 1.5rem auto 0; font-family: var(--frame-heading); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.5; }
.frame-intro__family { margin-top: 1.5rem; font-size: .87rem; }
.frame-intro__family strong { color: var(--frame-accent); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.frame-flower { width: min(90px, 8vw); color: var(--frame-accent); }
.frame-intro__stamp {
    align-self: end;
    justify-self: end;
    padding: .75rem 1rem;
    border: 1px solid var(--frame-accent);
    color: var(--frame-accent);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.55;
    text-align: center;
    transform: rotate(8deg);
}

.frame-couple-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 8vw, 7rem); }
.frame-couple-grid--single { grid-template-columns: minmax(0, 620px); justify-content: center; }
.frame-person { display: grid; min-width: 0; align-content: start; gap: 1.5rem; }
.frame-person:nth-child(even) { margin-top: 5rem; }
.frame-person__portrait { position: relative; min-height: 240px; aspect-ratio: 4 / 5; overflow: hidden; background: rgb(255 250 240 / 8%); }
.frame-person__portrait img,
.frame-person__placeholder { width: 100%; height: 100%; object-fit: cover; }
.frame-person__portrait img { transition: transform 1.1s var(--frame-ease); }
.frame-person:hover .frame-person__portrait img { transform: scale(1.035); }
.frame-person__placeholder { display: grid; place-items: center; color: rgb(255 250 240 / 75%); font-family: var(--frame-heading); font-size: 8rem; }
.frame-person__role { position: absolute; right: 1rem; bottom: 1rem; padding: .35rem .6rem; color: var(--frame-ink); background: var(--frame-paper); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.frame-person__corner { position: absolute; inset: .8rem auto auto .8rem; width: 52px; height: 52px; color: #fffaf0; }
.frame-person__copy { padding: 0 .25rem; }
.frame-person__copy h3 { margin: 0; font-family: var(--frame-script); font-size: clamp(2.7rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.1; }
.frame-person__copy p:not(.frame-kicker) { margin: .45rem 0 0; color: rgb(255 250 240 / 72%); font-size: .85rem; overflow-wrap: anywhere; }
.frame-person__copy p.frame-kicker { margin-bottom: .3rem; }
.frame-socials { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; }
.frame-socials a,
.frame-socials span { color: #e2c995; font-size: .68rem; text-decoration: none; }
.frame-couple-grid__ampersand { position: absolute; top: 38%; left: 50%; z-index: 1; display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid var(--frame-accent); border-radius: 50%; color: var(--frame-accent); background: var(--frame-ink); font-family: var(--frame-heading); font-size: 1.6rem; transform: translate(-50%, -50%); }

.frame-story-list { display: grid; gap: clamp(3rem, 8vw, 7rem); }
.frame-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(270px, .9fr); align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.frame-story--reverse { grid-template-columns: minmax(270px, .9fr) minmax(0, 1.1fr); }
.frame-story--reverse .frame-story__image { order: 2; }
.frame-story__image { position: relative; min-width: 0; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--frame-paper-deep); }
.frame-story__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--frame-ease); }
.frame-story__image:hover img { transform: scale(1.04); }
.frame-story__image > span { position: absolute; right: 1rem; bottom: 1rem; color: #fffaf0; font-family: var(--frame-heading); font-size: 3.5rem; line-height: 1; text-shadow: 0 2px 16px rgb(0 0 0 / 25%); }
.frame-story__copy { min-width: 0; }
.frame-story__copy h3 { margin: .3rem 0 .9rem; font-family: var(--frame-heading); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.12; }
.frame-story__copy > p:not(.frame-kicker) { color: var(--frame-muted); white-space: pre-line; }
.frame-story__photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); gap: .6rem; margin-top: 1.4rem; }
.frame-story__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.frame-celebration__intro { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.frame-celebration .frame-celebration__date { margin: 1rem 0; font-family: var(--frame-heading); font-size: 1.5rem; }
.frame-countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin: 2rem 0; }
.frame-countdown span { display: grid; min-width: 78px; gap: .1rem; padding: .75rem; border: 1px solid rgb(255 250 240 / 40%); }
.frame-countdown strong { font-family: var(--frame-heading); font-size: 1.8rem; font-weight: 400; line-height: 1; }
.frame-countdown small { color: rgb(255 250 240 / 72%); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.frame-event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.frame-event { position: relative; min-width: 0; padding: 1.5rem; border: 1px solid rgb(255 250 240 / 30%); background: rgb(24 37 31 / 28%); backdrop-filter: blur(9px); }
.frame-event__number { position: absolute; top: 1rem; right: 1rem; color: rgb(255 250 240 / 35%); font-family: var(--frame-heading); font-size: 2rem; }
.frame-event h3 { margin: .3rem 2rem .8rem 0; font-family: var(--frame-heading); font-size: 1.8rem; font-weight: 400; }
.frame-event p:not(.frame-kicker) { margin: .35rem 0; color: rgb(255 250 240 / 77%); font-size: .82rem; overflow-wrap: anywhere; }
.frame-event a { display: inline-flex; gap: .45rem; margin-top: .75rem; color: #e2c995; font-size: .7rem; font-weight: 700; text-decoration: none; }

.frame-gallery__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: .9rem; }
.frame-gallery__item { position: relative; min-width: 0; min-height: 150px; grid-column: span 4; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: var(--frame-paper-deep); }
.frame-gallery__item--1,
.frame-gallery__item--4 { grid-column: span 5; aspect-ratio: 5 / 4; }
.frame-gallery__item--2,
.frame-gallery__item--5 { grid-column: span 3; }
.frame-gallery__item--3 { grid-column: span 4; aspect-ratio: 1; }
.frame-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--frame-ease), filter 1s ease; }
.frame-gallery__item:hover img { filter: saturate(1.05); transform: scale(1.045); }
.frame-gallery__item figcaption { position: absolute; inset: auto 0 0; padding: 2.25rem 1rem .8rem; color: #fffaf0; background: linear-gradient(transparent, rgb(24 37 31 / 70%)); font-size: .75rem; }
.frame-gallery__index { position: absolute; top: .7rem; left: .7rem; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgb(255 250 240 / 70%); border-radius: 50%; color: #fffaf0; background: rgb(24 37 31 / 30%); font-size: .62rem; }

.frame-film { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.frame-film .frame-section__heading { width: 100%; margin: 0; text-align: left; }
.frame-film .frame-section__heading h2 { font-family: var(--frame-heading); font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 400; line-height: 1.1; }
.frame-film .frame-section__heading > p:last-child:not(.frame-kicker):not(.frame-index) { margin: 1rem 0 0; }
.frame-film__screen { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgb(255 250 240 / 40%); background: #111; box-shadow: 16px 16px 0 rgb(237 104 71 / 35%); }
.frame-film__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.frame-link-list { display: grid; max-width: 900px; margin: 0 auto; }
.frame-live-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem .3rem; border-bottom: 1px solid rgb(41 53 47 / 22%); text-decoration: none; transition: padding .25s ease, color .25s ease; }
.frame-live-link:hover { padding-right: 1rem; padding-left: 1rem; color: var(--frame-accent); }
.frame-live-link span { display: grid; overflow-wrap: anywhere; }
.frame-live-link small { color: var(--frame-muted); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; }
.frame-live-link svg { flex: 0 0 24px; width: 24px; color: var(--frame-accent); }

.frame-bank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.frame-bank-card { min-width: 0; padding: 1.5rem; border: 1px solid rgb(255 250 240 / 26%); background: rgb(255 250 240 / 7%); overflow-wrap: anywhere; }
.frame-bank-card > svg { width: 38px; margin-bottom: 1rem; color: #e2c995; }
.frame-bank-card strong { display: block; margin: .4rem 0; font-family: var(--frame-heading); font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 400; }
.frame-bank-card > p:not(.frame-kicker) { margin: .35rem 0; color: rgb(255 250 240 / 78%); font-size: .84rem; }
.frame-bank-card small { display: block; color: rgb(255 250 240 / 70%); }
.frame-copy { min-height: 40px; margin-top: 1rem; padding: .45rem .7rem; border: 1px solid #e2c995; color: #fffaf0; background: transparent; cursor: pointer; font-size: .68rem; transition: color .2s ease, background .2s ease; }
.frame-copy:hover { color: var(--frame-ink); background: #e2c995; }
.frame-qris { display: flex; max-width: 540px; align-items: center; gap: 1.5rem; margin: 1.2rem auto 0; padding: 1.1rem; border: 1px solid rgb(255 250 240 / 24%); background: rgb(255 250 240 / 7%); }
.frame-qris img { width: 120px; max-width: 38%; height: auto; padding: .5rem; background: #fff; }
.frame-qris p { margin: 0; color: rgb(255 250 240 / 78%); overflow-wrap: anywhere; }

.frame-rsvp__inner { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 3rem; }
.frame-rsvp__ornament { width: min(180px, 22vw); justify-self: center; color: var(--frame-accent); }
.frame-rsvp__content { width: min(650px, 100%); }
.frame-rsvp h2 { margin-bottom: .8rem; }
.frame-rsvp__note { margin: .4rem 0; color: var(--frame-muted); font-size: .8rem; }
.frame-form { display: grid; gap: .9rem; margin-top: 1.5rem; }
.frame-form label { display: grid; gap: .4rem; color: var(--frame-ink); font-size: .73rem; font-weight: 700; }
.frame-form :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 48px; padding: .7rem .8rem; border: 1px solid rgb(41 53 47 / 22%); border-radius: 0; color: var(--frame-ink); background: rgb(255 250 240 / 85%); }
.frame-form textarea { min-height: 110px; resize: vertical; }
.frame-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.frame-form button { min-height: 48px; padding: .65rem 1rem; border: 1px solid var(--frame-accent); color: #fffaf0; background: var(--frame-accent); cursor: pointer; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease, background .2s ease; }
.frame-form button:hover { color: var(--frame-accent); background: transparent; }
.frame-form__feedback,
.frame-form-message { margin: .35rem 0; font-size: .82rem; }
.frame-form-message--success { color: #267343; }
.frame-form-message--error { color: #a2372f; }
.frame-form--wish { max-width: 700px; margin: 3.5rem auto 0; padding: 1.5rem; background: var(--frame-paper); }

.frame-wishes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.frame-wishes blockquote { min-width: 0; margin: 0; padding: 1.5rem; border: 1px solid rgb(255 250 240 / 26%); background: rgb(255 250 240 / 7%); }
.frame-wishes blockquote svg { width: 30px; color: var(--frame-accent); }
.frame-wishes blockquote p { margin: .7rem 0 1rem; color: rgb(255 250 240 / 88%); font-family: var(--frame-heading); font-size: 1.25rem; }
.frame-wishes cite { color: #e2c995; font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.frame-footer { position: relative; display: grid; min-height: 360px; align-content: center; justify-items: center; padding: 4rem 1.5rem; color: #fffaf0; background: var(--frame-ink); text-align: center; }
.frame-footer__ornament { width: 82px; margin-bottom: 1.2rem; color: var(--frame-accent); }
.frame-footer .frame-kicker { color: #e2c995; }
.frame-footer__names { margin: .35rem 0; font-family: var(--frame-script); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.1; }
.frame-footer > p:not(.frame-kicker):not(.frame-footer__names) { margin: .2rem 0; color: rgb(255 250 240 / 72%); }
.frame-footer > span { margin-top: 1.5rem; color: rgb(255 250 240 / 55%); font-size: .55rem; font-weight: 700; letter-spacing: .15em; }
.frame-footer > span i { color: var(--frame-accent); font-style: normal; }
.frame-experience-dock {
    position: fixed;
    z-index: 32;
    right: 1.25rem;
    bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem;
    border: 1px solid rgb(255 250 240 / 38%);
    border-radius: 999px;
    background: rgb(41 53 47 / 94%);
    box-shadow: 0 8px 28px rgb(0 0 0 / 20%);
    backdrop-filter: blur(14px);
}
.frame-experience-control {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fffaf0;
    background: transparent;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.frame-experience-control:hover { color: #fff; background: rgb(255 250 240 / 14%); transform: translateY(-2px); }
.frame-experience-control[aria-pressed="true"] { color: #e2c995; background: rgb(255 250 240 / 12%); }
.frame-experience-control svg { width: 20px; height: 20px; }
.frame-experience-control[data-autoscroll-toggle][aria-pressed="true"] svg { animation: frame-scroll-pulse 1.8s ease-in-out infinite; }
.frame-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@keyframes frame-scroll-pulse { 50% { transform: translateY(3px); } }
.frame-feedback { position: fixed; z-index: 35; right: 1rem; bottom: 5rem; max-width: min(22rem, calc(100vw - 2rem)); margin: 0; padding: .6rem .8rem; color: #fffaf0; background: var(--frame-ink); font-size: .75rem; box-shadow: 0 5px 20px rgb(0 0 0 / 18%); }
body[data-theme-screenshot="true"] .frame-experience-dock,
body[data-theme-screenshot="true"] .frame-feedback { display: none !important; }

.frame-js-ready [data-reveal] {
    opacity: 0;
    filter: blur(0);
    transition-property: opacity, transform, filter, clip-path;
    transition-duration: var(--reveal-time, var(--frame-reveal-duration)), var(--reveal-time, var(--frame-reveal-duration)), var(--reveal-time, var(--frame-reveal-duration)), var(--reveal-time, var(--frame-reveal-duration));
    transition-delay: var(--frame-delay, 0ms);
    transition-timing-function: var(--frame-ease);
    will-change: opacity, transform;
}
.frame-js-ready [data-reveal="rise"] { --reveal-time: 1150ms; transform: translate3d(0, 38px, 0); }
.frame-js-ready [data-reveal="left"] { --reveal-time: 1320ms; transform: translate3d(-48px, 0, 0); }
.frame-js-ready [data-reveal="right"] { --reveal-time: 1380ms; transform: translate3d(48px, 0, 0); }
.frame-js-ready [data-reveal="scale"] { --reveal-time: 1500ms; transform: scale(.92); }
.frame-js-ready [data-reveal="blur"] { --reveal-time: 1640ms; filter: blur(9px); transform: translate3d(0, 18px, 0); }
.frame-js-ready [data-reveal="rotate"] { --reveal-time: 1720ms; transform: rotate(-12deg) scale(.88); }
.frame-js-ready [data-reveal="clip"] { --reveal-time: 1450ms; clip-path: inset(12% 12% 12% 12%); transform: translate3d(0, 22px, 0); }
.frame-js-ready [data-reveal].is-visible { opacity: 1; filter: blur(0); clip-path: inset(0); transform: none; }
.frame-js-ready [data-reveal="blur"].is-visible { filter: blur(0); }
.frame-section [data-reveal]:nth-child(2) { --frame-delay: 70ms; }

@keyframes frame-orbit { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
    .frame-nav { min-height: 66px; padding-inline: 1.1rem; }
    .frame-nav__edition { display: none; }
    .frame-nav__toggle {
        display: grid;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-items: center;
        gap: 6px;
        border: 1px solid currentColor;
        background: transparent;
        cursor: pointer;
    }
    .frame-nav__toggle span { width: 18px; height: 1px; background: currentColor; transition: transform .2s ease; }
    .frame-nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .frame-nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .frame-nav__links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: .4rem 1.2rem 1rem;
        color: var(--frame-ink);
        background: var(--frame-paper);
        box-shadow: 0 12px 20px rgb(24 37 31 / 12%);
    }
    .frame-nav__links.is-open { display: flex; }
    .frame-nav__links a { padding: .75rem 0; border-bottom: 1px solid rgb(41 53 47 / 12%); }
    .frame-cover { min-height: max(660px, 100svh); }
    .frame-cover__content { padding: 7rem 0 6rem; }
    .frame-cover__orbit { width: 92vw; }
    .frame-cover__side-note { left: .7rem; }
    .frame-cover__counter { right: 1rem; }
    .frame-intro { grid-template-columns: 1fr 3fr 1fr; gap: .5rem; }
    .frame-flower { width: 52px; }
    .frame-intro__stamp { padding: .5rem; font-size: .48rem; }
    .frame-couple-grid { gap: 1.3rem; }
    .frame-person:nth-child(even) { margin-top: 3rem; }
    .frame-person__portrait { min-height: 190px; }
    .frame-couple-grid__ampersand { top: 36%; width: 42px; height: 42px; }
    .frame-story,
    .frame-story--reverse { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
    .frame-story--reverse .frame-story__image { order: initial; }
    .frame-film { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .frame-rsvp__inner { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .frame-rsvp__ornament { width: 90px; }
    .frame-rsvp__content { margin: 0 auto; }
}

@media (max-width: 560px) {
    body.frame-theme { font-size: 15px; }
    .frame-cover { min-height: max(620px, 100svh); }
    .frame-cover__content { width: min(92vw, 480px); }
    .frame-cover__names { margin-top: 1.7rem; }
    .frame-cover__label { font-size: .58rem; }
    .frame-cover__date { font-size: 1.15rem; }
    .frame-section { min-height: 50vh; padding: 4.5rem 1rem; }
    .frame-section__heading { margin-bottom: 2.5rem; }
    .frame-section__heading h2,
    .frame-intro h2,
    .frame-celebration h2,
    .frame-rsvp h2 { font-size: clamp(2.5rem, 12vw, 3.7rem); }
    .frame-intro { min-height: 360px; grid-template-columns: 1fr; justify-items: center; gap: 1rem; }
    .frame-intro > .frame-index { justify-self: center; }
    .frame-intro__stamp { position: absolute; right: 0; bottom: 0; }
    .frame-flower { width: 46px; }
    .frame-couple-grid,
    .frame-couple-grid--single { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .frame-person:nth-child(even) { margin-top: 0; }
    .frame-person__portrait { max-height: 580px; aspect-ratio: 4 / 4.6; }
    .frame-couple-grid__ampersand { top: 50%; }
    .frame-story-list { gap: 3rem; }
    .frame-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
    .frame-gallery__item,
    .frame-gallery__item--1,
    .frame-gallery__item--2,
    .frame-gallery__item--3,
    .frame-gallery__item--4,
    .frame-gallery__item--5 { grid-column: span 1; min-height: 150px; aspect-ratio: 4 / 5; }
    .frame-gallery__item:nth-child(5n + 1) { grid-column: span 2; aspect-ratio: 16 / 10; }
    .frame-gallery__index { top: .4rem; left: .4rem; width: 26px; height: 26px; font-size: .55rem; }
    .frame-countdown { gap: .4rem; }
    .frame-countdown span { min-width: 66px; padding: .65rem .45rem; }
    .frame-event-grid,
    .frame-bank-grid,
    .frame-wishes { grid-template-columns: minmax(0, 1fr); }
    .frame-qris { align-items: flex-start; gap: .8rem; padding: .75rem; }
    .frame-qris img { width: 100px; }
    .frame-form__row { grid-template-columns: minmax(0, 1fr); }
    .frame-form--wish { padding: 1rem; }
    .frame-experience-dock { right: .7rem; bottom: .7rem; gap: .15rem; }
    .frame-experience-control { width: 38px; height: 38px; }
    .frame-experience-control svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .frame-theme *,
    .frame-theme *::before,
    .frame-theme *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .frame-js-ready [data-reveal] { opacity: 1; filter: none; transform: none; clip-path: none; }
}
