/* EuFBC — site styles. Brand tokens follow the 2026 concept (orange taken from the logo). */
:root {
  --eufbc: #FF6D00;
  --eufbc-dark: #D45A00;
  --eufbc-light: #FF8A33;
  --eufbc-pale: #FFF4EA;
  --eufbc-subtle: #FFF9F3;
  --ink: #1C1E26;
  --text: #3D3F4A;
  --text-mid: #5A5D68;
  --text-light: #6E717C;
  --border: #E4E5E9;
  --bg: #F7F7F9;
  --white: #FFFFFF;
  --ok: #1F8A4C;
  --warn: #B26A00;
  --danger: #C0362C;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 60px;
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--white); color: var(--text);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--eufbc); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top, 0px);
  height: calc(72px + env(safe-area-inset-top, 0px));
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-mid); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px; transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--eufbc); background: var(--eufbc-pale); }
.nav-links a.nav-cta { background: var(--eufbc); color: var(--white); font-weight: 600; padding: 10px 22px; margin-left: 8px; }
.nav-links a.nav-cta:hover { background: var(--eufbc-dark); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; border-radius: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

main { min-height: 70vh; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 140px var(--gutter) 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -300px; right: -200px; width: 900px; height: 900px;
  background: radial-gradient(circle, var(--eufbc-pale) 0%, transparent 65%); opacity: .7; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
}
.hero-content { animation: fadeUp .7s ease-out both; min-width: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--eufbc); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 58px); font-weight: 600; line-height: 1.08;
  color: var(--ink); margin-bottom: 24px; letter-spacing: -1px;
}
.hero h1 em { font-style: italic; color: var(--eufbc); }
.hero-desc { font-size: 17px; line-height: 1.75; color: var(--text-light); max-width: 470px; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.stat-num { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-light); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

:is(.net-map, .mini-map) { position: relative; animation: fadeUp .8s ease-out .12s both; min-width: 0; }
:is(.net-map, .mini-map) svg { width: 100%; height: auto; display: block; overflow: visible; }
:is(.net-map, .mini-map) .node { fill: var(--eufbc); cursor: pointer; transition: r .2s; }
:is(.net-map, .mini-map) .node:hover, :is(.net-map, .mini-map) .node:focus { fill: var(--eufbc-dark); outline: none; }
:is(.net-map, .mini-map) text { font-family: var(--sans); font-size: 10.5px; fill: var(--text-light); font-weight: 500; pointer-events: none; }
:is(.net-map, .mini-map) .map-note { font-size: 12px; color: var(--text-light); margin-top: 8px; text-align: right; }
.map-tip {
  position: absolute; pointer-events: none; background: var(--ink); color: var(--white); font-size: 12px;
  padding: 8px 12px; border-radius: 8px; line-height: 1.4; transform: translate(-50%, calc(-100% - 12px));
  white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.18); z-index: 5;
}
.map-tip b { color: var(--eufbc-light); font-weight: 600; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 100px var(--gutter); }
.section.tint { background: var(--bg); }
.section.dark { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.section.dark::before {
  content: ''; position: absolute; top: -120px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,109,0,.08) 0%, transparent 70%); pointer-events: none;
}
.container { max-width: 1200px; margin: 0 auto; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-title { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 42px); font-weight: 600; color: var(--ink); letter-spacing: -.5px; line-height: 1.1; }
.section-sub { font-size: 16px; color: var(--text-light); margin-top: 10px; line-height: 1.6; max-width: 560px; }
.dark .eyebrow { color: var(--eufbc-light); }
.dark .section-title { color: var(--white); }
.dark .section-sub { color: rgba(255,255,255,.55); }
.link-arrow {
  font-size: 13px; font-weight: 600; color: var(--eufbc); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; white-space: nowrap;
}
.link-arrow:hover { gap: 10px; }

/* ── Page header (inner pages) ────────────────────────────── */
.page-head { padding: 136px var(--gutter) 56px; position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; top: -260px; right: -160px; width: 700px; height: 700px;
  background: radial-gradient(circle, var(--eufbc-pale) 0%, transparent 65%); opacity: .7; pointer-events: none;
}
.page-head h1 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 52px); font-weight: 600; color: var(--ink); letter-spacing: -.8px; line-height: 1.08; }
.page-head p { font-size: 17px; color: var(--text-light); margin-top: 14px; max-width: 620px; line-height: 1.7; }
.crumbs { font-size: 13px; color: var(--text-light); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--text-mid); text-decoration: none; }
.crumbs a:hover { color: var(--eufbc); }

/* ── Centers ──────────────────────────────────────────────── */
.centers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.center-card {
  display: block; text-decoration: none; background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 48px 24px 28px; position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.center-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--eufbc);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.center-card:hover { border-color: var(--eufbc-light); box-shadow: 0 8px 32px rgba(255,109,0,.07); transform: translateY(-2px); }
