/* =========================================================
   ROOT
========================================================= */

:root {
    --paper: #eee9df;
    --paper-light: #f5f1e8;
    --paper-dark: #dfd8cb;

    --ink: #171714;
    --ink-soft: #47443e;
    --ink-muted: #777168;

    --dark: #11110f;
    --white: #f7f3e9;

    --line: rgba(23, 23, 20, 0.72);
    --line-soft: rgba(23, 23, 20, 0.18);

    --serif: "Old Standard TT", Georgia, serif;
    --display: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;

    --ease-out:
        cubic-bezier(0.16, 1, 0.3, 1);

    --ease-smooth:
        cubic-bezier(0.65, 0, 0.35, 1);

    --content:
        1240px;
}


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
    background: var(--paper);
}


body {
    margin: 0;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(255, 255, 255, 0.5),
            transparent 35%
        ),
        var(--paper);

    color: var(--ink);

    font-family: var(--serif);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


body.is-locked {
    overflow: hidden;
}


button,
input,
textarea {
    font: inherit;
}


button {
    color: inherit;
}


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


a {
    color: inherit;
}


::selection {
    background: var(--ink);
    color: var(--paper);
}


/* =========================================================
   PAPER TEXTURE
========================================================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: 9999;

    opacity: 0.18;

    background-image:
        repeating-radial-gradient(
            circle at 0 0,
            transparent 0,
            transparent 2px,
            rgba(0, 0, 0, 0.035) 3px
        );

    background-size: 6px 6px;

    mix-blend-mode: multiply;
}


.paper-noise {
    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.24;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 0, 0, 0.08) 0 0.5px,
            transparent 0.8px
        );

    background-size: 5px 5px;

    mix-blend-mode: multiply;
}


/* =========================================================
   OPENING
========================================================= */

.opening {
    position: fixed;
    inset: 0;

    z-index: 1000;

    display: grid;
    place-items: center;

    min-height: 100svh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 40%,
            #f2eee6 0%,
            #d8d0c2 58%,
            #c8bead 100%
        );

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease;
}


.opening[hidden] {
    display: none;
}


.opening.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.opening__ambient {
    position: absolute;

    width: 42vw;
    aspect-ratio: 1;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.22;

    pointer-events: none;
}


.opening__ambient--one {
    top: -15%;
    left: -10%;

    background: #fff;
}


.opening__ambient--two {
    right: -10%;
    bottom: -20%;

    background: #8f7d65;
}


.opening__content {
    position: relative;

    z-index: 2;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding:
        max(20px, env(safe-area-inset-top))
        20px
        max(24px, env(safe-area-inset-bottom));
}


.opening__eyebrow {
    margin: 0 0 18px;

    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.25em;

    color: rgba(23, 23, 20, 0.64);
}


.opening__scene {
    position: relative;

    width:
        min(
            390px,
            calc(100vw - 50px)
        );

    perspective: 1800px;
}


.opening__shadow {
    position: absolute;

    left: 8%;
    right: 8%;
    bottom: -24px;

    height: 40px;

    border-radius: 50%;

    background: rgba(41, 34, 27, 0.28);

    filter: blur(20px);

    transform:
        scaleX(0.9);

    transition:
        transform 1.2s var(--ease-out),
        opacity 1.2s ease;
}


.opening__paper {
    position: relative;

    width: 100%;

    aspect-ratio: 0.71;

    transform-style: preserve-3d;

    transform:
        rotateZ(-2deg)
        translateZ(0);

    animation:
        paperFloat 5s ease-in-out infinite;

    transition:
        transform 1.3s var(--ease-out);
}


@keyframes paperFloat {
    0%,
    100% {
        transform:
            rotateZ(-2deg)
            translateY(0);
    }

    50% {
        transform:
            rotateZ(-1.4deg)
            translateY(-7px);
    }
}


.opening__inside,
.opening__cover {
    position: absolute;
    inset: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(29, 28, 25, 0.28);

    background:
        linear-gradient(
            110deg,
            rgba(255, 255, 255, 0.2),
            transparent 42%
        ),
        var(--paper-light);

    box-shadow:
        0 25px 80px
        rgba(42, 34, 24, 0.19);
}


.opening__inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 35px 28px;

    text-align: center;

    transform: translateZ(-2px);
}


.opening__inside::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 0, 0, 0.12),
            transparent
        );
}


.opening__inside-top {
    position: absolute;

    top: 22px;
    left: 20px;
    right: 20px;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: -0.025em;
}


.opening__inside-rule {
    position: absolute;

    left: 20px;
    right: 20px;
    top: 49px;

    height: 3px;

    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}


.opening__inside-kicker {
    margin: 0 0 15px;

    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.35em;
}


