/* =====================================================================
   Beyond Journey - one flight offer's page (bjfo-)
   ---------------------------------------------------------------------
   /flight-offer/{slug}: where a card of the /flights "Special Offers"
   rail leads. Scoped to .bjfo so nothing here reaches the header, the
   footer or the template.

   THE LANDING PAGE (2026-10-06, fourth design). The navy page read as
   boring, two 3D takes did not land, and the light one before this was
   "santra santra" - peach ground, an orange ticket, an orange card, an
   orange band - which the owner's boss did not like either. The ask:
   build these like landing pages; colour, theme, design may all change.
   So: white and a cool light grey, navy for words and the dark panel,
   and orange for ONE thing on a screen - the main button.

     1. banner   white; the offer on the left (kicker, heading, a line,
                 the countdown, the buttons, three plain reassurances);
                 a photograph running to the right edge of the screen,
                 and on its edge the coupon - a white card whose code sits
                 on a navy stub - with this offer's own badge
     2. strip    four facts on a white card riding the banner's foot
     3. perks    centred head, a card per perk, icon beside the words
     4. how      on light grey: four numbered steps, then a navy panel
                 with the code and the button
     5. terms    numbered rows beside a help card
     6. more     other offers still running, on light grey
     +  bar      on a phone, the code and the button along the foot once
                 the coupon has scrolled away

   TYPE   - Poppins 400 text, 500 labels, 600 headings/buttons/code.
   MOTION - the banner settles in, cards rise as they scroll into view
            (js/bj-flight-offer.js adds .bjfo-js and .in-view). Off under
            prefers-reduced-motion; nothing is hidden without the script.
   ===================================================================== */

.bjfo {
  --bjfo-navy: #17233e;
  --bjfo-navy-2: #243560;
  --bjfo-orange: #f5761a;
  --bjfo-orange-dk: #d9620c;
  --bjfo-body: #4a5470;
  --bjfo-muted: #6b7387;
  --bjfo-line: #e6e9f0;
  --bjfo-soft: #f5f7fb;          /* the light grey bands */
  --bjfo-tint: #edf1f8;          /* icon tiles */
  --bjfo-r: 18px;
  --bjfo-lift: 44px;             /* how far the facts strip rises into the banner */
  --bjfo-ease: cubic-bezier(.4, 0, .2, 1);
  --bjfo-out: cubic-bezier(.22, .61, .36, 1);
  --bjfo-shadow: 0 1px 2px rgba(23, 35, 62, .04), 0 14px 34px -22px rgba(23, 35, 62, .28);

  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--bjfo-body);
  background: #fff;
  overflow-x: clip;
}

.bjfo *, .bjfo *::before, .bjfo *::after { box-sizing: border-box; }
.bjfo :where(h1, h2, h3) { margin: 0; color: var(--bjfo-navy); font-weight: 600; letter-spacing: -.01em; }
.bjfo :where(p, ul, ol, dl, dd) { margin: 0; }
.bjfo :where(ul, ol) { padding: 0; list-style: none; }
.bjfo a { text-decoration: none; }
.bjfo img { max-width: 100%; }
.bjfo :focus-visible { outline: 2px solid var(--bjfo-orange); outline-offset: 2px; }

/* style.css pads every <section>; this page keeps its own rhythm */
.bjfo section { padding: 0; margin: 0; position: relative; }

/* ------------------------------------------------------------------
   Buttons, kickers, section heads
   ------------------------------------------------------------------ */
.bjfo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px; border-radius: 12px;
  border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--bjfo-ease), box-shadow .2s var(--bjfo-ease),
              background-color .2s var(--bjfo-ease), border-color .2s var(--bjfo-ease), color .2s;
}
.bjfo-btn i, .bjfo-btn svg { font-size: 12px; }
.bjfo-btn--primary { background: var(--bjfo-orange); color: #fff; box-shadow: 0 10px 22px -12px rgba(245, 118, 26, .9); }
.bjfo-btn--primary:hover, .bjfo-btn--primary:focus-visible { background: var(--bjfo-orange-dk); color: #fff; transform: translateY(-1px); }
.bjfo-btn--ghost { background: #fff; color: var(--bjfo-navy); border-color: #d6dbe5; }
.bjfo-btn--ghost:hover, .bjfo-btn--ghost:focus-visible { border-color: var(--bjfo-navy); color: var(--bjfo-navy); }

.bjfo-kicker {
  display: block; margin-bottom: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bjfo-muted);
}
.bjfo-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.bjfo .bjfo-head h2, .bjfo .bjfo-terms h2, .bjfo .bjfo-more h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.02em; text-transform: none; }
.bjfo-head p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--bjfo-muted); }

/* ------------------------------------------------------------------
   1. Banner
   ------------------------------------------------------------------ */
