/* ==========================================================================
   Northbound — Arctic travel template
   Structure, spacing and type scale mirror the Avenora reference.
   Palette and content are Northbound.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — Northbound (glacier navy / ice / electric blue) */
  --night: #030505;
  --pearl: #0a1a2f;
  --pearl-80: rgba(10, 26, 47, 0.8);
  --blue: #1f5aff;
  --blue-bright: #3d74ff;
  --blue-28: rgba(31, 90, 255, 0.28);
  --sky: #b6dcf6;
  --ice: #cfe6f5;
  --frost: #e8f3fb;
  --porcelain: #ecf2f6;
  --alabaster: #fbfbfb;
  --amber: #e8a33d;
  --white: #fff;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --black: #000;
  --black-60: rgba(0, 0, 0, 0.6);
  --black-40: rgba(0, 0, 0, 0.4);
  --black-20: rgba(0, 0, 0, 0.2);
  --light-gray: #dadada;
  --dawn: #ebebeb;

  /* Type families — display face matches the reference */
  --font-display: "Microsoft Sans Serif", "Inter Tight", Arial, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;

  /* "Northbound" measures ~4.88em wide, so 18.5vw lands it at ~90% of the
     viewport. The reference used 27vw for a 7-letter word — don't copy that
     number blindly, it clips a 10-letter one. */
  --h-hero: 18.5vw;
  --h1: 5rem;
  --h2: 3.75rem;
  --h3: 2rem;
  --h4: 1.75rem;
  --h5: 1.5rem;
  --h6: 1.25rem;

  --fs-xs: 1rem;
  --fs-sm: 1.125rem;
  --fs-normal: 1.25rem;
  --fs-md: 1.5rem;
  --fs-lg: 1.75rem;
  --fs-2md: 2.5rem;

  --lh-07: 0.7em;
  --lh-1: 1em;
  --lh-11: 1.1em;
  --lh-12: 1.2em;
  --lh-14: 1.4em;
  --lh-15: 1.5em;

  --ls-h1: -0.035em;
  --ls-h2: -0.045em;
  --ls-sm: -0.02em;

  --sp-md: 0.75rem;
  --sp-lg: 0.875rem;
  --sp-1xs: 1rem;
  --sp-1n: 1.25rem;
  --sp-1md: 1.5rem;
  --sp-2sm: 2rem;
  --sp-2n: 2.25rem;
  --sp-2lg: 2.75rem;
  --sp-3md: 3.5rem;
  --sp-3lg: 3.75rem;
  --sp-4md: 4.5rem;
  --sp-5sm: 5rem;
  --sp-8sm: 8rem;
  --sp-9sm: 9rem;

  --r-normal: 0.25rem;
  --r-medium: 0.5rem;
  --r-large: 0.75rem;
  --r-1sm: 1rem;
  --r-1n: 1.25rem;
  --r-1md: 1.5rem;
  --r-1lg: 1.75rem;
  --r-2sm: 2rem;
  --r-full: 999px;

  --container: 82rem;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--night);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  line-height: var(--lh-15);
  -webkit-font-smoothing: antialiased;
  /* Horizontal bleed is clipped on .page-wrapper instead — overflow-x here
     would turn <body> into a scroll container and desync ScrollTrigger. */
}

img,
video,
svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-11);
}

p {
  margin: 0;
  font-family: var(--font-body);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.page-wrapper {
  position: relative;
  overflow: clip;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-1xs);
}

.section {
  position: relative;
  padding: var(--sp-8sm) 0;
}

.section.black {
  background: var(--night);
  color: var(--white);
}

.section.sky {
  background: var(--sky);
  color: var(--night);
  /* Tight band so the scrolling column nearly reaches both edges */
  padding: var(--sp-2sm) 0;
}

.section-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1n);
  text-align: center;
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: var(--fw-normal);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-h2);
  color: var(--night);
}

.section-heading.white {
  color: var(--white);
}

.font-xs {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  line-height: var(--lh-15);
}
.font-sm {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: var(--lh-15);
}
.font-normal {
  font-family: var(--font-body);
  font-size: var(--fs-normal);
  line-height: var(--lh-14);
}
.font-md {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: var(--lh-12);
  font-weight: var(--fw-medium);
}
.font-lg {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: var(--lh-12);
  font-weight: var(--fw-medium);
}
.white {
  color: var(--white);
}
.white-60 {
  color: var(--white-60);
}
.black-60 {
  color: var(--black-60);
}
.center {
  text-align: center;
}

