:root {
  --ink: #0b1f4d;
  --ink-soft: #1c3d6e;
  --paper: #f5f8fc;
  --paper-2: #ffffff;
  --line: #d5e1f0;
  --gold: #1d4e89;
  --gold-2: #c5d7ef;
  --white: #ffffff;
  --muted: #3d5270;
  --shadow: 0 18px 50px rgba(11, 31, 77, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --navy: #0b1f4d;
  --redline: #c8102e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.rw-wait body { visibility: hidden; }
.lang-switch {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  white-space: nowrap;
  position: relative;
  z-index: 30;
  margin-left: 0.75rem;
  pointer-events: auto;
}
.lang-switch .lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.45rem 0.5rem;
  line-height: 1;
  text-decoration: none;
  display: inline-block;
}
.lang-switch .lang-btn:hover {
  color: var(--ink);
}
.lang-switch .lang-btn[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.lang-sep {
  color: var(--gold);
  user-select: none;
}
#milestones, #lectures, #how-projects-work, #submission-instructions, #project-form, #early-stage, #startup-candidates, #startup-fields, #team, #spending-report, #legal-review { scroll-margin-top: 5.5rem; }
.cta-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 1.8rem 1.7rem 1.6rem;
  margin: 0 0 2.4rem;
  box-shadow: var(--shadow);
}
.cta-box h2 {
  color: var(--white);
  margin: 0.15rem 0 0.8rem;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
.cta-box p { color: #e7decc; max-width: 44rem; }
.cta-box .kicker { color: var(--gold-2); }
.cta-box .btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.cta-box .btn.ghost { color: var(--paper); border-color: #e7decc; }
.submit-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem 1rem 1rem 2.2rem;
  margin: 0 0 1.2rem;
}
.submit-list li { margin: 0.55rem 0; }
.submit-list span { display: block; color: var(--muted); font-size: 0.95rem; }
.project-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.project-media {
  background: #163152;
  min-height: 220px;
}
.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-body { padding: 1.2rem 1.3rem 1.3rem; }
.project-body h3 { margin: 0.1rem 0 0.45rem; }
.funding-panel {
  margin: 0.9rem 0 0.4rem;
  padding: 0.85rem 0.9rem 0.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}
.funding-panel .notice { margin: 0.7rem 0 0.9rem; }
.funding-meter {
  height: 12px;
  border-radius: 999px;
  background: #e8e0d0;
  overflow: hidden;
  margin: 0.35rem 0 0.35rem;
}
.funding-meter span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}
.funding-meter.pending-meter span { background: #c9c1b0; }
.donate-controls { margin: 1rem 0 0.4rem; }
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.35rem 0 0.45rem;
}
.spending-report {
  margin: 1.6rem 0 2.4rem;
  padding: 1.2rem 1.25rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.spending-report h2 { margin: 0.15rem 0 0.7rem; }
.status-pill {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #efe4c8;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}
.status-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.92rem;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
  margin: 0.9rem 0 1rem;
}
.facts dt {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 700;
}
.facts dd { margin: 0.15rem 0 0; }
.facts dd.pending,
.pending {
  color: var(--muted);
  font-style: italic;
  font-weight: 600;
}
.pending-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.4rem;
}
.financing-status {
  margin: 0.2rem 0 0.85rem;
  font-weight: 700;
  font-size: 1.08rem;
}
#project-list, #startup-list { display: grid; gap: 1.2rem; }
.startup-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem 1.3rem 1.4rem;
}
.startup-head {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin: 0 0 0.85rem;
}
.startup-head h3 { margin: 0.1rem 0 0; }
.startup-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #10243d;
  object-fit: cover;
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin: 0.4rem 0 1rem;
}
.photo-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  background: #163152;
}
.startup-video { margin: 0 0 0.4rem; }
.startup-video video,
.video-placeholder img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: #163152;
}
.video-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.video-placeholder p {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  color: #f4efe4;
  font-weight: 600;
}
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.path-section { margin: 0 0 2.4rem; }
.path-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.45rem;
  margin: 1.6rem 0 0;
}
.path-line.compact { margin: 0 0 1.6rem; }
.path-node {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 1.05rem 0.85rem;
  border-radius: 20px;
  border: 2px solid var(--line);
  min-height: 100%;
}
.path-node h3 { margin: 0.2rem 0 0.35rem; font-size: 1.15rem; }
.path-node p { margin: 0; color: var(--muted); }
.path-node.early { border-color: #3f6a8f; background: #eef3f9; }
.path-node.candidate { border-color: var(--gold); background: #efe4c8; }
.path-node.established { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.path-node.established p { color: #e7decc; }
.path-node.established .kicker { color: var(--gold-2); }
.path-arrow {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}
.lane-early { border-color: #3f6a8f; background: #eef3f9; }
.lane-candidate { border-color: var(--gold); background: #efe4c8; }
.lane-established { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.lane-established a { color: var(--gold-2); }
.group-early, .group-candidate { margin-bottom: 1.4rem; padding: 1rem; border-radius: 24px; }
.group-early { border: 2px solid #3f6a8f; background: rgba(238, 243, 249, 0.6); }
.group-candidate { border: 2px solid var(--gold); background: rgba(239, 228, 200, 0.55); }
.empty-panel {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 24px;
  padding: 1.5rem 1.4rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

img, video { max-width: 100%; height: auto; display: block; }
.brand img,
.project-media img,
.project-media video,
.startup-logo,
.world-stage img {
  height: auto;
}
.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand img { width: 36px; height: 36px; }

a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.nav-cta:focus-visible,
.btn.primary:focus-visible {
  outline-color: var(--gold-2);
}
h1, h2, h3, .brand strong, .brand-foot {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}
.skip:focus,
.skip:focus-visible { top: 0.6rem; }

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  align-items: baseline;
  margin: 1.6rem 0 2.4rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.related-links .kicker { width: 100%; margin: 0; }
.related-links a { font-weight: 600; color: var(--ink); text-decoration: underline; }

.map-pin:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--redline);
}
#site-header .bar {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
#site-header .bar.nav-row {
  padding-top: 0.15rem;
  padding-bottom: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 36px; height: 36px; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 1.05rem; }
.brand em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5d7ef;
}
.brand strong { color: #fff; }
#site-header .lang-switch .lang-btn { color: #fff; }
#site-header .lang-switch .lang-btn[aria-current="true"] { color: #fff; }
#site-header .lang-sep { color: #9eb6d8; }

#site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  align-items: center;
}
#site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}
#site-nav a[aria-current="page"],
#site-nav a:hover { color: #fff; }
.nav-group { position: relative; }
.nav-parent::after { content: " ▾"; font-size: 0.7em; }
.nav-sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 13rem;
  padding: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 12;
}
#site-nav .nav-sub a { display: block; padding: 0.28rem 0.4rem; color: var(--ink-soft); }
#site-nav .nav-sub a:hover,
#site-nav .nav-sub a[aria-current="page"] { color: var(--ink); }
#site-nav .nav-sub .label { color: var(--gold); }
.nav-sub.mega {
  min-width: 40rem;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem 1.2rem;
  text-align: left;
}
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub { display: block; }
.nav-group:hover .nav-sub.mega,
.nav-group:focus-within .nav-sub.mega { display: grid; }
.nav-cta {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.nav-cta.solid {
  background: #fff;
  color: var(--navy) !important;
  border-color: #fff;
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  padding: 0.45rem 0.85rem;
  min-height: 2.75rem;
  border-radius: 999px;
  font: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hero {
  padding: 3.2rem 0 2.2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.identity {
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
}
.identity .foundation-logo { width: min(320px, 100%); height: auto; }
.identity .site-name {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.slogan {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 700;
}
.mission { font-size: 1.22rem; max-width: 42rem; color: var(--ink-soft); margin: 0; }
#featured-report {
  background: #081428;
  border: 0;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.launch-card {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  min-height: 420px;
  height: 100%;
}
.launch-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.launch-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.2rem;
  padding: 4.5rem 1.4rem 1.25rem;
  background: linear-gradient(transparent, rgba(8, 20, 40, 0.92) 58%);
}
.launch-copy .kicker {
  color: #d5e4f6;
  letter-spacing: 0.08em;
}
.launch-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}
.launch-cta {
  margin-top: 0.35rem;
  font-weight: 700;
}
.launch-card:hover .launch-cta,
.launch-card:focus-visible .launch-cta { text-decoration: underline; }
.donate-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 2rem 1.6rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.2rem;
  align-items: center;
}
.donate-band h2 { margin: 0 0 0.4rem; color: var(--white); }
.donate-band p { margin: 0; color: #e7decc; }
.donate-band .btn.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
}
.filters button {
  font: inherit;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  cursor: pointer;
  color: var(--ink-soft);
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0 0 1rem; }
.lede { font-size: 1.2rem; max-width: 40rem; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink);
  font-weight: 600;
}
.btn.primary { background: var(--ink); color: var(--white); }
.btn.ghost { background: transparent; }

.hero-panel {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 1.6rem;
  min-height: 280px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-panel svg { width: 100%; height: auto; }
.hero-panel p {
  position: relative;
  margin: 1rem 0 0;
  color: #e8d9b0;
}

.band { padding: 3.2rem 0; }
.band.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head a { color: var(--gold); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

.card, .tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
}
.card h3, .tile h3 { margin: 0.15rem 0 0.4rem; font-size: 1.25rem; }
.kicker, .label {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}
.meta, .small, .muted { color: var(--muted); }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.tile {
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile span {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.page-hero { padding: 3.2rem 0 1.5rem; max-width: 46rem; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.notice {
  background: #efe4c8;
  border: 1px solid #dfc98a;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 2rem;
}
.notice .kicker { margin: 0 0 0.35rem; }
.notice p:last-child { margin-bottom: 0; }

form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
}
label { display: grid; gap: 0.35rem; font-weight: 600; }
input, select, textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.92rem; color: var(--muted); margin: 0; }

#site-footer {
  background: var(--ink);
  color: #e7decc;
  margin-top: 3rem;
  padding: 2.5rem 1.25rem 1.5rem;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.brand-foot { font-size: 1.4rem; color: var(--white); margin: 0 0 0.5rem; }
#site-footer a { display: block; text-decoration: none; color: #e7decc; margin: 0.2rem 0; }
#site-footer .copyright {
  max-width: 1180px;
  margin: 2rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  color: #b7c0cc;
  font-size: 0.9rem;
}
#site-footer .copyright a { display: inline; }

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.3rem 1.3rem 1.1rem;
}
.pillar h2 { margin: 0.2rem 0 0.8rem; }
.pillar ul { margin: 0; padding: 0; list-style: none; }
.pillar li { margin: 0.35rem 0; }
.pillar a { color: var(--ink-soft); }

.tree {
  display: grid;
  gap: 1.1rem;
  text-align: center;
}
.tree-root, .tree-box, .tree-hub {
  display: inline-block;
  border: 1.5px solid #1e3a5f;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  background: #eef3f9;
  color: var(--ink);
  text-decoration: none;
  min-width: 9.5rem;
}
.tree-root {
  background: #10243d;
  color: #fffaf0;
  font-family: var(--serif);
  font-size: 1.2rem;
  min-width: 14rem;
}
.tree-hub {
  background: #10243d;
  color: #fffaf0;
  font-weight: 700;
}
.tree-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}
.tree-col {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}
.tree-stack {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  max-width: 16rem;
}
.tree-ops {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: center;
}
.tree-note { font-size: 0.92rem; color: var(--muted); }

.world-stage {
  position: relative;
  background: #163152;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ink);
}
#world-pins { position: absolute; inset: 0; }
.world-stage svg,
.world-stage img { width: 100%; height: auto; display: block; opacity: 0.95; }
.report-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.report-pin span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 179, 106, 0.35);
}
.report-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: start;
  margin: 0 0 2rem;
}
.report-map { min-height: 0; }
.report-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  margin: 0 0 2rem;
}
.report-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 0 0.7rem;
  background: #163152;
}
.report-text h2 { margin: 1.4rem 0 0.6rem; }
.report-quote {
  margin: 1.4rem 0;
  padding: 0.4rem 0 0.4rem 1.1rem;
  border-left: 4px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
}
.report-quote p { margin: 0; }
.report-back { margin: 0 0 3rem; }
.report-head { margin: 0 0 1.4rem; }
.report-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0.2rem 0 0.5rem; }
.map-pin {
  position: absolute;
  min-width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  padding: 0;
}
.map-pin span,
.report-pin span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1f8a4c;
  box-shadow: 0 0 0 6px rgba(31, 138, 76, 0.28);
}
.map-pin .pin-name,
.report-pin em {
  position: absolute;
  left: 16px;
  top: -8px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  background: #fff;
  color: var(--navy);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(11, 31, 77, 0.12);
}
.map-pin.active span {
  background: var(--redline);
  box-shadow: 0 0 0 8px rgba(200, 16, 46, 0.25);
}
.students-layout,
.about-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.2rem;
  align-items: start;
}
.story-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 0.8rem;
  text-decoration: none;
  color: inherit;
}
.story-card img {
  width: 112px;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
  background: #163152;
}
.story-card div { padding: 0.7rem 0.8rem 0.75rem 0; }
.story-card h3 { margin: 0.1rem 0 0.25rem; font-size: 1.05rem; }
.story-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.event-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem;
  margin: 0 0 0.9rem;
}
.event-block img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  background: #163152;
}
.event-photos { display: grid; gap: 0.45rem; }
.about-pin-note { margin-top: 0.6rem; }
.map-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0.8rem;
  border-left: 2px solid var(--line);
  margin: 0 0 2rem 0.4rem;
  padding-left: 1.1rem;
}

