/* Escapada · Próxima estación
   Transit wayfinding: services are metro lines that meet at the Escapada
   interchange. Light paper sections alternate with dark (night) ones; the
   line colours come from the bands of the logo. */

:root {
  --night: #0C1428;
  --night-2: #131D37;
  --night-3: #1C2848;
  --night-line: #28355A;
  --deep: #070C1A;
  --paper: #F4F5F7;
  --white: #FFFFFF;
  --ink: #0C1428;
  --ink-2: #3F475A;
  --ink-3: #5E667A;
  --rule: #D9DCE3;
  --on-night: #FFFFFF;
  --on-night-2: #B8C0D4;
  --on-night-3: #8E98B0;
  --yellow: #F7C340;
  --yellow-2: #FBDB85;
  --l1: #E6297F;
  --l2: #005CAB;
  --l3: #65389C;
  --l4: #F06A3B;
  --display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --bar: 76px;
}

/* Line colours: --c draws the line, --c-badge fills badges (with --c-on
   text) and --c-text is the shade that reads as text on light paper. */
.l1 { --c: var(--l1); --c-badge: #D4206F; --c-on: #FFFFFF; --c-text: #D4206F; }
.l2 { --c: var(--l2); --c-badge: var(--l2); --c-on: #FFFFFF; --c-text: var(--l2); }
.l3 { --c: var(--l3); --c-badge: var(--l3); --c-on: #FFFFFF; --c-text: var(--l3); }
.l4 { --c: var(--l4); --c-badge: var(--l4); --c-on: var(--night); --c-text: #B5441B; }

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

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

/* Dark behind the page, so overscrolling past the dark bar or footer stays dark. */
html {
  background: var(--deep);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, address { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

::selection { background: var(--yellow); color: var(--night); }

:focus-visible { outline: 3px solid var(--l2); outline-offset: 3px; }
.topbar :focus-visible,
.section--night :focus-visible,
.footer :focus-visible { outline-color: var(--yellow); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--night { background: var(--night); color: var(--on-night); }
.btn--night:hover { background: var(--night-3); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--night); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 16px; }

/* ---------- Top bar (dark) ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  color: var(--on-night);
  border-bottom: 1px solid var(--night-line);
}

.topbar__in {
  position: relative;
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__logo { flex: none; }
.topbar__logo img { width: auto; height: 42px; }

.topbar__menu { display: none; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { list-style: none; display: flex; gap: 28px; }
.nav__links a {
  color: var(--on-night-2);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  transition: color .15s;
}
.nav__links a:hover { color: var(--on-night); text-decoration: underline; text-decoration-color: var(--yellow); }

@media (max-width: 920px) {
  :root { --bar: 64px; }
  .topbar__logo img { height: 34px; }

  .js .topbar__menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 2px solid var(--night-line);
    border-radius: 12px;
    background: transparent;
    color: var(--on-night);
    cursor: pointer;
  }
  .topbar__menu-close { display: none; }
  .topbar__menu[aria-expanded="true"] .topbar__menu-open { display: none; }
  .topbar__menu[aria-expanded="true"] .topbar__menu-close { display: block; }

  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 4px var(--gutter) 28px;
    background: var(--night);
    border-bottom: 1px solid var(--night-line);
    box-shadow: 0 28px 40px rgba(7, 12, 26, .35);
  }
  .js .topbar__menu[aria-expanded="true"] + .nav { display: flex; }
  .js .nav__links { flex-direction: column; gap: 0; }
  .js .nav__links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--night-line);
    color: var(--on-night);
    font-family: var(--display);
    font-weight: 800;
    font-size: 22px;
  }
  .js .nav .btn { min-height: 54px; font-size: 18px; }

  /* Without JavaScript the links stay visible under the logo. */
  .no-js .topbar__in { height: auto; flex-wrap: wrap; padding-block: 14px; }
  .no-js .nav { width: 100%; flex-wrap: wrap; gap: 12px 24px; }
  .no-js .nav__links { flex-wrap: wrap; gap: 8px 20px; }
}

/* ---------- Shared section parts ---------- */

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--white { background: var(--white); border-block: 1px solid var(--rule); }
.section--night { background: var(--night); color: var(--on-night); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
}
.section-head__title { flex: 1 1 480px; max-width: 720px; }
.section-head__lead { flex: 0 1 440px; font-size: 18px; color: var(--ink-2); }
.section--night .section-head__lead { color: var(--on-night-2); }

/* Eyebrows start with a station stop. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3.5px solid var(--ink);
}
.section--night .eyebrow { color: var(--on-night-3); }
.section--night .eyebrow::before { background: var(--night); border-color: var(--yellow); }

h2 {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1;
  text-wrap: balance;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 10px;
  background: var(--night);
  color: var(--on-night);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}
.chip--plain { padding-left: 14px; }
.chip__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--night);
}

.badges { display: flex; gap: 6px; }
.badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--c-badge);
  color: var(--c-on);
  font-family: var(--display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; }
.hero__text { flex: 1 1 400px; min-width: 0; }
.hero__map { flex: 1 1 440px; min-width: 0; max-width: 640px; margin-inline: auto; }

.hero h1 {
  margin-top: 24px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: .96;
  text-wrap: balance;
}
.hero__lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }

.transfer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.transfer__label { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.transfer__names { font-size: 15px; color: var(--ink-2); }

.map { width: 100%; height: auto; overflow: visible; }
.map--sm { display: none; }
.map__line { stroke-dasharray: 820; animation: draw 1.4s cubic-bezier(.6, 0, .2, 1) var(--d) backwards; }
.map__line--sm { stroke-dasharray: 420; animation-name: draw-sm; animation-duration: 1.3s; }
.map__stops circle { transform-box: fill-box; transform-origin: center; animation: pop .35s ease var(--d) backwards; }
.map__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out 2.4s infinite; }
.map__num { font-family: var(--display); font-weight: 900; font-size: 14px; }
.map__name { font-family: var(--display); font-weight: 800; font-size: 17px; fill: var(--ink); }

@keyframes draw { from { stroke-dashoffset: 820; } }
@keyframes draw-sm { from { stroke-dashoffset: 420; } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } }
@keyframes pulse { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }

@media (max-width: 640px) {
  .map--lg { display: none; }
  .map--sm { display: block; }
}

@media (max-width: 560px) {
  .actions .btn { flex: 1 1 auto; padding-inline: 20px; }
}

/* ---------- Lines (services) ---------- */

.lines { list-style: none; margin-top: 56px; border-bottom: 1px solid var(--rule); }

.line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 48px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.line__id { flex: 0 1 360px; display: flex; align-items: center; gap: 20px; }
.line__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--c-badge);
  color: var(--c-on);
}
.line__num { font-size: 14px; font-weight: 700; color: var(--c-text); }
.line h3 {
  margin-top: 2px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.05;
}
.line__dir { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.line__dir strong { font-weight: 700; color: var(--ink); }
.line__body { flex: 1 1 520px; min-width: 0; padding-top: 8px; }

/* Stations sit on the line; the ring at the end is the terminal. */
.stations {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stations::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 11px;
  top: 5px;
  height: 8px;
  border-radius: 4px;
  background: var(--c);
}
.stations::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--c);
}
.stations li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.stations li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--ink);
}
.line__text { margin-top: 22px; max-width: 640px; font-size: 16px; color: var(--ink-2); }

