/* Horizon Sun — signature seaplane moments: contrail progress, splashdown, pilot's logbook, wing-strut livery */

/* ---------- contrail progress with a tiny seaplane ---------- */
.prog { position: fixed; z-index: 300; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; transform: none !important; background: none !important; }
.prog i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(47,209,193,0), var(--lagoon) 30%, var(--sun)); }
.prog__plane { position: absolute; top: -7px; left: 0; width: 34px; height: 17px; transform: translateX(-30px); filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); opacity: 0; transition: opacity .3s; }
.prog.is-on .prog__plane { opacity: 1; }

/* ---------- PRESS: the pilot's logbook ---------- */
.logbook { background: radial-gradient(80rem 40rem at 20% 0%, #12395a 0%, var(--night) 60%); color: #fff; overflow: hidden; }
.logbook .h2 em { color: var(--sun-2); }
.head--center { text-align: center; margin-inline: auto; }
.head--center .eyebrow { justify-content: center; }
.lb { display: grid; grid-template-columns: minmax(0,1fr); gap: 26px; align-items: center; }
@media (min-width: 1020px) { .lb { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 46px; } }
.lb__spread { margin: 0; }
.lb__frame { position: relative; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); cursor: zoom-in; touch-action: pan-y; }
.lb__frame img { width: 100%; height: auto; }
.lb__frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; margin-left: -20px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.14), rgba(0,0,0,0)); pointer-events: none; }
.loupe { position: absolute; z-index: 2; left: 0; top: 0; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7), inset 0 0 0 1px rgba(0,0,0,.2); background-repeat: no-repeat; background-color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); pointer-events: none; }
.lb__frame.is-zoom .loupe { opacity: 1; transform: none; }
.lb__frame.is-zoom .lb__hint { opacity: 0; }
.lb__hint { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(7,20,35,.8); color: #fff; font: 600 .76rem/1 var(--fb); transition: opacity .3s; }
.lb__spread figcaption { margin-top: 12px; font: 500 .8rem/1.4 var(--fm); color: var(--mist); letter-spacing: .04em; }
.lb__spread figcaption b { color: #fff; }
.lb__book { position: relative; padding: 0 0 22px; border-radius: 6px 18px 18px 6px; background: #fbf6e9 radial-gradient(120% 80% at 100% 100%, rgba(186,160,110,.18), transparent 60%); color: #1b2733; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 10px 0 0 #e7dcc3, inset 12px 0 0 rgba(0,0,0,.08); }
.lb__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 12px 18px 12px 26px; background: #1d4f9c; color: #fff; border-radius: 6px 18px 0 0; font: 600 .66rem/1.2 var(--fm); letter-spacing: .18em; text-transform: uppercase; }
.lb__table { width: 100%; border-collapse: collapse; margin-top: 2px; }
.lb__table th { padding: 10px 10px 8px; text-align: left; font: 700 .62rem/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: #b3361d; border-bottom: 2px solid rgba(179,54,29,.5); }
.lb__table th:first-child, .lb__table td:first-child { padding-left: 26px; width: 78px; }
.lb__table td { padding: 12px 10px; vertical-align: top; border-bottom: 1px solid rgba(29,79,156,.18); }
.lb__table td b { display: block; font: 800 .95rem/1.2 var(--fb); color: #0b2236; }
.lb__table td span { display: block; margin-top: 2px; font-size: .82rem; color: #50606d; }
.hand { font: 600 1.22rem/1.15 'Caveat', cursive; color: #1d4f9c; }
.stamp { position: absolute; width: 112px; height: 112px; font: 700 10px/1 var(--fm); color: rgba(179,54,29,.8); mix-blend-mode: multiply; pointer-events: none; }
.stamp--tui { right: 18px; bottom: 70px; transform: rotate(-14deg) scale(.9); opacity: 0; }
.lb__book.in .stamp--tui { animation: stamp .5s .7s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.8); } to { opacity: 1; transform: rotate(-14deg) scale(.9); } }
.lb__badge { display: block; width: 150px; height: auto; margin: 18px 0 0 26px; border-radius: 8px; background: #fff; padding: 8px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.lb__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 18px 0 26px; }
.lb__links a { color: #1d4f9c; font-weight: 700; font-size: .9rem; }
.lb__quote { max-width: 52rem; margin: clamp(40px, 6vw, 70px) auto 0; text-align: center; }
.lb__quote p { margin: 0; font: italic 400 clamp(1.4rem, 1.15rem + 1.3vw, 2.3rem)/1.2 var(--fd); color: rgba(255,255,255,.5); }
.lb__quote .lb__tr { margin-top: 10px; color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.9rem); }
.lb__quote footer { margin-top: 14px; font: 500 .78rem/1.3 var(--fm); color: var(--mist); letter-spacing: .04em; }
@media (max-width: 560px) {
  .lb__table th:first-child, .lb__table td:first-child { width: 62px; padding-left: 20px; }
  .lb__table td:last-child, .lb__table th:last-child { display: none; }
  .stamp--tui { right: 6px; bottom: 92px; width: 96px; height: 96px; }
  .loupe { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
}

/* ---------- the wing-strut livery, as painted on their aircraft ---------- */
.strut { position: absolute; z-index: 0; left: -12%; right: -12%; bottom: clamp(18px, 3vw, 44px); height: clamp(54px, 7vw, 92px); transform: rotate(-5deg) translateX(var(--sx, 0px)); background: linear-gradient(180deg, #ffffff 0%, #eef2f5 55%, #c9d3db 100%); border-radius: 999px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), inset 0 -6px 12px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.strut span { font: italic 800 clamp(1.4rem, .9rem + 2.6vw, 3.4rem)/1 var(--fb); letter-spacing: .08em; color: #1d4f9c; white-space: nowrap; }
.final { padding-block: clamp(120px, 18vw, 240px) clamp(160px, 22vw, 280px); }
.final__in { position: relative; z-index: 1; }

/* propeller spinner on the send button */
.propspin { width: 20px; height: 20px; animation: spin .35s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .splash { height: auto; }
  .splash__stage { position: relative; height: 80vh; }
  .stamp--tui { opacity: 1; }
}

.rip { transform-box: fill-box; transform-origin: center; animation: rip 1.6s ease-out forwards; }
@keyframes rip { from { transform: scale(.15); opacity: .95; } to { transform: scale(1); opacity: 0; } }

.splash__glints path { animation: glint 2.6s ease-in-out infinite alternate; }
.splash__glints path:nth-child(2n) { animation-delay: -1.3s; }
@keyframes glint { from { opacity: .15; } to { opacity: .9; } }
