/* ==========================================================================
   Top Utility Bar
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: var(--parchment-dim);
  font-size: 0.78rem;
  padding-block: 0.5rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

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

.site-header {
  background: var(--parchment);
  border-bottom: 1px solid rgba(28, 26, 22, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 250ms var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--runway);
  color: var(--parchment);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ink);
}

.logo__text small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--runway);
}

.site-nav {
  display: flex;
  gap: var(--space-4);
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.25rem;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  transition: left 250ms var(--ease), right 250ms var(--ease);
}

.site-nav a:hover::after {
  left: 0;
  right: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 250ms var(--ease), opacity 250ms var(--ease);
}

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

.hero {
  padding-block: var(--space-6) var(--space-7);
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}

.hero__copy h1 {
  margin-block: var(--space-2) var(--space-3);
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(28, 26, 22, 0.72);
  max-width: 42ch;
  margin-bottom: var(--space-4);
}

.hero__ctas {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Signature fare card */
.fare-card {
  background: var(--white);
  border: 1px solid rgba(28, 26, 22, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.fare-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-3);
  right: var(--space-3);
  height: 4px;
  background: var(--brass);
  border-radius: 0 0 4px 4px;
}

.fare-card__label {
  margin-bottom: var(--space-2);
}

.fare-card__route {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--runway);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed rgba(28, 26, 22, 0.15);
  margin-bottom: var(--space-2);
}

.fare-card__arrow {
  color: var(--brass);
}

.fare-card__lines {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--space-2);
}

.fare-card__line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-8px);
  animation: fareLineIn 450ms var(--ease) forwards;
}

.fare-card.is-visible .fare-card__line:nth-child(1) { animation-delay: 300ms; }
.fare-card.is-visible .fare-card__line:nth-child(2) { animation-delay: 420ms; }
.fare-card.is-visible .fare-card__line:nth-child(3) { animation-delay: 540ms; }
.fare-card.is-visible .fare-card__line:nth-child(4) { animation-delay: 660ms; }

@keyframes fareLineIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fare-card__line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.fare-card__line--strike span:last-child {
  text-decoration: line-through;
  color: rgba(156, 74, 46, 0.7);
  font-size: 0.8rem;
}

.fare-card__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: var(--space-2);
  border-top: 2px solid var(--ink);
  font-weight: 600;
}

.fare-card__total-amt {
  font-size: 1.6rem;
  font-weight: 600;
}

.fare-card__note {
  font-size: 0.78rem;
  color: rgba(28, 26, 22, 0.55);
  margin-top: var(--space-1);
  font-style: italic;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */

.stats-strip {
  padding-block: var(--space-5);
}

.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat__num {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--brass-light);
}

.stat__label {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: rgba(246, 242, 234, 0.8);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: var(--space-6) var(--space-5);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--parchment);
    flex-direction: column;
    padding: var(--space-3) var(--space-4);
    gap: var(--space-2);
    border-bottom: 1px solid rgba(28,26,22,0.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 250ms var(--ease), opacity 250ms var(--ease);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats-strip__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .logo__text {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Hero Service Tags
   ========================================================================== */

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-4);
}

.hero__tags li {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--runway);
  background: var(--parchment-dim);
  border: 1px solid rgba(38, 67, 58, 0.2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
