/* Homemade Apple and the blue ink palette carry through from the invitation. */
:root {
  color-scheme: light;
  --ink: #4656a0;
  --ink-soft: #626a7b;
  --ink-dark: #26355e;
  --paper: #fff;
  --wash: #f4f5fa;
  --paper-line: #dfe3ef;
  --font-hand: "Homemade Apple", cursive;
  --font-body: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-detail: "Courier Prime", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { min-width: 280px; background: var(--paper); color: var(--ink-dark); font: 1rem/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #e1e5f5; color: var(--ink-dark); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 40; transform: translateY(-160%); padding: 12px 18px; background: var(--paper); color: var(--ink); border: 1px solid currentColor; }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3 { font-weight: 400; overflow-wrap: break-word; }
h1, h2, .names, .footer-names { font-family: var(--font-hand); }
h2 { margin-bottom: 24px; color: var(--ink); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.85; }
h3 { margin-bottom: 12px; color: var(--ink-dark); font-size: 1.15rem; font-weight: 600; line-height: 1.5; }
p { color: var(--ink-soft); line-height: 1.85; }
main { padding-bottom: 12px; }
.section { width: min(1160px, calc(100% - 96px)); margin: 104px auto; }
.section-inner { display: grid; gap: 24px; min-width: 0; }
.section-inner > * { min-width: 0; }
.section-title { margin-bottom: 6px; }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.section-text { max-width: 700px; margin-bottom: 20px; }
.eyebrow, .label, .date, .travel-number { font-family: var(--font-detail); font-weight: 400; text-transform: uppercase; }
.eyebrow { margin-bottom: 8px; color: var(--ink); font-size: .72rem; letter-spacing: .16em; }
.label { color: var(--ink); font-size: .7rem; letter-spacing: .1em; }
.muted { color: var(--ink-soft); font-size: .9rem; }

/* A compact, quiet header lets the photographs take the lead. */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 92px; padding: 15px max(32px, calc((100vw - 1280px) / 2)); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--paper-line); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.monogram { display: grid; place-items: center; width: 48px; }
.monogram img { display: block; width: 100%; height: auto; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.names { color: var(--ink); font-size: 1.1rem; line-height: 2; }
.date { color: var(--ink-soft); font-size: .65rem; letter-spacing: .04em; }
.site-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 20px; max-width: 800px; }
.site-nav a { padding: 6px 0; border-bottom: 1px solid transparent; color: var(--ink-dark); font-size: .76rem; font-weight: 500; text-decoration: none; transition: color .2s, border-color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); border-bottom-color: currentColor; }
.nav-toggle { display: none; align-items: center; gap: 12px; padding: 10px 0 10px 12px; border: 0; background: transparent; color: var(--ink); font-family: var(--font-detail); font-size: .75rem; text-transform: uppercase; }
.menu-icon, .menu-icon::after { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .25s; }
.menu-icon::after { content: ""; transform: translateY(6px); }
.nav-open .menu-icon { transform: rotate(45deg); }
.nav-open .menu-icon::after { transform: rotate(-90deg); }