.max-20 { max-width: 20rem; }
.max-27 { max-width: 27rem; }
.max-33 { max-width: 33rem; }
.max-38 { max-width: 38rem; }
.max-41 { max-width: 41rem; }
.max-49 { max-width: 49rem; }
.max-52 { max-width: 52rem; }

/* --------------------------------------------------------------------------
   4. Badges + buttons
   -------------------------------------------------------------------------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--black-20);
  border-radius: var(--r-full);
}

.section-badge.on-dark {
  border-color: var(--white-20);
}

.section-badge.solid {
  border-color: transparent;
  background: var(--white);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--blue);
  flex: none;
}

.section-badge.on-dark .badge-dot {
  background: var(--ice);
}

.badge-text {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-14);
}

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  border-radius: var(--r-full);
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease);
}

.primary-button.light {
  background: var(--white);
  color: var(--night);
}

.button-animated-color {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--night);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.primary-button.light .button-animated-color {
  background: var(--blue);
}

.primary-button:hover .button-animated-color {
  transform: translateY(0);
}

.primary-button:hover,
.primary-button.light:hover {
  color: var(--white);
}

.button-text {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-sm);
  white-space: nowrap;
}

.button-arrow-pill {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--blue);
  flex: none;
  overflow: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.primary-button.light .button-arrow-pill {
  background: var(--blue);
  color: var(--white);
}

.primary-button:hover .button-arrow-pill {
  background: var(--white);
  color: var(--night);
}

.button-arrow {
  grid-area: 1 / 1;
  width: 1rem;
  height: 1rem;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.button-arrow.out {
  transform: translate(0, 0);
}

.button-arrow.in {
  transform: translate(-120%, 120%);
  opacity: 0;
}

.primary-button:hover .button-arrow.out {
  transform: translate(120%, -120%);
  opacity: 0;
}

.primary-button:hover .button-arrow.in {
  transform: translate(0, 0);
  opacity: 1;
}

/* Small circular icon button used across cards */
.icon-circle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-full);
  background: var(--frost);
  color: var(--night);
  flex: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    transform 0.5s var(--ease);
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-1n) 0;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
}

.navbar.is-scrolled {
  padding: var(--sp-md) 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}

.nav-brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: var(--fs-normal);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-sm);
}

/* Pill group: translucent track holding a pill per link, active one solid white */
.navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.navlink {
  position: relative;
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  color: var(--white);
  letter-spacing: var(--ls-sm);
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.navlink:hover {
  background: rgba(255, 255, 255, 0.3);
}

.navlink.is-current {
  background: var(--white);
  color: var(--night);
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-full);
  background: var(--white-10);
  place-items: center;
}

.menu-icon {
  position: relative;
  width: 20px;
  height: 12px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 5px; }
.menu-icon span:nth-child(3) { top: 10px; }

.navbar.is-open .menu-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.navbar.is-open .menu-icon span:nth-child(2) { opacity: 0; }
.navbar.is-open .menu-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.home-hero-area {
  position: relative;
  min-height: 100svh;
  padding-top: 9rem;
  padding-bottom: var(--sp-2sm);
  background: var(--pearl);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Full-bleed background photograph */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Loop sits over the still, gradient sits over both */
.hero-bg video {
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg video {
    display: none;
  }
}

/* Dark at the very top so the nav stays legible, dark at the bottom so the
   copy and card do — clear through the middle where the landscape reads. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 47, 0.45) 0%,
    rgba(10, 26, 47, 0.08) 30%,
    rgba(10, 26, 47, 0.12) 55%,
    rgba(10, 26, 47, 0.62) 100%
  );
}

/* Oversized wordmark sitting in the upper middle, behind the foreground card */
.hero-title-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--h-hero);
  font-weight: var(--fw-bold);
  line-height: var(--lh-07);
  letter-spacing: var(--ls-h1);
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  /* Fades toward the feet of the letters so the landscape shows through */
  -webkit-mask-image: linear-gradient(
    180deg,
    #fff 0%,
    rgba(255, 255, 255, 0.88) 16%,
    rgba(255, 255, 255, 0.28) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    #fff 0%,
    rgba(255, 255, 255, 0.88) 16%,
    rgba(255, 255, 255, 0.28) 58%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24rem;
  gap: var(--sp-2sm);
  align-items: end;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1md);
  /* Wide enough to hold the hero heading to three lines at 3.75rem */
  max-width: 42rem;
  padding-bottom: var(--sp-1md);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: var(--fw-normal);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-h2);
}

