/* ==========================================================================
   Global Multi Talent Summit 2027 — Phase 1 stylesheet
   Tokens → base → layout → components → sections → utilities
   ========================================================================== */

:root {
  /* Colour */
  --ink: #0b0f1a;
  --ink-2: #111728;
  --ink-3: #1a2238;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text-on-dark: #f3f1ea;
  --muted-on-dark: #a9b1c2;

  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --white: #ffffff;
  --text: #14171f;
  --muted: #545a66;
  --line: #d9d3c6;

  --gold: #e3b04b;
  --gold-hover: #efc265;
  --gold-deep: #8a6412; /* gold for text on light backgrounds (AA) */
  --sky: #8ec5ff;
  --sky-deep: #1f5fa8;
  --error: #b3261e;
  --error-on-dark: #ff9b92;

  /* Type */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  /* Space & shape */
  --gutter: 16px;
  --container: 1200px;
  --radius: 4px;
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 68px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-dark :focus-visible,
.section-corridor :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 14px/1 var(--font-sans);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 34px; }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }

.btn-dark { background: var(--ink); color: var(--text-on-dark); }
.btn-dark:hover { background: var(--ink-3); }

.btn-outline-light { border-color: rgba(255,255,255,.4); color: var(--text-on-dark); background: transparent; }
.btn-outline-light:hover { border-color: var(--text-on-dark); background: rgba(255,255,255,.06); }

.btn-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; font-size: 15px;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.btn-link span { transition: transform .2s var(--ease); }
.btn-link:hover span { transform: translateX(3px); }
.btn-link-light { color: var(--text-on-dark); }

