/* Shared by every page. Munich 1972: flat color fields on a silver ground, navy ink, white pictograms,
   one color per event, a strict grid, no rounding and no shadows. See DESIGN.md "Website". */
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/hanken-grotesk.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #E4E7E8;
  --ink: #14213D;
  --ink-soft: #46526B;
  --blue: #2378B5;
  --green: #267A4C;
  --orange: #F08A24;
  --navy: #14213D;
  --navy-soft: #A9B6CC;
  --rule: 3px;
  --gap: 12px;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scrollbar-color: var(--ink) var(--ground); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font: 400 17px/1.5 var(--font);
}
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.nw { white-space: nowrap; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; text-wrap: balance; }

/* The small uppercase label used for every caption, stat name and control name. */
.ev { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* Masthead: wordmark left, channels right, a rule underneath. */
.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0 12px;
  border-bottom: var(--rule) solid currentColor;
}
.mast a { text-decoration: none; }
.mast a:hover { text-decoration: underline; }
.channels { display: flex; gap: 24px; }
@media (max-width: 640px) { .mast .channels { display: none; } }

.icon { display: inline-block; flex: none; line-height: 0; }
.icon svg { width: 100%; height: 100%; display: block; }

/* ---------- Home ---------- */
.home h1 { font-size: clamp(36px, 9vw, 96px); margin: clamp(28px, 6vw, 56px) 0 clamp(16px, 2vw, 22px); max-width: 11em; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 34em; margin-bottom: clamp(28px, 5vw, 48px); }

.events { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; }
.event { padding: 22px; display: flex; flex-direction: column; text-decoration: none; min-height: 168px; }
.event.lead { grid-column: 1 / -1; min-height: 360px; background: var(--blue); color: #fff; }
.event.next { background: var(--green); color: #fff; justify-content: flex-end; }
.event.follow { background: var(--orange); color: var(--ink); }
.event h2 { font-size: clamp(32px, 5vw, 52px); margin-top: auto; padding-top: 28px; max-width: 12em; }
.event .what { margin-top: 10px; font-size: 18px; color: rgba(255, 255, 255, 0.9); }
.event .pictos { display: flex; gap: clamp(10px, 2vw, 18px); }
.event .pictos .icon { width: clamp(76px, 13vw, 168px); height: clamp(76px, 13vw, 168px); }
.event .go { margin-top: 22px; align-self: flex-start; background: #fff; color: var(--blue); padding: 12px 22px; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.event.lead:hover .go, .event.lead:focus-visible .go { background: var(--ink); color: #fff; }
.event.lead .pictos .icon { transition: transform 0.5s var(--ease); }
.event.lead:hover .pictos .icon { transform: translateY(-6px); }
.event.lead:hover .pictos .icon:nth-child(2) { transition-delay: 0.05s; }
.event.lead:hover .pictos .icon:nth-child(3) { transition-delay: 0.1s; }
.event p.note { margin-top: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.event.follow nav { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.event.follow a { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.event.follow a:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .events { grid-template-columns: 2fr 1fr 1fr; }
  .event { min-height: 400px; padding: 28px; }
  .event.lead { grid-column: auto; min-height: 400px; }
}

footer.foot { margin-top: clamp(40px, 8vw, 80px); padding: 14px 0 32px; border-top: var(--rule) solid var(--ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
