/* The landing hero (home page), shared with the dashboard pages' look. */
.landing { --hero-img: url("/web/assets/hero-jets.jpg"); }

  .landing { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden;
             display: grid; place-items: center; text-align: center; color: #fff;
             background: linear-gradient(180deg, #2f72cf 0%, #4893ef var(--sky-join, 22%)); }  /* sky colour continued above the photo */
  .landing .bg { position: absolute; top: 0; bottom: 0; width: 50%; background-image: var(--hero-img); background-repeat: no-repeat;
                 background-size: auto var(--jet-scale, 80%); background-position: 100% 100%;
                 -webkit-mask-image: linear-gradient(180deg, transparent calc(100% - var(--jet-scale, 80%)), #000 calc(100% - var(--jet-scale, 80%) + 14%));
                 mask-image: linear-gradient(180deg, transparent calc(100% - var(--jet-scale, 80%)), #000 calc(100% - var(--jet-scale, 80%) + 14%)); }
  /* left jet; the right one is the same picture flipped, so the tarmac and sky meet themselves at the centre */
  .landing .bg.l { left: 0; }
  .landing .bg.r { right: 0; transform: scaleX(-1); }
  .landing::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(rgba(15,27,45,.16), rgba(15,27,45,.16)),
      linear-gradient(180deg, rgba(10,18,32,.5) 0%, rgba(10,18,32,0) 22%),
      radial-gradient(ellipse 40% 46% at 50% 50%, rgba(10,18,32,.42), rgba(10,18,32,0) 72%),
      linear-gradient(0deg, rgba(10,18,32,.45) 0%, rgba(10,18,32,0) 30%); }
  @media (max-width: 719px) {  /* phones: one jet, no mirror */
    .landing .bg.l { width: 100%; background-size: cover; background-position: 62% 50%; -webkit-mask-image: none; mask-image: none; }
    .landing .bg.r { display: none; }
  }
  .landing .copy { position: relative; z-index: 1; max-width: 900px; padding: 0 20px; margin-top: -14vh; }
  .landing .eyebrow { font: 400 12px/1 Jost, sans-serif; letter-spacing: .34em; text-transform: uppercase; opacity: .9; margin: 0 0 18px; }
  .landing h2 { font: 300 clamp(36px, 6vw, 68px)/1.08 Jost, sans-serif; letter-spacing: -.005em; margin: 0;
                text-shadow: 0 2px 24px rgba(0,0,0,.25); }
  .landing p.lede { font: 300 clamp(15px, 1.6vw, 18px)/1.55 Jost, sans-serif; margin: 18px auto 30px; max-width: 560px; opacity: .95;
                    text-shadow: 0 1px 12px rgba(0,0,0,.3); }
  .landing .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .landing .actions a { font: 500 11px/1 Jost, sans-serif; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
                        padding: 15px 24px; border-radius: 3px; }
  .landing .actions .primary { background: #fff; color: #13233b; }
  .landing .actions .primary:hover { background: #f1ede4; }
  .landing .actions .secondary { border: 1px solid rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .landing .actions .secondary:hover { background: rgba(255,255,255,.12); }
  .landing .scroll { position: absolute; z-index: 1; bottom: 28px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px;
                     border: 1px solid rgba(255,255,255,.75); border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; }
  .landing .scroll::before { content: ""; width: 1px; height: 12px; background: currentColor; animation: drift 2.2s ease-in-out infinite; }
  @keyframes drift { 0%, 100% { transform: translateY(-3px); opacity: .5; } 50% { transform: translateY(3px); opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .landing .scroll::before { animation: none; } html { scroll-behavior: auto; } }
  .landing .credit { position: absolute; z-index: 1; right: 14px; bottom: 10px; font-size: 10px; opacity: .6; letter-spacing: .04em; }
  .landing .credit a { text-decoration: none; }

