:root {
  color-scheme: light;
  --ink: #151719;
  --muted: #58636c;
  --line: #d7dee2;
  --paper: #f8f8f4;
  --white: #ffffff;
  --sky: #8ed0ec;
  --signal: #d9363e;
  --grass: #5a9a67;
  --sun: #e0a326;
  --runway: #22272b;
  --shadow: 0 24px 70px rgba(19, 31, 39, 0.16);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body[data-lang="fr"] [data-lang="en"],
body[data-lang="en"] [data-lang="fr"] {
  display: none !important;
}

.icon {
  display: block;
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--signal);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(12, 16, 18, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
  transform: translateY(1px);
}

.brand-text {
  display: block;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.91rem;
  font-weight: 720;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.lang-button {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 64px) clamp(20px, 6vw, 84px) 132px;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 9, 12, 0.9) 0%, rgba(5, 9, 12, 0.63) 45%, rgba(5, 9, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 9, 12, 0.56), rgba(5, 9, 12, 0.1));
}

.runway-line {
  position: absolute;
  right: clamp(28px, 9vw, 136px);
  bottom: -52px;
  z-index: -1;
  width: clamp(92px, 9vw, 148px);
  height: 78%;
  border-left: 2px solid rgba(255, 255, 255, 0.32);
  border-right: 2px solid rgba(255, 255, 255, 0.32);
  transform: rotate(6deg);
}

.runway-line::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 3px);
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.82) 0 46px,
    transparent 46px 96px
  );
}

.hero-content {
  width: min(780px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sky);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(3.25rem, 8.6vw, 8.7rem);
  font-weight: 930;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.7rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  font-weight: 850;
}

.hero-place {
  margin: 14px 0 0;
  color: var(--white);
  font-size: clamp(1.18rem, 1.85vw, 1.72rem);
  font-weight: 760;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 850;
}

