/* DDGIP hero v6 "the pass" (11-15). Same dawn family as the home sunrise, but this page sells a
   journey: an alpine dawn, snow ridges that melt into the white page, and a boarding pass that holds
   the programme facts (dl), the route (ol) and an honest "proposed" stamp. Loaded last on ddgip-2027. */

.hero--pass {
  --sun-x: 47%;
  position: relative;
  isolation: isolate;
  display: block;
  min-height: min(100svh, 980px);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 84px)) 0 clamp(120px, 14vw, 190px);
  overflow: hidden;
  background: #060f3a;
  color: #fff;
}
.hero--pass .aurora { display: none; }

/* ---------- the sky ---------- */
.alps { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.alps::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at var(--sun-x) 86%, rgba(255, 196, 140, 0.75), rgba(255, 196, 140, 0) 70%),
    linear-gradient(180deg, #050c31 0%, #0a1a78 26%, #1d36d6 50%, #4c46e4 64%, #8d63dc 76%, #d58bc0 88%, #ffc79a 100%);
}
/* faint star field up top, so the dark reads as early morning, not a flat block */
.alps::after {
  content: "";
  position: absolute;
  inset: 0 0 45% 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1px 1px at 28% 8%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 46% 22%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 82% 6%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(1px 1px at 92% 26%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 6% 34%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 38% 38%, rgba(255, 255, 255, 0.4), transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent);
}
.alps > span { position: absolute; display: block; }
/* the sun, just under the far ridge, behind the pass */
.alps > .alps__sun {
  left: var(--sun-x);
  bottom: 16%;
  width: clamp(520px, 62vw, 980px);
  aspect-ratio: 1;
  translate: -50% 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 160, 1) 0 9%, rgba(255, 179, 92, 0.75) 16%, rgba(255, 140, 120, 0.3) 36%, rgba(255, 140, 120, 0) 62%);
  mix-blend-mode: screen;
  transition: translate 1.8s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1.8s ease;
}
.js .hero--pass:not(.go) .alps__sun { translate: -50% 66%; opacity: 0.5; }
/* far ridge: lilac haze with warm light on the peaks */
.alps > .alps__far {
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(255, 214, 220, 0.62), rgba(196, 170, 236, 0.5) 45%, rgba(238, 236, 255, 0.85));
  clip-path: polygon(0% 55%, 0.9% 54.9%, 1.7% 55.5%, 2.4% 54.9%, 3.3% 54.2%, 3.9% 53.3%, 4.8% 52.2%, 5.5% 50.2%, 6.1% 48.6%, 7.4% 48.7%, 8.5% 48.8%, 9.3% 47.5%, 10.1% 46.4%, 11.3% 44.5%, 12.2% 42.3%, 12.9% 40.9%, 14% 40%, 15.3% 39.9%, 16.4% 39.0%, 17.1% 37.2%, 18.1% 35.5%, 19.1% 36.0%, 20.1% 36.9%, 20.8% 37.3%, 21.5% 38.0%, 22.7% 36.9%, 24.1% 35.5%, 25.1% 35.1%, 26.3% 34.8%, 27.5% 33.3%, 28.4% 32.6%, 29.2% 31.4%, 30% 30%, 30.8% 27.8%, 31.8% 26.0%, 33.1% 24.9%, 34.1% 24.3%, 35.3% 25.9%, 37.0% 27.6%, 38.1% 27.3%, 39.0% 27.7%, 39.9% 31.0%, 40.9% 34.6%, 42.5% 37.0%, 43.7% 39.6%, 44.6% 42.1%, 45.3% 45.1%, 46.1% 48.6%, 47% 52%, 47.9% 51.4%, 48.5% 50.8%, 49.3% 49.3%, 50.4% 48.4%, 51.2% 45.6%, 52.0% 43.2%, 52.7% 41.6%, 53.1% 39.7%, 54.3% 35.8%, 56.0% 32.4%, 57.5% 30.5%, 58.6% 28.3%, 60.0% 22.9%, 61.0% 17.7%, 61.8% 12.7%, 63% 8%, 63.6% 7.6%, 64.0% 7.4%, 64.3% 6.5%, 64.7% 5.7%, 65.1% 4.9%, 65.6% 4.1%, 66.2% 2.5%, 66.5% 1.2%, 66.9% 1.7%, 67.5% 1.8%, 68.2% 3.0%, 68.7% 3.7%, 69.3% 3.1%, 69.9% 2.1%, 70.6% 2.0%, 71% 2%, 72.1% 2.5%, 73.0% 2.5%, 74.5% 3.1%, 75.8% 3.7%, 76.5% 5.3%, 77.5% 7.2%, 78.2% 9.5%, 79.0% 12.3%, 79.5% 13.6%, 79.8% 15.0%, 80.6% 15.6%, 81.1% 16.6%, 81.9% 19.0%, 82.4% 21.2%, 83.4% 22.8%, 84% 24%, 85.4% 24.7%, 86.3% 25.4%, 86.9% 26.5%, 87.9% 27.3%, 88.4% 28.3%, 89.1% 29.5%, 89.8% 30.5%, 90.4% 31.5%, 91.0% 32.6%, 91.7% 33.3%, 92.3% 34.0%, 92.8% 34.8%, 93.3% 36.3%, 93.9% 37.6%, 94.5% 38.9%, 95% 40%, 95.4% 39.7%, 95.8% 39.7%, 96.1% 39.6%, 96.3% 39.3%, 96.6% 39.5%, 97.0% 39.5%, 97.4% 39.5%, 97.7% 39.4%, 97.9% 40.0%, 98.1% 40.7%, 98.5% 41.6%, 98.7% 42.4%, 99.1% 43.0%, 99.5% 43.7%, 99.7% 44.4%, 100% 45%, 100% 100%, 0 100%);
}
/* mid ridge: deep indigo rock in shadow, a warm rim where the sun catches it */
.alps > .alps__mid {
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, #5a3fb8, #2b2a8a 30%, #1a2070);
  clip-path: polygon(0% 62%, 0.5% 60.5%, 1.2% 59.0%, 1.9% 58.1%, 2.7% 57.3%, 3.4% 57.2%, 3.9% 57.0%, 4.4% 57.1%, 4.9% 57.0%, 5.7% 56.3%, 6.7% 56.2%, 7.5% 56.1%, 8.0% 55.8%, 8.6% 54.4%, 9.2% 53.3%, 9.7% 51.8%, 10% 50%, 10.7% 48.9%, 11.7% 47.3%, 13.4% 46.8%, 14.5% 46.0%, 15.6% 44.2%, 16.9% 43.1%, 17.5% 41.9%, 18.4% 40.2%, 19.1% 38.6%, 19.9% 36.7%, 20.3% 35.2%, 20.8% 33.5%, 21.4% 33.2%, 22.0% 33.0%, 22.9% 32.6%, 24% 32%, 24.9% 32.6%, 26.3% 33.6%, 27.2% 35.1%, 28.1% 36.2%, 28.9% 38.7%, 29.7% 41.3%, 31.1% 44.0%, 32.0% 47.2%, 32.8% 48.2%, 34.1% 49.4%, 34.7% 49.8%, 35.4% 50.6%, 36.2% 52.1%, 37.3% 53.7%, 38.7% 55.5%, 40% 58%, 40.6% 56.0%, 41.2% 53.7%, 42.3% 52.4%, 43.0% 50.9%, 44.4% 48.9%, 45.6% 46.8%, 46.5% 45.2%, 47.6% 44.3%, 48.6% 43.7%, 50.2% 42.3%, 51.6% 41.8%, 52.7% 40.6%, 53.5% 38.4%, 54.9% 36.0%, 56.5% 33.2%, 58% 30%, 58.9% 32.9%, 60.0% 35.2%, 61.1% 37.4%, 62.8% 39.5%, 63.9% 41.4%, 64.8% 42.8%, 66.3% 44.8%, 67.6% 46.4%, 68.6% 46.7%, 69.4% 46.4%, 70.5% 47.1%, 71.8% 47.5%, 73.3% 47.9%, 74.4% 47.5%, 75.2% 46.9%, 76% 46%, 76.7% 44.2%, 77.3% 42.4%, 78.1% 39.9%, 78.8% 37.6%, 79.4% 36.1%, 80.0% 34.4%, 80.7% 33.1%, 81.6% 31.6%, 83.5% 32.5%, 84.7% 32.6%, 85.9% 32.6%, 86.8% 32.8%, 87.5% 31.6%, 88.1% 30.3%, 89.0% 28.4%, 90% 26%, 90.4% 28.1%, 91.0% 30.1%, 91.5% 32.5%, 92.3% 34.8%, 92.8% 36.4%, 93.3% 38.2%, 93.7% 40.1%, 94.0% 42.0%, 94.7% 42.2%, 95.2% 42.0%, 95.9% 42.5%, 96.7% 43.4%, 97.3% 44.7%, 98.1% 45.9%, 98.9% 46.7%, 100% 48%, 100% 100%, 0 100%);
}
/* near ridge: snow, the same white as the page below, so the hero lands on the page */
.alps > .alps__near {
  inset: auto 0 -1px 0;
  height: 24%;
  background: linear-gradient(180deg, #f3f2ff, #fff 38%);
  clip-path: polygon(0% 60%, 0.5% 59.6%, 1.3% 59.2%, 2.3% 58.5%, 3.1% 57.5%, 3.9% 57.8%, 4.9% 57.7%, 5.6% 57.3%, 6.4% 56.9%, 7.1% 55.6%, 8.1% 54.6%, 8.5% 53.6%, 9.2% 52.7%, 9.9% 51.5%, 10.5% 50.0%, 11.1% 48.9%, 12% 48%, 13.0% 49.1%, 13.6% 50.3%, 14.7% 51.9%, 15.9% 53.7%, 17.4% 56.4%, 18.8% 58.6%, 20.5% 60.7%, 22.3% 63.0%, 22.8% 63.6%, 23.6% 63.9%, 24.4% 64.2%, 25.7% 64.4%, 26.9% 63.5%, 27.7% 62.9%, 29.0% 62.7%, 30% 62%, 31.7% 61.2%, 33.3% 60.1%, 34.2% 59.1%, 35.7% 58.3%, 36.5% 58.5%, 37.7% 58.4%, 38.7% 58.5%, 40.0% 58.6%, 41.6% 55.7%, 42.5% 52.4%, 43.8% 49.9%, 44.6% 47.6%, 45.6% 45.5%, 46.7% 43.2%, 47.3% 41.5%, 48% 40%, 49.0% 40.7%, 50.1% 41.8%, 50.8% 42.4%, 51.7% 42.6%, 52.4% 44.3%, 52.9% 45.8%, 54.0% 47.0%, 55.0% 48.4%, 55.8% 50.2%, 56.9% 52.1%, 58.2% 54.1%, 59.2% 55.6%, 60.4% 55.8%, 61.8% 55.7%, 64.2% 57.0%, 66% 58%, 67.1% 56.6%, 68.0% 55.0%, 69.3% 52.9%, 70.7% 50.5%, 71.9% 49.8%, 73.4% 49.2%, 75.4% 48.1%, 76.9% 46.7%, 78.1% 45.6%, 79.5% 44.0%, 80.5% 42.0%, 81.3% 39.9%, 81.8% 37.4%, 82.5% 34.8%, 83.2% 32.5%, 84% 30%, 85.1% 31.2%, 86.2% 32.2%, 87.3% 33.0%, 88.3% 33.5%, 89.3% 33.4%, 90.4% 33.1%, 92.2% 32.7%, 93.5% 31.8%, 94.4% 34.1%, 95.4% 36.1%, 96.3% 37.9%, 96.8% 39.6%, 97.6% 41.6%, 98.1% 43.3%, 99.0% 44.7%, 100% 46%, 100% 100%, 0 100%);
}

/* ---------- layout ---------- */
.hero--pass .hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  width: min(1280px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.hero--pass .hero__title { max-width: 10.5em; font-size: clamp(2.7rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; }
.hero--pass .hero__title em { display: inline-block; }
.hero--pass .lead { max-width: 42ch; margin-top: clamp(18px, 2vw, 26px); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: #dfe4ff; }
.hero--pass .btn-row { margin-top: clamp(24px, 3vw, 36px); }
.hero--pass .eyebrow { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); color: #fff; backdrop-filter: blur(8px); }

/* ---------- the pass ---------- */
.pass-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  perspective: 1400px;
}
.pass-ghost {
  position: absolute;
  inset: 3% -6% -2% 8%;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(6px);
  rotate: 7deg;
  transition: rotate 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s, opacity 1s ease 0.15s;
}
.pass {
  --ink: #0b1640;
  --muted: #5a6386;
  --hair: rgba(11, 22, 64, 0.1);
  position: relative;
  display: grid;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  filter: drop-shadow(0 34px 40px rgba(5, 10, 40, 0.45)) drop-shadow(0 0 40px rgba(255, 179, 92, 0.35));
  transform: rotate(-3deg) rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -5deg));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1s ease, translate 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .hero--pass:not(.go) .pass { opacity: 0; translate: 0 70px; }
.js .hero--pass:not(.go) .pass-ghost { opacity: 0; rotate: -3deg; }

.pass__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(110deg, #0b1640, #1d36d6 70%, #4c46e4);
  color: #fff;
}
.pass__brand { display: grid; font: 800 0.95rem/1.15 var(--font); letter-spacing: -0.01em; }
.pass__brand small, .pass__no { font: 700 0.66rem/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: #ffd29a; }
.pass__no { display: grid; justify-items: end; gap: 2px; }
.pass__no b { font-size: 1.05rem; letter-spacing: 0.02em; color: #fff; }

.pass__route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 22px 24px 18px;
}
.pass__pt { display: grid; margin: 0; }
.pass__pt b { font: 800 clamp(2.4rem, 3.6vw, 3.1rem)/1 var(--font); letter-spacing: -0.04em; }
.pass__pt span { margin-top: 6px; font: 600 0.74rem/1.3 var(--font); color: var(--muted); max-width: 12ch; }
.pass__pt--to { justify-items: end; text-align: right; }
.pass__pt--to b { color: #1f37d6; }
.pass__line {
  position: relative;
  align-self: start;
  height: 2px;
  margin-top: 1.5rem;
  background: repeating-linear-gradient(90deg, rgba(11, 22, 64, 0.35) 0 6px, transparent 6px 11px);
}
.pass__line::before, .pass__line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  translate: 0 -50%;
  border: 2px solid #0b1640;
  background: #fff;
}
.pass__line::before { left: -4px; }
.pass__line::after { right: -4px; border-color: #1f37d6; background: #1f37d6; }
/* the plane: a small amber arrow that flies the route once, then rests at the far end */
.pass__line i {
  position: absolute;
  top: 50%;
  left: calc(100% - 16px);
  width: 22px;
  height: 22px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #ffb35c;
  box-shadow: 0 0 0 5px rgba(255, 179, 92, 0.25), 0 6px 14px -4px rgba(180, 90, 20, 0.6);
  transition: left 2.2s cubic-bezier(0.45, 0, 0.2, 1) 0.9s;
}
.pass__line i::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0b1640;
  border-right: 2px solid #0b1640;
  rotate: 45deg;
  translate: -1px 0;
}
.js .hero--pass:not(.go) .pass__line i { left: 16px; transition: none; }

.pass__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--hair);
}
.pass__facts > div {
  display: grid;
  grid-template-areas: "k" "v" "d";
  align-content: start;
  padding: 14px 24px 16px;
}
.pass__facts > div:nth-child(odd) { border-right: 1px solid var(--hair); }
.pass__facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--hair); }
.pass__facts dt { display: contents; }
.pass__facts dt span { grid-area: k; font: 700 0.66rem/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: #1f37d6; }
.pass__facts dt small { grid-area: d; margin-top: 4px; font: 500 0.74rem/1.35 var(--font); color: var(--muted); }
.pass__facts dd { grid-area: v; margin: 6px 0 0; font: 800 clamp(1.5rem, 2.2vw, 1.9rem)/1 var(--font); letter-spacing: -0.035em; white-space: nowrap; color: var(--ink); }

.pass__stops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 16px 24px 18px;
  list-style: none;
  border-top: 1px solid var(--hair);
  counter-reset: stop;
  position: relative;
}
.pass__stops::before {
  content: "";
  position: absolute;
  left: calc(24px + 12.5% - 6px);
  right: calc(24px + 12.5% - 6px);
  top: 25px;
  height: 2px;
  background: linear-gradient(90deg, #1f37d6, #4c46e4 60%, #ffb35c);
}
.pass__stops li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  font: 700 0.78rem/1.2 var(--font);
  color: var(--ink);
  counter-increment: stop;
}
.pass__stops li::before {
  content: counter(stop);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #1f37d6;
  font: 800 0.62rem/1 var(--font);
  color: #1f37d6;
  position: relative;
}
.pass__stops li:first-child::before { background: #1f37d6; color: #fff; }
.pass__stops li:last-child::before { border-color: #e08a2c; color: #a3540f; }

/* the tear: the pass is cut in two, with real notches (masks), so the sky shows through */
.pass { background: none; }
.pass__route, .pass__facts, .pass__stops, .pass__stub { background: #fff; }
.pass__tear { display: none; }
.pass__stops {
  -webkit-mask: radial-gradient(circle 12px at 0 100%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 100%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
}
.pass__stub {
  position: relative;
  border-radius: 0 0 26px 26px;
  -webkit-mask: radial-gradient(circle 12px at 0 0, transparent 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 0, transparent 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
}
.pass__stub::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; border-top: 2px dashed rgba(11, 22, 64, 0.2); }

.pass__stub {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: end;
  gap: 22px;
  padding: 16px 24px 20px;
}
.pass__stub p { display: grid; gap: 4px; margin: 0; }
.pass__stub span { font: 700 0.62rem/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pass__stub b { font: 800 1rem/1.1 var(--font); color: var(--ink); white-space: nowrap; }
.pass__code {
  justify-self: end;
  width: min(100%, 120px);
  height: 40px;
  background:
    repeating-linear-gradient(90deg, #0b1640 0 2px, transparent 2px 4px, #0b1640 4px 5px, transparent 5px 8px, #0b1640 8px 11px, transparent 11px 12px, #0b1640 12px 13px, transparent 13px 16px);
  background-size: 33px 100%;
  border-radius: 2px;
  opacity: 0.9;
}

/* the honest stamp: this is a proposal, not a booked trip */
.pass__stamp {
  position: absolute;
  left: 50%;
  top: 146px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  padding: 6px 12px 5px;
  border: 2px solid #c2611a;
  border-radius: 10px;
  color: #a3540f;
  font: 800 0.68rem/1.1 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  rotate: -14deg;
  opacity: 0.82;
  mix-blend-mode: multiply;
  transition: scale 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) 1.9s, opacity 0.35s ease 1.9s;
}
.pass__stamp b { font-size: 0.95rem; letter-spacing: 0.12em; }
.js .hero--pass:not(.go) .pass__stamp { scale: 1.8; opacity: 0; transition: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .hero--pass .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; }
}
@media (max-width: 900px) {
  .hero--pass { --sun-x: 50%; min-height: 0; padding-top: calc(var(--header-h) + 76px); padding-bottom: 96px; }
  .hero--pass .hero__in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero--pass .btn-row { display: grid; gap: 12px; }
  .hero--pass .btn-row .btn { justify-content: center; }
  .pass-wrap { width: min(100%, 400px); }
  .pass { transform: rotate(-1.5deg); }
  .pass-ghost { inset: 2% 0 -1% 6%; rotate: 3deg; }
  .alps > .alps__far { height: 22%; }
  .alps > .alps__mid { height: 17%; }
  .alps > .alps__near { height: 10%; }
}
@media (max-width: 420px) {
  .pass__top, .pass__route, .pass__facts > div, .pass__stops, .pass__stub { padding-inline: 18px; }
  .pass__stub { gap: 14px; }
  .pass__stops::before { left: calc(18px + 12.5% - 6px); right: calc(18px + 12.5% - 6px); }
  .pass__stamp { top: 142px; }
}
@media (prefers-reduced-motion: reduce) {
  .alps > .alps__sun, .pass, .pass-ghost, .pass__line i, .pass__stamp { transition: none; }
  .js .hero--pass:not(.go) :is(.pass, .pass-ghost, .pass__stamp) { opacity: 1; translate: none; scale: none; }
  .js .hero--pass:not(.go) .alps__sun { translate: -50% 50%; opacity: 1; }
  .js .hero--pass:not(.go) .pass__line i { left: calc(100% - 16px); }
}

/* ---------- v6.1 (11-15): full screen, drifting mist, and a postcard that trades places with the pass ---------- */
.hero--pass { min-height: 100svh; display: grid; align-items: center; }
.alps > .alps__mist {
  inset: auto -20% 14% -20%;
  height: 26%;
  background:
    radial-gradient(30% 40% at 20% 60%, rgba(255, 240, 250, 0.32), transparent 70%),
    radial-gradient(26% 36% at 62% 50%, rgba(230, 220, 255, 0.28), transparent 70%),
    radial-gradient(22% 30% at 92% 64%, rgba(255, 230, 210, 0.26), transparent 70%);
  filter: blur(10px);
  animation: alps-mist 38s ease-in-out infinite alternate;
}
@keyframes alps-mist { from { translate: -6% 0; } to { translate: 6% -6%; } }
.alps::before { animation: alps-twinkle 5s ease-in-out infinite alternate; }
@keyframes alps-twinkle { to { opacity: 0.55; } }

.pass-wrap { display: grid; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pass-wrap > .pass, .pass-wrap > .post { grid-area: 1 / 1; }
.pass { z-index: 2; }
.post {
  z-index: 1;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 26px;
  overflow: hidden;
  background: #fffaf3;
  color: #0b1640;
  box-shadow: 0 34px 60px -30px rgba(5, 10, 40, 0.6);
  rotate: 8deg;
  translate: 10% -5%;
  scale: 0.9;
  opacity: 0.92;
  transition: opacity 1s ease 0.5s;
}
.js .hero--pass:not(.go) .post { opacity: 0; }
.post__scene {
  position: relative;
  overflow: hidden;
  min-height: 52%;
  background: linear-gradient(180deg, #142cc0 0%, #6a4fd8 48%, #ff9f7a 82%, #ffd29a 100%);
}
.post__sun {
  position: absolute;
  left: 62%;
  bottom: 22%;
  width: 34%;
  aspect-ratio: 1;
  translate: -50% 50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3dc 0 30%, rgba(255, 210, 154, 0.6) 46%, transparent 70%);
  animation: post-sun 7s ease-in-out infinite alternate;
}
@keyframes post-sun { to { translate: -50% 30%; } }
.post__peaks {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, #f6f3ff, #fff 60%);
  clip-path: polygon(0 70%, 12% 46%, 22% 58%, 36% 22%, 46% 40%, 55% 30%, 68% 6%, 80% 34%, 90% 26%, 100% 44%, 100% 100%, 0 100%);
}
.post__title {
  position: absolute;
  left: 22px;
  top: 20px;
  color: #fff;
  font: 800 clamp(2.4rem, 4vw, 3.4rem) / 0.9 var(--font);
  letter-spacing: -0.045em;
  text-shadow: 0 8px 30px rgba(8, 19, 74, 0.45);
}
.post__title small { display: block; margin-top: 8px; font: 700 0.72rem/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.9; }
.post__back { position: relative; display: grid; gap: 10px; padding: 20px 22px 24px; }
.post__note { margin: 0 4.6rem 4px 0; font: 600 0.95rem/1.5 var(--font); color: #2a3563; }
.post__to { margin: 0; padding-top: 8px; border-top: 1px dashed rgba(11, 22, 64, 0.18); font: 700 0.86rem/1.3 var(--font); }
.post__to span { display: inline-block; width: 4.4em; font: 800 0.66rem/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: #c2611a; }
.post__stamp {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 4 / 5;
  border: 2px dashed rgba(35, 64, 232, 0.5);
  border-radius: 6px;
  background: rgba(35, 64, 232, 0.06);
  color: #2340e8;
  font: 800 0.8rem/1 var(--font);
  letter-spacing: 0.1em;
  rotate: 6deg;
}
.post__stamp b { display: block; font-size: 0.66rem; letter-spacing: 0.14em; color: #c2611a; }

/* the deal: front card swings out to the side and slides behind; z-index flips mid-swing */
.show-post .post { animation: deal-front 1s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
.show-post .pass { animation: deal-back 1s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
.show-pass .pass { animation: deal-front-pass 1s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
.show-pass .post { animation: deal-back-post 1s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
@keyframes deal-back {
  0% { z-index: 2; translate: 0 0; scale: 1; }
  45% { z-index: 2; translate: 58% 2%; rotate: 9deg; scale: 0.96; }
  55% { z-index: 1; }
  100% { z-index: 1; translate: 10% -5%; rotate: 8deg; scale: 0.9; opacity: 0.92; }
}
@keyframes deal-front {
  0% { z-index: 1; translate: 10% -5%; scale: 0.9; opacity: 0.92; rotate: 0deg; }
  45% { z-index: 1; translate: -34% 3%; rotate: -10deg; scale: 0.96; opacity: 1; }
  55% { z-index: 2; }
  100% { z-index: 2; translate: 0 0; rotate: -7deg; scale: 1; opacity: 1; }
}
@keyframes deal-front-pass {
  0% { z-index: 1; translate: 10% -5%; rotate: 8deg; scale: 0.9; opacity: 0.92; }
  45% { z-index: 1; translate: -34% 3%; rotate: -4deg; scale: 0.96; opacity: 1; }
  55% { z-index: 2; }
  100% { z-index: 2; translate: 0 0; rotate: 0deg; scale: 1; opacity: 1; }
}
@keyframes deal-back-post {
  0% { z-index: 2; translate: 0 0; rotate: -7deg; scale: 1; opacity: 1; }
  45% { z-index: 2; translate: 58% 2%; rotate: 2deg; scale: 0.96; }
  55% { z-index: 1; }
  100% { z-index: 1; translate: 10% -5%; rotate: 0deg; scale: 0.9; opacity: 0.92; }
}
@media (max-width: 900px) {
  .hero--pass { min-height: 100svh; }
  .alps > .alps__far { height: 30%; }
  .alps > .alps__mid { height: 22%; }
  .alps > .alps__near { height: 13%; }
  .post { translate: 6% -4%; }
}
@media (prefers-reduced-motion: reduce) {
  .alps > .alps__mist, .alps::before, .post__sun { animation: none; }
  .show-post .post, .show-post .pass, .show-pass .pass, .show-pass .post { animation-duration: 0.01s; }
  .js .hero--pass:not(.go) .post { opacity: 0.92; }
}

/* the fact numbers fit their cell at every width (home + ddgip) */
.pass__facts > div { container-type: inline-size; min-width: 0; }
.pass__facts dd { font-size: clamp(1.1rem, 19cqi, 1.9rem); }
