/* ============================================================
   NAKHLA JET — Components (semantic tokens only, V2 geometry)
   ============================================================ */

/* ---------------- Buttons ----------------
   Tailored (PO, 2026-10-19): a soft corner (--nj-r-btn), a medium label and a
   close shadow, in place of the pill. Hover is for pointers only; pressing
   darkens and settles. Each rebuilt page uses the 58 px size (.nj-btn--lg). */
.nj-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: var(--nj-ctl-md);
  padding: 0 24px;
  border: 0;
  border-radius: var(--nj-r-btn);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--nj-dur-tap) var(--nj-ease),
              background var(--nj-dur-fast) var(--nj-ease),
              color var(--nj-dur-fast) var(--nj-ease),
              box-shadow var(--nj-dur-fast) var(--nj-ease);
  -webkit-tap-highlight-color: transparent;
}
.nj-btn:active { transform: scale(0.985); }
.nj-btn--lg { min-height: var(--nj-ctl-lg); font-size: 17px; }
.nj-btn--block { display: flex; width: 100%; }

/* Primary = the one action per view */
.nj-btn--primary { background: var(--nj-accent); color: var(--nj-on-accent); box-shadow: var(--nj-shadow-button); }
.nj-btn--primary:active { background: var(--nj-action-pressed); }

/* Ghost = the secondary: a 1 px outline */
.nj-btn--ghost { background: transparent; color: var(--nj-text); box-shadow: inset 0 0 0 1px var(--nj-accent); }
.nj-btn--ghost:active { background: var(--nj-action-wash); }

@media (hover: hover) {
  .nj-btn--primary:hover { background: var(--nj-action-hover); color: var(--nj-on-accent); }
  .nj-btn--ghost:hover { background: var(--nj-action-wash); }
}

/* The way out: quiet words that underline under a pointer */
.nj-quiet {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--nj-ctl-sm); padding: 0 12px;
  color: var(--nj-text-soft); font-size: 16px; text-decoration: none;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
}
@media (hover: hover) { .nj-quiet:hover { color: var(--nj-text); text-decoration-line: underline; } }

/* ---------------- Arabic-edition-pending banner ---------------- */
.nj-ar-banner {
  position: fixed; z-index: 95; top: 84px; left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  background: var(--nj-grad-band); color: var(--nj-band-text);
  border: 1px solid var(--nj-glass-border); border-radius: var(--nj-r-lg);
  box-shadow: var(--nj-shadow-3); padding: 16px 18px; text-align: center;
  animation: nj-crossfade var(--nj-dur-med) var(--nj-ease);
}
.nj-ar-banner[hidden] { display: none; }
.nj-ar-banner__ar { font-family: 'TheYearofTheCamel', 'Reem Kufi', 'Noto Kufi Arabic', sans-serif;
  font-size: 17px; line-height: 1.7; }
.nj-ar-banner__en { font-size: 13px; color: var(--nj-band-soft); margin-top: 8px; line-height: 1.5; }
.nj-ar-banner__close {
  margin-top: 12px; min-height: var(--nj-ctl-sm); padding: 0 20px; border-radius: var(--nj-r-pill);
  border: 1px solid var(--nj-glass-border); color: var(--nj-band-text);
  font-weight: 600; font-size: 13px; background: transparent;
}
.nj-ar-banner__close:hover { background: rgba(255,255,255,0.12); }
@media (prefers-reduced-motion: reduce) { .nj-ar-banner { animation: none; } }

/* ---------------- Header ----------------
   The design update: العربية, the wordmark and the menu, in the flow of the page. */
