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

:root {
  --navy-950: #071428;
  --navy-900: #0b1d3a;
  --navy-800: #12294f;
  --navy-700: #1c3b6d;
  --sand: #f4f0e8;
  --paper: #ffffff;
  --ink: #13213a;
  --muted: #5b6880;
  --faint: #8a94a8;
  --line: #e4ddcf;
  --accent: #e8793a;
  --accent-dark: #cc6427;
  --sky: #5fb0e0;
  --green: #1d8457;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, .06), 0 2px 8px rgba(11, 29, 58, .06);
  --shadow-md: 0 2px 4px rgba(11, 29, 58, .06), 0 12px 32px rgba(11, 29, 58, .12);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--sand);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--navy-950);
  color: #fff;
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .2px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
}

.brand-mark svg { width: 17px; height: 17px; transform: rotate(45deg); }

.nav-links { display: flex; gap: 4px; }

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}

.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a[aria-current="page"] { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(95, 176, 224, .22), transparent 60%),
    radial-gradient(800px 300px at 0% 110%, rgba(232, 121, 58, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff;
  z-index: 1;
}

.hero::before {
  /* faint dot grid, like a route map */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-top: 72px;
  padding-bottom: 88px;
  text-align: center;
}

.hero-tall { flex: 1; display: flex; align-items: center; }
.hero-tall .hero-inner { padding-top: 96px; padding-bottom: 112px; }
.hero-with-panel .hero-inner { padding-top: 56px; padding-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.5px;
  max-width: 820px;
  margin: 0 auto;
}

h1 em { font-style: italic; color: #ffc59e; }

.subtitle {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 17px;
  color: rgba(255, 255, 255, .72);
}

/* ---------- landing choices ---------- */
.choices {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: 20px;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 24px 22px;
  background: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: left;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.choice-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(7, 20, 40, .35); }

.choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fdeee3;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.choice-icon svg { width: 22px; height: 22px; }
.choice-title { font-size: 17px; font-weight: 700; }
.choice-desc { font-size: 14px; color: var(--muted); }

.choice-go {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
}

.trust-row {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.trust-row span::before { content: '✓'; color: var(--sky); margin-right: 8px; }

/* ---------- page body ---------- */
.page {
  flex: 1;
  padding-top: 48px;
  padding-bottom: 72px;
}

.page-centered { text-align: center; }

.section-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-top: 48px;
}

.section-sub { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ---------- inspiration ---------- */
.origin-box {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-align: left;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--faint);
}

.text-input {
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 16px;
  font-weight: 600;
  transition: border-color .15s, box-shadow .15s;
}

.text-input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(28, 59, 109, .15); }

.iata-input {
  width: 220px;
  font-family: var(--font-mono);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  height: 56px;
}

.vibe-grid {
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1000px;
}

.vibe-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-align: left;
  position: relative;
}

.vibe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vibe-card.selected { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 121, 58, .18), var(--shadow-md); }

.vibe-card.selected::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.vibe-img { width: 100%; height: auto; display: block; }
.vibe-title { font-size: 16px; font-weight: 700; padding: 14px 16px 0; }
.vibe-desc { font-size: 13px; color: var(--muted); padding: 2px 16px 16px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232, 121, 58, .35);
  transition: background .15s, transform .15s, box-shadow .15s;
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-primary svg { width: 18px; height: 18px; }

.inspire-cta { margin-top: 36px; }

.recommendation-panel {
  margin: 32px auto 0;
  max-width: 640px;
  min-height: 40px;
}

.rec-placeholder { color: var(--muted); font-size: 14px; }

/* recommendation styled as a luggage tag */
.rec-card {
  display: flex;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  text-align: left;
}

.rec-side {
  width: 64px;
  flex-shrink: 0;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rec-side span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rec-side::before {
  /* tag eyelet */
  content: '';
  position: absolute;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
}

.rec-body { flex: 1; padding: 24px 28px; }
.rec-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }

.rec-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 6px; }
.rec-city { font-family: var(--font-display); font-size: 32px; font-weight: 500; line-height: 1.1; }
.rec-detail { margin-top: 4px; font-size: 14px; color: var(--muted); }

.rec-code {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: 2px;
  line-height: 1;
}

.rec-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

.rec-cta { margin-top: 18px; height: 46px; font-size: 15px; }

/* ---------- search panel ---------- */
.search-panel {
  position: relative;
  margin: 40px auto -44px;
  max-width: 1040px;
  background: var(--paper);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(7, 20, 40, .28);
  text-align: left;
  color: var(--ink);
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1.15fr .6fr auto;
  gap: 10px;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
  min-width: 0;
}

