/* =====================================================
   0. FONTS (Local Optimized WOFF2 / TTF Fallback)
   ===================================================== */
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani-SemiBold.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TuesdayNight';
  src: url('../fonts/TuesdayNight-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --amani-bg: #000000;
  --amani-black: #000000;
  --amani-soft-black: #050403;
  --amani-charcoal: #0a0806;
  --amani-gold: #ca9e67;
  --amani-gold-light: #d4b07a;
  --amani-accent: #ca9e67;
  --amani-accent-rgb: 202, 158, 103;
  --amani-white: #ffffff;
  --amani-text-primary: #ffffff;
  --amani-text-secondary: rgba(255, 255, 255, .62);
  --amani-text-muted: rgba(255, 255, 255, .38);
  --amani-line: rgba(202, 158, 103, .28);
  --page-padding: clamp(22px, 4.8vw, 92px);
  --font-primary: 'Rajdhani', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Rajdhani', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'TuesdayNight', cursive, sans-serif;
  --amani-font-display: 'TuesdayNight', cursive, sans-serif;
  --amani-ease: cubic-bezier(.76, 0, .24, 1);
  --amani-ease-out: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  background: #000;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  background: var(--amani-bg);
  color: var(--amani-white);
  font-family: var(--font-primary);
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9995;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.45'/%3E%3C/svg%3E");
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9994;
  pointer-events: none;
  opacity: .58;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(202, 158, 103, .055), transparent 19vw);
}

a,
button {
  color: inherit;
  text-decoration: none;
  cursor: none;
  font: inherit;
}

button {
  border: 0;
  background: transparent;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

.preloader-caption {
  position: absolute;
  bottom: 9vh;
  color: rgba(255, 255, 255, .42);
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(4rem, 8vw, 8rem);
}

.section {
  position: relative;
  background: #000;
}

/*
    .eyebrow,
    .subtitle {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      color: var(--amani-gold);
      font-size: .68rem;
      letter-spacing: .35em;
      text-transform: uppercase;
      font-weight: 500;
    }
    .eyebrow::before,
    .subtitle::before {
      content: '';
      width: 36px;
      height: 1px;
      background: var(--amani-gold);
      opacity: .78;
    }  */


.micro {
  color: rgba(255, 255, 255, .42);
  font-size: .68rem;
  letter-spacing: .29em;
  text-transform: uppercase;
  font-weight: 500;
}

.lead {
  color: var(--amani-text-secondary);
  font-size: clamp(1.06rem, 1.36vw, 1.5rem);
}


/* 01 HERO */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .45) 95%),
    linear-gradient(180deg,
      rgba(0, 0, 0, .04) 0%,
      rgba(0, 0, 0, .10) 34%,
      rgba(0, 0, 0, .42) 72%,
      #000 100%);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.72) saturate(.86) contrast(1.04);
  transform: scale(1.02);
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  transform: translateY(-1vh);
}

.hero-logo {
  width: min(280px, 46vw);
  height: auto;
  display: block;
}

.hero-typed-text {
  min-height: 1.7em;
  margin-top: 1.5rem;
  font-family: var(--amani-font-display);
  font-size: clamp(1.5rem, 2.3vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--amani-accent);
  text-align: center;
  max-width: 520px;
  letter-spacing: -.045em;
}

/* 02 THREE WORDS */
.three-words {
  min-height: 260vh;
  background: #000;
  position: relative;
}

.three-words-pin {
  position: sticky;
  top: 0;
  /* 100dvh si adatta dinamicamente all'altezza della viewport
     anche quando la barra URL scompare durante lo scroll down */
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: block;
  isolation: isolate;
  padding: 0 var(--page-padding);
}

.word-bg img {
  cursor: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.70) saturate(.85) contrast(1.02);
  opacity: 0;
  transform: scale(1.08);
  z-index: -4;
}

.word-bg img.is-active {
  opacity: 1;
}

.three-words-pin::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to right, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .05) 55%, transparent 100%),
    linear-gradient(to top, rgba(0, 0, 0, .50) 0%, transparent 45%);
}

.word-copy {
  position: absolute;
  left: var(--page-padding);
  bottom: 15vh;
  z-index: 2;
  width: min(460px, 82vw);
  min-height: 360px;
  text-align: left;
}

.word-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(14px);
  pointer-events: none;
}

.word-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

/*
    .word-panel h2 {
      margin-top: 22px;
      font-family: var(--font-primary);
      font-size: clamp(4rem, 8vw, 8rem);
      font-weight: 300;
      letter-spacing: -.055em;
      line-height: .82;
      color: var(--amani-white);
    }
      */

.word-divider {
  display: block;
  width: min(360px, 74vw);
  height: 1px;
  margin: 28px 0 0;
  background: linear-gradient(90deg, var(--amani-gold) 0%, rgba(var(--amani-accent-rgb), .35) 34%, transparent 100%);
  transform-origin: left;
}

.word-panel p {
  margin: 28px 0 0;
  max-width: 390px;
  color: rgba(255, 255, 255, .66);
}

.word-progress {
  position: absolute;
  left: var(--page-padding);
  bottom: 6vh;
  width: min(200px, 30vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 3;
}

.word-progress span {
  height: 1px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
  position: relative;
}

.word-progress span::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amani-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--amani-ease);
}

.word-progress span.is-active::before {
  transform: scaleX(1);
}

/* Symbol Interlude */
.symbol-interlude {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
  padding-top: clamp(140px, 19vh, 200px);
  padding-bottom: clamp(40px, 6vh, 70px);
}

