/* wcid.eu v1 (udkast okt. 2026). Farver og skrift fra WCI's media kit (wciw.org/media-kit):
   Midnight, Poppy, Turquoise, Sunshine, Seaweed + Josefin Sans. Brødtekst i Source Serif 4. */
:root {
  --midnight: #130052;
  --poppy: #ea3550;
  --turquoise: #5db4e5;
  --sunshine: #fec750;
  --seaweed: #40ba79;
  --paper: #fbfaf7;
  --ink: #160f33;
  --muted: #5a5571;
  --line: rgba(19, 0, 82, .14);
  --sans: "Josefin Sans", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: min(1180px, calc(100vw - 2 * var(--gutter)));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.62 var(--serif); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }
:focus-visible { outline: 3px solid var(--sunshine); outline-offset: 3px; }

.draft { margin: 0; padding: 10px var(--gutter); background: var(--sunshine); color: var(--midnight); font: 600 .9rem/1.4 var(--sans); text-align: center; }

/* Top */
.top { position: absolute; z-index: 5; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--gutter); color: #fff; }
.top__logo { display: flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.top__logo img { width: clamp(150px, 16vw, 200px); height: auto; }
.top__eu { font: 700 1.05rem var(--sans); color: var(--sunshine); letter-spacing: .02em; padding-bottom: 4px; }
.top__nav { display: flex; gap: 28px; font: 600 1rem var(--sans); }
.top__nav a { text-decoration: none; opacity: .88; }
.top__nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--poppy); text-underline-offset: 6px; text-decoration-thickness: 3px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--midnight); color: #fff; padding: clamp(150px, 20vw, 210px) var(--gutter) clamp(70px, 9vw, 120px); }
.hero__inner { position: relative; z-index: 1; width: var(--wrap); margin: 0 auto; }
.hero__inner > * { max-width: 760px; }
.hero__date { display: flex; align-items: baseline; gap: .2em; font-family: var(--sans); font-weight: 700; line-height: .8; margin-bottom: 26px; }
.hero__num { font-size: clamp(6rem, 17vw, 13rem); letter-spacing: -.04em; color: var(--sunshine); }
.hero__month { font-size: clamp(2rem, 5vw, 4rem); color: #fff; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 5.2rem); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--turquoise), var(--poppy) 55%, var(--sunshine)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 36em; margin-top: 28px; color: rgba(255, 255, 255, .86); }
.hero__count { font: 600 1.05rem var(--sans); color: rgba(255, 255, 255, .75); margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero__count b { color: #fff; }
.hero__count .n { color: var(--sunshine); font-size: 1.4em; }

/* Logoets tre fjer, store i baggrunden */
.hero__feathers { position: absolute; right: max(-4vw, calc((100vw - 1180px) / 2 - 120px)); bottom: -6%; height: 108%; width: auto; opacity: .95; transform-origin: bottom center; animation: rise 1.8s cubic-bezier(.2,.8,.2,1) both; pointer-events: none; }
@keyframes rise { from { clip-path: inset(100% 0 0 0); transform: translateY(30px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@media (max-width: 1100px) { .hero__feathers { opacity: .28; right: -20vw; } }

/* Dagen */
.day, .people, .join { width: var(--wrap); margin: 0 auto; padding: clamp(70px, 9vw, 120px) 0; }
.day__head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.timeline { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--midnight); }
.timeline li { padding: 22px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--poppy); }
.timeline li:nth-child(2)::before { background: var(--turquoise); }
.timeline li:nth-child(3)::before { background: var(--sunshine); }
.timeline li:nth-child(4)::before { background: var(--seaweed); }
.timeline b { display: block; font: 700 1.8rem var(--sans); color: var(--midnight); margin-bottom: 6px; }
.timeline span { color: var(--muted); font-size: 1rem; }
.link { font: 700 1.05rem var(--sans); color: var(--midnight); text-decoration-color: var(--poppy); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.link::after { content: " ↗"; color: var(--poppy); }

/* Visionen */
.vision { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(70px, 9vw, 120px) max(var(--gutter), calc((100vw - 1180px) / 2)); }
.vision h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 14em; color: var(--midnight); }
.vision__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0 56px; font-size: 1.12rem; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillars li { padding-top: 22px; border-top: 1px solid var(--line); }
.pillars i { display: block; width: 34px; height: 12px; border-radius: 12px; margin-bottom: 18px; }
.pillars .c1 { background: var(--poppy); } .pillars .c2 { background: var(--turquoise); } .pillars .c3 { background: var(--sunshine); }
.pillars b { display: block; font: 700 1.35rem var(--sans); margin-bottom: 6px; }
.pillars span { color: var(--muted); font-size: 1rem; }

/* Personer */
.people .lead { margin: 18px 0 44px; }
.group-title { font-size: 1.5rem; margin: 56px 0 22px; display: flex; align-items: center; gap: 14px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.leads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 22px; }
.person { margin: 0; }
.person img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #eee; filter: saturate(.9); transition: transform .3s; }
.person:hover img { transform: scale(1.03) rotate(-1deg); }
.person figcaption { margin-top: 14px; }
.person b { display: block; font: 700 1.15rem/1.15 var(--sans); }
.person .country { display: inline-block; font: 600 .82rem var(--sans); letter-spacing: .02em; color: var(--midnight); background: rgba(93,180,229,.22); border-radius: 99px; padding: 3px 10px 1px; margin-top: 6px; }
.person .role { display: block; color: var(--muted); font-size: .92rem; line-height: 1.4; margin-top: 6px; }
.person--lead { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.person--lead figcaption { margin: 0; }
.person--lead b { font-size: 1.6rem; }

/* Bliv en del */
.join { text-align: left; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 60px; align-items: center; }
.join h2 { grid-row: span 2; color: var(--midnight); }
.join p { font-size: 1.15rem; color: var(--muted); }
.btn { justify-self: start; display: inline-block; background: var(--poppy); color: #fff; text-decoration: none; font: 700 1.05rem var(--sans); padding: 16px 28px 13px; border-radius: 99px; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }

.foot { background: #fff; border-top: 1px solid var(--line); padding: 48px var(--gutter) 56px; }
.foot > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.foot img { margin-bottom: 22px; height: auto; }
.foot p { color: var(--muted); font-size: .98rem; max-width: 46em; margin-left: 0; }
.foot__small { font-size: .85rem !important; }
@media (min-width: 1240px) { .foot p { margin-left: calc((100vw - 1180px) / 2 - var(--gutter)); } .foot img { margin-left: calc((100vw - 1180px) / 2 - var(--gutter)); } }

@media (max-width: 900px) {
  .top__nav { display: none; }
  .day__head, .vision__cols, .join { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 30px; border-top: 0; }
  .timeline li { border-top: 3px solid var(--midnight); }
  .pillars { grid-template-columns: 1fr; }
  .leads { grid-template-columns: 1fr; }
  .join h2 { grid-row: auto; }
}
@media (max-width: 520px) {
  .person--lead { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .timeline { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