@media (max-width: 640px) {
  .stations { grid-template-columns: 1fr; gap: 14px; }
  .stations::before { left: 5px; right: auto; top: 9px; bottom: 9px; width: 8px; height: auto; }
  .stations::after { display: none; }
  .stations li { flex-direction: row; align-items: center; gap: 14px; }
}

/* ---------- Departures board (dark) ---------- */

.board {
  margin-top: 48px;
  border: 1px solid var(--night-line);
  border-radius: 18px;
  background: var(--night-2);
  overflow: hidden;
}
.board__head,
.board__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px 150px;
  align-items: center;
  gap: 10px 28px;
  padding-inline: 28px;
}
.board__head {
  min-height: 52px;
  background: var(--deep);
  color: var(--on-night-3);
  font-size: 14px;
  font-weight: 700;
}
.board__rows { list-style: none; }
.board__row {
  position: relative;
  padding-block: 22px;
  border-top: 1px solid var(--night-line);
  transition: background-color .15s;
}
.board__row:hover { background: var(--night-3); }
.board__dest {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  color: var(--yellow);
}
.board__detail { margin-top: 4px; font-size: 15px; color: var(--on-night-2); }
.board__lines { display: flex; gap: 6px; }
.board__lines .badge { width: 28px; height: 28px; font-size: 15px; }
.board__go {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid var(--night-line);
  border-radius: 999px;
  color: var(--on-night);
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
/* The whole row is the link's hit area. */
.board__go::after { content: ""; position: absolute; inset: 0; }
.board__row:hover .board__go,
.board__go:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--night); }

@media (max-width: 760px) {
  .board__head { display: none; }
  .board__row { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 20px; }
  .board__lines { grid-row: 2; }
  .board__go { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 480px) {
  .board__go { width: 46px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
}

/* ---------- How we work ---------- */

.route {
  list-style: none;
  position: relative;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.route::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 0;
  top: 21px;
  height: 6px;
  border-radius: 3px;
  background: var(--ink);
}
.route li { position: relative; }
.route__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
}
.route h3 {
  margin-top: 20px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.15;
}
.route p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.route__end {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
.route__end::before {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  border: 5px solid var(--ink);
}

@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 28px; }
  .route::before { left: 21px; right: auto; top: 24px; bottom: 24px; width: 6px; height: auto; }
  .route li { padding-left: 72px; }
  .route__num { position: absolute; left: 0; top: 0; }
  .route h3 { margin-top: 8px; }
}

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

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 72px;
  align-items: end;
}
.about__text p { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.about__text p + p { margin-top: 16px; }

.rules-head {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
}
.rules-head h3 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.rules-head p { color: var(--ink-3); }

.rules {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.rule {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 28px;
  border-radius: 16px;
  border-top: 6px solid var(--yellow);
  background: var(--night);
  color: var(--on-night);
}
.rule__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--white);
  color: var(--night);
}
.rule__sign { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.15; }
.rule__text { font-size: 15px; color: var(--on-night-2); }

