:root {
    --paper: #f3efe7;
    --paper-deep: #e7e1d7;
    --paper-light: #fbf9f4;
    --stone: #aaa49b;
    --stone-light: #d7d0c7;
    --sage: #747b6d;
    --sage-soft: #bbc0b5;
    --moss: #3f4639;
    --moss-deep: #293127;
    --champagne: #a28d70;
    --champagne-light: #c8b99f;
    --ink: #292a26;
    --ink-soft: #5e5d57;
    --white: #fffdf9;
    --danger: #9a423a;
    --success: #516b4d;
    --border: color-mix(in srgb, var(--ink) 16%, transparent);
    --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow-soft: 0 24px 70px rgb(53 48 39 / 12%);
    --shadow-paper: 0 18px 45px rgb(53 48 39 / 18%), 0 2px 8px rgb(53 48 39 / 9%);
    --radius-small: 0.65rem;
    --radius-medium: 1.4rem;
    --radius-large: 2.5rem;
    --section-space: clamp(5.5rem, 10vw, 10rem);
    --page-pad: clamp(1.25rem, 4vw, 4.5rem);
    --max-width: 92rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
    overflow: hidden;
}

body.menu-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

address {
    font-style: normal;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    transform: translateY(-180%);
    border-radius: var(--radius-small);
    background: var(--ink);
    color: var(--white);
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--champagne);
    outline-offset: 4px;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.75rem var(--page-pad);
    border-bottom: 1px solid transparent;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    border-color: rgb(41 42 38 / 8%);
    background: rgb(243 239 231 / 92%);
    box-shadow: 0 8px 28px rgb(41 42 38 / 6%);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.brand i,
.footer-monogram i {
    display: block;
    width: 2.25rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 2.5vw, 2.6rem);
}