.bjfo .bjfo-hero {
  isolation: isolate; overflow: hidden;
  padding: 34px 0 calc(var(--bjfo-lift) + 72px);
  background:
    radial-gradient(760px 520px at 0% 0%, #eef2f9 0%, rgba(238, 242, 249, 0) 70%),
    #fff;
}
.bjfo-hero__bg, .bjfo-snap, .bjfo-hero__arc { display: none; }
/* the photograph, from the middle of the banner to the screen's edge */
.bjfo .bjfo-hero::after {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: var(--bjfo-lift);
  width: 43%; border-bottom-left-radius: 56px;
  /* the page sets the photograph per desk (OfferDesk): a flight offer's is the plane's body, above the coupon */
  background: #dfe5ee var(--bjfo-photo, url('/img/bg/flight-homebanner.jpg')) var(--bjfo-photo-at, 16% 40%) / cover no-repeat;
}

.bjfo-hero__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 34px; font-size: 12.5px; color: var(--bjfo-muted); }
.bjfo-hero__crumbs a { color: var(--bjfo-body); }
.bjfo-hero__crumbs a:hover { color: var(--bjfo-navy); text-decoration: underline; text-underline-offset: 3px; }
.bjfo-hero__crumbs span::before { content: "/"; margin-right: 8px; color: #c3c9d4; }
.bjfo-hero__crumbs [aria-current] { color: var(--bjfo-navy); font-weight: 500; }

.bjfo-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.bjfo-hero__copy { min-width: 0; }

.bjfo-hero__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--bjfo-line);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bjfo-navy);
}
/* a live dot: the offer is on */
.bjfo-hero__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1a9a5a; }
.bjfo-hero__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1a9a5a; animation: bjfo-ping 1.8s var(--bjfo-out) infinite; }
.bjfo.is-ended .bjfo-hero__dot, .bjfo.is-ended .bjfo-hero__dot::after { background: #9aa3b5; animation: none; }
@keyframes bjfo-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.bjfo .bjfo-hero h1 {
  margin: 20px 0 16px;
  color: var(--bjfo-navy); font-size: 44px; line-height: 1.14; letter-spacing: -.03em; text-transform: none;
}
.bjfo .bjfo-hero h1 em { font-style: normal; color: var(--bjfo-orange); }
.bjfo-hero__lead { max-width: 520px; font-size: 16px; line-height: 1.7; color: var(--bjfo-body); }

/* ---- the countdown --------------------------------------------------- */
.bjfo-count { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.bjfo-count__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--bjfo-muted); }
.bjfo-count__label i, .bjfo-count__label svg, .bjfo-count--note i, .bjfo-count--note svg { color: var(--bjfo-muted); font-size: 13px; }
.bjfo-count__cells { display: flex; gap: 8px; }
.bjfo-count__cells span {
  min-width: 60px; padding: 9px 8px 8px; border-radius: 12px; text-align: center;
  background: #fff; border: 1px solid var(--bjfo-line);
}
.bjfo-count__cells b { display: block; font-size: 21px; font-weight: 600; line-height: 1.1; color: var(--bjfo-navy); font-variant-numeric: tabular-nums; }
.bjfo-count__cells small { display: block; margin-top: 3px; font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bjfo-muted); }
.bjfo-count--note { gap: 8px; font-size: 14px; color: var(--bjfo-body); }

.bjfo-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* three plain reassurances under the buttons */
.bjfo-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.bjfo-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--bjfo-body); white-space: nowrap; }
.bjfo-trust__ico { display: inline-grid; place-items: center; color: #1a9a5a; font-size: 13px; }

/* ---- the coupon, on the photograph's edge ---------------------------- */
.bjfo-hero__deal { position: relative; min-width: 0; min-height: 470px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 6px; }   /* the coupon low, the plane above it */
.bjfo-hero__deal::before, .bjfo-hero__deal::after { content: none; }

/* this offer's badge and its dates, on the photograph */
.bjfo-badge {
  position: absolute; z-index: 1; top: 0; right: 0;
  display: flex; align-items: center; gap: 11px; max-width: 100%;
  padding: 7px 16px 7px 7px; border-radius: 14px;
  background: #fff; box-shadow: 0 14px 30px -16px rgba(23, 35, 62, .5);
}
.bjfo-badge__img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.bjfo-badge span { min-width: 0; }
.bjfo-badge small { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bjfo-muted); }
.bjfo-badge b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--bjfo-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bjfo-valid {
  position: absolute; z-index: 1; top: 66px; right: 0;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  background: #fff; box-shadow: 0 14px 30px -16px rgba(23, 35, 62, .5);
  font-size: 12.5px; font-weight: 500; color: var(--bjfo-navy); white-space: nowrap;
}
.bjfo-valid i, .bjfo-valid svg { color: #1a9a5a; font-size: 12px; }
.bjfo.is-ended .bjfo-valid i, .bjfo.is-ended .bjfo-valid svg { color: #9aa3b5; }

/* the coupon: a white card, the code on a navy stub, notches between */
.bjfo-pass {
  --n: 10px;
  position: relative; z-index: 2;
  width: min(460px, 100%); margin-left: -56px;
  display: grid; grid-template-columns: minmax(0, 1fr) 156px;
  filter: drop-shadow(0 26px 34px rgba(23, 35, 62, .22)) drop-shadow(0 2px 4px rgba(23, 35, 62, .06));
}
.bjfo-pass__main {
  min-width: 0; padding: 20px 22px 18px;
  border-radius: 18px 0 0 18px; background: #fff;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent var(--n), #000 calc(var(--n) + .5px)) top / 100% 51% no-repeat,
                radial-gradient(circle at 100% 100%, transparent var(--n), #000 calc(var(--n) + .5px)) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent var(--n), #000 calc(var(--n) + .5px)) top / 100% 51% no-repeat,
        radial-gradient(circle at 100% 100%, transparent var(--n), #000 calc(var(--n) + .5px)) bottom / 100% 51% no-repeat;
}
.bjfo-pass__stub {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 16px 12px; border-radius: 0 18px 18px 0; color: #fff;
  background: linear-gradient(160deg, var(--bjfo-navy-2) 0%, var(--bjfo-navy) 100%);
  -webkit-mask: radial-gradient(circle at 0 0, transparent var(--n), #000 calc(var(--n) + .5px)) top / 100% 51% no-repeat,
                radial-gradient(circle at 0 100%, transparent var(--n), #000 calc(var(--n) + .5px)) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent var(--n), #000 calc(var(--n) + .5px)) top / 100% 51% no-repeat,
        radial-gradient(circle at 0 100%, transparent var(--n), #000 calc(var(--n) + .5px)) bottom / 100% 51% no-repeat;
}
/* the tear line */
.bjfo-pass__stub::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; border-left: 2px dashed rgba(255, 255, 255, .35); }

.bjfo-pass__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--bjfo-line); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bjfo-muted); white-space: nowrap; }
.bjfo-pass__head span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--bjfo-navy); }
.bjfo-pass__head i, .bjfo-pass__head svg { color: var(--bjfo-navy); font-size: 11px; }
.bjfo-pass__over { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bjfo-muted); }
.bjfo-pass__big { margin-top: 2px; font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--bjfo-navy); white-space: nowrap; }
.bjfo-pass__under { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--bjfo-body); }
.bjfo .bjfo-pass__meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--bjfo-line); }
.bjfo-pass__meta dt { font-size: 9px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bjfo-muted); }
.bjfo-pass__meta dd { font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--bjfo-navy); }

