/* Paris Metro Simulator — station materials (tiled wall, enamel plaque, metro green)
   in a contemporary layout. Plain CSS: no framework, no script, no web font, no animation. */

:root {
  --paper: #f3f1ea;
  --tile-fade: #faf9f5;
  --surface: #ffffff;
  --surface-2: #fcfbf7;
  --ink: #141917;
  --muted: #566159;
  --faint: #7d867f;
  --line: #e3ded0;
  --line-soft: #ece8dc;
  --green: #0e5c43;
  --green-deep: #0a4332;
  --green-tint: #e7f1ec;
  --amber: #8a5f0c;
  --amber-tint: #faf0d9;
  --radius: 16px;
  --page: 64rem;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(250, 249, 245, 0) 0, var(--tile-fade) 62rem),
    url("/tile.svg") repeat top center;
  background-size: auto, 160px 80px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Links & focus ---------- */

a { color: inherit; text-decoration: none; }
a:focus-visible,
video:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

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

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem max(1.25rem, calc((100% - var(--page)) / 2));
  background: rgba(252, 251, 247, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
}

.topnav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.topnav a:hover { color: var(--green); }

/* ---------- Layout ---------- */

main {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 4rem 0; }
section + section { border-top: 1px solid var(--line-soft); }

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

.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.eyebrow {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.55rem;
  margin: 0 auto 1.6rem;
  padding: 0.35rem 0.85rem 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
}

.pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 92, 67, 0.14);
}

/* Enamel station sign. */
.plaque {
  display: inline-block;
  max-width: 100%;
  padding: 1.5rem 2.25rem;
  background: var(--green);
  border: 2px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 0 0 2px var(--green), 0 18px 40px -28px rgba(10, 67, 50, 0.85);
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 5.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 38rem;
  margin: 1.9rem auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.3vw, 1.15rem);
  line-height: 1.55;
}

/* ---------- Trailer ---------- */

#trailer { padding-top: 0; border-top: 0; }

.frame {
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 45px -34px rgba(20, 25, 23, 0.6);
}

.frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0b100e;
  border-radius: 10px;
}

.caption {
  margin: 0.85rem 0 0;
  color: var(--faint);
  font-size: 0.85rem;
  text-align: center;
}
.caption a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.caption a:hover { color: var(--green); }

/* ---------- Section headings ---------- */

h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1.3rem, 3.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.022em;
}

.section-index {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-note {
  margin: -0.6rem 0 1.75rem;
  max-width: 40rem;
  color: var(--muted);
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.5rem 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -26px rgba(20, 25, 23, 0.5);
}

.roundel {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ---------- Status ---------- */

.status {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px -26px rgba(20, 25, 23, 0.5);
}

.status-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.4rem 1.5rem;
  padding: 1.05rem 1.4rem;
  border-bottom: 1px solid var(--line-soft);
}
.status-row:last-child { border-bottom: 0; }

.status dt {
  padding-top: 0.2rem;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.8rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pill {
  flex: none;
  padding: 0.16rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill-live { color: var(--green); border-color: #bcd8cb; background: var(--green-tint); }
.pill-work { color: var(--amber); border-color: #e8d7a8; background: var(--amber-tint); }
.pill-none { color: var(--faint); background: var(--surface-2); }

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

.mail {
  display: inline-block;
  color: var(--green);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  border-bottom: 2px solid #bcd8cb;
  padding-bottom: 2px;
}
.mail:hover { border-bottom-color: var(--green); }

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

.footer {
  max-width: var(--page);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 0.83rem;
}
.footer p { margin: 0 0 0.4rem; }
.footer p:last-child { margin-bottom: 0; }
.footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--green); }

/* ---------- Privacy page ---------- */

.doc {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.75rem 1.75rem 3rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px -30px rgba(20, 25, 23, 0.55);
}
.doc-wrap { padding: 2.5rem 0 3.5rem; }

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.back:hover { color: var(--green); }

.doc h1 {
  color: var(--ink);
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.doc-date {
  margin: 0 0 2.25rem;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.doc h2 {
  display: block;
  margin: 2.25rem 0 0.6rem;
  font-size: 1.05rem;
}

.doc p { margin: 0 0 1rem; color: var(--muted); }
.doc p a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar { padding: 0.7rem 1rem; }
  .wordmark-text { display: none; }
  .topnav { gap: 1rem; font-size: 0.84rem; }
  main { padding: 0 1rem; }
  section { padding: 3rem 0; }
  .hero { padding: 2.5rem 0 2.25rem; }
  .plaque { padding: 1.15rem 1.25rem; border-radius: 14px; }
  .lede { margin-top: 1.5rem; }
  .features { gap: 0.75rem; }
  .status-row { grid-template-columns: 1fr; padding: 1rem 1.1rem; }
  .status dt { padding-top: 0; }
  .doc { padding: 1.75rem 1.25rem 2rem; }
  .footer { padding: 2rem 1rem 3rem; }
}