.site-navigation a {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-navigation a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -0.35rem;
    left: 0;
    height: 1px;
    background: var(--ink);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-navigation a:hover::after,
.site-navigation a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-navigation .nav-cta {
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    transition: background-color 180ms ease, color 180ms ease;
}

.site-navigation .nav-cta:hover {
    background: var(--ink);
    color: var(--white);
}

.menu-button {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.menu-button i {
    display: block;
    width: 1.4rem;
    height: 1px;
    margin: 0.38rem auto;
    background: var(--ink);
    transition: transform 180ms ease;
}

.section {
    width: min(100%, var(--max-width));
    margin-inline: auto;
    padding: var(--section-space) var(--page-pad);
}

.eyebrow,
.section-number,
.detail-label {
    margin: 0;
    color: var(--champagne);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.2em;
    line-height: 1.3;
    text-transform: uppercase;
}

.section-number {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.section-number::before {
    display: block;
    width: 2.5rem;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0.65;
}

.section-number--light {
    color: var(--champagne-light);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h2 {
    margin-bottom: 1.5rem;
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 6.6rem);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.88;
}

h2 em {
    color: var(--champagne);
    font-weight: 400;
}

.button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.85rem 1.45rem;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

.button svg {
    width: 1.1rem;
    height: 1.1rem;
}

.button--primary {
    border-color: var(--moss);
    background: var(--moss);
    color: var(--white);
}

.button--primary:hover {
    border-color: var(--moss-deep);
    background: var(--moss-deep);
}

.button--quiet,
.button--outline {
    border-color: var(--border);
    background: transparent;
    color: var(--ink);
}

.button--quiet:hover,
.button--outline:hover {
    border-color: var(--ink);
}

.button--full {
    width: 100%;
}

.text-link {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    text-underline-offset: 0.35rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.35rem;
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr) minmax(26rem, 0.9fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: center;
    overflow: hidden;
    padding: clamp(7.5rem, 10vw, 9.5rem) var(--page-pad) clamp(11rem, 18vw, 13rem);
    background: var(--paper);
}

.hero__wash {
    position: absolute;
    top: -20%;
    right: -12%;
    width: 60vw;
    height: 75vw;
    border-radius: 45% 0 0 55%;
    background: radial-gradient(circle at 35% 50%, rgb(187 192 181 / 44%), rgb(231 225 215 / 8%) 66%, transparent 67%);
    pointer-events: none;
}

.hero__content,
.hero__visual {
    position: relative;
    z-index: 1;
}

.hero__content {
    width: min(100%, 44rem);
    padding-left: clamp(0rem, 4vw, 4rem);
}

.hero h1 {
    margin: 1.3rem 0 1.7rem;
    font-family: var(--serif);
    font-size: clamp(4rem, 8.3vw, 8.5rem);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.78;
}

.hero h1 > span {
    display: block;
    margin-bottom: 1rem;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: clamp(0.7rem, 1vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    line-height: 1;
    text-transform: uppercase;
}

.hero h1 strong {
    display: block;
    font-weight: 400;
}

.hero h1 i {
    color: var(--champagne);
    font-size: 0.6em;
    font-weight: 400;
}

.hero__intro {
    width: min(100%, 36rem);
    margin-bottom: 2rem;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.55;
}

.guest-pass {
    display: flex;
    width: min(100%, 34rem);
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.1rem;
    border-block: 1px solid var(--border);
    padding: 1rem 0;
}

.guest-pass__mark {
    display: grid;
    width: 3.15rem;
    height: 3.15rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--champagne-light);
    border-radius: 50%;
    color: var(--champagne);
    font-family: var(--serif);
    font-size: 0.92rem;
}

.guest-pass div {
    display: grid;
    line-height: 1.25;
}

.guest-pass small,
.guest-pass span:not(.guest-pass__mark) {
    color: var(--ink-soft);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.guest-pass strong {
    margin: 0.15rem 0;
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 600;
}

.guest-pass .guest-pass__message {
    max-width: 28rem;
    margin: 0.65rem 0 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__visual {
    align-self: stretch;
    min-height: 38rem;
}

.hero__photo-wrap {
    position: absolute;
    inset: 1rem 0 2rem 8%;
    overflow: hidden;
    border-radius: 50% 50% 1.2rem 1.2rem / 32% 32% 1.2rem 1.2rem;
    box-shadow: var(--shadow-soft);
}

.hero__photo-wrap::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgb(25 31 24 / 24%));
    content: "";
}

.hero__photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
}

.date-card {
    position: absolute;
    z-index: 2;
    top: 13%;
    left: -2.5rem;
    display: grid;
    width: 8.4rem;
    min-height: 10rem;
    place-content: center;
    border: 1px solid rgb(162 141 112 / 45%);
    border-radius: 5rem 5rem 0.8rem 0.8rem;
    background: rgb(251 249 244 / 92%);
    box-shadow: var(--shadow-paper);
    color: var(--ink);
    text-align: center;
    backdrop-filter: blur(8px);
}

.date-card span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.date-card strong {
    margin: -0.15rem 0 -0.3rem;
    font-family: var(--serif);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
}

.hero__location {
    position: absolute;
    right: 1rem;
    bottom: 3rem;
    z-index: 2;
    margin: 0;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.15;
    text-align: right;
}

.countdown-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    border-top: 1px solid var(--border);
    padding: 1.7rem var(--page-pad);
    background: rgb(243 239 231 / 76%);
    backdrop-filter: blur(16px);
}

.countdown-panel > p {
    margin: 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 1.1rem;
}

.countdown-panel > p span {
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.countdown {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 2.5rem);
}

.countdown div {
    display: grid;
    min-width: 4.5rem;
    text-align: center;
}

.countdown strong {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1;
}

.countdown span {
    color: var(--ink-soft);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.countdown > i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--champagne);
}

.invitation-section {
    display: grid;
    overflow-x: clip;
    grid-template-columns: minmax(18rem, 0.85fr) minmax(22rem, 0.72fr);
    gap: clamp(4rem, 10vw, 11rem);
    align-items: center;
}

.section__intro {
    max-width: 38rem;
}

.section__intro h2 {
    margin-top: 2.7rem;
}

.section__intro > p:not(.section-number) {
    max-width: 34rem;
    margin-bottom: 2.2rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.invitation-preview {
    position: relative;
    width: min(100%, 31rem);
    justify-self: center;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
}

.invitation-preview::before {
    position: absolute;
    z-index: -1;
    inset: 8% -10% -7% 12%;
    border-radius: 50% 50% 1.5rem 1.5rem / 24% 24% 1.5rem 1.5rem;
    background: var(--sage-soft);
    content: "";
    opacity: 0.52;
}

.invitation-preview__paper {
    position: relative;
    display: block;
    height: clamp(35rem, 56vw, 48rem);
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-paper);
    background: var(--paper-deep);
}

.invitation-preview__paper::after {
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(transparent, rgb(41 42 38 / 68%));
    content: "";
}