.bjfo-pass__label { font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.bjfo-pass__code { display: block; max-width: 100%; margin: 6px 0 12px; font-size: 18px; font-weight: 600; letter-spacing: .06em; line-height: 1.2; color: #fff; white-space: nowrap; user-select: all; }
.bjfo-pass__code--word { font-size: 16px; letter-spacing: 0; user-select: auto; }
.bjfo-pass__copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 34px; padding: 0 14px; border: 0; border-radius: 10px;
  background: #fff; color: var(--bjfo-navy); cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .2s var(--bjfo-ease), color .2s;
}
.bjfo-pass__copy:hover, .bjfo-pass__copy:focus-visible { background: #e9edf5; }
.bjfo-pass__copy.is-copied { background: #1a7f4b; color: #fff; }
.bjfo-pass__copy i, .bjfo-pass__copy svg { font-size: 11px; }
.bjfo-pass__bars {
  width: 100%; height: 22px; margin-top: 12px; opacity: .45;
  background: repeating-linear-gradient(90deg,
    #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px,
    #fff 8px 11px, transparent 11px 13px, #fff 13px 14px, transparent 14px 17px,
    #fff 17px 19px, transparent 19px 20px, #fff 20px 21px, transparent 21px 25px);
}
.bjfo-pass__status { margin: 14px 0 0 -56px; min-height: 0; font-size: 12.5px; line-height: 1.5; color: #1a7f4b; }
.bjfo-pass__status:empty { display: none; }
.bjfo-pass__status.is-warn { color: #b4520c; }

/* "Copied" stamped on the coupon */
.bjfo-pass__stub::after {
  content: "\2713  Copied"; position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none;
  padding: 6px 12px; border: 2px solid #fff; border-radius: 9px;
  background: #1a7f4b; color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.6);
}
.bjfo-pass.is-stamped .bjfo-pass__stub::after { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); transition: opacity .18s ease-out, transform .35s cubic-bezier(.34, 1.56, .64, 1); }

/* ---- the banner settles in ------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .bjfo-hero__copy > * { animation: bjfo-up .7s var(--bjfo-out) both; }
  .bjfo-hero__copy > :nth-child(2) { animation-delay: .08s; }
  .bjfo-hero__copy > :nth-child(3) { animation-delay: .16s; }
  .bjfo-hero__copy > :nth-child(4) { animation-delay: .24s; }
  .bjfo-hero__copy > :nth-child(5) { animation-delay: .32s; }
  .bjfo-hero__copy > :nth-child(6) { animation-delay: .4s; }
  .bjfo .bjfo-hero::after { animation: bjfo-fade 1s var(--bjfo-out) both; }
  .bjfo-pass { animation: bjfo-up .8s var(--bjfo-out) .35s both; }
  .bjfo-badge { animation: bjfo-up .7s var(--bjfo-out) .55s both; }
  .bjfo-valid { animation: bjfo-up .7s var(--bjfo-out) .7s both; }
}
@keyframes bjfo-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bjfo-fade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------
   2. Four facts, riding the banner's foot
   ------------------------------------------------------------------ */
.bjfo .bjfo-strip { z-index: 2; margin-top: calc(var(--bjfo-lift) * -1); }
.bjfo .bjfo-strip__list {
  display: grid; grid-template-columns: 1.4fr 1.15fr .9fr 1.15fr;
  padding: 22px 6px; border-radius: var(--bjfo-r);
  background: #fff; border: 1px solid var(--bjfo-line);
  box-shadow: 0 26px 52px -32px rgba(23, 35, 62, .35);
}
.bjfo-strip__list li { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 2px 22px; }
.bjfo-strip__list li + li { border-left: 1px solid var(--bjfo-line); }
/* the disc is on the wrapper: Font Awesome swaps the <i> for an <svg> whose own width rule wins */
.bjfo-strip__ico { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bjfo-tint); color: var(--bjfo-navy); font-size: 15px; }
.bjfo-strip__list small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bjfo-muted); }
.bjfo-strip__list b { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--bjfo-navy); }

/* ------------------------------------------------------------------
   3. What you get
   ------------------------------------------------------------------ */
.bjfo .bjfo-perks { padding: 88px 0 92px; }
.bjfo .bjfo-perks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bjfo .bjfo-perks__grid[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin: 0 auto; }
.bjfo .bjfo-perks__grid[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.bjfo-perk {
  position: relative; display: flex; align-items: flex-start; gap: 16px; min-width: 0;
  padding: 26px 24px; border-radius: var(--bjfo-r);
  background: #fff; border: 1px solid var(--bjfo-line); box-shadow: var(--bjfo-shadow);
  transition: transform .25s var(--bjfo-ease), box-shadow .25s var(--bjfo-ease), border-color .25s;
}
.bjfo-perk:hover { transform: translateY(-4px); border-color: #cfd6e3; box-shadow: 0 24px 44px -28px rgba(23, 35, 62, .45); }
.bjfo-perk__ico {
  flex: 0 0 50px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--bjfo-tint); color: var(--bjfo-navy); font-size: 19px;
}
.bjfo .bjfo-perk h3 { font-size: 16.5px; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.bjfo-perk p { margin-top: 6px; font-size: 14px; line-height: 1.65; }

/* ------------------------------------------------------------------
   4. How to use it, on light grey
   ------------------------------------------------------------------ */
.bjfo .bjfo-how { scroll-margin-top: 60px; padding: 88px 0 96px; background: var(--bjfo-soft); }
.bjfo-head--light .bjfo-kicker { color: var(--bjfo-muted); }
.bjfo .bjfo-head--light h2 { color: var(--bjfo-navy); }
.bjfo-head--light p { color: var(--bjfo-muted); }

.bjfo .bjfo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bjfo-steps li {
  position: relative; min-width: 0; padding: 24px 22px 26px;
  border-radius: var(--bjfo-r); background: #fff; border: 1px solid var(--bjfo-line);
}
/* an arrow in the gutter, pointing at the next step */
.bjfo-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; right: -15px; z-index: 1; width: 10px; height: 10px;
  border-top: 2px solid #b9c2d3; border-right: 2px solid #b9c2d3; transform: rotate(45deg);
}
.bjfo-steps__top { display: flex; align-items: center; gap: 12px; }
.bjfo-steps__num {
  flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--bjfo-navy); color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.bjfo .bjfo-steps h3 { font-size: 15.5px; line-height: 1.35; letter-spacing: 0; text-transform: none; color: var(--bjfo-navy); }
.bjfo-steps p { margin-top: 14px; font-size: 13.5px; line-height: 1.65; color: var(--bjfo-body); }

/* the code again, beside the button: the page's one dark panel */
.bjfo-go {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin-top: 40px; padding: 30px 34px; border-radius: 22px; color: #fff;
  background: linear-gradient(120deg, var(--bjfo-navy) 0%, var(--bjfo-navy-2) 100%);
}
/* a plane, faint, in the corner */
.bjfo-go::before {
  content: "\2708"; position: absolute; right: 24px; top: -18px; pointer-events: none;
  font-size: 150px; line-height: 1; color: rgba(255, 255, 255, .05); transform: rotate(-24deg);
}
.bjfo-go__copy { position: relative; }
.bjfo-go__copy b { display: block; font-size: 21px; font-weight: 600; color: #fff; }
.bjfo-go__copy span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.bjfo-go__acts { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bjfo-chip {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 5px 5px 5px 18px; border-radius: 12px; cursor: pointer;
  border: 1.5px dashed rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06);
  font-family: inherit; color: #fff;
}
.bjfo-chip > b { font-size: 16px; font-weight: 600; letter-spacing: .12em; }
.bjfo-chip > span { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 9px; background: #fff; color: var(--bjfo-navy); font-size: 12.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.bjfo-chip:hover > span, .bjfo-chip:focus-visible > span { background: #e9edf5; }
.bjfo-chip.is-copied > span { background: #1a7f4b; color: #fff; }
.bjfo-go__tel { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: #fff; }
.bjfo-go__tel i, .bjfo-go__tel svg { font-size: 13px; }
.bjfo-go__tel:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------
   5. Terms, beside the help card
   ------------------------------------------------------------------ */
.bjfo .bjfo-terms { padding: 88px 0 92px; background: #fff; }
.bjfo-terms__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.bjfo-terms__sub { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--bjfo-muted); }

.bjfo-help { margin-top: 26px; padding: 24px; border-radius: var(--bjfo-r); background: var(--bjfo-soft); border: 1px solid var(--bjfo-line); }
.bjfo .bjfo-help h3 { font-size: 16px; line-height: 1.4; letter-spacing: 0; color: var(--bjfo-navy); text-transform: none; }
.bjfo-help p { margin: 6px 0 16px; font-size: 14px; line-height: 1.6; color: var(--bjfo-muted); }
.bjfo-help a { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--bjfo-navy); transition: color .3s; }
.bjfo-help a:last-child { margin-bottom: 0; }
.bjfo-help a i, .bjfo-help a svg { flex: 0 0 auto; width: 1em; color: var(--bjfo-muted); }
.bjfo-help a:hover, .bjfo-help a:focus-visible { color: var(--bjfo-orange-dk); }

.bjfo-terms__card { padding: 6px 28px 8px; border: 1px solid var(--bjfo-line); border-radius: var(--bjfo-r); background: #fff; }
.bjfo .bjfo-terms__list { counter-reset: bjfo-term; }
.bjfo-terms__list li { counter-increment: bjfo-term; display: flex; align-items: center; gap: 16px; padding: 16px 0; font-size: 14.5px; line-height: 1.65; }
.bjfo-terms__list li + li { border-top: 1px solid var(--bjfo-line); }
.bjfo-terms__list li::before {
  content: counter(bjfo-term, decimal-leading-zero);
  flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--bjfo-tint); color: var(--bjfo-navy); font-size: 12px; font-weight: 600;
}
.bjfo-terms__note { padding: 14px 0 12px; border-top: 1px solid var(--bjfo-line); font-size: 12.5px; line-height: 1.6; color: var(--bjfo-muted); }

/* ------------------------------------------------------------------
   6. Other offers
   ------------------------------------------------------------------ */
.bjfo .bjfo-more { padding: 80px 0 88px; background: var(--bjfo-soft); }
.bjfo-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 30px; }
.bjfo-more__all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--bjfo-navy); }
.bjfo-more__all:hover, .bjfo-more__all:focus-visible { color: var(--bjfo-orange-dk); }
.bjfo-more__all i, .bjfo-more__all svg { font-size: 11px; transition: transform .2s var(--bjfo-ease); }
.bjfo-more__all:hover i, .bjfo-more__all:hover svg { transform: translateX(3px); }

.bjfo-more__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bjfo-offer {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--bjfo-line); border-radius: var(--bjfo-r); background: #fff; overflow: hidden;
  transition: transform .25s var(--bjfo-ease), box-shadow .25s var(--bjfo-ease), border-color .25s;
}
.bjfo-offer:hover, .bjfo-offer:focus-within { transform: translateY(-5px); border-color: #cfd6e3; box-shadow: 0 26px 44px -28px rgba(23, 35, 62, .45); }
.bjfo-offer__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e7ebf2; }
.bjfo-offer__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bjfo-out); }
.bjfo-offer:hover .bjfo-offer__media img { transform: scale(1.05); }
.bjfo-offer__tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; color: var(--bjfo-navy); }
.bjfo-offer__body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 16px; }
.bjfo .bjfo-offer h3 { font-size: 14.5px; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.bjfo-offer h3 a { color: inherit; }
.bjfo-offer h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }   /* the whole card is the link */
.bjfo-offer__meta { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding-bottom: 12px; font-size: 12.5px; color: var(--bjfo-muted); }
.bjfo-offer__meta i, .bjfo-offer__meta svg { color: var(--bjfo-muted); font-size: 12px; }
.bjfo-offer__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bjfo-line); }
.bjfo-offer__code { font-size: 12px; color: var(--bjfo-muted); }
.bjfo-offer__code b { font-weight: 600; letter-spacing: .06em; color: var(--bjfo-navy); }
.bjfo-offer__link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--bjfo-orange-dk); }
.bjfo-offer__link i, .bjfo-offer__link svg { font-size: 10.5px; transition: transform .2s var(--bjfo-ease); }
.bjfo-offer:hover .bjfo-offer__link i, .bjfo-offer:hover .bjfo-offer__link svg { transform: translateX(3px); }

