@import url('https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:wght@500&display=swap');

:root {
    --paper: #faf6f0;
    --ink: #102c4c;
    --gold: #c59025;
    --muted: #344255
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.5
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.05
}

h2 {
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -.035em
}

h3 {
    font-size: 30px
}

a {
    color: inherit;
    text-decoration: none
}

button,
input {
    font: inherit
}

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

button {
    cursor: pointer
}

header {
    position: relative;
    z-index: 20;
    background: var(--paper);
    padding: 0 3.8%
}

nav {
    max-width: 1440px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 2.4%;
    gap: 22px;
    min-height: 92px;
    border-bottom: 1px solid #92a8bb
}

.brand {
    width: 215px;
    flex-shrink: 0
}

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

.navlinks {
    display: flex;
    gap: clamp(10px, 2vw, 30px);
    font-size: 15px;
    align-items: center
}

.navlinks a {
    position: relative;
    padding: 8px 0
}

.navlinks a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 280ms ease
}

.navlinks a:hover,
.navlinks a:focus-visible {
    color: #a77b26
}

.navlinks a:hover::after,
.navlinks a:focus-visible::after,
.navlinks a[aria-current=page]::after {
    transform: scaleX(1)
}

.navlinks a[aria-current=page] {
    color: var(--ink)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    background: #264e73;
    color: white;
    border: 1px solid #123757;
    border-radius: 40px;
    padding: 9px 26px;
    box-shadow: inset 0 1px 8px #15365433;
    transition: .25s
}

.btn:hover {
    transform: translateY(-3px);
    background: #2a5777
}

.outline {
    background: transparent;
    color: var(--ink)
}

.outline:hover {
    color: var(--ink);
    background: #f4ead8
}

.menu {
    display: none;
    background: none;
    border: 0;
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 25px
}

.eyebrow,
.date,
.location,
.section-label {
    font-family: Georgia, serif;
    text-transform: uppercase;
    letter-spacing: .28em;
    font-weight: 500
}

.eyebrow {
    font-size: 11px
}

.homehero {
    text-align: center;
    padding: 12px 20px 15px;
    max-width: 1280px;
    margin: auto
}

.homehero .chapel {
    width: min(64%, 740px);
    display: block;
    margin: auto
}

.shoe {
    width: 58px;
    display: block;
    margin: 0 auto
}

.luck {
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 32px;
    line-height: 1;
    display: block;
    margin: auto;
    padding: 0;
    transition: .3s
}

.homehero .luck {
    margin: -2px auto 8px
}

.luck:hover {
    transform: rotate(-20deg)
}

.homehero .eyebrow {
    font-size: 23px;
    letter-spacing: .35em;
    margin: 6px 0
}

.names {
    max-width: 700px;
    width: 60%;
    margin: 0 auto 6px
}

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

.date {
    font-size: clamp(16px, 2.1vw, 27px)
}

.location {
    font-size: clamp(12px, 1.5vw, 18px);
    margin-top: 14px
}

.sprig {
    width: 300px;
    max-width: 45%;
    display: block;
    margin: 18px auto
}

.count {
    display: flex;
    justify-content: center;
    gap: 23px;
    margin-top: 25px
}

.count div {
    min-width: 55px
}

.count strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1
}

.count small {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase
}

.schedule {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1040px;
    gap: 0;
    margin: 12px auto 30px;
    align-items: start;
    text-align: center;
}

.schedule article {
    padding: 0 20px
}

.schedule article+article {
    border-left: 1px solid #d1b690
}

.schedule h3 {
    font-family: Georgia, serif;
    font-size: 17px;
    letter-spacing: .23em;
    text-transform: uppercase;
    margin: 5px 0 8px
}

.schedule p {
    font-family: Georgia, serif;
    font-size: 18px;
    color: #102c4c
}

.schedule .time {
    font-size: 18px;
    margin: 6px 0;
    letter-spacing: .13em
}

.symbol {
    height: 55px;
    max-width: 80px;
    object-fit: contain
}

.homehero>.btn {
    min-width: 225px;
    font-size: 20px;
    padding: 10px 28px
}

/* The meadow file is 2170×725 with a transparent margin.
   The photograph itself is y=188..502. The frame shows that band,
   scaled a little so the parallax shift never uncovers the empty edge. */
.meadow-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2170 / 314;
    line-height: 0;
    background: #e4c27a
}

.meadow {
    position: absolute;
    left: 0;
    width: 100%;
    height: 230.89%;
    top: -59.87%;
    object-fit: fill;
    transform: translate3d(0, var(--meadow-shift, 0px), 0) scale(1.12);
    transform-origin: 50% 47.6%;
    will-change: transform
}

