/* Explore refresh 2026-10-02: same paper, ink and type as the rest of the site. */
:root { --ex-ink: #111214; --ex-paper: #f7f7f4; --ex-muted: #65666c; --ex-line: #e2e1dc; --ex-teal-dark: #087f70; --ex-night: #111214; }
body { background: var(--ex-paper); }

/* Nav: logo lockup left, links centered, quiet CTA. */
.ex-nav { min-height: 92px; gap: 0; display: grid; grid-template-columns: 1fr auto 1fr; border-bottom: 0; background: rgba(247, 247, 244, 0.86); }
.ex-brand { display: block; width: 72px; }
.ex-brand img { width: 72px; height: auto; }
.ex-nav__links { margin: 0; gap: 30px; }
.ex-nav__links a { padding: 34px 0; color: #595b60; font-size: 13px; }
.ex-nav__links a[aria-current=page]::after { bottom: 24px; background: #19bba5; }
.ex-nav__cta { justify-self: end; padding: 11px 16px; border: 1px solid #d5d5d0; background: #fff; color: var(--ex-ink); font-size: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04); }
.ex-nav__menu { justify-self: end; }

.ex-eyebrow { color: var(--ex-teal-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.ex-app-action { min-height: 50px; padding: 0 20px; border-radius: 999px; background: var(--ex-ink); color: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.13); }
.ex-app-action:hover { box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18); }

/* Hub hero: centered type over a rail of real route photography. */
.ex-page--hub .ex-hero { min-height: 0; padding: 70px 0 30px; display: block; overflow: hidden; background: var(--ex-paper); color: var(--ex-ink); text-align: center; }
.ex-page--hub .ex-hero__copy { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.ex-page--hub .ex-hero h1 { font-size: clamp(3.2rem, 7vw, 7rem); line-height: 0.92; letter-spacing: -0.07em; font-weight: 820; }
.ex-page--hub .ex-hero h1 em { color: var(--ex-teal-dark); letter-spacing: -0.045em; }
.ex-page--hub .ex-hero .ex-eyebrow { color: var(--ex-teal-dark); }
.ex-page--hub .ex-hero__copy > p:not(.ex-eyebrow) { max-width: 620px; margin: 28px auto 0; color: var(--ex-muted); font-size: 19px; line-height: 1.6; }
.ex-hero__actions { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; }
.ex-hero__link { color: var(--ex-teal-dark); font-size: 15px; font-weight: 700; }
.ex-hero__rail { margin: 70px auto 0; width: min(1400px, calc(100% - 48px)); display: grid; grid-template-columns: 1fr 1.08fr 1.2fr 1.08fr 1fr; gap: 16px; align-items: center; }
.ex-hero__rail .ex-hero-card { position: relative; inset: auto; transform: none; display: block; border: 0; border-radius: 26px; aspect-ratio: 4 / 5.4; background: #ddd; box-shadow: 0 30px 60px -30px rgba(10, 20, 18, 0.45); }
.ex-hero__rail .ex-hero-card--1, .ex-hero__rail .ex-hero-card--5 { aspect-ratio: 4 / 4.6; }
.ex-hero__rail .ex-hero-card:hover { transform: translateY(-6px); }
.ex-hero__rail .ex-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1); }
.ex-hero__rail .ex-hero-card:hover img { transform: scale(1.04); }
.ex-hero__rail .ex-hero-card::after { background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.62)); }
.ex-hero__rail .ex-hero-card span { left: 20px; right: 20px; bottom: 18px; gap: 3px; text-align: left; color: #fff; }
.ex-hero__rail .ex-hero-card small { color: rgba(255, 255, 255, 0.8); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ex-hero__rail .ex-hero-card b { font-size: 20px; line-height: 1.1; letter-spacing: -0.03em; }
.ex-hero__rail .ex-hero-card i { color: rgba(255, 255, 255, 0.82); font-size: 13px; font-style: normal; }

/* Browser */
.ex-browser { padding: 120px max(24px, calc((100% - 1240px) / 2)) 130px; }
.ex-browser__intro { grid-template-columns: 1fr 400px; }
.ex-browser__intro h2, .ex-how h2, .ex-highlights h2, .ex-related h2, .ex-itinerary__intro h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 0.96; letter-spacing: -0.065em; font-weight: 820; }
.ex-browser__intro > p { font-size: 17px; line-height: 1.6; }
.ex-controls { top: 10px; margin: 50px 0 22px; padding: 8px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 14px 36px -12px rgba(10, 20, 18, 0.18); }
.ex-search { min-width: 300px; padding: 0 14px 0 16px; border-right: 1px solid var(--ex-line); }
.ex-search span[aria-hidden] { color: #8a8b90; font-size: 20px; }
.ex-search input { font-size: 15px; }
.ex-filters button { padding: 10px 14px; color: #5f6066; font-size: 13px; font-weight: 650; }
.ex-filters button:hover { background: #f0f0ec; }
.ex-filters button[aria-pressed=true] { border-color: transparent; background: var(--ex-ink); color: #fff; }
.ex-result-count { color: #6b6c71; font-size: 13px; }

/* Cards: the photo carries it, type underneath, no box. */
.ex-grid { gap: 48px 28px; }
.ex-card { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ex-card:hover { transform: none; box-shadow: none; }
.ex-card__media { aspect-ratio: 4 / 3; border-radius: 22px; }
.ex-card__media::after { display: none; }
.ex-card__media span { top: 14px; left: 14px; padding: 6px 10px; border: 0; border-radius: 999px; background: rgba(17, 18, 20, 0.55); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ex-card:hover .ex-card__media img { transform: scale(1.04); }
.ex-card__copy { padding: 18px 2px 0; }
.ex-card__copy h2 { font-size: 21px; letter-spacing: -0.03em; }
.ex-card__copy p { margin-top: 5px; font-size: 15px; color: var(--ex-muted); }
.ex-card__arrow { display: none; }
.ex-card__meta { margin: 12px 2px 0; display: flex; flex-wrap: wrap; gap: 4px 0; color: #6b6c71; font-size: 13px; }
.ex-card__meta span + span::before { content: '·'; margin: 0 7px; }

/* How it works */
.ex-how { padding: 130px max(24px, calc((100% - 1240px) / 2)); grid-template-columns: 0.85fr 1.15fr; background: var(--ex-paper); border-top: 1px solid var(--ex-line); }
.ex-how li { min-height: 0; padding: 22px 0 0; border: 0; border-top: 1px solid var(--ex-line); border-radius: 0; background: transparent; box-shadow: none; }
.ex-how li span { width: auto; height: auto; display: block; border-radius: 0; background: none; color: var(--ex-teal-dark); font-size: 13px; }
.ex-how li > div { padding-top: 14px; }
.ex-how li h3 { font-size: 19px; }
.ex-how li p { font-size: 15px; line-height: 1.55; }

/* Footer */
.ex-footer { padding: 64px max(24px, calc((100% - 1240px) / 2)); }
.ex-brand--footer, .ex-brand--footer img { width: 64px; }
.ex-footer nav a { font-size: 13px; }

/* Route pages */
.ex-route-hero { min-height: 680px; }
.ex-route-hero__veil { background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 30%, rgba(0, 0, 0, 0.72) 100%); }
.ex-route-hero h1 { letter-spacing: -0.065em; font-weight: 820; }
.ex-route-hero .ex-app-action { background: #fff; color: var(--ex-ink); }
.ex-route-shell { padding-top: 110px; gap: 90px; }
.ex-summary-card { border: 0; border-radius: 26px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 24px 50px -30px rgba(10, 20, 18, 0.35); }
.ex-summary-card dt { font-size: 13px; }
.ex-summary-card dd { font-size: 14px; }
.ex-summary-note { border-radius: 20px; background: #ecece7; }
.ex-summary-note strong { font-size: 13px; }
.ex-summary-note p { font-size: 13px; }
.ex-itinerary__intro > p:last-child { font-size: 17px; }
.ex-stop > article { border: 0; border-radius: 24px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
.ex-stop__rail > span { border-color: #d5d5d0; color: var(--ex-ink); font-size: 13px; }
.ex-highlights li strong { font-size: 19px; }
.ex-highlights li span { font-size: 12px; }
.ex-related__intro a { font-size: 14px; }
.ex-related__grid { gap: 48px 28px; }

@media (max-width: 1050px) {
  .ex-hero__rail { grid-template-columns: repeat(3, 1fr); }
  .ex-hero__rail .ex-hero-card--1, .ex-hero__rail .ex-hero-card--5 { display: none; }
}
@media (max-width: 760px) {
  .ex-nav { min-height: 72px; grid-template-columns: 1fr auto; padding: 0 18px; }
  .ex-brand, .ex-brand img { width: 56px; }
  .ex-nav__cta { display: none; }
  .ex-page--hub .ex-hero { padding-top: 46px; }
  .ex-page--hub .ex-hero__copy > p:not(.ex-eyebrow) { font-size: 16px; }
  .ex-hero__rail { width: auto; margin: 46px 0 0; padding: 0 18px 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ex-hero__rail::-webkit-scrollbar { display: none; }
  .ex-hero__rail .ex-hero-card, .ex-hero__rail .ex-hero-card--1, .ex-hero__rail .ex-hero-card--5 { display: block; flex: 0 0 72%; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .ex-browser { padding: 90px 18px 100px; }
  .ex-browser__intro { grid-template-columns: 1fr; gap: 16px; }
  .ex-controls { border-radius: 24px; }
  .ex-search { min-width: 0; border-right: 0; }
  .ex-grid { gap: 40px; }
  .ex-how { padding: 100px 18px; }
}

/* Compact hero: copy up top, a scroll-linked coverflow of featured routes, and the browser peeking below. */
.ex-page--hub .ex-hero { padding: 26px 0 0; background: transparent; overflow: visible; }
.ex-page--hub .ex-hero__copy { max-width: 1100px; }
.ex-page--hub .ex-hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.6rem); line-height: 1; letter-spacing: -0.06em; }
.ex-page--hub .ex-hero h1 em { white-space: nowrap; }
.ex-page--hub .ex-hero__copy > p:not(.ex-eyebrow) { margin-top: 18px; font-size: 18px; }
.ex-page--hub .ex-hero__actions { margin-top: 24px; }
.ex-page--hub .ex-hero__rail {
  --card: clamp(230px, 20.5vw, 300px);
  position: relative; display: block; width: auto; margin: 22px 0 0; padding: 0;
  height: calc(var(--card) * 1.3 + 64px);
  overflow-x: clip; overflow-y: visible; perspective: 1700px;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.ex-page--hub .ex-hero__rail.is-dragging { cursor: grabbing; }
.ex-page--hub .ex-hero__track { position: absolute; inset: 0; display: block; width: auto; padding: 0; transform-style: preserve-3d; }
.ex-page--hub .ex-hero__rail .ex-hero-card {
  position: absolute; left: 50%; top: 22px; width: var(--card); margin-left: calc(var(--card) / -2);
  aspect-ratio: 4 / 5.2; display: block;
  transform: translate3d(var(--x, 0px), 0, 0) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transform-origin: 50% 50%; z-index: var(--z, 1); opacity: var(--o, 1);
  transition: none; -webkit-user-drag: none;
}
.ex-page--hub .ex-hero__rail .ex-hero-card:hover { transform: translate3d(var(--x, 0px), 0, 0) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); }
.ex-page--hub .ex-hero__rail .ex-hero-card img { -webkit-user-drag: none; pointer-events: none; }
.ex-page--hub .ex-hero__rail .ex-hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: rgba(247, 247, 244, var(--dim, 0));
}
.ex-page--hub .ex-hero__rail .ex-hero-card span { z-index: 2; }
.ex-page--hub .ex-browser { padding-top: 48px; }
@media (max-width: 760px) {
  .ex-page--hub .ex-hero { padding-top: 30px; }
  .ex-page--hub .ex-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .ex-page--hub .ex-hero h1 em { display: block; }
  .ex-page--hub .ex-hero__copy > p:not(.ex-eyebrow) { font-size: 15.5px; margin-top: 14px; }
  .ex-page--hub .ex-hero__actions { margin-top: 18px; gap: 18px; }
  .ex-page--hub .ex-hero__rail { --card: 56vw; margin-top: 14px; height: calc(var(--card) * 1.3 + 50px); }
  .ex-page--hub .ex-hero__rail .ex-hero-card b { font-size: 17px; }
  .ex-page--hub .ex-browser { padding-top: 40px; }
}