.field:focus-within { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(28, 59, 109, .12); }

.field input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  min-width: 0;
  padding: 2px 0;
}

.field input.iata { font-family: var(--font-mono); letter-spacing: 2px; font-size: 20px; text-transform: uppercase; }

.search-panel .btn-primary { height: 100%; min-height: 58px; padding: 0 28px; }

/* ---------- results layout ---------- */
.page-results { padding-top: 84px; }

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.results-heading { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.2; }
.result-count { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--muted); margin-top: 2px; }

.sort-select {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.sort-select select {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.airline-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.airline-chip {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.airline-chip:hover { border-color: var(--navy-700); }
.airline-chip.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.airline-chip .chip-count { margin-left: 4px; opacity: .55; font-variant-numeric: tabular-nums; }

.empty-state { color: var(--muted); font-size: 15px; padding: 32px 0; }
.empty-state.small { font-size: 13px; padding: 8px 0; }

.loading { text-align: center; padding: 48px 0; color: var(--muted); font-size: 14px; }

.loading-route {
  position: relative;
  width: 220px;
  height: 24px;
  margin: 0 auto 14px;
  border-bottom: 2px dashed #c9c1b2;
}

.loading-route svg {
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 18px;
  height: 18px;
  color: var(--navy-700);
  transform: rotate(90deg);
  animation: fly 1.6s ease-in-out infinite;
}

@keyframes fly {
  from { left: 0; }
  to { left: calc(100% - 18px); }
}

.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.error-banner {
  background: #fdecea;
  border: 1px solid #f2c1bb;
  color: #8a2e20;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
}

/* ---------- boarding pass ---------- */
.pass {
  --notch: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  margin-bottom: 18px;
  filter: drop-shadow(0 1px 1px rgba(11, 29, 58, .06)) drop-shadow(0 8px 18px rgba(11, 29, 58, .09));
  transition: transform .2s ease, filter .2s ease;
}

.pass:hover { transform: translateY(-2px); filter: drop-shadow(0 2px 2px rgba(11, 29, 58, .07)) drop-shadow(0 14px 26px rgba(11, 29, 58, .14)); }

.pass-main, .pass-stub {
  background: var(--paper);
  /* half-circle notches where the two parts meet */
  -webkit-mask: radial-gradient(circle var(--notch) at var(--nx) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at var(--nx) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at var(--nx) 0, transparent 98%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle var(--notch) at var(--nx) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}

.pass-main { --nx: 100%; border-radius: var(--radius) 0 0 var(--radius); min-width: 0; }
.pass-stub { --nx: 0; border-radius: 0 var(--radius) var(--radius) 0; }

.pass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius) 0 0 0;
}

.pass-airline { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; min-width: 0; }
.pass-airline-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.airline-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: hsl(var(--hue, 210) 55% 42%);
}

.pass-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
}

.pass-title b { color: #ffc59e; font-weight: 500; }

.pass-body { padding: 4px 22px 8px; }
.pass-body + .pass-body { padding-top: 0; padding-bottom: 0; }

.leg { padding: 16px 0 14px; }
.leg + .leg { border-top: 1px dashed var(--line); }

.leg-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.leg-tag b { color: var(--navy-700); font-weight: 600; }

.leg-route {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.port-code {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--ink);
}

.port-time { margin-top: 6px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.port-time sup { font-size: 10px; color: var(--accent-dark); margin-left: 2px; }
.port.arrive { text-align: right; }

.leg-path { text-align: center; min-width: 0; }
.leg-dur { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.path-line {
  position: relative;
  height: 20px;
  margin: 2px 0;
}

.path-line::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px dashed #cfc7b8;
}

.path-line .dot {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  transform: translateX(-50%);
}

.path-line svg {
  position: absolute;
  right: -2px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -8px;
  color: var(--navy-700);
  transform: rotate(90deg);
  background: var(--paper);
}

.leg-stops { font-size: 12px; font-weight: 600; color: var(--accent-dark); }
.leg-stops.direct { color: var(--green); }

.leg-details {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.leg-details dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--faint);
}

.leg-details dd {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pass-itin { border-top: 1px solid var(--line); margin: 0 -22px; padding: 0 22px; }

.pass-itin summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-700);
  user-select: none;
}

.pass-itin summary::-webkit-details-marker { display: none; }
.pass-itin summary::after { content: ' ▾'; }
.pass-itin[open] summary::after { content: ' ▴'; }

