@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/bodoni-moda.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Jost;
  src: url("assets/jost.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f6f5f1;
  --ink: #252722;
  --muted: #62635d;
  --line: #c9c9c0;
  --control-border: #84867d;
  --error: #973d32;
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --heading: "Playfair Display", Georgia, serif;
  --sans: Jost, Arial, sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: var(--muted) var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
p { text-wrap: pretty; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.16; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); letter-spacing: -.025em; }
h3 { font-size: 1.7rem; }
p + p { margin-top: 1.3rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.eyebrow { margin: 0 0 22px; font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.eyebrow + h2 { margin-top: 0; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: var(--paper); z-index: 10; }
.skip-link:focus { top: 10px; }
.header { position: fixed; inset: 0 0 auto; z-index: 5; min-height: 64px; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgb(246 245 241 / 30%); gap: 24px; color: var(--paper); background: transparent; transition: background-color 700ms ease, color 700ms ease, border-color 700ms ease; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(246 245 241 / 92%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity 700ms ease; }
.header.is-scrolled { color: var(--ink); border-bottom-color: var(--line); }
.header.is-scrolled::before { opacity: 1; }
.header :focus-visible { outline-color: currentColor; }
.wordmark { text-decoration: none; font-family: var(--serif); font-size: 1.4rem; letter-spacing: -.04em; }
.wordmark span { font-size: .75em; margin: 0 .12em; }
nav { display: flex; gap: 38px; }
nav a, .languages, footer { font-size: .75rem; letter-spacing: .08em; }
nav a { text-decoration: none; padding: 10px 0; }
nav a { opacity: .88; transition: opacity 300ms ease; }
nav a:hover { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; }
.languages { display: flex; align-items: center; gap: 4px; }
.languages button { border: 0; background: none; padding: 12px 6px; color: inherit; }
.languages button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 5px; }
.cover { position: relative; isolation: isolate; min-height: 620px; height: 100svh; color: var(--paper); background: var(--ink); }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 66%) 0%, rgb(0 0 0 / 12%) 35%, rgb(0 0 0 / 12%) 52%, rgb(0 0 0 / 65%) 100%); pointer-events: none; }
.cover-heading { position: absolute; inset: auto 5% 15%; text-align: center; }
h1 { font-size: clamp(3.25rem, 7.2vw, 6rem); letter-spacing: -.04em; }
h1 span { font-size: .75em; margin: 0 .04em; }
.cover-heading p { margin-top: 20px; font-size: .9rem; letter-spacing: .14em; }
.hero-rings { position: relative; display: block; width: 88px; height: 64px; margin: 12px auto 0; padding: 0; border: 0; background: none; color: inherit; }
.rings-drawing { display: block; width: 100%; height: 100%; animation: rings-breathe 9s ease-in-out infinite; animation-play-state: paused; transform-origin: center; }
.hero-rings[data-running="true"] .rings-drawing { animation-play-state: running; }
.hero-rings + p { margin-top: 8px; }
@keyframes rings-breathe {
  0%, 100% { transform: rotate(-3deg) scale(.98); opacity: .85; }
  50% { transform: rotate(3deg) scale(1.025); opacity: 1; }
}
.cover-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cover-photo picture { display: block; height: 100%; }
.cover-photo img { height: 100%; object-fit: cover; object-position: center 47%; }
.section { width: min(1120px, 84%); margin-inline: auto; }
.invitation { max-width: 760px; padding: 104px 0 112px; text-align: center; }
.invitation h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); letter-spacing: .14em; padding-left: .14em; }
.invitation h2::after { content: ""; display: block; width: 40px; height: 1px; margin: 32px auto 0; background: var(--ink); opacity: .35; }
.invitation-copy { max-width: 660px; margin: 32px auto 0; color: var(--muted); text-wrap: pretty; }
.invitation-copy p { max-width: 590px; margin-inline: auto; line-height: 1.85; }
.invitation-copy p + p { margin-top: 24px; }
.invitation-copy p:first-child { max-width: 660px; margin-bottom: 32px; color: var(--ink); font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.5; }
.invitation-copy p:last-child { margin-top: 36px; color: var(--ink); font-family: var(--serif); font-size: 1.65rem; line-height: 1.4; }
.location { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 8%; row-gap: 52px; padding-top: 24px; }
.location h2 { max-width: 440px; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.2; text-wrap: balance; }
.location-photo { width: 100%; max-width: 480px; justify-self: end; }
.location-photo img { aspect-ratio: 2 / 3; object-fit: cover; }
.location-copy { text-align: left; padding: 32px 0; }
.location .day { margin: 24px 0 0; font-size: .85rem; letter-spacing: .04em; }
.address { color: var(--muted); margin-top: 18px; font-size: 1rem; line-height: 1.8; }
.text-link { display: inline-flex; gap: 20px; align-items: center; border: 0; border-bottom: 1px solid var(--ink); padding: 6px 0; background: none; text-decoration: none; font-size: .85rem; }
.text-link { transition: color 300ms ease, border-color 300ms ease; }
.text-link:hover { color: var(--muted); border-bottom-color: var(--muted); }
.text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.location .text-link { margin-top: 24px; padding-block: 10px; }
.schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 32px; }
.schedule > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
time { font-family: var(--serif); font-size: 2.4rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.schedule span { font-size: .85rem; color: var(--muted); text-wrap: balance; }
.schedule time::after { content: "h"; margin-left: .3em; font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; color: var(--muted); }
.dress { max-width: 760px; margin-top: 100px; padding: 56px 0; border-block: 1px solid var(--line); text-align: center; }
.dress .eyebrow { margin-bottom: 16px; }
.dress h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); line-height: 1.25; letter-spacing: .01em; }
.dress-content { max-width: 580px; margin: 24px auto 0; color: var(--muted); font-size: .95rem; line-height: 1.9; text-wrap: pretty; }
.interlude { padding-top: 88px; width: min(680px, 66%); }
.interlude img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 74%; }
.music { padding: 96px 0; background: var(--ink); color: var(--paper); overflow: clip; }
.music-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12%; }
.music-art { position: relative; width: 100%; aspect-ratio: 1; color: color-mix(in srgb, var(--ink) 45%, black); }
.music-record { position: absolute; width: 78%; right: -2%; top: 2%; transform: rotate(-12deg); transition: transform 2800ms cubic-bezier(.25, .1, .25, 1); }
.music-sleeve { position: absolute; inset: 0 auto auto 0; width: 76%; background: var(--paper); color: var(--ink); transform: rotate(-5deg); transition: transform 2800ms cubic-bezier(.25, .1, .25, 1); }
.music-sleeve img { aspect-ratio: 1; object-fit: cover; object-position: center 53%; }
.sleeve-caption { display: flex; flex-direction: column; padding: 18px 20px; gap: 8px; }
.sleeve-caption span:first-child { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.2; }
.sleeve-caption span:last-child { font-size: .7rem; letter-spacing: .16em; }
.music .eyebrow { color: rgb(246 245 241 / 62%); }
.music h2 { max-width: 450px; font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 1.15; }
.music-copy { max-width: 420px; margin-top: 28px; color: var(--line); line-height: 1.8; text-wrap: pretty; }
.music-action { display: inline-flex; align-items: center; justify-content: center; gap: 28px; margin-top: 30px; padding: 15px 26px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background-color 350ms ease, color 350ms ease; }
.music-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.music-action:not(:disabled):hover { background: transparent; color: var(--paper); }
.music-action:disabled { opacity: 1; background: transparent; color: rgb(246 245 241 / 55%); border-color: rgb(246 245 241 / 30%); cursor: not-allowed; }
.music :focus-visible { outline-color: var(--paper); }
.music-pending { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgb(246 245 241 / 25%); font-size: .85rem; color: var(--line); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .music-art:hover .music-record { transform: translateX(7%) rotate(30deg); }
  .music-art:hover .music-sleeve { transform: rotate(-2deg); }
}
.rsvp { padding: 110px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 13%; }
.rsvp-intro > p { color: var(--muted); margin-top: 26px; }
.rsvp-intro > .eyebrow { margin-top: 0; }
.rsvp-intro .connection-notice { border-top: 1px solid var(--line); padding-top: 22px; font-size: .85rem; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 27px; }
label, legend { font-size: .9rem; }
input:not([type="radio"]), select, textarea { width: 100%; border: 1px solid var(--control-border); border-radius: 0; background: transparent; padding: 11px 13px; caret-color: var(--ink); min-height: 48px; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:not([type="radio"]), select, textarea { transition: border-color 250ms ease, background-color 250ms ease; }
input:not([type="radio"]):focus, select:focus, textarea:focus { border-color: var(--ink); background-color: rgb(255 255 255 / 55%); }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23252722' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
textarea { resize: vertical; }
input[type="radio"] { accent-color: var(--ink); width: 17px; height: 17px; margin: 0; flex-shrink: 0; }
.radio-row { display: flex; gap: 25px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 9px; padding: 12px 0; cursor: pointer; }
.attendance { margin-bottom: 24px; }
.form-hint, .optional { color: var(--muted); font-size: .8rem; }
.allergy-question { margin-bottom: 24px; }
.button { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 15px 26px; min-height: 52px; width: 100%; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; transition: background-color 350ms ease, color 350ms ease; }
.button:hover { background: var(--paper); color: var(--ink); }
.form-status { font-size: .9rem; margin-top: 15px; }
#review { margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--line); }
#review-content { margin: 20px 0; overflow-wrap: anywhere; }
#review-content p { margin-top: 4px; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 27px; color: var(--muted); }
.consent input { width: 18px; min-height: 18px; margin-top: 4px; flex: 0 0 18px; accent-color: var(--ink); }
#send-response { margin-top: 20px; }
.button:disabled { opacity: .65; cursor: not-allowed; }
.closing { padding: 85px 0; text-align: center; }
.closing figure { width: min(720px, 100%); margin: 0 auto 50px; }
.closing img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 56%; }
.closing h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.closing > p { color: var(--muted); max-width: 460px; margin: 20px auto 0; }
#photos-link { margin-top: 24px; }
.closing .sign-off { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); margin-top: 30px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 5%; border-top: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; }
footer a:hover { color: var(--ink); }
footer a { text-decoration: none; }
@media (max-width: 800px) {
  nav { gap: 20px; }
  .section { width: 86%; }
  .invitation { padding-block: 80px; }
  .location { column-gap: 7%; row-gap: 40px; }
  .schedule { gap: 18px; }
  .rsvp { gap: 8%; }
}
@media (max-width: 600px) {
  :root { scroll-padding-top: 105px; }
  .header { min-height: 88px; flex-wrap: wrap; gap: 0; padding-top: 4px; }
  .wordmark { font-size: 1.3rem; }
  nav { order: 3; width: 100%; justify-content: center; gap: clamp(12px, 4vw, 24px); padding-bottom: 4px; }
  nav a { font-size: .72rem; }
  .languages button { padding-block: 8px; }
  .cover-heading { inset: auto 5% 16%; }
  h1 { font-size: clamp(2.65rem, 10.5vw, 3.5rem); }
  .cover-heading p { font-size: .8rem; margin-top: 18px; }
  .hero-rings { margin-top: 8px; width: 78px; height: 56px; }
  .hero-rings + p { margin-top: 8px; }
  .cover { min-height: 640px; }
  .cover-photo img { object-position: center 57%; }
  .location, .rsvp { grid-template-columns: 1fr; }
  .invitation { padding-block: 64px; }
  body { font-size: 16px; }
  .invitation h2 { font-size: 1.45rem; letter-spacing: .12em; }
  .invitation h2::after { margin-top: 26px; }
  .eyebrow { margin-bottom: 16px; }
  .invitation-copy { margin-top: 28px; }
  .invitation-copy p { line-height: 1.8; }
  .invitation-copy p:first-child { font-size: 1.4rem; margin-bottom: 28px; line-height: 1.55; }
  .invitation-copy p:last-child { font-size: 1.4rem; margin-top: 32px; }
  .location { gap: 32px; padding-top: 12px; }
  .location-photo { width: 100%; max-width: 360px; justify-self: center; }
  .location h2 { font-size: 2.25rem; }
  .location-copy { padding: 0; }
  .address { font-size: 1rem; margin-top: 18px; }
  .location .text-link { margin-top: 18px; }
  .schedule { margin-top: 32px; padding-top: 28px; }
  .dress { margin-top: 60px; padding-block: 36px; }
  .dress h2 { font-size: clamp(1.65rem, 7vw, 2rem); }
  .dress-content { margin-top: 20px; line-height: 1.85; }
  .interlude { padding-top: 50px; width: 86%; }
  .interlude img { aspect-ratio: 4 / 5; object-position: center 70%; }
  .music { padding-block: 60px; }
  .music-inner { grid-template-columns: 1fr; gap: 48px; }
  .music-art { width: 90%; max-width: 340px; justify-self: center; }
  .music-content { text-align: center; }
  .music h2 { font-size: 2.4rem; margin-inline: auto; }
  .music-copy { margin-inline: auto; margin-top: 24px; }
  .sleeve-caption { padding: 14px 16px; }
  .rsvp { padding-block: 65px; gap: 35px; }
  .rsvp-intro { max-width: none; }
  .rsvp-intro > p { margin-top: 20px; }
  .closing { padding-block: 55px; }
  .closing img { aspect-ratio: 2 / 3; object-fit: contain; }
  .closing figure { margin-bottom: 34px; }
  footer { font-size: .6rem; letter-spacing: .14em; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .header, .header::before, .music-art, .music-record, .music-sleeve, .music-action, .button, .text-link, nav a, input, select, textarea { transition: none; }
  .rings-drawing { animation: none; }
}
