@charset "UTF-8";
/* ==========================================================================
   TRAVELNEST — 404
   Loaded after style.css and destination.css: tokens, top bar, breadcrumb and
   the footer come from those two. The shortest page on the site: no hero, no
   enquiry block, no search — a statement, a mis-stamped boarding pass and five
   gates back into the site.
   --------------------------------------------------------------------------
   01. Page tokens and the letterhead strip
   02. Wrong turn — the statement and the facts
   03. The boarding pass
   04. Five gates
   05. Responsive — 1500 / 1200 / 1000 / 760 / 430
   --------------------------------------------------------------------------
   Authored in fixed pixels at any width (only the nav and footer scale).
   ========================================================================== */

/* ==========================================================================
   01. Page tokens and the letterhead strip
   ========================================================================== */

.crumbs--404 { margin-top: -8px; padding-top: 0; }

.page-404 {
  /* the ink used by the gate tabs and the pass header */
  --e4-tab: #17435A;
  --e4-tab-ink: #FBF6EC;
  /* the pass stays paper in both themes */
  --e4-pass: #FBF6EC;
  --e4-pass-ink: #17435A;
  --e4-pass-rgb: 23, 67, 90;
  /* the "Open" label on an ink tab */
  --e4-open: #F0B48A;
}

[data-theme="dark"] .page-404 {
  --e4-tab: rgba(16, 16, 16, 0.85);
  --e4-tab-ink: #EDE3D3;
  --e4-pass: #EDE3D3;
  --e4-pass-ink: #1A1A1A;
  --e4-pass-rgb: 26, 26, 26;
  --e4-open: #E2661F;
}

