:root {
  --page: #d7dce8;
  --ink: #16171b;
  --muted: #717782;
  --line: rgba(22, 23, 27, 0.16);
  --line-strong: rgba(22, 23, 27, 0.32);
  --white: #ffffff;
  --soft: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 60px rgba(30, 34, 45, 0.18);
  --display-font: Manrope, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: var(--display-font);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  --hero-height: 760px;
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
}

.hero {
  position: relative;
  min-height: var(--hero-height);
  padding: 34px 48px 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(244, 247, 255, 0.22), rgba(215, 220, 232, 0.92)),
    url("assets/tokyo.jpg") center / cover;
}

.hero-video,
.hero-clouds,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  transform: translateY(4%) scale(1.12);
  transform-origin: center center;
  filter: saturate(1.04) contrast(1.04);
}

.hero-clouds {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(242, 245, 252, 0.24) 0%, rgba(242, 245, 252, 0.04) 42%, rgba(215, 220, 232, 0.82) 100%),
    linear-gradient(90deg, rgba(240, 243, 250, 0.52), rgba(240, 243, 250, 0.06) 24%, rgba(240, 243, 250, 0.04) 76%, rgba(240, 243, 250, 0.52));
  pointer-events: none;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(215, 220, 232, 0.03) 0%, rgba(215, 220, 232, 0.22) 58%, var(--page) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.brand,
.nav-actions,
.menu-button,
.pill-button,
.primary-cta,
.travel-tabs,
.tab,
.field,
.swap-button,
.form-submit,
.card-tag,
.hero-slider,
.scroll-cue {
  display: inline-flex;
  align-items: center;
}

.brand {
  width: 120px;
  height: 36px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-actions {
  gap: 26px;
}

.menu-button {
  gap: 8px;
  min-height: 36px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button svg {
  width: 17px;
  height: 17px;
}

.menu-button span {
  font-size: 12px;
  font-weight: 600;
}

.pill-button,
.primary-cta {
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pill-button-light,
.primary-cta {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(42, 47, 58, 0.1);
}

.hero-copy {
  width: min(100%, 610px);
  margin: 72px auto 0;
  text-align: center;
  position: relative;
  z-index: 4;
}

.eyebrow {
  margin: 0 0 26px;
  color: #3d4148;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 8vw, 78px);
  line-height: 0.9;
  font-family: var(--display-font);
  font-weight: 300;
  letter-spacing: 0;
}

.display-muted {
  color: #656872;
  font-weight: 300;
}

.display-strong {
  color: #15161b;
  font-weight: 400;
}

.hero-subtitle {
  width: min(100%, 480px);
  margin: 0 auto 28px;
  color: #31343a;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.primary-cta {
  min-width: 160px;
}

.float-card {
  position: absolute;
  z-index: 3;
  width: 78px;
  height: 66px;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.6);
  animation: drift 7s ease-in-out infinite;
}

.float-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.float-card-left {
  left: 86px;
  top: 322px;
}

.float-card-mid {
  left: 230px;
  top: 260px;
  animation-delay: -2s;
}

.float-card-right-top {
  right: 196px;
  top: 260px;
  animation-delay: -1s;
}

.float-card-right {
  right: 78px;
  top: 330px;
  animation-delay: -3s;
}

.trust-row {
  position: absolute;
  left: 50px;
  bottom: 110px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatars {
  display: flex;
  width: 54px;
}

.avatars span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: #aeb9c7;
}

.avatars span + span {
  margin-left: -8px;
}

.avatars span:nth-child(1) {
  background: #f3c7aa;
}

.avatars span:nth-child(2) {
  background: #a8bfd6;
}

.avatars span:nth-child(3) {
  background: #d9ad83;
}

.trust-row p {
  margin: 0;
  color: #30333a;
  font-size: 10px;
  line-height: 1.25;
}

.hero-slider {
  position: absolute;
  right: 48px;
  bottom: 104px;
  z-index: 4;
  gap: 16px;
  color: #808691;
  font-size: 11px;
  font-weight: 700;
}

.hero-slider button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #7b818b;
  background: transparent;
  border: 1px solid rgba(26, 28, 34, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

.hero-slider svg {
  width: 16px;
  height: 16px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  top: calc(var(--hero-height) - 42px);
  bottom: auto;
  z-index: 7;
  width: 84px;
  height: 84px;
  justify-content: center;
  color: var(--white);
  background: #090a0c;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.scroll-cue svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.1;
}

.booking-section {
  padding: 86px 50px 96px;
  background: var(--page);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

h2 {
  max-width: 690px;
  margin-bottom: 54px;
  font-size: clamp(39px, 5vw, 56px);
  line-height: 0.98;
  font-family: var(--display-font);
  font-weight: 300;
  letter-spacing: 0;
}

.travel-tabs {
  gap: 8px;
  padding-top: 34px;
}

.tab {
  justify-content: center;
  gap: 8px;
  height: 34px;
  min-width: 94px;
  padding: 0 18px;
  color: #343740;
  background: transparent;
  border: 1px solid rgba(22, 23, 27, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  color: var(--white);
  background: #15161a;
  border-color: #15161a;
}

.tab.icon-only {
  min-width: 34px;
  width: 34px;
  padding: 0;
}

.tab svg,
.card-tag svg {
  width: 14px;
  height: 14px;
}

.booking-form {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) 20px minmax(150px, 1.25fr) minmax(144px, 0.8fr) minmax(120px, 0.7fr) minmax(150px, 0.8fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 64px;
}

.field {
  position: relative;
  height: 58px;
  gap: 12px;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(215, 220, 232, 0.45);
}

.field span {
  position: absolute;
  left: 24px;
  top: 10px;
  color: #6f7581;
  font-size: 10px;
  font-weight: 600;
}

.field svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 12px;
  color: #343842;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  margin-top: 14px;
  color: #31343a;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
  font-weight: 600;
}

.field select {
  appearance: none;
}

.field-small span {
  left: 52px;
}

.swap-button {
  width: 20px;
  height: 20px;
  justify-content: center;
  padding: 0;
  color: #808691;
  background: transparent;
  border: 0;
}

.swap-button svg {
  width: 17px;
  height: 17px;
}

.form-submit {
  height: 58px;
  justify-content: center;
  padding: 0 28px;
  color: var(--white);
  background: #141519;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 78px;
}

.destination-card {
  position: relative;
  min-height: 338px;
  overflow: hidden;
  border-radius: 8px;
  background: #17191e;
  box-shadow: 0 14px 24px rgba(24, 28, 38, 0.13);
}

.destination-card img,
.card-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.destination-card img {
  object-fit: cover;
  transition: transform 600ms ease;
}

.destination-card:hover img {
  transform: scale(1.045);
}

.card-overlay {
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.03) 0%, rgba(8, 9, 12, 0.22) 36%, rgba(8, 9, 12, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 9, 12, 0.18), rgba(8, 9, 12, 0.02));
}

.card-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  gap: 8px;
  height: 32px;
  padding: 0 18px;
  color: #2d3037;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.card-copy {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: var(--white);
}

.stars {
  margin-bottom: 6px;
  color: #fff2c1;
  font-size: 11px;
  letter-spacing: 0;
}

.card-copy h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
}