.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--text-on-dark);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(11, 15, 26, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 32px; height: 32px; color: var(--text-on-dark); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.brand-sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 22px; }
.site-nav a:not(.btn) {
  color: var(--text-on-dark); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="true"] { border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--text-on-dark); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; margin: 0 auto;
  background: currentColor; position: relative;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    padding: 8px var(--gutter) 28px;
    border-top: 1px solid var(--line-dark);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .site-header.nav-open .site-nav {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .site-nav a:not(.btn):hover { border-bottom-color: var(--line-dark); color: var(--gold); }
  .nav-cta { margin-top: 20px; min-height: 48px; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-paper { background: var(--paper); }
.section-light { background: var(--white); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.section-head.split {
  max-width: none;
  display: grid; gap: 24px 64px;
}
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.15fr 1fr; align-items: end; }
}

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font: 600 12px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow-num { font-family: var(--font-mono); letter-spacing: .05em; }
.eyebrow-light { color: var(--gold); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.section-title-light { color: var(--text-on-dark); }
.section-sub { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 640px; }
.section-sub-light { color: var(--muted-on-dark); }
.section-intro { color: var(--muted); font-size: 18px; }
.section-intro-light { color: var(--muted-on-dark); }
.lead-light { color: var(--muted-on-dark); font-size: 19px; margin-top: 20px; }

.kicker {
  font: 600 12px/1.3 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.kicker-light { color: var(--muted-on-dark); }
.fine { font-size: 14px; color: var(--muted); margin-top: 20px; }
.fine-light { color: var(--muted-on-dark); }

.tick-list { list-style: none; }
.tick-list li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 10px; height: 1px; background: var(--gold-deep);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  background:
    radial-gradient(120% 80% at 80% 100%, #1a2340 0%, rgba(11,15,26,0) 60%),
    var(--ink);
  color: var(--text-on-dark);
}
.hero-bg { position: absolute; pointer-events: none; overflow: hidden; }
.hero-map { width: 100%; height: 100%; overflow: visible; }
/* Desktop: map occupies the right half beside the text */
@media (min-width: 1024px) {
  .hero-bg { top: var(--header-h); right: 0; bottom: 0; left: 44%; }
  .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ink) 0%, rgba(11,15,26,0) 22%);
  }
}
/* Tablet / mobile: map sits quietly behind the top of the hero */
@media (max-width: 1023px) {
  .hero-bg { top: var(--header-h); left: 30%; right: -10%; height: 60%; opacity: .4; }
  .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,15,26,0) 40%, var(--ink) 100%);
  }
}
.map-label { font: 600 14px var(--font-sans); letter-spacing: .2em; fill: #f3f1ea; }
.map-coord { font: 12px var(--font-mono); fill: #a9b1c2; }

.hero-arc { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-out infinite; }
.pulse-delay { animation-delay: 1.6s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font: 600 13px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.hero-eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(36px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
  max-width: 11ch;
}
@media (min-width: 1024px) { .hero-title { max-width: 13ch; } .hero-inner > :not(.hero-title) { max-width: 600px; } }
.hero-year { color: var(--gold); }

.hero-corridor {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 28px 0 0;
  padding: 10px 16px;
  border: 1px solid var(--line-dark);
  font: 600 13px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
}
.corridor-arrow { color: var(--sky); font-size: 18px; letter-spacing: 0; }

.hero-promise {
  margin: 40px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  max-width: 20ch;
}
.hero-lede { margin-top: 20px; max-width: 560px; font-size: 18px; color: var(--muted-on-dark); }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 36px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 20px 48px;
  margin: 52px 0 0; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  max-width: 820px;
}
.hero-facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 6px; }
.hero-facts dd { margin: 0; font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 4px rgba(88,214,141,.18); }

@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-facts { gap: 18px 32px; margin-top: 44px; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid; gap: 40px;
  padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .about-grid { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.about-block p { font-size: 17px; }

.ecosystem { margin-top: 56px; }
.ecosystem-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-left: 1px solid var(--line);
}
.ecosystem-list li {
  padding: 22px 20px;
  border-right: 1px solid var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-left: -1px;
  font-family: var(--font-serif); font-size: 22px; line-height: 1.2;
  display: flex; flex-direction: column; gap: 14px;
}
.eco-num { font: 12px var(--font-mono); color: var(--gold-deep); }

.experience { margin-top: 56px; }
.experience-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.experience-list li {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; background: var(--white);
}

/* ---------- Why attend (tabs) ---------- */
.audience-tabs {
  display: flex; gap: 4px; overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
}
.audience-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) {
  .audience-tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
}
.audience-tabs button {
  flex: none;
  padding: 16px 18px; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 2px solid transparent;
  font: 600 15px var(--font-sans); color: var(--muted);
  cursor: pointer; white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.audience-tabs button:hover { color: var(--text); }
.audience-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }

.audience-panel {
  display: grid; gap: 40px;
  padding-top: 48px;
}
.audience-panel[hidden] { display: none; }
@media (min-width: 900px) { .audience-panel { grid-template-columns: 1fr 1.3fr; gap: 80px; } }
.panel-lead h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.panel-lead p { font-size: 18px; color: var(--muted); margin-bottom: 28px; }

.value-list { list-style: none; counter-reset: v; }
.value-list li {
  counter-increment: v;
  position: relative;
  padding: 20px 0 20px 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.value-list li:last-child { border-bottom: 1px solid var(--line); }
.value-list li::before {
  content: counter(v, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font: 13px var(--font-mono); color: var(--gold-deep);
}
.value-list strong { color: var(--text); font-weight: 600; }

/* ---------- Matchmaking ---------- */
.matchmaking {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(142,197,255,.10) 0%, rgba(142,197,255,0) 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(227,176,75,.10) 0%, rgba(227,176,75,0) 70%),
    var(--ink);
}
.matchmaking .section-head { max-width: none; }
.match-title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(34px, 6.2vw, 84px);
  line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase;
}
.match-title .arrow { color: var(--sky); font-weight: 400; }
.match-title .gold { color: var(--gold); }

.steps {
  list-style: none;
  display: grid; gap: 0;
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step + .step { border-left: 1px solid var(--line-dark); }
}
.step { padding: 32px 24px 36px 0; position: relative; }
@media (min-width: 900px) { .step { padding: 32px 24px 40px; } .step:first-child { padding-left: 0; } }
@media (max-width: 899px) { .step { border-bottom: 1px solid var(--line-dark); padding-left: 56px; } }
.step-num {
  display: block; font: 13px var(--font-mono); color: var(--gold); margin-bottom: 18px;
}
@media (max-width: 899px) { .step-num { position: absolute; left: 0; top: 36px; } }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted-on-dark); font-size: 16px; }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .8s var(--ease);
}
.is-visible .step::before { width: 40px; }