.nj-header {
  position: relative; z-index: 100;
  height: var(--nj-header-h);
  color: var(--nj-text);
}
.nj-header__inner {
  display: grid; grid-template-columns: 96px 1fr 96px; align-items: center;
  height: 100%; max-width: var(--nj-maxw); margin-inline: auto; padding-inline: 12px;
}
.nj-wordmark {
  grid-column: 2; justify-self: center; padding: 10px 12px;
  font-family: var(--nj-font-display); font-weight: 500; font-size: 21px; letter-spacing: .01em;
  color: var(--nj-text); text-decoration: none; white-space: nowrap;
}
.nj-lang {
  grid-column: 1; justify-self: start;
  display: inline-flex; align-items: center; min-height: var(--nj-ctl-sm); padding: 0 8px;
  border: 0; background: none; cursor: pointer;
  /* The phone's own Arabic face, as on the approved artboards: one word
     shouldn't download the brand font on every page. */
  font-family: var(--nj-font-body);
  font-weight: 500; font-size: 16px; color: var(--nj-text-soft);
}
.nj-menu-btn {
  grid-column: 3; justify-self: end;
  width: var(--nj-ctl-sm); height: var(--nj-ctl-sm); padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--nj-text); display: grid; place-items: center; cursor: pointer;
}
@media (hover: hover) { .nj-lang:hover { color: var(--nj-text); } }

/* ---------------- Menu ----------------
   The site's places in the title face, over the room, then the one next step. */
.nj-menu {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column; overflow-y: auto;
  background:
    radial-gradient(120% 55% at 50% 0%, var(--nj-glow-top) 0%, transparent 62%),
    radial-gradient(90% 45% at 50% 108%, var(--nj-glow-bottom) 0%, transparent 70%),
    var(--nj-bg);
  visibility: hidden; opacity: 0; transform: translateY(8px);
  /* Hidden only after the fade out; visible at once on open, so focus can move in. */
  transition: opacity var(--nj-dur-fast) var(--nj-ease), transform var(--nj-dur-fast) var(--nj-ease), visibility 0s linear var(--nj-dur-fast);
}
.nj-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nj-menu__head {
  flex: none; display: grid; grid-template-columns: 96px 1fr 96px; align-items: center;
  height: var(--nj-header-h); padding-inline: 12px;
}
.nj-menu__close {
  grid-column: 3; justify-self: end;
  width: var(--nj-ctl-sm); height: var(--nj-ctl-sm); padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--nj-text); display: grid; place-items: center; cursor: pointer;
}
.nj-menu__nav, .nj-menu__foot { width: 100%; max-width: 480px; margin-inline: auto; }
.nj-menu__nav { display: flex; flex-direction: column; margin-top: 22px; padding: 0 28px; }
.nj-menu__nav a {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--nj-font-display); font-weight: 500; font-size: 30px; line-height: 1.1;
  color: var(--nj-text); text-decoration: none;
}
.nj-menu__foot {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: auto; padding: 28px 20px calc(26px + env(safe-area-inset-bottom));
}

/* ---------------- Footer ----------------
   The wordmark, the address, the places and the small links. No phone number
   and no email (PO, 2026-10-01 and 2026-10-10). */
.nj-footer { margin-top: var(--nj-s8); color: var(--nj-text); }
.nj-footer__inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  max-width: var(--nj-maxw); margin-inline: auto; padding: 28px var(--nj-gutter) calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--nj-hairline); text-align: center;
}
.nj-footer__brand { font-family: var(--nj-font-display); font-weight: 500; font-size: 24px; line-height: 1.25; }
.nj-footer__address { font-style: normal; font-size: 15px; color: var(--nj-text-soft); }
.nj-footer__nav, .nj-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 18px; }
.nj-footer__nav { margin-top: 6px; }
.nj-footer__nav a { display: inline-flex; align-items: center; min-height: var(--nj-ctl-sm); font-size: 15px; color: var(--nj-text); text-decoration: none; }
.nj-footer__legal { font-size: 14px; color: var(--nj-text-soft); }
/* Links and the language button are 44 px targets; the © line stays plain text so its spaces hold. */
.nj-footer__legal a, .nj-footer__legal button { display: inline-flex; align-items: center; min-height: var(--nj-ctl-sm); color: inherit; text-decoration: none; }
.nj-footer__legal button { border: 0; background: none; padding: 0; cursor: pointer; font: 500 15px/1 var(--nj-font-body); }
@media (hover: hover) { .nj-footer__nav a:hover, .nj-footer__legal a:hover, .nj-footer__legal button:hover { color: var(--nj-text); text-decoration: underline; text-underline-offset: 4px; } }

