/* ------------------------------------------------------------------------
   SHIFTLINE — alternatieve native route
   Web projection of a native Unreal Engine 5.8 container terminal corridor.

   The page repeats the rule of the native scene: one axis, two directions,
   four gates, and a human standing in it. Nothing here is a card grid, a
   dashboard, a glass panel, a gradient blob or a fake readout.
   ------------------------------------------------------------------------ */

:root {
  --nacht:      #080C0E;
  --dek:        #0D1316;
  --dek-hoog:   #141B1F;
  --lijn:       #232D31;
  --lijn-zacht: #182023;
  --staal:      #93A0A6;
  --bot:        #E7ECEA;
  --bot-zacht:  #C3CCCD;
  --natrium:    #E39B4A;
  --natrium-op: #0B1012;
  --natrium-diep: #6B4519;

  --display: "Segoe UI Black", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sans: Corbel, Candara, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Lucida Console", Consolas, ui-monospace, "SFMono-Regular", monospace;

  --kader: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--bot);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  background: var(--natrium);
  color: var(--natrium-op);
  font-family: var(--mono);
  font-size: 13px;
  padding: 14px 20px;
  text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--bot);
  outline-offset: 3px;
}
.act:focus-visible {
  outline: 3px solid var(--bot);
  outline-offset: 4px;
}

.frame { width: 100%; }

/* ---------------------------------------------------------------- masthead */

.masthead {
  height: 58px;
  padding: 0 var(--kader);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--lijn);
}

.masthead__mark {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.16em;
}

.masthead__nav {
  display: flex;
  gap: 30px;
}
.masthead__nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bot-zacht);
  padding: 18px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s linear, border-color .15s linear;
}
.masthead__nav a i {
  font-style: normal;
  color: var(--natrium);
  margin-right: 8px;
}
.masthead__nav a:hover { color: var(--bot); border-bottom-color: var(--natrium); }

.masthead__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--staal);
}

/* mobile-only compact section bar */
.masthead__bar { display: none; }

/* ---------------------------------------------------------------- opening */

.opening { position: relative; }

.opening__view {
  position: relative;
  margin: 0;
  height: 512px;
  overflow: hidden;
  background: var(--nacht);
}
.plaat {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}
.plaat--staand { display: none; }

/* deterministic legibility for the headline line that crosses the horizon:
   the bottom of the render fades to the page ink, so the text never sits on
   unpredictable pixels. This is a crossfade, not a frosted panel. */
.opening__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 210px;
  background: linear-gradient(to bottom,
              rgba(8, 12, 14, 0) 0%,
              rgba(8, 12, 14, 0.62) 38%,
              rgba(8, 12, 14, 0.94) 72%,
              #080C0E 100%);
  pointer-events: none;
}

.opening__title {
  position: absolute;
  top: 446px;
  left: var(--kader);
  right: var(--kader);
  margin: 0;
  z-index: 3;
  font-family: var(--display);
  font-weight: 900;
  font-size: 62px;
  line-height: 1.06;
  letter-spacing: -0.030em;
}
.opening__title span { display: block; }
.opening__title span:last-child { color: var(--natrium); }

.opening__body {
  padding: 84px var(--kader) 26px;
}

.lede {
  margin: 0 0 22px;
  max-width: 640px;
  font-size: 17px;
  color: var(--bot-zacht);
}

/* two paths, identical in every property except reading order */
.paden {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1px;
  background: var(--lijn);
  border-top: 1px solid var(--lijn);
}
.pad {
  background: var(--nacht);
  padding: 20px 26px 22px 0;
}
.pad:last-child { padding-left: 26px; padding-right: 0; }

.pad__kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--natrium);
}
.pad__kop {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.018em;
}
.pad__scope {
  margin: 0 0 16px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--staal);
}
.pad__scope .kort { display: none; }

.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 222px;
  padding: 0 30px;
  background: var(--natrium);
  color: var(--natrium-op);
  font-family: var(--display);
  font-weight: 900;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color .15s linear;
}
.act:hover { background: #F0AC5E; }

.voorbehoud {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--staal);
}

/* ------------------------------------------------------------------ bands */