/* Foreground card: label, supporting line, then the video */
.hero-card {
  width: 100%;
  padding: var(--sp-1xs);
  border-radius: var(--r-1lg);
  background: var(--white);
  color: var(--night);
  box-shadow: 0 24px 60px rgba(3, 5, 5, 0.22);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0 0;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-normal);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-sm);
}

.hero-card-sub {
  padding: 0.5rem 1.25rem 0;
  text-align: center;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--black-60);
}

.hero-card-media {
  position: relative;
  margin-top: var(--sp-1xs);
  border-radius: var(--r-1md);
  overflow: hidden;
}

.hero-card-media video,
.hero-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-play {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--night);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.hero-play:hover {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.06);
}

.hero-play .icon-pause {
  display: none;
}

.hero-play.is-playing .icon-play {
  display: none;
}

.hero-play.is-playing .icon-pause {
  display: block;
}

/* Short desktop viewports: the hero must still fit on one screen, so the
   wordmark and the card give back the height rather than pushing the CTA
   below the fold. */
@media (min-width: 992px) and (max-height: 860px) {
  .home-hero-area {
    padding-top: 7rem;
  }

  .hero-title {
    font-size: 15vw;
  }

  .hero-card-media video,
  .hero-card-media img {
    aspect-ratio: 16 / 9;
  }

  .hero-card-sub {
    padding-top: 0.35rem;
  }
}

@media (min-width: 992px) and (max-height: 720px) {
  .home-hero-area {
    padding-top: 6rem;
  }

  .hero-title {
    font-size: 12vw;
  }

  .hero-heading {
    font-size: var(--fs-2md);
  }
}

/* --------------------------------------------------------------------------
   7. About + stat cards
   -------------------------------------------------------------------------- */
.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4md);
}

.about-top {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr) 16rem;
  gap: var(--sp-3lg);
  align-items: start;
}

.about-figure {
  margin: 0;
  border-radius: var(--r-1md);
  overflow: hidden;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.about-figure:hover img {
  transform: scale(1.06);
}

/* The second frame sits lower than the text, as in the reference */
.about-figure.offset {
  margin-top: 7.5rem;
}

.about-figure.offset img {
  aspect-ratio: 4 / 3;
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1md);
}

.about-text {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-sm);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1md);
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: 16.5rem;
  padding: var(--sp-2sm);
  border-radius: var(--r-1lg);
  background: var(--white);
  transition: transform 0.5s var(--ease);
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-card.is-featured {
  background: var(--blue);
  color: var(--white);
}

.stat-icon {
  position: absolute;
  top: var(--sp-2sm);
  right: var(--sp-2sm);
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-full);
  background: var(--frost);
  color: var(--night);
}

.stat-card.is-featured .stat-icon {
  background: var(--white);
  color: var(--blue);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: var(--fw-normal);
  line-height: 1;
  letter-spacing: var(--ls-h2);
}

.stat-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black-60);
}

.stat-card.is-featured .stat-label {
  color: var(--white-60);
}

/* --------------------------------------------------------------------------
   8. Destinations — vertical carousel with an index list
   -------------------------------------------------------------------------- */
/* Pinned on desktop: the section fills the viewport so the pin has something
   exactly screen-sized to hold, and the card column scales to fit inside it. */
@media (min-width: 992px) {
  #destinations {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: var(--sp-4md) 0;
  }

  #destinations > .container {
    width: 100%;
  }

  .dest-viewport {
    height: min(40rem, 64svh);
  }
}

.destination-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27rem minmax(0, 1fr);
  gap: var(--sp-2sm);
  align-items: center;
}

.destination-heading-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1n);
  align-items: flex-start;
}

/* Centre column: masked track that slides vertically */
.dest-viewport {
  position: relative;
  height: 40rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}

.dest-track {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1md);
  will-change: transform;
}

