/* ==========================================================================
   ZBIF · main site styles
   Photo-led and editorial. Brand navy + magenta used as solid colours;
   the logo carries the multicolour.
   ========================================================================== */

:root {
  --ink: #16133f;
  --ink-2: #221d58;
  --ink-3: #0e0b2b;
  --magenta: #c8177f;
  --magenta-dk: #a3106a;

  --text: #1c1a2b;
  --muted: #5d5b6a;
  --soft: #8b8996;
  --paper: #f5f3ee;
  --line: #e3e0d8;
  --line-2: #d2cec4;

  --r: 6px;
  --r-lg: 10px;

  /* ZBFH Mini Brand Guide: Rubrik/Rubik primary; Helvetica Neue → system fallback */
  --font: "Rubrik", "Rubrik Sans", "Rubik", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 76px;
  --magenta: #C41E85;
  --magenta-dk: #9E1569;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: #fff; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.015em; color: var(--ink); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.icon {
  width: 1.1em; height: 1.1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 46px; padding: 0 20px; border-radius: var(--r); border: 1.5px solid transparent;
  font-size: .95rem; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { height: 54px; padding: 0 26px; font-size: 1rem; }
.btn--magenta { background: var(--magenta); color: #fff; }
.btn--magenta:hover { background: var(--magenta-dk); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--outline-white { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.link .icon { transition: transform .2s; }
.link:hover { color: var(--magenta); }
.link:hover .icon { transform: translateX(4px); }
.link--light { color: #fff; margin-top: 48px; }
.link--light:hover { color: #ff8fc8; }
.inline-link { color: var(--magenta); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.kicker {
  margin-bottom: 14px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ff8fc8;
}
.kicker--dark { color: var(--magenta); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(22, 19, 63, .45); }
.header__inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.brand img { height: 48px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px;
  font-size: .95rem; font-weight: 600; color: var(--text); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav__link:hover, .has-menu.is-open > .nav__link { color: var(--magenta); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-menu.is-open > .nav__link .icon { transform: rotate(180deg); }

.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 18px); left: 0; min-width: 220px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 20px 40px -16px rgba(22, 19, 63, .3);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.menu::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; }
  .has-menu:hover > .nav__link { color: var(--magenta); }
}
.menu a { display: block; padding: 9px 12px; border-radius: var(--r); font-size: .93rem; font-weight: 600; }
.menu a:hover { background: var(--paper); color: var(--magenta); }
.menu--wide { width: 500px; display: grid; grid-template-columns: 1fr 1fr; }
.menu--wide a strong { display: block; color: var(--ink); }
.menu--wide a span { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); }
.menu--wide a:hover strong { color: var(--magenta); }
.menu .menu__all {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 6px;
  margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0; color: var(--magenta);
}

.header__actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header__signin { font-weight: 700; color: var(--ink); }
.header__signin:hover { color: var(--magenta); }
.menu-toggle {
  display: none; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); background: #fff;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle.is-visible { display: grid; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 100; background: rgba(14, 11, 43, .55);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(380px, 100%); overflow-y: auto;
  padding: 14px 24px 32px; background: #fff;
  transform: translateX(100%); transition: transform .25s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 16px; }
.drawer__head img { height: 42px; width: auto; }
.drawer nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.drawer__actions { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(calc(100vh - var(--header-h)), 780px);
  background: var(--ink); color: #fff;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 11, 43, .9) 0%, rgba(14, 11, 43, .72) 42%, rgba(14, 11, 43, .2) 100%),
    linear-gradient(0deg, rgba(14, 11, 43, .75) 0%, rgba(14, 11, 43, 0) 45%);
}
.hero__inner { padding-top: 120px; padding-bottom: 44px; }
.hero__kicker { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero__title {
  /* Cap display size vs ui-revamp billboard — ZB brand + UI bar */
  max-width: 18ch; margin-top: 18px;
  font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: #fff;
}
.hero__lead { max-width: 580px; margin-top: 24px; font-size: 1.15rem; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  position: relative; padding-top: 20px; padding-bottom: 76px;
  font-size: .92rem; color: rgba(255, 255, 255, .8);
}
.hero__foot::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px; background: rgba(255, 255, 255, .22); }
.countdown { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.countdown__label { font-weight: 600; }
.countdown.is-tbc .countdown__val, .countdown.is-live .countdown__val { display: none; }
.countdown strong { font-size: 1.35rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; margin-right: 3px; }
.hero__venue { display: flex; align-items: center; gap: 8px; }

/* ---------- Challenge finder ---------- */
.finder-wrap { position: relative; z-index: 3; margin-top: -44px; }
.finder {
  display: grid; grid-template-columns: 1fr 280px auto; align-items: stretch;
  padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 50px -24px rgba(22, 19, 63, .45);
}
.finder__field { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 6px 18px; }
.finder__field + .finder__field { border-left: 1px solid var(--line); }
.finder__label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.finder__input { display: flex; align-items: center; gap: 10px; }
.finder__input .icon { color: var(--soft); width: 20px; height: 20px; }
.finder input, .finder select {
  width: 100%; height: 34px; border: 0; outline: 0; background: transparent;
  font-size: 1.05rem; font-weight: 500; color: var(--ink);
}
.finder input::placeholder { color: var(--soft); font-weight: 400; }
.finder select { cursor: pointer; }
.finder__btn { height: auto; min-height: 58px; padding: 0 34px; font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding-block: 100px; }
.section--challenges { padding-top: 72px; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .h2 { color: #fff; }
.section--ink .sec-head__sub { color: rgba(255, 255, 255, .7); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 36px; }
.h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); letter-spacing: -.02em; }
.sec-head__sub { max-width: 560px; margin-top: 12px; font-size: 1.08rem; color: var(--muted); }

/* ---------- Challenges ---------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-bottom: 32px; border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; padding: 14px 0 13px; white-space: nowrap;
  font-size: .95rem; font-weight: 600; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--magenta); font-weight: 700; }
.tab__count { margin-left: 5px; font-size: .8rem; font-weight: 600; color: var(--soft); }
.sort { display: flex; align-items: center; gap: 8px; flex: none; font-size: .9rem; color: var(--muted); }
.sort select {
  height: 38px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: #fff; font-weight: 600; color: var(--ink); cursor: pointer;
}

.results-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: -12px 0 24px; color: var(--muted); }
.results-note strong { color: var(--ink); }
.results-note button { font-weight: 700; color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.results-note[hidden] { display: none; }

.status {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: 4px; background: #fff; color: var(--ink);
  font-size: .75rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.status--closing::before { background: #f59e0b; }
.status--closed::before { background: var(--soft); }

.sector { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sector::before { content: ""; width: 9px; height: 9px; background: var(--c); }

/* Featured challenge */
.featured {
  display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 32px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s;
}
.featured:hover { border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(22, 19, 63, .45); }
.featured__media { position: relative; min-height: 420px; overflow: hidden; background: var(--paper); }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.featured:hover .featured__media img { transform: scale(1.03); }
.featured__media .status { position: absolute; top: 18px; left: 18px; }
.featured__body { display: flex; flex-direction: column; padding: 40px 44px; }
.featured__label { margin-bottom: 18px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.featured__title { margin-top: 10px; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.15rem); line-height: 1.12; }
.featured__title a:hover { color: var(--magenta); }
.featured__org { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); }
.featured__desc { margin-top: 16px; color: var(--text); }
.featured__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border-top: 1px solid var(--line); }
.featured__stats div { padding-top: 14px; }
.featured__stats dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.featured__stats dd { margin-top: 2px; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.featured__foot { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 28px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 4px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.featured .tags { margin-top: 18px; }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 20px 40px -26px rgba(22, 19, 63, .5); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media .status { position: absolute; top: 14px; left: 14px; }
.card__left {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 4px; background: rgba(14, 11, 43, .82); color: #fff;
  font-size: .8rem; font-weight: 700;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.card__title { margin-top: 10px; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title { color: var(--magenta); }
.card__org { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.card__org .icon { color: var(--soft); }
.card .tags { margin-top: auto; padding-top: 16px; }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted);
}
.card__budget strong { color: var(--ink); font-size: 1rem; font-weight: 800; }
.card__teams { display: inline-flex; align-items: center; gap: 6px; }

.empty {
  grid-column: 1 / -1; padding: 56px 24px; text-align: center;
  background: var(--paper); border-radius: var(--r-lg);
}
.empty h3 { font-size: 1.4rem; }
.empty p { max-width: 480px; margin: 8px auto 22px; color: var(--muted); }

/* ---------- How it works ---------- */
.switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r); overflow: hidden; }
.switch button { height: 44px; padding: 0 18px; font-size: .92rem; font-weight: 700; color: rgba(255, 255, 255, .75); }
.switch button + button { border-left: 1px solid rgba(255, 255, 255, .3); }
.switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }

.timeline {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; padding-top: 14px; border-top: 2px solid rgba(255, 255, 255, .18);
  font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .7);
}
.timeline::before { content: ""; position: absolute; top: -2px; left: 0; width: 12%; height: 2px; background: var(--magenta); }
.timeline__now { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.timeline__now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--ink-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 11, 43, .75), rgba(14, 11, 43, 0) 55%); }
.step__num {
  position: absolute; left: 16px; bottom: 10px; z-index: 1;
  font-size: 2.6rem; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 20px; font-size: 1.45rem; color: #fff; }
.step p { margin-top: 8px; color: rgba(255, 255, 255, .72); }
.steps[data-journey="innovator"] [data-for="organisation"],
.steps[data-journey="organisation"] [data-for="innovator"] { display: none; }

/* ---------- Who takes part ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s; }
.path:hover { border-color: var(--line-2); }
.path__img { aspect-ratio: 16 / 9; overflow: hidden; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.path:hover .path__img img { transform: scale(1.03); }
.path__body { display: flex; flex-direction: column; flex: 1; padding: 28px 32px 32px; }
.path__who { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.path h3 { margin-top: 8px; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); }
.path__body > p:not(.path__who) { margin-top: 10px; color: var(--muted); }
.path__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 800; color: var(--ink); }
.path__cta .icon { transition: transform .2s; }
.path:hover .path__cta { color: var(--magenta); }
.path:hover .path__cta .icon { transform: translateX(4px); }

.paths-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.paths-more a { display: block; padding-top: 18px; border-top: 2px solid var(--ink); }
.paths-more strong { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.paths-more span { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }
.paths-more a:hover strong { color: var(--magenta); }
.paths-more .icon { transition: transform .2s; }
.paths-more a:hover .icon { transform: translateX(4px); }

/* ---------- Sub-themes ---------- */
.themes-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.themes { border-top: 1px solid var(--line-2); }
.theme-row {
  display: grid; grid-template-columns: 44px 1fr auto 22px; align-items: center; gap: 16px;
  width: 100%; padding: 20px 8px; border-bottom: 1px solid var(--line-2); text-align: left;
  transition: background-color .15s, padding .2s;
}
.theme-row:hover { background: #fff; padding-left: 16px; }
.theme-row__num { font-size: .9rem; font-weight: 700; color: var(--soft); font-variant-numeric: tabular-nums; }
.theme-row__name { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.theme-row__name::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--c); }
.theme-row:hover .theme-row__name { color: var(--magenta); }
.theme-row__count { font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.theme-row .icon { color: var(--soft); transition: transform .2s, color .2s; }
.theme-row:hover .icon { color: var(--magenta); transform: translateX(4px); }

/* ---------- Deal Rooms ---------- */
.deal { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; }
.deal__img { position: relative; min-height: 620px; }
.deal__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% center; }
.deal__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 88px max(32px, calc((100vw - 1280px) / 2 + 32px)) 88px 72px; }
.deal .h2 { color: #fff; max-width: 14ch; }
.deal__lead { max-width: 520px; margin-top: 18px; font-size: 1.08rem; color: rgba(255, 255, 255, .78); }
.deal__outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; width: 100%; max-width: 560px; margin: 34px 0 38px; }
.deal__outcomes li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.deal__outcomes strong { display: block; font-size: 1.15rem; font-weight: 800; }
.deal__outcomes span { display: block; margin-top: 2px; font-size: .9rem; color: rgba(255, 255, 255, .65); }
/* ---------- Content pages: programme, speakers, news, foresight, surveys, partners ---------- */
/* Sticky header is in-flow — do not add header-h again or heroes become too tall. */
.pg-hero { padding: 40px 0 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.pg-hero .crumbs, .crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px;
  font-size: .88rem; color: var(--muted);
}
.pg-hero .crumbs a, .crumbs a { color: var(--muted); }
.pg-hero .crumbs a:hover, .crumbs a:hover { color: var(--magenta); text-decoration: none; }
.pg-hero .crumbs i, .crumbs i { font-style: normal; color: var(--line-2); }
.pg-hero .crumbs span, .crumbs span { color: var(--ink); font-weight: 600; }
.pg-hero__title { margin-top: 10px; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; font-weight: 700; font-stretch: 92%; letter-spacing: -.015em; color: var(--ink); max-width: 22ch; }
.pg-hero__lead { max-width: 640px; margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
.pg-section { padding: 56px 0 80px; }
.pg-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: .92rem; font-weight: 700; color: var(--magenta); }
.pg-more .icon { width: 16px; height: 16px; transition: transform .15s; }
.pg-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.pg-tag--keynote, .pg-tag--awards { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.pg-tag--pitch, .pg-tag--demo { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-tag--panel, .pg-tag--workshop, .pg-tag--showcase { background: #fdf1f7; border-color: #f4c9df; color: #9a1262; }
.pg-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* Cards */
.pg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-card { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-align: left; transition: border-color .15s; }
.pg-person img, .pg-person__mono { margin-bottom: 14px; }
.pg-card:hover { border-color: var(--ink); }
.pg-card:hover .pg-more .icon { transform: translateX(3px); }
.pg-card strong { display: block; margin-top: 10px; font-size: 1.3rem; line-height: 1.2; font-weight: 800; color: var(--ink); }
.pg-card p { margin-top: 8px; color: var(--muted); }
.pg-date { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); }
.pg-horizon { font-weight: 700; color: var(--muted); }

/* Programme */
.pg-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.pg-days button { display: grid; gap: 2px; padding: 14px 18px; text-align: left; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r); color: var(--ink); }
.pg-days button span { font-size: .9rem; color: var(--muted); }
.pg-days button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-days button[aria-selected="true"] span { color: rgba(255, 255, 255, .7); }
.pg-sessions { border-top: 1px solid var(--line); }
.pg-session { display: grid; grid-template-columns: 150px 130px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pg-session__time { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.pg-session__time i { font-style: normal; margin: 0 4px; color: var(--muted); }
.pg-session .pg-tag { justify-self: start; }
.pg-session strong { display: block; font-size: 1.08rem; color: var(--ink); }
.pg-session div span { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: .92rem; color: var(--muted); }
.pg-session div .icon { width: 15px; height: 15px; }

/* Speakers */
.pg-speakers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pg-person { cursor: pointer; font: inherit; }
.pg-person img, .pg-person__mono { width: 100%; aspect-ratio: 4 / 5; margin-bottom: 18px; border-radius: var(--r); object-fit: cover; object-position: top center; }
.pg-person__mono { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 2.6rem; font-weight: 800; letter-spacing: .04em; }
.pg-person strong { font-size: 1.2rem; }
.pg-person__role { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.pg-speaker { text-align: left; }
.pg-speaker__photo, .pg-speaker__mono { width: 120px; height: 120px; margin-bottom: 18px; border-radius: 50%; object-fit: cover; object-position: top center; }
.pg-speaker__mono { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 2rem; font-weight: 800; }
.pg-speaker__role { margin: 4px 0 16px; font-weight: 600; color: var(--muted); }
.pg-speaker p:last-child { line-height: 1.65; }

/* Foresight filter */
.pg-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pg-filter button { padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 700; color: var(--ink); }
.pg-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Articles */
.pg-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.pg-article--single { grid-template-columns: minmax(0, 720px); }
.pg-article article p { margin-bottom: 18px; font-size: 1.15rem; line-height: 1.7; color: var(--text); max-width: 68ch; }
.pg-article article .link { margin-top: 12px; }
.pg-article article .link .icon { transform: rotate(180deg); }
.pg-aside__title { margin-bottom: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); }
.pg-mini { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pg-mini span { font-size: .82rem; color: var(--muted); }
.pg-mini strong { display: block; margin-top: 2px; color: var(--ink); }
.pg-mini:hover strong { color: var(--magenta); }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Partners */
.pg-partner__logo { display: grid; place-items: center; width: 100%; height: 120px; margin-bottom: 20px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.pg-partner__logo img { max-width: 100%; max-height: 80px; object-fit: contain; }
/* Title partner: ZB logo reads larger than the others. */
.pg-partner.partner-cell--zb .pg-partner__logo { height: 140px; }
.pg-partner.partner-cell--zb .pg-partner__logo img { max-height: 104px; }

/* Closing band */
.pg-band { padding: 40px 0; background: var(--ink); color: #fff; }
.pg-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.pg-band p { font-size: 1.25rem; font-weight: 700; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: start; }
.contact .h2 { max-width: 14ch; }
.contact__facts { margin-top: 36px; border-top: 1px solid var(--line); }
.contact__facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__facts dt { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); padding-top: 3px; }
.contact__facts dd strong { display: block; color: var(--ink); font-size: 1.05rem; }
.contact__facts dd span { display: block; margin-top: 3px; color: var(--muted); font-size: .95rem; }
.contact__form { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact__note { font-size: .85rem; color: var(--muted); text-align: center; }
.contact__done { padding: 40px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.contact__done h3 { font-size: 1.5rem; color: var(--ink); }
.contact__done p { margin-top: 10px; color: var(--muted); }
.contact__done .btn { margin-top: 22px; }
.deal--light { margin-top: 64px; background: var(--paper); color: var(--text); }
.pg-hero + .deal--light { margin-top: 0; }
.deal--light .h2 { color: var(--ink); max-width: 18ch; }
.deal--light .deal__lead { color: var(--muted); }
.deal--light .deal__outcomes li { border-top-color: var(--line-2); }
.deal--light .deal__outcomes strong { color: var(--ink); }
.deal--light .deal__outcomes span { color: var(--muted); }
.deal--light .deal__img { min-height: 560px; }

/* ---------- Forum ---------- */
.forum { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.forum__date { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.035em; line-height: 1; }
.forum__venue { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.forum__venue .icon { margin-top: 5px; color: var(--magenta); }
.forum__list { margin-top: 32px; border-top: 1px solid var(--line); }
.forum__list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.forum__list strong { color: var(--ink); }
.forum__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.forum__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 600px; }
.forum__mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.forum__mosaic .m1 { grid-row: span 2; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.12rem; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--magenta); }
.faq summary .icon { width: 22px; height: 22px; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { max-width: 640px; padding-bottom: 24px; color: var(--muted); }

/* ---------- Closing band ---------- */
.cta-band { background: var(--magenta); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 64px; }
.cta-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); color: #fff; }
.cta-band p { max-width: 560px; margin-top: 10px; font-size: 1.05rem; color: rgba(255, 255, 255, .88); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--white:hover { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 72px; background: var(--ink-3); color: rgba(255, 255, 255, .7); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand img { height: 54px; width: auto; }
.footer__brand p { max-width: 320px; margin-top: 20px; font-size: .95rem; }
.site-footer h4 { margin-bottom: 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { color: rgba(255, 255, 255, .88); }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 64px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: rgba(255, 255, 255, .5);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; max-width: calc(100% - 32px);
  padding: 13px 18px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: .92rem;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.toast { display: flex; align-items: center; gap: 16px; }
.toast__action { flex: none; padding: 4px 2px; font-weight: 800; color: #ff8fc8; text-decoration: underline; text-underline-offset: 3px; }
.toast__action:hover { color: #fff; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Header account ---------- */
.header__auth { display: flex; align-items: center; gap: 20px; }
.account { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.account__avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .02em;
}
.account__out { font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.account__out:hover { color: var(--magenta); }
.drawer__actions .account__out { justify-self: start; }
.nav__link.is-current { color: var(--magenta); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Modal ---------- */
.modal {
  width: min(520px, calc(100% - 24px)); max-height: min(calc(100vh - 32px), calc(100dvh - 16px));
  padding: 0; overflow: hidden; overscroll-behavior: contain;
  border: 0; border-radius: var(--r-lg); background: #fff; color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(14, 11, 43, .6);
}
.modal::backdrop { background: rgba(14, 11, 43, .6); }
html:has(.modal[open]) { overflow: hidden; }
.modal__inner {
  position: relative; padding: 28px 28px 24px;
  max-height: inherit; overflow-y: auto; overscroll-behavior: contain;
  /* Hide OS gray scrollbar; content still scrolls (touch / wheel / keys) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modal__inner::-webkit-scrollbar { width: 0; height: 0; display: none; }
.auth-modal .auth__tabs { margin: 18px 0 16px; }
.auth-modal .form .field { margin-top: 12px; }
.auth-modal .choice { margin-top: 12px; gap: 10px; }
.auth-modal .btn { min-height: 46px; }
.auth-alert { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r); font-size: .92rem; }
.auth-alert p { margin: 0; }
.auth-alert p + p { margin-top: 6px; }
.auth-alert--ok { background: #e7f6ec; color: #166534; border: 1px solid #b7e0c2; }
.auth-alert--err { background: #fdf2f2; color: #8a2a2a; border: 1px solid #f0c4c4; }
.modal__close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: var(--r); color: var(--muted);
}
.modal__close:hover { background: var(--paper); color: var(--ink); }
.modal__close .icon { width: 20px; height: 20px; }
.modal__eyebrow { margin-bottom: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.modal__title { padding-right: 32px; font-size: 1.6rem; line-height: 1.15; }
.modal__sub { margin-top: 10px; color: var(--muted); }
.modal__sub strong { color: var(--ink); }

.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 22px; border-bottom: 1px solid var(--line); }
.auth__tabs button { padding: 12px 0; margin-bottom: -1px; border-bottom: 3px solid transparent; font-weight: 700; color: var(--muted); }
.auth__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--magenta); }
.auth__switch { margin-top: 2px; text-align: center; font-size: .92rem; color: var(--muted); }
.auth__switch button { font-weight: 700; color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.apply .form { margin-top: 22px; }
.field { display: grid; gap: 6px; align-content: start; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend, .field__row label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field__link { font-size: .85rem; font-weight: 600; color: var(--magenta); }
.field__opt { font-weight: 400; color: var(--soft); }
.field__count { font-size: .8rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url], .field input[type=number],
.field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff;
  font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 19, 63, .12); }
.field [aria-invalid="true"] { border-color: #c2253c; }
.field__hint { font-size: .82rem; color: var(--soft); }
.field__error { font-size: .85rem; font-weight: 600; color: #c2253c; }
.field__error:empty { display: none; }
.field__pw { position: relative; }
.field__pw input { padding-right: 70px; }
.field__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px 8px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 500; color: var(--text); }
.field--check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--magenta); }
.field--check a { color: var(--magenta); text-decoration: underline; }
.field--choice legend { margin-bottom: 8px; padding: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r);
  font-size: .82rem; color: var(--muted); line-height: 1.35; transition: border-color .15s, background-color .15s;
}
.choice strong { display: block; margin-bottom: 2px; font-size: .95rem; color: var(--ink); }
.choice input:checked + span { border-color: var(--magenta); background: #fdf1f7; }
.choice input:focus-visible + span { outline: 3px solid var(--magenta); outline-offset: 2px; }

.done { text-align: center; }
.done__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 4px auto 18px;
  border-radius: 50%; background: #e7f6ec; color: #15803d;
}
.done__icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.done .modal__title { padding-right: 0; }
.done p { margin-top: 12px; color: var(--muted); }
.done p strong { color: var(--ink); }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* ---------- Challenge page: hero ---------- */
.ch-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.ch-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ch-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 11, 43, .92) 0%, rgba(14, 11, 43, .75) 50%, rgba(14, 11, 43, .35) 100%);
}
.ch-hero__inner { padding-top: 40px; padding-bottom: 56px; }
.ch-hero__inner--plain { padding-block: 96px; }
.ch-hero .crumbs { color: rgba(255, 255, 255, .7); margin-bottom: 0; }
.ch-hero .crumbs a { color: rgba(255, 255, 255, .7); }
.ch-hero .crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ch-hero .crumbs span, .ch-hero .crumbs [aria-current] { color: #fff; font-weight: 600; }
.ch-hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 64px 0 18px; }
.ch-hero__left { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.sector--light { color: rgba(255, 255, 255, .85); }
.ch-hero__title { max-width: 24ch; margin-top: 12px; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.ch-hero__org { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 1.05rem; color: rgba(255, 255, 255, .85); }
.ch-hero__inner--plain .btn { margin-top: 28px; }

/* ---------- Challenge page: section tabs ---------- */
.ch-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.ch-tabs__inner { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.ch-tabs__inner::-webkit-scrollbar { display: none; }
.ch-tabs a {
  padding: 16px 0 14px; white-space: nowrap; font-size: .95rem; font-weight: 600; color: var(--muted);
  border-bottom: 3px solid transparent;
}
.ch-tabs a:hover { color: var(--ink); }
.ch-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--magenta); }

/* ---------- Challenge page: layout ---------- */
.ch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 96px; }
.ch-sec { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 72px); }
.ch-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ch-sec h2 { font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); margin-bottom: 16px; }
.ch-sec h3 { margin: 28px 0 10px; font-size: 1.15rem; letter-spacing: -.01em; }
.ch-sec > p { max-width: 68ch; font-size: 1.04rem; }
.ch-sec > p.ch-lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink); font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.facts dd { margin-top: 4px; font-weight: 700; color: var(--ink); }
.tags--lg { margin-top: 20px; }
.tags--lg li { padding: 5px 11px; font-size: .85rem; }

.ticks, .dashes, .numbered { display: grid; gap: 12px; margin-top: 14px; max-width: 68ch; }
.ticks li, .dashes li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .4em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--magenta); border-bottom: 2.5px solid var(--magenta); transform: rotate(-45deg);
}
.dashes li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 12px; height: 2px; background: var(--soft); }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--line); border-radius: var(--r); }
.numbered li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 18px; top: 14px;
  font-weight: 800; color: var(--magenta); font-variant-numeric: tabular-nums;
}

.criteria { display: grid; gap: 18px; margin-top: 18px; max-width: 640px; }
.criteria__head { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.criteria__head span { font-weight: 800; font-variant-numeric: tabular-nums; }
.criteria__bar { height: 8px; margin-top: 8px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.criteria__bar span { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.criteria p { margin-top: 6px; font-size: .9rem; color: var(--muted); }

.tl { position: relative; display: grid; max-width: 640px; margin-top: 8px; }
.tl li { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 0 0 26px 30px; }
.tl li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--line-2); box-sizing: border-box;
}
.tl li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.tl li.is-done::before { background: var(--ink); border-color: var(--ink); }
.tl li.is-now::before { background: var(--magenta); border-color: var(--magenta); box-shadow: 0 0 0 5px rgba(200, 23, 127, .15); }
.tl__date { font-weight: 800; color: var(--ink); }
.tl__label { color: var(--muted); }
.tl__label em { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: #fdf1f7; font-style: normal; font-size: .78rem; font-weight: 800; color: var(--magenta); }

.resources { display: grid; gap: 10px; margin-top: 18px; }
.resources li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: var(--paper); border-radius: var(--r); }
.resources .icon { margin-top: 3px; color: var(--soft); }
.resources strong { display: block; color: var(--ink); }
.resources span { font-size: .88rem; color: var(--muted); }

.brief-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  margin-top: 28px; padding: 20px 22px; border: 1.5px solid var(--ink); border-radius: var(--r-lg);
}
.brief-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--ink); color: #fff; }
.brief-card__icon .icon { width: 24px; height: 24px; }
.brief-card strong { display: block; font-size: 1.05rem; color: var(--ink); }
.brief-card span { font-size: .9rem; color: var(--muted); }

.qa { margin-top: 28px; }
.qa:empty { display: none; }
.qa h3 { margin: 0 0 10px; }
.qa__list { display: grid; gap: 10px; }
.qa__list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.qa__q { color: var(--ink); font-weight: 600; }
.qa__a { margin-top: 6px; color: var(--text); }
.qa__meta { display: block; margin-top: 6px; font-size: .8rem; color: var(--soft); }
.ask { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; padding: 24px; background: var(--paper); border-radius: var(--r-lg); }
.ask h3 { margin: 0; }
.ask p { margin-top: 4px; color: var(--muted); }

/* ---------- Challenge page: sidebar ---------- */
.ch-side { position: sticky; top: calc(var(--header-h) + 76px); }
.side-card { display: grid; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 24px 50px -36px rgba(22, 19, 63, .5); }
.side-card__label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.side-card__budget { margin-top: -6px; font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.side-card__facts { display: grid; margin: 4px 0 10px; border-top: 1px solid var(--line); }
.side-card__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.side-card__facts dt { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.side-card__facts dt .icon { color: var(--soft); }
.side-card__facts dd { font-weight: 700; color: var(--ink); text-align: right; }
.side-card__share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.side-card__share:hover { color: var(--magenta); }
.side-card__note { font-size: .85rem; text-align: center; color: var(--muted); }
.side-card__note strong { color: var(--ink); }
[data-apply].is-applied { background: #15803d; }

.apply-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .pg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-article { grid-template-columns: 1fr; gap: 40px; }
  .pg-session { grid-template-columns: 130px 120px minmax(0, 1fr); }
  .nav { display: none; }
  .menu-toggle { display: grid; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 0; aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .paths-more { grid-template-columns: repeat(2, 1fr); }
  .themes-wrap { grid-template-columns: 1fr; gap: 32px; }
  .deal { grid-template-columns: 1fr; }
  .deal__img, .deal--light .deal__img { min-height: 0; aspect-ratio: 16 / 9; }
  .deal__body { padding: 64px 32px; }
  .forum { grid-template-columns: 1fr; gap: 48px; }
  .forum__mosaic { height: 480px; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .ch-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .ch-side { position: static; order: -1; }
  .apply-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(22, 19, 63, .5);
  }
  .apply-bar__info { display: grid; line-height: 1.25; }
  .apply-bar__info strong { color: var(--ink); font-size: 1.05rem; }
  .apply-bar__info span { font-size: .82rem; color: var(--muted); }
  .apply-bar .btn { min-width: 150px; }
  body:has(.apply-bar) .site-footer { padding-bottom: 76px; }
}

@media (max-width: 760px) {
  .container { padding-inline: 18px; }
  .hero__foot::before { left: 18px; right: 18px; }
  .header__inner { gap: 12px; height: 68px; }
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .header__signin { display: none; }
  .header__actions { gap: 10px; }

  .hero { min-height: 0; }
  .hero__inner { padding-top: 88px; padding-bottom: 32px; }
  .hero__lead { font-size: 1.02rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__foot { padding-bottom: 64px; font-size: .85rem; }
  .countdown { gap: 4px 14px; }
  .countdown__label { flex-basis: 100%; }
  .countdown strong { font-size: 1.15rem; }

  .finder { grid-template-columns: 1fr; padding: 6px; }
  .finder__field { padding: 10px 12px; }
  .finder__field + .finder__field { border-left: 0; border-top: 1px solid var(--line); }
  .finder__btn { min-height: 52px; margin-top: 6px; }

  .section { padding-block: 72px; }
  .section--challenges { padding-top: 56px; }
  .deal--light { margin-top: 40px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .pg-grid, .pg-grid--3 { grid-template-columns: 1fr; }
  .pg-speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pg-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-session { grid-template-columns: 1fr; gap: 6px; }
  .pg-article { grid-template-columns: 1fr; gap: 36px; }
  .pg-hero { padding: 32px 0; }
  .pg-section { padding: 36px 0 56px; }
  .pg-card { padding: 20px; }
  .contact__facts > div { grid-template-columns: 1fr; gap: 4px; }
  .contact__form, .contact__done { padding: 22px 18px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 0; border-bottom: 0; }
  .tabs { margin-inline: -18px; padding-inline: 18px; border-bottom: 1px solid var(--line); }
  .sort { padding-top: 14px; }
  .cards { grid-template-columns: 1fr; }
  .featured__body { padding: 24px 22px; }
  .featured__stats { grid-template-columns: 1fr 1fr; }
  .featured__stats div:last-child { grid-column: 1 / -1; }
  .featured__stats dd { font-size: 1rem; }

  /* Steps become a swipeable row */
  .steps {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%;
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .switch { width: 100%; }
  .switch button { flex: 1; padding: 0 10px; }

  .paths { grid-template-columns: 1fr; }
  .path__body { padding: 22px 22px 26px; }
  .paths-more { grid-template-columns: 1fr; gap: 20px; }

  .theme-row { grid-template-columns: 30px 1fr 18px; gap: 10px; padding: 16px 2px; }
  .theme-row:hover { padding-left: 2px; }
  .theme-row__name { font-size: 1.02rem; }
  .theme-row__count { grid-column: 2; grid-row: 2; margin-top: -4px; padding-left: 22px; font-size: .82rem; }
  .theme-row .icon { grid-column: 3; grid-row: 1 / span 2; }

  .deal__body { padding: 48px 18px 56px; }
  .deal__outcomes { grid-template-columns: 1fr; }

  .forum__mosaic { height: 380px; gap: 8px; }
  .forum__actions .btn { flex: 1 1 100%; }

  .cta-band__inner { padding-block: 48px; }
  .cta-band__actions .btn { flex: 1 1 100%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand { grid-column: 1 / -1; }

  .header__auth .header__signin { display: none; }
  .header__auth { gap: 10px; }
  .modal {
    width: calc(100% - 16px); max-height: calc(100dvh - 12px);
    margin: auto; border-radius: 16px;
  }
  .modal__inner { padding: 24px 18px 20px; }
  .modal__title { font-size: 1.3rem; }
  .choice { grid-template-columns: 1fr; }
  .auth__tabs button { font-size: .95rem; }
  .ch-hero__status { margin-top: 40px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .tl li { grid-template-columns: 1fr; gap: 2px; }
  .brief-card { grid-template-columns: auto 1fr; }
  .brief-card .btn { grid-column: 1 / -1; }
  .ask .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
