/* Alps Sixes Open 2027
   The site wears the campaign: sky blue with mirrored peaks, the yellow sun of the badge,
   cream and white wide capitals, navy from the mountain. */

:root {
  --sky: #36acf9;        /* centre glow of the campaign backgrounds */
  --blue: #2f86d6;       /* campaign field */
  --blue-edge: #3270b8;  /* edges of the campaign backgrounds */
  --deep: #1f467c;       /* lower slopes of the badge */
  --night: #1b2235;      /* the mountain in the badge */
  --sun: #fac81b;        /* the badge's sun disc */
  --cream: #fce596;      /* campaign lettering */
  --snow: #f4f9fe;
  --white: #ffffff;
  --ink: #1b2235;
  --muted: #4d5a70;
  --line: rgba(27, 34, 53, .14);

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-type: 0 3px 0 rgba(16, 48, 96, .28), 0 10px 28px rgba(16, 48, 96, .28);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --pad: clamp(72px, 10vw, 136px);
  --r: 6px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  font-stretch: 100%; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--sun); color: var(--night); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--night); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* type: wide black capitals, as on every campaign visual */
.display {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: .005em; line-height: .95;
  text-wrap: balance;
}
.cream { color: var(--cream); }
.sun { color: var(--sun); }

/* grounds */
.sky {
  color: var(--white);
  background-color: var(--blue);
  background-image:
    url("../img/peaks-sky.png"),
    radial-gradient(ellipse 70% 60% at 50% 45%, var(--sky) 0%, var(--blue) 55%, var(--blue-edge) 100%);
  background-size: 276px 464px, cover;
}
.deep {
  color: var(--white);
  background-color: var(--deep);
  background-image: url("../img/peaks-deep.png");
  background-size: 276px 464px;
}
.night { color: #c9d4e6; background: var(--night); }
.snow { background: var(--snow); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r);
  font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: .95rem;
  letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}
.btn:active { transform: translateY(2px); }
.btn--sun { background: var(--sun); color: var(--night); box-shadow: 0 4px 0 #c99a00; }
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #c99a00; }
.btn--sun:active { transform: translateY(3px); box-shadow: 0 1px 0 #c99a00; }
.btn--navy { background: var(--night); color: var(--white); box-shadow: 0 4px 0 #000a1e; }
.btn--navy:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #000a1e; }
.btn--navy:active { transform: translateY(3px); box-shadow: 0 1px 0 #000a1e; }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .8); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--big { min-height: 60px; padding: 16px 30px; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.nav.is-solid { background: rgba(31, 70, 124, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .12); }
.nav__bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1rem; letter-spacing: .01em; }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--sun); }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; background: linear-gradient(var(--sun), var(--sun)) left bottom / 0 2px no-repeat; transition: background-size 220ms var(--ease); }
.nav__links a:hover { background-size: 100% 2px; }
.nav__cta { min-height: 44px; padding: 10px 18px; font-size: .85rem; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .7); border-radius: var(--r); background: transparent; color: var(--white); padding: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform 200ms ease, top 200ms ease; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 128px 0 96px; min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--gutter); align-items: center; }
.hero__date { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--cream); text-shadow: var(--shadow-type); margin-bottom: 22px; letter-spacing: .02em; }
.hero__date span { display: block; color: var(--white); font-size: .78em; margin-top: 4px; }
.hero h1 { font-size: clamp(3.5rem, 9.6vw, 9rem); line-height: .86; text-shadow: var(--shadow-type); letter-spacing: -.005em; }
.hero__line { color: var(--cream); font-size: clamp(1.6rem, 3.4vw, 3rem); margin-top: 18px; text-shadow: var(--shadow-type); }
.hero__lead { max-width: 34rem; margin-top: 22px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .94); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__art { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 1; }
.hero__badge { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 8px rgba(252, 229, 150, .9), 0 30px 60px rgba(10, 40, 90, .35); }
.hero__ticket { position: absolute; left: -16%; bottom: -14%; width: 54%; padding: 8px; background: var(--white); border-radius: 4px; transform: rotate(-5deg); box-shadow: 0 18px 40px rgba(10, 40, 90, .35); }
.hero__ticket img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 45%; border-radius: 2px; }