.opening__inside-names {
    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: var(--display);
    font-size: clamp(42px, 13vw, 62px);
    font-weight: 500;

    line-height: 0.74;
}


.opening__ampersand {
    padding: 10px 0 8px;

    font-style: italic;
    font-size: 0.65em;
}


.opening__inside-date {
    margin: 25px 0 0;

    padding-top: 11px;

    border-top:
        1px solid
        var(--ink);

    font-family: var(--sans);
    font-size: 11px;

    letter-spacing: 0.18em;
}


.opening__inside-bottom {
    position: absolute;

    bottom: 25px;

    font-family: var(--serif);
    font-size: 10px;

    font-style: italic;
}


.opening__cover {
    z-index: 3;

    transform-origin: left center;

    backface-visibility: hidden;

    padding: 17px;

    transition:
        transform 1.35s
        cubic-bezier(0.72, 0, 0.2, 1),
        filter 1.2s ease;
}


.cover__meta {
    display: flex;
    justify-content: space-between;

    font-family: var(--sans);
    font-size: 6px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.15em;
}


.cover__rule {
    height: 1px;

    margin: 7px 0;

    background: var(--ink);
}


.cover__rule--top {
    height: 3px;

    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);

    background: transparent;
}


.cover__masthead {
    text-align: center;

    font-family: var(--display);
    font-size:
        clamp(
            31px,
            9vw,
            44px
        );

    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -0.045em;
}


.cover__small {
    margin: 19px 0 7px;

    text-align: center;

    font-family: var(--sans);
    font-size: 7px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.32em;
}


.cover__headline {
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: var(--display);
    font-size:
        clamp(
            46px,
            13vw,
            66px
        );

    font-weight: 600;

    line-height: 0.74;

    letter-spacing: -0.045em;
}


.cover__amp {
    padding:
        10px
        0
        7px;

    font-size: 0.58em;
    font-style: italic;
    font-weight: 400;
}


.cover__subheadline {
    max-width: 280px;

    margin: 21px auto 0;

    text-align: center;

    font-size: 12px;

    line-height: 1.32;
}


.cover__date {
    width: max-content;

    margin:
        16px
        auto
        18px;

    padding:
        7px
        14px;

    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);

    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.18em;
}


.cover__columns {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    padding-top: 12px;

    border-top:
        1px solid
        var(--line-soft);
}


.cover__columns > div + div {
    padding-left: 16px;

    border-left:
        1px solid
        var(--line-soft);
}


.cover__columns strong {
    display: block;

    margin-bottom: 4px;

    font-family: var(--sans);
    font-size: 6px;
    letter-spacing: 0.18em;
}


.cover__columns p {
    margin: 0;

    font-size: 8px;
    line-height: 1.35;
}


.cover__footer {
    position: absolute;

    left: 17px;
    right: 17px;
    bottom: 13px;

    padding-top: 7px;

    border-top:
        1px solid
        var(--ink);

    text-align: center;

    font-size: 7px;
    font-style: italic;
}


.opening__button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width:
        min(
            390px,
            calc(100vw - 50px)
        );

    margin-top: 43px;

    padding:
        14px
        17px;

    border: 1px solid var(--ink);

    background: var(--ink);
    color: var(--paper-light);

    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    cursor: pointer;

    transition:
        transform 0.35s var(--ease-out),
        background 0.35s ease,
        color 0.35s ease;
}


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

    background: transparent;
    color: var(--ink);
}


.opening__button:active {
    transform: translateY(0);
}


.opening__button:disabled {
    cursor: default;
}


.opening__button-arrow {
    font-size: 17px;

    transition:
        transform 0.35s
        var(--ease-out);
}


.opening__button:hover
.opening__button-arrow {
    transform: translateX(5px);
}


.opening__hint {
    margin: 12px 0 0;

    font-family: var(--sans);
    font-size: 7px;

    text-transform: uppercase;
    letter-spacing: 0.16em;

    opacity: 0.5;
}


/* OPEN ANIMATION */

.opening.is-opening
.opening__paper {
    animation: none;

    transform:
        rotateZ(0)
        scale(1.035);
}


.opening.is-opening
.opening__cover {
    transform:
        rotateY(-150deg);

    filter:
        brightness(0.82);
}


.opening.is-opening
.opening__shadow {
    transform:
        scaleX(1.25);

    opacity: 0.15;
}


.opening.is-opening
.opening__inside {
    animation:
        innerReveal
        1.3s
        var(--ease-out)
        forwards;
}


@keyframes innerReveal {
    0% {
        transform:
            scale(0.96)
            translateZ(-2px);

        filter:
            brightness(0.78);
    }

    60% {
        transform:
            scale(1.025)
            translateZ(-2px);
    }

    100% {
        transform:
            scale(1)
            translateZ(-2px);

        filter:
            brightness(1);
    }
}