.symbol-interlude .amani-aos-center {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.symbol-interlude .amani-symbol--aos {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  transform-origin: center center;
  opacity: 1 !important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amani-accent);
  will-change: transform;
}

.symbol-interlude svg {
  width: 100%;
  height: 100%;
  display: block;
}

.symbol-interlude path,
.symbol-interlude circle {
  stroke: var(--amani-accent);
  fill: none;
}

.symbol-interlude circle {
  fill: var(--amani-accent);
}

/* 03 STAY HORIZONTAL */
.stay-horizontal {
  background: #000;
  margin: 0 !important;
}

.stay-pin {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.stay-track {
  display: flex;
  align-items: center;
  gap: 4vw;
  will-change: transform;
}

.stay-intro {
  flex: 0 0 40vw;
  padding-left: var(--page-padding);
  padding-right: 4vw;
}

.stay-intro h2 {
  margin-top: 26px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: .78;
  font-weight: 300;
  letter-spacing: -.075em;
}

.stay-intro p {
  margin-top: 36px;
  max-width: 430px;
}

.stay-card {
  position: relative;
  flex: 0 0 auto;
  width: min(38vw, 620px);
  height: 80vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #050505;
  display: flex;
  align-items: flex-end;
  padding: clamp(30px, 3vw, 58px);
}

.stay-card.is-tall {
  width: min(30vw, 480px);
  height: 80vh;
}

.stay-card.is-wide {
  width: min(54vw, 920px);
  height: 80vh;
}

.stay-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.5) saturate(.78);
  transform: scale(1.12);
}

.stay-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .88));
}

.stay-body {
  position: relative;
  z-index: 2;
}

.stay-body h3 {
  margin-top: 16px;
  font-size: clamp(2.3rem, 4.4vw, 5.5rem);
  line-height: .8;
  font-weight: 300;
  letter-spacing: -.06em;
}

.stay-progress {
  position: absolute;
  left: var(--page-padding);
  right: var(--page-padding);
  bottom: 6vh;
  height: 1px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.stay-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--amani-gold);
  transform: scaleX(0);
  transform-origin: left;
}

/* 04 VISION MISSION SIGNATURE — editorial cinematic reel */
.doctrine {
  min-height: 300vh;
  background: #000;
}

.doctrine-pin {
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 0 var(--page-padding);
  isolation: isolate;
}

.doctrine-bg,
.doctrine-bg img {
  display: none;
}

.doctrine-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 74% 48%, rgba(202, 158, 103, .035), transparent 30%),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .96) 42%, rgba(0, 0, 0, .88) 72%, #000 100%);
}

.doctrine-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(340px, .68fr) 32px;
  align-items: center;
  gap: clamp(52px, 7vw, 132px);
  width: 100%;
}

.doctrine-left {
  grid-column: 1;
  align-content: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doctrine-left h2 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.8;
  font-weight: 300;
  letter-spacing: -.07em;
  color: var(--amani-white);
}

.amani-aos-center {
  position: absolute;
  top: 50%;
  left: calc(50vw - var(--page-padding));
  transform: translate(-50%, -50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.amani-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  z-index: 10;
  opacity: 0;
  color: var(--amani-accent);
}

.amani-symbol svg {
  width: 100%;
  height: 100%;
}

.amani-symbol path,
.amani-symbol circle {
  stroke: var(--amani-accent);
  fill: none;
}

.amani-symbol circle {
  fill: var(--amani-accent);
}

.amani-symbol--aos {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  transform-origin: center center;
  opacity: 1;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.amani-symbol--aos svg {
  width: 100%;
  height: 100%;
  display: block;
}

.doctrine-counter-rail {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  height: auto;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  justify-self: end;
}

.doctrine-counter-rail::before {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(var(--amani-accent-rgb), .18), transparent);
  transform: translateX(-50%);
  opacity: .35;
}

.doctrine-dot {
  position: relative;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amani-text-secondary);
  opacity: .56;
  transition:
    background .55s var(--amani-ease),
    transform .55s var(--amani-ease),
    opacity .55s var(--amani-ease),
    box-shadow .55s var(--amani-ease);
}

.doctrine-dot.is-active {
  background: var(--amani-gold);
  opacity: 1;
  transform: scale(1.22);
  box-shadow: 0 0 0 7px rgba(var(--amani-accent-rgb), .10), 0 0 22px rgba(var(--amani-accent-rgb), .28);
}

.doctrine-list-wrap {
  grid-column: 2;
  position: relative;
  z-index: 5;
  height: 68vh;
  width: min(500px, 100%);
  max-width: 500px;
  justify-self: start;
  text-align: left;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.doctrine-list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(50% - 25vh);
  transform: translateY(0);
  will-change: transform, filter;
}

.doctrine-card {
  min-height: 50vh;
  display: grid;
  align-content: center;
  padding: 10vh 20px;
}

.doctrine-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 3rem);
  line-height: .9;
  font-weight: 300;
  letter-spacing: -.055em;
  color: var(--amani-gold);
  font-family: var(--font-script);
}

.doctrine-card p {
  font-family: var(--amani-font-sans);
  margin-top: 22px;
  max-width: 440px;
  color: rgba(255, 255, 255, .66);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
}

/* 05 DESTINATION INTRO */
.atlas-intro {
  min-height: 120vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.atlas-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background: url('https://images.unsplash.com/photo-1528127269322-539801943592?auto=format&fit=crop&w=2600&q=84') center/cover; */
  filter: brightness(.3) saturate(.68);
  transform: scale(1.14);
  z-index: -3;
}