/* ------------------------------------------------------------------
   The phone's action bar (drawn from 767px down)
   ------------------------------------------------------------------ */
.bjfo-bar { display: none; }

/* ------------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .bjfo.bjfo-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--bjfo-out) var(--d, 0ms), transform .6s var(--bjfo-out) var(--d, 0ms); }
  .bjfo.bjfo-js .reveal.in-view { opacity: 1; transform: none; }
  .bjfo.bjfo-js .reveal.in-view.is-settled { transition: transform .25s var(--bjfo-ease), box-shadow .25s var(--bjfo-ease), border-color .25s, background-color .25s; }
  .bjfo.bjfo-js .bjfo-perk.reveal.in-view.is-settled:hover { transform: translateY(-4px); }
  /* the strip sits at the banner's foot, often only partly on a laptop's
     first screen, where the scroll-in never fired: it rises on load */
  .bjfo.bjfo-js .bjfo-strip__list.reveal { opacity: 1; transform: none; transition: none; animation: bjfo-up .8s var(--bjfo-out) .45s both; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1199px) {
  .bjfo-hero__grid { gap: 48px; }
  .bjfo .bjfo-hero h1 { font-size: 38px; }
  .bjfo-pass { grid-template-columns: minmax(0, 1fr) 140px; margin-left: -40px; }
  .bjfo-pass__status { margin-left: -40px; }
  .bjfo-pass__big { font-size: 30px; }
  .bjfo-pass__code { font-size: 16px; letter-spacing: .03em; }   /* WELCOMEBJ on one line */
  .bjfo-count__cells span { min-width: 54px; }
  .bjfo .bjfo-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .bjfo-strip__list li:nth-child(odd) { border-left: 0; }
  .bjfo .bjfo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bjfo-steps li:nth-child(2)::after { display: none; }
  .bjfo-terms__grid { gap: 36px; }
}