/* ================================================================
   Rebuilt pages: v3's language (docs/design-update.md)
   One column, a photo in a frame, one question, a field, pills, glass
   rows, a quiet link and the page's last word. A page opts in with
   body.nj-shell.
   ================================================================ */
body.nj-shell { font-size: 17px; line-height: 1.5; }
body.nj-shell .nj-header__inner,
body.nj-shell .nj-footer__inner { max-width: var(--nj-col); }
body.nj-shell main {
  display: flex; flex-direction: column;
  max-width: var(--nj-col); margin-inline: auto;
  padding-left: max(var(--nj-gutter), env(safe-area-inset-left));
  padding-right: max(var(--nj-gutter), env(safe-area-inset-right));
}

/* A photo in its frame: the column's width, 24 px corners. Short screens
   (a phone on its side) keep the question in view. */
.nj-frame {
  position: relative; overflow: hidden; margin: 12px 0 0;
  aspect-ratio: 335 / 216; max-height: 42vh; max-height: 42svh;
  border-radius: var(--nj-r-lg); background: var(--nj-raised); box-shadow: var(--nj-shadow-frame);
}
.nj-frame--tall { aspect-ratio: 335 / 250; }   /* a service page's photo */
/* Until a page's own photograph exists, its frame says what goes there (the design
   system's PhotoFrame; PO, 2026-10-22). */
.nj-frame--empty {
  display: grid; place-items: center; padding-inline: 24px; text-align: center;
  background: var(--nj-well); box-shadow: inset 0 0 0 1px var(--nj-hairline);
  font-size: 14px; line-height: 1.5; color: var(--nj-text-soft);
}
.nj-frame > picture, .nj-frame > img { position: absolute; inset: 0; }
.nj-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The tail on its photo's lower edge, as v3's context pill */
.nj-tag {
  position: relative; z-index: 2; display: flex; align-items: center; width: fit-content;
  min-height: 36px; margin: -18px auto 0; padding: 0 16px; border-radius: var(--nj-r-pill);
  background: var(--nj-glass-strong);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--nj-hairline), var(--nj-shadow-1);
  font-size: 15px; line-height: 1.2; letter-spacing: .04em; color: var(--nj-text);
}

/* The page's one question or title */
.nj-q {
  margin: 30px 0 0; font-family: var(--nj-font-display); font-weight: 500;
  font-size: clamp(31px, 8.4vw, 40px); line-height: 1.1; letter-spacing: -.005em;
  text-align: center; text-wrap: balance; color: var(--nj-text);
}
@media (min-width: 720px) { .nj-q { font-size: 44px; } }
.nj-q[tabindex="-1"]:focus { outline: none; }   /* focused by script, for screen readers, as v3's question */
.nj-tag + .nj-q { margin-top: 14px; }
.nj-q + .nj-btn, .nj-lede + .nj-btn { margin-top: 22px; }
/* One sentence under the title, when the page needs one */
.nj-lede { margin: 12px 8px 0; text-align: center; color: var(--nj-text); }
.nj-btn + .nj-hint { margin-top: 12px; }