.card-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.35;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 910px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid rgba(22, 23, 27, 0.42);
}

.stats-strip div {
  text-align: center;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 41px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.stats-strip span {
  color: #4c515b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .page-shell {
    --hero-height: 700px;
  }

  .hero {
    padding: 28px 28px 0;
  }

  .float-card-left {
    left: 34px;
  }

  .float-card-mid {
    left: 140px;
  }

  .float-card-right-top {
    right: 130px;
  }

  .float-card-right {
    right: 36px;
  }

  .booking-section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  h2 {
    margin-bottom: 18px;
  }

  .travel-tabs {
    padding-top: 0;
    margin-bottom: 26px;
  }

  .booking-form {
    grid-template-columns: 1fr 40px 1fr;
  }

  .field-small,
  .form-submit {
    grid-column: span 1;
  }

  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-shell {
    --hero-height: 660px;
    width: 100%;
  }

  .hero {
    padding: 22px 18px 0;
  }

  .site-nav {
    align-items: flex-start;
  }

  .nav-actions {
    gap: 10px;
  }

  .pill-button {
    min-height: 40px;
    padding: 0 18px;
  }

  .hero-copy {
    margin-top: 78px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .float-card {
    display: none;
  }

  .trust-row,
  .hero-slider {
    bottom: 88px;
  }

  .trust-row {
    left: 18px;
  }

  .hero-slider {
    right: 18px;
    gap: 9px;
  }

  .scroll-cue {
    width: 74px;
    height: 74px;
    bottom: -34px;
  }

  .booking-section {
    padding: 82px 18px 72px;
  }

  .section-head {
    gap: 18px;
  }

  h2 {
    font-size: 37px;
  }

  .travel-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tab {
    flex: 0 0 auto;
  }

  .booking-form {
    grid-template-columns: 1fr;
    margin-bottom: 42px;
  }

  .swap-button {
    justify-self: center;
    transform: rotate(90deg);
  }

  .destination-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 56px;
  }

  .destination-card {
    min-height: 330px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
