@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400&family=Mrs+Saint+Delafield&family=DM+Sans:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@300;400;500;600;700&family=Pinyon+Script&display=swap');

:root {
    --paper: #f6f4ef;
    --ink: #242421;
    --muted: #6b6963;
    --line: #cecbc2
}
* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8
}
a {
    color: inherit
}
button, a {
    -webkit-tap-highlight-color: transparent
}
button {
    font: inherit
}
h1, h2, h3, p {
    margin: 0
}
h1, h2, h3, .serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    line-height: 1.1
}
nav {
    height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    border-bottom: 1px solid var(--line)
}
.brand {
    font-family: 'Le-Jour-Serif', Georgia, serif;
    font-size: 25px;
    text-decoration: none
}
.navlinks {
    display: flex;
    gap: 26px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase
}
.navlinks a {
    text-decoration: none
}
.navlinks a:hover {
    text-decoration: underline;
    text-underline-offset: 5px
}
.nombres {
    font-family: "Cormorant SC", serif;
    font-weight: 300;
    line-height: 1.1
}
.eyebrow {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 400;
    font-family: 'Cormorant Garamond', Georgia, serif;
}
.amp {
    font-style: italic;
    font-size: .65em;
    display: block;
    line-height: .85;
    margin: 10px 0
}
.date {
    font-size: 16px;
    letter-spacing: 3px
}
.place {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase
}
.photo-note {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-family: 'Cormorant Garamond', Cormorant Garamond, serif;
    font-size: 24px;
    font-style: italic
}
.scroll {
    margin-top: 50px;
    font-size: 10px;
    letter-spacing: 2px;
    text-decoration: none
}
.scroll span {
    display: block;
    font-size: 24px;
    margin-top: 12px
}
.intro {
    text-align: center;
    max-width: 670px;
    margin: auto;
    padding: 105px 28px
}
.intro h2 {
    font-size: 44px;
    margin: 25px 0
}
.intro p {
    max-width: 400px;
    margin: 0 auto;
    color: var(--muted)
}
.rule {
    width: 1px;
    height: 60px;
    background: var(--line);
    margin: 40px auto 0
}
.section {
    padding: 90px 24px
}
.section-head {
    text-align: center;
    margin-bottom: 55px
}
.section-head h2 {
    font-size: 56px;
    margin-top: 15px
}
.day {
    background: #eae8e2
}
.events {
    max-width: 950px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto
}
.event {
    text-align: center;
    padding: 15px 40px 30px
}
.event + .event {
    border-left: 1px solid #c6c2b9
}
.time {
    font-size: 36px;
    font-family: 'Cormorant Garamond', Georgia, serif
}
.event h3 {
    font-size: 37px;
    margin: 22px 0
}
.event p {
    color: var(--muted)
}
.venue {
    font-size: 15px;
    color: var(--ink) !important;
    min-height: 55px
}
.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 25px;
    border: 1px solid var(--ink);
    background: transparent;
    text-decoration: none;
    letter-spacing: 1.5px;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s
}
.btn:hover {
    background: var(--ink);
    color: var(--paper)
}
.event .btn {
    margin-top: 28px
}
.timezone {
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--muted);
    margin-top: 38px
}
.details {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px 90px
}
.detail {
    text-align: center;
    border-top: 1px solid var(--line);
    padding-top: 30px
}
.detail .number {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--muted)
}
.detail h3 {
    font-size: 38px;
    margin: 19px 0
}
.detail p {
    max-width: 300px;
    margin: 0 auto 22px;
    color: var(--muted)
}
.detail strong {
    font-weight: 400;
    color: var(--ink)
}
.texto-especial {
    color: #B8860B;
}
.soon {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
    padding: 8px
}
.photo-strip {
    height: 430px;
    overflow: hidden;
    position: relative
}
.photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%;
    filter: grayscale(1) brightness(.58)
}
.photo-strip p {
    position: absolute;
    inset: auto 0 clamp(30px, calc(4vw + 40px), 46px);
    margin: 0;
    color: white;
    font-size: clamp(36px, 5vw, 65px);
    font-style: italic;
    text-align: center;
    padding-inline: 20px;
}
.rsvp {
    background: #242421;
    color: var(--paper);
    text-align: center
}
.rsvp h2 {
    font-size: 76px;
    margin: 22px 0
}
.rsvp p {
    max-width: 350px;
    margin: 0 auto;
    color: #cecbc2
}
.rsvp .btn {
    color: var(--paper);
    border-color: #aaa79e;
    margin: 28px 8px 0
}
.rsvp .btn:hover {
    background: var(--paper);
    color: var(--ink)
}
.rsvp .primary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper)
}
.rsvp .small {
    font-size: 12px;
    margin-top: 20px
}
.rsvp .pending {
    border: 1px solid #55554f;
    margin: 35px auto 0;
    padding: 18px;
    max-width: 350px
}
.pending span {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase
}
.pending p {
    font-size: 12px;
    margin-top: 5px
}
.footer {
    text-align: center;
    padding: 75px 20px 40px
}
.footer h2 {
    font-size: 57px;
    margin: 15px 0 20px
}
.footer .end {
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--muted);
    margin-top: 45px
}
dialog {
    max-width: 410px;
    width: calc(100% - 40px);
    padding: 36px;
    background: var(--paper);
    border: 1px solid var(--line);
    text-align: center
}
dialog::backdrop {
    background: #0008
}
dialog h2 {
    font-size: 34px;
    margin-bottom: 20px
}
dialog .btn {
    margin: 8px 0;
    width: 100%
}
:focus-visible {
    outline: 2px solid #907f5e;
    outline-offset: 5px
}
@media(max-width:640px) {
    nav {
        height: 58px;
        padding: 0 22px
    }
    .navlinks {
        gap: 17px;
        font-size: 9px
    }
    .navlinks .desktop {
        display: none
    }
    .photo-note {
        display: none
    }
    .amp {
        display: inline;
        font-size: .65em;
        margin: 0 8px
    }
    .date {
        font-size: 15px;
        letter-spacing: 2.5px
    }
    .place {
        color: gris;
        font-size: 13px
    }
    .scroll {
        margin-top: 32px;
        font-size: 9px
    }
    .scroll span {
        margin-top: 2px
    }
    .intro {
        padding: 75px 30px
    }
    .intro h2 {
        font-size: 37px
    }
    .section {
        padding: 70px 25px
    }
    .section-head {
        margin-bottom: 40px
    }
    .section-head h2 {
        font-size: 45px
    }
    .events, .details {
        display: block
    }
    .event {
        padding: 5px 5px 42px
    }
    .event + .event {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 35px;
        padding-bottom: 0
    }
    .event h3 {
        font-size: 35px;
        margin: 17px 0
    }
    .venue {
        min-height: 0
    }
    .timezone {
        margin-top: 35px
    }
    .detail {
        margin-bottom: 43px;
        padding-top: 24px
    }
    .detail:last-child {
        margin-bottom: 0
    }
    .detail h3 {
        font-size: 35px
    }
    .photo-strip {
        height: 390px
    }
    .photo-strip img {
        object-position: 48% 28%
    }
    .rsvp h2 {
        font-size: 62px
    }
    .rsvp .btn {
        display: flex;
        max-width: 300px;
        margin: 25px auto 0
    }
    .footer h2 {
        font-size: 48px
    }
}
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
    * {
        transition: none !important
    }
}