.section-index {
  columns: 2;
  gap: 1.5rem;
  padding-left: 1.2rem;
  margin: 0 0 2rem;
}
.section-index li { margin: 0.35rem 0; break-inside: avoid; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.steps article { counter-increment: step; }

.cookie-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-bar p { margin: 0; max-width: 46rem; }
.cookie-bar a { color: var(--gold-2); }
.cookie-bar .btn.ghost { color: var(--paper); border-color: var(--paper); }

.switch {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}
.switch input { width: 1.1rem; height: 1.1rem; }

@media (max-width: 900px) {
  .hero, .grid, .grid.two, .grid.four, .footer-grid, .section-head, .tree-cols, .tree-ops, .map-layout, .steps, .donate-band, .project-card, .facts, .path-line, .team-grid, .report-hero, .report-layout, .students-layout, .about-layout {
    grid-template-columns: 1fr;
  }
  .path-arrow { transform: rotate(90deg); }
  .section-index { columns: 1; }
  .event-block, .story-card { grid-template-columns: 1fr; }
  .story-card img { width: 100%; height: 160px; }
  .story-card div { padding: 0.75rem 0.9rem 0.9rem; }
  .nav-toggle { display: inline-flex; }
  .lang-switch { margin-left: auto; }
  #site-header .bar { flex-wrap: wrap; }
  #site-header .nav-cta:not(.solid) { display: none; }
  #site-header .bar.nav-row { position: static; padding: 0; border-top: 0; }
  #site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    z-index: 30;
  }
  #site-nav a { color: var(--ink-soft); }
  #site-nav a[aria-current="page"],
  #site-nav a:hover { color: var(--ink); }
  #site-nav.open { display: flex; }
  .nav-sub,
  .nav-sub.mega {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0.2rem 0 0.6rem 0.6rem;
    min-width: 0;
  }
  .nav-group:hover .nav-sub,
  .nav-group:focus-within .nav-sub,
  .nav-group:hover .nav-sub.mega,
  .nav-group:focus-within .nav-sub.mega { display: grid; }
}

