* { box-sizing: border-box; }
html { background: #342314; color-scheme: dark; }
body { margin: 0; color: #fffdf5; }
.welcome { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; justify-content: center; align-items: flex-start; overflow: clip; }
.scene, .shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.scene { display: block; }
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.shade { z-index: -1; background: linear-gradient(180deg, #21170b0a 0%, #21170b33 20%, #21170b80 46%, #21170b40 72%, #21170b0a 100%); }
.content { width: min(1120px, 100%); text-align: center; padding: clamp(108px, 22svh, 250px) 32px max(24px, env(safe-area-inset-bottom)); text-shadow: 0 3px 14px #140d08b3; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.55vw, 66px); line-height: 1.1; }
.institution { margin: 18px auto 0; color: #fff; font: 600 clamp(14px, 1.65vw, 24px)/1.4 Arial, sans-serif; text-transform: uppercase; text-wrap: balance; }
h2 { max-width: 1060px; margin: 22px auto 0; font-size: clamp(42px, 5.1vw, 76px); line-height: 1.07; }
.description { max-width: 620px; margin: 22px auto 0; font: 400 clamp(18px, 1.72vw, 25px)/1.4 Arial, sans-serif; text-wrap: pretty; }
.destinations { display: flex; justify-content: center; gap: 20px; margin-top: 36px; }
.destination { display: inline-flex; justify-content: center; align-items: center; min-height: 58px; min-width: 230px; padding: 13px 30px; border: 1.5px solid #fff7e4; border-radius: 999px; background: linear-gradient(110deg, #bfa577, #f4ecd6 52%, #b59a68); color: #2e1c0d; font: 500 clamp(20px, 1.85vw, 27px)/1.2 Arial, sans-serif; text-shadow: none; text-decoration: none; box-shadow: 0 5px 20px #160d0859; transition: filter 150ms ease, transform 150ms ease; }
.destination:hover { filter: brightness(1.1); transform: translateY(-2px); }
.destination:focus-visible { outline: 3px solid white; outline-offset: 5px; box-shadow: 0 0 0 8px #593b20; }
.destination:active { transform: translateY(0); }
/* Desktop: begin the text at the middle of the stained-glass cross. */
@media (orientation: landscape) and (min-height: 601px) {
  .content { padding: 25svh 32px 7svh; }
  h2 { margin-top: 3svh; }
  .description { margin-top: 2.5svh; }
  .destinations { margin-top: 4svh; }
}
@media (orientation: portrait) {
  .content { padding-top: clamp(240px, 29svh, 430px); padding-left: 36px; padding-right: 36px; padding-bottom: max(52px, env(safe-area-inset-bottom)); }
  .shade { background: linear-gradient(180deg, transparent 0%, #21170b0a 23%, #21170b8c 42%, #21170b73 70%, #21170b33 100%); }
  h1 { font-size: clamp(36px, 5.7vw, 54px); }
  .institution { font-size: clamp(14px, 2.3vw, 20px); }
  h2 { font-size: clamp(40px, 6.8vw, 62px); }
  .description { font-size: clamp(18px, 2.65vw, 23px); }
  .destinations { margin-top: 30px; }
  .destination { min-width: 0; flex: 1 1 0; max-width: 280px; font-size: 24px; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .content { padding: clamp(200px, 28svh, 310px) 20px max(30px, env(safe-area-inset-bottom)); }
  h1 { font-size: clamp(28px, 7.1vw, 39px); line-height: 1.1; }
  .institution { margin-top: 16px; font-size: 14px; line-height: 1.45; }
  h2 { margin-top: 19px; font-size: clamp(32px, 8.4vw, 46px); line-height: 1.08; }
  .desktop-break { display: none; }
  .description { max-width: 420px; margin-top: 18px; font-size: 16px; line-height: 1.5; }
  .destinations { flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
  .destination { width: min(100%, 280px); min-height: 50px; flex: none; padding: 12px 24px; font-size: 21px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .content { padding-top: 32px; padding-bottom: 32px; }
  h1 { font-size: clamp(30px, 4vw, 48px); }
  .institution { margin-top: 14px; font-size: 14px; }
  h2 { margin-top: 16px; font-size: clamp(34px, 4.4vw, 52px); }
  .description { margin-top: 14px; font-size: 18px; }
  .destinations { margin-top: 22px; }
  .destination { min-height: 48px; min-width: 190px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .destination { transition: none; } }