.center-card:hover::after { transform: scaleX(1); }
.center-flag { position: absolute; top: 18px; right: 18px; font-size: 20px; line-height: 1; }
.center-short { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.center-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.22; margin-bottom: 6px; }
.center-uni { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.45; }
.center-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--eufbc-dark); }
.center-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--border); background: var(--white); color: var(--text-mid); font: 500 13px var(--sans);
  padding: 7px 14px; border-radius: 100px; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--eufbc-light); color: var(--eufbc-dark); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.search {
  flex: 1 1 220px; max-width: 320px; padding: 9px 14px 9px 36px; border: 1px solid var(--border); border-radius: 100px;
  font: 14px var(--sans); color: var(--ink); background: var(--white) no-repeat 13px center / 15px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E717C' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  outline: none;
}
.search:focus { border-color: var(--eufbc); }
select.chip { padding-right: 30px; appearance: none; background: var(--white) no-repeat right 12px center / 12px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E717C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.empty { padding: 48px; text-align: center; color: var(--text-light); background: var(--white); border: 1px dashed var(--border); border-radius: 12px; }

.join-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--eufbc-pale); border: 1px solid rgba(255,109,0,.14); border-radius: 12px; padding: 20px 28px; margin-top: 32px;
  font-size: 14px; color: var(--text);
}

/* ── Detail pages ─────────────────────────────────────────── */
.detail { padding: 120px var(--gutter) 90px; }
.detail-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--eufbc-pale);
  border-radius: 100px; color: var(--eufbc-dark); font-size: 13px; font-weight: 600;
}
.pill.ghost { background: var(--bg); color: var(--text-mid); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.detail h1 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 48px); font-weight: 600; color: var(--ink); line-height: 1.1; letter-spacing: -.6px; margin-bottom: 12px; }
.detail .lede { font-size: 16px; color: var(--text-light); margin-bottom: 32px; }
.prose { font-size: 16px; line-height: 1.8; color: var(--text); max-width: 66ch; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--eufbc-dark); }
.prose .muted { color: var(--text-light); font-style: italic; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin: 40px 0 16px; }
.label:first-child { margin-top: 0; }

.info-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; position: sticky; top: 96px; }
.info-card .mono-mark {
  width: 64px; height: 64px; border-radius: 14px; background: var(--white); border: 1px solid var(--border);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--eufbc); margin-bottom: 20px;
}
.info-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 14px; }
.info-row:first-of-type { border-top: 0; }
.info-row dt { color: var(--text-light); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; padding-top: 2px; }
.info-row dd { color: var(--ink); overflow-wrap: anywhere; }
.info-row dd a { color: var(--eufbc-dark); text-decoration: none; font-weight: 500; }
.info-row dd a:hover { text-decoration: underline; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 9px;
  font: 600 14px var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .2s;
}
.btn.primary { background: var(--eufbc); color: var(--white); }
.btn.primary:hover { background: var(--eufbc-dark); }
.btn.outline { border-color: var(--border); color: var(--ink); background: var(--white); }
.btn.outline:hover { border-color: var(--eufbc); color: var(--eufbc-dark); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.person-card {
  display: block; text-decoration: none; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--white);
  transition: border-color .2s, transform .2s;
}
.person-card:hover { border-color: var(--eufbc-light); transform: translateY(-1px); }
.person-card .n { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); }
.person-card .r { font-size: 13px; color: var(--text-light); }
.person-card .c { font-size: 12px; color: var(--eufbc-dark); font-weight: 600; margin-top: 6px; }

/* ── Team (dark) ──────────────────────────────────────────── */
.team-group { margin-bottom: 44px; }
.team-group:last-child { margin-bottom: 0; }
.team-group-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.team-group-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.team-group-blurb { font-size: 13px; color: rgba(255,255,255,.4); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.team-card {
  display: block; text-decoration: none; padding: 18px 16px; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06); border-radius: 10px; transition: all .3s;
}
.team-card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,109,0,.35); transform: translateY(-2px); }
.team-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.team-role { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.4; }
.team-center { font-size: 12px; color: var(--eufbc-light); margin-top: 5px; font-weight: 500; }

