:root {
  color-scheme: light;
  --sand: #f7f2ea;
  --ink: #1d1f23;
  --slate: #3b4a5a;
  --muted: #6b7280;
  --teal: #0f766e;
  --saffron: #ff8a00;
  --sunset: #ff5e3a;
  --card: #ffffff;
  --stroke: rgba(29, 31, 35, 0.08);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

body {
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(circle at top, #fff5e3 0%, var(--sand) 45%, #f3efe6 100%);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.4;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.5) 0%, transparent 70%);
  top: -120px;
  left: -120px;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.45) 0%, transparent 70%);
  bottom: -160px;
  right: -120px;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 94, 58, 0.45) 0%, transparent 70%);
  top: 40%;
  right: 10%;
}

.site-header {
  padding: 32px clamp(20px, 4vw, 80px) 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--saffron), var(--sunset));
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 18px;
}

.brand-text {
  font-family: "Fraunces", serif;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
}

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  animation: fadeUp 0.9s ease both;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24);
}

.btn.ghost {
  border-color: rgba(15, 118, 110, 0.3);
  color: var(--teal);
  background: rgba(255, 255, 255, 0.7);
}

.btn:hover {
  transform: translateY(-2px);
}

.is-hidden {
  display: none;
}

.hero-card {
  background: var(--card);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.card-top {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

.pill.outline {
  background: transparent;
  border: 1px solid rgba(255, 138, 0, 0.4);
  color: #b45309;
}

.hero-card h3 {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.hero-card p {
  color: var(--slate);
  margin-bottom: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.stat {
  background: rgba(255, 247, 237, 0.7);
  padding: 12px;
  border-radius: 16px;
  text-align: center;
}

.stat span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}

main {
  padding: 0 clamp(20px, 4vw, 80px) 80px;
}

.photo-strip {
  margin: 40px 0 80px;
}

.video-strip {
  margin: 80px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.video-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 16px;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 12px;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: none;
}

.video-card p {
  color: var(--slate);
  font-size: 14px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.train-photo {
  background: #fff;
  border-radius: 24px;
  padding: 16px;
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
}

.train-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.train-photo figcaption {
  font-size: 14px;
  color: var(--slate);
}

.train-photo figcaption a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.train-photo figcaption a:hover {
  text-decoration: underline;
}

.train-photo.saffron {
  background: linear-gradient(135deg, rgba(255, 238, 214, 0.9), #ffffff);
}

.train-photo.teal {
  background: linear-gradient(135deg, rgba(207, 250, 245, 0.9), #ffffff);
}

.train-photo.night {
  background: linear-gradient(135deg, rgba(224, 231, 255, 0.9), #ffffff);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--slate);
}

.search-section {
  background: #ffffff;
  border-radius: 32px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  margin-top: -60px;
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.search-panel label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--slate);
}

.search-panel input {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  font-size: 15px;
}

.search-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.train-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 8px;
  animation: fadeUp 0.5s ease both;
}

.train-card h4 {
  font-size: 18px;
  font-weight: 600;
}

.train-meta {
  font-size: 13px;
  color: var(--muted);
}

.route-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 999px;
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 36px;
  background: rgba(255, 248, 240, 0.8);
  border-radius: 18px;
  border: 1px dashed rgba(255, 138, 0, 0.4);
}

.showcase {
  margin: 80px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.showcase-grid article {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--stroke);
}

.routes {
  margin-top: 80px;
}

.launch {
  margin: 80px 0;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.launch-grid article {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.routes-table {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.routes-header,
.route-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.routes-header {
  font-weight: 600;
  color: var(--slate);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke);
}

.route-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(29, 31, 35, 0.06);
  font-size: 14px;
}

.route-row:last-child {
  border-bottom: none;
}

.site-footer {
  padding: 40px clamp(20px, 4vw, 80px) 60px;
  color: var(--muted);
  text-align: center;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .routes-header,
  .route-row {
    grid-template-columns: 1fr;
  }
}