.atlas-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(0, 0, 0, .16), #000 76%);
  z-index: -2;
}

.atlas-intro-inner {
  width: min(1120px, 92vw);
  min-width: 0;
}

.atlas-intro h2,
.finale h2 {
  margin-top: 28px;
  font-family: var(--amani-text-primary);
  font-weight: 300;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: .76;
  letter-spacing: -.085em;
}

.atlas-intro p {
  max-width: 650px;
  margin: 46px auto 0;
}

.atlas-intro .amani-sequence-hint {
  position: static;
  margin-top: 30px;
  justify-content: center;
  width: 100%;
}

/* 06 GLOBE SECTION — adapted from provided files */
.globe-journey {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000;
  overflow: visible;
}

.globe-stage {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--amani-accent-rgb), .15), transparent 35%),
    #000;
  isolation: isolate;
  will-change: transform;
}

#globeCanvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100vh;
  background: #000;
  z-index: 1;
  pointer-events: none;
}

.globe-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 50%, transparent 0%, transparent 31%, rgba(0, 0, 0, .26) 57%, rgba(0, 0, 0, .9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .42) 34%, rgba(0, 0, 0, .08) 58%, rgba(0, 0, 0, .58) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3px 3px;
}

.destination-panel {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: var(--page-padding);
  transform: translateY(-50%);
  width: min(460px, calc(100vw - 48px));
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.panel-count {
  display: none;
  align-items: center;
  gap: 14px;
  margin: 12px 0 10px;
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  letter-spacing: .18em;
}

.count-line {
  display: block;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, var(--amani-gold), rgba(255, 255, 255, .08));
}

.panel-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--amani-gold) 0%, transparent 100%);
  transform-origin: left;
  margin-top: 3%;
}

.amani-sequence-hint {
  position: absolute;
  bottom: 6vh;
  right: var(--page-padding);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .46);
  pointer-events: none;
}

.amani-sequence-hint-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--amani-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amani-gold);

  animation: amani-seq-hint-bounce 2s ease-in-out infinite;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  animation-name: amani-seq-hint-bounce;
  animation-timeline: auto;
  animation-range-start: normal;
  animation-range-end: normal;
}

.amani-sequence-hint-icon svg {
  width: 16px;
  height: 16px;
}

@keyframes amani-seq-hint-bounce {

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

  50% {
    transform: translateY(6px);
  }
}

.amani-sequence-hint span {
  color: var(--amani-gold);
}

/* Pulsante Salta il Globo */
.skip-globe-btn {
  position: absolute;
  bottom: 6vh;
  left: var(--page-padding);
  z-index: 8;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--amani-gold);
  font-family: var(--font-primary);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.skip-globe-btn:hover {
  color: var(--amani-gold-light);
  border-bottom-color: rgba(202, 158, 103, 0.4);
}

.amani-skip-globe-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--amani-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amani-gold);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.skip-globe-btn:hover .amani-skip-globe-icon {
  border-color: var(--amani-gold-light);
  transform: translateY(2px);
}

.globe-destination-menu {
  position: absolute;
  right: var(--page-padding);
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: min(260px, 18vw);
  display: grid;
  gap: 26px;
  pointer-events: none;
}

.globe-menu-item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 0 28px 0 0;
  opacity: 1;
  filter: none;
  transform: translateX(14px) scale(.96);
  transition:
    opacity .75s var(--amani-ease),
    transform .75s var(--amani-ease),
    color .75s var(--amani-ease);
  text-align: right;
  justify-items: end;
}

.globe-menu-item::before {
  content: '';
  position: absolute;
  right: 0;
  left: auto;
  top: .48em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amani-text-secondary);
  opacity: .45;
  transition: background .75s var(--amani-ease), opacity .75s var(--amani-ease), transform .75s var(--amani-ease), box-shadow .75s var(--amani-ease);
}

.globe-menu-item::after {
  content: '';
  position: absolute;
  right: 4px;
  left: auto;
  top: calc(.48em + 13px);
  bottom: -22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent);
  opacity: .4;
}

.globe-menu-item:last-child::after {
  display: none;
}

.globe-menu-item.is-active {
  opacity: 1;
  filter: none;
  transform: translateX(0) scale(1);
}

.globe-menu-item.is-active::before {
  background: var(--amani-gold);
  opacity: 1;
  transform: scale(1.28);
  box-shadow: 0 0 0 7px rgba(var(--amani-accent-rgb), .10), 0 0 22px rgba(var(--amani-accent-rgb), .28);
}

.globe-menu-name {
  color: var(--amani-text-secondary);
  font-size: clamp(1.05rem, 1.45vw, 1.95rem);
  line-height: .95;
  font-weight: 300;
  letter-spacing: -.03em;
}

.globe-menu-item.is-active .globe-menu-name {
  color: var(--amani-white);
}

/* 07 SERVICE */