/* Two real photographs, a long dissolve and a restrained, continuous drift. */
.intro { position: relative; display: flex; align-items: center; isolation: isolate; width: 100%; height: min(880px, calc(100svh - 92px)); min-height: 700px; margin: 0; overflow: hidden; background: #293e52; color: #fff; }
.hero-slideshow, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slideshow { z-index: -2; }
.hero-slide { opacity: 0; transition: opacity 1800ms cubic-bezier(.4,0,.2,1); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; animation: photo-drift 18s ease-in-out infinite alternate; }
.hero-slide-pool img { object-position: 50% 58%; }
.hero-slide-paris img { object-position: 50% 72%; }
.hero-slideshow.is-paused img { animation-play-state: paused; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(13,29,47,.60), rgba(13,29,47,.15) 50%, rgba(13,29,47,.02) 80%), linear-gradient(0deg, rgba(13,29,47,.50), transparent 30%); pointer-events: none; }
.intro-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; width: min(1280px, 100%); margin: 0 auto; padding: 60px 32px 130px; }
.intro .eyebrow { margin-bottom: 10px; color: rgba(255,255,255,.94); font-size: .73rem; letter-spacing: .15em; }
.intro h1 { width: min(540px, 100%); margin: 0 0 12px; color: #fff; font-size: clamp(3.5rem, 6.5vw, 6rem); line-height: 1.5; text-shadow: 0 2px 24px rgba(13,29,47,.15); }
.intro h1 > span { display: block; }
.intro h1 > span:last-child { padding-left: 100px; }
.name-amp { display: inline-block; font-size: .53em; vertical-align: middle; }
.lead { max-width: 310px; color: rgba(255,255,255,.96); font-size: 1.05rem; line-height: 1.8; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; padding: 13px 23px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 500; line-height: 1.6; text-align: center; text-decoration: none; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); background: var(--ink-dark); box-shadow: 0 8px 24px rgba(38,53,94,.12); }
.registry-placeholder { justify-self: start; }
.registry-placeholder:disabled { cursor: default; opacity: .65; }
.registry-placeholder:disabled:hover { transform: none; box-shadow: none; background: var(--ink); }
.hero-button { margin-top: 12px; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); color: #fff; backdrop-filter: blur(6px); }
.hero-button:hover { background: rgba(255,255,255,.16); }
.hero-button:focus-visible, .hero-controls button:focus-visible { outline-color: #fff; }
.hero-bottom { position: absolute; right: max(32px, calc((100vw - 1216px)/2)); bottom: 64px; left: max(32px, calc((100vw - 1216px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hero-caption { color: rgba(255,255,255,.8); font-size: .75rem; letter-spacing: .05em; }
.hero-controls { display: flex; align-items: center; gap: 14px; padding: 2px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; background: rgba(13,29,47,.2); backdrop-filter: blur(10px); }
.hero-pagination { display: flex; gap: 2px; }
.hero-dot { display: grid; place-items: center; width: 40px; height: 44px; border: 0; background: transparent; color: #fff; }
.hero-dot span { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; transition: background .2s, width .3s; }
.hero-dot.is-active span { width: 23px; border-radius: 8px; background: #fff; }
.hero-count { color: #fff; font-family: var(--font-detail); font-size: .7rem; letter-spacing: .05em; }
.hero-toggle { min-height: 44px; padding: 0 4px 0 14px; border: 0; border-left: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: .7rem; }
@keyframes photo-drift { from { transform: scale(1.015); } to { transform: scale(1.075); } }

.celebration-details { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 32px; align-items: center; width: min(1160px, calc(100% - 96px)); margin: -32px auto 0; padding: 30px 38px; background: var(--paper); border: 1px solid #e8ebf3; box-shadow: 0 14px 44px rgba(38,53,94,.07); }
.celebration-details > div { display: grid; gap: 7px; }
.celebration-details > div:nth-child(2) { padding-left: 32px; border-left: 1px solid var(--paper-line); }
.celebration-details time, .celebration-details > div > span:last-child { font-size: .9rem; font-weight: 500; }
.details-link { color: var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.details-link span { display: inline-block; margin-left: 10px; }
.details-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.welcome-note { max-width: 680px; margin-top: 92px; margin-bottom: 112px; text-align: center; }
.welcome-note > img { display: block; margin: 0 auto 24px; }
.welcome-note h2 { margin: 20px 0 24px; }
.welcome-note > p:last-child { max-width: 540px; margin: 0 auto; }

.venue-layout { gap: 80px; }
.venue-name { margin: 4px 0 24px; color: var(--ink); font-size: .85rem; letter-spacing: .05em; }
.venue-address { display: grid; gap: 12px; margin: 28px 0; padding-left: 20px; border-left: 2px solid var(--paper-line); }
.venue-address address { color: var(--ink-soft); font-size: .95rem; font-style: normal; line-height: 1.85; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.text-link { color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.text-link:hover { color: var(--ink-dark); }
.venue-image { position: relative; margin-left: 8px; }
.venue-image::before { content: ""; position: absolute; inset: -16px 16px 43px -16px; z-index: -1; border: 1px solid #bac3df; border-radius: 3px; }
.venue-image > img { display: block; width: 100%; height: 470px; border-radius: 3px; object-fit: cover; }
.venue-image figcaption { margin-top: 16px; color: var(--ink-soft); font-size: .68rem; line-height: 1.7; }
.venue-image figcaption a { text-underline-offset: 3px; }

#schedule { padding-top: 64px; border-top: 1px solid var(--paper-line); }
.schedule { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.schedule-item { display: grid; align-content: start; gap: 20px; padding-top: 24px; border-top: 1px solid var(--paper-line); }
.time { color: var(--ink); font: .82rem var(--font-detail); letter-spacing: .1em; }
.schedule-item p { font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 6px 12px; border: 1px solid var(--paper-line); border-radius: 2px; color: var(--ink); font-size: .75rem; }
.note-card { padding: 36px; border-radius: 4px; background: var(--wash); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px,100%), 1fr)); gap: 32px; }
.info-grid > div { min-width: 0; padding-top: 22px; border-top: 1px solid var(--paper-line); }
#gifts { padding: 56px; border-radius: 4px; background: var(--wash); }
#gifts .section-text { max-width: 800px; }
#gifts .section-text:last-child { margin-bottom: 0; }
.travel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.travel-card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 38px; border: 1px solid var(--paper-line); border-radius: 4px; background: linear-gradient(145deg, #fff, #fafbfe); }
.travel-number { color: var(--ink); font-size: .72rem; letter-spacing: .1em; }
.travel-card h3 { margin: 0; font-size: 1.25rem; }
.travel-card .modal-link { margin-top: auto; }
.modal-link { padding: 6px 0; border: 0; background: transparent; text-align: left; }
.parking-note { display: flex; align-items: baseline; gap: 24px; padding-top: 8px; }
.parking-note .label { flex-shrink: 0; }
.parking-note p { font-size: .88rem; }
#faqs .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
#faqs h3 { font-size: 1.05rem; }
#faqs p { font-size: .95rem; }

.site-footer { display: grid; justify-items: center; gap: 16px; padding: 68px 24px; background: var(--wash); border-top: 1px solid var(--paper-line); text-align: center; }
.footer-rings { width: 68px; height: auto; }
.footer-names { color: var(--ink); font-size: clamp(1.65rem, 3vw, 2rem); line-height: 2; }
.site-footer p { font-size: .9rem; }
body.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgba(22,34,61,.55); backdrop-filter: blur(7px); }
.modal-panel { position: relative; width: min(680px, 100%); max-height: 85svh; overflow: auto; padding: 48px; border: 1px solid var(--paper-line); border-radius: 6px; background: var(--paper); box-shadow: 0 24px 80px rgba(22,34,61,.18); }
.modal-title { margin: 8px 0 20px; padding-right: 12px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.modal-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 1.8rem; line-height: 1; }
.contact-list { display: grid; gap: 0; margin-top: 28px; list-style: none; }
.contact-list > li { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--paper-line); }
.contact-list > li > a:first-child { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list > li > a:first-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-list p { font-size: .9rem; }
.contact-phone { width: fit-content; color: var(--ink-soft); font-size: .9rem; text-underline-offset: 4px; }

@media (min-width: 1400px) {
  .intro-content { padding-left: 32px; }
}
@media (max-width: 1100px) {
  .site-nav { gap: 6px 14px; }
  .site-nav a { font-size: .72rem; }
  .celebration-details { grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 26px; }
  .celebration-details .details-link { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--paper-line); }
  .split, .venue-layout { gap: 40px; }
  .travel-card { padding: 28px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 108px; }
  .site-header { flex-wrap: wrap; gap: 12px; padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .site-nav { width: 100%; max-width: none; justify-content: center; gap: 10px 20px; padding: 16px 0 6px; }
  .site-nav a { font-size: .9rem; }
  .site-header.is-enhanced .site-nav { display: none; }
  .site-header.is-enhanced.nav-open .site-nav { display: flex; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .venue-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .venue-image { width: calc(100% - 16px); margin-left: 16px; }
  .venue-image > img { height: 480px; }
  .schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .hero-caption { display: none; }
  .hero-bottom { justify-content: flex-end; }
  .intro h1 { font-size: 4.5rem; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 100px; }
  .site-header { min-height: 86px; padding: 12px 20px; }
  .brand { gap: 10px; }
  .monogram { width: 36px; }
  .names { font-size: .95rem; }
  .date { font-size: .57rem; }
  .nav-toggle { font-size: .65rem; }
  .site-nav { justify-content: flex-start; gap: 8px 22px; }
  .site-nav a { width: calc(50% - 12px); }
  .section { width: calc(100% - 40px); margin: 72px auto; }
  h2 { font-size: 1.8rem; line-height: 1.85; }
  .intro { width: 100%; height: calc(100svh - 86px); min-height: 740px; max-height: 900px; margin: 0; }
  .intro-content { height: 100%; justify-content: flex-start; align-items: center; gap: 12px; padding: 40px 24px 150px; text-align: center; }
  .intro .eyebrow { margin-bottom: 4px; font-size: .63rem; letter-spacing: .1em; }
  .intro h1 { width: auto; margin-bottom: 0; font-size: clamp(3rem, 13vw, 4rem); line-height: 1.5; }
  .intro h1 > span:last-child { padding-left: 54px; }
  .lead { max-width: 255px; font-size: .92rem; line-height: 1.75; }
  .hero-button { margin-top: auto; font-size: .8rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(13,29,47,.45), transparent 52%, rgba(13,29,47,.55)), linear-gradient(90deg, rgba(13,29,47,.10), transparent); }
  .hero-slide-pool img { object-position: 49% 50%; }
  .hero-slide-paris img { object-position: 50% 65%; }
  .hero-bottom { right: 20px; bottom: 52px; left: 20px; justify-content: center; }
  .hero-controls { gap: 10px; }
  .celebration-details { grid-template-columns: minmax(0, 1fr); gap: 18px; width: calc(100% - 40px); margin-top: -22px; padding: 26px; }
  .celebration-details > div:nth-child(2) { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--paper-line); }
  .celebration-details .details-link { padding-top: 18px; }
  .celebration-details time, .celebration-details > div > span:last-child { font-size: .9rem; }
  .welcome-note { margin-top: 64px; margin-bottom: 80px; }
  .welcome-note h2 { font-size: 1.65rem; }
  .welcome-note > p:last-child { padding: 0 6px; font-size: .95rem; }
  .eyebrow { font-size: .65rem; letter-spacing: .1em; }
  .venue-image > img { height: 340px; }
  .map-actions { gap: 20px; }
  #schedule { padding-top: 44px; }
  .schedule { gap: 26px 24px; }
  .schedule-item { gap: 12px; }
  .schedule-item h3 { font-size: 1.05rem; }
  .schedule-item p { font-size: .88rem; }
  .note-card { padding: 28px; }
  .info-grid, #faqs .info-grid, .travel-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #gifts { padding: 30px 24px; }
  .travel-card { gap: 18px; padding: 26px; }
  .travel-card h3 { font-size: 1.15rem; }
  .parking-note { flex-direction: column; gap: 8px; }
  .modal-backdrop { padding: 16px; }
  .modal-panel { padding: 44px 24px 28px; }
}
@media (max-width: 360px) {
  .brand { gap: 6px; }
  .monogram { width: 28px; }
  .names { font-size: .85rem; }
  .date { font-size: .52rem; }
  .schedule { grid-template-columns: minmax(0, 1fr); }
  .intro h1 { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
