/* Palette taken from the frevo umbrellas of Recife's carnival */
:root {
  --ink: #1d1a3a;
  --ink-soft: #4a4766;
  --cream: #fff6e6;
  --paper: #fffdf8;
  --white: #ffffff;
  --red: #ef4a36;
  --red-deep: #d63a27;
  --sun: #ffc93c;
  --sun-soft: #ffe7a3;
  --green: #18a46b;
  --blue: #2557d6;
  --blue-deep: #1b43ac;
  --line: rgba(29, 26, 58, .12);
  --radius: 24px;
  --header-h: 72px;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-color: currentColor; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* Reveal on scroll (declared early so component hover transforms still win) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 860px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 253, 248, .9);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(29, 26, 58, .5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 20px; font-weight: 500; white-space: nowrap; }
.brand b { font-weight: 800; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: conic-gradient(var(--red) 0 25%, var(--sun) 0 50%, var(--green) 0 75%, var(--blue) 0);
  box-shadow: inset 0 0 0 9px var(--paper);
  border: 2px solid var(--ink);
}

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  position: relative; text-decoration: none; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding: 8px 12px; border-radius: 999px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--cream); }
.site-nav a.is-active { color: var(--ink); background: var(--sun-soft); }
.site-nav .nav-cta { margin-left: 8px; color: #fff; background: var(--ink); padding: 9px 18px; }
.site-nav .nav-cta:hover, .site-nav .nav-cta.is-active { color: var(--ink); background: var(--sun); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons & stickers ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-sun:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-line:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 18px; }

.sticker {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .02em;
  border: 2px solid var(--ink); transform: rotate(-4deg);
}
.sticker-sun { background: var(--sun); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 0;
  background: var(--blue);
  color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hero h1 {
  margin: 0 0 26px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.025em;
}
.hero mark {
  color: inherit; padding: 0 .08em;
  background: linear-gradient(transparent 58%, var(--red) 58%, var(--red) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero mark.m2 { background: linear-gradient(transparent 58%, var(--green) 58%, var(--green) 92%, transparent 92%); }
.hero-sub { max-width: 600px; margin: 0 0 34px; font-size: 18.5px; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Geometric poster art */
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; justify-self: end; }
.art-sun {
  position: absolute; top: 4%; right: 6%;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 14px rgba(255, 201, 60, .25), 0 0 0 30px rgba(255, 201, 60, .12);
}
.art-umbrella {
  position: absolute; left: 4%; bottom: 10%;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--red) 0 12.5%, var(--sun) 0 25%, var(--green) 0 37.5%, #fff 0 50%, var(--red) 0 62.5%, var(--sun) 0 75%, var(--green) 0 87.5%, #fff 0);
  border: 4px solid var(--ink);
  animation: spin 40s linear infinite;
}
.art-umbrella span { position: absolute; inset: 42%; border-radius: 50%; background: var(--ink); }
.art-half {
  position: absolute; left: 18%; top: 0;
  width: 26%; aspect-ratio: 2 / 1;
  border-radius: 0 0 999px 999px;
  background: var(--red);
  border: 3px solid var(--ink); border-top: 0;
}
.art-dots {
  position: absolute; left: 6%; top: 8%;
  width: 30%; aspect-ratio: 1;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 2.5px, transparent 3px);
  background-size: 18px 18px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.countdown {
  position: absolute; right: 0; bottom: 0;
  padding: 14px 18px 12px;
  background: #fff; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(2deg);
}
.countdown-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.countdown-units { display: flex; gap: 14px; }
.countdown-units div { text-align: center; }
.countdown-units b { display: block; font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown-units span { font-size: 12px; font-weight: 600; color: var(--ink-soft); }

.facts {
  position: relative; z-index: 2;
  margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.facts div { padding: 24px 26px; }
.facts div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.3; }
.facts small { font-family: var(--sans); font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 104px 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--paper); }
.bg-sun { background: var(--sun); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-red { background: var(--red); color: #fff; }

/* Wavy top edge in the section's own colour */
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 V22 C 120 4 240 4 360 22 S 600 40 720 22 S 960 4 1080 22 S 1320 40 1440 22 V40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 V22 C 120 4 240 4 360 22 S 600 40 720 22 S 960 4 1080 22 S 1320 40 1440 22 V40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.section-head { max-width: 780px; margin-bottom: 52px; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: #fff;
}
.bg-blue .kicker, .bg-red .kicker { background: #fff; color: var(--ink); }
.bg-sun .kicker { background: var(--ink); color: var(--sun); }
.section-title {
  margin: 0 0 16px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.02em;
}
.section-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.bg-blue .section-lead, .bg-red .section-lead { color: rgba(255, 255, 255, .85); }
.bg-sun .section-lead { color: var(--ink); }
.section p { margin: 0 0 18px; }

/* Overview tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  position: relative; overflow: hidden;
  padding: 30px 28px 26px; min-height: 300px;
  border-radius: var(--radius); border: 2px solid var(--ink);
  display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, opacity .7s ease;
}
.tile:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.tile-red { background: var(--red); color: #fff; }
.tile-sun { background: var(--sun); color: var(--ink); }
.tile-green { background: var(--green); color: #fff; }
.tile-num {
  position: absolute; right: 22px; top: 14px;
  font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -.03em;
  opacity: .28;
}
.tile-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); margin-bottom: auto; }
.tile-sun .tile-tag { background: rgba(29, 26, 58, .1); }
.tile h3 { margin: 48px 0 10px; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; }
.tile p { margin: 0; font-size: 16px; line-height: 1.55; opacity: .95; }

.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 72px; align-items: start; }
.big-text { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.01em; margin: 0 !important; }
.approach-side p { color: var(--ink-soft); }
.keywords { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.keywords li {
  padding: 7px 16px; border-radius: 999px; border: 2px solid var(--ink);
  font-size: 14px; font-weight: 700; background: #fff;
}
.keywords li:nth-child(4n+1) { background: var(--sun); transform: rotate(-2deg); }
.keywords li:nth-child(4n+2) { background: #fff; transform: rotate(1.5deg); }
.keywords li:nth-child(4n+3) { background: var(--green); color: #fff; transform: rotate(-1deg); }
.keywords li:nth-child(4n+4) { background: var(--blue); color: #fff; transform: rotate(2deg); }

/* Objectives */
.objectives-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }
.objectives-head .section-title { margin-bottom: 0; }
.stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.stats li {
  width: 132px; height: 132px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: #fff; border: 2px solid var(--ink); padding: 12px;
}
.stats li:nth-child(2) { transform: translateY(-14px); }
.stat-red { background: var(--red); }
.stat-blue { background: var(--blue); }
.stat-green { background: var(--green); }
.stats b { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }
.stats span { font-size: 12.5px; font-weight: 600; line-height: 1.25; margin-top: 4px; }

.columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.readable p { color: var(--ink-soft); }

.objectives { display: grid; gap: 18px; margin-top: 40px; }
.objective {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start;
  padding: 34px 36px 18px;
  border-radius: var(--radius); background: var(--cream);
  border: 2px solid var(--ink);
}
.objective-num {
  display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 38px; color: #fff;
  border: 2px solid var(--ink);
}
.obj-blue .objective-num { background: var(--blue); }
.obj-red .objective-num { background: var(--red); }
.objective h3 { margin: 6px 0 10px; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.2; }
.objective p { color: var(--ink-soft); }
.note { margin-top: 36px !important; font-weight: 600; }
.note a { color: var(--blue); }

/* Dates as tickets */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tickets li {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, opacity .7s ease;
}
.tickets li:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.tickets time {
  display: block; padding: 22px 26px 18px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 2px dashed var(--ink);
}
.tickets time span { display: block; font-family: var(--display); font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: none; margin-bottom: 4px; }
.tickets li > div { padding: 18px 26px 22px; }
.tickets h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.tickets p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.tickets li.is-key { background: var(--ink); color: #fff; transform: rotate(-1.5deg); }
.tickets li.is-key:hover { transform: rotate(-1.5deg) translate(-3px, -3px); box-shadow: 7px 7px 0 var(--red); }
.tickets li.is-key time { color: var(--sun); border-color: rgba(255, 255, 255, .4); }
.tickets li.is-key p { color: rgba(255, 255, 255, .75); }

/* Format */
.format { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.hashtag-line { margin-top: 28px !important; font-size: 16px; color: var(--ink-soft); }
.hashtag-line a { color: var(--blue); font-weight: 600; }
.hashtag {
  display: inline-block; padding: 1px 10px; border-radius: 8px;
  font-weight: 800; color: var(--ink); background: var(--sun);
}
.format-steps { display: grid; gap: 18px; }
.step {
  padding: 28px 30px 12px; border-radius: var(--radius); border: 2px solid var(--ink); color: #fff;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, opacity .7s ease;
}
.step:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.step-blue { background: var(--blue); }
.step-green { background: var(--green); }
.step-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 25px; }
.step p { color: rgba(255, 255, 255, .92); font-size: 16px; }

/* Background */
.prose .lede { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 31px); line-height: 1.3; margin-bottom: 30px; }
.prose p { font-size: 17.5px; color: var(--ink-soft); }
.references { margin-top: 40px; border: 2px solid var(--ink); border-radius: 18px; background: var(--cream); overflow: hidden; }
.references summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 18px 24px; font-weight: 700; list-style: none; }
.references summary::-webkit-details-marker { display: none; }
.references summary span { font-size: 13px; padding: 1px 10px; border-radius: 999px; background: var(--sun); }
.references summary::after { content: "+"; margin-left: auto; font-family: var(--display); font-size: 28px; line-height: 1; transition: transform .2s; }
.references[open] summary::after { transform: rotate(45deg); }
.references ol { margin: 0; padding: 6px 32px 24px 52px; font-size: 15px; color: var(--ink-soft); border-top: 2px solid var(--ink); background: var(--paper); }
.references li { margin-top: 12px; padding-left: 4px; }

/* Programme */
.tabs { display: inline-flex; gap: 6px; padding: 6px; margin-bottom: 26px; background: rgba(255, 255, 255, .14); border-radius: 999px; }
.tab {
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; color: #fff;
  padding: 10px 22px; border-radius: 999px; transition: background .15s, color .15s;
}
.tab:hover { background: rgba(255, 255, 255, .12); }
.tab.is-active { background: var(--sun); color: var(--ink); }

.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.agenda li {
  display: grid; grid-template-columns: 104px 1fr 220px; align-items: center; gap: 22px;
  padding: 18px 24px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 18px;
  transition: transform .2s, box-shadow .2s;
}
.agenda li:hover { transform: translateX(6px); box-shadow: -6px 0 0 var(--sun); }
.agenda .dur {
  justify-self: start; padding: 5px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 800; white-space: nowrap;
  background: var(--blue); color: #fff;
}
.agenda .what { font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.3; }
.agenda .who { font-size: 15px; font-weight: 600; color: var(--ink-soft); text-align: right; }
.agenda li.break { background: var(--sun); }
.agenda li.break .dur { background: var(--ink); }
.agenda li.break .what { font-style: italic; }
.agenda li.tba { background: transparent; color: #fff; border-style: dashed; border-color: rgba(255, 255, 255, .6); }
.agenda li.tba .dur { background: #fff; color: var(--blue); }
.agenda li.tba .who { color: rgba(255, 255, 255, .7); }
.agenda.is-entering li { animation: rise .35s ease-out backwards; }
.agenda.is-entering li:nth-child(2) { animation-delay: .03s; }
.agenda.is-entering li:nth-child(3) { animation-delay: .06s; }
.agenda.is-entering li:nth-child(4) { animation-delay: .09s; }
.agenda.is-entering li:nth-child(5) { animation-delay: .12s; }
.agenda.is-entering li:nth-child(6) { animation-delay: .15s; }
.agenda.is-entering li:nth-child(7) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* Team */
.team-grid { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 24px; }
.person { margin: 0; text-align: center; flex: 0 0 calc((100% - (var(--cols) - 1) * 24px) / var(--cols)); }
.person img {
  width: 150px; height: 150px; margin: 0 auto 18px;
  object-fit: cover; border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--c, var(--red));
  background: var(--c, var(--red));
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.person:nth-child(4n+2) img { --c: var(--sun); }
.person:nth-child(4n+3) img { --c: var(--green); }
.person:nth-child(4n+4) img { --c: var(--blue); }
.person:hover img { transform: translate(-4px, -4px) rotate(-3deg); box-shadow: 12px 12px 0 var(--c, var(--red)); }
.person strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 800; line-height: 1.25; }
.person span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.4; }

/* Resources */
.resource-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.resource {
  position: relative; display: flex; flex-direction: column;
  min-height: 230px; padding: 26px 24px 22px;
  text-decoration: none; color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .2s, opacity .7s ease;
}
.resource:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.res-red:hover { background: #ffe1db; }
.res-sun:hover { background: var(--sun-soft); }
.res-green:hover { background: #d5f2e4; }
.res-blue:hover { background: #dde6fb; }
.resource-kind {
  align-self: flex-start; margin-bottom: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; color: #fff; background: var(--red);
}
.res-sun .resource-kind { background: var(--sun); color: var(--ink); }
.res-green .resource-kind { background: var(--green); }
.res-blue .resource-kind { background: var(--blue); }
.resource strong { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.2; margin-bottom: auto; padding-bottom: 18px; }
.resource-url { font-size: 13.5px; color: var(--ink-soft); word-break: break-all; padding-right: 36px; }
.resource .arrow {
  position: absolute; right: 18px; bottom: 16px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 18px;
  transition: transform .2s;
}
.resource:hover .arrow { transform: rotate(-45deg); }

/* Registration */
.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.cta .section-title { font-size: clamp(40px, 6vw, 76px); }
.cta p { max-width: 640px; color: rgba(255, 255, 255, .9); }
.cta p:last-child { margin-bottom: 0; }
.cta a:not(.btn) { color: #fff; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 52px 0 44px; font-size: 14px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { box-shadow: inset 0 0 0 9px var(--ink); border-color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.site-footer p { margin: 14px 0 0; max-width: 640px; }
.site-footer p + p { margin-top: 4px; }
.site-footer p a { color: #fff; }
.to-top { color: var(--sun); font-weight: 700; text-decoration: none; white-space: nowrap; }
.to-top:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .art-umbrella { animation: none; }
  .agenda.is-entering li { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper);
    padding: 10px 16px 20px;
    border-bottom: 2px solid var(--ink);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 16px; font-size: 16px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .team-grid { --cols: 4; }
  .resource-list { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 380px; margin-top: 8px; }
  .tiles, .tickets { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile h3 { margin-top: 36px; }
  .tickets li.is-key, .tickets li.is-key:hover { transform: none; }
  .approach, .columns-2, .format { grid-template-columns: 1fr; gap: 24px; }
  .approach { margin-top: 56px; }
  .columns-2 { gap: 0; }
  .team-grid { --cols: 3; }
  .agenda li { grid-template-columns: 88px 1fr; }
  .agenda .who { grid-column: 2; text-align: left; margin-top: -14px; }
  .cta { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 44px; }
  .hero-sub { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-art { max-width: 300px; }
  .countdown { right: -6px; }
  .countdown-units b { font-size: 26px; }
  .facts { grid-template-columns: 1fr; margin-top: 40px; }
  .facts div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .facts div { padding: 16px 20px; }
  .objectives-head { margin-bottom: 32px; }
  .stats { width: 100%; justify-content: space-between; gap: 8px; }
  .stats li { width: 31%; height: auto; aspect-ratio: 1; }
  .stats li:nth-child(2) { transform: none; }
  .stats b { font-size: 28px; }
  .stats span { font-size: 11px; }
  .objective { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px 10px; }
  .objective-num { width: 64px; height: 64px; font-size: 26px; }
  .team-grid { --cols: 2; gap: 32px 12px; }
  .person { flex-basis: calc((100% - 12px) / 2); }
  .person img { width: 116px; height: 116px; box-shadow: 6px 6px 0 var(--c, var(--red)); }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 10px 8px; font-size: 14px; }
  .agenda li { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .agenda .who { grid-column: auto; margin-top: 0; }
  .agenda .what { font-size: 17px; }
  .resource-list { grid-template-columns: 1fr; }
  .resource { min-height: 0; }
  .tickets time span { font-size: 44px; }
  .btn-lg { width: 100%; }
}
