/* Final invitation copy and navigation: retain the existing painted title. */
#journey > section:focus { outline: none; }
.invitation-header {
  position: fixed;
  display: flex;
  justify-content: flex-end;
  padding: max(18px, env(safe-area-inset-top)) 5%;
  pointer-events: none;
}
.invitation-header .header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  pointer-events: auto;
}
.invitation-header .header-rsvp,
.invitation-header .explore-button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 2px;
  font: 500 12px/1.2 var(--reading);
  letter-spacing: .08em !important;
  text-decoration: none;
  text-transform: none;
}
.invitation-header .header-rsvp {
  color: #fff;
  background: #193b56;
}
.invitation-header .explore-button {
  color: #193b56;
  background: rgb(255 255 255 / 94%);
}
.invitation-header .header-rsvp:hover { background: #284f6c; }
.invitation-header :is(a, button):focus-visible {
  outline: 3px solid var(--orange-small);
  outline-offset: 4px;
}
.hero-copy > .hero-details {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
  letter-spacing: .015em;
  text-transform: none;
}
.hero-copy .follow-felix {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: none;
}
#journey #welcome {
  padding-top: 112px;
  padding-bottom: 100px;
  scroll-margin-top: 0;
}
#journey #welcome .chapter-title {
  white-space: normal;
  font-size: clamp(60px, 6.2vw, 88px);
  margin-bottom: .38em;
}
#welcome .chapter-copy { max-width: 620px; }
#welcome .brief-copy .note-opening {
  max-width: 34ch;
  font: 400 clamp(25px, 2.1vw, 32px)/1.28 var(--letter);
  letter-spacing: .008em;
  margin: 0 0 26px;
}
#welcome .note-line { display: block; }
#welcome .note-line:nth-child(2) { margin-left: .55em; }
#welcome .note-line:nth-child(3) { margin-left: .9em; }
#welcome .note-line:nth-child(4) { margin-left: .3em; }
#welcome .note-body {
  max-width: 42ch;
  margin: 0 0 0 clamp(10px, 2vw, 28px);
  font: 400 16px/1.75 var(--reading);
  text-wrap: pretty;
}
#welcome .letter-closing { margin-left: clamp(10px, 2vw, 28px); }
#welcome .letter-closing .signature { margin-top: 24px !important; }
#welcome .scroll-invitation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 12px 0 0 clamp(10px, 2vw, 28px);
  padding: 0;
}
#welcome .scroll-invitation a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 7px 0;
  font: 400 22px/1.2 var(--letter) !important;
  letter-spacing: .012em;
  text-transform: none;
}
#welcome .scroll-invitation a span { margin: 0; }
/* Explicit menu choices can override the device preference in either direction. */
body.camera-on #felix, body.camera-on .ski-trail { display: block; }
body.motion-reduced .snow-crystals i { animation: none; }
body.motion-reduced .note-line { transform: none !important; opacity: 1 !important; }
body.motion-reduced { scroll-behavior: auto; }
html:has(body.motion-reduced) { scroll-behavior: auto; }
@media (max-width: 700px) {
  .invitation-header { padding: max(16px, env(safe-area-inset-top)) 6%; }
  .invitation-header .header-actions { gap: 8px; }
  .invitation-header .header-rsvp, .invitation-header .explore-button {
    min-width: 68px;
    padding-inline: 13px;
  }
  #journey #welcome { padding: 100px 7% calc(40svh + 60px); }
  body.motion-reduced #journey #welcome { padding-bottom: 70px; }
  #journey #welcome .chapter-title { font-size: clamp(48px, 13vw, 76px); }
  #welcome .chapter-copy { width: 82%; }
  #welcome .brief-copy .note-opening { font-size: clamp(23px, 6vw, 29px); }
  #welcome .note-body { max-width: calc(100% - 20px); margin-left: 8px; font-size: 16px; line-height: 1.65; }
  #welcome .note-line:nth-child(3) { margin-left: .5em; }
}
@media (max-width: 360px) {
  #welcome .chapter-copy { width: 88%; }
  #welcome .brief-copy .note-opening { font-size: 21px; }
}
@media print {
  .invitation-header { display: none; }
  #welcome .note-line { transform: none !important; opacity: 1 !important; }
}