nav {
    background: #111;
    color: #eeeae3;
    border-bottom: 1px solid #ffffff21
}
.hero {
    display: block;
    position: relative;
    isolation: isolate;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    background: #0c0c0b;
    color: #f6f4ef;
    overflow: hidden
}
#invitation .intro-flower {
  display: block;
  width: clamp(60px, 12vw, 110px);
  height: auto;
  margin: 28px auto 24px;
}
.hero-photo {
    position: absolute;
    inset: 0;
    min-height: 0;
    z-index: -2
}
.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 36%;
    filter: grayscale(1) brightness(.62)
}
.hero-photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0001 0%, #0002 18%, #0007 46%, #000b 77%, #0c0c0b 100%)
}
.hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 720px;
    min-height: inherit;
    margin-inline: auto;
    padding: 24px clamp(16px, 4vw, 30px);
    text-align: center;
}
.hero-copy > .eyebrow {
    position: static;
    letter-spacing: 1.8px;
    font-size: 17px;
    margin-bottom: 32px
}
.hero h1 {
    font-size: 106px;
    letter-spacing: -2px;
    line-height: .9;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center
}
.hero h1 > span:not(.and-script) {
    display: block
}
.hero h1 .and-script em{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 65px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: .8;
    margin: 20px 0 22px;
	font-style: normal;
}
.invite-line {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin: 33px 0 32px
}
.invite-line2 {
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin: 33px 0 32px;
}
.cover-date {
    width: 100%;
    max-width: 410px
}
.month {
    font-family: 'Cormorant Garamond', Georgia, serif;
    text-transform: uppercase;
    font-size: 33px;
    line-height: 1.1
}
.date-row {
    display: grid;
    grid-template-columns: 1fr 110px 1fr;
    align-items: center;
    gap: 20px;
    margin: 8px 0
}
.date-row > span {
    border-block: 1px solid #eee9de;
    padding: 10px 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 21px;
    text-transform: uppercase;
    white-space: nowrap
}