/* ── Seminars ─────────────────────────────────────────────── */
.seminar-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.seminar-item {
  display: grid; grid-template-columns: 78px minmax(0, 1fr) 230px 120px; gap: 24px; align-items: center;
  padding: 22px 28px; background: var(--white); text-decoration: none; transition: background .2s;
}
.seminar-item:hover { background: var(--eufbc-subtle); }
.sem-number { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--eufbc); font-variant-numeric: tabular-nums; }
.sem-title { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.sem-who { font-size: 13px; color: var(--text-light); line-height: 1.4; }
.sem-who b { color: var(--text-mid); font-weight: 600; }
.sem-date { font-size: 13px; font-weight: 500; color: var(--text-light); text-align: right; font-variant-numeric: tabular-nums; }
.year-sep { padding: 14px 28px 10px; background: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--text-light); }
.schedule-note { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--text-mid); }
.schedule-note svg { width: 18px; height: 18px; stroke: var(--eufbc); fill: none; stroke-width: 2; flex-shrink: 0; }

.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.role-card { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; background: var(--bg); text-decoration: none; display: block; }
a.role-card:hover { border-color: var(--eufbc-light); }
.role-card .k { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--eufbc-dark); margin-bottom: 8px; }
.role-card .n { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.role-card .s { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section { padding: 80px var(--gutter); }
.cta-box {
  max-width: 820px; margin: 0 auto; background: var(--eufbc); border-radius: 20px; padding: 68px 72px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; top: -60px; left: -60px; width: 200px; height: 200px; border: 40px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta-box::after { content: ''; position: absolute; bottom: -80px; right: -80px; width: 250px; height: 250px; border: 50px solid rgba(255,255,255,.06); border-radius: 50%; }
.cta-title { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-text { font-size: 16px; color: rgba(255,255,255,.88); line-height: 1.7; max-width: 500px; margin: 0 auto 30px; position: relative; z-index: 1; }
.cta-btn { display: inline-block; padding: 14px 36px; background: var(--white); color: var(--eufbc-dark); font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 8px; position: relative; z-index: 1; transition: transform .2s, box-shadow .2s; }
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }

/* ── Contact ──────────────────────────────────────────────── */
.contact-layout { max-width: 1060px; margin: 0 auto; padding: 128px var(--gutter) 90px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.criteria-box { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; margin: 32px 0; }
.criteria-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.criteria-list { list-style: none; }
.criteria-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.5; }
.criteria-list li:last-child { border-bottom: 0; }
.criteria-check { width: 22px; height: 22px; border-radius: 50%; background: var(--eufbc-pale); display: grid; place-items: center; flex-shrink: 0; font-size: 12px; color: var(--eufbc-dark); }
.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 34px; }
.form-title { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; min-width: 0; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 8px; font: 14px var(--sans); color: var(--ink); background: var(--white); outline: none; transition: border-color .2s; }
.form-input:focus { border-color: var(--eufbc); }
textarea.form-input { min-height: 130px; resize: vertical; }
select.form-input { appearance: none; background: var(--white) no-repeat right 14px center / 12px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E717C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); padding-right: 36px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.form-msg.ok { background: #E8F5EE; color: var(--ok); }
.form-msg.err { background: #FBEAE8; color: var(--danger); }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 12px; text-align: center; }
.copyable { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-btn { border: 1px solid var(--border); background: var(--white); border-radius: 6px; font: 600 12px var(--sans); padding: 3px 9px; color: var(--text-mid); cursor: pointer; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.5); padding: 44px var(--gutter);
  padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; flex-wrap: wrap;
}
.site-footer img { height: 28px; width: auto; display: block; }
.footer-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-links a:hover { color: var(--eufbc-light); }
.data-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.45); }
.data-badge i { width: 7px; height: 7px; border-radius: 50%; background: #8C8F99; display: inline-block; }
.data-badge.live i { background: #3CCB7F; box-shadow: 0 0 0 3px rgba(60,203,127,.18); }

.loading { padding: 200px 24px; text-align: center; color: var(--text-light); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  :is(.net-map, .mini-map) { max-width: 520px; }
  .centers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-card { position: static; }
  .seminar-item { grid-template-columns: 70px minmax(0, 1fr) 110px; }
  .seminar-item .sem-who { display: none; }
}
@media (max-width: 760px) {
  .nav-logo img { height: 28px; }
  :root { --gutter: max(18px, env(safe-area-inset-left, 0px)); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--border); padding: 10px var(--gutter) 16px; gap: 2px;
  }
  .site-nav.open .nav-links { display: flex; }
  .nav-links a.nav-cta { margin: 6px 0 0; text-align: center; }
  .hero { padding-top: 112px; }
  .section { padding: 72px var(--gutter); }
  .centers-grid, .people-grid, .roles-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seminar-item { grid-template-columns: 52px minmax(0, 1fr); padding: 18px 18px; gap: 14px; }
  .seminar-item .sem-date { grid-column: 2; text-align: left; margin-top: -8px; }
  .year-sep { padding: 12px 18px 8px; }
  .cta-box { padding: 48px 26px; }
  .contact-layout { grid-template-columns: 1fr; padding-top: 108px; gap: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
  .hero-stats { gap: 26px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ═══ Motion & hero map (v2) ═══════════════════════════════════════════════ */
#app.view-in { animation: viewIn .45s ease-out both; }
@keyframes viewIn { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.site-nav { transition: height .3s, box-shadow .3s; }
.site-nav.scrolled { height: calc(62px + env(safe-area-inset-top, 0px)); box-shadow: 0 6px 24px rgba(28,30,38,.06); }
.site-nav.scrolled .nav-logo img { height: 29px; }
.nav-logo img { transition: height .3s; }

.hero h1 em {
  background: linear-gradient(100deg, var(--eufbc) 0%, var(--eufbc) 40%, #FFB27A 50%, var(--eufbc) 60%, var(--eufbc) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 3.2s ease-in-out .6s 1 both; padding-right: .06em;
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

:is(.net-map, .mini-map) .history path { fill: none; stroke: var(--eufbc); stroke-linecap: round; }
:is(.net-map, .mini-map) .live .leg {
  fill: none; stroke: var(--eufbc-dark); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLeg 1.3s cubic-bezier(.3,.7,.2,1) forwards;
}
@keyframes drawLeg { to { stroke-dashoffset: 0; } }
:is(.net-map, .mini-map) .comet { fill: var(--white); }
:is(.net-map, .mini-map) .comet-glow { fill: var(--eufbc); }
:is(.net-map, .mini-map) .ring { fill: none; stroke: var(--eufbc); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
:is(.net-map, .mini-map) .ring.on { animation: ring 1.6s ease-out .2s 2; }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
:is(.net-map, .mini-map) .city-l { font-family: var(--sans); font-size: 10.5px; fill: var(--text-light); font-weight: 500; pointer-events: none; }
:is(.net-map, .mini-map) .node { transform-box: fill-box; transform-origin: center; transition: transform .2s; }
:is(.net-map, .mini-map) .node:hover { transform: scale(1.25); }

.map-caption { min-height: 64px; margin-top: 6px; }
.map-caption a {
  display: grid; grid-template-columns: auto auto 1fr; gap: 2px 10px; align-items: baseline; text-decoration: none;
  background: rgba(255,255,255,.85); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px;
  backdrop-filter: blur(6px); transition: border-color .2s;
}
.map-caption a:hover { border-color: var(--eufbc-light); }
.map-caption.in a { animation: capIn .5s ease-out both; }
@keyframes capIn { from { opacity: .001; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cap-n { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--eufbc); line-height: 1; }
.cap-d { font-size: 12px; color: var(--text-light); font-variant-numeric: tabular-nums; }
.cap-t { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cap-r { grid-column: 1 / -1; font-size: 12px; color: var(--text-light); }
.cap-r b { color: var(--eufbc-dark); font-weight: 600; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--eufbc); display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,109,0,.5); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,109,0,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255,109,0,0); } }

.next-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; max-width: 100%; text-decoration: none;
  padding: 9px 16px 9px 14px; border-radius: 100px; background: var(--white); border: 1px solid rgba(255,109,0,.25);
  box-shadow: 0 4px 18px rgba(255,109,0,.08); font-size: 13px; color: var(--text-mid); transition: border-color .2s, transform .2s;
}
.next-chip:hover { border-color: var(--eufbc); transform: translateY(-1px); }
.next-chip b { color: var(--ink); font-weight: 600; }
.next-chip > span:nth-child(2) { white-space: nowrap; }
.next-chip-t { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 280px; }
.next-chip > span:last-child { color: var(--eufbc); font-weight: 700; }

.next-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  background: var(--ink); color: var(--white); border-radius: 18px; padding: 36px 40px; margin-bottom: 24px;
}
.next-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 85%) var(--my, 20%), rgba(255,109,0,.22), transparent 60%);
}
.next-card > * { position: relative; }
.next-kicker { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--eufbc-light); margin-bottom: 12px; }
.next-title { display: block; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.15; color: var(--white); text-decoration: none; text-wrap: balance; }
.next-title:hover { color: #FFE2CC; }
.next-people { display: flex; gap: 10px 26px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.85); }
.next-people span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 2px; }
.next-people em { font-style: normal; color: var(--eufbc-light); font-size: 12px; }
.next-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.btn.ghost-light { border-color: rgba(255,255,255,.2); color: var(--white); background: transparent; }
.btn.ghost-light:hover { border-color: var(--eufbc-light); color: var(--eufbc-light); }
.next-when { font-size: 13px; color: rgba(255,255,255,.55); text-align: right; margin-bottom: 12px; line-height: 1.5; }
.clock { display: flex; gap: 8px; }
.clock > div { width: 78px; padding: 12px 0 10px; text-align: center; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.clock b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.clock b.tick { animation: tick .5s ease-out; }
@keyframes tick { from { color: var(--eufbc-light); transform: translateY(-4px); } to { color: var(--white); transform: none; } }
.clock span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* cursor spotlight */
.center-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,109,0,.09), transparent 65%);
}
.center-card:hover::before { opacity: 1; }
.team-card { position: relative; overflow: hidden; }
.team-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(200px circle at var(--mx) var(--my), rgba(255,138,51,.16), transparent 65%);
}
.team-card:hover::before { opacity: 1; }