/* =========================================================
   SITE
========================================================= */

.site {
    opacity: 0;

    transition:
        opacity 0.8s ease;
}


.site.is-visible {
    opacity: 1;
}


.section-paper {
    position: relative;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.12)
        ),
        var(--paper);
}


.section-inner {
    width:
        min(
            calc(100% - 48px),
            var(--content)
        );

    margin-inline: auto;

    padding:
        clamp(75px, 9vw, 135px)
        0;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    position: sticky;
    top: 0;

    z-index: 100;

    min-height: 54px;

    display: grid;
    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 20px;

    padding:
        0
        clamp(18px, 4vw, 55px);

    border-bottom:
        1px solid
        var(--line);

    background:
        rgba(238, 233, 223, 0.88);

    backdrop-filter:
        blur(13px);

    -webkit-backdrop-filter:
        blur(13px);
}


.topbar__logo,
.topbar__rsvp {
    text-decoration: none;
}


.topbar__logo {
    font-family: var(--display);
    font-weight: 700;
    font-size: 19px;
}


.topbar__issue {
    margin: 0;

    text-align: center;

    font-family: var(--sans);
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 0.18em;
}


.topbar__rsvp {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.14em;

    border-bottom:
        1px solid
        currentColor;
}


/* =========================================================
   COMMON
========================================================= */

.section-kicker {
    margin:
        0
        0
        14px;

    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.27em;
}


.section-heading {
    max-width: 750px;

    margin-bottom:
        clamp(45px, 7vw, 80px);
}


.section-heading h2 {
    margin: 0;

    font-family: var(--display);
    font-size:
        clamp(
            52px,
            8vw,
            110px
        );

    font-weight: 500;

    line-height: 0.82;

    letter-spacing: -0.055em;
}


.section-heading h2 em {
    display: block;

    font-weight: 400;
}


.section-heading--center {
    margin-inline: auto;

    text-align: center;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding:
        clamp(26px, 5vw, 60px)
        0
        clamp(70px, 8vw, 120px);
}


.newspaper {
    width:
        min(
            calc(100% - 36px),
            1380px
        );

    margin-inline: auto;
}


.newspaper__edition {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    align-items: center;

    padding:
        8px
        3px;

    border-top:
        1px solid
        var(--ink);

    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.16em;
}


.newspaper__edition span:nth-child(2) {
    text-align: center;
}


.newspaper__edition span:last-child {
    text-align: right;
}


.newspaper__masthead {
    padding:
        12px
        0
        8px;

    border-top:
        3px double
        var(--ink);

    border-bottom:
        3px double
        var(--ink);

    text-align: center;

    font-family: var(--display);
    font-size:
        clamp(
            54px,
            9.6vw,
            142px
        );

    font-weight: 700;

    line-height: 0.85;

    letter-spacing: -0.055em;
}


.newspaper__info {
    display: grid;
    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    padding: 9px 3px;

    border-bottom:
        1px solid
        var(--ink);

    font-family: var(--sans);
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}


.newspaper__info strong {
    font-size: 8px;
    font-weight: 600;
}


.newspaper__info span:last-child {
    text-align: right;
}


.hero__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        clamp(115px, 15vw, 190px);

    gap:
        clamp(
            20px,
            4vw,
            60px
        );

    padding:
        clamp(32px, 5vw, 75px)
        0
        clamp(25px, 3vw, 40px);
}


.hero__headline {
    margin: 0;

    display: flex;
    align-items: baseline;
    flex-wrap: wrap;

    gap:
        0
        0.15em;

    max-width: 950px;

    font-family: var(--display);
    font-size:
        clamp(
            68px,
            11.3vw,
            172px
        );

    font-weight: 500;

    line-height: 0.72;

    letter-spacing: -0.065em;
}


.hero__headline-and {
    font-size: 0.55em;
    font-style: italic;
    font-weight: 400;
}


.hero__headline small {
    flex-basis: 100%;

    margin-top: 0.26em;

    font-size: 0.41em;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: -0.015em;
}


.hero__lead {
    max-width: 610px;

    margin:
        clamp(30px, 5vw, 65px)
        0
        0;

    font-size:
        clamp(
            17px,
            1.5vw,
            23px
        );

    line-height: 1.45;
}


.hero__date-card {
    align-self: stretch;

    min-height: 245px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--ink);

    text-align: center;
}


.hero__date-card > span:first-child {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.3em;
}


.hero__date-card strong {
    margin:
        9px
        0
        -8px;

    font-family: var(--display);
    font-size:
        clamp(
            72px,
            9vw,
            126px
        );

    font-weight: 400;

    line-height: 0.9;
}


