/* =====================================================================
   Directline — closing call to action + footer (2026-11-26)
   Modelled on the superside.com footer, built from our own pieces:
   - the closing call to action sits on a full-bleed picture (the Doha
     poster from the hero) that melts into the footer's deep purple, with
     the headline, line and button centred over it;
   - the footer below continues on the same colour: two labelled groups
     (hairline + title), each with two columns of links (a white column
     title with an arrow, quieter links under it);
   - a bottom row with a large logo and the copyright, the prototype note,
     and a round "back to top" button.
   ===================================================================== */

/* ---------- closing call to action ---------- */
.closing { background: var(--deep); text-align: center; isolation: isolate; }
.closing-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.closing-inner { z-index: 1; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.closing-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(42 22 77 / .4) 0%, rgb(42 22 77 / .28) 38%, rgb(42 22 77 / .82) 80%, var(--deep) 100%),
    radial-gradient(ellipse at 50% 16%, rgb(85 48 131 / .38) 0%, rgb(61 34 105 / .3) 50%, rgb(42 22 77 / .45) 100%);
}
.closing-inner {
  min-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 120px; padding-bottom: 96px;
}
.closing .eyebrow { justify-content: center; }
.closing h2 { margin: 18px 0 18px; }
.closing p { margin-bottom: 30px; color: #d8cde6; font-size: 16px; }
/* the old artwork (orbit + arrow) would sit on the picture: retired here */
.closing-orbit, .closing-arrow { display: none; }

/* ---------- footer ---------- */
.ft { background: var(--deep); color: #fff; padding: 24px 0 40px; }
.ft-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ft-group-title {
  font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: 0; margin: 0;
  padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .16);
}
.ft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 54px; }
.ft-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ft-col > a, .ft-col > button, .ft-col > span {
  background: none; padding: 0; font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / .62);
  text-align: right; transition: color .2s;
}
.ft-col > a:hover, .ft-col > button:hover { color: var(--lime); }
.ft-col > .ft-col-title { font-size: 19px; font-weight: 500; color: #fff; margin-bottom: 6px; display: inline-flex; gap: 8px; align-items: center; }
.ft-col > .ft-col-title span { font: 15px/1 Arial, sans-serif; transition: translate .2s; }
.ft-col > a.ft-col-title:hover span, .ft-col > button.ft-col-title:hover span { translate: -2px -2px; }
.ft-col > [dir="ltr"] { direction: ltr; unicode-bidi: isolate; }

.ft-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 130px; }
.ft-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ft-logo { display: block; width: 260px; }
.ft-logo img { width: 100%; height: auto; }
.ft-brand > span { font-size: 14px; color: rgb(255 255 255 / .7); }
.ft-note { font-size: 13px; color: rgb(255 255 255 / .5); margin: 0 auto 4px; }
.ft-top {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .8);
  display: grid; place-items: center; font: 18px/1 Arial, sans-serif; color: #fff; flex: none;
  transition: background .2s, color .2s, border-color .2s;
}
.ft-top:hover { background: var(--lime); border-color: var(--lime); color: var(--deep); }

@media (max-width: 1150px) {
  .ft-groups { gap: 28px; }
  .ft-cols { gap: 24px; margin-top: 40px; }
}
@media (max-width: 800px) {
  .closing-inner { min-height: 520px; padding-top: 90px; padding-bottom: 72px; }
  .ft { padding-top: 16px; }
  .ft-groups { grid-template-columns: 1fr; gap: 48px; }
  .ft-cols { margin-top: 30px; }
  .ft-col > .ft-col-title { font-size: 17px; }
  .ft-col > a, .ft-col > button, .ft-col > span { font-size: 14px; }
  .ft-bottom { margin-top: 72px; flex-wrap: wrap; align-items: center; }
  .ft-logo { width: 190px; }
  .ft-note { order: 3; width: 100%; margin: 0; }
}
