@font-face {
  font-family: Baskervville; src: url("fonts/baskervville-latin-400-normal.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: Baskervville; src: url("fonts/baskervville-latin-400-italic.woff2") format("woff2");
  font-style: italic; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}
:root {
  --paper: #faf7f0;
  --teal: #174a48;
  --ink: #303d38;
  --clay: #87482f;
  --line: #d8cfc0;
  --display: Baskervville, Baskerville, Georgia, serif;
  --space: clamp(3.25rem, 7.4vw, 6rem);
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.55 "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, h1, h2, h3, p { margin: 0; }
html[lang=en] [lang=fr], html[lang=fr] [lang=en], [hidden] { display: none !important; }
body { font-size: clamp(1.0625rem, 1.2vw, 1.125rem); }
.page-column, #explore, .gate, .masthead { width: min(calc(100% - 3rem), 72rem); margin-inline: auto; }
h1, h2, h3 { color: var(--teal); font: 400 1em/1.09 var(--display); text-wrap: balance; }
h1 { font-size: clamp(4.5rem, 7.2vw, 5.875rem); letter-spacing: -.048em; line-height: .98; }
h1 em { display: block; font-size: .36em; font-weight: 400; letter-spacing: 0; line-height: 1.25; }
h2 { font-size: clamp(2.5rem, 4.1vw, 3.125rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.56rem, 2.1vw, 1.75rem); letter-spacing: -.025em; }
img { max-width: 100%; display: block; }
a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: .26em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
section { scroll-margin-top: 1.25rem; }
.masthead {
  display: grid; grid-template-columns: auto auto 1fr auto;
  grid-template-areas: "language mark nav music"; align-items: center;
  gap: clamp(.75rem, 2.4vw, 2.5rem); min-height: 4.75rem; border-bottom: 1px solid var(--line);
}
.languages, .jump { display: flex; align-items: center; }
.languages { grid-area: language; }
.languages button, #music-toggle, .jump a {
  background: transparent; color: var(--teal); border: 0; font-size: .96rem; min-height: 44px;
  display: inline-flex; justify-content: center; align-items: center;
}
.languages button { padding: 0 .44rem; white-space: nowrap; }
.languages button[aria-pressed=true] { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .36em; }
.monogram { grid-area: mark; font: 1.6rem var(--display); color: var(--teal); text-decoration: none; letter-spacing: -.08em; }
.monogram i { font-size: .75em; color: var(--clay); }
.jump { grid-area: nav; justify-content: center; flex-wrap: wrap; column-gap: clamp(1rem, 2.5vw, 2.4rem); }
.jump a { text-decoration: none; }
.jump a:hover { text-decoration: underline; }
#music-toggle { grid-area: music; padding: 0 .25rem; min-width: 44px; position: relative; }
#music-toggle > span { display: inline-flex; align-items: center; gap: .45rem; }
.pause-icon { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.hero, .venue, .featured { display: grid; align-items: center; column-gap: clamp(2rem, 5vw, 5rem); }
.hero { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); padding-block: var(--space); border-bottom: 1px solid var(--line); }
.invitation { text-align: center; }
.kicker { color: var(--clay); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.invitation-date, .ceremony-date {
  color: var(--clay);
  font: 400 clamp(1.625rem, 2.6vw, 2.25rem)/1.18 var(--display);
  font-variant-numeric: lining-nums;
}
.invitation-date { display: inline-flex; align-items: center; gap: .52em; }
.invitation-date::before, .invitation-date::after {
  content: ""; width: .9em; border-top: 1px solid var(--line);
}
.invitation h1 { margin-top: .32em; }
.invitation h1::after { content: ""; display: block; width: 64px; height: 20px; background: url("tile.svg") center / contain no-repeat; margin: 1.3rem auto .95rem; }
.location { color: var(--teal); font: italic clamp(1.25rem, 2vw, 1.55rem)/1.3 var(--display); }
.invitation a, .venue a, article a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 600; }
.invitation a { margin-top: .4rem; }
.portrait { padding: .36rem; border: 1px solid var(--line); }
.portrait img, .venue img { width: 100%; height: auto; }
.venue { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "photo details"; margin-block: var(--space); }
.venue > div { grid-area: details; }
.venue img { grid-area: photo; }
.venue h2 { margin: .32em 0 .4em; }
.ceremony-date { display: block; font-size: clamp(1.375rem, 1.9vw, 1.75rem); margin-bottom: .22em; }
.address { margin: .85rem 0 .4rem; }
.letter { padding: clamp(2.5rem, 5.6vw, 4.5rem) 6%; text-align: center; background: var(--teal); color: var(--paper); }
.letter p:first-child { max-width: 42ch; margin-inline: auto; font: clamp(1.45rem, 2.3vw, 1.94rem)/1.4 var(--display); text-wrap: pretty; }
.signature { margin-top: 1.3rem; font: italic 1.2rem var(--display); }
.signature-flags { white-space: nowrap; margin-left: .35rem; font: normal .85rem/1 system-ui; }
.travel-guide, #explore, #registry { margin-top: var(--space); }
#travel { display: grid; align-items: baseline; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem; }
#travel p { max-width: 61ch; }
#hotels { margin-top: var(--space); }
#hotels .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(1.5rem, 4vw, 3.25rem); margin-top: 1.8rem; }
#hotels article { padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.hotel-photo { width: 100%; height: auto; aspect-ratio: 56/33; object-fit: cover; margin-bottom: 1.1rem; background: #e6e2d8; }
#hotels article p, .activity-copy p { max-width: 53ch; margin: .55rem 0 .1rem; }
#explore, #registry { border-top: 1px solid var(--line); padding-top: clamp(2.25rem, 4vw, 4rem); }
#registry { text-align: center; }
#registry p { margin-top: .75rem; }
.explore-intro { margin-bottom: clamp(1.6rem, 3vw, 2.5rem); }
.explore-intro p { margin-top: .6rem; max-width: 76ch; text-wrap: pretty; }
#explore .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(1.25rem, 2vw, 2rem); }
.activity-photo { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: #e6e2d8; }
.activity-copy { padding-top: 1.2rem; }
.featured { grid-column: 1/-1; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0; background: #f0ebe1; }
.featured .activity-photo { align-self: stretch; height: 100%; min-height: 0; aspect-ratio: 1.8; }
.featured .activity-copy { padding: clamp(1.5rem, 3.5vw, 3.4rem); }
.featured h3 { font-size: clamp(2rem, 2.8vw, 2.6rem); }
footer { width: min(calc(100% - 3rem), 72rem); margin: var(--space) auto 0; border-top: 1px solid var(--line); padding: 2rem 0; text-align: center; color: var(--teal); font: italic 1.3rem var(--display); }
body > header.languages { justify-content: center; padding: .8rem; }
.gate { max-width: 34rem; margin: clamp(1.25rem, 5vh, 4rem) auto 3rem; padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--line); text-align: center; }
.gate h1 { font-size: clamp(3.2rem, 5.7vw, 4.9rem); }
.gate form { max-width: 20rem; margin: 2rem auto 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.gate input, .submit { width: 100%; min-height: 46px; border-radius: 0; }
.gate input { padding: .55rem .8rem; background: #fffdf9; color: var(--ink); border: 1px solid #a69c8a; margin: .65rem 0 .75rem; }
.submit { background: var(--teal); color: var(--paper); border: 0; font-weight: 600; }
.error { color: #922f23; margin-bottom: .7rem; }
@media (max-width: 840px) {
  .masthead { grid-template-columns: 1fr auto auto; grid-template-areas: "language mark music" "nav nav nav"; gap: 0 .65rem; }
  .jump { justify-content: space-between; border-top: 1px solid var(--line); }
  .music-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 720px) {
  :root { --space: clamp(3rem, 7.5vw, 3.5rem); }
  .page-column, #explore, .gate, .masthead, footer { width: calc(100% - 2.25rem); }
  h1, .gate h1 { font-size: clamp(2.75rem, 8.5vw, 3.375rem); }
  h2 { font-size: clamp(2rem, 5.8vw, 2.375rem); }
  .jump { gap: .35rem; }
  .hero, .venue, #travel, #hotels .cards, #explore .cards, .featured { grid-template-columns: 1fr; }
  .hero { gap: 2rem; padding-block: 2.2rem var(--space); }
  .hero h1 { margin-top: .3em; }
  .invitation h1::after { margin: .85rem auto .75rem; }
  .portrait { width: min(100%, 30rem); margin-inline: auto; }
  .venue { grid-template-areas: "photo" "details"; gap: 1.5rem; }
  #travel { gap: .9rem; }
  #hotels .cards { margin-top: 1.2rem; }
  #explore .cards { gap: 2.25rem; }
  .featured .activity-photo { height: auto; aspect-ratio: 3/2; }
  .featured .activity-copy { padding: 1.25rem; }
}
@media (max-width: 22rem) {
  .jump { column-gap: .2rem; }
  .jump a { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