.match-pairs-wrap { margin-top: 72px; }
.match-pairs {
  list-style: none;
  display: grid; gap: 1px; background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
@media (min-width: 640px) { .match-pairs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .match-pairs { grid-template-columns: repeat(3, 1fr); } }
.match-pairs li {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 22px 24px; background: var(--ink-2);
  font-weight: 600; font-size: 17px;
}
.pair-arrow { color: var(--gold); font-weight: 400; }

.match-cta {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding: 32px; border: 1px solid rgba(227,176,75,.4);
  background: rgba(227,176,75,.05);
}
.match-cta p { max-width: 640px; color: var(--muted-on-dark); margin: 0; }

/* ---------- Themes ---------- */
.themes { list-style: none; border-top: 1px solid var(--text); }
.theme { border-bottom: 1px solid var(--line); }
.theme summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 16px;
  padding: 28px 0;
}
.theme summary::-webkit-details-marker { display: none; }
.theme-num { font: 14px var(--font-mono); color: var(--gold-deep); }
.theme-name {
  font-family: var(--font-serif); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.15;
  transition: color .2s var(--ease);
}
.theme summary:hover .theme-name { color: var(--gold-deep); }
.theme-toggle { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.theme-toggle::before, .theme-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.theme-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.theme details[open] .theme-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.theme-body { padding: 0 48px 32px 72px; max-width: 900px; }
.theme-body p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
@media (max-width: 640px) {
  .theme summary { grid-template-columns: 36px 1fr 32px; gap: 12px; }
  .theme-body { padding: 0 0 28px 48px; }
}

/* ---------- Sweden ↔ Bangladesh ---------- */
.section-corridor {
  background:
    linear-gradient(135deg, #0e1a33 0%, #0b0f1a 60%);
  color: var(--text-on-dark);
  overflow: hidden;
}
.section-corridor::before {
  content: ""; position: absolute; right: -10%; top: -30%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(142,197,255,.12);
  box-shadow: 0 0 0 80px rgba(142,197,255,.025), 0 0 0 160px rgba(142,197,255,.02);
  pointer-events: none;
}
.corridor-grid { display: grid; gap: 48px; position: relative; }
@media (min-width: 960px) { .corridor-grid { grid-template-columns: 1fr 1.1fr; gap: 88px; } }
.corridor-reasons { list-style: none; display: grid; gap: 0; }
.corridor-reasons li { padding: 24px 0; border-top: 1px solid var(--line-dark); }
.corridor-reasons li:last-child { border-bottom: 1px solid var(--line-dark); }
.corridor-reasons h3 { font-size: 19px; margin-bottom: 8px; color: var(--sky); font-weight: 600; }
.corridor-reasons p { color: var(--muted-on-dark); }

.target-orgs {
  position: relative;
  margin-top: 72px; padding: 32px;
  border: 1px dashed rgba(255,255,255,.28);
  display: grid; gap: 24px;
}
@media (min-width: 960px) { .target-orgs { grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; } }
.target-orgs-head h3 { font-size: 20px; margin-bottom: 8px; }
.target-orgs-head p { color: var(--muted-on-dark); font-size: 15px; }
.target-orgs-list { list-style: none; }
.target-orgs-list li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
}
.target-orgs-list li:last-child { border-bottom: 0; }
.org-name { font-weight: 600; }
.badge {
  font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 2px;
}
.badge-target { border: 1px solid rgba(255,255,255,.35); color: var(--muted-on-dark); }

/* ---------- Speakers ---------- */
.formats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .formats { grid-template-columns: repeat(4, 1fr); } }
.format { background: var(--white); padding: 32px 28px; }
.format h3 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; margin-bottom: 12px; }
.format p { color: var(--muted); }
.format-cta { background: var(--paper); }
.format-cta .btn { margin-top: 12px; }