.hero__date-card > span:not(:first-child) {
    font-size: 14px;
    font-style: italic;
}


.hero__date-card small {
    margin-top: 8px;

    font-family: var(--sans);
    font-size: 9px;

    letter-spacing: 0.2em;
}


.hero__photo {
    position: relative;

    height:
        clamp(
            430px,
            66vw,
            900px
        );

    margin: 0;

    overflow: hidden;

    background: #c5c0b7;
}


.hero__photo img {
    width: 100%;
    height: 114%;

    object-fit: cover;

    object-position: center 48%;

    filter:
        grayscale(100%)
        contrast(1.05);

    transform:
        scale(1.02)
        translateY(-5%);
}


.hero__photo::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.3),
            transparent 32%
        );
}


.hero__photo figcaption {
    position: absolute;

    z-index: 2;

    left: 20px;
    right: 20px;
    bottom: 16px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    color: #fff;

    font-family: var(--sans);
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}


.hero__bottom-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    border-bottom:
        1px solid
        var(--ink);
}


.hero__bottom-grid article {
    padding:
        24px
        clamp(15px, 3vw, 35px)
        24px
        0;
}


.hero__bottom-grid article + article {
    padding-left:
        clamp(
            15px,
            3vw,
            35px
        );

    border-left:
        1px solid
        var(--line);
}


.hero__bottom-grid h2 {
    margin:
        0
        0
        8px;

    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.22em;
}


.hero__bottom-grid p {
    margin: 0;

    font-size:
        clamp(
            13px,
            1.1vw,
            16px
        );

    line-height: 1.45;
}


/* =========================================================
   TICKER
========================================================= */

.news-ticker {
    overflow: hidden;

    border-top:
        1px solid
        var(--ink);

    border-bottom:
        1px solid
        var(--ink);

    background: var(--ink);
    color: var(--paper);

    white-space: nowrap;
}


.news-ticker__track {
    width: max-content;

    display: flex;
    align-items: center;

    gap: 32px;

    padding: 13px 0;

    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;

    letter-spacing: 0.17em;

    animation:
        ticker 30s linear infinite;
}


.news-ticker__track i {
    font-style: normal;
}


@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   STORY
========================================================= */

.story__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(280px, 1.2fr)
        minmax(230px, 0.75fr);

    gap:
        clamp(
            25px,
            4vw,
            65px
        );

    align-items: start;
}


.story__copy {
    column-count: 1;
}


.story__copy p {
    margin:
        0
        0
        1.5em;

    font-size:
        clamp(
            15px,
            1.25vw,
            18px
        );

    line-height: 1.62;
}


.dropcap::first-letter {
    float: left;

    margin:
        5px
        8px
        0
        0;

    font-family: var(--display);
    font-size: 76px;

    line-height: 0.65;
}


.story__photo {
    margin: 0;
}


.story__photo img {
    aspect-ratio: 0.76;

    object-fit: cover;

    filter:
        grayscale(100%)
        contrast(1.04);
}


.story__photo figcaption {
    margin-top: 8px;

    font-family: var(--sans);
    font-size: 7px;

    text-transform: uppercase;
    letter-spacing: 0.15em;
}


.story__quote {
    padding:
        28px
        0;

    border-top:
        1px solid
        var(--ink);

    border-bottom:
        1px solid
        var(--ink);
}


.story__quote > span {
    display: block;

    height: 48px;

    font-family: var(--display);
    font-size: 90px;

    line-height: 0.8;
}


.story__quote blockquote {
    margin:
        16px
        0
        25px;

    font-family: var(--display);
    font-size:
        clamp(
            26px,
            2.6vw,
            39px
        );

    font-style: italic;

    line-height: 1.05;
}


.story__quote small {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.18em;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown-section {
    padding:
        clamp(
            70px,
            9vw,
            130px
        )
        24px;

    background: var(--dark);
    color: var(--paper);
}


.countdown-heading {
    margin-bottom: 35px;

    text-align: center;
}


.countdown-heading p {
    margin: 0;

    font-family: var(--sans);
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 0.25em;
}


.countdown {
    width:
        min(
            1100px,
            100%
        );

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        rgba(255, 255, 255, 0.45);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.45);
}


.countdown__item {
    padding:
        clamp(
            22px,
            4vw,
            45px
        )
        12px;

    text-align: center;
}


.countdown__item + .countdown__item {
    border-left:
        1px solid
        rgba(255, 255, 255, 0.2);
}


.countdown__item strong {
    display: block;

    font-family: var(--display);
    font-size:
        clamp(
            49px,
            8vw,
            105px
        );

    font-weight: 400;

    line-height: 0.86;
}


