/* ===== Design tokens ===== */
:root {
  --ink: #1c2b36;
  --ink-soft: #48586a;
  --paper: #f6f4ef;
  --paper-raised: #ffffff;
  --steel: #3f5c78;
  --steel-dark: #2a4258;
  --signal: #c96a2e;
  --signal-dark: #a8551f;
  --line: #dfd9cb;
  --line-dark: #33465a;

  --font-display: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1320px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.35em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }

.subheading {
  display: inline-block;
  position: relative;
  padding-bottom: 0.2em;
}
.subheading::after {
  content: "";
  position: absolute;
  left: 0;
  right: -0.4em;
  bottom: 0;
  height: 3px;
  background: var(--signal);
}

p { margin: 0 0 0.85em; color: var(--ink-soft); }

a {
  color: var(--steel-dark);
  text-decoration: none;
}
a:hover { color: var(--signal-dark); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

main ul {
  list-style: none;
  padding-left: 0;
  color: var(--ink-soft);
}
main ul li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.4em;
}
main ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--signal);
}

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

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5em 0;
  font-size: 0.95rem;
}
th, td {
  border: 1px solid var(--line);
  padding: 0.6em 0.8em;
  text-align: left;
  vertical-align: top;
}
th { background: var(--paper-raised); font-family: var(--font-display); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-dark);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--signal);
  display: inline-block;
}

.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: var(--steel);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--steel);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  background: var(--steel-dark);
  border-color: var(--steel-dark);
  color: #fff;
}
.btn.btn-signal {
  background: var(--signal);
  border-color: var(--signal);
}
.btn.btn-signal:hover {
  background: var(--signal-dark);
  border-color: var(--signal-dark);
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 1.6rem;
  border-radius: var(--radius);
}
.card-dark {
  background: var(--ink);
  border-color: var(--line-dark);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: #b9c3cd; }
.card-dark a { color: #dfe5ea; }
.card-dark a:hover { color: var(--signal); }

.section {
  padding: clamp(1.25rem, 3vw, 2.25rem) 0;
}
.section-dark {
  background: var(--ink);
  color: #eef1f4;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #b9c3cd; }
.section-dark a { color: #dfe5ea; }
.section-dark a:hover { color: var(--signal); }

/* Floor-indicator signature motif */
.floor-rail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 6px;
}
.floor-rail span {
  width: 6px;
  height: 6px;
  background: var(--line);
  border-radius: 50%;
}
.floor-rail span.active { background: var(--signal); }