.dest-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1xs);
  padding: var(--sp-md);
  border-radius: var(--r-1lg);
  background: var(--white);
  flex: none;
}

.dest-card-media {
  border-radius: var(--r-1md);
  overflow: hidden;
}

.dest-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.dest-card:hover .dest-card-media img {
  transform: scale(1.05);
}

.dest-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1xs);
  padding: 0 0.5rem 0.5rem;
}

.dest-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dest-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--black-60);
  font-weight: var(--fw-medium);
}

.dest-rating svg {
  color: var(--night);
}

.dest-card-title {
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-12);
}

.dest-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--black-60);
  font-weight: var(--fw-medium);
  line-height: var(--lh-14);
}

.dest-card:hover .icon-circle {
  background: var(--blue);
  color: var(--white);
  transform: rotate(90deg);
}

/* Right column: the index of every destination */
.dest-index {
  display: flex;
  flex-direction: column;
}

.dest-index-item {
  position: relative;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--light-gray);
  text-align: right;
  color: var(--black-20);
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: color 0.45s var(--ease);
}

.dest-index-item:hover {
  color: var(--black-60);
}

.dest-index-item.is-active {
  color: var(--night);
  border-bottom-color: var(--night);
}

.dest-index-num {
  position: absolute;
  left: 0;
  bottom: 0.85rem;
  color: var(--blue);
  font-size: var(--fs-xs);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.dest-index-item.is-active .dest-index-num {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   9. Packages — image on the left of each card
   -------------------------------------------------------------------------- */
.package-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3md);
}

.package-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-1md);
}

.package-card {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: var(--sp-1md);
  padding: var(--sp-md);
  border: 1px solid var(--white-10);
  border-radius: var(--r-1lg);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}

.package-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--white-20);
}

.package-image-wrapper {
  border-radius: var(--r-1md);
  overflow: hidden;
}

.package-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.package-card:hover .package-image {
  transform: scale(1.07);
}

.package-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: var(--sp-md) var(--sp-md) var(--sp-md) 0;
}

.package-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-1xs);
}

.package-title {
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  color: var(--white);
  max-width: 12em;
  line-height: var(--lh-12);
}

.package-card .icon-circle {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--white-10);
  color: var(--white);
}

.package-card:hover .icon-circle {
  background: var(--white);
  color: var(--night);
  transform: rotate(45deg);
}

.package-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1xs);
  margin-top: auto;
  padding-top: var(--sp-1md);
}

.package-price-text {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.package-review-text {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--white);
  font-weight: var(--fw-medium);
}

/* --------------------------------------------------------------------------
   10. Services — accordion with an image in the open panel
   -------------------------------------------------------------------------- */
.service-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3md);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.service-item {
  border-radius: var(--r-1md);
  background: var(--white);
  overflow: hidden;
  transition: background 0.45s var(--ease);
}

.service-head {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-1xs);
  width: 100%;
  padding: var(--sp-1md) var(--sp-2sm);
  text-align: left;
}

.service-num {
  font-size: var(--fs-xs);
  color: var(--black-40);
}

.service-name {
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-12);
}

.service-arrow {
  transition: transform 0.5s var(--ease), color 0.4s var(--ease);
}

.service-item.is-open .service-arrow {
  transform: rotate(90deg);
  color: var(--blue);
}

.service-panel {
  height: 0;
  overflow: hidden;
}

.service-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-2sm);
  align-items: center;
  padding: 0 var(--sp-2sm) var(--sp-1md) 6rem;
}

.service-desc {
  color: var(--black-60);
  max-width: 26rem;
}

.service-media {
  justify-self: end;
  width: 100%;
  max-width: 25rem;
  border-radius: var(--r-1sm);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   11. Experiences — badge + image on top, copy below, image grows on hover
   -------------------------------------------------------------------------- */
.experience-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3md);
}

.experience-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3lg);
  align-items: end;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1md);
}

.exp-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2sm);
  padding: var(--sp-1md);
  border-radius: var(--r-1lg);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.exp-card:hover {
  transform: translateY(-6px);
}

.exp-card-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.exp-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  background: var(--porcelain);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

/* Sits right of the badge at rest; on hover it widens to the full card and
   slides underneath the badge. Height is fixed so the card never reflows. */
.exp-media {
  width: 60%;
  height: 11rem;
  border-radius: var(--r-1sm);
  overflow: hidden;
  transition: width 0.6s var(--ease);
}