.intro {
    text-align: center;
    max-width: 1100px;
    margin: auto;
    padding: 30px 24px 5px
}

.intro h1,
.script {
    font-family: Allura, 'Brush Script MT', cursive;
    font-size: clamp(65px, 9vw, 110px);
    font-weight: 400;
    line-height: 1.1;
    margin: 5px 0 10px
}

.intro p {
    font-size: 20px;
    font-style: italic
}

.intro .sprig {
    width: 240px
}

.intro .btn {
    margin-top: 18px
}

.story-title {
    text-align: center;
    padding: 14px 20px 0
}

.story-title img {
    width: min(730px, 90%)
}

.story-title .eyebrow {
    font-size: clamp(11px, 1.5vw, 18px);
    margin: 0 0 18px
}

.story-lead {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    max-width: 1110px;
    margin: auto;
    padding: 0 35px;
    gap: 25px
}

.story-lead img {
    width: 100%
}

.story-lead div {
    border-left: 1px solid #d5a72c;
    padding: 13px 35px
}

.story-lead h2 {
    font-family: Georgia, serif;
    font-size: 23px;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 14px
}

.story-lead p {
    font-size: 16px
}

.section-label {
    text-align: center;
    font-size: 21px;
    letter-spacing: .25em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 18px 0
}

.section-label:before,
.section-label:after {
    content: '';
    width: 100px;
    height: 1px;
    background: #d8ad53
}

.timeline {
    max-width: 1130px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 0 25px
}

.timeline article {
    text-align: center;
    position: relative
}

.milestone {
    height: 120px;
    max-width: 100%;
    object-fit: contain
}

.dot {
    width: 16px;
    height: 16px;
    border: 2px solid #dfaa24;
    border-radius: 50%;
    margin: 4px auto 14px;
    background: var(--paper);
    position: relative
}

.timeline article:not(:last-child) .dot:after {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    width: calc((100vw - 140px) / 5 - 10px);
    max-width: 196px;
    border-top: 2px dotted #53768a;
    z-index: -1
}

.timeline h3 {
    font-family: Georgia, serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 5px
}

.timeline i {
    display: block;
    font-size: 16px
}

.timeline p {
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    margin: 8px 0
}

.quote {
    background: radial-gradient(ellipse, #f8e7b7 0%, transparent 70%);
    text-align: center;
    margin: 32px auto 5px;
    padding: 14px;
    font-size: 22px;
    font-style: italic
}

.quote em {
    font-family: Allura, cursive;
    font-size: 55px
}

.story-bottom {
    display: block;
    width: 100%
}

.messages {
    max-width: 680px;
    margin: 20px auto 45px;
    display: grid;
    gap: 12px;
    padding: 20px
}

.bubble {
    max-width: 85%;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 18px;
    background: #e7e6df;
    color: #344552;
    justify-self: start
}

.bubble.mine {
    background: #dce9f2;
    justify-self: end
}

.wedding-art {
    width: min(600px, 90%);
    display: block;
    margin: auto
}

.venue-photo img {
    width: 100%;
    display: block
}

.venue-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 35px auto
}

.section {
    max-width: 1120px;
    margin: auto;
    padding: 28px 28px 55px
}

.center {
    text-align: center
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 10px
}

.card {
    display: grid;
    grid-template-columns: 51% 49%;
    background: #fbf7f1;
    border: 1px solid #e7dfd0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 7px #796b5510
}

.card img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block
}

.card .inside {
    padding: 18px
}

.card.plain {
    grid-template-columns: 1fr
}

.card .mark {
    width: 120px;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    display: block;
    margin: 0 0 10px
}

.card h3,
.stay-options h3 {
    font-family: Georgia, serif;
    font-size: 18px;
    letter-spacing: .15em;
    text-transform: uppercase;
    line-height: 1.35
}

.card p {
    font-size: 15px;
    color: #233344;
    margin: 12px 0
}

.card .inside .btn {
    margin-top: 4px
}

.card .inside .link {
    display: block;
    margin-top: 12px
}

.card .shot-credit {
    display: block;
    margin-top: 8px;
    font-family: Georgia, serif;
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: none;
    color: var(--muted)
}

.card .shot-credit a {
    color: inherit
}

.link {
    font-family: Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: #a06b0a
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center
}

.split img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover
}

.split h2 {
    font-size: 37px;
    letter-spacing: 0
}

.staybox {
    padding: 20px;
    border: 1px solid #cdd3c2;
    border-radius: 14px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.stay-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 38px
}

.stay-options article {
    padding: 25px;
    border-top: 1px solid #d9cfb7;
    background: #fbf7f1
}