/* 07 + 07b LOCK-STAGE REVEAL
       Architettura:
       .lock-stage (alto 200vh) contiene:
         - .designed (sticky top:0, height:100vh): si blocca a pieno viewport.
           Lane sticky = 200vh - 100vh = 100vh, attiva per tutta la durata del lock-stage.
         - .video-overlay (absolute top:0, height:200vh, z-index sopra):
           riempie l'intero lock-stage in assoluto sopra la designed. Dentro c'è
           .fullwidth-video sticky top:0 height:100vh (lane sticky = 100vh, attiva
           per tutta la durata). Parte traslato yPercent:100 (fuori viewport, sotto)
           e sale a yPercent:0 durante il secondo 100vh di scroll.
       Risultato: primo 100vh = designed sola, secondo 100vh = video sale e copre.
       A fine lock-stage entrambi gli sticky si staccano contemporaneamente → flusso
       fluido verso la Final CTA, video confinato geometricamente nel lock-stage. */

/*
    .lock-stage .designed {
      position: sticky;
      top: 0;
      height: 100vh;
      z-index: 1;
    } */

/* 07b FULL-WIDTH VIDEO */
.fullwidth-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  margin-top: 35vh;
}

.fullwidth-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*filter: brightness(.78) saturate(.92);*/
  will-change: transform;
}

.fullwidth-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .08) 55%, transparent 100%),
    linear-gradient(to top, rgba(0, 0, 0, .65) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* 08 FINAL */
.finale {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: #000;
  isolation: isolate;
  overflow: hidden;
}

.finale::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 46%, rgba(0, 0, 0, .14), #000 76%);
}

.finale-inner {
  width: min(1080px, 90vw);
}

.finale p {
  max-width: 560px;
  margin: 46px auto 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 52px;
  color: var(--amani-gold);
  border: 1px solid rgba(var(--amani-accent-rgb), .5);
  padding: 16px 30px;
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .2);
  transition: background .55s var(--amani-ease);
}

.cta:hover {
  background: rgba(var(--amani-accent-rgb), .12);
}

/* Footer */
.amani-footer {
  position: relative;
  background: #000;
  padding: clamp(56px, 7vw, 96px) var(--page-padding) clamp(28px, 3.5vw, 48px);
  font-family: var(--font-primary);
}

.amani-footer-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
  margin: 0 0 clamp(40px, 5vw, 68px);
}

.amani-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.amani-footer-brand .amani-logo-img {
  height: clamp(34px, 4vw, 48px);
  width: auto;
  object-fit: contain;
  display: block;
}

.amani-footer-tagline {
  color: var(--amani-white);
  font-size: .72rem;
  line-height: 1.6;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0;
}

.amani-footer-label {
  display: block;
  margin: 0 0 16px;
  color: var(--amani-accent);
  font-size: .66rem;
  line-height: 1;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
}

.amani-footer-company-name {
  display: block;
  color: var(--amani-white);
  font-size: .95rem;
  line-height: 1.4;
  letter-spacing: .06em;
  margin: 0 0 6px;
  font-weight: 400;
}

.amani-footer-address,
.amani-footer-contact,
.amani-footer-copyright {
  display: block;
  color: var(--amani-text-secondary);
  font-size: .82rem;
  line-height: 1.7;
  letter-spacing: .04em;
  font-weight: 300;
}

.amani-footer-contact {
  display: grid;
  gap: 6px;
  margin: 0;
}

.amani-footer-contact span {
  display: block;
}

.amani-footer-contact a {
  color: var(--amani-text-secondary);
  transition: color .3s var(--amani-ease);
}

.amani-footer-contact a:hover {
  color: var(--amani-accent);
}

.amani-footer-divider {
  height: 1px;
  width: 100%;
  margin: 0 0 clamp(24px, 3vw, 36px);
  background: linear-gradient(to right, var(--amani-accent), rgba(var(--amani-accent-rgb), .22), transparent);
}

