.home-hero {
  background: var(--ivory);
  min-height: 560svh;
  position: relative;
}

.home-hero:not(.has-real-3d) { min-height: auto; }

.home-hero-stage {
  height: 100svh;
  inset: 0;
  overflow: clip;
  position: sticky;
  top: 0;
}

.hero-sky {
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.76) 39%, transparent 68%),
    linear-gradient(125deg, #dfe7e8 0%, #f7f4ee 46%, #f3f0e9 100%);
  inset: 0;
  position: absolute;
}

.hero-sky::before,
.hero-sky::after {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  content: "";
  filter: blur(40px);
  height: min(34vw, 390px);
  position: absolute;
  width: min(48vw, 650px);
}

.hero-sky::before { left: -11vw; top: 47%; }
.hero-sky::after { right: -12vw; top: 12%; }

.plane-scene {
  clip-path: inset(var(--header-height) 0 0 0);
  contain: layout paint size;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.plane-scene canvas {
  height: 100%;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 520ms ease;
  width: 100%;
}

.plane-scene.is-3d-ready canvas { opacity: var(--plane-canvas-opacity, 0); }

.plane-poster {
  inset: 24% 5% 10% 45%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 280ms ease;
  visibility: hidden;
  z-index: 1;
}

.plane-poster img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.plane-scene.is-3d-fallback .plane-poster {
  opacity: 1;
  visibility: visible;
}

.plane-scene.is-3d-ready .plane-poster {
  opacity: 0;
  visibility: hidden;
}

.plane-hover-zone {
  inset: 24% 5% 13% 47%;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.home-hero-content {
  height: 100%;
  margin-inline: auto;
  pointer-events: none;
  position: relative;
  width: var(--container);
  z-index: 4;
}

.hero-copy,
.hero-beat,
.hero-closing {
  position: absolute;
}

.hero-copy {
  left: 50%;
  max-width: min(680px, 80vw);
  pointer-events: auto;
  text-align: center;
  top: calc(var(--header-height) + ((100svh - var(--header-height)) / 2));
  transform: translate(-50%, -50%);
  width: 100%;
}

.hero-copy h1 { margin: 0.45rem 0 1rem; }
.hero-copy .intro { color: #343434; margin: 0 auto 1.5rem; max-width: 58ch; }
.hero-copy .button-row { justify-content: center; }

.hero-beats {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-beat {
  bottom: clamp(3.5rem, 9vh, 7rem);
  max-width: 340px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.hero-beat--right { right: 0; text-align: right; }
.hero-beat--left { left: 0; text-align: left; }
.hero-beat h2 { font-size: clamp(1.7rem, 3vw, 2.75rem); margin-bottom: 0.45rem; }
.hero-beat p { color: #414141; font-size: 0.91rem; line-height: 1.58; margin: 0; }

.hero-closing {
  bottom: clamp(3.2rem, 8vh, 6.5rem);
  left: 0;
  max-width: 680px;
  opacity: 0;
  pointer-events: none;
}

.hero-closing h2 { font-size: clamp(2.2rem, 4.8vw, 4.25rem); margin-bottom: 0.7rem; }
.hero-trust { color: var(--muted); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-closing-visual { display: none; }

@media (min-width: 1024px) {
  .home-hero { min-height: 650svh; }
  .plane-scene canvas { transition: none; }

  .hero-copy {
    left: 50%;
    max-width: none;
    top: calc(var(--header-height) + ((100svh - var(--header-height)) / 2));
    transform:
      translate3d(
        calc(-50% + var(--hero-copy-x, 0px)),
        calc(-50% + var(--hero-copy-y, 0px)),
        0
      );
    width: min(640px, 56vw);
    text-align: center;
    will-change: opacity, transform;
  }

  .hero-copy h1 { font-size: clamp(3.45rem, 5.2vw, 5.5rem); max-width: 640px; }
  .hero-copy .intro { margin-inline: auto; max-width: 58ch; }

  .hero-beat {
    bottom: auto;
    max-width: min(420px, 34vw);
    top: 52%;
    transform: translateY(calc(-50% + 20px));
    width: 100%;
    will-change: opacity, transform;
  }

  .hero-beat h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }

  .hero-beat[data-plane-beat="flights"] {
    left: 0;
    right: auto;
    text-align: left;
  }

  .hero-beat[data-plane-beat="stays"] {
    left: auto;
    right: 0;
    text-align: right;
  }

  .hero-beat[data-plane-beat="planning"] {
    left: 0;
    right: auto;
    text-align: left;
  }

  .hero-closing {
    align-items: center;
    bottom: 0;
    display: grid;
    gap: clamp(2rem, 6vw, 7rem);
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    left: 0;
    max-width: none;
    padding-left: clamp(1.75rem, 4vw, 4.5rem);
    right: 0;
    top: var(--header-height);
    will-change: opacity, transform;
  }

  .hero-closing-copy { max-width: 680px; }

  .hero-closing-visual {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
  }

  .hero-closing-visual img {
    display: block;
    height: auto;
    max-height: min(58svh, 560px);
    object-fit: contain;
    width: min(430px, 38vw);
  }

}

.model-progress {
  background: rgba(10, 10, 10, 0.12);
  bottom: 1.4rem;
  height: 2px;
  left: 50%;
  max-width: 170px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
  width: 28vw;
  z-index: 5;
}

.plane-scene.is-3d-progress-visible .model-progress { opacity: 1; }
.model-progress span { background: var(--blue); display: block; height: 100%; transform: scaleX(var(--plane-load-progress, 0)); transform-origin: left; width: 100%; }

.trip-starter {
  background: var(--ivory);
  padding: clamp(4.5rem, 7vw, 6rem) 0 clamp(6rem, 9vw, 7.5rem);
  position: relative;
  z-index: 6;
}

.trip-starter-heading { margin-bottom: clamp(1.8rem, 3vw, 2.6rem); max-width: 760px; }
.trip-starter-heading h2 { font-size: clamp(2.25rem, 4.1vw, 3.65rem); margin: 0.4rem 0 0; }
.trip-starter .form-card { box-shadow: var(--shadow-lift); }
.trip-starter-grid { align-items: end; display: grid; gap: 0.85rem; grid-template-columns: 1.4fr 1fr 0.72fr 1fr auto; }
.trip-starter-grid .form-field { min-width: 0; }
.trip-starter-grid .button { white-space: nowrap; }

.featured-journeys { background: var(--paper); }
.journey-editorial { display: grid; gap: 1rem; grid-auto-rows: minmax(285px, 1fr); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.journey-editorial > .card { grid-column: span 3; min-height: 285px; }
.journey-editorial > .card--feature { grid-column: span 6; grid-row: span 2; }

.card--journey-overlay,
.card--destination-overlay {
  background: var(--soft-ink);
  border: 0;
  isolation: isolate;
  position: relative;
}

.card--journey-overlay .card-media,
.card--destination-overlay .card-media {
  aspect-ratio: auto;
  inset: 0;
  position: absolute;
  z-index: -2;
}

.card--journey-overlay .card-media::after,
.card--destination-overlay .card-media::after {
  background: linear-gradient(180deg, rgba(6, 9, 10, 0.14) 14%, rgba(6, 9, 10, 0.48) 56%, rgba(6, 9, 10, 0.94) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.card--journey-overlay .card-media img,
.card--destination-overlay .card-media img { height: 100%; object-fit: cover; width: 100%; }

.card--journey-overlay .card-content,
.card--destination-overlay .card-content {
  color: var(--paper);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  min-height: inherit;
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.card--journey-overlay .card-title,
.card--journey-overlay .card-title a,
.card--destination-overlay .card-title,
.card--destination-overlay .card-title a,
.card--journey-overlay .price,
.card--journey-overlay .text-link,
.card--destination-overlay .text-link { color: var(--paper); }

.card--journey-overlay .card-meta,
.card--destination-overlay .card-meta,
.card--journey-overlay .price small,
.card--destination-overlay .muted { color: rgba(255, 255, 255, 0.76); }
.card--journey-overlay .card-copy,
.card--destination-overlay .card-copy { color: rgba(255, 255, 255, 0.84); display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card--journey-overlay .card-inclusions { display: none; }
.card--journey-overlay .card-title { font-size: clamp(1.35rem, 2.2vw, 2.05rem); }
.card--journey-overlay .card-footer { align-items: flex-end; }
.card--journey-overlay .card-actions { justify-content: flex-end; }
.card--journey-overlay:focus-within,
.card--destination-overlay:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }

.travel-moods { background: var(--ivory); }
.mood-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mood-tile { aspect-ratio: 1.18 / 1; background: var(--soft-ink); border-radius: var(--radius-card); color: var(--paper); isolation: isolate; min-height: 250px; overflow: hidden; position: relative; text-decoration: none; }
.mood-tile::after { background: linear-gradient(180deg, rgba(6, 9, 10, 0.02) 20%, rgba(6, 9, 10, 0.84) 100%); content: ""; inset: 0; position: absolute; z-index: -1; }
.mood-tile > img { height: 100%; inset: 0; object-fit: cover; position: absolute; transition: transform 420ms ease; width: 100%; z-index: -2; }
.mood-tile-content { bottom: 0; display: flex; flex-direction: column; left: 0; padding: clamp(1.2rem, 2.2vw, 1.75rem); position: absolute; right: 0; }
.mood-tile h3 { color: var(--paper); margin: 0.35rem 0 0.45rem; }
.mood-tile-copy { color: rgba(255, 255, 255, 0.82); display: -webkit-box; font-size: 0.86rem; line-height: 1.5; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mood-tile-cta { color: var(--paper); font-size: 0.82rem; font-weight: 800; margin-top: 0.85rem; }
.mood-tile:hover,
.mood-tile:focus-visible { color: var(--paper); }
.mood-tile:hover > img { transform: scale(1.035); }

.home-destinations { background: var(--paper); overflow: hidden; }
.home-rail { display: grid; gap: 1rem; grid-auto-columns: clamp(280px, 27vw, 350px); grid-auto-flow: column; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0.25rem 0.25rem 0.85rem; scroll-padding-inline: 0.25rem; scroll-snap-type: x mandatory; scrollbar-color: var(--blue) rgba(10, 10, 10, 0.09); scrollbar-width: thin; }
.home-rail::-webkit-scrollbar { height: 7px; }
.home-rail::-webkit-scrollbar-track { background: rgba(10, 10, 10, 0.08); border-radius: 999px; }
.home-rail::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; }
.home-rail > * { scroll-snap-align: start; }
.card--destination-overlay { height: clamp(440px, 48vw, 550px); }
.card--destination-overlay .card-title { font-size: clamp(1.85rem, 3vw, 2.6rem); margin-bottom: 0.7rem; }
.card--destination-overlay .card-footer { align-items: flex-start; flex-direction: column; margin-top: 0.2rem; }
.card--destination-overlay .card-footer .muted { font-size: 0.78rem; }
.rail-cue { align-items: center; color: var(--blue); display: flex; font-size: 0.76rem; font-weight: 800; gap: 0.65rem; justify-content: flex-end; letter-spacing: 0.05em; margin: 0.8rem 0 0; text-transform: uppercase; }

.trust-grid { align-items: center; display: grid; gap: clamp(2rem, 6vw, 7rem); grid-template-columns: 0.85fr 1.15fr; }
.trust-photo { background: linear-gradient(160deg, #c3d0cf, #786d60); border-radius: var(--radius-media); min-height: 510px; overflow: hidden; }
.trust-photo img { height: 100%; min-height: 510px; object-fit: cover; width: 100%; }

@media (min-width: 1024px) {
  .trust-grid { align-items: stretch; }
  .trust-photo { display: flex; }
  .trust-photo img { flex: 1; min-height: 100%; }
}
.numbered-benefits { border-top: 1px solid rgba(255, 255, 255, 0.2); list-style: none; margin: 1.7rem 0 0; padding: 0; }
.numbered-benefits li { border-bottom: 1px solid rgba(255, 255, 255, 0.2); display: grid; gap: 1rem; grid-template-columns: 44px 1fr; padding: 1.25rem 0; }
.numbered-benefits span { color: rgba(255, 255, 255, 0.52); font-size: 0.78rem; font-weight: 700; }
.numbered-benefits h3 { color: var(--paper); font-size: 1.3rem; margin: 0 0 0.3rem; }
.numbered-benefits p { color: rgba(255, 255, 255, 0.66); margin: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { border-left: 1px solid var(--line); min-height: 220px; padding: 1.1rem 1.25rem; }
.step:first-child { border-left: 0; }
.step-number { color: var(--blue); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; }
.service-list { border-top: 1px solid var(--line); }
.service-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: 0.4fr 0.8fr 1.4fr auto; padding: 1.3rem 0; }
.service-row h3 { font-size: 1.3rem; margin: 0; }
.service-row p { color: var(--muted); margin: 0; }
.testimonial-feature { display: grid; gap: 2.5rem; grid-template-columns: 0.65fr 1.35fr; }
.testimonial-quote { font-family: var(--font-editorial); font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
.story-editorial { align-items: stretch; display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card--story-equal { display: flex; flex-direction: column; height: 100%; min-height: 420px; }
.card--story-equal .card-media { flex: 0 0 auto; }
.card--story-equal .card-content { display: flex; flex: 1; flex-direction: column; }
.card--story-equal .text-link { margin-top: auto; }
.home-final-cta { background: var(--ivory); }
.cta-band--home .button--light,
.cta-band--home .button--light:link,
.cta-band--home .button--light:visited { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cta-band--home .button--light:hover,
.cta-band--home .button--light:focus-visible,
.cta-band--home .button--light:active { background: #ece9e2; border-color: #ece9e2; color: var(--ink); }
.cta-band--home .button--outline,
.cta-band--home .button--outline:link,
.cta-band--home .button--outline:visited { border-color: rgba(255, 255, 255, 0.72); color: var(--paper); }
.cta-band--home .button--outline:hover,
.cta-band--home .button--outline:focus-visible,
.cta-band--home .button--outline:active { background: var(--paper); border-color: var(--paper); color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .card--journey-overlay:hover .card-media img,
  .card--destination-overlay:hover .card-media img { transform: scale(1.035); }
}

.home-hero.is-static-hero,
.home-hero:not(.has-real-3d) {
  min-height: auto;
}

.home-hero.is-static-hero .home-hero-stage,
.home-hero:not(.has-real-3d) .home-hero-stage {
  height: auto;
  overflow: visible;
  padding: calc(var(--header-height) + clamp(3rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
}

.home-hero.is-static-hero .plane-scene,
.home-hero.is-static-hero .plane-hover-zone,
.home-hero:not(.has-real-3d) .plane-scene,
.home-hero:not(.has-real-3d) .plane-hover-zone {
  display: none;
}

.home-hero.is-static-hero .home-hero-content,
.home-hero:not(.has-real-3d) .home-hero-content {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  height: auto;
}

.home-hero.is-static-hero .hero-copy,
.home-hero:not(.has-real-3d) .hero-copy {
  left: auto;
  margin-inline: auto;
  max-width: 680px;
  position: relative;
  text-align: center;
  top: auto;
  transform: none;
  width: 100%;
}

.home-hero.is-static-hero .hero-beats,
.home-hero:not(.has-real-3d) .hero-beats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  inset: auto;
  position: relative;
}

.home-hero.is-static-hero .hero-beat,
.home-hero:not(.has-real-3d) .hero-beat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  bottom: auto;
  left: auto;
  max-width: none;
  opacity: 1;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  pointer-events: auto;
  position: relative;
  right: auto;
  text-align: left;
  top: auto;
  transform: none;
}

.home-hero.is-static-hero .hero-closing,
.home-hero:not(.has-real-3d) .hero-closing {
  display: none;
}

@media (max-width: 767px) {
  .home-hero.is-static-hero .hero-beats,
  .home-hero:not(.has-real-3d) .hero-beats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero {
    min-height: auto !important;
  }

  .home-hero .home-hero-stage {
    height: auto !important;
    overflow: visible !important;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
    position: relative !important;
  }

  .home-hero .plane-scene,
  .home-hero .plane-hover-zone { display: none !important; }

  .home-hero .home-hero-content {
    display: grid;
    gap: 2rem;
    height: auto;
  }

  .home-hero .hero-copy {
    left: auto;
    margin-inline: auto;
    max-width: 680px;
    position: relative;
    text-align: center;
    top: auto;
    transform: none !important;
    width: 100%;
  }

  .home-hero .hero-beats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    inset: auto;
    position: relative;
  }

  .home-hero .hero-beat {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    bottom: auto;
    left: auto;
    max-width: none;
    opacity: 1 !important;
    padding: 1.25rem;
    pointer-events: auto !important;
    position: relative;
    right: auto;
    text-align: left;
    top: auto;
    transform: none !important;
  }

  .home-hero .hero-closing { display: none; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .home-hero .hero-beats { grid-template-columns: 1fr; }
}