/* scroll reveal (applied only to items below the fold at load) */
.reveal { opacity: .001; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.shown { opacity: 1; transform: none; }
.center-card.reveal.shown:hover, .team-card.reveal.shown:hover { transform: translateY(-2px); transition-delay: 0ms; }

.cta-box::before { animation: drift 14s ease-in-out infinite alternate; }
.cta-box::after { animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(40px, 24px); } }

@media (max-width: 760px) {
  .next-card { grid-template-columns: 1fr; padding: 26px 22px; gap: 24px; }
  .next-when { text-align: left; }
  .clock > div { width: auto; flex: 1; }
  .next-chip-t { display: none; }
  .map-caption { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero h1 em { color: var(--eufbc); background: none; }
}

/* ═══ Graphics (v3): network plant, pillars, map + at-a-glance ═══════════════ */
.hero { padding-bottom: 70px; }
.hero-plant { position: relative; color: var(--eufbc); min-width: 0; aspect-ratio: 800 / 793; max-width: 560px; justify-self: center; width: 100%; }
.hero-plant svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-plant circle { transform-box: fill-box; transform-origin: center; transition: transform .35s ease, fill .35s; }
.hero-plant svg.grow circle { animation: plantPop .55s cubic-bezier(.3,1.6,.5,1) both; }
.hero-plant svg.grow line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: plantLine .7s ease-out forwards; }
.hero-plant svg.grow circle.tw { animation: twinkle 4.5s ease-in-out infinite; }
.hero-plant circle.near { transform: scale(1.7); fill: var(--eufbc-dark); }
@keyframes plantPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes plantLine { to { stroke-dashoffset: 0; } }
@keyframes twinkle { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.45); fill: #FFB27A; } 55% { transform: scale(1.3); } }
.hero-plant::after {
  content: ''; position: absolute; left: 50%; bottom: -2%; width: 46%; height: 5%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,109,0,.18), transparent 70%); pointer-events: none;
}