.amani-footer-bottom {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.amani-footer-copyright {
  color: var(--amani-text-muted);
  font-size: .7rem;
  letter-spacing: .04em;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 768px) {
  .amani-footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  .globe-journey {
    min-height: auto;
  }

  .doctrine-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 100%;
    padding-top: 12vh;
  }

  .doctrine-left {
    align-self: flex-start;
  }

  .doctrine-left h2 {
    font-size: clamp(3.5rem, 12vw, 5rem);
  }

  .amani-aos-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .doctrine-list-wrap {
    height: 38vh;
    width: 100%;
    align-self: flex-end;
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 80%, transparent 100%);
  }

  .doctrine-list {
    top: -6vh;
  }

  .doctrine-card {
    padding: 0 20px;
  }

  .doctrine-counter-rail {
    display: none;
  }

  .stay-horizontal {
    height: auto;
  }

  .stay-pin {
    height: auto;
    position: relative;
    display: block;
    padding: 14vh 0;
  }

  .stay-track {
    display: grid;
    padding: 0 var(--page-padding);
  }

  .stay-intro {
    padding: 0 0 44px;
  }

  .stay-card,
  .stay-card.is-wide,
  .stay-card.is-tall {
    width: 100%;
    height: 68vh;
  }

  .atlas-intro h2,
  .finale h2 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .globe-journey {
    height: auto;
    min-height: 100vh;
    padding-bottom: 20px;
  }

  .globe-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: auto;
    min-height: 100vh;
    padding-top: 50vh;
  }

  #globeCanvas,
  .html-markers-container,
  .globe-vignette,
  .grain {
    height: 50vh !important;
  }

  .destination-panel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    padding: 24px;
    margin-top: 12px;
    gap: 0.8rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }

  .destination-panel>* {
    grid-column: 1 / -1;
  }

  .destination-panel .ch-title {
    font-size: clamp(2.5rem, 14vw, 4rem);
    line-height: 1;
  }

  .destination-panel .ps-copy {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .destination-panel .subtitle::before {
    width: 15px;
  }

  .destination-panel>.destination-meta-grid {
    display: contents;
  }

  .destination-meta-grid .meta-divider {
    display: none;
  }

  .destination-meta-grid .meta-item.is-left {
    grid-column: 1 / 2;
    justify-self: start;
    text-align: left;
    padding: 0;
  }

  .destination-meta-grid .meta-item.is-right {
    grid-column: 2 / 3;
    justify-self: center;
    text-align: center;
    padding: 0;
  }

  .destination-panel>.detail-explore-btn {
    grid-column: 3 / 4;
    justify-self: end;
    margin: 0;
    padding: 8px 18px;
    font-size: 8.5px;
  }

  .amani-sequence-hint {
    display: none !important;
  }

  .skip-globe-btn {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 2vh !important;
  }

  .globe-destination-menu {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100vw;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 24px;
    padding: 0 var(--page-padding) 40px;
    margin-top: 0;
    margin-left: calc(var(--page-padding) * -1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    pointer-events: auto;
  }

  .globe-destination-menu::-webkit-scrollbar {
    display: none;
  }

  .globe-menu-item {
    padding: 16px 0 0 0;
    text-align: center;
    justify-items: center;
    transform: translateY(0) scale(.96);
    flex-shrink: 0;
  }

  .globe-menu-item.is-active {
    transform: translateY(0) scale(1);
  }

  .globe-menu-item::before {
    top: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .globe-menu-item.is-active::before {
    transform: translateX(-50%) scale(1.28);
  }

  .globe-menu-item::after {
    display: none;
  }

  .globe-menu-name {
    font-size: 0.95rem;
  }

  .amani-footer {
    padding: 64px var(--page-padding) 36px;
  }

  .amani-footer-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .amani-footer-social {
    justify-items: start;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
  }

  .amani-footer-bottom {
    margin-top: 44px;
  }

  /* 04 Three Words Manifesto Mobile */
  .three-words {
    min-height: 260vh;
  }

  .three-words-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .word-copy {
    bottom: 11vh;
    min-height: auto;
    width: calc(100% - var(--page-padding) * 2);
  }

  .word-panel .ch-title {
    font-size: clamp(2.6rem, 11.5vw, 4rem);
    line-height: 0.95;
    letter-spacing: -1.5px;
    margin-top: 10px;
    margin-left: 0;
  }

  .word-divider {
    width: min(240px, 68vw);
    margin: 16px 0 0;
  }

  .word-panel p {
    margin: 16px 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .word-progress {
    bottom: max(20px, 4.5vh);
    width: min(150px, 38vw);
  }
}

/* =========================================================================
   AMANI STYLE (CONSOLIDATED)
   ========================================================================= */

:root {
  /* Colors */
  --amani-bg: #000000;
  --amani-accent: #CA9E67;
  --amani-accent-rgb: 202, 158, 103;
  --amani-text-primary: #ffffff;
  --amani-text-secondary: #BBBBBB;
  --amani-text-muted: #666666;

  /* Fonts */
  --font-primary: 'Rajdhani', Helvetica, Arial, sans-serif;
  --font-display: 'Rajdhani', Helvetica, Arial, sans-serif;
  --font-script: 'TuesdayNight', Sans-serif;

  /* Spacing & Layout */
  --header-height: 80px;
  --side-panel-width: 60px;
  --amani-section-gap: 6rem;
  --page-padding: 2rem;
}


/* =====================================================
   1. DESIGN TOKENS
   ===================================================== */

:root {
  /* ── Brand Colors ── */
  --amani-gold: var(--amani-accent);
  --amani-gold-light: #D4B07A;
  --amani-black: var(--amani-bg);
  --amani-white: var(--amani-text-primary);
  --amani-muted: var(--amani-text-secondary);

  /* ── Typography ── */
  --amani-font-sans: 'Rajdhani', Helvetica, Arial, sans-serif;
  --amani-font-display: 'TuesdayNight', Helvetica, Arial, sans-serif;
  --amani-font-ui: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* ── Easing ── */
  --amani-ease: cubic-bezier(0.76, 0.00, 0.24, 1.00);
  --amani-ease-out: cubic-bezier(0.22, 1.00, 0.36, 1.00);
  --amani-ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* ── Layout ── */
  --amani-side-pad: 5%;

  /* ── Custom Cursor ── */
  --mx: 0px;
  --my: 0px;

  /* ── Widget: Scroll Horizontal ── */
  --amani-h-image-height: 70vh;
  --amani-h-gap: 4vw;
}

@media (max-width: 1024px) {
  :root {
    --amani-h-image-height: 50vh;
    --amani-h-gap: 3vw;
  }
}

@media (max-width: 768px) {
  :root {
    --amani-h-image-height: 38vh;
    --amani-h-gap: 5.5vw;
  }
}

/* Destinations-specific :root tokens */
:root {
  --panel-w: 340px;
}

/*
main {
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
} */

.full-bleed {
  width: calc(100% + var(--page-padding) * 2);
  margin-left: calc(var(--page-padding) * -1);
  margin-right: calc(var(--page-padding) * -1);
}

/* =====================================================
   2. GLOBAL UTILITIES
   ===================================================== */

.main-color {
  color: var(--amani-gold);
}



/* Labelled subtitle with a leading gold rule */
.subtitle {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-family: var(--font-primary);
}

.subtitle::before {
  content: '';
  display: block;
  width: 25px;
  height: 1px;
  background: var(--amani-gold);
  opacity: 0.55;
}

/* Intro eyebrow */

.intro-eyebrow {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  font-family: var(--amani-font-sans);
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.intro-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--amani-gold);
  opacity: 0.6;
}

.intro-eyebrow::after {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--amani-gold);
  opacity: 0.6;
}

/* Main Sections Title */
.ch-title {
  font-family: var(--amani-font-sans), Sans-serif;
  font-size: 5.25rem;
  font-weight: 300;
  text-transform: capitalize;
  line-height: 4.5rem;
  letter-spacing: -3px;
  color: var(--amani-white);
  margin-top: 2.5%;
  margin-left: -.45rem;
}

/* Copy */

.ps-copy {
  font-family: var(--amani-font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--amani-white);
  margin-block-end: 0px;
}

/* =====================================================
   EXPLORE BUTTON
   ===================================================== */

.detail-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid rgba(var(--amani-accent-rgb), 0.35);
  color: var(--amani-gold);
  font-family: var(--amani-font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.3s var(--amani-ease),
    border-color 0.3s var(--amani-ease),
    color 0.3s var(--amani-ease);
  flex-shrink: 0;
  align-self: flex-start;
  justify-self: flex-start;
  pointer-events: all !important;
  margin-top: 4%;
}

.detail-explore-btn:hover {
  background: rgba(var(--amani-accent-rgb), 0.08);
  border-color: var(--amani-gold);
}

.detail-explore-btn:hover::after {
  width: 28px;
}


/* =====================================================
   3. CUSTOM CURSOR
   ===================================================== */

body.route-pagine,
body.route-pagine * {
  cursor: none !important;
}

body.route-pagine .cursor,
body.route-pagine .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(var(--x), var(--y));
  z-index: 2147483647;
}

