/* Requested header, welcome letter, close controls and photo capture feedback. */
.site-header .brand-lockup {
  aspect-ratio:1054.87 / 616.66;
  height:auto;object-fit:contain;
  background:transparent;filter:none;
  -webkit-mask:none;
  mask:none;
}
.site-header .wordmark {translate:0 0}

.welcome-letter-open {overflow:hidden}
#welcome-letter {
  position:fixed;inset:0;margin:auto;
  width:580px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);
  padding:10px;border:1px solid #b29458;border-radius:3px;
  background:#f7eedb;color:#2b5148;overflow:auto;
  overscroll-behavior:contain;box-shadow:0 24px 90px #112d4666,0 2px 4px #102c4222;
}
#welcome-letter::backdrop {background:#17374ca6;backdrop-filter:blur(4px)}
.welcome-paper {
  position:relative;padding:28px 44px 30px;border:1px solid #c6aa70;
  background:radial-gradient(ellipse at top,#fffaf0 0,transparent 75%),linear-gradient(108deg,#f8efdd,#fff9ed 48%,#f4ead4);
}
.welcome-paper:before,.welcome-paper:after {
  content:'✧';position:absolute;bottom:12px;color:#bb934f;font:24px/1 var(--serif);
}
.welcome-paper:before {left:13px}
.welcome-paper:after {right:13px}
.welcome-close {
  position:absolute;right:12px;top:12px;display:grid;place-items:center;
  width:36px;height:36px;border:1px solid #bda77577;border-radius:50%;background:transparent;
  color:#766744;font:26px/1 var(--sans);cursor:pointer;
}
.welcome-close:hover {background:#eaddc5}
.welcome-crest {display:flex;gap:17px;align-items:center;justify-content:center;color:#a17a39;margin-bottom:12px}
.welcome-crest>span {width:52px;height:1px;background:linear-gradient(90deg,transparent,#bfa163)}
.welcome-crest>span:last-child {transform:rotate(180deg)}
.welcome-crest .brand-balloon {--brand-mark-height:36px}
.welcome-kicker {margin:0 0 12px;text-align:center;font:500 8px/1.5 var(--sans);letter-spacing:2.6px;color:#96733d}
#welcome-letter-title {margin:0;text-align:center;font:400 34px/1.07 var(--serif);letter-spacing:-.5px}
#welcome-letter-title em {font-weight:400;color:#a1743f}
#welcome-letter-title>span {display:block;margin-top:2px;font-size:27px;line-height:1}
.welcome-letter-body {margin:21px auto 0;max-width:440px}
.welcome-letter-body p {font:400 12px/1.75 var(--sans);margin:0 0 13px}
.welcome-letter-body .welcome-salutation {font:italic 20px/1.25 var(--serif);margin-bottom:8px}
.welcome-initial {display:inline-block;width:auto;height:44px;vertical-align:-2px;margin-right:1px}
.welcome-salutation-text {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.welcome-instructions {padding:2px 0 0}
.welcome-instructions p {margin-bottom:10px}
.welcome-instructions strong {font-weight:600;color:#2c5147}
.welcome-instructions b {font-weight:500}
.welcome-letter-body .welcome-signature {font:italic 15px/1.5 var(--serif);margin:17px 0 0;color:#6c7055}
.welcome-signature span {font-style:normal;color:#2d5347}
.welcome-begin {display:flex;align-items:center;justify-content:center;gap:26px;margin:22px auto 0;padding:12px 24px;border:1px solid #315b4e;border-radius:2px;background:#2b5548;color:#fff4db;font:500 11px/1.3 var(--sans);cursor:pointer;min-height:42px}
.welcome-begin:hover {background:#3b6858}
#welcome-letter button:focus-visible {outline:2px solid #9d7538;outline-offset:4px}
@media(max-width:600px) {
  #welcome-letter {max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:7px}
  .welcome-paper {padding:23px 23px 26px}
  .welcome-close {right:6px;top:6px}
  #welcome-letter-title {font-size:30px}
  #welcome-letter-title>span {font-size:24px}
  .welcome-letter-body {margin-top:18px}
  .welcome-letter-body p {font-size:12px;line-height:1.7}
}
@media(max-height:750px) and (min-width:601px) {
  .welcome-paper {padding-top:19px;padding-bottom:22px}
  .welcome-crest {margin-bottom:7px}
  .welcome-kicker {margin-bottom:8px}
  #welcome-letter-title {font-size:30px}
  .welcome-letter-body {margin-top:15px}
  .welcome-letter-body p {margin-bottom:9px}
  .welcome-begin {margin-top:16px}
}

/* Close controls use a focus ring instead of the global text underline. */
html body :is(.welcome-close,.close-modal,.speech-close,.opb-close,.wpc-close,.flight-help-close,.flight-ranking-close),
html body :is(.welcome-close,.close-modal,.speech-close,.opb-close,.wpc-close,.flight-help-close,.flight-ranking-close):is(:hover,:focus,:focus-visible,:active) {
  text-decoration:none;
}
html body :is(.welcome-close,.close-modal,.speech-close,.opb-close,.wpc-close,.flight-help-close,.flight-ranking-close):focus-visible {
  outline:2px solid #b88b47;outline-offset:3px;
}
/* One brief pulse per captured photo, confined to the camera viewfinder. */
.opb-capture-flash {position:absolute;inset:0;z-index:3;pointer-events:none;background:#fffdf5;opacity:0}
.opb-capture-flash.is-flashing {animation:opb-shutter-pulse 340ms ease-out both}
@keyframes opb-shutter-pulse {0%{opacity:.82}100%{opacity:0}}
.opb-capture-notice {position:absolute;inset:0;z-index:4;display:grid;place-content:center;gap:7px;text-align:center;pointer-events:none;color:#fffaf0;text-shadow:0 1px 10px #193c44;font:500 14px/1.4 var(--sans)}
.opb-capture-notice[hidden] {display:none}
.opb-capture-notice>span {justify-self:center;display:grid;place-items:center;width:42px;height:42px;border:1px solid #ead2a1;border-radius:50%;background:#294f47d9;font-size:23px}
.opb-capture-notice>strong {padding:5px 12px;border-radius:2px;background:#294f47e6;font-weight:500}
@media(prefers-reduced-motion:reduce) {.opb-capture-flash.is-flashing{animation:none}}