.exp-card:hover .exp-media {
  width: 100%;
}

.exp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.exp-card:hover .exp-media img {
  transform: scale(1.06);
}

.exp-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.exp-title {
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-12);
}

/* --------------------------------------------------------------------------
   12. Why choose us — auto-scrolling card column
   -------------------------------------------------------------------------- */
.choose-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3lg);
  align-items: center;
}

.choose-left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1n);
  align-items: flex-start;
}

.choose-viewport {
  position: relative;
  /* Tall enough to reach close to the top and bottom of the blue band */
  height: 46rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.choose-track {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1md);
  will-change: transform;
}

.choose-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1xs);
  padding: var(--sp-1md);
  border-radius: var(--r-1lg);
  background: var(--white);
  flex: none;
}

.choose-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1xs);
}

.choose-icon-wrapper {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-1sm);
  background: var(--blue);
  color: var(--white);
  flex: none;
}

.choose-card .icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--frost);
  color: var(--blue);
}

.choose-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-12);
}

/* --------------------------------------------------------------------------
   13. Gallery (GSAP coverflow)
   -------------------------------------------------------------------------- */
.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3md);
}

.gallery-slide-main {
  position: relative;
  /* Full-bleed: escapes the 82rem container so the coverflow spans the page.
     100vw includes the scrollbar, so --sbw (set in JS) pulls it back to the
     layout width — otherwise the whole strip sits half a scrollbar off-centre. */
  margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2);
  margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2);
}

.gallery-mask {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  position: relative;
  width: 100%;
}

.gallery-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 22rem;
  border-radius: var(--r-1md);
  overflow: hidden;
  will-change: transform, width, height;
}

.gallery-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-badge {
  position: absolute;
  left: var(--sp-1xs);
  bottom: var(--sp-1xs);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.94);
  color: var(--night);
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  white-space: nowrap;
}

.active-dot-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.active-dot-wrap .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--blue-28);
  cursor: pointer;
  transition: background 0.4s var(--ease);
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3md);
}

.testi-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.5rem;
  border-radius: var(--r-1md);
  background: var(--white);
  overflow: hidden;
}

.testi-mask {
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.85s var(--ease);
}

.testi-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 27rem minmax(0, 1fr);
  gap: var(--sp-2sm);
  padding: var(--sp-1md);
}

.testi-media {
  border-radius: var(--r-1sm);
  overflow: hidden;
}

.testi-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.testi-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-2sm);
  padding: var(--sp-1md) var(--sp-1md) var(--sp-1md) 0;
}

.testi-quote {
  font-size: var(--fs-normal);
  line-height: var(--lh-14);
  color: var(--black-60);
  max-width: 34rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testi-name {
  padding: 0.65rem 1.35rem;
  border-radius: var(--r-full);
  background: var(--porcelain);
  font-weight: var(--fw-semi);
  font-size: var(--fs-xs);
}

.testi-role {
  font-size: var(--fs-xs);
  color: var(--black-40);
}

/* Two stacked arrows in a bordered column, as in the reference */
.testi-nav {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-left: 1px solid var(--dawn);
}

.testi-btn {
  display: grid;
  place-items: center;
  color: var(--black-20);
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}

.testi-btn:first-child {
  border-bottom: 1px solid var(--dawn);
  color: var(--blue);
}

.testi-btn:hover {
  /* Page background is --porcelain, so the hover has to read lighter than
     that while still showing up against the white card. */
  background: rgba(31, 90, 255, 0.06);
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3md);
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  max-width: 52rem;
  margin: 0 auto;
  width: 100%;
}

.faq-card {
  border: 1px solid var(--dawn);
  border-radius: var(--r-1sm);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.faq-card.is-open {
  border-color: var(--blue);
  background: var(--frost);
}

.faq-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1xs);
  width: 100%;
  padding: var(--sp-1md);
  text-align: left;
}

.faq-question {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-12);
}

.faq-icon-wrapper {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-full);
  background: var(--porcelain);
  color: var(--night);
  flex: none;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease),
    color 0.4s var(--ease);
}

.faq-card.is-open .faq-icon-wrapper {
  transform: rotate(45deg);
  background: var(--blue);
  color: var(--white);
}

