/* Travel Video Pass — shared design system.
   Extends the OD web-prototype seed tokens with a dark cinematic palette
   derived from the modern-minimal accent hue (255, tech blue), kept to a
   single accent throughout. Serif display / sans body / mono numerics. */

:root {
  --bg: oklch(15% 0.018 258);
  --surface: oklch(20% 0.02 258);
  --fg: oklch(96% 0.006 250);
  --muted: oklch(66% 0.022 255);
  --border: oklch(32% 0.026 258);
  --accent: oklch(74% 0.15 250);

  /* derived — do not hardcode elsewhere */
  --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
  --accent-soft-2: color-mix(in oklch, var(--accent) 28%, transparent);
  --fg-soft: color-mix(in oklch, var(--fg) 7%, transparent);
  --surface-2: color-mix(in oklch, var(--surface) 88%, black);
  --glow: color-mix(in oklch, var(--accent) 55%, transparent);
  --on-accent: var(--bg);

  --font-display:
    "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
  --font-body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;

  --fs-h1: clamp(44px, 6vw, 80px);
  --fs-h2: clamp(32px, 4vw, 48px);
  --fs-h3: 22px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-meta: 13px;

  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 96px;
  --container: 1180px;
  --gutter: 32px;

  --radius: 10px;
  --radius-lg: 18px;
}

/* ─── reset & base ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── layout primitives ──────────────────────────────────────────── */
.tvp-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(48px, 8vw, var(--gap-2xl));
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--border);
}
.stack {
  display: flex;
  flex-direction: column;
}
.stack > * + * {
  margin-top: var(--gap-md);
}
.row {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}
.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap-xl);
  align-items: start;
}
.grid-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gap-xl);
  align-items: start;
}
@media (max-width: 920px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-2-1,
  .grid-1-2 {
    grid-template-columns: 1fr;
  }
}

/* ─── type ────────────────────────────────────────────────────────── */
.h1,
h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 500;
}
.h2,
h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  font-weight: 500;
}
.h3,
h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--gap-md);
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.meta {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--muted);
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ─── nav ─────────────────────────────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: var(--gap-lg);
}
.tvp-logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tvp-logo .tvp-logo-mark {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.topnav nav {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}
.topnav nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.topnav nav a:hover,
.topnav nav a.is-active {
  color: var(--fg);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg);
}
.cart-link svg {
  width: 18px;
  height: 18px;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 800px) {
  .topnav nav {
    position: fixed;
    inset: 65px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--gap-lg) var(--gutter);
    gap: var(--gap-lg);
    border-top: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }
  .topnav nav a {
    font-size: 20px;
    color: var(--fg);
  }
  .topnav.is-open nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ─── footer ──────────────────────────────────────────────────────── */
.pagefoot {
  padding-block: var(--gap-xl);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.pagefoot .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap-xl);
  margin-bottom: var(--gap-xl);
}
.pagefoot .foot-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
  font-weight: 600;
  margin: 0 0 var(--gap-sm);
  font-family: var(--font-mono);
}
.pagefoot .foot-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding-block: 5px;
  transition: color 0.15s ease;
}
.pagefoot .foot-col a:hover {
  color: var(--fg);
}
.pagefoot .foot-bottom {
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--border);
}
.pagefoot .foot-bottom .row-between {
  flex-wrap: wrap;
  gap: var(--gap-md);
}
@media (max-width: 800px) {
  .pagefoot .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── buttons ─────────────────────────────────────────────────────── */
.tvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition:
    transform 0.05s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.tvp-btn:active {
  transform: translateY(1px);
}
.tvp-btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.tvp-btn-primary:hover {
  background: color-mix(in oklch, var(--accent) 88%, white);
}
.tvp-btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.tvp-btn-secondary:hover {
  border-color: var(--fg);
}
.tvp-btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: transparent;
  padding-inline: 6px;
}
.tvp-btn-ghost:hover {
  color: var(--accent);
}
.tvp-btn-block {
  width: 100%;
}
.tvp-btn-sm {
  padding: 12px 16px;
  font-size: 13px;
}
.tvp-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.tvp-btn-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}
.tvp-btn-arrow:hover::after {
  transform: translateX(2px);
}

/* ─── card / surface ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-flat {
  background: transparent;
  border: 0;
  padding: 0;
}
.card-rule {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--fg);
  padding: 24px 0 0;
  border-radius: 0;
}
.card-2 {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* ─── feature cell ────────────────────────────────────────────────── */
.feature .feature-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: var(--gap-md);
}
.feature .feature-mark svg {
  width: 18px;
  height: 18px;
}
.feature h3 {
  margin-bottom: 6px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ─── stat ────────────────────────────────────────────────────────── */
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-weight: 500;
}
.stat .stat-label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
  max-width: 26ch;
}
.stat .stat-unit {
  font-size: 0.5em;
  opacity: 0.7;
  margin-left: 2px;
  color: var(--accent);
}