.countdown__item span {
    display: block;

    margin-top: 12px;

    font-family: var(--sans);
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 0.2em;

    opacity: 0.72;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline__list {
    border-top:
        1px solid
        var(--ink);
}


.timeline__item {
    display: grid;

    grid-template-columns:
        clamp(
            90px,
            13vw,
            170px
        )
        clamp(
            55px,
            8vw,
            100px
        )
        minmax(0, 1fr);

    align-items: center;

    min-height: 150px;

    border-bottom:
        1px solid
        var(--ink);
}


.timeline__time {
    font-family: var(--display);
    font-size:
        clamp(
            36px,
            4.7vw,
            64px
        );

    line-height: 1;
}


.timeline__number {
    align-self: stretch;

    display: grid;
    place-items: center;

    border-left:
        1px solid
        var(--line-soft);

    border-right:
        1px solid
        var(--line-soft);

    font-family: var(--sans);
    font-size: 8px;

    letter-spacing: 0.15em;
}


.timeline__content {
    display: grid;

    grid-template-columns:
        minmax(170px, 0.7fr)
        minmax(200px, 1fr);

    align-items: center;

    gap: 35px;

    padding:
        25px
        clamp(
            20px,
            4vw,
            60px
        );
}


.timeline__content h3 {
    margin: 0;

    font-family: var(--display);
    font-size:
        clamp(
            31px,
            4vw,
            55px
        );

    font-weight: 500;

    line-height: 0.95;
}


.timeline__content p {
    margin: 0;

    max-width: 470px;

    font-size:
        clamp(
            13px,
            1.15vw,
            16px
        );

    line-height: 1.5;
}


/* =========================================================
   LOCATION
========================================================= */

.section-dark {
    background: var(--dark);
    color: var(--paper);
}


.location__grid {
    min-height: 730px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(330px, 0.8fr);
}


.location__photo {
    min-height: 640px;

    overflow: hidden;
}


.location__photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(100%)
        contrast(1.05);

    opacity: 0.82;
}


.location__content {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(
            50px,
            8vw,
            115px
        );

    border-left:
        1px solid
        rgba(255, 255, 255, 0.2);
}


.location__number {
    position: absolute;

    top: 35px;
    right: 35px;

    margin: 0;

    font-family: var(--sans);
    font-size: 8px;

    opacity: 0.55;
}


.location__content h2 {
    max-width: 520px;

    margin:
        5px
        0
        23px;

    font-family: var(--display);
    font-size:
        clamp(
            51px,
            6vw,
            88px
        );

    font-weight: 500;

    line-height: 0.86;

    letter-spacing: -0.04em;
}


.location__address {
    margin: 0;

    font-family: var(--sans);
    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: 0.17em;
}


.location__description {
    max-width: 430px;

    margin:
        35px
        0;

    font-size:
        clamp(
            15px,
            1.4vw,
            19px
        );

    line-height: 1.5;

    opacity: 0.76;
}


.editorial-link {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        14px
        0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.4);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.4);

    text-decoration: none;

    font-family: var(--sans);
    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 0.16em;
}


/* =========================================================
   DRESSCODE
========================================================= */

.dresscode__grid {
    display: grid;

    grid-template-columns:
        1fr
        minmax(280px, 0.7fr);

    gap:
        45px
        80px;

    align-items: end;
}


.dresscode__headline h2 {
    margin: 0;

    font-family: var(--display);
    font-size:
        clamp(
            80px,
            13vw,
            185px
        );

    font-weight: 500;

    line-height: 0.7;

    letter-spacing: -0.065em;
}


.dresscode__headline h2 em {
    display: block;

    margin-left: 0.55em;

    font-weight: 400;
}


.dresscode__description {
    max-width: 470px;

    padding-bottom: 5px;
}


.dresscode__description p {
    margin: 0;

    font-size:
        clamp(
            15px,
            1.35vw,
            19px
        );

    line-height: 1.55;
}


.palette {
    grid-column:
        1 / -1;

    display: grid;
    grid-template-columns:
        repeat(5, 1fr);

    min-height:
        clamp(
            105px,
            15vw,
            190px
        );

    border:
        1px solid
        var(--ink);
}


.palette__color + .palette__color {
    border-left:
        1px solid
        rgba(255, 255, 255, 0.28);
}


.palette__color--1 {
    background: #ebe5d8;
}


.palette__color--2 {
    background: #b8aa91;
}


.palette__color--3 {
    background: #6f5c48;
}


.palette__color--4 {
    background: #373735;
}


.palette__color--5 {
    background: #161614;
}


/* =========================================================
   NOTE
========================================================= */

.note-section {
    padding:
        clamp(
            80px,
            10vw,
            150px
        )
        24px;

    background: #dad2c3;
}