.faq-bottom {
  height: 0;
  overflow: hidden;
}

.faq-answer {
  padding: 0 var(--sp-1md) var(--sp-1md);
  color: var(--black-60);
  max-width: 46rem;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--sp-2lg);
  align-items: center;
  padding: var(--sp-3md);
  border-radius: var(--r-2sm);
  background: var(--white);
}

.contact-image-wrapper {
  border-radius: var(--r-1md);
  overflow: hidden;
}

.contact-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1md);
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  line-height: var(--lh-12);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1xs);
  margin-top: var(--sp-md);
}

.field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-1xs);
}

.field-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-block.full {
  grid-column: 1 / -1;
}

.contact-field-text {
  font-size: 0.9375rem;
  color: var(--black-60);
}

.contact-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--dawn);
  border-radius: var(--r-1sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--night);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 90, 255, 0.15);
}

textarea.contact-input {
  min-height: 7rem;
  resize: vertical;
}

.form-message {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--r-large);
  font-size: var(--fs-xs);
}

.form-message.is-visible {
  display: block;
}

.form-message.success {
  background: var(--frost);
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   17. CTA — left aligned
   -------------------------------------------------------------------------- */
.section.cta {
  position: relative;
  background: var(--pearl) url("../assets/images/cta-bg.webp") center / cover
    no-repeat;
  color: var(--white);
  padding-bottom: var(--sp-9sm);
  overflow: hidden;
}

/* Weighted to the left, where the copy sits */
.section.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 26, 47, 0.94) 0%,
    rgba(10, 26, 47, 0.78) 42%,
    rgba(10, 26, 47, 0.34) 100%
  );
}

.section.cta .container {
  position: relative;
  z-index: 1;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1md);
  text-align: left;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.section.footer {
  background: var(--pearl);
  color: var(--white);
  padding: var(--sp-5sm) 0 var(--sp-2sm);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2sm);
  align-items: start;
  padding-bottom: var(--sp-4md);
}

.footer-email-label {
  color: var(--white-60);
  font-size: var(--fs-xs);
  margin-bottom: 0.35rem;
}

.footer-email {
  font-family: var(--font-display);
  /* 3.25rem matches the reference, but a 23-character address needs ~11.5em;
     the vw term stops it overflowing the column on narrow screens. */
  font-size: min(3.25rem, 7vw);
  overflow-wrap: anywhere;
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  color: var(--white);
  transition: color 0.35s var(--ease);
  line-height: var(--lh-12);
}

.footer-email:hover {
  color: var(--ice);
}

.footer-newsletter-title {
  font-family: var(--font-display);
  font-size: var(--fs-normal);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-md);
}

.footer-form {
  display: flex;
  gap: var(--sp-md);
}

.footer-form input {
  width: 19rem;
  max-width: 100%;
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--white-20);
  border-radius: var(--r-full);
  background: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
}

.footer-form input::placeholder {
  color: var(--white-60);
}

.footer-form input:focus {
  outline: none;
  border-color: var(--white);
}

.footer-submit {
  padding: 0.95rem 2rem;
  border-radius: var(--r-full);
  background: var(--white);
  color: var(--night);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.footer-submit:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-2sm);
  padding-bottom: var(--sp-3md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-page-link {
  color: var(--white-60);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-sm);
  transition: color 0.35s var(--ease);
}

.footer-page-link:hover {
  color: var(--white);
}

.footer-office {
  text-align: right;
  color: var(--white-60);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.footer-office strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
  margin-bottom: 0.35rem;
}

.footer-line {
  height: 1px;
  background: var(--white-20);
}

/* Oversized wordmark closing the page, spanning the full container width */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-md);
  padding-top: var(--sp-2sm);
}

.footer-r {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--white-20);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  color: var(--white-60);
  flex: none;
}

.footer-wordmark {
  display: block;
  font-family: var(--font-display);
  /* "Northbound" measures ~4.876em wide. First term tracks the viewport once
     it is narrower than the container; second caps it at the container's
     content width (82rem max-width less its 1rem padding either side). */
  font-size: min(calc((100vw - 2rem) / 4.876), calc(80rem / 4.876));
  font-weight: var(--fw-semi);
  line-height: var(--lh-1);
  letter-spacing: var(--ls-h1);
  color: var(--white);
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1xs);
  padding-top: var(--sp-1md);
  color: var(--white-60);
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-full);
  border: 1px solid var(--white-20);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.footer-socials a:hover {
  background: var(--white);
  color: var(--night);
}