.invitation-preview__paper img {
    width: 100%;
    height: auto;
}

.invitation-preview__label {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.invitation-preview__label i {
    position: relative;
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgb(255 253 249 / 55%);
    border-radius: 50%;
}

.invitation-preview__label i::before,
.invitation-preview__label i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.85rem;
    height: 1px;
    background: var(--white);
    content: "";
    transform: translate(-50%, -50%);
}

.invitation-preview__label i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.agenda-section {
    border-top: 1px solid var(--border);
}

.section-heading {
    display: grid;
    grid-template-columns: 0.55fr 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.section-heading h2 {
    margin-bottom: 1rem;
}

.section-heading > div > p {
    margin: 0;
    color: var(--ink-soft);
}

.agenda-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.55fr) minmax(30rem, 1.3fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 4.5rem 1rem 1fr;
    gap: 1rem;
    min-height: 7rem;
}

.timeline li:not(:last-child)::after {
    position: absolute;
    top: 1rem;
    bottom: -0.1rem;
    left: 5rem;
    width: 1px;
    background: var(--stone-light);
    content: "";
}

.timeline time {
    padding-top: 0.1rem;
    font-family: var(--serif);
    font-size: 1.35rem;
}

.timeline li > span {
    position: relative;
    z-index: 1;
    width: 0.65rem;
    height: 0.65rem;
    margin-top: 0.48rem;
    border: 2px solid var(--paper);
    border-radius: 50%;
    background: var(--champagne);
    box-shadow: 0 0 0 1px var(--champagne);
}

.timeline h3 {
    margin: 0 0 0.25rem;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
}

.timeline p {
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.venues {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.venue-card {
    position: relative;
    min-height: 29rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--paper-light);
    padding: clamp(2rem, 4vw, 3.25rem);
}

.venue-card:nth-child(2) {
    background: var(--paper-deep);
}

.venue-card__index {
    display: block;
    margin-bottom: clamp(5rem, 10vw, 8rem);
    color: var(--stone);
    font-family: var(--serif);
    font-size: 1rem;
}

.venue-card h3 {
    max-width: 22rem;
    margin: 1rem 0;
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.05;
}

.venue-card address,
.venue-card__note {
    max-width: 23rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.venue-card__note {
    margin-top: 1.2rem;
    font-style: italic;
}

.venue-card > a {
    position: absolute;
    right: clamp(2rem, 4vw, 3.25rem);
    bottom: 2.5rem;
    left: clamp(2rem, 4vw, 3.25rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.venue-card > a svg {
    width: 1.2rem;
    height: 1.2rem;
}

.details-section {
    display: grid;
    min-height: 54rem;
    grid-template-columns: minmax(20rem, 0.82fr) minmax(26rem, 1.18fr);
    background: var(--moss-deep);
    color: var(--white);
}

.details-section__photo {
    position: relative;
    min-height: 45rem;
    overflow: hidden;
}

.details-section__photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgb(22 29 22 / 55%));
    content: "";
}

.details-section__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.details-section__photo > span {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    z-index: 1;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.2em;
}

.details-section__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--section-space) clamp(2rem, 7vw, 8rem);
}

.details-section h2 {
    max-width: 50rem;
    margin: 2.5rem 0 4rem;
}

.details-section h2 em {
    color: var(--champagne-light);
}

.dress-code {
    display: grid;
    grid-template-columns: minmax(14rem, 0.7fr) 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    border-block: 1px solid rgb(255 253 249 / 17%);
    padding: 2.2rem 0;
}

.dress-code h3 {
    margin: 0.45rem 0;
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 400;
}

.dress-code p {
    margin-bottom: 0;
    color: rgb(255 253 249 / 72%);
}

.reserved-colors > p {
    max-width: 30rem;
    margin-bottom: 1.4rem;
    font-size: 0.88rem;
}