/* the one load moment: the sun badge rises, the photo lands on it */
@media (prefers-reduced-motion: no-preference) {
  .hero__badge { animation: rise 1100ms var(--ease) both; }
  .hero__ticket { animation: land 900ms 450ms var(--ease) both; }
  .hero__text > * { animation: fadeup 700ms var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: 80ms; }
  .hero__text > :nth-child(3) { animation-delay: 200ms; }
  .hero__text > :nth-child(4) { animation-delay: 280ms; }
  .hero__text > :nth-child(5) { animation-delay: 360ms; }
  .hero.sky { animation: drift 120s linear infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18%) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes land { from { opacity: 0; transform: translate(-14%, 10%) rotate(-14deg); } to { opacity: 1; transform: rotate(-5deg); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { background-position: 0 0, center; } to { background-position: 276px 464px, center; } }

/* ---------- facts ---------- */
.facts { background: var(--sun); color: var(--night); border-block: 3px solid var(--night); }
.facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts__list li { padding: 22px 18px; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid rgba(27, 34, 53, .22); }
.facts__list li:first-child { border-left: 0; padding-left: 0; }
.facts__list strong { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.25rem, 2.3vw, 2rem); line-height: 1; }
.facts__list span { font-weight: 600; font-size: .95rem; }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); text-shadow: var(--shadow-type); }
.head__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 30rem; }

/* ---------- weekend ---------- */
.weekend { padding: var(--pad) 0; }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); counter-reset: day; }
.day { position: relative; }
.day__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); box-shadow: 0 0 0 3px rgba(252, 229, 150, .0); transition: box-shadow 200ms ease; }
.day__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.day:hover .day__photo img { transform: scale(1.03); }
.day__photo--medal { background: var(--white); }
.day__photo--medal img { object-fit: contain; padding: 6%; }
.day__name { font-size: clamp(2rem, 3.2vw, 3rem); color: var(--cream); margin: 22px 0 10px; position: relative; text-shadow: 0 4px 0 rgba(10, 20, 45, .45), 0 10px 26px rgba(10, 20, 45, .45); }
.day h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.day p:not(.day__name) { color: rgba(255, 255, 255, .86); }
.chant { margin-top: clamp(56px, 8vw, 96px); font-size: clamp(1.6rem, 4.2vw, 3.6rem); line-height: 1.05; text-align: center; color: var(--white); text-shadow: var(--shadow-type); }

/* ---------- format ---------- */
.format { padding: var(--pad) 0; }
.format__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.format h2 { font-size: clamp(3rem, 7.4vw, 6.6rem); text-shadow: var(--shadow-type); margin-bottom: 30px; }
.callouts { display: grid; gap: 18px; }
.callouts li { color: var(--cream); font-size: clamp(1.35rem, 2.6vw, 2.25rem); line-height: 1.02; text-shadow: var(--shadow-type); }
.format__note { margin-top: 28px; color: rgba(255, 255, 255, .9); font-size: 1rem; }

.sheet { background: var(--white); color: var(--ink); border-radius: 10px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 30px 60px rgba(10, 40, 90, .3); position: relative; }
.sheet::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(47, 134, 214, .28); border-radius: 6px; pointer-events: none; }
.sheet__rows > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet__rows > div:first-child { padding-top: 0; }
.sheet__rows dt { font-family: var(--display); font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: .82rem; letter-spacing: .03em; color: var(--blue); padding-top: 3px; }
.sheet__rows dd { font-weight: 600; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.price { border: 2px solid var(--line); border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.price--early { background: var(--sun); border-color: var(--sun); }
.price__tag { font-size: .85rem; font-weight: 700; }
.price strong { font-size: clamp(2.2rem, 3.8vw, 3.1rem); line-height: 1; }
.price span:last-child { font-size: .9rem; color: var(--muted); }
.price--early span:last-child { color: var(--night); }
.sheet__cta { width: 100%; margin-top: 22px; position: relative; }

/* ---------- who joins ---------- */
.join { padding: var(--pad) 0; }
.join__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.join h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--deep); }
.join__intro > p { margin-top: 20px; font-size: 1.12rem; max-width: 30rem; color: var(--muted); }
.join__intro a { color: var(--deep); font-weight: 700; }
.join__photo { margin-top: 32px; border-radius: var(--r); overflow: hidden; transform: rotate(1.5deg); box-shadow: 0 0 0 8px var(--white), 0 20px 44px rgba(31, 70, 124, .22); }
.join__photo img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; }
.routes { border-top: 3px solid var(--night); }
.routes a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 14px; border-bottom: 2px solid var(--line); text-decoration: none;
  background: linear-gradient(var(--sun), var(--sun)) left / 0 100% no-repeat;
  transition: background-size 320ms var(--ease), padding 320ms var(--ease);
}
.routes a:hover, .routes a:focus-visible { background-size: 100% 100%; padding-left: 22px; }
.routes__name { font-size: clamp(1.3rem, 2.6vw, 2.2rem); color: var(--night); }
.routes__go { flex: none; font-weight: 700; font-size: .95rem; color: var(--deep); display: inline-flex; gap: .4em; align-items: center; }
.routes__go::after { content: "→"; transition: transform 200ms var(--ease); }
.routes a:hover .routes__go::after { transform: translateX(4px); }