/* One field and its go button */
.nj-ask { position: relative; margin-top: 24px; }
.nj-ask__input {
  display: block; width: 100%; height: 64px; padding: 0 64px; border: 0; border-radius: var(--nj-r-card);
  font: inherit; font-size: 21px; text-align: center; color: var(--nj-text);
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
  -webkit-backdrop-filter: blur(var(--nj-glass-blur)); backdrop-filter: blur(var(--nj-glass-blur));
  -webkit-appearance: none; appearance: none;
  transition: box-shadow var(--nj-dur-fast) var(--nj-ease);
}
.nj-ask__input::placeholder { color: var(--nj-text-soft); opacity: 1; }
.nj-ask__input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--nj-select-border), var(--nj-shadow-1); }
.nj-ask__go {
  position: absolute; top: 8px; inset-inline-end: 8px;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--nj-accent); color: var(--nj-on-accent);
  transition: background var(--nj-dur-tap) var(--nj-ease), transform var(--nj-dur-tap) var(--nj-ease);
}
@media (hover: hover) { .nj-ask__go:hover { background: var(--nj-action-hover); } }
.nj-ask__go:active { background: var(--nj-action-pressed); transform: scale(.96); }

/* Pills: quick answers, 48 px */
.nj-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 360px; margin: 18px auto 0; }
.nj-pill {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: var(--nj-r-pill);
  background: var(--nj-glass-chip); box-shadow: inset 0 0 0 1px var(--nj-hairline);
  font-size: 16px; line-height: 1.2; color: var(--nj-text); text-decoration: none;
  transition: background var(--nj-dur-fast) var(--nj-ease);
}
@media (hover: hover) { .nj-pill:hover { background: var(--nj-glass-hover); } }
.nj-pill:active { background: var(--nj-action-muted); }

/* A group below the threshold: one centred title, then rows or a line */
.nj-group { display: flex; flex-direction: column; margin-top: 60px; }
.nj-group--first { margin-top: 96px; }
.nj-group__title {
  margin: 0; font-family: var(--nj-font-display); font-weight: 500; font-size: 30px; line-height: 1.1;
  text-align: center; text-wrap: balance; color: var(--nj-text);
}
.nj-group__text { margin: 14px 8px 0; text-align: center; }
.nj-group__text + .nj-group__text { margin-top: 10px; }
/* Reading pages (the Article artboard): a left-aligned title, then the text at 17/1.65 */
.nj-frame--read { aspect-ratio: 335 / 190; border-radius: 22px; }
.nj-title {
  margin: 26px 0 0; font-family: var(--nj-font-display); font-weight: 500;
  font-size: 30px; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; color: var(--nj-text);
}
@media (min-width: 720px) { .nj-title { font-size: 38px; } }
.nj-title--first { margin-top: clamp(18px, 4svh, 40px); }
.nj-title + .nj-read { margin-top: 18px; }
.nj-read strong { font-weight: 500; }
.nj-read a { color: var(--nj-text); text-underline-offset: 3px; }
.nj-read-h { margin: 36px 0 0; font-family: var(--nj-font-display); font-weight: 500; font-size: 24px; line-height: 1.2; }
.nj-dateline { margin: 22px 0 0; font-size: 14px; color: var(--nj-text-soft); }
.nj-article { display: flex; flex-direction: column; }
.nj-hint--start { text-align: start; }
.nj-q--alone { margin-top: clamp(48px, 18vh, 160px); }   /* a page with nothing above its title */
/* A quiet panel for one action inside a reading page (Privacy's "clear saved data") */
.nj-panel {
  margin-top: 32px; padding: 18px 20px 14px; border-radius: var(--nj-r-card);
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
}
.nj-panel p { margin: 8px 0 0; font-size: 15px; color: var(--nj-text-soft); }
.nj-panel .nj-panel__title { margin: 0; font-size: 17px; font-weight: 500; color: var(--nj-text); }
.nj-panel .nj-btn { margin-top: 14px; }
.nj-panel .nj-panel__status { min-height: 1.4em; color: var(--nj-accent-bright); }
/* Two lines of an article's summary in a row */
.nj-row__sub--clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* A group to read: the title and the text start at the edge, at 17/1.65 */
.nj-group--read .nj-group__title { text-align: start; }
.nj-read { margin: 14px 0 0; line-height: 1.65; }
.nj-group--read .nj-more { align-self: flex-start; padding-inline: 0; }