/* pillars */
.pillars-band { padding: 0 var(--gutter) 30px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--white); overflow: hidden; }
.pillar { display: flex; gap: 18px; padding: 28px 30px; align-items: flex-start; }
.pillar + .pillar { border-left: 1px solid var(--border); }
.pillar-ico { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: var(--eufbc-pale); display: grid; place-items: center; }
.pillar-ico svg { width: 34px; height: 34px; fill: none; stroke: var(--eufbc-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-ico svg .fill { fill: var(--eufbc); stroke: none; }
.pillar h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* network section */
#network { padding-top: 90px; }
.network-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.net-map { position: relative; background: radial-gradient(circle at 60% 40%, var(--eufbc-subtle), transparent 70%); border-radius: 20px; }
.glance { display: grid; gap: 16px; min-width: 0; }
.g-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; min-width: 0; }
.g-k { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.dotbars { display: grid; gap: 7px; }
.dotbar { display: grid; grid-template-columns: 22px minmax(0, 120px) 1fr 22px; gap: 10px; align-items: center; font-size: 13px; color: var(--text); }
.db-flag { font-size: 16px; line-height: 1; }
.db-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-dots { display: flex; gap: 5px; }
.db-dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--border); }
.db-dots i.on { background: var(--eufbc); }
.shown .db-dots i.on, .g-card:not(.reveal) .db-dots i.on { animation: dotIn .4s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
@keyframes dotIn { from { transform: scale(0); } to { transform: scale(1); } }
.db-n { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.donut-wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.donut { width: 132px; height: 132px; flex-shrink: 0; }
.donut-seg { transition: stroke-width .2s; }
.donut-seg:hover { stroke-width: 24; }
.donut-n { font-family: var(--serif); font-size: 30px; font-weight: 700; fill: var(--ink); }
.donut-l { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; fill: var(--text-light); font-weight: 600; }
.legend { list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--text); flex: 1; min-width: 180px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.legend b { margin-left: auto; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.committee-bar { display: flex; gap: 3px; margin-top: 18px; border-radius: 8px; overflow: hidden; font-size: 11.5px; }
.committee-bar span { padding: 8px 10px; white-space: nowrap; min-width: max-content; }
.committee-bar b { font-weight: 700; }
.cb-leadership { background: var(--ink); color: var(--white); }
.cb-scientific { background: var(--eufbc); color: var(--white); }
.cb-organizing { background: var(--eufbc-pale); color: var(--eufbc-dark); }
.span-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 6px 0; }
.span-km { font-size: 13px; color: var(--text-light); white-space: nowrap; }
.span-km b { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.span-line { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--eufbc-dark); min-width: 0; }
.span-line i { flex: 1; height: 2px; min-width: 20px; background: repeating-linear-gradient(90deg, var(--eufbc) 0 6px, transparent 6px 11px); position: relative; }
.span-line i::before, .span-line i::after { content: ''; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--eufbc); }
.span-line i::before { left: -4px; } .span-line i::after { right: -4px; }
.g-note { font-size: 12px; color: var(--text-light); margin-top: 8px; }

/* team monograms + watermark */
.team-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.team-card .mono {
  grid-row: span 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--eufbc-light);
  background: rgba(255,109,0,.1); border: 1px solid rgba(255,109,0,.28); transition: background .3s, color .3s;
}
.team-card:hover .mono { background: var(--eufbc); color: var(--white); }
.plant-mark { position: absolute; pointer-events: none; color: var(--eufbc); }
.section.dark .plant-mark { right: -120px; bottom: -140px; width: 620px; opacity: .07; }
.cta-box .plant-mark { color: var(--white); left: -70px; top: -40px; width: 300px; opacity: .14; z-index: 0; }
.plant-mark svg { width: 100%; height: auto; display: block; }