.stay-options p {
    margin: 12px 0;
    color: var(--muted)
}

.rsvp-split {
    max-width: 1100px;
    margin: 25px auto 60px;
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 25px;
    align-items: center;
    padding: 0 35px
}

.rsvp-split>div {
    text-align: center;
    border-right: 1px solid #d8cbb7;
    padding: 15px 30px
}

.form {
    background: #faf6ee;
    border: 1px solid #d8dedc;
    padding: 35px;
    border-radius: 20px
}

.rsvp-split .form {
    background: #f4eee6;
    border: 0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: none
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.field {
    display: grid;
    gap: 5px;
    font-family: Georgia, serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .09em
}

.field input,
.password {
    min-width: 0;
    width: 100%;
    padding: 12px;
    border: 1px solid #9aa8b8;
    border-radius: 5px;
    background: #fcfaf5;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: 0
}

.choice {
    margin: 22px 0;
    display: grid;
    gap: 6px;
    font-size: 14px
}

.choice input {
    width: auto;
    margin-right: 6px
}

.form .btn {
    width: auto;
    float: right;
    margin-top: 5px
}

.feedback {
    font-size: 13px;
    margin-top: 12px
}

.form .feedback {
    clear: both;
    padding-top: 15px
}

.faq {
    max-width: 780px;
    margin: 0 auto
}

.faq details {
    border: 1px solid #d8cbb7;
    border-radius: 7px;
    margin-bottom: 10px;
    padding: 14px 20px;
    background: #fbf7f0
}

.faq summary {
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: .09em;
    text-transform: uppercase;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 15px
}

.faq summary:after {
    content: '+';
    color: var(--gold)
}

.faq details[open] summary:after {
    content: '−'
}

.faq details p {
    color: var(--muted);
    text-align: left;
    margin: 12px 0
}

.gallery {
    max-width: 680px;
    margin: 32px auto 0;
    padding: 38px;
    background: #f6eee2;
    border: 1px solid #d8cbb7;
    border-radius: 12px
}

.gallery input {
    max-width: 340px;
    margin: 15px auto;
    display: block
}

.gallery .btn {
    margin: 8px
}

.previews {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px
}

.previews img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px
}

footer {
    text-align: center;
    padding: 25px 20px 90px 20px;
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid #dfd3bc;
    background: url(/art/meadow.png);
    background-size: cover;
    background-position: 0px -20px;
}

footer p {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase
}

footer a {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px
}

.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    background: #183e60;
    color: white;
    padding: 14px 24px;
    border-radius: 15px;
    box-shadow: 0 6px 30px #0002;
    max-width: 90vw;
    text-align: center
}

.reveal {
    --stagger: 0
}

.s1 {
    --stagger: 1
}

.s2 {
    --stagger: 2
}

.s3 {
    --stagger: 3
}

.s4 {
    --stagger: 4
}

.s5 {
    --stagger: 5
}

.s6 {
    --stagger: 6
}

.js .reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: calc(var(--stagger, 0) * 75ms)
}

.js .reveal.is-in {
    opacity: 1;
    transform: none
}

.reveal-load {
    animation: rise .9s ease both
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media (max-width: 1000px) {
    .navlinks {
        gap: 14px;
        font-size: 12px
    }

    .brand {
        width: 165px
    }

    nav {
        padding: 12px 1%;
        gap: 12px
    }

    .timeline article:not(:last-child) .dot:after {
        display: none
    }
}

@media (max-width: 850px) {
    .menu {
        display: block
    }

    nav {
        min-height: 65px
    }

    .navlinks {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 24px;
        flex-direction: column;
        align-items: center
    }

    .navlinks.open {
        display: flex;
        z-index: 99;
        box-shadow: 0 10px 15px #0001
    }

    nav>.btn {
        display: none
    }

    .homehero .chapel,
    .names {
        width: 85%
    }

    .homehero .eyebrow {
        font-size: 16px
    }

    .story-lead,
    .split,
    .rsvp-split,
    .cards {
        grid-template-columns: 1fr
    }

    .story-lead {
        gap: 5px
    }

    .story-lead div {
        border: 0;
        padding: 10px
    }

    .story-lead img {
        max-width: 460px;
        margin: auto
    }

    .rsvp-split {
        padding: 0 20px
    }

    .rsvp-split>div {
        border-right: 0
    }

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

@media (max-width: 520px) {

    .schedule,
    .fields,
    .card,
    .timeline {
        grid-template-columns: 1fr
    }

    .schedule {
        gap: 18px
    }

    .schedule article+article {
        border-left: 0;
        border-top: 1px solid #d9cfb7;
        padding-top: 18px
    }

    .staybox {
        flex-direction: column;
        align-items: start
    }

    .form {
        padding: 22px
    }

    .count {
        gap: 13px
    }

    .timeline {
        max-width: 360px
    }

    .timeline p {
        text-align: center
    }

    .card img:not(.mark) {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3
    }

    .story-title .eyebrow {
        letter-spacing: .14em
    }

    .date {
        letter-spacing: .15em
    }

    .section-label:before,
    .section-label:after {
        width: 28px
    }

    .section-label {
        font-size: 16px
    }

    .quote em {
        font-size: 42px
    }
}

.venue-story {
    max-width: 1100px;
    margin: 12px auto 56px;
    padding: 0 28px
}

.venue-photos {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 12px;
    margin-top: 12px
}

.venue-photos img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 12px
}

.venue-photos>img {
    height: 452px
}

.venue-photos.pair img {
    height: 340px
}

.venue-photos .stack {
    display: grid;
    gap: 12px
}

.venue-photos.pair {
    grid-template-columns: 1fr 1fr
}

.venue-copy {
    max-width: 740px;
    margin: 22px auto 0;
    text-align: center
}

.venue-copy p {
    margin: 12px 0;
    font-size: 17px
}

.venue-copy .address {
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 14px
}

.credit {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted)
}