/* ---------- Awards ---------- */
.awards {
  background:
    radial-gradient(40% 60% at 50% 0%, rgba(227,176,75,.12) 0%, rgba(227,176,75,0) 70%),
    var(--ink);
}
.awards-groups { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (min-width: 760px) { .awards-groups { grid-template-columns: repeat(3, 1fr); } }
.award-group { background: var(--ink); padding: 36px 32px; }
.award-mark { display: block; font-family: var(--font-serif); font-size: 44px; color: var(--gold); line-height: 1; margin-bottom: 20px; }
.award-group h3 { font-family: var(--font-serif); font-weight: 500; font-size: 28px; margin-bottom: 8px; }
.award-group p { color: var(--muted-on-dark); }

.awards-categories { margin-top: 56px; }
.category-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.category-list li {
  padding: 10px 16px; border: 1px solid var(--line-dark);
  font-size: 15px; color: var(--text-on-dark);
}

/* ---------- Sponsors ---------- */
.sponsor-values {
  list-style: none;
  display: grid; gap: 0;
  border-top: 1px solid var(--text);
}
@media (min-width: 640px) { .sponsor-values { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1024px) { .sponsor-values { grid-template-columns: repeat(4, 1fr); column-gap: 40px; } }
.sponsor-values li { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.sponsor-values h3 { font-size: 18px; margin-bottom: 8px; }
.sponsor-values p { color: var(--muted); font-size: 16px; }

.partner-band {
  margin-top: 64px;
  display: grid; gap: 0;
  background: var(--white); border: 1px solid var(--line);
}
@media (min-width: 900px) { .partner-band { grid-template-columns: 1fr 2fr; } }
.partner-confirmed { padding: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .partner-confirmed { border-bottom: 0; border-right: 1px solid var(--line); } }
.partner-confirmed .kicker { color: var(--gold-deep); }
.partner-name { font-family: var(--font-serif); font-size: 40px; line-height: 1; margin: 0; }
.partner-open { padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.partner-open p { max-width: 520px; color: var(--muted); margin: 0; }
.partner-open strong { color: var(--text); }

/* ---------- Apply ---------- */
.apply { background: linear-gradient(180deg, var(--ink) 0%, #0f1526 100%); }
.apply-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .apply-grid { grid-template-columns: .8fr 1.4fr; gap: 72px; align-items: start; }
  .apply-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.apply-next { list-style: none; counter-reset: s; margin-top: 36px; }
.apply-next li {
  counter-increment: s;
  position: relative; padding: 16px 0 16px 44px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-on-dark);
}
.apply-next li::before {
  content: counter(s); position: absolute; left: 0; top: 16px;
  width: 26px; height: 26px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center;
  font: 12px var(--font-mono); color: var(--gold);
}
.apply-next strong { color: var(--text-on-dark); }

.apply-form-wrap {
  background: var(--paper); color: var(--text);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
}
.form-note { font-size: 14px; color: var(--muted); }
.req { color: var(--error); font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; font-size: 14px; }

.fs { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.fs > legend {
  display: block; width: 100%;
  padding: 0 0 12px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font: 600 13px var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
}
.fs-inner { border: 0; padding: 0; margin: 8px 0 0; min-width: 0; }
.fs-inner > legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 10px; }

.grid-2 { display: grid; gap: 0 24px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: 11px 14px;
  font: 16px/1.4 var(--font-sans); color: var(--text);
  background: var(--white);
  border: 1px solid #b9b2a3; border-radius: var(--radius);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314171f' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(31,95,168,.28);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(179,38,30,.22); }

.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.hint-row { display: flex; justify-content: space-between; gap: 16px; }
.counter { flex: none; font-family: var(--font-mono); font-size: 13px; }
.field-error { color: var(--error); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.field-error:empty { display: none; }

.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.type-opt { position: relative; display: block; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.type-opt span {
  display: flex; align-items: center; min-height: 48px;
  padding: 10px 14px;
  background: var(--white); border: 1px solid #b9b2a3; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1.25;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.type-opt:hover span { border-color: var(--text); }
.type-opt input:checked + span { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.type-opt input:checked + span::before { content: "✓"; margin-right: 8px; color: var(--gold); }
.type-opt input:focus-visible + span { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.type-grid.is-invalid .type-opt span { border-color: var(--error); }

.check-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 400; line-height: 1.45; }
.check input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--ink); cursor: pointer;
}
.check-consent { padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.check-consent a { color: var(--sky-deep); font-weight: 600; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 28px; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions .btn { width: auto; } }
.btn.is-loading .btn-label::after { content: "…"; }

.form-error-summary {
  border: 2px solid var(--error); background: #fdf0ef;
  padding: 18px 20px; margin-bottom: 28px; border-radius: var(--radius);
}
.form-error-summary h3 { font-size: 16px; margin-bottom: 8px; color: var(--error); }
.form-error-summary ul { padding-left: 20px; }
.form-error-summary a { color: var(--error); font-weight: 600; }
.form-error-summary:focus-visible { outline-color: var(--error); }

.form-submit-error {
  margin-top: 16px; padding: 14px 16px;
  border-left: 3px solid var(--error); background: #fdf0ef;
  color: var(--error); font-weight: 600; font-size: 15px;
}

.form-success {
  text-align: center; padding: 40px 12px;
}
.form-success svg { width: 56px; height: 56px; margin: 0 auto 20px; color: #2e7d4f; }
.form-success h3 { font-family: var(--font-serif); font-weight: 500; font-size: 30px; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 480px; margin: 0 auto 24px; }
.form-success .btn-link { color: var(--text); }

/* ---------- Contact ---------- */
.contact-routes {
  list-style: none;
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (min-width: 640px) { .contact-routes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-routes { grid-template-columns: repeat(4, 1fr); } }
.contact-routes li { background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-routes h3 { font-size: 19px; }
.contact-routes p { color: var(--muted); font-size: 16px; flex: 1; }
.contact-routes .btn-link { align-self: flex-start; }
.contact-email a { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1.4fr 1fr; } }
.footer-title { color: var(--text-on-dark); font-weight: 700; font-size: 17px; }
.footer-brand p { margin-bottom: 4px; }
.footer-owner { margin-top: 18px !important; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-nav ul { list-style: none; display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-base a { color: var(--muted-on-dark); text-decoration: none; }
.footer-nav a:hover, .footer-base a:hover { color: var(--gold); }
.footer-cta p { color: var(--text-on-dark); font-family: var(--font-serif); font-size: 24px; margin-bottom: 16px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-arc { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Standalone pages ---------- */
.page-plain { background: var(--paper); }
.page-plain .site-header { background: var(--ink); position: sticky; }
.prose { max-width: 760px; padding: 64px 0 96px; }
.prose h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px, 5vw, 52px); margin-bottom: 24px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: #333844; }
.prose ul { padding-left: 22px; margin-bottom: 1em; }
.prose a { color: var(--sky-deep); }
.prose .updated { font-size: 14px; color: var(--muted); }

/* Hero map: labels only where there is room beside the headline */
@media (max-width: 1023px) {
  .map-label, .map-coord { display: none; }
}
