/* A small travel sketchbook at the end of the journey. */
.travel-footer {
  --footer-paper: #f1e5d2;
  --footer-sea: #285c59;
  --footer-pencil: #294d48;
  --footer-rust: #be5939;
  --footer-sun: #e1b666;
  background: var(--footer-paper);
  color: var(--footer-pencil);
  padding: 58px 6% 24px;
  overflow: hidden;
  isolation: isolate;
}
.travel-footer a:focus-visible, .travel-footer button:focus-visible { outline-color: var(--footer-rust); }
.footer-intro { display: grid; grid-template-columns: minmax(230px, 1.7fr) 1fr 1fr; gap: 48px; max-width: 1440px; margin: auto; }
.footer-invitation .footer-eyebrow { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.footer-invitation h2 { font: 400 clamp(24px, 2.65vw, 38px)/1.17 Georgia, serif; letter-spacing: -.035em; margin: 0 0 15px; }
.footer-invitation > a { display: inline-block; border-bottom: 1px solid #294d4880; padding: 10px 0; font-size: 12px; }
.footer-link-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-link-group h3 { font-size: 10px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; margin: 1px 0 16px; color: #59695e; }
.footer-link-group a { display: flex; align-items: center; min-height: 34px; font-size: 12px; }
.travel-footer a { transition: color 160ms ease; text-underline-offset: 5px; }
.travel-footer a:hover { color: #a5462c; text-decoration: underline; }
.footer-scene { position: relative; margin: 28px -3.5% 0; touch-action: pan-y; }
.footer-illustration { display: block; width: 100%; height: auto; overflow: visible; }
.footer-line { fill: none; stroke: var(--footer-pencil); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.footer-letter { color: var(--footer-sea); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 260ms cubic-bezier(.23, 1, .32, 1), color 220ms ease; }
.footer-letter-face { fill: currentColor; stroke: var(--footer-pencil); stroke-width: 1.5; stroke-linejoin: round; }
.footer-letter-sketch { fill: url(#footer-hatching); opacity: .55; pointer-events: none; }
.footer-drift, .footer-sail, .footer-wave, .footer-bird { animation-play-state: paused !important; }
.travel-footer[data-running="true"] :is(.footer-drift, .footer-sail, .footer-wave, .footer-bird) { animation-play-state: running !important; }
.footer-drift { animation: footer-drift var(--drift-time, 7s) ease-in-out var(--drift-delay, -1s) infinite alternate; transform-box: fill-box; transform-origin: center; }
.footer-flight-scene { pointer-events: none; }
.footer-plane-flight { transform-origin: 0 0; }
.footer-plane-trail { fill: none; stroke: #52736a; stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 3 8; opacity: .5; }
.footer-sail { transform-box: fill-box; transform-origin: 50% 100%; animation: footer-rock 5s ease-in-out infinite alternate; }
.footer-wave { transform-box: fill-box; transform-origin: 10% 90%; animation: footer-wave 4.4s ease-in-out infinite; }
.footer-bird { transform-box: fill-box; transform-origin: 50% 100%; animation: footer-bird 6s ease-in-out infinite; }
.footer-tagline { margin: 8px 0 38px; text-align: center; font: italic clamp(21px, 2.3vw, 31px)/1.4 Georgia, serif; color: var(--footer-sea); }
.footer-last-line { max-width: 1440px; margin: auto; padding-top: 19px; border-top: 1px solid #294d482b; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 11px; }
.footer-last-line p { margin: 0; color: #59695e; }
.footer-last-line > a { display: flex; align-items: center; min-height: 44px; gap: 12px; }
.footer-last-line > a svg { width: 15px; height: 15px; }
@keyframes footer-drift { from { transform: translate(-3px, 2px) rotate(-7deg); } to { transform: translate(5px, -12px) rotate(8deg); } }
@keyframes footer-rock { from { transform: rotate(-3deg) translateY(1px); } to { transform: rotate(3deg) translateY(-2px); } }
@keyframes footer-wave { 0%, 55%, 100% { transform: rotate(0); } 65% { transform: rotate(-11deg); } 75% { transform: rotate(8deg); } 85% { transform: rotate(-7deg); } }
@keyframes footer-bird { 0%, 50%, 100% { transform: rotate(0); } 60% { transform: rotate(-7deg) translateY(-3px); } 70% { transform: rotate(4deg); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .travel-footer[data-running="true"] .footer-letter:hover { transform: translateY(-7px) rotate(-1deg); color: var(--footer-rust); }
  .travel-footer[data-running="true"] .footer-letter:nth-child(even):hover { transform: translateY(-7px) rotate(1deg); }
}
@media (min-width: 1650px) { .footer-scene { max-width: 1540px; margin-inline: auto; } }
@media (max-width: 700px) {
  .travel-footer { padding: 38px 24px 20px; }
  .footer-intro { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-invitation { grid-column: 1 / -1; }
  .footer-invitation h2 { font-size: 31px; }
  .footer-invitation h2 br { display: none; }
  .footer-link-group h3 { margin-bottom: 8px; }
  .footer-link-group a { min-height: 40px; }
  .footer-scene { margin: 25px -18px 0; }
  .footer-tagline { margin: 10px 0 28px; font-size: 23px; }
  .footer-last-line { flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; }
  .footer-last-line p { width: 100%; margin-bottom: 5px; }
  .footer-scene .footer-tiny-detail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-letter, .travel-footer a { transition: none; }
}