/* Questions and answers, quiet until opened */
.nj-qa { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.nj-qa details {
  border-radius: var(--nj-r-card);
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
}
.nj-qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding-block: 14px; padding-inline: 20px 16px; cursor: pointer; list-style: none;
  font-weight: 500; line-height: 1.35;
}
.nj-qa summary::-webkit-details-marker { display: none; }
.nj-qa__icon { flex: none; color: var(--nj-text-soft); transition: transform var(--nj-dur-fast) var(--nj-ease); }
.nj-qa details[open] .nj-qa__icon { transform: rotate(180deg); }
.nj-qa details p { margin: 0; padding-block: 0 18px; padding-inline: 20px; line-height: 1.65; color: var(--nj-text-soft); }

/* A quiet link with an arrow */
.nj-more {
  align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px;
  font-size: 16px; color: var(--nj-text); text-decoration: none;
}
.nj-group__text + .nj-more { margin-top: 6px; }
button.nj-more { padding: 0 12px; border: 0; background: none; font: inherit; font-size: 16px; cursor: pointer; }
.nj-btn + .nj-more { margin-top: 6px; }
@media (hover: hover) { .nj-more:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* Glass rows, 72 px */
.nj-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
ul.nj-rows { list-style: none; margin-bottom: 0; padding: 0; }
.nj-rows > li { display: flex; flex-direction: column; }
.nj-rows > li[hidden] { display: none; }
.nj-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 72px; padding-block: 12px; padding-inline: 20px 16px;
  border-radius: var(--nj-r-card);
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
  color: var(--nj-text); text-decoration: none;
  transition: background var(--nj-dur-fast) var(--nj-ease), transform var(--nj-dur-tap) var(--nj-ease);
}
@media (hover: hover) { .nj-row:hover { background: var(--nj-glass-hover); } }
.nj-row:active { transform: scale(.99); }
.nj-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nj-row__title { font-family: var(--nj-font-display); font-weight: 500; font-size: 22px; line-height: 1.15; }
.nj-row__title--sm { font-size: 21px; }
.nj-row__sub { font-size: 15px; line-height: 1.4; color: var(--nj-text-soft); }
.nj-row__go { flex: none; color: var(--nj-text-soft); }
/* A row to read: a longer title and a little more air */
.nj-row--read { padding-block: 16px; }
.nj-row--read .nj-row__title { font-size: 21px; line-height: 1.2; }
/* A cabin: its outline, to scale, above the name */
.nj-row--cabin { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 12px 14px; padding-inline: 20px 18px; }
.nj-row__outline { display: flex; align-items: flex-end; height: 50px; color: var(--nj-text); }
.nj-row__outline svg { display: block; flex: none; }
.nj-row__line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nj-row--cabin .nj-row__sub { font-size: 14px; }

/* Cabin tiles: choose a size by its outline, all three to one scale */
.nj-cabins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.nj-cabins + .nj-rows, .nj-cabins + .nj-visually-hidden + .nj-rows { margin-top: 22px; }
.nj-cabin {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  min-height: 88px; padding: 14px 4px 12px; border: 0; border-radius: var(--nj-r-card); cursor: pointer;
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
  color: var(--nj-text); font: inherit;
  transition: background var(--nj-dur-fast) var(--nj-ease), color var(--nj-dur-fast) var(--nj-ease), transform var(--nj-dur-tap) var(--nj-ease);
}
.nj-cabin svg { display: block; flex: none; }
.nj-cabin__name { font-family: var(--nj-font-display); font-weight: 500; font-size: 19px; line-height: 1.1; }
/* Chosen: the chosen option's look (the design system's FilterTile), not a filled button */
.nj-cabin[aria-pressed="true"] { background: var(--nj-glass-strong); box-shadow: inset 0 0 0 1.5px var(--nj-accent), var(--nj-shadow-1); }
@media (hover: hover) {
  .nj-cabin:hover { background: var(--nj-glass-hover); }
  .nj-cabin[aria-pressed="true"]:hover { background: var(--nj-glass-strong); }
}
.nj-cabin:active { transform: scale(.98); }