/* ─── quote / manifesto ───────────────────────────────────────────── */
.quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 30ch;
}
.quote-author {
  color: var(--muted);
  font-size: 14px;
  margin-top: var(--gap-md);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: -28px;
}

/* ─── pill / badge / tag ──────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}
.tag.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
button.tag {
  cursor: pointer;
}
button.tag:hover {
  border-color: var(--fg);
  color: var(--fg);
}
button.tag.is-active:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── form field ──────────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  color: var(--muted);
}
.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
}
.input::placeholder {
  color: var(--muted);
}
.input:focus,
.textarea:focus {
  outline: 2px solid var(--accent-soft-2);
  border-color: var(--accent);
}
.textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}
.search-field {
  position: relative;
}
.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.search-field .input {
  padding-left: 40px;
}

/* ─── table ───────────────────────────────────────────────────────── */
.ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ds-table th,
.ds-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.ds-table th {
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ds-table tbody tr:hover {
  background: var(--fg-soft);
}
.ds-table .num-col {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 0%, var(--accent-soft-2), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--bg) 80%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  color: var(--muted);
}
.media-frame.has-photo {
  background-blend-mode: normal;
}
.media-frame.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 21, 31, 0.05) 0%,
    rgba(19, 21, 31, 0.15) 55%,
    rgba(19, 21, 31, 0.82) 100%
  );
}
.media-frame.has-photo .grid-svg {
  opacity: 0.22;
}
.manifesto-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-block: clamp(96px, 14vw, 176px) !important;
}
.manifesto-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 21, 31, 0.7) 0%,
    rgba(19, 21, 31, 0.88) 60%,
    var(--bg) 100%
  );
}
.manifesto-bg .tvp-container {
  position: relative;
}
.media-frame.square {
  aspect-ratio: 1 / 1;
}
.media-frame.portrait {
  aspect-ratio: 3 / 4;
}
.media-frame.wide {
  aspect-ratio: 16 / 9;
}
.media-frame .grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.media-frame .grid-svg path,
.media-frame .grid-svg circle {
  stroke: var(--accent);
}
.media-frame .coord {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--accent);
  opacity: 0.85;
}
.media-frame .frame-label {
  position: relative;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--fg);
  text-transform: uppercase;
}

/* ─── hero globe ──────────────────────────────────────────────────── */
.hero-globe {
  padding-block: clamp(64px, 10vw, 128px);
}
.hero-globe-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap-2xl);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-globe-grid {
    grid-template-columns: 1fr;
  }
}
.globe-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-inline: auto;
}
.globe-stage canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}
.globe-stage canvas:active {
  cursor: grabbing;
}
.globe-stage .globe-ring {
  position: absolute;
  inset: 6%;
  border: 1px solid var(--border);
  border-radius: 999px;
  pointer-events: none;
}
.globe-tooltip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -120%);
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 10px 14px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
  white-space: nowrap;
  box-shadow: 0 12px 32px -12px var(--glow);
}
.globe-tooltip.is-visible {
  opacity: 1;
}
.globe-tooltip .tt-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.globe-tooltip .tt-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-top: 2px;
}
.globe-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: var(--gap-md);
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ─── digital passport ────────────────────────────────────────────── */
.passport {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.passport::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
.passport-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}
.passport-head .meta {
  color: var(--accent);
}
.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
}
.stamp {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-mono);
  text-align: center;
  padding: 6px;
  transform: rotate(var(--tilt, -6deg));
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 10%, transparent)
    inset;
}
.stamp .stamp-code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.stamp .stamp-date {
  font-size: 8px;
  margin-top: 2px;
  opacity: 0.8;
  letter-spacing: 0.04em;
}
.stamp-empty {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1px dashed var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 20px;
}