.button.primary {
  color: var(--white);
  background: var(--signal);
  box-shadow: 0 16px 38px rgba(217, 54, 62, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.highlight {
  border-color: rgba(224, 163, 38, 0.68);
  background: rgba(224, 163, 38, 0.16);
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  transform: translateY(-1px);
}

.flight-strip {
  position: absolute;
  left: clamp(16px, 4vw, 52px);
  right: clamp(16px, 4vw, 52px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(248, 248, 244, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.flight-strip > * {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 22px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.flight-strip > *:last-child {
  border-right: 0;
}

.flight-tile:hover,
.flight-tile:focus-visible {
  color: var(--ink);
  background: rgba(142, 208, 236, 0.22);
}

.flight-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--signal);
  background:
    linear-gradient(135deg, rgba(217, 54, 62, 0.14), rgba(142, 208, 236, 0.2));
  border: 1px solid rgba(217, 54, 62, 0.18);
  border-radius: 50%;
}

.flight-copy {
  min-width: 0;
}

.flight-strip .flight-label {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flight-strip strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.16;
}

.section {
  padding: clamp(74px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  background:
    linear-gradient(90deg, rgba(142, 208, 236, 0.26), transparent 46%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: end;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.65vw, 1.45rem);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 32px;
  max-width: none;
  align-items: end;
}

.schedule-note {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.activity-grid,
.info-grid,
.club-grid {
  display: grid;
  gap: 18px;
}

.activity-grid {
  grid-template-columns: repeat(4, 1fr);
}

.activity-card,
.info-card,
.club-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.activity-card {
  min-height: 250px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.activity-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: 22px;
  width: 118px;
  height: 2px;
  background: var(--sky);
  transform: rotate(-28deg);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
}

.card-number {
  display: inline-block;
  color: var(--signal);
  font-size: 0.8rem;
  font-weight: 950;
}

.icon-badge,
.info-icon,
.contest-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-badge {
  width: 42px;
  height: 42px;
  color: var(--runway);
  background: rgba(142, 208, 236, 0.18);
  border: 1px solid rgba(142, 208, 236, 0.42);
  border-radius: 50%;
}

.activity-card p,
.info-card p,
.map-copy p {
  margin: 16px 0 0;
  color: var(--muted);
}

.contest-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(26px, 4vw, 44px);
  scroll-margin-top: calc(var(--header-height) + 22px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(34, 39, 43, 0.92), rgba(34, 39, 43, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(255, 255, 255, 0.08) 62px 64px);
  border-left: 7px solid var(--sun);
  border-radius: 8px;
}

.contest-panel .section-kicker {
  color: var(--sun);
}

.contest-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.contest-icon {
  width: 48px;
  height: 48px;
  color: var(--sun);
  background: rgba(224, 163, 38, 0.14);
  border: 1px solid rgba(224, 163, 38, 0.38);
  border-radius: 50%;
}

.contest-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.contest-panel a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-underline-offset: 4px;
}

.schedule-section {
  color: var(--white);
  background:
    linear-gradient(rgba(18, 24, 28, 0.96), rgba(18, 24, 28, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 68px, rgba(142, 208, 236, 0.1) 68px 70px),
    var(--runway);
}

.schedule-section .section-kicker,
.schedule-section .schedule-note {
  color: var(--sky);
}

.timeline {
  --timeline-axis: 108px;
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: var(--timeline-axis);
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--sky);
  opacity: 0.54;
  transform: translateX(-50%);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 42px;
  align-items: center;
  min-height: 72px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: var(--timeline-axis);
  width: 16px;
  height: 16px;
  background: var(--signal);
  border: 4px solid var(--runway);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline time {
  color: var(--sun);
  font-size: 1.25rem;
  font-weight: 900;
}

.timeline span {
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
  font-weight: 720;
}

.practical-section {
  background: var(--white);
}

.info-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  min-height: 250px;
  padding: 24px;
}

.info-top {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 38px;
  margin-bottom: 26px;
}

.info-icon {
  width: 38px;
  height: 38px;
  color: var(--grass);
  background: rgba(90, 154, 103, 0.1);
  border: 1px solid rgba(90, 154, 103, 0.22);
  border-radius: 50%;
}

.info-label {
  display: block;
  color: var(--grass);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.link-list a,
.info-card > a {
  color: var(--signal);
  font-weight: 850;
}

.map-section {
  background:
    linear-gradient(180deg, rgba(248, 248, 244, 0.74), rgba(248, 248, 244, 1)),
    repeating-linear-gradient(90deg, rgba(21, 23, 25, 0.07) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(21, 23, 25, 0.07) 0 1px, transparent 1px 76px);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.72fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: start;
}

.map-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.map-address {
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.event-map {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-map img {
  width: 100%;
  height: auto;
}

.event-map figcaption {
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.clubs-section {
  background: var(--paper);
}

.club-grid {
  grid-template-columns: repeat(3, 1fr);
}

.club-card {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 28px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.club-card:hover,
.club-card:focus-visible {
  color: inherit;
  border-color: var(--signal);
  box-shadow: 0 18px 44px rgba(21, 23, 25, 0.12);
  transform: translateY(-2px);
}

.club-card img {
  max-height: 98px;
  object-fit: contain;
}

.club-card-lausanne img {
  max-height: 136px;
}

.sponsors-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.sponsors-layout {
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(142, 208, 236, 0.17), rgba(248, 248, 244, 0.9)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sponsors-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.sponsor-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--signal);
  background: rgba(217, 54, 62, 0.1);
  border: 1px solid rgba(217, 54, 62, 0.2);
  border-radius: 50%;
}

.sponsors-copy,
.contact-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.sponsor-placeholder {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(88, 99, 108, 0.36);
  border-radius: 8px;
}

.sponsor-placeholder span {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsor-placeholder strong {
  color: var(--muted);
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  font-weight: 850;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 19, 21, 0.94), rgba(17, 19, 21, 0.86)),
    url("assets/docx/image4.png") center / cover;
}

.contact-section .section-kicker {
  color: var(--sky);
}

.contact-section .contact-copy {
  color: rgba(255, 255, 255, 0.72);
}

.contact-status {
  display: none;
  max-width: 680px;
  margin: 18px 0 0;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(90, 154, 103, 0.18);
  border: 1px solid rgba(90, 154, 103, 0.4);
  border-radius: 6px;
  font-weight: 750;
}

.contact-status.is-visible {
  display: block;
}

.contact-status.is-error {
  background: rgba(217, 54, 62, 0.18);
  border-color: rgba(217, 54, 62, 0.42);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 36px;
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-hidden {
  position: absolute;
  left: -9999px;
}

.form-field label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
}

.form-field textarea {
  resize: vertical;
  min-height: 132px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
  border-color: transparent;
}

.contact-form .button {
  width: 100%;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #111315;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--sky);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-bottom: clamp(36px, 6vw, 62px);
  }

  .hero-content {
    max-width: 760px;
  }

  .flight-strip,
  .intro-grid,
  .split-heading,
  .contest-panel,
  .map-layout,
  .sponsors-header,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .flight-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: clamp(28px, 5vw, 44px);
  }

  .flight-strip > * {
    min-height: 84px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flight-strip > *:last-child {
    border-bottom: 0;
  }

  .activity-grid,
  .info-grid,
  .club-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .lang-button {
    min-width: 35px;
    height: 30px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 46px) 18px 26px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 9, 12, 0.92), rgba(5, 9, 12, 0.58)),
      linear-gradient(0deg, rgba(5, 9, 12, 0.52), rgba(5, 9, 12, 0.2));
  }

  .runway-line {
    display: none;
  }

  h1 {
    font-size: clamp(2.42rem, 13vw, 4.45rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .flight-strip {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .section {
    padding: 64px 18px;
  }

  .activity-grid,
  .info-grid,
  .club-grid,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .activity-card,
  .info-card {
    min-height: 0;
  }

  .timeline::before,
  .timeline li::before {
    display: none;
  }

  .timeline li {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}