/* ---------- grenoble ---------- */
.grenoble { padding: 0 0 var(--pad); }
.grenoble__pano { height: clamp(220px, 34vw, 460px); overflow: hidden; }
.grenoble__pano img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.grenoble__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); margin-top: clamp(-120px, -8vw, -60px); position: relative; }
.grenoble h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); text-shadow: var(--shadow-type); background: var(--deep); padding: 28px 28px 0 0; }
.grenoble__lead { margin-top: 22px; font-size: 1.2rem; font-weight: 600; color: var(--white); }
.grenoble__cars { margin-top: 28px; border-radius: var(--r); overflow: hidden; }
.grenoble__cars img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; }
.trip { align-self: end; }
.trip__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.trip__rows li:first-child { border-top: 1px solid rgba(255, 255, 255, .2); }
.trip__rows strong { font-family: var(--display); font-weight: 900; font-stretch: 120%; text-transform: uppercase; color: var(--cream); font-size: 1.15rem; white-space: nowrap; }
.venue { margin-top: 32px; padding: 26px; border-radius: 10px; background: rgba(10, 25, 55, .45); border: 2px solid rgba(252, 229, 150, .35); }
.venue__label { font-weight: 700; color: var(--sun); font-size: .92rem; }
.venue__name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 6px 0 10px; }
.venue p:not(.venue__name):not(.venue__label) { color: rgba(255, 255, 255, .86); margin-bottom: 20px; }

/* ---------- register ---------- */
.register { background: var(--sun); color: var(--night); padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; border-block: 3px solid var(--night); }
.register__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 56px); align-items: center; }
.register__badge { width: clamp(150px, 16vw, 230px); border-radius: 50%; box-shadow: 0 0 0 6px var(--night); }
.register__kicker { font-weight: 800; margin-bottom: 12px; }
.register h2 { font-size: clamp(2.4rem, 5.6vw, 5.2rem); line-height: .9; }
.register__text > p:last-child { margin-top: 18px; max-width: 34rem; font-size: 1.08rem; }
.register__text a { font-weight: 700; }
.register__offer { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.register__price { font-size: clamp(3rem, 6vw, 5.4rem); line-height: .9; }
.register__price span { display: block; font-family: var(--text); font-stretch: 100%; font-weight: 700; text-transform: none; font-size: 1rem; margin-top: 8px; letter-spacing: 0; }

/* ---------- faq ---------- */
.faq { padding: var(--pad) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--deep); }
.faq details { border-bottom: 2px solid var(--line); }
.faq details:first-child { border-top: 3px solid var(--night); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-weight: 800; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 1.3rem; font-weight: 700; transition: transform 220ms var(--ease), background-color 220ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); color: var(--night); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 40rem; }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gutter); }
.footer__brand img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 3px var(--sun); }
.footer__brand .display { color: var(--cream); font-size: 1.6rem; margin-top: 18px; }
.footer__small { margin-top: 8px; font-size: .95rem; }
.footer h3 { font-family: var(--display); font-weight: 900; font-stretch: 120%; text-transform: uppercase; font-size: .9rem; color: var(--white); margin-bottom: 14px; letter-spacing: .03em; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }

.mobilebar { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: .92rem; }
}
@media (max-width: 899px) {
  .nav__toggle { display: inline-block; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--deep); padding: 8px var(--gutter) 20px; display: none;
    box-shadow: 0 18px 30px rgba(10, 25, 55, .3);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav.menu-open { background: var(--deep); }

  .hero { padding: 108px 0 72px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__art { width: min(78vw, 440px); margin-left: 10%; }
  .head, .format__grid, .join__grid, .grenoble__grid, .faq__grid { grid-template-columns: 1fr; }
  .days { grid-template-columns: 1fr; gap: 48px; }
  .day__photo { aspect-ratio: 16 / 10; }
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__list li:nth-child(n+3) { border-top: 2px solid rgba(27, 34, 53, .22); }
  .register__grid { grid-template-columns: 1fr; justify-items: start; }
  .grenoble h2 { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 559px) {
  body { padding-bottom: 76px; }
  .nav__brand span { font-size: .9rem; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .facts__list li { padding: 16px 12px; }
  .sheet__rows > div { grid-template-columns: 1fr; gap: 2px; }
  .prices { grid-template-columns: 1fr; }
  .routes a { padding: 16px 4px; }
  .routes__go { font-size: .85rem; }
  .trip__rows li { flex-direction: column; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .mobilebar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    box-shadow: 0 4px 0 #c99a00, 0 12px 28px rgba(10, 25, 55, .35);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}

/* ---------- date sticker on the badge ---------- */
.hero__sticker {
  position: absolute; top: -9%; right: -9%; width: 28%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background: var(--sun); color: var(--night); border: 4px solid var(--night);
  font-family: var(--display); font-weight: 900; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(.7rem, 1.25vw, 1.05rem); line-height: 1; transform: rotate(10deg);
  box-shadow: 0 10px 24px rgba(10, 40, 90, .35);
}
.hero__sticker span { font-stretch: 125%; font-size: 1.85em; }
@media (prefers-reduced-motion: no-preference) {
  .hero__sticker { animation: stamp 520ms 900ms cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes stamp { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } to { opacity: 1; transform: rotate(10deg) scale(1); } }

/* ---------- closing band ---------- */
.closing { position: relative; overflow: hidden; color: var(--white); text-align: center; padding: clamp(96px, 13vw, 180px) 0; background: var(--deep); isolation: isolate; }
.closing__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 70, 124, .05) 0%, rgba(31, 70, 124, .25) 45%, rgba(27, 34, 53, .82) 100%); }
.closing__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing__kicker { color: var(--cream); font-size: clamp(.95rem, 1.6vw, 1.3rem); text-shadow: var(--shadow-type); }
.closing h2 { font-size: clamp(3rem, 9vw, 8rem); line-height: .88; text-shadow: var(--shadow-type); }
.closing__date { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }

/* =========================================================
   Inner pages
   ========================================================= */
.nav__links a[aria-current="page"] { background-size: 100% 2px; color: var(--cream); }

/* page head: the campaign ground, the page name set like a story title */
.pagehead { position: relative; overflow: hidden; padding: 156px 0 84px; }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gutter); align-items: end; }
.pagehead__kicker { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; color: var(--cream); text-shadow: var(--shadow-type); font-size: clamp(.95rem, 1.4vw, 1.15rem); margin-bottom: 16px; }
.pagehead h1 { font-size: clamp(2.8rem, 7.4vw, 6.6rem); line-height: .9; text-shadow: var(--shadow-type); }
.pagehead__lead { max-width: 40rem; margin-top: 22px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .94); }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pagehead__badge { width: clamp(150px, 17vw, 240px); border-radius: 50%; box-shadow: 0 0 0 6px rgba(252, 229, 150, .9), 0 24px 48px rgba(10, 40, 90, .35); transform: rotate(-6deg); }
@media (prefers-reduced-motion: no-preference) {
  .pagehead__badge { animation: rise 900ms var(--ease) both; }
  .pagehead__text > * { animation: fadeup 650ms var(--ease) both; }
  .pagehead__text > :nth-child(2) { animation-delay: 90ms; }
  .pagehead__text > :nth-child(3) { animation-delay: 180ms; }
  .pagehead__text > :nth-child(4) { animation-delay: 260ms; }
}

/* generic content section */
.block { padding: var(--pad) 0; }
.block--tight { padding: clamp(56px, 7vw, 96px) 0; }
.block h2.display { font-size: clamp(2.2rem, 4.8vw, 4.2rem); }
.snow h2.display { color: var(--deep); }
.sky h2.display, .deep h2.display { text-shadow: var(--shadow-type); }
.prose { max-width: 40rem; font-size: 1.1rem; }
.prose p + p { margin-top: 14px; }
.snow .prose { color: var(--muted); }
.deep .prose, .sky .prose { color: rgba(255, 255, 255, .9); }
.more { display: inline-flex; align-items: center; gap: .5em; margin-top: 28px; font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--sun); padding-bottom: 4px; }
.more::after { content: "→"; transition: transform 200ms var(--ease); }
.more:hover::after { transform: translateX(4px); }
.snow .more { color: var(--deep); }

/* text beside a photograph */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__photo { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 8px var(--white), 0 20px 44px rgba(31, 70, 124, .22); transform: rotate(-1.5deg); }
.split--flip .split__photo { transform: rotate(1.5deg); }
.deep .split__photo, .sky .split__photo { box-shadow: 0 0 0 8px var(--white), 0 24px 50px rgba(5, 20, 50, .45); }
.split__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split h2 + .prose, .split h2 + p { margin-top: 20px; }