.world-stage.is-geo {
  height: 520px;
  overflow: hidden;
  background: #d5e3f0;
}
.world-stage.is-geo > img { display: none; }
.world-stage.is-geo #world-pins { position: absolute; inset: 0; }
.geo-map {
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: #d5e3f0;
  border: 1px solid var(--ink);
}
.report-geo { height: 280px; }
.about-geo { height: 380px; }
.geo-pin { background: none; border: 0; }
.geo-pin span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c8102e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(11, 31, 77, 0.4);
}
.leaflet-tile-pane { z-index: 1 !important; }
.leaflet-overlay-pane { z-index: 2 !important; }
.leaflet-shadow-pane { z-index: 3 !important; }
.leaflet-marker-pane { z-index: 4 !important; }
.leaflet-tooltip-pane { z-index: 5 !important; }
.leaflet-popup-pane { z-index: 6 !important; }
.leaflet-top,
.leaflet-bottom { z-index: 7 !important; }
.leaflet-container { font-family: inherit; background: #d5e3f0; }
.leaflet-tooltip {
  font-weight: 700;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(11, 31, 77, 0.18);
}  /* Header: Reissner Stiftung | Reissner World */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-foundation-logo {
    width: auto;
    height: 60px; /* Ein realistischer Wert für die Höhe in der Menüleiste */
    display: block;
}
.brand-divider {
  display: block;
  width: 1px;
  height: 42px;
  background: #ffffff;
  opacity: 0.8;
  flex: 0 0 1px;
}

.world-brand {
  display: flex;
  flex-direction: column;
}

.world-brand strong {
  display: block;
}

.world-brand em {
  display: block;
}

@media (max-width: 760px) {
  .header-foundation-logo {
    width: 105px;
  }

  .brand-divider {
    height: 34px;
  }

  .brand {
    gap: 9px;
  }
}