.note {
    width:
        min(
            840px,
            100%
        );

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        auto 1fr;

    align-items: start;

    gap:
        clamp(
            25px,
            6vw,
            70px
        );
}


.note__number {
    font-family: var(--display);
    font-size:
        clamp(
            44px,
            6vw,
            80px
        );

    font-style: italic;

    line-height: 1;
}


.note p {
    margin: 0;

    font-family: var(--display);
    font-size:
        clamp(
            31px,
            4.5vw,
            62px
        );

    line-height: 1.04;

    letter-spacing: -0.025em;
}


/* =========================================================
   RSVP
========================================================= */

.rsvp__heading {
    max-width: 800px;

    margin-bottom:
        clamp(
            50px,
            7vw,
            90px
        );
}


.rsvp__heading h2 {
    margin: 0;

    font-family: var(--display);
    font-size:
        clamp(
            74px,
            11vw,
            155px
        );

    font-weight: 500;

    line-height: 0.72;

    letter-spacing: -0.06em;
}


.rsvp__heading h2 em {
    display: block;

    margin-left: 0.55em;

    font-weight: 400;
}


.rsvp__heading > p:last-child {
    max-width: 440px;

    margin:
        43px
        0
        0;

    font-size:
        clamp(
            15px,
            1.3vw,
            18px
        );

    line-height: 1.5;
}


.rsvp-form {
    max-width: 890px;

    margin-left: auto;
}


.form-field {
    margin:
        0
        0
        55px;

    padding: 0;

    border: 0;
}


.form-field > label,
.form-field > legend {
    display: block;

    width: 100%;

    margin-bottom: 16px;

    padding-bottom: 8px;

    border-bottom:
        1px solid
        var(--ink);

    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.19em;
}


.form-field input[type="text"],
.form-field input[type="number"],
.form-field textarea {
    width: 100%;

    border: 0;
    border-radius: 0;
    outline: 0;

    background: transparent;
    color: var(--ink);

    font-family: var(--display);
    font-size:
        clamp(
            28px,
            4vw,
            47px
        );

    line-height: 1.1;
}


.form-field input[type="text"] {
    padding:
        10px
        0
        13px;

    border-bottom:
        1px solid
        var(--line-soft);
}


.form-field textarea {
    display: block;

    min-height: 140px;

    padding:
        15px
        0;

    border-bottom:
        1px solid
        var(--line-soft);

    resize: vertical;
}


.form-field input::placeholder,
.form-field textarea::placeholder {
    color:
        rgba(
            23,
            23,
            20,
            0.27
        );
}


.attendance-options {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}


.choice {
    position: relative;

    cursor: pointer;
}


.choice input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


.choice span {
    min-height: 125px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 16px;

    border:
        1px solid
        var(--line-soft);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s var(--ease-out);
}


.choice:hover span {
    transform:
        translateY(-3px);

    border-color: var(--ink);
}


.choice input:checked + span {
    background: var(--ink);
    color: var(--paper);

    border-color: var(--ink);
}


.choice strong {
    font-family: var(--display);
    font-size: 31px;
    font-weight: 500;
}


.choice small {
    font-family: var(--sans);
    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    opacity: 0.65;
}


.number-control {
    width:
        min(
            100%,
            360px
        );

    display: grid;

    grid-template-columns:
        60px 1fr 60px;

    border:
        1px solid
        var(--ink);
}


.number-control__button {
    border: 0;

    background: transparent;

    font-family: var(--sans);
    font-size: 22px;

    cursor: pointer;
}


.number-control__button:first-child {
    border-right:
        1px solid
        var(--line-soft);
}


.number-control__button:last-child {
    border-left:
        1px solid
        var(--line-soft);
}


.number-control input {
    height: 60px;

    text-align: center;

    appearance: textfield;
    -moz-appearance: textfield;

    font-family: var(--sans) !important;
    font-size: 17px !important;
}


.number-control input::-webkit-inner-spin-button,
.number-control input::-webkit-outer-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}


.form-field.is-disabled {
    opacity: 0.35;
}


.drink-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        1px;

    background: var(--line-soft);

    border:
        1px solid
        var(--line-soft);
}


.drink-options label {
    position: relative;

    background: var(--paper);

    cursor: pointer;
}


.drink-options input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