/* one column: the photograph a panel under the words, the coupon on it */
@media (max-width: 991px) {
  .bjfo .bjfo-hero { padding-top: 28px; }
  .bjfo .bjfo-hero::after { content: none; }
  .bjfo-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .bjfo .bjfo-hero h1 { font-size: 34px; }
  .bjfo-hero__deal { display: block; min-height: 0; max-width: 640px; padding: 0 0 26px 26px; }
  .bjfo-hero__deal::before {
    content: ""; display: block; aspect-ratio: 16 / 9; border-radius: 26px;
    background: #dfe5ee var(--bjfo-photo, url('/img/bg/flight-homebanner.jpg')) var(--bjfo-photo-at-sm, 34% 50%) / cover no-repeat;
  }
  .bjfo-badge { top: 16px; right: 16px; }
  .bjfo-valid { top: 16px; left: 42px; right: auto; bottom: auto; }
  .bjfo-pass { position: absolute; left: 0; bottom: 0; margin: 0; width: min(430px, 86%); }
  .bjfo-pass__status { margin: 12px 0 0; }

  .bjfo .bjfo-perks__grid,
  .bjfo .bjfo-perks__grid[data-n] { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; gap: 14px; }
  .bjfo-terms__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bjfo-more__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .bjfo { --bjfo-lift: 34px; }
  .bjfo .bjfo-perks, .bjfo .bjfo-how, .bjfo .bjfo-terms { padding: 60px 0 64px; }
  .bjfo .bjfo-more { padding: 56px 0 64px; }
  .bjfo .bjfo-head h2, .bjfo .bjfo-terms h2, .bjfo .bjfo-more h2 { font-size: 24px; }
  .bjfo-head { margin-bottom: 28px; }

  /* the action bar: off-screen until the coupon has scrolled away */
  .bjfo-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--bjfo-line);
    box-shadow: 0 -12px 28px rgba(23, 35, 62, .1);
    transform: translateY(110%); visibility: hidden;
    transition: transform .35s var(--bjfo-out), visibility 0s linear .35s;
  }
  .bjfo-bar.is-on { transform: none; visibility: visible; transition: transform .35s var(--bjfo-out), visibility 0s; }
  .bjfo-bar__code {
    display: inline-flex; align-items: center; gap: 8px; min-width: 0;
    padding: 6px 12px; border-radius: 10px; cursor: pointer;
    border: 1.5px dashed #b9c2d3; background: var(--bjfo-soft);
    font-family: inherit; color: var(--bjfo-navy);
  }
  .bjfo-bar__code small { font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bjfo-muted); }
  .bjfo-bar__code b { font-size: 14px; font-weight: 600; letter-spacing: .08em; overflow-wrap: anywhere; }
  .bjfo-bar__code i, .bjfo-bar__code svg { color: var(--bjfo-muted); font-size: 12px; }
  .bjfo-bar__code.is-copied { border-color: #1a7f4b; background: #e9f7ef; }
  .bjfo-bar__code.is-copied i, .bjfo-bar__code.is-copied svg { color: #1a7f4b; }
  .bjfo-bar__text { min-width: 0; }
  .bjfo-bar__text small { display: block; font-size: 10.5px; color: var(--bjfo-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bjfo-bar__text b { display: block; font-size: 13.5px; font-weight: 600; color: var(--bjfo-navy); }
  .bjfo-bar .bjfo-btn { flex: 0 0 auto; min-height: 42px; box-shadow: none; }

  /* the floating column steps above the bar while it is up */
  body:has(.bjfo-bar.is-on) .bjx { bottom: 136px; }
  body:has(.bjfo-bar.is-on) #back-to-top { bottom: 76px; }
}

@media (max-width: 575px) {
  .bjfo { --bjfo-r: 16px; }
  .bjfo .bjfo-hero { padding: 20px 0 calc(var(--bjfo-lift) + 30px); }
  .bjfo-hero__crumbs { margin-bottom: 18px; font-size: 11.5px; }
  .bjfo .bjfo-hero h1 { margin: 14px 0 10px; font-size: 26px; line-height: 1.2; }
  .bjfo-hero__lead { font-size: 14px; }
  .bjfo-count { margin-top: 20px; gap: 8px; }
  .bjfo-count__label { flex: 0 0 100%; font-size: 10.5px; }
  .bjfo-count__cells { gap: 6px; }
  .bjfo-count__cells span { min-width: 54px; padding: 7px 6px 6px; border-radius: 10px; }
  .bjfo-count__cells b { font-size: 18px; }
  .bjfo-hero__cta { margin-top: 22px; gap: 8px; }
  .bjfo-btn { min-height: 44px; padding: 0 20px; font-size: 13px; }
  .bjfo-trust { gap: 8px 16px; margin-top: 20px; }
  .bjfo-trust li { font-size: 12px; }
  .bjfo-hero__grid { gap: 26px; }

  /* the photograph a short panel, the coupon under it, upright */
  .bjfo-hero__deal { padding: 0 0 4px; }
  .bjfo-hero__deal::before { aspect-ratio: auto; height: 180px; border-radius: 20px; }
  .bjfo-badge { top: 12px; left: 12px; right: auto; max-width: calc(100% - 24px); padding: 5px 13px 5px 5px; border-radius: 12px; }
  .bjfo-badge__img { flex-basis: 38px; width: 38px; height: 38px; border-radius: 9px; }
  .bjfo-badge b { font-size: 13px; }
  .bjfo-valid { display: none; }
  .bjfo-pass {
    position: relative; left: auto; bottom: auto; width: auto; margin: -70px 12px 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .bjfo-pass__main {
    padding: 16px; border-radius: 16px 16px 0 0;
    -webkit-mask: radial-gradient(circle at 0 100%, transparent var(--n), #000 calc(var(--n) + .5px)) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 100%, transparent var(--n), #000 calc(var(--n) + .5px)) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 100%, transparent var(--n), #000 calc(var(--n) + .5px)) left / 51% 100% no-repeat,
          radial-gradient(circle at 100% 100%, transparent var(--n), #000 calc(var(--n) + .5px)) right / 51% 100% no-repeat;
  }
  .bjfo-pass__stub {
    flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; gap: 2px 12px;
    padding: 14px 16px; border-radius: 0 0 16px 16px;
    -webkit-mask: radial-gradient(circle at 0 0, transparent var(--n), #000 calc(var(--n) + .5px)) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 0, transparent var(--n), #000 calc(var(--n) + .5px)) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 0, transparent var(--n), #000 calc(var(--n) + .5px)) left / 51% 100% no-repeat,
          radial-gradient(circle at 100% 0, transparent var(--n), #000 calc(var(--n) + .5px)) right / 51% 100% no-repeat;
  }
  .bjfo-pass__stub::before { left: 16px; right: 16px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .35); }
  .bjfo-pass__label { flex: 0 0 100%; }
  .bjfo-pass__code { margin: 2px 0 0; font-size: 20px; }
  .bjfo-pass__code--word { font-size: 16px; }
  .bjfo-pass__bars { display: none; }
  .bjfo-pass__big { font-size: 28px; }
  .bjfo-pass__status { margin: 10px 12px 0; }
  .bjfo-pass__stub::after { font-size: 12px; }

  /* the facts as words beside icons, two across */
  .bjfo .bjfo-strip__list { padding: 16px 4px; row-gap: 14px; }
  .bjfo-strip__list li { align-items: flex-start; gap: 9px; padding: 0 10px; }
  .bjfo-strip__ico { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
  .bjfo-strip__list small { font-size: 9.5px; }
  .bjfo-strip__list b { font-size: 12px; }

  .bjfo-head { text-align: left; }
  .bjfo .bjfo-head h2, .bjfo .bjfo-terms h2, .bjfo .bjfo-more h2 { font-size: 21px; }
  .bjfo-head p, .bjfo-terms__sub { font-size: 13.5px; }
  .bjfo-perk { padding: 18px 16px; gap: 14px; }
  .bjfo-perk__ico { flex-basis: 44px; width: 44px; height: 44px; border-radius: 12px; font-size: 16px; }
  .bjfo .bjfo-perk h3 { font-size: 15px; }
  .bjfo-perk p { font-size: 13px; }

  .bjfo .bjfo-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bjfo-steps li { padding: 18px 16px; }
  .bjfo-steps li:not(:last-child)::after { display: none; }
  .bjfo-steps__num { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
  .bjfo .bjfo-steps h3 { font-size: 15px; }
  .bjfo-steps p { margin-top: 10px; font-size: 13px; }
  .bjfo-go { margin-top: 24px; padding: 22px 18px; border-radius: 18px; }
  .bjfo-go::before { font-size: 110px; right: 6px; }
  .bjfo-go__copy b { font-size: 17px; }
  .bjfo-go__copy span { font-size: 13px; }
  .bjfo-go__acts { gap: 10px; }
  .bjfo-chip { gap: 10px; padding: 4px 4px 4px 14px; }
  .bjfo-chip > b { font-size: 14px; }
  .bjfo-chip > span { min-height: 32px; padding: 0 12px; font-size: 12px; }

  .bjfo-help { padding: 18px 16px; }
  .bjfo-help a { font-size: 14px; }
  .bjfo-terms__card { padding: 4px 16px 6px; }
  .bjfo-terms__list li { gap: 12px; padding: 12px 0; font-size: 13.5px; }
  .bjfo-terms__list li::before { flex-basis: 28px; width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }

  /* more offers: two cards a screen, swipe for the rest, dots under it
     (js/bj-mobrail.js) */
  .bjfo-more__head { margin-bottom: 18px; }
  .bjfo-more__rail {
    display: flex; gap: 10px;
    margin: -6px 0 -10px; padding: 6px 0 10px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .bjfo-more__rail::-webkit-scrollbar { display: none; }
  .bjfo-offer { flex: 0 0 calc((100% - 10px) / 2); scroll-snap-align: start; border-radius: 14px; }
  .bjfo-offer__body { padding: 10px 10px 12px; }
  .bjfo .bjfo-offer h3 { font-size: 12.5px; }
  .bjfo-offer__tag { top: 8px; left: 8px; padding: 3px 8px; font-size: 10px; }
  .bjfo-offer__meta { font-size: 11px; gap: 5px; padding-bottom: 9px; }
  .bjfo-offer__foot { padding-top: 9px; }
  .bjfo-offer__code { display: none; }   /* 139px will not hold the code and the link */
  .bjfo-offer__link { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .bjfo-btn, .bjfo-offer, .bjfo-perk, .bjfo-help a, .bjfo-pass__copy, .bjfo-offer__media img, .bjfo-bar { transition: none; }
  .bjfo-btn:hover, .bjfo-offer:hover, .bjfo-perk:hover, .bjfo-offer:hover .bjfo-offer__media img { transform: none; }
  .bjfo-hero__dot::after { animation: none; }
  .bjfo-more__rail { scroll-behavior: auto; }
  .bjfo-pass.is-stamped .bjfo-pass__stub::after { transition: none; }
}

/* =====================================================================
   7. The 3D globe (2026-10-06)
   ---------------------------------------------------------------------
   "3D me or ache se, jisne aaj tak kisi ne na kiya ho". js/bj-offer-
   globe.js draws a WebGL Earth into .bjfo-globe - land as navy dots,
   orange routes drawing themselves out of Delhi with a plane on each -
   and adds .bjfo-globe-on to the page once it is running. Only then does
   the photograph give way; without WebGL, or before the script has
   loaded, the page is exactly the one above.
   ===================================================================== */
.bjfo-globe {
  position: absolute; z-index: 0; top: -78px; right: -70px; width: 650px; height: 650px;
  opacity: 0; pointer-events: none; transition: opacity 1s var(--bjfo-out);
}
.bjfo-globe__canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.bjfo-globe.is-dragging .bjfo-globe__canvas { cursor: grabbing; }
.bjfo-globe__label {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none;
  padding: 4px 10px; border-radius: 999px;
  background: #fff; box-shadow: 0 6px 16px -8px rgba(23, 35, 62, .55);
  font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--bjfo-navy); white-space: nowrap;
  opacity: 0; transition: opacity .35s var(--bjfo-ease);
}
.bjfo-globe__label.is-on { opacity: 1; }
.bjfo-globe__label.is-home { background: var(--bjfo-navy); color: #fff; }

.bjfo.bjfo-globe-on .bjfo-globe { opacity: 1; pointer-events: auto; }
/* the photograph steps aside; a soft light behind the Earth instead */
.bjfo.bjfo-globe-on .bjfo-hero::after { content: none; }
.bjfo.bjfo-globe-on .bjfo-hero {
  background:
    radial-gradient(760px 520px at 0% 0%, #eef2f9 0%, rgba(238, 242, 249, 0) 70%),
    radial-gradient(560px 560px at 76% 46%, #e6ecf7 0%, rgba(230, 236, 247, 0) 70%),
    #fff;
}
/* the words keep their clicks where the canvas reaches into their column */
.bjfo-hero__copy { position: relative; z-index: 1; }

@media (max-width: 1199px) {
  .bjfo-globe { width: 580px; height: 580px; top: -50px; right: -60px; }
}
@media (max-width: 991px) {
  .bjfo-globe { position: relative; top: auto; right: auto; width: 100%; height: 0; }
  .bjfo.bjfo-globe-on .bjfo-globe { height: 470px; }
  .bjfo.bjfo-globe-on .bjfo-hero__deal::before { content: none; }
  .bjfo.bjfo-globe-on .bjfo-hero__deal { max-width: none; }
}
@media (max-width: 575px) {
  .bjfo.bjfo-globe-on .bjfo-globe { height: 330px; margin: 0 -12px; width: calc(100% + 24px); }
  .bjfo.bjfo-globe-on .bjfo-pass { margin-top: -54px; }
  .bjfo-globe__label { padding: 3px 8px; font-size: 10px; }
}
/* with the globe on, the offer's badge sits at the Earth's upper right,
   over northern Asia where no route ends, and the dates
   chip stands down - the coupon carries them */
@media (min-width: 992px) {
  .bjfo.bjfo-globe-on .bjfo-badge { top: -22px; right: -16px; left: auto; }
  .bjfo.bjfo-globe-on .bjfo-valid { display: none; }
}