/* ── RESET & BASE ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ece9e3;
  --fg: #1c1c1c;
  --muted: #888;
  --border: #bfbab0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inconsolata', monospace;
  font-size: 15px;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 44px;
  background: rgba(236, 233, 227, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.nav-logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--fg); }

/* ── HERO ── */
.hero {
  padding: 32px 24px 16px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(480px, 80vw);
  height: auto;
  margin-bottom: 16px;
  margin-left: 24px;
  filter: invert(1);
}

.hero-route {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.route-arrow { color: var(--fg); }

.hero-sub {
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.hero-date {
  font-size: 13px;
  color: var(--fg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── ELEVATION ── */
.elevation {
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 0;
}

.elevation img {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1);
}

/* ── MAP ── */
.map-section {
  padding: 20px 24px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 1px solid var(--border);
  filter: grayscale(1);
}

/* ── VIDEO ── */
.video-section {
  padding: 48px 24px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border: 1px solid var(--border);
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ── ABOUT ── */
.about {
  padding: 40px 24px 80px;
  text-align: center;
}

.about-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.about-inner p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* ── SLIDER ── */
.slider {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  margin-bottom: 4px;
}

.slider::-webkit-scrollbar { display: none; }
.slider.grabbing { cursor: grabbing; }

.slider-track {
  display: flex;
  gap: 4px;
  padding: 0;
  width: max-content;
}

.slider-track img {
  height: 420px;
  width: auto;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

/* ── SUPPORT ── */
.support {
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.support h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.support-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 36px;
  max-width: 520px;
}

.support-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: 'Inconsolata', monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--bg);
  color: var(--fg);
}

.btn-primary:hover {
  background: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--bg);
  border: 1px solid #555;
}

.btn-secondary:hover {
  border-color: var(--bg);
}

/* ── GEAR ── */
.gear {
  border-top: 1px solid var(--border);
  padding: 80px 24px;
}

.gear-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.gear h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  justify-content: center;
}

.tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 20px;
  font-family: 'Inconsolata', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.tab:hover { color: var(--fg); }
.tab.active { color: var(--fg); border-bottom-color: var(--fg); }

/* ── TABLE ── */
.tab-content { display: none; }
.tab-content.active { display: block; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead tr {
  border-bottom: 1px solid var(--border);
}

th {
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(191, 186, 176, 0.4);
  vertical-align: top;
}

td.empty {
  color: var(--muted);
  font-style: italic;
  text-align: center;
  padding: 40px;
}

tbody tr:hover { background: rgba(0,0,0,0.02); }

/* ── FOOTER ── */
.footer {
  padding: 48px 24px 40px;
  text-align: center;
}

.footer-tape {
  display: block;
  width: 300px;
  height: auto;
  margin: 0 auto;
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .support-buttons { flex-direction: column; }
  .tabs { overflow-x: auto; }
  .tab { padding: 10px 14px; white-space: nowrap; }
}