/* A sheet: one tap deeper (an aircraft's specifications and price). The dialog
   brings Esc, the focus trap and the inert page; app.js opens it and closes it
   on the backdrop or a swipe down. */
.nj-sheet {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: var(--nj-col);
  max-height: 88vh; max-height: 88svh; overflow-y: auto;
  margin: 0 auto; padding: 10px 20px calc(28px + env(safe-area-inset-bottom));
  border: 0; border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, var(--nj-glow-top) 0%, var(--nj-bg) 40%);
  color: var(--nj-text); box-shadow: var(--nj-shadow-sheet);
  transition: transform var(--nj-dur-fast) var(--nj-ease);
}
.nj-sheet[open] { animation: nj-sheet-up var(--nj-dur-med) var(--nj-ease); }
.nj-sheet::backdrop { background: var(--nj-backdrop); }
@keyframes nj-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
body:has(.nj-sheet[open]) { overflow: hidden; }
.nj-sheet__drag { touch-action: none; }
.nj-sheet__grip { width: 40px; height: 4px; margin: 0 auto; border-radius: 2px; background: var(--nj-hairline-strong); }
.nj-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.nj-sheet__head form { flex: none; margin: 0; }
.nj-sheet__title { margin: 0; font-family: var(--nj-font-display); font-weight: 500; font-size: 26px; line-height: 1.15; }
.nj-sheet__close {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--nj-text);
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-hairline);
}
.nj-specs { margin: 14px 0 0; }
.nj-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--nj-hairline); }
.nj-specs > div:last-child { border-bottom: 0; }
.nj-specs dt { font-size: 16px; color: var(--nj-text-soft); }
.nj-specs dd { margin: 0; text-align: end; }
.nj-sheet__note { margin: 2px 0 0; font-size: 14px; color: var(--nj-text-soft); }
.nj-sheet .nj-btn { margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .nj-sheet[open] { animation: none; } }

/* ---------------- A flow: one question per screen (the Fleet Explorer) ----------------
   v3's pieces in the site's tokens: a back button and a progress line, stages
   that rise into place, one-answer choices, the party's counts, rows with a
   compare toggle, the side-by-side table, and the frosted dock for the thumb. */
.nj-flow3 { min-height: calc(100vh - var(--nj-header-h)); min-height: calc(100svh - var(--nj-header-h)); }
.nj-flowbar { display: flex; align-items: center; gap: 4px; height: 44px; margin-inline: -8px; }
.nj-flowbar__back {
  flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: var(--nj-text);
}
.nj-flowbar__back[hidden] { display: grid; visibility: hidden; }
.nj-flowbar__line { flex: 1; height: 2px; margin-inline-end: 52px; border-radius: 2px; background: var(--nj-hairline); overflow: hidden; }
.nj-flowbar__line span {
  display: block; height: 100%; border-radius: 2px; background: var(--nj-text);
  transform-origin: left center; transform: scaleX(var(--progress, .25));
  transition: transform .5s var(--nj-ease);
}
[dir="rtl"] .nj-flowbar__line span { transform-origin: right center; }
[dir="rtl"] .nj-flowbar__back svg { transform: scaleX(-1); }