/* center detail mini map */
.mini-map { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 18px; padding: 6px; }
.mini-map svg { width: 100%; height: auto; display: block; }
.mini-map .node.dim { fill: #F2C7A6; }
.mini-map .history path { opacity: .12 !important; }
.mini-map .history path.hot { opacity: .8 !important; stroke-width: 1.6 !important; }
.mini-map .city-l.big { font-size: 26px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 5px; }
.mini-map .ring.loop { animation: ring 2s ease-out infinite; }

@media (max-width: 1024px) {
  .network-grid { grid-template-columns: 1fr; }
  .hero-plant { max-width: 420px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .hero-plant { max-width: 320px; margin-top: 10px; }
  .pillar { padding: 22px 20px; }
  .section.dark .plant-mark { width: 380px; right: -140px; }
  .committee-bar span { font-size: 10.5px; padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-plant circle.near { transform: none; }
}


.mail-card { position: relative; overflow: hidden; margin-top: 32px; background: var(--ink); color: var(--white); border-radius: 16px; padding: 28px 30px; }
.mail-card::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,109,0,.12); }
.mail-k { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--eufbc-light); position: relative; }
.mail-addr { display: inline-block; margin-top: 10px; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); font-weight: 600; color: var(--white); text-decoration: none; position: relative; overflow-wrap: anywhere; }
.mail-addr:hover { color: #FFE2CC; }
.mail-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; position: relative; }
.mail-card .btn.outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.25); }
.mail-card .btn.outline:hover { border-color: var(--eufbc-light); color: var(--eufbc-light); }
.mail-note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 14px; position: relative; }

/* legal pages + footer bar */
.legal { max-width: 780px; margin: 0 auto; padding: 128px var(--gutter) 90px; }
.legal h1 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 46px); font-weight: 600; color: var(--ink); letter-spacing: -.5px; line-height: 1.1; }
.legal-date { font-size: 13px; color: var(--text-light); margin-top: 10px; }
.legal-body { margin-top: 32px; max-width: none; }
.legal-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin: 36px 0 10px; }
.legal-body h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 22px 0 6px; }
.legal-body ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.legal-body .lead { font-size: 18px; color: var(--ink); background: var(--eufbc-pale); border-radius: 12px; padding: 16px 20px; }
.legal-more { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); }
.footer-legal { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 20px; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; }
.footer-legal ul { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); }
.footer-legal a:hover { color: var(--eufbc-light); text-decoration-color: currentColor; }
.footer-pub a { color: var(--eufbc-light); }

.net-side { display: grid; gap: 16px; min-width: 0; }
.net-side .map-caption { margin-top: 0; min-height: 86px; }