body:not(.route-pagine) .cursor,
body:not(.route-pagine) .cursor-ring {
  display: none;
}

/* Inner dot */
.cursor {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amani-gold);
  margin-top: -2.5px;
  margin-left: -2.5px;
  box-shadow: none !important;
  filter: none !important;
}

/* Outer ring */
.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--amani-gold);
  margin-top: -20px;
  margin-left: -20px;
  transition:
    width 0.4s var(--amani-ease),
    height 0.4s var(--amani-ease),
    margin 0.4s var(--amani-ease),
    border-color 0.4s ease,
    background 0.4s ease;
  box-shadow: none !important;
  filter: none !important;
  background: transparent !important;
}

/* Ring grows on interactive elements */



/* =====================================================
   RESPONSIVE
   ===================================================== */


/* Destination Meta Grid */
.destination-meta-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 0;
  margin: 12px 0 6px 0;
  width: 100%;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-item.is-left {
  text-align: left;
  padding-right: 24px;
}

.meta-item.is-right {
  text-align: right;
  padding-left: 24px;
}

.meta-label {
  font-family: var(--amani-font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--amani-gold);
}

.meta-value {
  font-family: var(--amani-font-sans);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  color: var(--amani-white);
}

.meta-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 700px) {

  .ch-title {

    font-size: 3rem;
    line-height: 2.5rem;
  }
}



/* =====================================================
   MAPBOX MARKERS
   ===================================================== */

.amani-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer !important;
}

.amani-marker-diamond {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(var(--amani-accent-rgb), 0.50);
  background: rgba(0, 0, 0, 0.85);
  transform: rotate(45deg);
  transition: all 0.35s var(--amani-ease-out);
  position: relative;
}

.amani-marker-diamond::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.amani-marker.active .amani-marker-diamond,
.amani-marker:hover .amani-marker-diamond {
  border-color: var(--amani-gold);
  width: 15px;
  height: 15px;
  box-shadow:
    0 0 10px rgba(var(--amani-accent-rgb), 0.55),
    0 0 22px rgba(var(--amani-accent-rgb), 0.20);
}

.amani-marker.active .amani-marker-diamond::after {
  background: var(--amani-gold);
}

.amani-marker-label {
  font-family: var(--amani-font-sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amani-gold);
  white-space: nowrap;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 2px 8px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.3s var(--amani-ease-out);
}

.amani-marker:hover .amani-marker-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* -------------------------------------
   02.5 Parallax Gallery
------------------------------------- */
.parallax-gallery {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: var(--amani-bg);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.parallax-gallery-inner {
  display: flex;
  width: 100%;
  height: 100vh;
  gap: 0;
  padding: 0;
}

.parallax-col {
  flex: 1;
  position: relative;
  height: 100vh;
}

.left-col {
  z-index: 3;
}

.right-col {
  z-index: 1;
}

.parallax-img {
  width: 100%;
  height: 100vh;
  position: relative;
  will-change: transform;
}

.parallax-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-text-overlay {
  position: absolute;
  top: 50%;
  left: var(--page-padding);
  transform: translateY(-50%);
  z-index: 1;
  /* Below the sliding columns */
  width: 50vw;
  padding-right: 4vw;
  opacity: 0;
  /* Hidden initially */
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  text-transform: capitalize;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  /* text-muted */
  flex-shrink: 0;
  margin-right: clamp(1rem, 2vw, 2rem);
}

.mini-menu-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mini-menu-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--amani-gold);
  margin-top: 12px;
}

.menu-item {
  transition: color 0.4s var(--amani-ease);
  position: relative;
  cursor: pointer;
  --dot-scale: 1;
  --glow-alpha: 0;
}