.date-row strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: 88px;
    line-height: 1
}
.date-row .date-year {
  display: inline-block;
  font: inherit;
  transform: scale(1.6);
  transform-origin: center;
}
.year {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 35px;
    line-height: 1.3
}
.cover-location {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 28px
}
.hero .scroll {
    font-size: 24px;
    margin-top: 20px;
    line-height: 1
}
.intro {
    max-width: none;
    background: #0c0c0b;
    color: #f0ede5;
    padding-top: 80px;
    padding-bottom: 85px
}
.intro p {
    color: #bdbbb5
}
.intro .eyebrow {
    color: #d3cfc5
}
.intro .rule {
    background: #ffffff40
}
.day {
    background: radial-gradient(ellipse at 5% 10%, #ffffff12, transparent 55%), radial-gradient(ellipse at 100% 85%, #9c9c9c16, transparent 60%), linear-gradient(135deg, #262626, #151515 55%, #30302f);
    color: #f4f0e8
}
.day .event p, .day .timezone {
    color: #c7c4bd
}
.day .event .venue {
    color: #f4f0e8 !important
}
.day .btn {
    border-color: #c1bdb4;
    color: #f4f0e8
}
.day .btn:hover {
    background: #f4f0e8;
    color: #171717
}
.day .event + .event {
    border-color: #ffffff35
}
.rsvp {
    background: radial-gradient(ellipse at 0% 0%, #ffffff0d, transparent 60%), #0b0b0b
}
.footer {
    background: #eae8e2
}
@media(min-width:900px) {
    .hero-photo img {
        object-position: 50% 40%;
        opacity: .72
    }
    .hero:after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg, #0006, transparent 45%, #0005)
    }
}
@media(max-width:640px) {
    .hero-photo img {
        object-position: 50% 29%;
        filter: grayscale(1) brightness(.7)
    }
    .hero-copy > .eyebrow {
        font-size: 16px;
        letter-spacing: 1px;
        margin-bottom: 32px
    }
    .hero h1 {
        font-size: clamp(78px, 23vw, 105px);
        letter-spacing: -1px
    }
    .hero h1 .and-script em {
        font-size: 45px;
        margin: 15px 0 20px
    }
    .invite-line {
        font-size: 10px;
        letter-spacing: 1px;
        margin: 29px 0
    }
    .invite-line2 {
        font-size: 12px;
        letter-spacing: 1px;
        margin: 29px 0
    }
    .cover-date {
        max-width: 335px
    }
    .month {
        font-size: 29px
    }
    .date-row {
        grid-template-columns: minmax(0, 1fr) clamp(55px, 20vw, 82px) minmax(0, 1fr);
        gap: 13px
    }
    .date-row > span {
        font-size: clamp(14px, 4vw, 17px);
        padding: 9px 0
    }
    .date-row strong {
        font-size: 76px
    }
    .year {
        font-size: 20px
    }
    .cover-location {
        font-size: 10px;
        margin-top: 27px
    }
    .hero .scroll {
        margin-top: 17px
    }
    .intro {
        padding-top: 65px
    }
}

@media (max-height: 760px) {
    .hero h1 {
        font-size: clamp(48px, 11svh, 84px);
    }

    .hero h1 .and-script em {
        font-size: clamp(28px, 6svh, 48px);
    }

    .hero .invite-line,
    .hero .invite-line2 {
        margin-block: 16px;
    }

    .hero .date-row strong {
        font-size: clamp(48px, 10svh, 76px);
    }

    .hero .cover-location,
    .hero .scroll {
        margin-top: 16px;
    }
}
