/* Editorial landings.
   Adapted from: Huston Engineering (Krum, Awwwards HM) — statement + /01 index;
   Q-Industrial (The/Thirty7 + Le:mma, Awwwards SOTD 2024) — black field, stacked type;
   Rogers-O’Brien (Hart Studio) — quiet facts, no invented metrics.
   Palette is Arsenal: ink + #EF4444. Scoped to .px so header.php stays intact. */

.px-body {
  background: #07080b;
  color: #f3f0ea;
  font-family: Manrope, sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

.px {
  --ink: #07080b;
  --paper: #f3f0ea;
  --paper-2: #e7e1d6;
  --mute: #8f897f;
  --mute-dark: #5c574f;
  --line: rgba(243, 240, 234, 0.16);
  --line-dark: rgba(7, 8, 11, 0.12);
  --red: #ef4444;
  background: var(--ink);
  color: var(--paper);
}

.px * { box-sizing: border-box; }

.px ::selection {
  background: var(--red);
  color: #fff;
}

.px a { color: inherit; text-decoration: none; }

.px-wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.px-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.px-rise {
  animation: px-in 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.px-d1 { animation-delay: 0.08s; }
.px-d2 { animation-delay: 0.18s; }
.px-d3 { animation-delay: 0.3s; }
.px-d4 { animation-delay: 0.42s; }

.px-await {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.px-await.is-in {
  opacity: 1;
  transform: none;
}

@keyframes px-in {
  to { opacity: 1; transform: none; }
}

/* Hero */

.px-hero {
  position: relative;
  min-height: 100svh;
  padding: 8.5rem 0 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.px-hero::before {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -18vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.16), transparent 68%);
  pointer-events: none;
}

.px-hero-top {
  position: absolute;
  top: 7.2rem;
  left: 0;
  right: 0;
}

.px-rule {
  display: block;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: px-draw 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes px-draw { to { transform: scaleX(1); } }

.px-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 3rem 4rem;
  align-items: end;
}

.px-hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7.6vw, 6.75rem);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 0.88;
}

.px-hero h1 span { display: block; }

.px-h1-sub {
  margin-top: 0.85rem;
  max-width: 18em;
  font-size: clamp(1.15rem, 2vw, 1.65rem) !important;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #c9c3b8;
}

.px-lead {
  max-width: 38rem;
  margin: 1.75rem 0 0;
  color: #b7b1a7;
  font-size: 1.05rem;
  line-height: 1.55;
}

.px-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}

.px-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font: 600 0.92rem/1 Manrope, sans-serif;
  letter-spacing: 0.04em;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.px-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.px-tel {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(243, 240, 234, 0.35);
  padding-bottom: 0.15rem;
  transition: border-color 0.4s ease, color 0.4s ease;
}

.px-tel:hover { color: var(--red); border-color: var(--red); }

.px-dossier {
  border-top: 1px solid var(--line);
}

.px-dossier p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.35;
}

.px-dossier span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.px-scroll {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 3rem;
  width: max-content;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.px-scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 64px;
  overflow: hidden;
  background: linear-gradient(var(--red), transparent);
}

.px-scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 1px;
  height: 45%;
  background: #fff;
  animation: px-fall 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes px-fall { to { top: 120%; } }

/* Marquee: two equal sets, so -50% leaves one edge and enters the other */

.px-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid rgba(243, 240, 234, 0.14);
  border-bottom: 1px solid rgba(243, 240, 234, 0.14);
  background: #07080b;
  padding: 1.15rem 0;
}

.px-marquee-track {
  display: flex;
  width: max-content;
  animation: px-slide 48s linear infinite;
}

.px-marquee-set {
  display: flex;
  align-items: center;
  flex: none;
}

.px-marquee-set span {
  font-family: Manrope, sans-serif;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  color: #f4f0e8;
}

.px-marquee-set i {
  display: block;
  width: 1.35rem;
  height: 1px;
  margin: 0 2.4rem;
  background: #ef4444;
  flex: none;
}

@keyframes px-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Facts */

.px-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.px-facts li {
  padding: 1.6rem 1.25rem 1.8rem;
  border-left: 1px solid var(--line);
}

.px-facts li:first-child { border-left: 0; }