.menu-item.is-active {
  color: var(--amani-gold);
  --dot-scale: 1.28;
  --glow-alpha: 0.28;
}

.menu-item::after {
  content: '';
  position: absolute;
  right: -36px;
  top: 50%;
  transform: translateY(-50%) scale(var(--dot-scale));
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 7px rgba(202, 158, 103, calc(var(--glow-alpha) * 0.35)),
    0 0 22px rgba(202, 158, 103, var(--glow-alpha));
}

.stack-col {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  z-index: 4;
  /* Overlaps left-col and right-col */
}

.stack-1 {
  z-index: 4;
}

.stack-2 {
  z-index: 5;
}

.stack-3 {
  z-index: 6;
}

.stack-4 {
  z-index: 7;
}

.parallax-text-overlay h2 {
  margin-top: 26px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: .78;
  font-weight: 300;
  letter-spacing: -.075em;
  margin-bottom: 0;
}

/* Modifiche per la sezione #designed */
#designed {
  margin-top: 20vh;
  position: relative;
}

#designed::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/serengeti.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
}

#designed .stay-card {
  height: auto;
  aspect-ratio: 1 / 1;
  border-color: rgba(var(--amani-accent-rgb), 0.35);
  align-items: center;
}

#designed .stay-card p {
  margin-top: 40px !important;
}

#designed .stay-card:nth-of-type(1)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/lodge-savana.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  display: none;
}

#designed .stay-card:nth-of-type(2)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/coppia-tramonto-savana-safari-africa.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  display: none;
}

#designed .stay-card:nth-of-type(3)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/campi-tendati3.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  display: none;
}

#designed .stay-card:nth-of-type(4)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/zanzibar-belonging.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  display: none;
}

#designed .stay-card .micro {
  color: var(--amani-gold);
}

/* =====================================================
   HEADER OVERRIDE (from Amani Tanzania)
   ===================================================== */
.amani-header {
  position: fixed;
  background-color: #000000CA;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem;
  z-index: 1000;
  pointer-events: none;
}

.amani-header>* {
  pointer-events: auto;
}

/* Hamburger */
.amani-hamburger {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  position: relative;
  z-index: 1001;
  background: transparent;
  border: none;
  cursor: pointer;
}

.amani-hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--amani-accent);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-open .amani-hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .amani-hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-open .amani-hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Logo */
.amani-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
}

.amani-logo-img {
  height: 60px;
  width: auto;
}

/* Header Actions Group (Right) */
.amani-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
}

/* Email */
.amani-email {
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amani-email svg {
  width: 22px;
  height: 22px;
  color: var(--amani-accent);
  transition: color 0.3s ease;
}

.amani-email:hover svg {
  color: var(--amani-text-primary);
}

/* ==========================================================================
   Language Switcher — Amani Luxury Standalone Styles
   ========================================================================== */

:root {
  --lang-bg: rgba(10, 8, 6, 0.88);
  --lang-bg-hover: rgba(202, 158, 103, 0.12);
  --lang-border: rgba(202, 158, 103, 0.28);
  --lang-border-hover: rgba(202, 158, 103, 0.6);
  --lang-border-focus: rgba(202, 158, 103, 0.9);
  --lang-text: rgba(255, 255, 255, 0.88);
  --lang-text-muted: rgba(255, 255, 255, 0.45);
  --lang-accent: var(--amani-gold, #ca9e67);
  --lang-radius: 4px;
  --lang-transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --lang-font: var(--font-primary, 'Rajdhani', sans-serif);
}

/* Contenitore Relativo */
.lang-switcher {
  position: relative;
  display: inline-block;
  font-family: var(--lang-font);
  font-size: 0.875rem;
  z-index: 1002;
}

/* Pulsante Trigger */
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  background: var(--lang-bg);
  color: var(--lang-text);
  border: 1px solid var(--lang-border);
  border-radius: var(--lang-radius);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--lang-transition), border-color var(--lang-transition), color var(--lang-transition);
}

.lang-switcher-btn:hover {
  background: var(--lang-bg-hover);
  border-color: var(--lang-border-hover);
  color: var(--lang-accent);
}

.lang-switcher-btn:focus-visible {
  outline: 2px solid var(--lang-border-focus);
  outline-offset: 2px;
}

/* Icone */
.lang-globe-icon {
  color: var(--lang-accent);
  opacity: 0.9;
  flex-shrink: 0;
}

.lang-current-label {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang-chevron-icon {
  opacity: 0.7;
  transition: transform var(--lang-transition);
  color: var(--lang-accent);
}

/* Freccia ruotata quando il menu è aperto */
.lang-switcher.is-open .lang-chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 155px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: rgba(12, 10, 8, 0.96);
  border: 1px solid var(--lang-border);
  border-radius: var(--lang-radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(202, 158, 103, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity var(--lang-transition), transform var(--lang-transition), visibility var(--lang-transition);
}

/* Mostra Dropdown quando aperto */
.lang-dropdown:not([hidden]) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Singola Voce Lingua */
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  color: var(--lang-text);
  text-decoration: none;
  border-radius: calc(var(--lang-radius) - 1px);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--lang-transition), color var(--lang-transition);
}

.lang-option:hover,
.lang-option:focus-visible {
  background: var(--lang-bg-hover);
  color: var(--lang-accent);
  outline: none;
}

.lang-code {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--lang-text-muted);
  min-width: 22px;
  letter-spacing: 0.06em;
}

.lang-name {
  flex-grow: 1;
  text-align: left;
}

