/* Homepage — layout for sections that only exist here */

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: max(640px, 100svh);
  padding: calc(var(--header-h) + 40px) 0 clamp(56px, 7vw, 96px);
  background: var(--ink); color: #fff;
}
.hero__still, .hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__video { display: none; }
@media (min-width: 810px) { .hero__video { display: block; } .hero__still { display: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 13, 15, .9) 0%, rgba(12, 13, 15, .35) 50%, rgba(12, 13, 15, .2) 100%),
    linear-gradient(to right, rgba(12, 13, 15, .55), transparent 65%);
}
.hero__inner { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1100px) { .hero__inner { grid-template-columns: 1fr 320px; } }
@media (max-width: 1099px) { .hero__panel { max-width: 360px; } }
.hero__copy { display: grid; gap: 20px; justify-items: start; }
.hero__title { margin-top: 4px; }
.hero__title span { display: block; color: transparent; -webkit-text-stroke: 2px #fff; }
.hero__lead { color: rgba(255, 255, 255, .88); }
.hero .btn-row { margin-top: 8px; }

/* Slanted red stripe along the bottom edge — the brand wedge, used once and on purpose */
.hero__slash {
  position: absolute; right: 0; bottom: 0; width: min(46vw, 640px); height: clamp(14px, 1.6vw, 22px);
  background: var(--red); clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
}

/* Live wind panel. No backdrop blur: blurring a playing video costs a repaint every frame */
.hero__panel { display: grid; }
.wind {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 18px 20px;
  border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(12, 13, 15, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.wind__dial {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
}
.wind__dial::before { content: "N"; position: absolute; top: -9px; font-size: .625rem; font-weight: 700; letter-spacing: .1em; padding: 0 3px; background: transparent; color: rgba(255, 255, 255, .6); }
.wind__dial svg { width: 22px; height: 22px; color: var(--red); transition: transform 1.2s var(--ease); }
.wind__value { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; }
.wind__value small { font-size: 1.125rem; margin-left: 3px; color: rgba(255, 255, 255, .7); }
.wind__dir { font-size: 1.375rem; margin-left: 6px; color: rgba(255, 255, 255, .85); }
.wind__meta { font-size: var(--fs-small); color: rgba(255, 255, 255, .72); }
.wind[data-level="storm"] .wind__dial { border-color: var(--red); }

/* ---------- Partners marquee ---------- */
.partners { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.partners__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-bottom: 28px; }
.partners__thanks { font-size: var(--fs-small); color: var(--text-muted); }
.marquee { --gap: clamp(40px, 6vw, 88px); display: flex; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; align-items: center; gap: var(--gap); padding-right: var(--gap); animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { width: clamp(84px, 9vw, 120px); height: clamp(84px, 9vw, 120px); object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.marquee__track a:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; animation: none; padding: 0; margin-inline: auto; }
  .marquee__track[aria-hidden] { display: none; }
}

/* ---------- Over ons ---------- */
.about__copy { display: grid; gap: 24px; justify-items: start; }
.about .h2 em { font-style: normal; color: var(--red); }
.about__text { max-width: 54ch; color: var(--text-muted); font-size: 1.125rem; }
.about__media img { aspect-ratio: 4 / 3.4; }

/* ---------- Events ---------- */
.events__grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 810px) {
  .events__grid { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; }
  .events__grid .card--feature { grid-row: span 2; }
  .events__grid .card:not(.card--feature) { min-height: 300px; }
}

/* ---------- Big moves ---------- */
.bigmoves__grid { display: grid; gap: clamp(8px, 1.2vw, 16px); grid-template-columns: repeat(2, 1fr); }
.bigmoves__grid a { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 1; background: var(--mist); }
.bigmoves__grid a:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.bigmoves__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bigmoves__grid a:hover img { transform: scale(1.05); }
@media (min-width: 810px) {
  .bigmoves__grid { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 22vw, 320px)); }
  .bigmoves__grid a, .bigmoves__grid a:first-child { aspect-ratio: auto; grid-column: auto; }
  .bigmoves__grid a:first-child { grid-row: span 2; }
}

/* ---------- Geschiedenis timeline ---------- */
.timeline { position: relative; display: grid; gap: 40px; }
.timeline a { position: relative; display: grid; gap: 6px; padding-left: 36px; }
.timeline a::before { /* node */
  content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid #fff; transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}
.timeline::before { /* rail */
  content: ""; position: absolute; left: 7px; top: 24px; bottom: 24px; width: 1px; background: var(--line-dark);
}
.timeline__year {
  font-family: var(--font-display); font-size: clamp(5rem, 9vw, 8rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
  transition: color .4s ease, -webkit-text-stroke-color .4s;
}
.timeline strong { font-size: 1.1875rem; font-weight: 700; letter-spacing: .04em; }
.timeline a > span:last-child { color: var(--on-dark-muted); }
.timeline a:hover .timeline__year { color: var(--red); -webkit-text-stroke-color: var(--red); }
.timeline a:hover::before { background: var(--red); border-color: var(--red); transform: scale(1.3); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .timeline::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; }
  .timeline a { padding: 40px 0 0; }
  .timeline a::before { top: 0; }
}

/* ---------- Rulez teaser ---------- */
.rules__copy { display: grid; gap: 24px; justify-items: start; }
.rules__text { max-width: 52ch; color: var(--text-muted); font-size: 1.125rem; }
.rules__visual { position: relative; padding-bottom: 48px; }
.rules__visual > img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--r-md); filter: grayscale(1); }
.scoreboard {
  position: absolute; left: clamp(-24px, -2vw, 0px); bottom: 0; width: min(330px, 88%);
  padding: 20px 22px; border-radius: var(--r-md); background: var(--ink); color: #fff;
  box-shadow: 0 24px 48px -16px rgba(12, 13, 15, .45);
}
.scoreboard__title { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 8px; }
.scoreboard li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); }
.scoreboard li:last-child { border-bottom: 0; }
.scoreboard b { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.scoreboard b::after { content: "pt"; font-size: .875rem; margin-left: 2px; color: var(--on-dark-muted); }