.nj-stage { flex: 1; display: flex; flex-direction: column; }
.nj-stage[hidden] { display: none; }
.nj-stage--in { animation: nj-stage-in var(--nj-dur-med) var(--nj-ease) both; }
@keyframes nj-stage-in { from { transform: translateY(14px); } to { transform: none; } }
.nj-stage > .nj-q:first-child, .nj-stage > div > .nj-q:first-child { margin-top: clamp(18px, 4svh, 40px); }
.nj-sub { margin: 10px 0 0; font-size: 16px; color: var(--nj-text-soft); text-align: center; }
.nj-hint { margin: 18px 0 0; font-size: 14px; color: var(--nj-text-soft); text-align: center; }
.nj-rows--tight { margin-top: 10px; }
.nj-outline { display: flex; justify-content: center; margin-top: clamp(18px, 4svh, 36px); color: var(--nj-text); }
.nj-outline svg { display: block; }
.nj-outline + .nj-q { margin-top: 16px; }

/* Choices: one answer. As v3's cabin cards (PO, 2026-11-05): the chosen one carries a 2 px ring and
   no tick. Once the guest has chosen (.is-picked, set by fleet-explorer.js on the first tap), the
   others step back (a fainter card, quiet ink, a touch smaller); a default alone leaves all equal. */
.nj-choices { display: grid; gap: 8px; margin-top: 22px; }
.nj-choice {
  display: grid; align-content: center; gap: 2px;
  width: 100%; min-height: 64px; padding-block: 12px; padding-inline: 22px;
  border: 0; border-radius: 22px; cursor: pointer; text-align: start; font: inherit;
  background: var(--nj-glass); color: var(--nj-text);
  box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
  transition: box-shadow var(--nj-dur-fast) var(--nj-ease), background var(--nj-dur-fast) var(--nj-ease),
    color var(--nj-dur-fast) var(--nj-ease), transform var(--nj-dur-fast) var(--nj-ease);
}
.nj-choice b { font-weight: 500; font-size: 18px; }
.nj-choice small { font-size: 14.5px; line-height: 1.4; color: var(--nj-text-soft); }
.nj-choice[aria-checked="true"] { background: var(--nj-option-on); box-shadow: inset 0 0 0 2px var(--nj-accent), var(--nj-shadow-1); }
.nj-choices.is-picked .nj-choice:not([aria-checked="true"]) {
  background: var(--nj-option-off); color: var(--nj-text-soft); transform: scale(.97);
  box-shadow: inset 0 0 0 1px var(--nj-glass-border);
}
@media (hover: hover) {
  .nj-choices.is-picked .nj-choice:not([aria-checked="true"]):hover { color: var(--nj-text); transform: none; }
}

/* The party: two counts */
.nj-party {
  margin-top: 24px; padding-block: 4px; padding-inline: 22px 10px; border-radius: var(--nj-r-lg);
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
}
.nj-party__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; }
.nj-party__row + .nj-party__row { border-top: 1px solid var(--nj-hairline); }
.nj-party__row b { display: block; font-weight: 500; font-size: 18px; }
.nj-party__row small { display: block; font-size: 14px; color: var(--nj-text-soft); }
.nj-party__ctrl { display: flex; align-items: center; gap: 8px; }
.nj-party__btn {
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: var(--nj-raised-btn); color: var(--nj-text);
  box-shadow: inset 0 0 0 1px var(--nj-hairline), var(--nj-shadow-1);
  transition: transform var(--nj-dur-tap) var(--nj-ease), opacity var(--nj-dur-fast);
}
.nj-party__btn:active { transform: scale(.94); }
.nj-party__btn:disabled { opacity: .35; cursor: default; transform: none; }
/* Jost, not the serif: Cormorant's 1 reads as a capital I at this size (as in v3). */
.nj-party__ctrl output { min-width: 2ch; text-align: center; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }

/* A row with a compare toggle */
.nj-row--pick { padding: 0; padding-inline-end: 12px; gap: 4px; }
.nj-row__link {
  flex: 1; min-width: 0; display: flex; align-items: center; min-height: 72px;
  padding-block: 12px; padding-inline-start: 20px; color: inherit; text-decoration: none;
}
.nj-pick {
  flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: var(--nj-text);
  box-shadow: inset 0 0 0 1.5px var(--nj-hairline-strong);
  transition: background var(--nj-dur-fast) var(--nj-ease), color var(--nj-dur-fast) var(--nj-ease);
}
.nj-pick[aria-pressed="true"] { background: var(--nj-accent); color: var(--nj-on-accent); box-shadow: none; }

/* Side by side */
.nj-sidebyside {
  margin-top: 22px; overflow-x: auto; border-radius: var(--nj-r-card);
  background: var(--nj-glass); box-shadow: inset 0 0 0 1px var(--nj-glass-border), var(--nj-shadow-1);
}
.nj-sidebyside table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.35; }
.nj-sidebyside th, .nj-sidebyside td { padding: 12px 10px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--nj-hairline); }
.nj-sidebyside tr:last-child th, .nj-sidebyside tr:last-child td { border-bottom: 0; }
.nj-sidebyside th:first-child, .nj-sidebyside td:first-child { padding-inline-start: 16px; }
.nj-sidebyside thead th { font-family: var(--nj-font-display); font-weight: 500; font-size: 19px; line-height: 1.15; }
.nj-sidebyside thead th small { display: block; margin-top: 2px; font-family: var(--nj-font-body); font-size: 13px; letter-spacing: .04em; color: var(--nj-text-soft); }
.nj-sidebyside tbody th { font-weight: 400; color: var(--nj-text-soft); }
.nj-one { margin: 16px 0 0; font-size: 15px; color: var(--nj-text-soft); text-align: center; }
.nj-one a { color: var(--nj-text); text-underline-offset: 3px; }

/* The dock: the thumb zone, frosted and fading in from the top */
.nj-dock {
  position: sticky; bottom: 0; z-index: 5; isolation: isolate; display: grid; gap: 2px;
  margin: 24px calc(-1 * var(--nj-gutter)) 0; padding: 22px var(--nj-gutter) calc(8px + env(safe-area-inset-bottom));
}
.nj-dock::before {
  content: ""; position: absolute; z-index: -1; inset: 0; background: var(--nj-dock);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px); mask-image: linear-gradient(to bottom, transparent 0, #000 34px);
}
.nj-dock .nj-btn--ghost { margin-top: 8px; }
.nj-dock .nj-quiet { justify-self: center; }
@media (max-height: 480px) { .nj-dock { position: relative; } }   /* a phone on its side: the dock follows the question */
.nj-btn[aria-disabled="true"] { background: var(--nj-action-muted); color: var(--nj-text-soft); box-shadow: none; cursor: default; }

/* The page's last word: one prompt, one button into v3 */
.nj-end { display: flex; flex-direction: column; align-items: center; margin-top: 76px; }
.nj-end__title {
  margin: 0 12px; font-family: var(--nj-font-display); font-weight: 500; font-size: 30px; line-height: 1.1;
  text-align: center; text-wrap: balance; color: var(--nj-text);
}
.nj-end .nj-btn { margin-top: 24px; }
.nj-end .nj-share { margin-top: 10px; }
.nj-end .nj-quiet { margin-top: 6px; }

/* "Share this aircraft / route" (B7): quiet, at the end of the page */
.nj-share {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--nj-ctl-sm); margin-top: 4px; padding: 0 2px;
  background: none; font-size: 13.5px; font-weight: 600; color: var(--nj-text);
  text-decoration: underline; text-decoration-color: var(--nj-hairline-strong); text-underline-offset: 4px;
}
.nj-share:hover { text-decoration-color: var(--nj-text); }
.nj-share svg { flex: none; }

/* Arrows point the way the page reads */
[dir="rtl"] .nj-ask__go svg, [dir="rtl"] .nj-more svg, [dir="rtl"] .nj-row__go { transform: scaleX(-1); }