.lang-check-icon {
  opacity: 0;
  transform: scale(0.7);
  color: var(--lang-accent);
  transition: opacity var(--lang-transition), transform var(--lang-transition);
}

/* Voce Attiva */
.lang-option.is-active {
  color: var(--lang-accent);
  font-weight: 600;
}

.lang-option.is-active .lang-code {
  color: var(--lang-accent);
}

.lang-option.is-active .lang-check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Language Switcher nel Side Menu Drawer */
.side-menu-lang-wrapper {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(202, 158, 103, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.side-menu-lang-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amani-gold);
  font-weight: 600;
}

.side-menu-lang-options {
  display: flex;
  gap: 0.6rem;
}

.side-menu-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.25s ease;
}

.side-menu-lang-btn:hover {
  border-color: rgba(202, 158, 103, 0.4);
  color: #ffffff;
  background: rgba(202, 158, 103, 0.08);
}

.side-menu-lang-btn.is-active {
  border-color: var(--amani-gold);
  color: var(--amani-gold);
  background: rgba(202, 158, 103, 0.12);
}

/* ==========================================================================
   Side Menu Overlay (Dark-Luxury Glassmorphism Off-Canvas Navigation)
   ========================================================================== */
:root {
  --side-menu-bg: rgba(10, 10, 10, 0.75);
  --side-menu-backdrop-overlay: rgba(0, 0, 0, 0.5);
  --side-menu-border: rgba(255, 255, 255, 0.05);
  --side-menu-text-color: #B8B8B8;
  --side-menu-text-hover: var(--amani-gold, #CA9E67);
  --side-menu-width: 450px;
  --side-menu-font-family: var(--font-primary, inherit);
  --side-menu-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.side-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  background-color: var(--side-menu-backdrop-overlay);
  transition: opacity 0.5s cubic-bezier(0.625, 0.05, 0, 1);
}

.side-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--side-menu-width);
  max-width: 90vw;
  height: 100%;
  background: var(--side-menu-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--side-menu-border);
  transform: translateX(-100%);
  transition: transform 0.6s var(--side-menu-ease);
  display: flex;
  flex-direction: column;
  padding: 48px;
  overflow-y: auto;
  box-sizing: border-box;
}

.side-menu-overlay.is-open .side-menu-panel {
  transform: translateX(0);
}

.side-menu-close {
  background: transparent;
  border: none;
  color: var(--side-menu-text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 400;
  margin-bottom: auto;
  transition: color 0.3s ease;
  align-self: flex-start;
  margin-left: 1rem;
  margin-top: 1rem;
  font-family: var(--side-menu-font-family);
  padding: 8px;
}

.side-menu-close:hover {
  color: var(--side-menu-text-hover);
}

.side-menu-close:focus-visible {
  outline: 2px solid var(--side-menu-text-hover);
  outline-offset: 4px;
}

.close-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.side-menu-close:hover .close-icon-wrapper {
  border-color: var(--side-menu-text-hover);
}

.side-menu-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: auto;
}

.side-menu-link {
  color: var(--side-menu-text-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-family: var(--side-menu-font-family);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s var(--side-menu-ease), color 0.3s ease;
}

.side-menu-link:hover {
  color: var(--side-menu-text-hover);
}

.side-menu-link:focus-visible {
  outline: 2px solid var(--side-menu-text-hover);
  outline-offset: 4px;
}

.side-menu-overlay.is-open .side-menu-link {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(0.3s + var(--item-index, 0) * 0.12s), calc(0.3s + var(--item-index, 0) * 0.12s), 0s;
}

.side-menu-features {
  border-top: 1px solid var(--side-menu-border);
  margin-top: 0;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.side-menu-features .side-menu-link {
  text-transform: uppercase;
}

.side-menu-features span.eyebrow.side-menu-link {
  margin-bottom: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--side-menu-text-hover);
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {

  .side-menu-panel,
  .side-menu-overlay,
  .side-menu-link {
    transition: none !important;
  }
}

.mini-menu-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Mobile Overrides for Parallax Gallery (Added at end for specificity)
   ========================================================================== */
@media (max-width: 900px) {
  .hide-mobile {
    display: none !important;
  }

  .parallax-gallery-inner {
    flex-direction: column;
  }

  .parallax-col,
  .left-col,
  .right-col {
    height: 50vh;
    width: 100vw;
  }

  .parallax-img {
    height: 50vh;
  }

  .parallax-text-overlay {
    top: 0;
    left: 0;
    transform: none;
    height: 50vh;
    width: 100vw;
    padding: 12vh var(--page-padding) 4vh;
    z-index: 2;
    /* Make sure it sits above right-col if right-col was z-index 1 */
    flex-direction: column;
    align-items: flex-start;
  }

  .parallax-text-overlay h2 {
    font-size: clamp(3rem, 10.5vw, 4.5rem);
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-top: 16px;
    width: 100%;
  }

  .stack-col {
    top: 50vh;
    left: 0;
    right: auto;
    width: 100vw;
    height: 50vh;
  }

  .mini-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    white-space: nowrap;
    width: 100vw;
    margin-left: calc(var(--page-padding) * -1);
    padding-left: var(--page-padding);
    transform: none !important;
  }

  .mini-menu-title {
    text-align: left;
    margin-bottom: 0;
  }

  .mini-menu-items {
    display: flex;
    flex-direction: row;
    gap: 64px;
    width: 100%;
  }

  .mini-menu-items>.menu-item {
    flex-shrink: 0;
  }
}