.reserved-colors > div {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.reserved-colors span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgb(255 253 249 / 72%);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reserved-colors i {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 50%;
    background: var(--reserved-color);
}

.adults-note {
    display: flex;
    gap: 1.3rem;
    align-items: flex-start;
    margin-top: 2.5rem;
}

.adults-note > span {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(255 253 249 / 30%);
    border-radius: 50%;
    color: var(--champagne-light);
    font-family: var(--serif);
}

.adults-note strong {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
}

.adults-note p {
    max-width: 36rem;
    margin: 0.25rem 0 0;
    color: rgb(255 253 249 / 66%);
    font-size: 0.82rem;
}

.story-strip {
    display: grid;
    width: min(100%, var(--max-width));
    grid-template-columns: 1.2fr 0.8fr 0.85fr;
    gap: 1rem;
    margin: 0 auto;
    padding: var(--section-space) var(--page-pad);
}

.story-section {
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.horizontal-scroll-hint {
    display: none;
}

.story-photo {
    min-height: 32rem;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-photo--wide img {
    object-position: center 45%;
}

.story-strip blockquote {
    display: flex;
    min-height: 32rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 50% 50% var(--radius-medium) var(--radius-medium) / 24% 24% var(--radius-medium) var(--radius-medium);
    padding: 2rem;
    text-align: center;
}

.story-strip blockquote > span {
    height: 3rem;
    color: var(--champagne);
    font-family: var(--serif);
    font-size: 5rem;
    line-height: 1;
}

.story-strip blockquote p {
    margin: 1rem 0 2rem;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.4vw, 3.6rem);
    line-height: 1;
}

.story-strip blockquote cite {
    color: var(--ink-soft);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 750;
    letter-spacing: 0.2em;
}

.stay-section {
    border-top: 1px solid var(--border);
}

.hotel-list {
    border-top: 1px solid var(--border);
}

.hotel-card {
    display: grid;
    grid-template-columns: 5rem 1fr auto;
    gap: 2rem;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.hotel-card > span {
    color: var(--stone);
    font-family: var(--serif);
    font-size: 1.4rem;
}

.hotel-card h3 {
    margin: 0 0 0.35rem;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 400;
}

.hotel-card address {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.hotel-card__actions {
    display: flex;
    gap: 1rem;
}

.hotel-card__actions a {
    border-bottom: 1px solid var(--ink);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.gift-section {
    padding-top: 0;
}

.gift-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(14rem, 0.8fr) minmax(22rem, 1.4fr) minmax(15rem, 0.75fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-large);
    background: var(--paper-deep);
    padding: clamp(2.5rem, 6vw, 6rem);
}

.gift-card::after {
    position: absolute;
    right: -8rem;
    bottom: -10rem;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgb(162 141 112 / 35%);
    border-radius: 50%;
    content: "";
}

.gift-card__seal {
    display: grid;
    width: clamp(9rem, 15vw, 13rem);
    height: clamp(9rem, 15vw, 13rem);
    place-content: center;
    border: 1px solid var(--champagne-light);
    border-radius: 50%;
    color: var(--champagne);
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.8;
}

.gift-card__seal span {
    display: block;
    text-align: center;
}

.gift-card h2 {
    margin: 2rem 0 1.5rem;
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
}

.gift-card > div > p:not(.section-number) {
    max-width: 36rem;
    margin-bottom: 0;
    color: var(--ink-soft);
}

.registry {
    position: relative;
    z-index: 1;
    display: grid;
    border-left: 1px solid var(--border);
    padding-left: 2rem;
}

.registry > span {
    margin-bottom: 1.4rem;
    font-family: var(--serif);
    font-size: 1.8rem;
}

.registry small {
    color: var(--ink-soft);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.registry strong {
    margin: 0.2rem 0 1.5rem;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.registry button,
.registry a {
    width: max-content;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    padding: 0.35rem 0;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.registry a {
    margin-top: 0.4rem;
}

.rsvp-section {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(20rem, 0.82fr) minmax(28rem, 1.18fr);
    gap: clamp(3rem, 9vw, 9rem);
    background: var(--moss);
    color: var(--white);
    padding-inline: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
}

.upload-section {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(20rem, 0.82fr) minmax(28rem, 1.18fr);
    gap: clamp(3rem, 9vw, 9rem);
    background: var(--moss-deep);
    color: var(--white);
    padding-inline: max(var(--page-pad), calc((100vw - var(--max-width)) / 2 + var(--page-pad)));
}

.upload-usage {
    display: grid;
    max-width: 31rem;
    gap: 0.3rem;
    margin-top: 3rem;
    border-block: 1px solid rgb(255 253 249 / 18%);
    padding: 1.3rem 0;
}

.upload-usage strong {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
}

.upload-usage span {
    color: rgb(255 253 249 / 62%);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.rsvp-copy {
    align-self: center;
}

.rsvp-copy h2 {
    max-width: 35rem;
    margin: 2.5rem 0 1.5rem;
}

.rsvp-copy > p:not(.section-number) {
    max-width: 34rem;
    color: rgb(255 253 249 / 70%);
}

.rsvp-copy__guest {
    display: grid;
    max-width: 31rem;
    margin-top: 3rem;
    border-block: 1px solid rgb(255 253 249 / 18%);
    padding: 1.3rem 0;
}

.rsvp-copy__guest span,
.rsvp-copy__guest small {
    color: rgb(255 253 249 / 62%);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.rsvp-copy__guest strong {
    margin: 0.25rem 0;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
}

.rsvp-form-card {
    border-radius: var(--radius-large);
    background: var(--paper-light);
    box-shadow: 0 24px 70px rgb(18 24 17 / 20%);
    color: var(--ink);
    padding: clamp(2rem, 5vw, 4.5rem);
}

.saved-response {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-small);
    background: rgb(116 123 109 / 12%);
    color: var(--moss);
    padding: 0.75rem 0.9rem;
    font-size: 0.76rem;
}

.saved-response span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--sage);
}

.validation-summary {
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--danger);
    background: rgb(154 66 58 / 8%);
    color: var(--danger);
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
}

.validation-summary:empty {
    display: none;
}

.validation-summary ul {
    margin: 0;
    padding-left: 1rem;
}

.field,
.attendance-fieldset {
    display: grid;
    margin: 0 0 1.35rem;
    border: 0;
    padding: 0;
}

.field > span:first-child,
.attendance-fieldset legend {
    margin-bottom: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.field > span small {
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--stone-light);
    border-radius: 0.75rem;
    background: var(--white);
    padding: 0.9rem 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
    min-height: 7rem;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgb(116 123 109 / 13%);
    outline: none;
}

.field > small {
    margin-top: 0.35rem;
    color: var(--ink-soft);
    font-size: 0.7rem;
}

.field-error {
    margin-top: 0.3rem;
    color: var(--danger);
    font-size: 0.72rem;
}

.field-error:empty {
    display: none;
}

.attendance-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.attendance-choice {
    position: relative;
}

.attendance-choice > input {
    position: absolute;
    opacity: 0;
}

.attendance-choice > span {
    display: grid;
    min-height: 6.4rem;
    align-content: center;
    border: 1px solid var(--stone-light);
    border-radius: 0.85rem;
    background: var(--white);
    padding: 1rem 1rem 1rem 2.9rem;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.attendance-choice i {
    position: absolute;
    top: 50%;
    left: 1rem;
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    border: 1px solid var(--stone);
    border-radius: 50%;
    transform: translateY(-50%);
}

.attendance-choice strong {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
}

.attendance-choice small {
    color: var(--ink-soft);
    font-size: 0.67rem;
}

.attendance-choice:has(input:checked) > span {
    border-color: var(--sage);
    background: rgb(116 123 109 / 8%);
    box-shadow: 0 0 0 2px rgb(116 123 109 / 12%);
}

.attendance-choice input:checked + span i {
    border: 4px solid var(--paper-light);
    background: var(--sage);
    box-shadow: 0 0 0 1px var(--sage);
}

.attendance-choice input:focus-visible + span {
    outline: 3px solid var(--champagne);
    outline-offset: 3px;
}

.form-privacy {
    margin: 0.85rem 0 0;
    color: var(--ink-soft);
    font-size: 0.67rem;
    text-align: center;
}

.phone-verification-form h3,
.rsvp-unavailable h3,
.rsvp-readonly h3 {
    margin: 0.35rem 0 0.85rem;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 500;
}

.form-introduction,
.rsvp-unavailable > p:last-child,
.rsvp-readonly > p {
    color: var(--ink-soft);
}

.phone-fields {
    display: grid;
    grid-template-columns: minmax(5.5rem, 0.28fr) minmax(12rem, 1fr);
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.phone-fields .field {
    margin-bottom: 0.5rem;
}

.field-help {
    margin: 0 0 1.35rem;
    color: var(--ink-soft);
    font-size: 0.72rem;
}

.privacy-notice {
    margin: 0 0 1.35rem;
    border: 1px solid var(--stone-light);
    border-radius: 0.85rem;
    background: rgb(255 255 255 / 55%);
    padding: 1rem;
}

.privacy-notice details {
    margin-bottom: 0.9rem;
}

.privacy-notice summary {
    cursor: pointer;
    color: var(--moss-deep);
    font-size: 0.78rem;
    font-weight: 750;
}

.privacy-notice details p {
    margin: 0.8rem 0 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
    white-space: pre-line;
}

.consent-field {
    display: grid;
    grid-template-columns: 1.1rem 1fr;
    gap: 0.65rem;
    align-items: start;
    color: var(--ink-soft);
    font-size: 0.76rem;
    line-height: 1.45;
}

.consent-field input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.08rem;
    accent-color: var(--moss);
}

.rsvp-unavailable,
.rsvp-readonly {
    display: grid;
    min-height: 25rem;
    align-content: center;
}

.rsvp-readonly small {
    color: var(--ink-soft);
}

@media (max-width: 420px) {
    .phone-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.success-state {
    display: grid;
    min-height: 36rem;
    place-content: center;
    justify-items: center;
    text-align: center;
}

.success-state__icon {
    display: grid;
    width: 5rem;
    height: 5rem;
    place-items: center;
    margin-bottom: 1.8rem;
    border-radius: 50%;
    background: rgb(81 107 77 / 12%);
    color: var(--success);
}

.success-state__icon svg {
    width: 2.2rem;
    height: 2.2rem;
    stroke-width: 1.5;
}

.success-state h3 {
    margin: 0.8rem 0 1rem;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 400;
}

.success-state p:not(.eyebrow) {
    max-width: 26rem;
    color: var(--ink-soft);
}

.success-state .button {
    margin-top: 1.2rem;
}

.site-footer {
    display: grid;
    justify-items: center;
    background: var(--moss-deep);
    color: var(--white);
    padding: 2rem var(--page-pad) 3rem;
    text-align: center;
}

.footer-monogram {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--champagne-light);
    font-family: var(--serif);
    font-size: 1.3rem;
}

.site-footer p {
    margin: 1.2rem 0 0.4rem;
    font-family: var(--serif);
    font-size: 1.35rem;
}

.site-footer > span {
    color: rgb(255 253 249 / 58%);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer > a {
    margin-top: 2rem;
    color: rgb(255 253 249 / 62%);
    font-size: 0.68rem;
    text-underline-offset: 0.35rem;
}

.mobile-dock {
    display: none;
}

.pdf-dialog {
    width: min(96vw, 82rem);
    height: min(94vh, 58rem);
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: #e8e4dc;
    box-shadow: 0 30px 100px rgb(20 23 18 / 35%);
    padding: 0;
}

.pdf-dialog::backdrop {
    background: rgb(24 28 23 / 76%);
    backdrop-filter: blur(8px);
}

.pdf-dialog__bar {
    display: flex;
    min-height: 4.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--paper-light);
    padding: 0.65rem 1rem 0.65rem 1.25rem;
}

.pdf-dialog__bar > div:first-child {
    display: grid;
    line-height: 1.2;
}

.pdf-dialog__bar small {
    color: var(--ink-soft);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pdf-dialog__bar strong {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
}

.pdf-dialog__bar > div:last-child {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pdf-dialog__bar a {
    font-size: 0.68rem;
    font-weight: 700;
    text-underline-offset: 0.3rem;
}

.pdf-dialog__bar form {
    margin: 0;
}

.pdf-dialog__bar button {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1;
}

.pdf-dialog iframe {
    width: 100%;
    height: calc(100% - 4.25rem);
    border: 0;
    background: var(--stone-light);
}

.toast {
    position: fixed;
    z-index: 300;
    right: 1.25rem;
    bottom: 1.25rem;
    max-width: min(24rem, calc(100vw - 2.5rem));
    transform: translateY(1rem);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    opacity: 0;
    padding: 0.8rem 1.2rem;
    font-size: 0.76rem;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.error-page {
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: var(--page-pad);
}

.error-page__card {
    width: min(100%, 42rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: var(--paper-light);
    box-shadow: var(--shadow-soft);
    padding: clamp(2rem, 6vw, 5rem);
    text-align: center;
}

.error-page h1 {
    margin: 1.2rem 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 4.7rem);
    font-weight: 400;
    line-height: 0.98;
}

.error-page p:not(.eyebrow) {
    color: var(--ink-soft);
}

.error-page .button {
    margin-top: 1rem;
}

.js .reveal {
    transform: translateY(1.5rem);
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease;
}

.js .reveal--delay {
    transition-delay: 120ms;
}

.js .reveal.is-visible {
    transform: translateY(0);
    opacity: 1;
}

[hidden] {
    display: none !important;
}

@media (max-width: 68rem) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
    }

    .date-card {
        left: -1rem;
    }

    .section-heading {
        grid-template-columns: 0.45fr 1fr;
    }

    .section-heading > .button {
        grid-column: 2;
        width: max-content;
    }

    .gift-card {
        grid-template-columns: 0.5fr 1.4fr;
    }

    .registry {
        grid-column: 2;
        border-top: 1px solid var(--border);
        border-left: 0;
        padding-top: 1.5rem;
        padding-left: 0;
    }
}

@media (max-width: 56rem) {
    :root {
        --section-space: clamp(4.5rem, 11vw, 7rem);
    }

    body {
        padding-bottom: calc(4.85rem + env(safe-area-inset-bottom));
    }

    .site-header {
        min-height: 4.4rem;
    }

    .menu-button {
        position: relative;
        z-index: 2;
        display: block;
    }

    .menu-button[aria-expanded="true"] i:first-of-type {
        transform: translateY(0.22rem) rotate(45deg);
    }

    .menu-button[aria-expanded="true"] i:last-of-type {
        transform: translateY(-0.22rem) rotate(-45deg);
    }

    .site-navigation {
        position: fixed;
        inset: 0;
        display: flex;
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1rem;
        overflow-y: auto;
        background: var(--paper);
        opacity: 0;
        padding: 6rem var(--page-pad);
        pointer-events: none;
        transform: translateY(-1rem);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-navigation.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-navigation a {
        font-family: var(--serif);
        font-size: clamp(2rem, 8vw, 3rem);
        font-weight: 400;
        letter-spacing: -0.03em;
        text-transform: none;
    }

    .site-navigation .nav-cta {
        margin-top: 1rem;
        font-family: var(--sans);
        font-size: 0.75rem;
        font-weight: 750;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 7.5rem;
        padding-bottom: 11rem;
    }

    .hero__content {
        width: 100%;
        padding-left: 0;
    }

    .hero__visual {
        min-height: 40rem;
    }

    .hero__photo-wrap {
        inset: 0 0 1rem 10%;
    }

    .countdown-panel {
        align-items: flex-start;
        gap: 1rem;
    }

    .countdown-panel > p {
        max-width: 8rem;
        font-size: 0.9rem;
    }

    .countdown-panel > p span {
        display: block;
    }

    .countdown {
        flex: 1;
        justify-content: space-between;
    }

    .countdown div {
        min-width: 2.5rem;
    }

    .countdown > i {
        display: none;
    }

    .invitation-section,
    .agenda-layout,
    .details-section,
    .rsvp-section,
    .upload-section {
        grid-template-columns: 1fr;
    }

    .invitation-section {
        gap: 5rem;
    }

    .invitation-preview {
        width: min(88%, 31rem);
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .section-heading > .button {
        grid-column: auto;
    }

    .agenda-layout {
        gap: 2rem;
    }

    .timeline {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        border-bottom: 1px solid var(--border);
        padding-bottom: 2rem;
    }

    .timeline li {
        display: block;
        min-height: 0;
    }

    .timeline li::after,
    .timeline li > span {
        display: none;
    }

    .timeline time {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--champagne);
    }

    .timeline h3 {
        font-size: 1.05rem;
    }

    .timeline p {
        margin: 0;
        font-size: 0.72rem;
    }

    .details-section__photo {
        min-height: 44rem;
    }

    .details-section__content {
        padding: var(--section-space) var(--page-pad);
    }

    .story-strip {
        grid-template-columns: 1fr 1fr;
    }

    .horizontal-scroll-hint {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        margin: 0 var(--page-pad) 0.7rem;
        color: var(--ink-soft);
        font-size: 0.68rem;
        font-weight: 750;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .agenda-layout > .horizontal-scroll-hint {
        margin-inline: 0;
    }

    .story-photo--wide {
        grid-column: span 2;
        min-height: 34rem;
    }

    .story-strip blockquote,
    .story-photo:not(.story-photo--wide) {
        min-height: 28rem;
    }

    .gift-card {
        grid-template-columns: 1fr;
    }

    .gift-card__seal {
        width: 8rem;
        height: 8rem;
    }

    .registry {
        grid-column: auto;
    }

    .rsvp-section,
    .upload-section {
        gap: 3rem;
    }

    .mobile-dock {
        position: fixed;
        z-index: 90;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid rgb(41 42 38 / 10%);
        background: rgb(251 249 244 / 94%);
        box-shadow: 0 -12px 30px rgb(41 42 38 / 10%);
        padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
        backdrop-filter: blur(18px);
    }

    .mobile-dock a,
    .mobile-dock button {
        display: grid;
        min-height: 3.35rem;
        place-items: center;
        gap: 0.05rem;
        border: 0;
        background: transparent;
        color: var(--ink-soft);
        font-size: 0.58rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-decoration: none;
    }

    .mobile-dock svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .toast {
        right: 1rem;
        bottom: calc(5.8rem + env(safe-area-inset-bottom));
        left: 1rem;
        text-align: center;
    }
}

@media (max-width: 40rem) {
    :root {
        --radius-large: 1.65rem;
    }

    .hero {
        gap: 2.2rem;
        padding-top: 6.6rem;
        padding-bottom: 10rem;
    }

    .hero h1 {
        margin-top: 1rem;
        font-size: clamp(3.4rem, 18vw, 5.4rem);
        line-height: 0.82;
    }

    .hero h1 strong {
        max-width: 23rem;
    }

    .hero__intro {
        font-size: 1rem;
    }

    .hero__actions,
    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .button,
    .button-row .button {
        width: 100%;
    }

    .button-row .text-link {
        text-align: center;
    }

    .hero__visual {
        min-height: 30rem;
    }

    .hero__photo-wrap {
        inset: 0 0 0 7%;
    }

    .date-card {
        top: 7%;
        left: -0.3rem;
        width: 6.6rem;
        min-height: 8.2rem;
    }

    .date-card strong {
        font-size: 3.2rem;
    }

    .hero__location {
        right: 0.8rem;
        bottom: 1rem;
        font-size: 1rem;
    }

    .countdown-panel {
        display: block;
        padding-block: 1.15rem;
    }

    .countdown-panel > p {
        max-width: none;
        margin-bottom: 0.65rem;
        text-align: center;
    }

    .countdown-panel > p span {
        display: inline;
    }

    .countdown strong {
        font-size: 1.9rem;
    }

    .countdown span {
        font-size: 0.52rem;
    }

    .section__intro h2,
    .section-heading h2,
    .details-section h2,
    .rsvp-copy h2 {
        font-size: clamp(2.9rem, 15vw, 4.6rem);
    }

    .invitation-preview {
        width: 94%;
    }

    .invitation-preview__paper {
        height: 33rem;
    }

    .timeline {
        overflow-x: auto;
        grid-template-columns: repeat(3, minmax(9rem, 1fr));
        margin-inline: calc(var(--page-pad) * -1);
        padding-inline: var(--page-pad);
        scrollbar-width: none;
    }

    .timeline::-webkit-scrollbar {
        display: none;
    }

    .venues {
        grid-template-columns: 1fr;
    }

    .venue-card {
        min-height: 26rem;
        padding: 1.6rem;
    }

    .venue-card__index {
        margin-bottom: 4rem;
    }

    .venue-card > a {
        right: 1.6rem;
        bottom: 1.7rem;
        left: 1.6rem;
    }

    .details-section__photo {
        min-height: 34rem;
    }

    .dress-code {
        grid-template-columns: 1fr;
    }

    .story-strip {
        display: flex;
        overflow-x: auto;
        margin-inline: 0;
        padding-right: var(--page-pad);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .story-strip::-webkit-scrollbar {
        display: none;
    }

    .story-strip > * {
        width: 82vw;
        min-width: 82vw;
        scroll-snap-align: center;
    }

    .story-photo--wide,
    .story-strip blockquote,
    .story-photo:not(.story-photo--wide) {
        min-height: 29rem;
    }

    .hotel-card {
        grid-template-columns: 2.4rem 1fr;
        gap: 0.8rem;
        align-items: start;
        padding: 1.5rem 0;
    }

    .hotel-card__actions {
        grid-column: 2;
    }

    .gift-card {
        padding: 2rem 1.4rem;
    }

    .gift-card h2 {
        font-size: clamp(2.8rem, 14vw, 4.3rem);
    }

    .rsvp-form-card {
        padding: 1.5rem;
    }

    .attendance-options {
        grid-template-columns: 1fr;
    }

    .attendance-choice > span {
        min-height: 5rem;
    }

    .pdf-dialog {
        width: 100vw;
        max-width: none;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
    }

    .pdf-dialog__bar a {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .reveal {
        transform: none;
        opacity: 1;
    }
}
