/* ==========================================================================
   Page-level styles — home hero, departure board, inner page intro
   ========================================================================== */

.section {
  padding-block: clamp(48px, 7vw, 88px);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
}

.section-head p {
  max-width: 56ch;
  color: var(--muted);
}

/* ---------- Home: hero ---------- */

.hero {
  padding-top: clamp(24px, 4vw, 48px);
}

.hero__cover {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__cover img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.hero__cover::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 163, 82, 0.55);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.hero__cover .stamp {
  position: absolute;
  right: clamp(-10px, 2vw, 40px);
  bottom: clamp(-60px, -4vw, -30px);
  z-index: 2;
  background: rgba(255, 255, 255, 0.35);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: clamp(56px, 8vw, 88px) auto 0;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.hero__lead {
  max-width: 58ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .hero__cover {
    border-radius: var(--radius);
  }

  .hero__cover img {
    border-radius: var(--radius);
  }

  .hero__cover::after {
    inset: 6px;
    border-radius: calc(var(--radius) - 5px);
  }

  /* Hang the stamp below the banner so it never covers the wordmark */
  .hero__cover .stamp {
    right: 0;
    bottom: -96px;
    transform: rotate(-9deg) scale(0.62);
  }

  .js .hero__cover .stamp.reveal.is-visible {
    transform: rotate(-9deg) scale(0.62);
  }

  .hero__copy {
    margin-top: 72px;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Departure board ---------- */

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(201, 163, 82, 0.35);
  text-align: left;
}

.board > div {
  min-width: 0;
  padding: 16px 18px;
}

.board > div + div {
  border-left: 1px solid rgba(201, 163, 82, 0.18);
}

.board dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.board dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board dd.is-live {
  color: #ff8f99;
  animation: blink 1.8s ease-in-out infinite;
}

@media (max-width: 700px) {
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board > div:nth-child(3) {
    border-left: 0;
  }

  .board > div:nth-child(n + 3) {
    border-top: 1px solid rgba(201, 163, 82, 0.18);
  }
}

/* ---------- Inner pages: intro / breadcrumb ---------- */

.page-intro {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

.breadcrumb {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--navy-800);
}

.breadcrumb [aria-current] {
  color: var(--teal-600);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--gold-600);
}

.breadcrumb ol {
  display: contents;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.page-note {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.not-found .passport__title {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}