/* mobile menu (v2) */
.nav-toggle span { transition: transform .25s, opacity .2s; }
.site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 760px) {
  .site-nav .nav-links {
    gap: 0; padding: 8px max(18px, env(safe-area-inset-left, 0px)) 18px;
    box-shadow: 0 18px 40px rgba(28,30,38,.12); border-top: 1px solid var(--border);
  }
  .site-nav.open .nav-links { animation: menuIn .25s ease-out; }
  .nav-links li { display: block; }
  .nav-links li[hidden] { display: none; }
  .nav-links a {
    display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-radius: 0;
    font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border);
  }
  .nav-links a:not(.nav-cta)::after { content: '→'; color: var(--eufbc); font-weight: 600; }
  .nav-links a:hover, .nav-links a.active { background: none; color: var(--eufbc-dark); }
  .nav-links a.nav-cta { justify-content: center; margin: 16px 0 0; padding: 14px 20px; border-radius: 10px; border-bottom: 0; font-size: 16px; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.num-inline { color: var(--eufbc-dark); font-weight: 700; font-variant-numeric: tabular-nums; display: inline-block; min-width: 1.2em; text-align: center; }

/* center logos */
.center-logo { height: 40px; margin-bottom: 14px; display: flex; align-items: center; }
.center-logo img { max-height: 40px; max-width: 170px; width: auto; object-fit: contain; display: block; }
.logo-box { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 14px; display: grid; place-items: center; min-height: 115px; }
.logo-box img { max-height: 77px; max-width: 100%; object-fit: contain; }
.logo-band { padding: 26px 0 30px; border-block: 1px solid var(--border); background: var(--white); overflow: hidden; }
.logo-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.logo-band:hover .logo-track { animation-play-state: paused; }
.logo-row { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.logo-item { display: flex; align-items: center; height: 46px; }
.logo-item img { max-height: 46px; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.logo-item:hover img, .logo-item:focus img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; }
  .logo-row[aria-hidden] { display: none; }
  .logo-row { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 24px; }
}

/* ── map v3: quiet land, crisp dots, every city labelled ─────────────────── */
.net-map { background: #F6F8F9; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.mini-map { background: #F6F8F9; }
:is(.net-map, .mini-map) .land path { fill: #ECE8E3; stroke: #FFFFFF; stroke-width: .8; stroke-linejoin: round; transition: fill .5s ease; }
:is(.net-map, .mini-map) .land path.member { fill: #E2DCD4; }
:is(.net-map, .mini-map) .land path.focus { fill: #FBD7BA; }
:is(.net-map, .mini-map) .history path { stroke: #B9A898; }
.net-map svg.touring .history path { opacity: .04 !important; }
:is(.net-map, .mini-map) .node { fill: var(--eufbc); stroke: #FFFFFF; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.3,1.4,.5,1), fill .3s; }
:is(.net-map, .mini-map) .node:hover, :is(.net-map, .mini-map) .node:focus-visible { transform: scale(1.3); fill: var(--eufbc-dark); outline: none; }
.net-map .node.focus { transform: scale(1.45); fill: var(--eufbc-dark); }
.net-map svg.touring .node:not(.focus) { fill: var(--eufbc); }
:is(.net-map, .mini-map) .city-l { font-size: 10.5px; font-weight: 500; fill: #5B5F6B; paint-order: stroke; stroke: rgba(246,248,249,.9); stroke-width: 3px; stroke-linejoin: round; transition: opacity .2s; }
:is(.net-map, .mini-map) .leaders line { stroke: #6E6A66; stroke-width: .8; stroke-linecap: round; transition: opacity .2s; }
.net-map .off { opacity: 0; }
:is(.net-map, .mini-map) .inset rect { fill: #FFFFFF; stroke: var(--border); stroke-width: 1; }
:is(.net-map, .mini-map) .inset-l { font-size: 10.5px; font-weight: 600; fill: var(--ink); }
:is(.net-map, .mini-map) .inset-s { font-size: 8.5px; fill: var(--text-light); letter-spacing: .3px; }
.net-map .focus-pill { animation: capIn .35s ease-out both; pointer-events: none; }
.net-map .focus-pill rect, .net-map .focus-pill path { fill: var(--ink); }
.net-map .focus-pill text { font-size: 11.5px; font-weight: 700; fill: #FFFFFF; letter-spacing: .2px; }
.net-map .live.fan .leg { stroke-width: .8; stroke: var(--eufbc); opacity: .7; }
.net-map .comet-glow { opacity: .7; }
.mini-map .node.dim { fill: #F2B48A; stroke-width: 1.2; }
.mini-map .node.here { fill: var(--eufbc-dark); }
.mini-map .history path { opacity: .06 !important; }
.mini-map .history path.hot { opacity: .55 !important; stroke: var(--eufbc) !important; stroke-width: .9 !important; }
.mini-map .city-l.big { font-size: 24px; font-weight: 700; fill: var(--ink); stroke: #F6F8F9; stroke-width: 5px; }

/* ── research output (FBDashboard.org) ───────────────────────────────────── */
.fbd-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text-light); text-decoration: none; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); white-space: nowrap; transition: border-color .2s, color .2s; }
.fbd-badge b { color: var(--ink); font-weight: 700; }
.fbd-badge:hover, .fbd-badge:focus-visible { border-color: var(--eufbc); color: var(--eufbc-dark); }
.center-rs { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text-light); }
.center-rs .rk { color: var(--eufbc-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.rs-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 30px; }
.rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rs-cell { min-width: 0; padding: 4px 0; }
.rs-num { font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.rs-cell.rank .rs-num { color: var(--eufbc-dark); }
.rs-lab { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.rs-lab span { display: block; font-weight: 400; color: var(--text-light); margin-top: 2px; }
.rs-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.rs-topics span { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); margin-right: 4px; }
.rs-topics i { font-style: normal; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--eufbc-subtle); color: var(--eufbc-dark); font-weight: 500; }
.rs-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--text-light); line-height: 1.45; }
.rs-foot > span { flex: 1 1 260px; }
.research-sec { padding-top: 40px; }
.research-sec .section-head { align-items: flex-end; }
.rs-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 28px 0 32px; border-block: 1px solid var(--border); }
.rs-rank { max-width: none; }
.rs-rank-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rs-rank-h b { font-size: 15px; color: var(--ink); }
.rs-rank-h span { font-size: 13px; color: var(--text-light); }
.rs-rank ol { list-style: none; margin: 0 0 16px; padding: 0; }
.rs-rank li a { display: grid; grid-template-columns: 52px minmax(0, 1.4fr) minmax(0, 1fr) 84px; align-items: center; gap: 14px; padding: 10px 8px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; border-radius: 8px; transition: background .2s; }
.rs-rank li a:hover, .rs-rank li a:focus-visible { background: var(--eufbc-subtle); }
.rs-rank .rk { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--eufbc-dark); font-variant-numeric: tabular-nums; }
.rs-rank .nm { min-width: 0; display: flex; flex-direction: column; }
.rs-rank .nm b { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-rank .nm small { font-size: 12px; color: var(--text-light); }
.rs-rank .bar { height: 6px; background: #EFEAE5; border-radius: 3px; overflow: hidden; }
.rs-rank .bar i { display: block; height: 100%; background: var(--eufbc); border-radius: 3px; }
.rs-rank .pp { font-size: 12.5px; color: var(--text-light); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .rs-grid, .rs-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-rank li a { grid-template-columns: 44px minmax(0, 1fr) 70px; }
  .rs-rank .bar { display: none; }
  .research-sec .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}


/* static content written for search engines; the app replaces it on load */
.prerender { padding: 120px var(--gutter, 24px) 80px; max-width: 860px; line-height: 1.6; }
.prerender h1 { font-family: var(--serif); font-size: 40px; margin-bottom: 12px; }
.prerender h2 { font-family: var(--serif); font-size: 26px; margin: 28px 0 8px; }
.prerender ul { padding-left: 20px; }

/* no decorative rings in the call-to-action box */
.cta-box::before, .cta-box::after { content: none; }

/* Ask Dashy (FBDashboard.org) on center pages: quiet, in the style of the research card */
.label .beta { display: inline-block; margin-left: 8px; font-size: 10px; letter-spacing: .6px; line-height: 1.5; padding: 2px 7px; border-radius: 999px; background: var(--eufbc-subtle); color: var(--eufbc-dark); vertical-align: middle; }
.dashy { background: var(--white); border: 1.5px solid var(--eufbc); border-radius: 16px; padding: 22px; margin: 0 0 10px; }
.dashy label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.dashy-row { display: flex; gap: 12px; align-items: center; }
.dashy textarea { flex: 1; min-width: 0; resize: none; overflow: hidden; field-sizing: content; min-height: 4.4em; font: inherit; font-size: 15px; line-height: 1.45; color: var(--ink); background: #F6F8F9; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; box-sizing: border-box; transition: border-color .2s, background .2s; }
.dashy textarea:focus { outline: none; border-color: var(--eufbc); background: var(--white); }
.dashy-btn { flex: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid #CFCBC6; border-radius: 10px; padding: 11px 18px; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.dashy-btn:hover, .dashy-btn:focus-visible { border-color: var(--eufbc); color: var(--eufbc-dark); outline: none; }
.dashy-note { margin: 10px 0 0; font-size: 12px; color: var(--text-light); }
@media (max-width: 640px) {
  .dashy { padding: 18px; }
  .dashy-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .dashy textarea { font-size: 16px; padding: 12px; }
}
.dashy-label { margin-top: 36px; }
.dashy-note a { color: var(--eufbc-dark); text-decoration: underline; text-underline-offset: 2px; }
.rs-lab span a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dashy-note b { color: var(--ink); font-weight: 600; }

/* contact mail card: the dotted leaf instead of a ring */
.mail-card::before { content: none; }
.mail-card .plant-mark { right: -40px; top: -30px; width: 300px; opacity: .16; z-index: 0; }
.mail-card > :not(.plant-mark) { position: relative; z-index: 1; }