.band {
  padding: 68px var(--kader) 72px;
  border-top: 1px solid var(--lijn);
}
.band--dek { background: var(--dek); }

.eyebrow {
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--natrium);
}

.band h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.026em;
}

.band p { margin: 0 0 16px; }

/* --------------------------------------------------------- 01  corridor */

.corridor__grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 60px;
  align-items: start;
}
.corridor__tekst { max-width: none; }
.corridor__tekst > p { max-width: 60ch; }

.opmerking {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--natrium-diep);
  font-size: 15.5px;
  color: var(--bot-zacht);
}

.scene__kop {
  margin: 34px 0 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--staal);
}
.scene { margin: 0; }
.scene > div {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--lijn);
}
.scene > div:last-child { border-bottom: 1px solid var(--lijn); }
.scene dt {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--bot);
}
.scene dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--staal);
}

.corridor__figuur { margin: 0; }
.figuur { width: 100%; }
.figuur--breed { display: none; }
.corridor__bijschrift {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--staal);
}
.cap { display: block; }
.cap--breed { display: none; }

/* ------------------------------------------------------------ 02  gates */

.poorten__intro {
  max-width: 78ch;
  color: var(--bot-zacht);
  margin-bottom: 42px;
}

.poorten {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.poort {
  padding: 0 26px 30px;
  border-left: 1px solid var(--lijn);
  min-height: 232px;
}
.poort:first-child { padding-left: 0; border-left: 0; }

.poort__streepjes {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.poort__streepjes span {
  display: block;
  width: 34px;
  height: 5px;
  background: var(--natrium);
}

.poort__index {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--staal);
}
.poort__naam {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -0.020em;
  hyphens: auto;
}
.poort__scope {
  margin: 0;
  padding: 0;
  list-style: none;
}
.poort__scope li {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2.0;
  letter-spacing: 0.04em;
  color: var(--staal);
}

/* the ground line the four gates stand on */
.poorten__grond {
  margin: 0;
  height: 2px;
  background: var(--natrium);
  opacity: 0.55;
}

/* -------------------------------------------------------- 03  werkwijze */

.route {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--lijn);
}
.halte {
  position: relative;
  padding: 26px 40px 0 0;
}
.halte::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--natrium);
}
.halte__nr {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--natrium);
}
.halte__kop {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.018em;
}
.halte__uitleg {
  margin: 0;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--staal);
}

.route__noot {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--lijn);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--staal);
}

/* --------------------------------------------------------- 04  grenzen */

.grenzen__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.grenzen__grid p { max-width: 56ch; color: var(--bot-zacht); }
.grenzen__slot { color: var(--staal) !important; font-size: 15px; }
.grenzen__slot a { color: var(--natrium); text-underline-offset: 3px; }

.afwezig {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--lijn);
}
.afwezig li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--lijn);
  position: relative;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--bot-zacht);
}
.afwezig li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 13px;
  height: 1px;
  background: var(--natrium);
}

/* ---------------------------------------------------------------- colofon */

.colofon {
  padding: 44px var(--kader) 56px;
  border-top: 1px solid var(--lijn);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px 40px;
  align-items: start;
}
.colofon__mark {
  margin: 0;
  grid-row: span 2;
  font-family: var(--display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.16em;
}
.colofon__noot {
  margin: 0;
  font-size: 14.5px;
  color: var(--bot-zacht);
  max-width: 74ch;
}
.colofon__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--staal);
  max-width: 96ch;
}

/* ======================================================================
   MOBILE — 390 × 844. A different composition, not a narrower one.

   The two native renders swap roles: the portrait gate render becomes the
   opening, and the corridor panorama moves into section 01. The headline
   stops straddling the image, the masthead navigation is replaced by a
   separate section bar placed after the decision, the two paths become
   sequential full-width decisions, the four gates become four stacked rows
   and the three-station route stands upright.
   ====================================================================== */