@media (max-width: 1100px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 72px;
  align-items: start;
}
.faq-layout__lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.faq-layout__lead a { font-weight: 700; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; max-width: 46em; color: var(--ink-2); }

@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Contact: the ticket (dark section) ---------- */

.contact h2 { max-width: 14em; }
.contact__lead { margin-top: 20px; max-width: 36em; font-size: 18px; color: var(--on-night-2); }

.ticket {
  margin-top: 48px;
  max-width: 1140px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--yellow);
  color: var(--night);
}
.ticket__main {
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.ticket__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
}
.ticket__trip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.ticket__arrow { flex: none; }
.ticket__label { font-size: 14px; font-weight: 700; }
.ticket__value {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.05;
}

.channels { list-style: none; display: grid; gap: 8px; }
.channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "icon label value go";
  align-items: center;
  gap: 4px 16px;
  min-height: 64px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--night);
  color: var(--on-night);
  text-decoration: none;
  transition: background-color .15s;
}
.channel:hover { background: var(--night-3); }
.channel__icon { grid-area: icon; color: var(--yellow); }
.channel__label { grid-area: label; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.2; }
.channel__value { grid-area: value; font-size: 15px; color: var(--on-night-2); text-align: right; overflow-wrap: anywhere; }
.channel__go { grid-area: go; color: var(--yellow); transition: transform .15s; }
.channel:hover .channel__go { transform: translateX(3px); }

.stub {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px) 32px;
  background: var(--yellow-2);
  border-left: 3px dashed var(--night);
}
/* Punched notches where the stub tears off. */
.stub::before,
.stub::after {
  content: "";
  position: absolute;
  left: -16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--night);
}
.stub::before { top: -16px; }
.stub::after { bottom: -16px; }
.stub__value {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
}
.stub__address { margin-top: 8px; font-size: 15px; line-height: 1.5; }

@media (max-width: 1000px) {
  .ticket { grid-template-columns: 1fr; }
  .stub { flex-direction: row; flex-wrap: wrap; gap: 20px 56px; border-left: 0; border-top: 3px dashed var(--night); }
  .stub::after { left: auto; right: -16px; top: -16px; bottom: auto; }
}
@media (max-width: 640px) {
  .ticket__arrow { display: none; }
  .ticket__trip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .channel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon label go" "icon value go";
    padding-block: 14px;
  }
  .channel__value { text-align: left; }
}

/* ---------- Footer (dark) ---------- */

.footer { background: var(--deep); color: var(--on-night-2); font-size: 15px; }

/* The six bands of the logo. */
.stripe {
  height: 6px;
  background: linear-gradient(90deg,
    #F7C340 0 16.667%, #F06A3B 0 33.333%, #E6297F 0 50%,
    #65389C 0 66.667%, #00AEEF 0 83.333%, #2E3087 0);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(max-content, 1fr);
  gap: 40px 48px;
  padding-block: 64px 56px;
}
.footer__logo { width: 210px; height: auto; }

.here {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: var(--on-night);
}
.here__dot { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--l1); }
.here__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--l1);
  animation: here 2s ease-out infinite;
}
@keyframes here { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
.footer__address { margin-top: 8px; padding-left: 26px; line-height: 1.6; }

.footer__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--on-night); }
.footer__col ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.footer a { color: var(--on-night-2); text-decoration: none; text-underline-offset: 3px; }
.footer a:hover { color: var(--on-night); text-decoration: underline; }
.footer__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 3px;
  background: var(--c);
  vertical-align: 1px;
}
.footer__contact li { display: grid; gap: 2px; }
.footer__label { font-size: 13px; font-weight: 700; color: var(--on-night-3); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px 28px;
  border-top: 1px solid var(--night-line);
  font-size: 14px;
  color: var(--on-night-3);
}

@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__here { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Inner pages ---------- */

.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 1;
}
.page-head__meta { margin-top: 16px; color: var(--ink-3); }

.legal { max-width: 760px; }
.legal h2 { margin-top: 44px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.legal h2:first-child { margin-top: 0; }
.legal p,
.legal ul { margin-top: 14px; color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--l2); font-weight: 600; }

.lost { padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 10vw, 140px); }
.lost__line { width: min(600px, 100%); height: auto; margin-bottom: 40px; }
.lost h1 {
  margin-top: 24px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 88px);
  line-height: .98;
  text-wrap: balance;
}
.lost__text { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