/* three plain points under a heading */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 56px); }
.points li { border-top: 4px solid var(--sun); padding-top: 18px; }
.points h3 { font-family: var(--display); font-weight: 900; font-stretch: 120%; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 8px; line-height: 1.1; }
.snow .points h3 { color: var(--deep); }
.snow .points p { color: var(--muted); }
.deep .points p, .sky .points p { color: rgba(255, 255, 255, .88); }

/* timetable */
.timetable { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 3px solid var(--night); border-radius: 10px; overflow: hidden; background: var(--white); color: var(--ink); }
.timetable > div { padding: 24px 22px; border-left: 2px solid var(--line); }
.timetable > div:first-child { border-left: 0; }
.timetable__day { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.5rem; color: var(--deep); line-height: 1; }
.timetable__time { display: block; margin: 10px 0 8px; font-weight: 800; color: var(--blue); }
.timetable p { color: var(--muted); font-size: 1rem; }
.timetable > div:nth-child(3) { background: var(--sun); }
.timetable > div:nth-child(3) .timetable__day, .timetable > div:nth-child(3) .timetable__time, .timetable > div:nth-child(3) p { color: var(--night); }

/* who joins: one block per route */
.route { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0; border-top: 3px solid var(--night); }
.route:first-child { border-top: 0; padding-top: 0; }
.route h2.display { font-size: clamp(1.35rem, 2.2vw, 2.1rem); color: var(--deep); }
.route__tag { display: inline-block; margin-top: 14px; background: var(--sun); color: var(--night); font-weight: 800; padding: 6px 12px; border-radius: 4px; font-size: .95rem; }
.route__body > p { font-size: 1.12rem; color: var(--muted); max-width: 36rem; }
.route .points { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.route .points h3 { font-size: 1rem; }
.route .btn { margin-top: 30px; }
.jumpnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jumpnav a { text-decoration: none; font-weight: 800; font-size: .92rem; padding: 10px 14px; border-radius: 4px; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .5); transition: background-color 160ms ease, color 160ms ease; }
.jumpnav a:hover { background: var(--sun); color: var(--night); border-color: var(--sun); }

/* steps of the registration: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; margin-top: clamp(36px, 5vw, 56px); }
.steps li { position: relative; background: var(--white); color: var(--ink); border-radius: 10px; padding: 64px 26px 28px; box-shadow: 0 20px 44px rgba(10, 40, 90, .22); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -26px; left: 22px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--night); border: 4px solid var(--night); font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 1.7rem; }
.steps h3 { font-family: var(--display); font-weight: 900; font-stretch: 120%; text-transform: uppercase; font-size: 1.25rem; color: var(--deep); margin-bottom: 10px; line-height: 1.05; }
.steps p { color: var(--muted); }
.mailbox { margin-top: 18px; padding: 14px 16px; border-radius: 6px; background: var(--snow); border: 2px dashed rgba(47, 134, 214, .35); font-size: .98rem; color: var(--ink); }
.mailbox strong { display: block; font-size: .85rem; color: var(--blue); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }

/* home teasers */
.teaser-routes .routes a { padding-block: 16px; }

@media (max-width: 899px) {
  .pagehead { padding: 124px 0 64px; }
  .pagehead__grid { grid-template-columns: 1fr; }
  .pagehead__badge { display: none; }
  .split, .route { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .points, .route .points, .steps { grid-template-columns: 1fr; }
  .steps { gap: 48px; }
  .timetable { grid-template-columns: 1fr 1fr; }
  .timetable > div:nth-child(3) { border-left: 0; }
  .timetable > div:nth-child(n+3) { border-top: 2px solid var(--line); }
}
@media (max-width: 559px) {
  .timetable { grid-template-columns: 1fr; }
  .timetable > div { border-left: 0; border-top: 2px solid var(--line); }
  .timetable > div:first-child { border-top: 0; }
}

/* small utilities used by several pages */
.center { text-align: center; }
.section-lead { margin: 18px 0 40px; }
.section-title { margin-bottom: 48px; }
.trip__note { margin-top: 16px; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.faq__grid--next { margin-top: clamp(56px, 7vw, 96px); }
.faq details p a { color: var(--deep); font-weight: 700; }
.nav__cta[aria-current="page"] { box-shadow: 0 4px 0 #c99a00, 0 0 0 3px var(--white); }
.grenoble .points { margin-top: 32px; }

/* the follow band on the register page: a smaller title, so the button keeps its own column */
.register--follow h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.register--follow .register__grid { grid-template-columns: auto minmax(0, 1fr) auto; }
@media (max-width: 899px) { .register--follow .register__grid { grid-template-columns: 1fr; } }