@media (max-width: 760px) {

  :root { --kader: 20px; }

  body { font-size: 16px; }

  .masthead {
    height: 46px;
    border-bottom: 1px solid var(--lijn);
  }
  .masthead__mark { font-size: 16px; letter-spacing: 0.18em; }
  .masthead__nav { display: none; }
  .masthead__meta { font-size: 10.5px; letter-spacing: 0.04em; }

  .masthead__bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--lijn);
    border-bottom: 1px solid var(--lijn);
    background: var(--dek);
  }
  .masthead__bar a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
    justify-content: center;
    min-height: 48px;
    padding: 6px 0 6px 12px;
    border-left: 1px solid var(--lijn);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--bot-zacht);
  }
  .masthead__bar a:first-child { border-left: 0; }
  .masthead__bar a i { font-style: normal; color: var(--natrium); }

  /* image roles invert */
  .opening__view { height: 330px; }
  .plaat { object-position: 50% 34%; }
  .plaat--breed { display: none; }
  .plaat--staand { display: block; }
  .opening__scrim { height: 120px; }

  /* the headline stops crossing the horizon and sets on the ink band */
  .opening__title {
    position: static;
    padding: 20px var(--kader) 0;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.026em;
  }

  .opening__body { padding: 14px var(--kader) 22px; }

  /* on a phone the decision outranks the explanation */
  .lede {
    order: 2;
    margin: 18px 0 0;
    font-size: 15.5px;
  }
  .opening__body { display: flex; flex-direction: column; }
  .paden { order: 1; }
  .voorbehoud { order: 3; margin-top: 16px; font-size: 11px; }

  .paden {
    grid-template-columns: 1fr;
    gap: 1px 0;
  }
  .pad, .pad:last-child {
    padding: 14px 0 16px;
  }
  .pad__kicker { margin-bottom: 5px; font-size: 11px; }
  .pad__kop { font-size: 19px; margin-bottom: 4px; }
  .pad__scope {
    margin-bottom: 12px;
    max-width: none;
    font-size: 13.5px;
    line-height: 1.5;
  }
  .pad__scope .lang { display: none; }
  .pad__scope .kort { display: inline; }
  .act {
    display: flex;
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .band { padding: 40px var(--kader) 44px; }
  .band h2 { font-size: 26px; }

  .corridor__grid { grid-template-columns: 1fr; gap: 30px; }
  .corridor__tekst { max-width: none; }
  .scene > div { grid-template-columns: 1fr; gap: 3px; padding: 10px 0; }

  .figuur--staand { display: none; }
  .figuur--breed { display: block; }
  .cap--staand { display: none; }
  .cap--breed { display: block; }

  .poorten__intro { margin-bottom: 26px; }
  .poorten { grid-template-columns: 1fr; }
  .poort {
    padding: 16px 0 18px;
    border-left: 0;
    border-top: 1px solid var(--lijn);
    min-height: 0;
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
  }
  .poort:first-child { padding-left: 0; }
  .poort__streepjes {
    grid-row: span 3;
    margin: 4px 0 0;
    gap: 4px;
  }
  .poort__streepjes span { width: 26px; height: 4px; }
  .poort__index { margin-bottom: 2px; font-size: 11.5px; }
  .poort__naam { font-size: 19px; margin-bottom: 8px; }
  .poort__scope {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
  }
  .poort__scope li { line-height: 1.6; font-size: 11.5px; }

  .route {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .halte {
    padding: 0 0 22px 22px;
    border-left: 1px solid var(--lijn);
  }
  .halte:last-child { padding-bottom: 0; }
  .halte::before { top: 8px; left: -5px; }
  .halte__uitleg { max-width: none; }
  .route__noot { margin-top: 28px; }

  .grenzen__grid { grid-template-columns: 1fr; gap: 26px; }
  .grenzen__grid p { max-width: none; }

  .colofon {
    grid-template-columns: 1fr;
    padding: 30px var(--kader) 40px;
  }
  .colofon__mark { grid-row: auto; margin-bottom: 6px; }
}

/* 320 px reflow floor from WCAG 2.2 — information and operation survive */
@media (max-width: 360px) {
  .opening__view { height: 300px; }
  .opening__title { font-size: 30px; }
  .band h2 { font-size: 23px; }
  .poort { grid-template-columns: 40px 1fr; column-gap: 10px; }
  .masthead__bar a { padding-left: 8px; font-size: 10px; }
  .masthead__meta { font-size: 9.5px; }
}

/* the still state is the design; nothing here moves by itself */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