/* on dark paper the structural ink rules soften to 45% */
[data-theme="dark"] .e4head { border-bottom-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .e4head__tag { border-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .e4facts { border-top-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .bpass { border-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .gatecard { border-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .gatecard--hot { border-color: var(--accent); }

.wrong { padding: 0 0 62px; }

/* the strip that replaces the hero — its 60px of top space is deliberate */
.e4head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 var(--gutter);
  padding: 60px 0 16px;
  border-bottom: 2px solid var(--ink);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.e4head__place {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.e4head__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentcolor;
}

.e4head__note { opacity: 0.55; }

.e4head__tag {
  margin-left: auto;
  border: 2px solid var(--ink);
  padding: 5px 13px;
  letter-spacing: 0.16em;
}

/* ==========================================================================
   02. Wrong turn — the statement and the facts
   ========================================================================== */

.wrong__row {
  display: flex;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0 var(--gutter);
  padding: 36px 0 0;
}

.wrong__text {
  flex: 1 1 620px;
  min-width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wrong__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.wrong__line {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.wrong__word {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 118px;
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.02em;
}

.wrong__word--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.wrong__script {
  padding-bottom: 18px;
  color: var(--accent);
  font-family: "Caramel", "Segoe Script", cursive;
  font-size: 70px;
  font-weight: 400;
  line-height: 0.5;
  transform: rotate(-6deg);
  transform-origin: left bottom;
  white-space: nowrap;
}

.wrong__lead {
  margin: 0;
  max-width: 540px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.8;
  text-wrap: pretty;
}

.e4facts {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.22);
  list-style: none;
}

.e4fact {
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-left: 1px solid rgba(var(--ink-rgb), 0.22);
}

.e4fact:first-child { padding-left: 0; border-left: 0; }
.e4fact:last-child { padding-right: 0; }

.e4fact__value {
  color: var(--accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.e4fact__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* the one piece of real logic: report the link that sent them here */
.report {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: auto 0 0;
}

.report__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}

.report__link {
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   03. The boarding pass
   ========================================================================== */

.bpass {
  position: relative;
  flex: 0 1 380px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 90px 90px 8px 8px;
  background: var(--e4-pass);
  padding: 0 0 26px;
  color: var(--e4-pass-ink);
  text-align: center;
}

/* the stamp overlaps the 404 on purpose — do not "fix" it */
.bpass__stamp {
  position: absolute;
  right: 18px;
  top: 96px;
  border: 3px solid var(--accent);
  padding: 6px 14px;
  color: var(--accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-11deg);
}

.bpass__bar {
  width: 100%;
  margin: 0 0 22px;
  background: var(--e4-tab);
  padding: 10px 0;
  color: var(--e4-tab-ink);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bpass__id {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 26px 0;
}

.bpass__kicker {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.bpass__code {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 62px;
  font-weight: 600;
  line-height: 0.92;
}

.bpass__seat {
  font-size: 19px;
  font-weight: 500;
  opacity: 0.7;
}

.bpass__perf {
  width: 100%;
  height: 2px;
  margin: 20px 0;
  background: repeating-linear-gradient(to right, rgba(var(--e4-pass-rgb), 0.45) 0 8px, transparent 8px 16px);
}

.bpass__stub {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0 26px;
}

.bpass__end {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  padding-right: 12px;
  text-align: left;
}

.bpass__end--to {
  padding-right: 0;
  padding-left: 12px;
  border-left: 1px dashed rgba(var(--e4-pass-rgb), 0.4);
  text-align: right;
}

.bpass__end-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
}

.bpass__end-value {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 26px;
  font-weight: 500;
}

.bpass__plane {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 6px;
  color: var(--accent);
  font-size: 18px;
}

.bpass__note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 26px 0;
}

.bpass__barcode {
  font-size: 26px;
  letter-spacing: 0.1em;
  opacity: 0.45;
}

.bpass__text {
  padding-top: 4px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.75;
  text-wrap: pretty;
}

.bpass__cta {
  width: calc(100% - 52px);
  margin: 18px 26px 0;
  background: var(--accent);
  padding: 15px;
  color: var(--ab-on-accent-deep);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}

.bpass__cta:hover,
.bpass__cta:focus-visible {
  background: var(--ink);
  color: var(--ab-on-accent);
}

/* ==========================================================================
   04. Five gates
   ========================================================================== */

.gatecards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 30px var(--gutter) 0;
  padding: 0;
  list-style: none;
}

.gatecard {
  display: flex;
  border: 2px solid var(--ink);
}

/* the last gate offers a person instead of a page */
.gatecard--hot {
  border: 3px solid var(--accent);
  background: rgba(192, 82, 27, 0.05);
}

.gatecard__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.gatecard__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  background: var(--e4-tab);
  padding: 8px 16px;
  color: var(--e4-tab-ink);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gatecard--hot .gatecard__tab {
  background: var(--accent);
  color: var(--ab-on-accent-deep);
}

.gatecard__open {
  margin-left: auto;
  color: var(--e4-open);
}

.gatecard--hot .gatecard__open { color: inherit; }

.gatecard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 18px 16px;
}

.gatecard__name {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.05;
}

.gatecard--hot .gatecard__name { color: var(--accent); }

.gatecard__desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.7;
  text-wrap: pretty;
}

.gatecard__foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(var(--ink-rgb), 0.3);
}

.gatecard--hot .gatecard__foot { border-top-color: rgba(192, 82, 27, 0.45); }

.gatecard__metric {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gatecard__arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

/* the cards are the only navigation on the page, so they answer to the cursor */
.gatecard__link:hover .gatecard__name,
.gatecard__link:focus-visible .gatecard__name { color: var(--accent); }

/* ==========================================================================
   05. Responsive
   ========================================================================== */

@media (max-width: 1500px) {
  .gatecards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wrong__word { font-size: 96px; }
}

@media (max-width: 1200px) {
  .gatecards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrong__word { font-size: 80px; }
  .wrong__script { font-size: 60px; }
  .wrong__lead { font-size: 21px; }
}

@media (max-width: 1000px) {
  .wrong { padding-bottom: 40px; }
  .e4head { gap: 12px; padding: 34px 0 14px; font-size: 15px; }
  .e4head__tag { margin-left: 0; }

  .wrong__row { padding-top: 26px; gap: 24px; }

  /* the pass drops under the statement rather than squeezing beside it */
  .wrong__text { flex: 1 1 100%; min-width: 0; }
  .bpass { flex: 1 1 100%; }

  .e4facts { margin-bottom: 4px; }
  .e4fact { flex: 1 1 150px; padding: 12px 14px; }
  .e4fact__value { font-size: 28px; }
  .e4fact__label { font-size: 14px; }

  .gatecards { margin-top: 24px; }
}

@media (max-width: 760px) {
  .gatecards { grid-template-columns: minmax(0, 1fr); }
  .wrong__word { font-size: 62px; }
  .wrong__script { font-size: 48px; padding-bottom: 12px; }
  .wrong__lead { font-size: 19px; }

  /* stacked cells are divided top to bottom, never by a stray left rule */
  .e4fact {
    flex: 1 1 100%;
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid rgba(var(--ink-rgb), 0.22);
  }

  .e4fact:first-child { border-top: 0; }
}

@media (max-width: 430px) {
  .wrong__word { font-size: clamp(40px, 13vw, 58px); }
  .wrong__script { font-size: clamp(32px, 10vw, 46px); }
  .e4head { letter-spacing: 0.14em; font-size: 13px; }
  .bpass { min-width: 0; }
  .bpass__stamp { right: 10px; top: 88px; font-size: 15px; padding: 5px 11px; }
  .bpass__code { font-size: 54px; }
  .report__link { font-size: 17px; }
}