.drink-options span {
    min-height: 68px;

    display: flex;
    align-items: center;

    padding:
        15px
        20px;

    font-size:
        clamp(
            14px,
            1.2vw,
            17px
        );

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.drink-options span::before {
    content: "";

    flex: 0 0 auto;

    width: 13px;
    height: 13px;

    margin-right: 13px;

    border:
        1px solid
        var(--ink);
}


.drink-options input:checked + span {
    background: var(--ink);
    color: var(--paper);
}


.drink-options input:checked + span::before {
    background:
        var(--paper);

    box-shadow:
        inset 0 0 0 3px
        var(--ink);
}


.submit-button {
    position: relative;

    width: 100%;

    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        0
        24px;

    border:
        1px solid
        var(--ink);

    background:
        var(--ink);

    color:
        var(--paper);

    font-family:
        var(--sans);

    font-size: 10px;
    font-weight: 500;

    text-transform:
        uppercase;

    letter-spacing: 0.15em;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.submit-button:hover:not(:disabled) {
    background:
        transparent;

    color:
        var(--ink);
}


.submit-button__arrow {
    font-size: 20px;
}


.submit-button__loader {
    display: none;

    width: 17px;
    height: 17px;

    border:
        1px solid
        currentColor;

    border-right-color:
        transparent;

    border-radius: 50%;

    animation:
        spinner
        0.7s
        linear
        infinite;
}


.submit-button.is-loading
.submit-button__arrow {
    display: none;
}


.submit-button.is-loading
.submit-button__loader {
    display: block;
}


.submit-button:disabled {
    cursor: wait;
}


@keyframes spinner {
    to {
        transform:
            rotate(360deg);
    }
}


.form-status {
    min-height: 28px;

    margin-top: 18px;

    font-family:
        var(--sans);

    font-size: 10px;

    line-height: 1.5;
}


.form-status.is-success {
    color: #3e5a35;
}


.form-status.is-error {
    color: #8f3129;
}


.hp-field {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip:
        rect(
            0,
            0,
            0,
            0
        ) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================================
   FINAL
========================================================= */

.final {
    position: relative;

    min-height: 100svh;

    display: grid;
    place-items: center;

    padding:
        90px
        25px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.38),
            rgba(0, 0, 0, 0.56)
        ),
        url(
            "https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1800&q=90"
        )
        center /
        cover
        no-repeat;

    color:
        var(--paper);

    text-align:
        center;
}


.final__inner {
    width:
        min(
            900px,
            100%
        );
}


.final__names {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    margin:
        35px
        0;

    font-family:
        var(--display);

    font-size:
        clamp(
            80px,
            15vw,
            190px
        );

    font-weight:
        500;

    line-height:
        0.68;

    letter-spacing:
        -0.06em;
}


.final__names em {
    padding:
        0.17em
        0;

    font-size:
        0.5em;

    font-weight:
        400;
}


.final__date {
    font-family:
        var(--sans);

    font-size:
        9px;

    text-transform:
        uppercase;

    letter-spacing:
        0.22em;
}


.final__message {
    margin:
        35px
        0
        0;

    font-family:
        var(--display);

    font-size:
        clamp(
            24px,
            3vw,
            38px
        );

    font-style:
        italic;
}


.final__heart {
    margin-top: 25px;

    font-size: 25px;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity
        0.9s
        var(--ease-out),
        transform
        0.9s
        var(--ease-out);
}


.reveal.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   FOCUS
========================================================= */

:focus-visible {
    outline:
        2px solid
        currentColor;

    outline-offset:
        4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

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


    .story__quote {
        grid-column:
            1 / -1;

        max-width:
            600px;
    }


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


    .location__photo {
        min-height:
            68vw;
    }


    .location__content {
        min-height:
            580px;

        border-left:
            0;

        border-top:
            1px solid
            rgba(
                255,
                255,
                255,
                0.2
            );
    }


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


    .dresscode__description {
        max-width:
            620px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .section-inner {
        width:
            calc(
                100% - 32px
            );

        padding:
            80px
            0;
    }


    .opening__eyebrow {
        margin-bottom:
            13px;
    }


    .opening__scene {
        width:
            min(
                320px,
                calc(
                    100vw - 42px
                )
            );
    }


    .opening__button {
        width:
            min(
                320px,
                calc(
                    100vw - 42px
                )
            );

        margin-top:
            35px;
    }


    .opening__cover {
        padding:
            14px;
    }


    .cover__headline {
        font-size:
            clamp(
                42px,
                15vw,
                55px
            );
    }


    .cover__subheadline {
        margin-top:
            16px;

        font-size:
            10px;
    }


    .cover__date {
        margin:
            13px
            auto;
    }


    .cover__columns {
        gap:
            11px;

        padding-top:
            9px;
    }


    .cover__columns > div + div {
        padding-left:
            11px;
    }


    .cover__columns p {
        font-size:
            7px;
    }


    .topbar {
        min-height:
            49px;

        padding:
            0
            15px;
    }


    .topbar__issue {
        font-size:
            6px;
    }


    .newspaper {
        width:
            calc(
                100% - 24px
            );
    }


    .newspaper__edition {
        font-size:
            6px;

        letter-spacing:
            0.1em;
    }


    .newspaper__edition span:nth-child(2) {
        display:
            none;
    }


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


    .newspaper__masthead {
        padding:
            13px
            0
            10px;

        font-size:
            clamp(
                45px,
                15vw,
                72px
            );

        line-height:
            0.82;
    }


    .newspaper__info {
        font-size:
            6px;

        letter-spacing:
            0.08em;
    }


    .newspaper__info strong {
        font-size:
            6px;
    }


    .hero__layout {
        grid-template-columns:
            1fr;

        padding-top:
            38px;
    }


    .hero__headline {
        font-size:
            clamp(
                62px,
                22vw,
                100px
            );

        line-height:
            0.72;
    }


    .hero__lead {
        max-width:
            90%;

        margin-top:
            30px;

        font-size:
            16px;
    }


    .hero__date-card {
        min-height:
            auto;

        display:
            grid;

        grid-template-columns:
            auto 1fr auto auto;

        gap:
            13px;

        padding:
            15px
            18px;

        text-align:
            left;
    }


    .hero__date-card strong {
        margin: 0;

        font-size:
            48px;

        text-align:
            center;
    }


    .hero__date-card small {
        margin: 0;
    }


    .hero__photo {
        height:
            118vw;

        max-height:
            680px;
    }


    .hero__photo figcaption {
        font-size:
            6px;
    }


    .hero__photo figcaption
    span:last-child {
        display:
            none;
    }


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


    .hero__bottom-grid article {
        padding:
            20px
            0;
    }


    .hero__bottom-grid article + article {
        padding-left:
            0;

        border-left:
            0;

        border-top:
            1px solid
            var(--line-soft);
    }


    .section-heading h2 {
        font-size:
            clamp(
                51px,
                17vw,
                82px
            );
    }


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


    .story__photo {
        grid-row:
            1;
    }


    .story__photo img {
        aspect-ratio:
            0.82;
    }


    .story__quote {
        grid-column:
            auto;
    }


    .countdown-section {
        padding:
            65px
            15px;
    }


    .countdown {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .countdown__item:nth-child(3) {
        border-left:
            0;

        border-top:
            1px solid
            rgba(
                255,
                255,
                255,
                0.2
            );
    }


    .countdown__item:nth-child(4) {
        border-top:
            1px solid
            rgba(
                255,
                255,
                255,
                0.2
            );
    }


    .countdown__item strong {
        font-size:
            58px;
    }


    .timeline__item {
        grid-template-columns:
            78px 42px 1fr;

        min-height:
            145px;
    }


    .timeline__time {
        font-size:
            30px;
    }


    .timeline__content {
        display:
            block;

        padding:
            24px
            0
            24px
            17px;
    }


    .timeline__content h3 {
        margin-bottom:
            10px;

        font-size:
            31px;
    }


    .timeline__content p {
        font-size:
            12px;

        line-height:
            1.45;
    }


    .location__photo {
        min-height:
            95vw;
    }


    .location__content {
        min-height:
            auto;

        padding:
            75px
            25px;
    }


    .location__number {
        top:
            20px;

        right:
            20px;
    }


    .location__content h2 {
        font-size:
            55px;
    }


    .dresscode__headline h2 {
        font-size:
            clamp(
                79px,
                25vw,
                125px
            );
    }


    .dresscode__headline h2 em {
        margin-left:
            0.15em;
    }


    .palette {
        min-height:
            105px;
    }


    .note {
        grid-template-columns:
            1fr;

        gap:
            20px;
    }


    .note p {
        font-size:
            clamp(
                35px,
                11vw,
                52px
            );
    }


    .rsvp__heading h2 {
        font-size:
            clamp(
                75px,
                22vw,
                110px
            );
    }


    .rsvp__heading h2 em {
        margin-left:
            0.15em;
    }


    .rsvp-form {
        margin:
            0;
    }


    .form-field {
        margin-bottom:
            45px;
    }


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


    .choice span {
        min-height:
            95px;
    }


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


    .final__names {
        font-size:
            clamp(
                86px,
                27vw,
                150px
            );
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .opening__scene,
    .opening__button {
        width:
            calc(
                100vw - 36px
            );
    }


    .opening__hint {
        display:
            none;
    }


    .cover__columns {
        display:
            none;
    }


    .cover__date {
        margin-top:
            18px;
    }


    .hero__headline {
        font-size:
            58px;
    }


    .timeline__item {
        grid-template-columns:
            70px
            34px
            1fr;
    }


    .timeline__content {
        padding-left:
            12px;
    }


    .timeline__content p {
        font-size:
            11px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    html {
        scroll-behavior:
            auto;
    }


    *,
    *::before,
    *::after {
        scroll-behavior:
            auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }


    .reveal {
        opacity:
            1;

        transform:
            none;
    }

}