/* Vortiq Labs — network map world
   Paper ground, black enamel signage, four line colours as service roles. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3f4f0;
  --paper-2: #e8e9e3;
  --paper-3: #ffffff;
  --ink: #121313;
  --ink-2: #3e403f;
  --ink-3: #5c5f5c;
  --rule: #cdd0c8;
  --sign: #141515;
  --sign-2: #262827;
  --on-sign: #ffffff;
  --on-sign-2: #c3c6c0;

  --line-mobile: #d52f25;
  --line-platform: #1b5fc1;
  --line-ai: #0f8044;
  --line-learning: #f2b90f;

  --focus: #1b5fc1;
  --radius: 10px;
  --nav-h: 64px;
  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 136px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: var(--ink-3) var(--paper-2);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--line-learning); color: var(--ink); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 10px; border: 2px solid var(--paper-2); }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-sign :focus-visible,
.signband :focus-visible,
.footer :focus-visible { --focus: var(--line-learning); outline-color: var(--line-learning); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--line-learning);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Icons ---------- */

.arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.3s var(--ease-out); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons (signs) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 48px;
  padding: 0.8em 1.25em;
  border: 0;
  border-radius: 8px;
  background: var(--sign);
  color: var(--on-sign);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--sign-2); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn[disabled],
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.btn--light {
  background: var(--paper-3);
  color: var(--ink);
}
.btn--light:hover { background: #e9eae5; }

.btn--sm { min-height: 40px; padding: 0.55em 0.95em; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}
.textlink:hover .arrow { transform: translateX(3px); }

/* ---------- Route bullets ---------- */

.bullet {
  --c: var(--ink);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-weight: 800;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0;
}
.bullet--mobile { --c: var(--line-mobile); }
.bullet--platform { --c: var(--line-platform); }
.bullet--ai { --c: var(--line-ai); }
.bullet--learning { --c: var(--line-learning); color: var(--ink); }


/* ---------- Signage band (header) ---------- */

.signband {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sign);
  color: var(--on-sign);
}
.signband__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  margin-right: auto;
  white-space: nowrap;
}
.brand__mark { width: 32px; height: 32px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--on-sign-2);
  font-weight: 600;
  font-size: 0.9875rem;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__list a:hover { color: var(--on-sign); background: var(--sign-2); }
.nav__list a[aria-current="page"] { color: var(--on-sign); }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--on-sign);
}

.navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #6e726f;
  border-radius: 8px;
  background: transparent;
  color: var(--on-sign);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.navtoggle__bars { position: relative; width: 18px; height: 12px; }
.navtoggle__bars::before,
.navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.navtoggle__bars::before { top: 1px; }
.navtoggle__bars::after { top: 9px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars::before { top: 5px; transform: rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars::after { top: 5px; transform: rotate(-45deg); }

.mobilenav {
  border-top: 1px solid #2c2f2d;
  background: var(--sign);
}
.mobilenav[hidden] { display: none; }
.mobilenav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 24px; }
.mobilenav li + li { border-top: 1px solid #2c2f2d; }
.mobilenav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: var(--on-sign);
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
}
.mobilenav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25em; }
.mobilenav .btn { margin-top: 16px; width: 100%; justify-content: center; font-size: 1.0625rem; }
.mobilenav .btn--light { color: var(--ink); }

@media (max-width: 900px) {
  .nav, .signband__cta { display: none; }
  .navtoggle { display: inline-flex; }
}

/* ---------- Home hero: the network map ---------- */

.hero { position: relative; overflow: clip; border-bottom: 2px solid var(--ink); }

.map {
  position: relative;
  width: min(100%, 1440px, calc((100svh - var(--nav-h)) * 1440 / 780));
  aspect-ratio: 1440 / 780;
  margin-inline: auto;
  container-type: inline-size;
}
.map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  font-family: var(--font);
}

