@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --ink: #636262;
  --soft-ink: #8a8987;
  --line: #e6e5e1;
  --paper: #fff;
  --font-display: 'EB Garamond', Garamond, Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --body-size: 16px;
  --body-line: 24px;
  --section-size: 30px;
  --section-line: 45px;
  --item-size: 20px;
  --item-line: 30px;
}
* { box-sizing: border-box; }
html, body { background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: var(--body-size); font-weight: 500; line-height: var(--body-line); }
p { letter-spacing: 1px; }
a { color: inherit; text-underline-offset: .25em; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 10; padding: .55rem .8rem; background: #fff; border: 1px solid var(--line); }
.skip:focus { left: .5rem; }

.site-header { position: relative; width: min(75rem, calc(100% - 3rem)); margin: 0 auto; padding-top: 1.2rem; text-align: center; }
.language-links { position: absolute; top: 1rem; right: 0; display: flex; gap: .7rem; font-family: var(--font-ui); font-size: 14px; font-weight: 400; line-height: 20px; }
.language-links a { text-decoration: none; }
.language-links a:hover, .language-links a:focus { text-decoration: underline; }
.theme-mark { display: block; width: min(34rem, 88%); height: auto; margin: 1rem auto -3.2rem; object-fit: contain; }
.identity h1 { margin: 0; color: var(--ink); font: 400 clamp(34px, 6vw, 55px)/55px var(--font-display); letter-spacing: 8px; text-transform: uppercase; }
.identity p { margin: .55rem 0 1.25rem; font-size: 16px; line-height: 24px; letter-spacing: 2px; text-transform: uppercase; }
.identity-countdown { margin: -.72rem 0 1.25rem !important; font-size: 16px !important; line-height: 24px !important; letter-spacing: 2px !important; }
nav { border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; justify-content: center; align-items: center; gap: .35rem; min-width: max-content; overflow-x: auto; padding: .6rem 0 .55rem; }
.nav-link { display: block; padding: .28rem .58rem; color: var(--ink); font-family: var(--font-ui); font-size: 16px; font-weight: 400; line-height: 24px; text-decoration: none; white-space: nowrap; }
.nav-link.active { border-bottom: 1px solid currentColor; }
.nav-link:not(.upcoming):hover, .nav-link:not(.upcoming):focus { color: #333; }
.upcoming { color: var(--ink); opacity: .9; }

.content { width: min(75rem, calc(100% - 3rem)); margin: 0 auto; padding: 1.5rem 0 8rem; }
.welcome-image { display: block; width: 100%; height: auto; }
.when-where { width: min(30rem, 100%); display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; gap: 2rem; margin: 3.25rem auto 2.1rem; color: var(--ink); text-align: center; }
.when-where p { margin: 0; font-size: 30px; line-height: 36px; letter-spacing: 1px; }
.when-where span { align-self: stretch; background: var(--line); }
.welcome-copy { width: min(46rem, 92%); margin: 0 auto; text-align: center; }
.welcome-copy p { margin: 0; font-size: var(--body-size); line-height: var(--body-line); letter-spacing: 1px; }
.text-link { display: inline-block; margin-top: 1.4rem; font-size: var(--body-size); letter-spacing: 1px; }

.schedule { margin-top: 3.4rem; text-align: center; }
.events { margin-top: 1.25rem; }
.event { padding: 1.75rem 1rem 2rem; }
.event + .event { margin-top: 1.25rem; }
.event p { margin: 0; }
.event-label { margin: 0; color: var(--ink); font-size: var(--section-size); font-weight: 400; line-height: 30px; letter-spacing: 3px; text-transform: uppercase; }
.event-date { margin-top: .45rem !important; font-size: var(--body-size); line-height: var(--body-line); letter-spacing: 1px; text-transform: uppercase; }
.event-time { margin-top: .2rem !important; font-size: var(--body-size); line-height: var(--body-line); letter-spacing: 1px; }
.event-place { margin-top: 1.25rem; }
.event-venue, .event-address { font-size: var(--body-size); line-height: var(--body-line); }
.event-address { margin-top: .16rem !important; color: var(--soft-ink); }

.subpage { width: min(62rem, calc(100% - 3rem)); margin: 0 auto; padding: 4rem 0 7rem; }
.subpage > h2 { margin: 0 0 2rem; font: 400 var(--section-size)/var(--section-line) var(--font-display); letter-spacing: 3px; text-align: center; text-transform: uppercase; }
.source-feature { width: min(46rem, 100%); margin: 0 auto 3.5rem; text-align: center; }
.source-feature h2 { margin: 0 0 1.7rem; font: 400 var(--section-size)/var(--section-line) var(--font-display); letter-spacing: 3px; text-transform: uppercase; }
.source-feature img { display: block; width: 100%; height: auto; }
.source-feature a { display: inline-block; margin-top: .75rem; font-size: var(--body-size); }
.subpage-lead { width: min(46rem, 100%); margin: 0 auto 3rem; text-align: center; }
.subpage-lead p, .content-section > p { margin: 0 0 1rem; font-size: var(--body-size); line-height: var(--body-line); }
.content-section { width: min(46rem, 100%); margin: 3.8rem auto 0; }
.content-section > h3 { margin: 0 0 1.3rem; font-size: var(--section-size); font-weight: 400; line-height: var(--section-line); letter-spacing: 3px; text-align: center; text-transform: uppercase; }
.info-card { padding: .75rem 0 1rem; }
.info-card h4 { margin: 0 0 .75rem; font-size: var(--item-size); font-weight: 500; line-height: var(--item-line); letter-spacing: 3px; text-align: center; text-transform: uppercase; }
.info-card p { width: min(45rem, 100%); margin: .5rem auto; font-size: var(--body-size); line-height: var(--body-line); }
.info-card.has-image { margin: 2rem 0 3rem; }
.info-card-images { display: grid; width: min(32rem, 100%); gap: .5rem; margin: 0 auto 1.25rem; }
.info-card-images:has(img + img) { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(46rem, 100%); }
.info-card-images img { display: block; width: 100%; height: auto; }
.info-card a { display: inline-block; margin-top: .55rem; }
.accommodation-section { text-align: center; }
.accommodation-section-image { display: block; width: min(510px, 100%); aspect-ratio: 4 / 3; height: auto; margin: 0 auto 2rem; object-fit: cover; }
.accommodation-feature { margin: 2.2rem auto 3rem; }
.accommodation-feature h4 { margin: 0 0 .75rem; font-size: var(--item-size); font-weight: 500; line-height: var(--item-line); letter-spacing: 3px; text-transform: uppercase; }
.accommodation-feature > img { display: block; width: min(340px, 100%); aspect-ratio: 1; height: auto; margin: 0 auto 1.25rem; object-fit: cover; }
.accommodation-feature p, .accommodation-listing p { width: min(45rem, 100%); margin: .5rem auto; font-size: var(--body-size); line-height: var(--body-line); }
.accommodation-listing { margin: 2rem auto; }
.accommodation-name strong { font-weight: 700; }
.accommodation-feature a, .accommodation-listing a { display: inline-block; margin: .45rem .3rem 0; }
.accommodation-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 20px; margin: 3rem auto 0; }
.accommodation-gallery img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.travel { width: min(52rem, calc(100% - 3rem)); }
.travel-section { width: min(46rem, 100%); margin: 3.6rem auto 0; }
.travel-section > h3 { margin: 0 0 1.4rem; font-size: var(--section-size); font-weight: 400; line-height: var(--section-line); letter-spacing: 3px; text-align: center; text-transform: uppercase; }
.travel-section--step { margin-top: 2.4rem; }
.travel-section--step > h3 { font-size: var(--item-size); font-weight: 500; line-height: var(--item-line); letter-spacing: 3px; text-align: left; }
.travel-option { margin: 1.45rem 0 0; }
.travel-option h4 { margin: 0 0 .25rem; font-size: var(--body-size); font-weight: 500; line-height: var(--body-line); letter-spacing: 1px; }
.travel-option p { margin: .15rem 0; font-size: var(--body-size); line-height: var(--body-line); }
.travel-option a { display: inline-block; margin-top: .35rem; }
.faq-list { width: min(52rem, 100%); margin: 0 auto; }
.faq-list article { padding: 2.8rem 0; text-align: center; }
.faq-list h4 { margin: 0; font-size: var(--item-size); font-weight: 500; line-height: var(--item-line); letter-spacing: 3px; text-transform: uppercase; }
.faq-list p { width: min(40rem, 92%); margin: 1.8rem auto 0; font-size: var(--body-size); line-height: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f4f3f1; }

footer { width: min(75rem, calc(100% - 3rem)); margin: 0 auto 3.3rem; color: var(--soft-ink); text-align: center; }
footer p { margin: 0; }
footer p:first-child { color: var(--ink); font-size: 1.9rem; letter-spacing: .08em; }
footer p:nth-child(2) { display: inline-block; margin: .15rem 0 1rem; padding-top: .2rem; border-top: 1px solid var(--soft-ink); font-size: .94rem; letter-spacing: .12em; }
footer a { display: block; font-size: .92rem; }
footer span { font-style: italic; }

.language-home { min-height: 100vh; display: grid; place-items: center; background: #fff; color: var(--ink); text-align: center; }
.language-home main { width: min(35rem, calc(100% - 2rem)); }
.language-home .hero-kicker { margin: 0; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.language-home h1 { display: grid; justify-items: center; margin: 1rem 0 .7rem; color: var(--ink); font: 400 clamp(3.4rem, 11vw, 5.6rem)/.82 'EB Garamond', Garamond, Georgia, serif; }
.language-home h1 .couple-name { display: block; }
.language-home h1 .ampersand { display: block; margin: .04em 0; color: var(--soft-ink); font: 400 clamp(2.25rem, 7vw, 3.5rem)/.68 'EB Garamond', Garamond, Georgia, serif; font-style: italic; }
.language-intro { margin: 0; font-size: 1.1rem; }
.language-home .language-links { position: static; justify-content: center; flex-wrap: wrap; margin-top: 2rem; font-size: 1rem; }
.language-home .language-links a { padding: .35rem .65rem; border-bottom: 1px solid var(--line); }

@media (max-width: 34rem) {
  .site-header, .content, footer { width: calc(100% - 1.25rem); }
  .site-header { padding-top: 2.2rem; }
  .language-links { top: .65rem; right: 50%; transform: translateX(50%); font-size: .82rem; }
  .theme-mark { width: 92%; margin: -1rem auto -2.4rem; }
  .identity h1 { font-size: 34px; line-height: 38px; letter-spacing: 5px; }
  .identity p { font-size: 14px; line-height: 20px; }
  nav { margin-inline: -.05rem; overflow-x: auto; }
  .nav-inner { justify-content: flex-start; padding-inline: .2rem; }
  .nav-link { font-size: 14px; line-height: 22px; padding-inline: .4rem; }
  .content { padding-top: .85rem; }
  .when-where { gap: .95rem; margin-top: 2rem; }
  .when-where p { font-size: 24px; line-height: 30px; }
  .welcome-copy { width: 93%; }
  .welcome-copy p { font-size: var(--body-size); line-height: var(--body-line); }
  .schedule { margin-top: 2.75rem; }
  .event { padding-block: 1.5rem; }
  .subpage { width: calc(100% - 1.25rem); padding-top: 2.5rem; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
  .info-card-images:has(img + img) { grid-template-columns: 1fr; }
  .accommodation-gallery { gap: .5rem; }
}