.px-facts span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.px-facts b {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.px-facts p {
  margin: 0;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Light chapters */

.px-light {
  background: var(--paper);
  color: #16140f;
  color-scheme: light;
}

.px-chapter {
  padding: 6.5rem 0;
}

.px-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 3rem 4rem;
  align-items: end;
}

.px-statement h2,
.px-close h2,
.px-block h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.px-statement h2 {
  font-size: clamp(2.6rem, 5.6vw, 5.1rem);
}

.px-statement em,
.px-close em {
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-weight: 450;
  letter-spacing: -0.03em;
  color: var(--red);
}

.px-prose {
  margin: 0;
  color: var(--mute-dark);
  font-size: 1.02rem;
  line-height: 1.6;
}

.px-prose + .px-prose { margin-top: 0.9rem; }

.px-statement .px-prose a,
.px-faq a,
.px-note a {
  border-bottom: 1px solid rgba(239, 68, 68, 0.55);
  transition: color 0.35s ease, border-color 0.35s ease;
}

.px-statement .px-prose a:hover,
.px-faq a:hover,
.px-note a:hover { color: var(--red); }

/* Index rows — Huston /01 */

.px-rows { margin-top: 3rem; border-bottom: 1px solid var(--line-dark); }

.px-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line-dark);
  color: inherit;
}

a.px-row { cursor: pointer; }

.px-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.px-row:hover::after { transform: scaleX(1); }

.px-idx {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.px-name {
  display: block;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.px-row:hover .px-name { transform: translateX(10px); }

.px-desc {
  display: block;
  margin-top: 0.35rem;
  max-width: 40rem;
  color: var(--mute-dark);
  font-size: 0.95rem;
  line-height: 1.45;
}

.px-go {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-dark);
  transition: color 0.4s ease;
}

.px-row:hover .px-go { color: var(--red); }

/* Timeline */

.px-time {
  position: relative;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.px-time::before,
.px-time::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
}

.px-time::before { background: rgba(7, 8, 11, 0.14); }

.px-time::after {
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.px-time.is-in::after { transform: scaleY(1); }

.px-time li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding: 0 0 2rem 1.75rem;
}

.px-time h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.px-time p {
  margin: 0;
  max-width: 38rem;
  color: var(--mute-dark);
  line-height: 1.5;
}

.px-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
  border-top: 1px solid var(--line-dark);
}

.px-sheet div {
  padding: 1.1rem 1rem 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.px-sheet div:nth-child(odd) { padding-right: 1.5rem; }
.px-sheet div:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }

.px-sheet span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.px-sheet b { font-weight: 500; letter-spacing: -0.02em; }

/* FAQ */

.px-faq { margin-top: 2rem; border-bottom: 1px solid var(--line-dark); }

.px-faq details { border-top: 1px solid var(--line-dark); }

.px-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  cursor: pointer;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  list-style: none;
}

.px-faq summary::-webkit-details-marker { display: none; }

.px-faq summary::after {
  content: "+";
  flex: none;
  color: var(--red);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.4s ease;
}

.px-faq details[open] summary::after { content: "–"; }

.px-faq details p {
  margin: 0;
  max-width: 44rem;
  padding: 0 0 1.25rem;
  color: var(--mute-dark);
  line-height: 1.55;
}

/* Close / form */

.px-dark { color-scheme: dark; }

.px-close {
  padding: 6.5rem 0 7rem;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(239, 68, 68, 0.14), transparent 60%),
    #07080b;
}

.px-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem 4.5rem;
  align-items: start;
}

.px-close h2 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  color: var(--paper);
}

.px-close .px-prose { color: #b7b1a7; margin-top: 1.25rem; }

.px-form { display: grid; gap: 0.35rem; }

.px-field { display: grid; gap: 0.35rem; padding-top: 0.85rem; }

.px-field span,
.px-consent {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.px-field input,
.px-field select,
.px-field textarea {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0 0.8rem;
  border: 0;
  border-bottom: 1px solid rgba(243, 240, 234, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font: 500 1.05rem/1.4 Manrope, sans-serif;
  letter-spacing: -0.02em;
  outline: none;
  box-shadow: none;
  appearance: none;
}

.px-field textarea { min-height: 6.5rem; resize: vertical; }

.px-field input:focus,
.px-field select:focus,
.px-field textarea:focus { border-bottom-color: var(--red); }

.px-field select option { color: #16140f; }

.px-field input:-webkit-autofill {
  -webkit-text-fill-color: #f3f0ea;
  caret-color: #f3f0ea;
  transition: background-color 9999s ease-out;
}

.px-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  color: #b7b1a7;
}

.px-consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--red);
}

.px-consent a { color: #fff; border-bottom: 1px solid rgba(239, 68, 68, 0.7); }

.px-submit,
.px button.px-submit,
.px button.px-submit.bg-red-500,
.px button.px-submit.bg-gray-400 {
  justify-self: start;
  margin-top: 1.35rem;
  min-width: 14rem;
  border-radius: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  background: var(--red) !important;
  color: #fff !important;
  border: 1px solid var(--red) !important;
}

.px button.px-submit:hover:not(:disabled) {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: #fff !important;
}

.px button.px-submit:disabled,
.px button.px-submit.bg-gray-400 {
  background: transparent !important;
  color: rgba(243, 240, 234, 0.45) !important;
  border-color: rgba(243, 240, 234, 0.28) !important;
  cursor: not-allowed !important;
}

.px-note {
  margin: 1.5rem 0 0;
  color: var(--mute);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Route — a separate dark chapter, stations on one line */

.px-route {
  background: #101218;
  color: #f3f0ea;
  padding: 5.5rem 0 4.5rem;
  border-top: 1px solid rgba(243, 240, 234, 0.08);
  border-bottom: 1px solid rgba(243, 240, 234, 0.08);
}

.px-route-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 2rem 4rem;
  align-items: end;
}

.px-route h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
  color: #f3f0ea;
}

.px-route h2 em {
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-weight: 450;
  color: #ef4444;
}

.px-route-head p {
  margin: 0;
  color: #b7b1a7;
  font-size: 1.02rem;
  line-height: 1.55;
}

.px-route-track {
  display: flex !important;
  position: relative;
  margin-top: 3.5rem;
  padding-top: 0.15rem;
}

.px-route-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 2rem;
  top: 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, #ef4444, rgba(243, 240, 234, 0.18));
}