.map__line {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.4s ease;
}
.map__line--mobile { stroke: var(--line-mobile); }
.map__line--platform { stroke: var(--line-platform); }
.map__line--ai { stroke: var(--line-ai); }
.map__line--learning { stroke: var(--line-learning); }

.map[data-line] .map__line { opacity: 0.13; }
.map[data-line="mobile"] .map__line--mobile,
.map[data-line="platform"] .map__line--platform,
.map[data-line="ai"] .map__line--ai,
.map[data-line="learning"] .map__line--learning { opacity: 1; }

.map__station {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 3.5;
  transition: fill 0.35s ease;
}
.map__tick { fill: var(--ink); transition: fill 0.35s ease; }
.map__station.is-lit,
.map__tick.is-lit { fill: var(--lit, var(--ink)); }

.map__guide { fill: none; stroke: var(--ink); stroke-opacity: 0.2; stroke-width: 1.5; stroke-dasharray: 2 6; }
.map__stop { fill: #fff; stroke: var(--ink); stroke-width: 3.5; transition: fill 0.35s ease; }
.map__stop.is-lit { fill: var(--lit, #fff); }
.map__stopname {
  font-size: 16px;
  font-weight: 650;
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.map__own { transition: opacity 0.4s ease; }
.map[data-line] .map__own { opacity: 0.18; }
.map[data-line="mobile"] .map__own--mobile,
.map[data-line="platform"] .map__own--platform,
.map[data-line="ai"] .map__own--ai,
.map[data-line="learning"] .map__own--learning { opacity: 1; }

.map__name { font-size: 25px; font-weight: 750; letter-spacing: -0.02em; fill: var(--ink); }
.map__sub { font-size: 16px; font-weight: 500; fill: var(--ink-2); }
.map__wk { font-size: 14px; font-weight: 650; fill: var(--ink-3); }

.map__train { opacity: 0; transition: opacity 0.25s ease; }
.map__train.is-running { opacity: 1; }
.map__train circle:first-child { fill: #fff; stroke-width: 5; }

.hero__title {
  position: absolute;
  left: 5%;
  top: 10.5%;
  width: 50cqw;
}
.hero__title h1 {
  font-size: 6cqw;
  font-weight: 780;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hero__lede {
  margin-top: 2.2cqw;
  max-width: 41cqw;
  font-size: clamp(1rem, 1.4cqw, 1.3rem);
  line-height: 1.45;
  color: var(--ink-2);
}
.hero__lede strong { color: var(--ink); font-weight: 650; }
.hero__more { margin-top: 1.6cqw; font-size: clamp(0.95rem, 1.15cqw, 1.0625rem); }

/* Ticket panel: the primary action at the Launch terminal */
.ticket {
  background: var(--sign);
  color: var(--on-sign);
  border-radius: 12px;
}
.map .ticket {
  position: absolute;
  right: 3.4%;
  top: 60.5%;
  width: 31.5cqw;
  padding: 1.5cqw 1.6cqw 1.6cqw;
  font-size: clamp(0.8125rem, 1.08cqw, 1rem);
}
.ticket__title {
  font-size: 1.35em;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ticket__hint { margin-top: 0.25em; color: var(--on-sign-2); font-size: 0.92em; }
.ticket__lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
  margin: 0.95em 0 0.95em;
  padding: 0;
  border: 0;
}
.ticket__lines legend { padding: 0; }

.pill { position: relative; display: block; }
.pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pill__face {
  display: flex;
  align-items: center;
  gap: 0.6em;
  min-height: 2.75em;
  padding: 0.35em 0.7em 0.35em 0.4em;
  border: 1.5px solid #6e726f;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95em;
  line-height: 1.15;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pill__face .bullet { font-size: 0.82em; }
.pill:hover .pill__face { border-color: #a3a7a4; }
.pill input:checked + .pill__face { border-color: var(--on-sign); background: var(--sign-2); }
.pill input:focus-visible + .pill__face { outline: 3px solid var(--line-learning); outline-offset: 2px; }

/* Light pills (on paper, contact form) */
.pills--paper .pill__face { border-color: #7d817b; background: var(--paper-3); color: var(--ink); }
.pills--paper .pill:hover .pill__face { border-color: var(--ink); }
.pills--paper .pill input:checked + .pill__face { border-color: var(--ink); background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--ink); }
.pills--paper .pill input:focus-visible + .pill__face { outline-color: var(--focus); }

.ticket .btn { width: 100%; font-size: 1.02em; min-height: 2.9em; }
.ticket__alt { margin-top: 0.7em; color: var(--on-sign-2); font-size: 0.88em; text-align: center; }
.ticket__alt a { color: var(--on-sign); }

/* Vertical route (small screens) */
.route-v { display: none; }

@media (max-width: 1099px) {
  .map { display: flex; flex-direction: column; aspect-ratio: auto; width: 100%; container-type: normal; padding: 44px var(--gutter) 48px; }
  .map__svg { display: none; }
  .hero__title { order: 1; position: static; width: auto; max-width: 640px; }
  .hero__title h1 { font-size: clamp(2.75rem, 8.5vw, 4.5rem); }
  .hero__lede { margin-top: 20px; max-width: 58ch; font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); }
  .hero__more { margin-top: 16px; }
  .map .ticket { order: 2; position: relative; right: auto; top: auto; width: auto; max-width: 560px; padding: 22px; font-size: 1rem; margin-top: 28px; }
  .route-v { order: 3; display: block; margin: 40px 0 0; }
}

.route-v {
  position: relative;
  margin: 40px 0 32px;
  padding: 0;
}
.route-v ol { margin: 0; padding: 0; list-style: none; }
.route-v__bars {
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  display: flex;
  gap: 5px;
}
.route-v__bars span {
  width: 8px;
  border-radius: 8px;
  background: var(--c);
  transition: opacity 0.4s ease;
}
.map[data-line] .route-v__bars span { opacity: 0.15; }
.map[data-line="mobile"] .route-v__bars [data-l="mobile"],
.map[data-line="platform"] .route-v__bars [data-l="platform"],
.map[data-line="ai"] .route-v__bars [data-l="ai"],
.map[data-line="learning"] .route-v__bars [data-l="learning"] { opacity: 1; }
.route-v ol > li { position: relative; padding: 0 0 26px 84px; }
.route-v ol > li:last-child { padding-bottom: 0; }
.route-v ol > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 63px;
  height: 22px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  transition: background-color 0.35s ease;
}
.route-v ol > li.is-lit::before { background: var(--lit, #fff); }
.route-v ol > li.route-v__split::before { display: none; }
.route-v__own {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.route-v__own li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 650;
  transition: opacity 0.4s ease;
}
.route-v__own .bullet { font-size: 0.72rem; }
.map[data-line] .route-v__own li { opacity: 0.3; }
.map[data-line="mobile"] .route-v__own [data-l="mobile"],
.map[data-line="platform"] .route-v__own [data-l="platform"],
.map[data-line="ai"] .route-v__own [data-l="ai"],
.map[data-line="learning"] .route-v__own [data-l="learning"] { opacity: 1; }
.route-v__name { display: block; font-weight: 750; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.route-v__sub { display: block; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.pagehead + .section { padding-top: clamp(48px, 6vw, 88px); }
main:has(> .section:last-child) + .footer { margin-top: 0; }
.section--rule { border-top: 2px solid var(--ink); }
.section--alt { background: var(--paper-2); }

.sechead {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 32px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sechead h2 {
  grid-column: 1 / span 7;
  font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.sechead p {
  grid-column: 9 / span 4;
  color: var(--ink-2);
  font-size: 1.0625rem;
  max-width: 44ch;
}
@media (max-width: 900px) {
  .sechead h2, .sechead p { grid-column: 1 / -1; }
}

/* ---------- Strip maps (services on home) ---------- */

.strips { border-bottom: 1px solid var(--rule); }

.strip {
  --c: var(--ink);
  display: grid;
  grid-template-columns: minmax(260px, 4fr) 8fr;
  gap: 24px 48px;
  align-items: center;
  padding-block: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--rule);
}
.strip--mobile { --c: var(--line-mobile); }
.strip--platform { --c: var(--line-platform); }
.strip--ai { --c: var(--line-ai); }
.strip--learning { --c: var(--line-learning); }

.strip__head { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: start; }
.strip__head .bullet { grid-row: span 2; font-size: 1.5rem; }
.strip__head h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -0.03em; padding-top: 0.15em; }
.strip__head h3 a { text-decoration: none; }
.strip__head h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.strip__head p { color: var(--ink-2); max-width: 40ch; }

.strip__route {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}
.strip__route::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 6px;
  height: 10px;
  border-radius: 10px;
  background: var(--c);
}
.strip__route li {
  position: relative;
  flex: 1 1 0;
  padding-top: 34px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.strip__route li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--ink);
}
.strip__route li:first-child { text-align: left; }
.strip__route li:first-child::before { left: 10px; }
.strip__route li:last-child { text-align: right; }
.strip__route li:last-child::before { left: auto; right: 10px; margin-left: 0; }
.strip__route li span { display: block; padding-inline: 6px; }

@media (max-width: 900px) {
  .strip { grid-template-columns: 1fr; }
  .strip__route { flex-direction: column; gap: 14px; padding-left: 4px; }
  .strip__route::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 8px; height: auto; }
  .strip__route li,
  .strip__route li:first-child,
  .strip__route li:last-child { padding: 0 0 0 40px; text-align: left; }
  .strip__route li::before,
  .strip__route li:first-child::before,
  .strip__route li:last-child::before { top: 1px; left: 3px; right: auto; margin-left: 0; }
  .strip__route li span { padding: 0; }
}

/* ---------- Timetable (process) ---------- */

.timetable {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.timetable caption { text-align: left; }
.timetable th,
.timetable td {
  padding: 22px 24px 22px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.timetable thead th {
  padding-block: 0 14px;
  border-bottom: 3px solid var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-3);
}
.timetable tbody th { width: 22%; }
.timetable__stop {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.375rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.timetable__stop::before {
  content: "";
  flex: none;
  width: 34px;
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #fff;
}
.timetable tr.is-terminal .timetable__stop::before { background: var(--ink); }
.timetable__when { font-weight: 700; white-space: nowrap; width: 15%; }
.timetable td { color: var(--ink-2); }
.timetable td strong { color: var(--ink); font-weight: 650; }

@media (max-width: 760px) {
  .timetable thead { display: none; }
  .timetable tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding-block: 20px; border-bottom: 1px solid var(--rule); }
  .timetable th, .timetable td { display: block; padding: 0; border: 0; width: auto !important; }
  .timetable td:nth-of-type(2), .timetable td:nth-of-type(3) { grid-column: 1 / -1; }
}

.cadence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--sign);
  color: var(--on-sign);
}
.cadence__clock { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 780; letter-spacing: -0.03em; }
.cadence p { color: var(--on-sign-2); max-width: 60ch; }
.cadence p strong { color: var(--on-sign); }

/* ---------- FAQ (information desk) ---------- */

.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 64px; }
.faq__intro h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.035em; }
.faq__intro p { margin-top: 20px; color: var(--ink-2); max-width: 36ch; }
.faq__list { border-top: 3px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.qa__sign {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
}
.qa__sign::before,
.qa__sign::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px; top: 15px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease-out);
}
.qa__sign::after { transform: rotate(90deg); }
.qa[open] .qa__sign::after { transform: rotate(0deg); }
.qa__a { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 70ch; }
.qa__a p + p { margin-top: 12px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .qa__a { padding-right: 0; } }

/* ---------- Final call (next departure) ---------- */

.depart {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px);
  padding-bottom: calc(clamp(36px, 5vw, 72px) + 76px);
  border-radius: 16px;
  background: var(--sign);
  color: var(--on-sign);
}
.depart h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.8rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 14ch; }
.depart p { margin-top: 20px; color: var(--on-sign-2); max-width: 52ch; font-size: 1.125rem; }
.depart__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.depart__actions a:not(.btn) { color: var(--on-sign); font-weight: 650; }
.depart__lines {
  position: absolute;
  left: 0;
  right: clamp(36px, 5vw, 72px);
  bottom: clamp(30px, 3.5vw, 48px);
  height: 56px;
}
.depart__lines span {
  position: absolute;
  left: 0;
  right: 18px;
  height: 8px;
  border-radius: 0 8px 8px 0;
  background: var(--c);
}
.depart__lines span:nth-child(1) { top: 0; --c: var(--line-mobile); }
.depart__lines span:nth-child(2) { top: 14px; --c: var(--line-platform); }
.depart__lines span:nth-child(3) { top: 28px; --c: var(--line-ai); }
.depart__lines span:nth-child(4) { top: 42px; --c: var(--line-learning); }
.depart__lines i {
  position: absolute;
  right: 0;
  top: -8px;
  width: 30px;
  height: 66px;
  border-radius: 16px;
  border: 3.5px solid var(--on-sign);
  background: var(--sign);
}

/* ---------- Inner page header ---------- */

.pagehead { padding-top: clamp(56px, 8vw, 112px); }
.pagehead__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 32px; align-items: end; }
.pagehead h1 {
  grid-column: 1 / span 8;
  font-size: clamp(2.75rem, 1.5rem + 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.pagehead__lede { grid-column: 9 / span 4; color: var(--ink-2); font-size: 1.125rem; max-width: 42ch; }
@media (max-width: 900px) { .pagehead h1, .pagehead__lede { grid-column: 1 / -1; } }

/* The trunk: four lines running under every page title, with a "you are here" station */
.trunk {
  --at: 18%;
  position: relative;
  height: 84px;
  margin-top: clamp(40px, 5vw, 64px);
}
.trunk__lines { position: absolute; left: 0; right: 0; top: 16px; height: 50px; }
.trunk__lines span { position: absolute; left: 0; right: 0; height: 8px; background: var(--c); }
.trunk__lines span:nth-child(1) { top: 0; --c: var(--line-mobile); }
.trunk__lines span:nth-child(2) { top: 14px; --c: var(--line-platform); }
.trunk__lines span:nth-child(3) { top: 28px; --c: var(--line-ai); }
.trunk__lines span:nth-child(4) { top: 42px; --c: var(--line-learning); }
.trunk__here {
  position: absolute;
  left: var(--at);
  top: 6px;
  width: 30px;
  height: 70px;
  margin-left: -15px;
  border-radius: 16px;
  border: 3.5px solid var(--ink);
  background: #fff;
}
.trunk__label {
  position: absolute;
  left: calc(var(--at) + 30px);
  top: 26px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--sign);
  color: var(--on-sign);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Services page ---------- */

.line-detail {
  --c: var(--ink);
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 32px 64px;
  padding-block: clamp(48px, 6vw, 88px);
  border-top: 2px solid var(--ink);
  scroll-margin-top: calc(var(--nav-h) + 8px);
}
.line-detail--mobile { --c: var(--line-mobile); }
.line-detail--platform { --c: var(--line-platform); }
.line-detail--ai { --c: var(--line-ai); }
.line-detail--learning { --c: var(--line-learning); }
.line-detail__head { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.line-detail__head .bullet { font-size: 2rem; }
.line-detail__head h2 { margin-top: 20px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); letter-spacing: -0.035em; }
.line-detail__head p { margin-top: 14px; color: var(--ink-2); max-width: 36ch; }
.line-detail__band { height: 10px; border-radius: 10px; background: var(--c); margin-bottom: 32px; }
.line-detail__body > p { font-size: 1.1875rem; max-width: 60ch; }

.stops {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.stops li {
  position: relative;
  padding: 18px 0 18px 36px;
  border-top: 1px solid var(--rule);
}
.stops li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3.5px solid var(--c);
  background: #fff;
}
.stops b { display: block; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.stops span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 0.9688rem; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; margin: 40px 0 0; }
.specs div { padding-top: 14px; border-top: 3px solid var(--ink); }
.specs dt { font-size: 0.875rem; font-weight: 700; color: var(--ink-3); }
.specs dd { margin: 6px 0 0; font-weight: 600; }

@media (max-width: 900px) {
  .line-detail { grid-template-columns: 1fr; }
  .line-detail__head { position: static; }
  .stops, .specs { grid-template-columns: 1fr; }
}

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.model { padding: 32px 32px 36px 0; }
.model + .model { padding-left: 32px; border-left: 1px solid var(--rule); }
.model h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.model__fit { margin-top: 8px; font-weight: 650; }
.model p:not(.model__fit) { margin-top: 12px; color: var(--ink-2); }
@media (max-width: 900px) {
  .models { grid-template-columns: 1fr; }
  .model, .model + .model { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; margin: 0; }
.stack div { border-top: 1px solid var(--ink); padding-top: 14px; }
.stack dt { font-weight: 750; font-size: 1.0625rem; }
.stack dd { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 900px) { .stack { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stack { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */

.story { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 64px; }
.story h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); letter-spacing: -0.035em; }
.story__body p { font-size: 1.1875rem; max-width: 62ch; }
.story__body p + p { margin-top: 18px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

.rules { margin: 0; padding: 0; list-style: none; counter-reset: rule; border-top: 3px solid var(--ink); }
.rules li {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 12px 64px;
  padding-block: 28px;
  border-bottom: 1px solid var(--rule);
}
.rules h3 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem); letter-spacing: -0.025em; }
.rules p { color: var(--ink-2); max-width: 60ch; }
@media (max-width: 900px) { .rules li { grid-template-columns: 1fr; } }

.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.crew__role { padding: 26px 24px 30px 0; }
.crew__role + .crew__role { padding-left: 24px; border-left: 1px solid var(--rule); }
.crew__role h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.crew__role p { margin-top: 10px; color: var(--ink-2); font-size: 0.9688rem; }
@media (max-width: 900px) {
  .crew { grid-template-columns: 1fr 1fr; }
  .crew__role, .crew__role + .crew__role { padding: 22px 16px 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) { .crew { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 72px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; }
.field label,
.field legend,
.field__label { font-weight: 700; font-size: 0.9875rem; }
.field__opt { color: var(--ink-3); font-weight: 500; }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field fieldset legend { margin-bottom: 10px; padding: 0; }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #7d817b;
  border-radius: 8px;
  background: var(--paper-3);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23121313' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: #6c706b; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(27, 95, 193, 0.28);
}
.field [aria-invalid="true"] { border-color: var(--line-mobile); }
.field__error { display: flex; gap: 6px; align-items: center; color: #b3241b; font-size: 0.9375rem; font-weight: 600; }
.field__error[hidden] { display: none; }
.field__hint { color: var(--ink-3); font-size: 0.9375rem; }

.form .pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.form .pills .pill__face { min-height: 52px; font-size: 1rem; }
.form .pills--choices .pill__face { padding-left: 18px; }
@media (max-width: 520px) { .form .pills { grid-template-columns: 1fr; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__submit .btn { min-width: 220px; }
.form__fine { color: var(--ink-3); font-size: 0.9375rem; max-width: 46ch; }

.status {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.status[hidden] { display: none; }
.status--ok { background: var(--sign); color: var(--on-sign); }
.status--err { background: #fbe7e5; color: #8f1d16; border: 1.5px solid #e5a29c; }
.status a { color: inherit; }

.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.aside-sign { background: var(--sign); color: var(--on-sign); border-radius: 14px; padding: 32px; position: sticky; top: calc(var(--nav-h) + 24px); }
.aside-sign h2 { font-size: 1.5rem; letter-spacing: -0.025em; }
.aside-sign ol { margin: 22px 0 0; padding: 0; list-style: none; position: relative; }
.aside-sign ol::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 6px; border-radius: 6px; background: var(--line-learning); }
.aside-sign li { position: relative; padding: 0 0 22px 40px; }
.aside-sign li:last-child { padding-bottom: 0; }
.aside-sign li::before { content: ""; position: absolute; left: 1px; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 3.5px solid var(--on-sign); background: var(--sign); }
.aside-sign li b { display: block; font-size: 1.0625rem; }
.aside-sign li span { display: block; margin-top: 4px; color: var(--on-sign-2); font-size: 0.9688rem; }
.aside-sign__mail { margin-top: 28px; padding-top: 22px; border-top: 1px solid #343735; color: var(--on-sign-2); }
.aside-sign__mail a { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--on-sign); font-size: 1.1875rem; font-weight: 700; }
@media (max-width: 960px) { .aside-sign { position: static; } }

/* ---------- Legal documents (read mode) ---------- */

.doc { max-width: 72ch; }
.doc__meta { color: var(--ink-3); font-weight: 600; }
.doc h2 { margin-top: 48px; font-size: 1.625rem; letter-spacing: -0.025em; }
.doc h3 { margin-top: 28px; font-size: 1.1875rem; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; }
.doc p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-left: 1.25em; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--ink); font-weight: 600; }

/* ---------- 404 ---------- */

.closed { padding-block: clamp(72px, 10vw, 140px); }
.closed h1 { font-size: clamp(3rem, 1.6rem + 5vw, 6rem); line-height: 0.94; letter-spacing: -0.04em; max-width: 12ch; }
.closed p { margin-top: 24px; color: var(--ink-2); font-size: 1.1875rem; max-width: 48ch; }
.closed__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 36px; }
.deadend { position: relative; height: 64px; margin-top: 56px; }
.deadend span { position: absolute; left: 0; height: 8px; border-radius: 0 8px 8px 0; background: var(--c); }
.deadend span:nth-child(1) { top: 0; width: 62%; --c: var(--line-mobile); }
.deadend span:nth-child(2) { top: 14px; width: 48%; --c: var(--line-platform); }
.deadend span:nth-child(3) { top: 28px; width: 71%; --c: var(--line-ai); }
.deadend span:nth-child(4) { top: 42px; width: 39%; --c: var(--line-learning); }

/* ---------- Footer ---------- */

.footer { background: var(--sign); color: var(--on-sign-2); margin-top: var(--section); }
.footer--flush { margin-top: 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 5fr 2fr 2fr 2fr;
  gap: 40px 32px;
  padding-block: 72px 56px;
}
.footer__brand .brand { color: var(--on-sign); }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer__mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--on-sign); font-weight: 700; font-size: 1.0625rem; }
.footer__h { color: var(--on-sign); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0; }
.footer ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer ul a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-sign-2); text-decoration: none; }
.footer ul a:hover { color: var(--on-sign); text-decoration: underline; }
.footer ul .bullet { font-size: 0.7rem; }
.footer__trunk { position: relative; height: 50px; }
.footer__trunk span { position: absolute; left: 0; right: 0; height: 8px; background: var(--c); }
.footer__trunk span:nth-child(1) { top: 0; --c: var(--line-mobile); }
.footer__trunk span:nth-child(2) { top: 14px; --c: var(--line-platform); }
.footer__trunk span:nth-child(3) { top: 28px; --c: var(--line-ai); }
.footer__trunk span:nth-child(4) { top: 42px; --c: var(--line-learning); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 26px 32px; font-size: 0.9375rem; }
.footer__base a { color: var(--on-sign-2); }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