.itin-list { padding-bottom: 12px; display: grid; gap: 6px; }

.itin-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.itin-row .itin-flight { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.itin-leg { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

/* tear-off stub */
.pass-stub {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  text-align: left;
}

.pass-stub::before {
  /* perforation */
  content: '';
  position: absolute;
  left: 0;
  top: calc(var(--notch) + 6px);
  bottom: calc(var(--notch) + 6px);
  border-left: 2px dashed #d8d0c1;
}

.stub-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--faint);
}

.stub-price {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}

.stub-meta { margin-top: 4px; font-size: 12px; color: var(--muted); }

.stub-class {
  align-self: flex-start;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eef3fa;
  color: var(--navy-700);
}

.btn-book {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}

.btn-book:hover { background: var(--accent-dark); }

.barcode {
  margin-top: 14px;
  height: 34px;
  background:
    repeating-linear-gradient(90deg,
      var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px,
      var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px,
      var(--ink) 16px 17px, transparent 17px 19px, var(--ink) 19px 22px, transparent 22px 24px);
  background-position: var(--bx, 0) 0;
  opacity: .85;
}

.stub-ref {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--faint);
  text-align: center;
}

.stub-spacer { flex: 1; min-height: 16px; }

/* ---------- activities ---------- */
.activities-sidebar {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 20px;
}

.sidebar-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 14px; }
.sidebar-title small { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

.activity-list { display: grid; gap: 14px; max-height: calc(100vh - 140px); overflow-y: auto; margin: 0 -6px; padding: 0 6px; }

.activity-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}

.activity-img { width: 100%; height: 120px; object-fit: cover; display: block; background: #ebe5d8; }
.activity-content { padding: 12px 14px 14px; }
.activity-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 4px; }
.activity-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.activity-desc { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.activity-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.activity-price { font-size: 14px; font-weight: 700; }
.activity-price small { font-size: 11px; font-weight: 400; color: var(--muted); }
.activity-rating { font-size: 12px; font-weight: 600; color: #b7791f; }

.btn-book-activity {
  display: block;
  margin-top: 12px;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid var(--navy-900);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.btn-book-activity:hover { background: var(--navy-900); color: #fff; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}

.site-footer .brand { font-size: 16px; color: #fff; }
.site-footer .brand-mark { width: 24px; height: 24px; }
.site-footer .brand-mark svg { width: 13px; height: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .field-adults { grid-column: span 1; }
  .search-panel .btn-primary { grid-column: 1 / -1; min-height: 52px; }
  .results-layout { grid-template-columns: 1fr; }
  .activities-sidebar { position: static; }
  .activity-list { max-height: none; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .vibe-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .nav-links a { padding: 8px 10px; font-size: 13px; }
  .brand { font-size: 18px; }
  .hero-inner { padding-top: 48px; padding-bottom: 64px; }
  .hero-tall .hero-inner { padding-top: 64px; padding-bottom: 80px; }
  .choices { grid-template-columns: 1fr; }
  .search-panel { padding: 12px; }

  .pass { grid-template-columns: 1fr; }
  .pass-main { --nx: 0; border-radius: var(--radius) var(--radius) 0 0;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat,
          radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat; }
  .pass-stub { border-radius: 0 0 var(--radius) var(--radius);
    -webkit-mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) left / 51% 100% no-repeat,
          radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
    display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; }
  .pass-head { border-radius: var(--radius) var(--radius) 0 0; padding: 10px 16px; }
  .pass-title { display: none; }
  .pass-body { padding: 0 16px 4px; }
  .pass-itin { margin: 0 -16px; padding: 0 16px; }
  .pass-stub::before { left: calc(var(--notch) + 6px); right: calc(var(--notch) + 6px); top: 0; bottom: auto; border-left: none; border-top: 2px dashed #d8d0c1; }
  .pass-stub .btn-book { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0 22px; }
  .pass-stub .barcode, .pass-stub .stub-ref, .pass-stub .stub-spacer, .pass-stub .stub-class { display: none; }
  .port-code { font-size: 26px; }
  .leg-route { gap: 10px; }
  .leg-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vibe-grid { gap: 12px; }
  .vibe-title { font-size: 14px; padding: 10px 12px 0; }
  .vibe-desc { font-size: 12px; padding: 2px 12px 12px; }
  .rec-side { width: 44px; }
  .rec-body { padding: 20px; }
  .rec-city { font-size: 26px; }
  .rec-code { font-size: 26px; }
}