.venue-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px
}

@media (max-width: 700px) {

    .venue-photos,
    .venue-photos.pair {
        grid-template-columns: 1fr
    }

    .venue-photos img,
    .venue-photos>img,
    .venue-photos.pair img {
        height: 220px
    }
}

@media (max-width: 400px) {
    .stay-options {
        grid-template-columns: 1fr
    }
}

.wedding .wedding-art {
    margin: 4px auto 36px
}

.wedding .schedule {
    gap: 22px;
    max-width: 980px;
    margin: 8px auto 48px;
    padding: 0 24px
}

.wedding .schedule article {
    background: #fbf7f1;
    border: 1px solid #e7dfd0;
    border-top: 2px solid #d8ad53;
    border-radius: 12px;
    padding: 22px 18px 20px;
    box-shadow: 0 2px 7px #796b5510
}

.wedding .schedule article+article {
    border-left: 1px solid #e7dfd0;
    border-top: 2px solid #d8ad53;
    padding-top: 22px
}

.wedding .schedule h3 {
    margin: 8px 0 6px
}

.wedding .schedule .time {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 34px;
    letter-spacing: .02em;
    line-height: 1;
    margin: 8px 0 2px;
    color: #a77b26
}

.wedding .venue-photo {
    margin: 8px 0 40px
}

.wedding .venue-story {
    background: #fbf7f1;
    border: 1px solid #e7dfd0;
    border-radius: 14px;
    box-shadow: 0 2px 7px #796b5510;
    padding: 32px 32px 36px;
    margin: 20px auto 28px
}

.wedding .venue-story:last-child {
    margin-bottom: 64px
}

.wedding .section-label {
    margin-top: 0
}

.wedding .venue-copy {
    text-align: left;
    max-width: 680px
}

.wedding .venue-copy p {
    margin: 0 0 14px
}

.wedding .venue-copy .when {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 30px;
    line-height: 1.15;
    margin: 22px 0 16px
}

.wedding .venue-copy .address {
    text-align: center;
    margin: 18px 0 20px
}

.wedding .venue-copy .callout,
.wedding .venue-copy p.callout {
    background: #f4ead8;
    border-left: 3px solid #d8ad53;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 8px 0 18px
}

.wedding .venue-copy .callout p {
    margin: 0 0 10px
}

.wedding .venue-copy .callout p:last-child {
    margin-bottom: 0
}

.wedding .divider {
    width: 168px;
    max-width: 42%;
    margin: 12px auto 8px
}

.wedding .venue-actions {
    margin-top: 8px
}

.wedding .venue-copy .link {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 3px
}

@media (max-width: 700px) {
    .wedding .venue-story {
        margin: 16px 14px;
        padding: 22px 16px 26px
    }

    .wedding .venue-story:last-child {
        margin-bottom: 40px
    }

    .wedding .schedule {
        padding: 0 14px;
        margin-bottom: 28px;
        gap: 14px
    }

    .wedding .venue-copy .when {
        font-size: 26px
    }

    .wedding .schedule .time {
        font-size: 30px
    }
}

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

    .reveal-load,
    .js .reveal,
    .js .reveal.is-in {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none
    }

    .meadow {
        transform: scale(1.12)
    }

    .navlinks a::after {
        transition: none
    }
}