/* =========================================================================
   PERIMETER — visual system
   Dark, editorial, telemetric. Anton display / Space Grotesk body /
   Space Mono for data. Signal-orange accent on near-black.
   ========================================================================= */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #101013;
  --bg-3:      #16161a;
  --ink:       #f4f1ec;
  --ink-dim:   #9a968f;
  --line:      #26262b;
  --accent:    #ff4d00;
  --accent-2:  #ff7a3d;
  --max:       1220px;
  --pad:       clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #000; }

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

.dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--accent-2); }

.section-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-sub {
  color: var(--ink-dim);
  max-width: 60ch;
  margin-top: 22px;
  font-size: 1.02rem;
}

.section-head { margin-bottom: 46px; }

.btn {
  display: inline-block;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  background: var(--accent);
  color: #000;
  padding: 15px 26px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-2); }
.btn--big { font-size: 14px; padding: 17px 30px; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(10,10,11,0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__brand {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.14em;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__brand-sub {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
}
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav__links a {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: #000 !important;
  background: var(--accent);
  padding: 9px 16px;
}
.nav__cta:hover { background: var(--accent-2); }
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}
@media (max-width: 560px) {
  .nav__brand { font-size: 18px; gap: 8px; }
  .nav__brand-sub { font-size: 10px; }
}
/* on the narrowest phones, drop the tagline so the brand can't collide with Enter */
@media (max-width: 360px) {
  .nav__brand-sub { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad) 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(255,77,0,0.16), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(255,77,0,0.08), transparent 60%),
    linear-gradient(180deg, #050506, #0a0a0b 60%, #0c0c0f);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero__inner { position: relative; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero__kicker {
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 26px;
}
.hero__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(52px, 12vw, 168px);
  display: grid;
}
.hero__title-sub {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  text-transform: none;
  font-size: clamp(20px, 4vw, 46px);
  letter-spacing: 0;
  color: var(--accent);
  line-height: 1.2;
  margin: 4px 0;
}
.hero__lede {
  margin-top: 30px;
  max-width: 56ch;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 38px 0 34px;
}
.hero__meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-k {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__meta-v {
  font-family: "Space Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.hero__ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  overflow: hidden;
  padding: 12px 0;
}
.hero__ticker-track {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__ticker-track span:nth-child(even) { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   STAT STRIP
   ========================================================================= */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.strip__item {
  padding: clamp(30px, 5vw, 56px) var(--pad);
  border-right: 1px solid var(--line);
  text-align: left;
}
.strip__item:last-child { border-right: none; }
.strip__num {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1;
  letter-spacing: 0.01em;
}
.strip__label {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 12px;
  display: block;
}
@media (max-width: 720px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: none; }
  .strip__item:nth-child(1), .strip__item:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* =========================================================================
   SECTIONS wrapper padding
   ========================================================================= */
.route, .stages, .format, .numbers {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) var(--pad);
}

/* ---------- MAP ---------- */
.map {
  height: clamp(420px, 72vh, 760px);
  width: 100%;
  border: 1px solid var(--line);
  background: #0d0d10;
  filter: saturate(1.05);
}
.map__foot {
  margin-top: 16px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.map__note {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  max-width: 62ch;
  flex: 1 1 320px;
  margin: 0;
}
.gpx {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--accent);
  background: rgba(255, 77, 0, 0.06);
  padding: 14px 18px;
  transition: background .2s ease, transform .2s ease;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.gpx:hover { background: var(--accent); transform: translateY(-2px); }
.gpx:hover .gpx__txt b, .gpx:hover .gpx__txt small, .gpx:hover .gpx__ic { color: #000; }
.gpx__ic {
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  border: 1px solid currentColor;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.gpx__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gpx__txt b {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 16px;
}
.gpx__txt small {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  .gpx { width: 100%; }
}
.leaflet-container { background: #0d0d10; font-family: "Space Grotesk", sans-serif; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--bg-3);
  color: var(--ink);
  border-radius: 0;
  border: 1px solid var(--accent);
}
.leaflet-popup-content { margin: 12px 16px; font-family: "Space Mono", monospace; }
.leaflet-popup-content strong { font-size: 14px; }
.leaflet-popup-content .pop-c {
  color: var(--accent); margin-left: 8px; font-size: 11px;
}
.leaflet-popup-content em {
  display: block; margin-top: 4px; font-style: normal;
  font-size: 10px; letter-spacing: 0.18em; color: var(--ink-dim);
}
.leaflet-popup-content .pop { display: flex; flex-direction: column; gap: 5px; }
.leaflet-popup-content .pop strong { font-size: 13px; }
.leaflet-popup-content .pop-stat {
  font-family: "Space Mono", monospace; font-size: 11px;
  letter-spacing: 0.03em; color: var(--accent);
}
.leaflet-popup-content .pop-desc {
  font-family: "Space Grotesk", sans-serif; font-size: 12.5px;
  line-height: 1.4; color: var(--ink);
}

/* numbered stage badge on the map */
.stage-badge { background: transparent !important; border: 0 !important; }
.stage-badge span {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  background: var(--bg-3);
  border: 1.5px solid var(--accent);
  color: var(--ink);
  border-radius: 50%;
  font-family: "Space Mono", monospace;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 0 0 2px rgba(10, 10, 11, 0.55);
}
.leaflet-bar a { background: var(--bg-3); color: var(--ink); border-color: var(--line); }
.leaflet-bar a:hover { background: var(--accent); color: #000; }
.leaflet-control-attribution { background: rgba(0,0,0,0.6) !important; color: var(--ink-dim) !important; }
.leaflet-control-attribution a { color: var(--accent) !important; }

/* =========================================================================
   STAGES
   ========================================================================= */
.stage-list { display: flex; flex-direction: column; }
.stage {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  transition: background .25s ease;
}
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage:hover { background: linear-gradient(90deg, rgba(255,77,0,0.05), transparent 70%); }
.stage__no {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.stage__route {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.stage__arrow { color: var(--accent); }
.stage__note { color: var(--ink-dim); margin-top: 10px; max-width: 62ch; font-size: 0.98rem; }
.stage__tag {
  display: inline-block;
  margin-top: 14px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 5px 10px;
}
.stage__dl {
  display: inline-block;
  margin-top: 14px;
  margin-left: 14px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.stage__dl:hover { color: var(--accent); border-bottom-color: var(--accent); }
.stage__data {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  text-align: right;
  padding-top: 4px;
}
.stage__data > div { display: flex; flex-direction: column; }
.stage__data b {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
}
.stage__data small {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 4px;
}
.stage__cum b { color: var(--accent); }

/* elevation profile */
.stage__profile { grid-column: 2 / -1; margin-top: 18px; }
.prof__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.prof {
  width: 100%;
  height: 52px;
  display: block;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,77,0,0.03));
}
.prof__area { fill: rgba(255, 77, 0, 0.13); }
.prof__line { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }

/* hover readout */
.prof-wrap { position: relative; cursor: crosshair; touch-action: none; }
.prof-cursor {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--ink);
  opacity: 0.6;
  pointer-events: none;
}
.prof-dot {
  position: absolute;
  left: -3.5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg), 0 0 8px rgba(255,77,0,0.7);
}
.prof-tip {
  position: absolute;
  top: 4px;
  transform: translate(-50%, 0);
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
  background: var(--bg-3);
  border: 1px solid var(--accent);
  padding: 6px 10px;
  font-family: "Space Mono", monospace;
  pointer-events: none;
  z-index: 5;
}
.prof-tip b { font-size: 13px; font-weight: 700; }
.prof-tip span { font-size: 12px; }
.prof-tip span.up { color: var(--accent); }
.prof-tip span.down { color: #6fd08c; }
.prof-tip em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
}
/* the `hidden` attribute must win over display:flex/block above */
.prof-tip[hidden], .prof-cursor[hidden] { display: none; }

@media (max-width: 860px) {
  .stage { grid-template-columns: 44px 1fr; }
  .stage__data { grid-column: 1 / -1; justify-content: flex-start; text-align: left; margin-top: 6px; }
  .stage__data > div { flex-direction: row; gap: 6px; align-items: baseline; }
  .stage__data small { margin-top: 0; }
  .stage__profile { grid-column: 1 / -1; }
}

/* =========================================================================
   FORMAT / RULES
   ========================================================================= */
.format { border-top: 1px solid var(--line); }
.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.rule {
  padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rule__no {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.rule h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 24px;
  margin: 16px 0 12px;
  letter-spacing: 0.02em;
}
.rule p { color: var(--ink-dim); font-size: 0.98rem; }
.rules .rule:nth-child(3n) { border-right: none; }
.rules .rule:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 860px) {
  .rules { grid-template-columns: 1fr 1fr; }
  .rules .rule:nth-child(3n) { border-right: 1px solid var(--line); }
  .rules .rule:nth-child(2n) { border-right: none; }
  .rules .rule:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .rules .rule:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .rules { grid-template-columns: 1fr; }
  .rule, .rules .rule { border-right: none !important; }
}

/* =========================================================================
   NUMBERS
   ========================================================================= */
.numbers { border-top: 1px solid var(--line); }
.numbers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.numbers__list { list-style: none; display: grid; gap: 4px; }
.numbers__list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.numbers__list li:last-child { border-bottom: 1px solid var(--line); }
.numbers__list b {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  min-width: 4.2ch;
  color: var(--ink);
}
.numbers__list span { color: var(--ink-dim); font-size: 0.98rem; }
@media (max-width: 820px) { .numbers__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   PACE
   ========================================================================= */
.pace {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) var(--pad);
  border-top: 1px solid var(--line);
}
.pace__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-bottom: 26px;
}
.pace__card {
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid var(--line);
}
.pace__card:last-child { border-right: none; }
.pace__num {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: clamp(40px, 8vw, 82px);
  line-height: 1;
  color: var(--accent);
}
.pace__lab {
  display: block;
  margin-top: 14px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.pace__table { border: 1px solid var(--line); border-top: none; }
.pace__thead, .pace__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  padding: 15px clamp(20px, 3vw, 30px);
  align-items: baseline;
}
.pace__thead {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
}
.pace__row { border-top: 1px solid var(--line); }
.pace__row:first-child { border-top: none; }
.pace__row span { color: var(--ink-dim); font-size: 0.98rem; }
.pace__row b { color: var(--ink); font-weight: 700; }
.pace__row-v {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  color: var(--ink) !important;
  white-space: nowrap;
}
.pace__note {
  margin-top: 26px;
  padding: 22px clamp(20px, 3vw, 28px);
  border-left: 2px solid var(--accent);
  background: rgba(255, 77, 0, 0.05);
  color: var(--ink-dim);
  max-width: 74ch;
  font-size: 1rem;
  line-height: 1.6;
}
.pace__note-k {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
@media (max-width: 620px) {
  .pace__cards { grid-template-columns: 1fr; }
  .pace__card { border-right: none; border-bottom: 1px solid var(--line); }
  .pace__card:last-child { border-bottom: none; }
  .pace__thead { display: none; }
  .pace__row { grid-template-columns: 1fr auto; }
  .pace__row span:nth-child(2) { display: none; }
}

/* =========================================================================
   ENTER / CTA
   ========================================================================= */
.enter {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(255,77,0,0.22), transparent 60%),
    linear-gradient(180deg, #0c0c0f, #0a0a0b);
  border-top: 1px solid var(--line);
  text-align: center;
}
.enter__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; pointer-events: none;
}
.enter__inner { position: relative; max-width: 720px; margin: 0 auto; }
.enter__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.enter__sub { color: var(--ink-dim); max-width: 52ch; margin: 0 auto 36px; }
.enter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.enter__form input {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  padding: 16px 18px;
  font-size: 14px;
  min-width: 260px;
  flex: 1 1 260px;
  max-width: 360px;
}
.enter__form input:focus { outline: none; border-color: var(--accent); }
.enter__ok {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 20px;
}
/* off-screen target for the listmonk form POST */
.ll-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.foot {
  padding: clamp(50px, 7vw, 80px) var(--pad);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
}
.foot__brand {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.16em;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.foot__line { color: var(--ink); margin-bottom: 18px; }
.foot__fine {
  color: var(--ink-dim);
  font-size: 12px;
  max-width: 62ch;
  margin: 0 auto;
  font-family: "Space Mono", monospace;
  line-height: 1.7;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