a.px-stop {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 0 1.25rem 0 0;
  color: inherit;
  text-decoration: none;
}

a.px-stop .px-stop-n {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 240, 234, 0.45);
  background: #101218;
  color: #f3f0ea;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.45s ease;
}

a.px-stop .px-stop-name {
  display: block;
  margin-top: 1.35rem;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

a.px-stop .px-stop-desc {
  display: block;
  margin-top: 0.45rem;
  max-width: 14rem;
  color: #8f897f;
  font-size: 0.92rem;
  line-height: 1.4;
}

a.px-stop .px-stop-go {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ef4444;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

a.px-stop:hover .px-stop-n,
a.px-stop:focus-visible .px-stop-n {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  transform: scale(1.06);
}

a.px-stop:hover .px-stop-go,
a.px-stop:focus-visible .px-stop-go {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .px-route-head { grid-template-columns: 1fr; }
  .px-route-track { flex-direction: column !important; margin-top: 2.4rem; }
  .px-route-track::before {
    left: 1.15rem;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: linear-gradient(#ef4444, rgba(243, 240, 234, 0.18));
  }
  a.px-stop {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 1rem;
    padding: 0 0 1.6rem 0;
  }
  a.px-stop .px-stop-n { flex: none; }
  a.px-stop .px-stop-name { margin-top: 0.35rem; flex: 1; }
  a.px-stop .px-stop-desc { margin-left: 3.35rem; max-width: none; }
  a.px-stop .px-stop-go { margin-left: 3.35rem; opacity: 1; transform: none; }
}

.px-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin: 0 0 1.4rem;
  color: var(--mute);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.px-crumbs a:hover { color: #fff; }

.px-dock {
  position: fixed;
  z-index: 40;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  background: #07080b;
  border: 1px solid rgba(243, 240, 234, 0.18);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.px-dock.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.px-dock a {
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3f0ea;
}

.px-dock a + a {
  background: var(--red);
  color: #fff;
}

.px-dock a:hover { color: var(--red); }
.px-dock a + a:hover { background: #fff; color: var(--ink); }

@media (max-width: 900px) {
  .px-hero-grid,
  .px-statement,
  .px-close-grid { grid-template-columns: 1fr; }
  .px-facts { grid-template-columns: 1fr 1fr; }
  .px-facts li:nth-child(odd) { border-left: 0; }
  .px-facts li:nth-child(3),
  .px-facts li:nth-child(4) { border-top: 1px solid var(--line); }
  .px-dossier { max-width: 28rem; }
  .px-time li { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .px-sheet { grid-template-columns: 1fr; }
  .px-sheet div:nth-child(even) { padding-left: 0; border-left: 0; }
}

@media (max-width: 640px) {
  .px-wrap { width: min(1180px, calc(100% - 1.5rem)); }
  .px-hero { padding-top: 7.2rem; }
  .px-hero-top { top: 6.2rem; }
  .px-facts { grid-template-columns: 1fr; }
  .px-facts li { border-left: 0; border-top: 1px solid var(--line); }
  .px-facts li:first-child { border-top: 0; }
  .px-chapter,
  .px-close { padding: 4.2rem 0; }
  .px-row { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .px-go { grid-column: 2; }
  .px-dock { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .px-dock a { flex: 1; text-align: center; }
}

@media (scripting: none) {
  .px-await { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .px-rise,
  .px-await,
  .px-rule,
  .px-scroll i::after,
  .px-marquee-track,
  .px-time::after,
  .px-name,
  .px-row::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .px-dock { transition: none !important; }
}