/* ─── how it works steps ──────────────────────────────────────────── */
.step {
  position: relative;
  padding-left: 52px;
}
.step .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  display: grid;
  place-items: center;
}
.step h3 {
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ─── product grid / destination card ─────────────────────────────── */
.dest-card {
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease;
}
.dest-card:hover {
  transform: translateY(-4px);
}
.dest-card:hover .media-frame {
  border-color: color-mix(in oklch, var(--accent) 45%, var(--border));
}
.dest-card .media-frame {
  margin-bottom: var(--gap-sm);
  transition: border-color 0.2s ease;
}
.dest-card .dc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.dest-card h3 {
  font-size: 18px;
}
.dest-card .dc-region {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.dest-card .dc-price {
  font-family: var(--font-mono);
  color: var(--fg);
  font-size: 15px;
  white-space: nowrap;
}
.dest-card .dc-specs {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
}

/* ─── filter bar ──────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-sm);
  padding-bottom: var(--gap-lg);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-bar .divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  margin-inline: 4px;
}
.results-count {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: var(--gap-md);
}

/* ─── product detail tabs ─────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: var(--gap-lg);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--gap-lg);
}
.tab-btn {
  background: none;
  border: 0;
  padding: 12px 2px;
  color: var(--muted);
  font-size: 15px;
  position: relative;
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}
.tab-btn.is-active {
  color: var(--fg);
}
.tab-btn.is-active::after {
  background: var(--accent);
}
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}
.itinerary-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--gap-md);
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.itinerary-item:first-child {
  border-top: 0;
}
.itinerary-item .it-day {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
}
.itinerary-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}
.itinerary-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.include-list {
  display: grid;
  gap: 12px;
}
.include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--fg);
  font-size: 15px;
}
.include-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.include-item span {
  color: var(--muted);
}

/* ─── player mock ─────────────────────────────────────────────────── */
.player-mock {
  position: relative;
}
.player-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: color-mix(in oklch, var(--bg) 65%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
}
.player-controls .play-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.player-controls .play-btn svg {
  width: 14px;
  height: 14px;
}
.player-bar {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.player-bar-fill {
  width: 32%;
  height: 100%;
  background: var(--accent);
}
.player-controls .p-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* ─── cart ────────────────────────────────────────────────────────── */
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: var(--gap-lg);
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.cart-row:first-child {
  border-top: 0;
}
.cart-row .cr-media {
  width: 96px;
}
.cart-row .cr-media .media-frame {
  aspect-ratio: 1/1;
  margin: 0;
}
.cart-row h3 {
  font-size: 16px;
}
.cart-row .cr-region {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.cart-row .cr-price {
  font-family: var(--font-mono);
  font-size: 15px;
  white-space: nowrap;
}
.cart-row .cr-remove {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  padding: 0;
  margin-top: 8px;
}
.cart-row .cr-remove:hover {
  color: var(--accent);
}
@media (max-width: 640px) {
  .cart-row {
    grid-template-columns: 64px 1fr;
    row-gap: 10px;
  }
  .cart-row .cr-price {
    grid-column: 2;
    justify-self: start;
  }
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--muted);
  padding-block: 8px;
}
.summary-line.total {
  color: var(--fg);
  font-size: 18px;
  font-weight: 600;
  padding-top: var(--gap-md);
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.summary-line .num {
  color: var(--fg);
}
.promo-row {
  display: flex;
  gap: 10px;
}
.promo-row .input {
  flex: 1;
}
.empty-state {
  text-align: center;
  padding-block: var(--gap-2xl);
  color: var(--muted);
}
.empty-state svg {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--gap-md);
  color: var(--border);
}

/* ─── divider ─────────────────────────────────────────────────────── */
.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}
.rule-strong {
  border: 0;
  border-top: 1px solid var(--fg);
  margin: 0;
}

/* ─── hero (generic, non-globe pages) ────────────────────────────── */
.hero {
  padding-block: clamp(72px, 11vw, 140px);
}
.hero-center {
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
}
.hero h1 {
  margin-bottom: var(--gap-md);
}
.hero .lead {
  margin-bottom: var(--gap-lg);
}
.hero-cta {
  display: inline-flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
}
.hero-center .hero-cta {
  justify-content: center;
}

/* ─── log row ─────────────────────────────────────────────────────── */
.log-row {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  gap: var(--gap-lg);
  padding: 22px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.log-row .meta {
  color: var(--muted);
}
.log-row h3 {
  font-size: 19px;
}
.log-row .pull {
  text-align: right;
}

/* ─── toast ───────────────────────────────────────────────────────── */
.tvp-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  translate: -50% 16px;
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--fg);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 16px 40px -16px var(--glow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    translate 0.2s ease;
  z-index: 100;
}
.tvp-toast.is-visible {
  opacity: 1;
  translate: -50% 0;
}

/* ─── scroll reveal + parallax ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ─── cookie banner ───────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(140%);
  opacity: 0;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
.cookie-banner p a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}

/* ─── contact form states ─────────────────────────────────────────── */
.field .error-msg {
  display: none;
  font-size: 12.5px;
  color: oklch(62% 0.19 25);
  margin-top: 4px;
}
.field.has-error .input,
.field.has-error .textarea {
  border-color: oklch(62% 0.19 25);
}
.field.has-error .error-msg {
  display: block;
}
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--gap-md);
}
.field-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.field-check label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.field-check a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 32px 8px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.form-success.is-visible {
  display: flex;
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
}
.form-fields.is-hidden {
  display: none;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 14px;
  border-top: 1px solid var(--border);
}
.contact-info-item:first-child {
  border-top: 0;
}
.contact-info-item .ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
}
.contact-info-item .ic svg {
  width: 18px;
  height: 18px;
}
.contact-info-item strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-info-item a,
.contact-info-item span {
  color: var(--fg);
  font-size: 15px;
}
@media (max-width: 800px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }
}