/* --------------------------------------------------------------------------
   19. Animation initial states
   -------------------------------------------------------------------------- */
.js-anim [data-reveal] {
  opacity: 0;
}

/* While an entrance tween is driving transform, CSS must not also be
   transitioning it — every frame would restart the transition and smear the
   motion. The class is added for the duration of the tween only. */
.is-revealing,
.is-revealing * {
  transition: none !important;
}

.js-anim .hero-title {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .js-anim [data-reveal],
  .js-anim .hero-title {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .destination-layout {
    grid-template-columns: minmax(0, 1fr) 24rem;
  }

  .dest-index {
    display: none;
  }
}

@media (max-width: 991px) {
  :root {
    --h2: 2.75rem;
    --h3: 1.75rem;
    --fs-2md: 2rem;
    --sp-8sm: 5.5rem;
    --sp-9sm: 6rem;
    --sp-3md: 2.5rem;
    --sp-3lg: 2.5rem;
  }

  /* Drops the pill track — it becomes a full-width panel instead */
  .navigation {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-md);
    padding: 6rem var(--sp-1md) var(--sp-2sm);
    background: var(--pearl);
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease);
  }

  .navbar.is-open .navigation {
    clip-path: inset(0 0 0 0);
  }

  .navlink {
    font-size: var(--fs-md);
    padding: 0.9rem 1.5rem;
    text-align: center;
  }

  .menu-button {
    display: grid;
    position: relative;
    z-index: 2;
  }

  /* Keep the wordmark above the open menu panel */
  .nav-brand {
    position: relative;
    z-index: 2;
  }

  .nav-button-wrap {
    display: none;
  }

  .hero-bottom,
  .about-top,
  .experience-top,
  .choose-wrapper,
  .contact-wrapper,
  .destination-layout {
    grid-template-columns: 1fr;
  }

  .about-figure.offset {
    margin-top: 0;
  }

  /* The reference's only responsive type overrides */
  .about-text {
    font-size: var(--fs-md);
  }

  .stat-value {
    font-size: 4rem;
  }

  .home-hero-area {
    padding-top: 7.5rem;
  }

  .hero-card {
    max-width: 26rem;
  }

  /* Carousels become plain stacks — JS clears their transforms to match */
  .dest-viewport,
  .choose-viewport {
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .stats-row,
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-list {
    grid-template-columns: 1fr;
  }

  .testi-card {
    grid-template-columns: 1fr;
  }

  .testi-slide {
    grid-template-columns: 1fr;
  }

  .testi-nav {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    border-left: 0;
    border-top: 1px solid var(--dawn);
    min-height: 4.5rem;
  }

  .testi-btn:first-child {
    border-bottom: 0;
    border-right: 1px solid var(--dawn);
  }

  .service-panel-inner {
    grid-template-columns: 1fr;
    padding-left: var(--sp-2sm);
  }

  .service-media {
    justify-self: start;
  }

  .footer-top,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-office {
    text-align: left;
  }


  .gallery-card {
    width: 18rem;
  }
}

@media (max-width: 767px) {
  :root {
    --h2: 2.25rem;
    --fs-md: 1.25rem;
    --fs-lg: 1.375rem;
    --sp-8sm: 4.5rem;
  }

  .stats-row,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    grid-template-columns: 1fr;
  }

  .package-image {
    aspect-ratio: 3 / 2;
  }

  .package-content-wrapper {
    padding: 0 var(--sp-md) var(--sp-md);
  }

  .service-head {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    padding: var(--sp-1md);
  }

  .service-panel-inner {
    padding: 0 var(--sp-1md) var(--sp-1md);
  }

  .contact-title {
    font-size: 2rem;
  }

  /* Holds the hero heading to three lines on a narrow phone too */
  .hero-heading {
    font-size: 1.875rem;
  }

  .field-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: var(--sp-1md);
  }

  .footer-form {
    flex-direction: column;
  }

  .footer-form input {
    width: 100%;
  }

  .footer-brand {
    gap: var(--sp-1xs);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-1xs);
  }

  .gallery-card {
    width: 15rem;
  }
}
