@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600&family=Great+Vibes&family=Parisienne&display=swap');
:root{--paper:#fcf9f2;--ink:#38443c;--muted:#707568;--gold:#aa8c54;--line:#dcd4bf;--sage:#edf0e6;--rose:#b37976}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:#e8e9df;color:var(--ink);font:14px/1.75 'DM Sans',sans-serif}body:before{content:"";position:fixed;inset:0;background:radial-gradient(ellipse at 15% 15%,#f5eee4 0,transparent 45%),radial-gradient(ellipse at 85% 80%,#d1dccd 0,transparent 50%);z-index:-2}.ambient{position:fixed;width:440px;opacity:.16;filter:blur(2px);pointer-events:none;z-index:-1}.ambient-left{left:-90px;top:10vh;transform:rotate(20deg)}.ambient-right{right:-95px;bottom:-60px;transform:rotate(190deg)}.desktop-note{position:fixed;left:calc(50% + 265px);top:48%;width:180px;color:#78816f;font-size:10px;letter-spacing:3px;text-transform:uppercase}.desktop-note span{display:block;font:italic 28px/1.2 'Cormorant Garamond',serif;text-transform:none;letter-spacing:0;margin-bottom:18px}.invitation{width:100%;max-width:430px;margin:40px auto;background:var(--paper);box-shadow:0 20px 90px #38443c1a;overflow:hidden;position:relative}.invitation:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23b8ac90' opacity='.18' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.hero{position:relative;min-height:760px;text-align:center;padding:80px 42px 44px;isolation:isolate}.hero:before,.hero:after{content:"";position:absolute;border:1px solid var(--line);inset:24px;z-index:-1;border-radius:200px 200px 3px 3px}.hero:after{inset:30px;border-color:#e6dfce}.floral{position:absolute;width:230px;pointer-events:none;z-index:1}.floral-top{top:-57px;left:-66px;transform:rotate(85deg)}.floral-bottom{bottom:-43px;right:-67px;transform:rotate(-92deg)}.eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:3px;color:var(--muted);margin:0 0 20px}.monogram{font:24px 'Cormorant Garamond',serif;letter-spacing:3px;color:var(--gold);margin:4px 0 30px}.hero h1{font:58px/.99 'Cormorant Garamond',serif;font-weight:400;overflow-wrap:anywhere;margin:0}.hero h1 span{display:block}.hero h1 em{display:block;font:38px/1.25 'Parisienne',cursive;color:var(--gold);margin:8px 0}.script{font:32px/1.25 'Parisienne',cursive;color:var(--rose);margin:28px 0 18px}.intro{font:italic 18px/1.65 'Cormorant Garamond',serif;max-width:250px;margin:0 auto 28px}.date-line{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px 0}.date-line span{font-size:10px;letter-spacing:2px;text-transform:uppercase;min-width:64px}.date-line strong{font:50px/1 'Cormorant Garamond',serif;padding:0 19px;border-inline:1px solid var(--line);font-weight:400}.year{font-size:10px;letter-spacing:5px;color:var(--gold)}a{color:inherit}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--ink);color:#fff;text-decoration:none;border:1px solid var(--ink);padding:14px 23px;font:10px/1.6 'DM Sans',sans-serif;letter-spacing:1.7px;text-transform:uppercase;cursor:pointer;min-height:46px}.hero .button{margin-top:28px}.scroll-hint{display:block;font-size:9px;letter-spacing:2px;margin-top:18px;color:var(--muted)}.section{padding:49px 32px;text-align:center;position:relative}.section h2{font:38px/1.12 'Cormorant Garamond',serif;font-weight:400;margin:0 0 22px}.section h2 em{font-weight:400;color:var(--rose)}.ornament{display:flex;gap:14px;align-items:center;justify-content:center;color:var(--gold);margin:0 auto 24px;font-size:17px}.ornament:before,.ornament:after{content:"";width:44px;height:1px;background:var(--line)}.guest-card{background:var(--sage);padding:36px 30px}.guest-name{font:30px/1.25 'Cormorant Garamond',serif;margin:0 0 13px;overflow-wrap:anywhere}.guest-card p:last-child{font-size:12px;margin-bottom:0}.portrait{padding:30px 32px 0}.portrait img{display:block;width:100%;height:390px;object-fit:cover;border-radius:180px 180px 4px 4px}.portrait figcaption{text-align:center;margin-top:12px;font:24px 'Parisienne',cursive;color:var(--rose)}figure{margin:0}.timeline{margin:30px 0 0;text-align:left}.moment{display:grid;grid-template-columns:45px 1fr;gap:16px;position:relative;padding-bottom:29px}.moment:not(:last-child):before{content:"";position:absolute;left:21px;top:44px;bottom:0;border-left:1px solid var(--line)}.moment:last-child{padding-bottom:0}.moment-number{width:43px;height:43px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font:italic 20px 'Cormorant Garamond',serif;color:var(--gold)}.moment h3{font:25px/1.2 'Cormorant Garamond',serif;font-weight:500;margin:3px 0 7px}.moment p{font-size:12px;margin:4px 0;color:var(--muted)}.moment .time{color:var(--rose);font-size:10px;letter-spacing:1px}.map-link{display:inline-block;font-size:10px;text-underline-offset:5px;letter-spacing:1px;margin-top:8px}.dress-code{border-block:1px solid var(--line);padding:23px 0;margin-top:32px}.dress-code p{margin:0;font:italic 22px 'Cormorant Garamond',serif}.couple-detail{margin-top:25px}.couple-detail img{width:110px;height:140px;object-fit:cover;border-radius:70px 70px 3px 3px}.couple-detail h3{font:27px 'Cormorant Garamond',serif;margin:10px 0}.couple-detail p{font-size:12px;white-space:pre-line}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.gallery img{width:100%;height:180px;object-fit:cover}.gallery a:first-child{grid-column:1/-1}.gallery a:first-child img{height:260px;border-radius:150px 150px 0 0}.rsvp{background:#edf0e6}.rsvp form{text-align:left;margin-top:25px}.rsvp label,.rsvp legend{font-size:11px}.rsvp fieldset{border:0;padding:0;margin:0 0 22px}.choice{display:flex;align-items:center;gap:10px;padding:11px 0;cursor:pointer}.choice input{accent-color:var(--ink);width:17px;height:17px;margin:0}.field{display:block;margin-bottom:18px}.field span{display:block;margin-bottom:7px}.field select,.field textarea{font:13px/1.6 'DM Sans',sans-serif;border:1px solid #c7cebe;border-radius:0;padding:12px;width:100%;background:#ffffff75;color:var(--ink)}textarea{resize:vertical}.rsvp .button{width:100%}.notice{background:#fff;padding:15px;margin:16px 0;font-size:12px;border-left:3px solid #798969;text-align:left}.notice.error{border-color:var(--rose)}.notice ul{padding-left:17px}.ticket{border:1px solid var(--line);padding:25px 20px;margin-top:25px;background:#fffdf8}.ticket .eyebrow{margin-bottom:9px}.ticket h3{font:30px 'Cormorant Garamond',serif;margin:0 0 22px}.qr{background:white;padding:16px;max-width:220px;margin:0 auto 18px}.qr svg{display:block;width:100%;height:auto}.ticket code{font:11px 'DM Sans',sans-serif;letter-spacing:2px}.small{font-size:11px;color:var(--muted)}.closing{padding:25px 32px 45px;text-align:center}.closing .script{font-size:39px}.closing .eyebrow{margin-top:25px;font-size:8px}.preview-note{padding:9px 16px;text-align:center;font-size:10px;background:var(--ink);color:white;position:relative}.preview-note a{text-underline-offset:3px}:focus-visible{outline:2px solid var(--rose);outline-offset:4px}@media(min-width:800px){.invitation{border-radius:220px 220px 4px 4px}.preview-note{padding-top:30px}.invitation:has(.preview-note){border-radius:4px}.hero{min-height:780px}}@media(max-width:900px){.desktop-note{display:none}}@media(max-width:480px){.invitation{margin:0;box-shadow:none}.ambient{display:none}.hero{padding-inline:36px;min-height:740px}.hero h1{font-size:54px}.section{padding-inline:27px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{body{background:white}.ambient,.desktop-note,.rsvp,.scroll-hint,.hero .button,.preview-note{display:none}.invitation{margin:0 auto;box-shadow:none}.section{break-inside:avoid}}

/* The photograph and the double frame share the same arched silhouette. */
.invitation.invitation--photo { border-radius: 220px 220px 4px 4px; }
.invitation--photo .preview-note { padding: 12px 16px; border-radius: 0; }
.invitation--photo:has(.preview-note) { border-radius: 4px; }
.hero.hero--photo { min-height: 830px; padding: 345px 45px 57px; color: #fffaf0; }
.hero--photo .cover-photo { position: absolute; inset: 31px; border-radius: 190px 190px 3px 3px; overflow: hidden; z-index: -2; background: #586050; }
.hero--photo .cover-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero--photo .cover-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, rgba(24,35,27,.08) 30%, rgba(24,35,27,.7) 60%, rgba(24,35,27,.92) 100%); }
.hero--photo::before, .hero--photo::after { border-radius: 200px 200px 3px 3px; z-index: -1; }
.hero--photo::before { inset: 24px; border-color: #bba77c; }
.hero--photo::after { inset: 30px; border-color: #d9c9a6; }
.hero--photo .floral-top { display: none; }
.hero--photo .floral-bottom { width: 165px; right: -48px; bottom: -29px; }
.hero--photo .eyebrow { color: #f1e6d0; font-size: 8px; letter-spacing: 2.5px; margin-bottom: 16px; }
.hero--photo h1 { font-size: 45px; text-shadow: 0 2px 14px #18231b55; }
.hero--photo h1 span { display: inline; }
.hero--photo h1 em { display: inline; font-size: 33px; margin: 0 8px; color: #e5d4af; }
.hero--photo .script { color: #f1dfb9; margin: 22px 0 16px; font-size: 29px; }
.hero--photo .date-line { margin: 18px 0 12px; gap: 8px; }
.hero--photo .date-line strong { border-color: #e5d4af70; padding-inline: 13px; }
.hero--photo .year, .hero--photo .scroll-hint { color: #f1e6d0; }
.hero--photo .button { background: #fcf9f2; color: #38443c; border-color: #fcf9f2; margin-top: 23px; padding-inline: 14px; font-size: 9px; }
.hero--photo .scroll-hint { font-size: 8px; letter-spacing: 1px; }
@media (max-width: 480px) {
    .invitation.invitation--photo { border-radius: 0; }
    .hero.hero--photo { min-height: 790px; padding-top: 310px; padding-inline: 42px; }
    .hero--photo h1 { font-size: 40px; }
}

/* A complete first screen on phones, with the copy anchored below the faces. */
.hero .date-line strong,
.hero .year {
    font-family: 'DM Sans', sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'lnum', 'tnum';
    font-style: normal;
}
.hero .date-line strong { font-size: 36px; font-weight: 500; }
.hero .year { font-size: 14px; font-weight: 500; letter-spacing: 2px; }
.hero--photo .cover-photo::after {
    background: linear-gradient(180deg, transparent 22%, rgba(15,25,19,.12) 40%, rgba(15,25,19,.8) 63%, rgba(15,25,19,.96) 100%);
}
@media (max-width: 600px) {
    .invitation { margin: 0 auto; box-shadow: none; }
    .invitation .preview-note { display: none; }
    .hero, .hero.hero--photo {
        min-height: 100vh;
        min-height: 100svh;
        padding: 200px 42px max(42px, env(safe-area-inset-bottom));
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }
    .hero--photo .cover-photo { inset: 19px; border-radius: 190px 190px 3px 3px; }
    .hero--photo::before { inset: 12px; }
    .hero--photo::after { inset: 18px; }
    .hero--photo .floral-bottom { width: 115px; right: -40px; bottom: -22px; }
    .hero .eyebrow { margin: 0 0 10px; font-size: 9px; letter-spacing: 1.8px; }
    .hero h1 { font-size: clamp(32px, 9vw, 42px); line-height: 1.1; }
    .hero--photo h1 { text-shadow: 0 2px 12px #0008; }
    .hero .script { margin: 15px 0 0; font-size: 29px; }
    .hero--photo .script { color: #fff1d2; }
    .hero .date-line { margin: 14px 0 8px; gap: 9px; }
    .hero .date-line span { font-size: 11px; letter-spacing: 1px; min-width: 58px; }
    .hero .date-line strong { font-size: 34px; padding-inline: 14px; }
    .hero .button { margin-top: 18px; font-size: 10px; min-height: 44px; padding: 12px 15px; }
    .hero .scroll-hint { margin-top: 12px; font-size: 9px; letter-spacing: .7px; }
    .hero--photo .eyebrow, .hero--photo .year, .hero--photo .scroll-hint { color: #fff; }
}
@media (max-width: 600px) and (max-height: 650px) {
    .hero, .hero.hero--photo { padding-top: 120px; padding-bottom: 32px; }
    .hero h1 { font-size: 32px; }
    .hero .script { margin-top: 10px; font-size: 25px; }
    .hero .date-line { margin-top: 10px; margin-bottom: 4px; }
    .hero .date-line strong { font-size: 29px; }
    .hero .button { margin-top: 12px; }
    .hero .scroll-hint { margin-top: 8px; }
}

/* Calligraphic names kept together, with alternating portrait layouts. */
.hero h1.couple-names {
    width: 100%;
    font-family: 'Great Vibes', 'Parisienne', cursive;
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.4;
    font-weight: 400;
    overflow-wrap: normal;
    margin: 0;
}
.hero h1.couple-names .names-line { display: inline-block; white-space: nowrap; }
.hero h1.couple-names em { display: inline; font: inherit; margin: 0; color: inherit; }
.guest-card .invitation-label { font: 34px/1.3 'Great Vibes', 'Parisienne', cursive; color: #8c645e; margin: 4px 0 12px; }
.guest-card .eyebrow { margin-bottom: 18px; }
.couple-detail { margin-top: 32px; }
.couple-detail h3 { font: 27px/1.35 'Cormorant Garamond', serif; color: var(--ink); margin: 0 0 16px; overflow-wrap: anywhere; }
.couple-bio { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; align-items: start; text-align: left; }
.couple-bio img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 80px 80px 4px 4px; }
.couple-bio p { font-size: 12px; line-height: 1.85; margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.couple-detail--bride .couple-bio { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.couple-detail--bride .couple-bio img { grid-column: 2; grid-row: 1; }
.couple-detail--bride .couple-bio p { grid-column: 1; grid-row: 1; }
.couple-detail .couple-bio--text-only { grid-template-columns: 1fr; }
@media (max-width: 360px) {
    .couple-bio { gap: 12px; }
    .couple-bio p { font-size: 12px; line-height: 1.7; }
}
