/* ==== Base reset-ish ==== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0f172a;
  background: #ffffff;
}

/* ==== Layout shell ==== */

.shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.shell--nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.shell--hero {
  padding: 3rem 1.25rem 3.5rem;
}

/* ==== Header / Nav ==== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fffffff0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fefce8;
  font-weight: 800;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.7rem;
  color: #64748b;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-links a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #475569;
  text-decoration: none;
}

.nav-links a:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.nav-links a.active {
  background: #0f172a;
  color: #f9fafb;
}

/* ==== Hero ==== */

.hero {
  background: radial-gradient(circle at top left, #fff7ed, #ffffff 50%);
  border-bottom: 1px solid #e5e7eb;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #f97316;
  font-weight: 600;
}

.hero-title {
  margin: 0.5rem 0 0.25rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-lede {
  margin: 0.75rem 0 1.25rem;
  max-width: 40rem;
  color: #475569;
  font-size: 1rem;
}

.hero-subcopy {
  max-width: 40rem;
  color: #64748b;
  font-size: 0.9rem;
}

/* ==== Buttons ==== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: #f97316;
  border-color: #f97316;
  color: #fefce8;
}

.btn--primary:hover {
  background: #ea580c;
  border-color: #ea580c;
}

.btn--ghost {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #0f172a;
}

.btn--ghost:hover {
  background: #f9fafb;
}

/* ==== Sections ==== */

.section {
  padding: 2.75rem 0;
}

.section--soft {
  background: #f9fafb;
}

.section-header {
  margin-bottom: 1.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: #f97316;
  font-weight: 600;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 38rem;
  font-size: 0.95rem;
  color: #64748b;
}

/* ==== Cards / grids ==== */

.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem; /* space between stacked grids */
}

.card-grid:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1.3rem;
}

/* ==== Clickable cards ==== */

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Prevent inner text from becoming link-styled */
.card-link * {
  text-decoration: none;
  color: inherit;
}

.card-link:hover .card {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}


/* ==== About layout ==== */

.about-layout {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.about-aside {
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  padding: 1.15rem 1.2rem;
  background: #f9fafb;
}

/* ================================
   ROUTE ASSETS (BALANCED)
   ================================ */

.route-assets {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.route-assets__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Consistent map size */
.route-assets__map {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  aspect-ratio: 16 / 10;
}

.route-assets__map a,
.route-assets__map img {
  display: block;
  width: 100%;
  height: 100%;
}

.route-assets__map img {
  object-fit: cover;
}

/* Desktop: side-by-side */
@media (min-width: 900px) {
  .route-assets {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
}

/* Mobile: stack + tap-friendly */
@media (max-width: 480px) {
  .route-assets__buttons .btn {
    width: 100%;
  }

  .shell {
    padding: 0 1rem;
  }

  .shell--hero {
    padding: 2.25rem 1rem 2.75rem;
  }

  .section {
    padding: 2.25rem 0;
  }
}

/* ==== Footer ==== */

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 1.8rem 0;
  margin-top: 2.5rem;
}

.footer-layout {
  font-size: 0.8rem;
  color: #6b7280;
}


