/* ==========================================================================
   Portugal's Startup Ecosystem 2026 — landing page
   Visual system taken from the 2026 report (Startup Portugal)
   ========================================================================== */

@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/BrandonGrotesque-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-latin-ext.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #ffdd00;
  --yellow-soft: #ffeb95;
  --cream: #fff6d4;
  --ink: #231f20;
  --ink-2: #4a4546;
  --muted: #6f6a6b;
  --line: #d9d6cf;
  --card: #f1f1f2;
  --white: #ffffff;
  --mint: #def0eb;
  --blue: #2682c5;
  --blue-soft: #95b5df;
  --gold: #b98900;
  --up: #5ebd74;
  --down: #f4826d;
  --flat: #c9c9cc;

  /* Right arrow drawn like the report's (thick shaft, open chevron head).
     Neither Brandon nor DM Sans ships the U+2192 glyph, so arrows are masks, not text. */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 5.8 19.2 12 13 18.2'/%3E%3C/svg%3E");

  --font-display: "Brandon Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --radius: 24px;
  --radius-sm: 14px;
  --section-y: clamp(64px, 9vw, 128px);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
sup { font-size: .6em; line-height: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
  margin: 0;
}

.wrap {
  width: 100%;
  padding-inline: var(--gutter);
}

.sr-only {
  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: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffe633; transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(35, 31, 32, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  flex: none;
}
.brand img { height: 30px; width: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s;
}
.nav__link span { font-family: var(--font-display); font-size: 12px; opacity: .55; }
.nav__link:hover { background: rgba(35, 31, 32, .07); }
.nav__link.is-active { background: var(--ink); color: var(--white); }
.nav__link.is-active span { opacity: .8; }
.header-cta { flex: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--menu { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

@media (min-width: 961px) and (max-width: 1280px) {
  .site-header__inner { gap: 16px; }
  .nav__list { gap: 2px; }
  .nav__link { padding-inline: 6px; }
}
@media (max-width: 1100px) {
  .nav__link span { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: var(--white); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav__link span { display: inline; font-size: 14px; }
  .nav__cta { display: block; margin-top: 12px; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 961px) {
  .nav__cta { display: none; }
}
@media (max-width: 420px) {
  .brand img { height: 26px; }
}

/* ---------- Hero / cover ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 980px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 36px) 0 56px;
  background: var(--yellow);
  overflow: hidden;
}
/* Map of Portugal (districts + Azores and Madeira insets, as on the report cover).
   The mainland sits at 76% of the image width; translateX(-76%) puts it at `left`. */
.hero__map {
  position: absolute;
  z-index: 0;
  top: calc(var(--header-h) + 8px);
  left: 70%;
  height: calc(100% - var(--header-h) - 20px);
  width: auto;
  max-width: none;
  transform: translateX(-76%);
  pointer-events: none;
  user-select: none;
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__eyebrow b {
  display: inline-grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
}
.hero__title {
  /* always two lines: "Portugal's Startup" / "Ecosystem 2026" */
  font-size: 8.4vw;
  line-height: .92;
  letter-spacing: -.005em;
}
.hero__title span { display: block; white-space: nowrap; }
@media (min-width: 900px) {
  .hero__title { font-size: min(6vw, 7.4rem); }
}
.hero__tag {
  display: inline-block;
  margin: 24px 0 0;
  padding: 10px 18px 9px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.hero__lead {
  max-width: 560px;
  margin: 30px 0 26px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--stack { display: grid; justify-content: start; }
.hero__actions--stack .btn { justify-content: center; }
.hero__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
  margin-top: clamp(48px, 7vw, 88px);
}
.hero__partners img { height: 34px; width: auto; }
.hero__partners .logo-informa { height: 18px; }
.hero__partners .logo-aws { height: 32px; }

@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero__map {
    top: auto;
    bottom: 0;
    left: 64%;
    height: 72%;
  }
}

/* ---------- Chapter opener (mirrors the report's chapter pages) ---------- */

.chapter-head {
  padding: calc(var(--section-y) * .8) 0 var(--section-y);
  background:
    radial-gradient(ellipse 60% 70% at 8% 10%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(140deg, #ffffff 0%, #fff6c9 30%, var(--yellow) 68%, #ffe23a 100%);
}
.chapter-head__frame { display: grid; gap: 14px; }
.chapter-head__bar,
.chapter-head__box {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}
.chapter-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
}
.chapter-head__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
}
.chapter-head__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
}
.chapter-head__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px);
}
.chapter-head__title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  max-width: 11ch;
}
.chapter-head__foot {
  display: grid;
  gap: 32px;
  align-items: end;
}
.chapter-head__intro { max-width: 520px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.toc { margin: 0; padding: 0; list-style: none; }
.toc a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
}
.toc a::after {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
          mask: var(--arrow) center / contain no-repeat;
  transition: transform .2s;
}
.toc a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.toc a:hover::after { transform: translateX(4px); }
.toc .toc__hl { background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow); }

@media (min-width: 860px) {
  .chapter-head__foot { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .toc { max-width: 340px; justify-self: end; width: 100%; }
}

/* ---------- Generic section pieces ---------- */

.block { padding-block: clamp(48px, 7vw, 96px) 0; }
.block:last-child { padding-bottom: var(--section-y); }
.block--tight { padding-top: clamp(32px, 4vw, 56px); }

.block-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  max-width: 22ch;
}
.block-sub {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.block-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.block-head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 40px;
}
.block-title--wide { max-width: 44ch; }
.block-logo { display: block; width: max-content; margin-bottom: 18px; }
.block-logo img { height: 40px; width: auto; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.source {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.source b { color: var(--ink); font-weight: 700; }
.note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  max-width: 820px;
}

.hl { background: var(--yellow); padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.grid-2 { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2--wide-left { grid-template-columns: 1.25fr 1fr; }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
}
.card--outline { background: var(--white); border: 1.5px solid var(--ink); }
.card--yellow { background: var(--yellow); }
.card--cream { background: var(--cream); }
.card--mint { background: var(--mint); }
.card h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-bottom: 12px; }

/* ---------- Opening ---------- */

.intro-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
.intro-grid__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.intro-grid__photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid__text { columns: 1; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1fr 1fr; }
}
.lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 500; line-height: 1.5; }

.glance {
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
}
.glance__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.glance__head h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.glance__head p { max-width: 560px; }
@media (min-width: 900px) {
  .glance__head { grid-template-columns: 1fr 1.3fr; align-items: end; gap: 48px; }
}
.glance__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 32px;
}
@media (min-width: 640px) { .glance__stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .glance__stats { grid-template-columns: repeat(3, 1fr); } }
.glance__note {
  align-self: center;
  font-size: 17px;
  line-height: 1.45;
  max-width: 260px;
}
.glance__note strong { font-weight: 700; }

.stat__value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1000px) { .stat__value { flex-wrap: nowrap; } }
.stat__label { margin-top: 6px; font-size: 17px; line-height: 1.3; }
.delta {
  display: inline-grid;
  place-items: center;
  min-width: 44px; height: 44px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--up);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px 32px;
  margin-top: clamp(36px, 5vw, 56px);
}
.pillar { border-top: 1px solid #b9ae86; padding-top: 22px; }
.pillar h4 { font-family: var(--font-body); font-size: 14px; font-weight: 800; letter-spacing: .03em; margin-bottom: 6px; line-height: 1.3; }
.pillar p { font-size: 16px; line-height: 1.45; }

/* ---------- Indicator tables (YEAR / YEAR-1 / TREND) ---------- */

.ind-table-wrap {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(10px, 2vw, 22px);
}
.ind-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 15px;
}
.ind-table thead th {
  padding: 4px 14px 2px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.ind-table thead th:first-child { text-align: left; }
.ind-table tbody th,
.ind-table tbody td {
  background: var(--white);
  padding: 12px 14px;
  vertical-align: middle;
}
.ind-table tbody th {
  font-weight: 600;
  text-align: left;
  border-radius: 12px 0 0 12px;
  line-height: 1.3;
}
.ind-table tbody th small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ind-table tbody td { text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ind-table tbody td.yr { font-weight: 800; font-size: 17px; }
.ind-table tbody td small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.ind-table tbody td:last-child { border-radius: 0 12px 12px 0; background: #e1efe5; }
.ind-table tbody td.t-down { background: #fbe4dd; }
.ind-table tbody td.t-flat { background: #ececee; }
.ind-table .cat th {
  background: transparent;
  padding: 16px 14px 0;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.trend {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--up);
  vertical-align: middle;
}
.trend::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5 1.8 5.7l1.1 1.1L5.2 4.5V11h1.6V4.5l2.3 2.3 1.1-1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5 1.8 5.7l1.1 1.1L5.2 4.5V11h1.6V4.5l2.3 2.3 1.1-1.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.trend--down { background: var(--down); }
.trend--down::before { transform: rotate(180deg); }
.trend--flat { background: #9d9da2; }
.trend--flat::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 3.6h8v1.6H2zm0 3.2h8v1.6H2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 3.6h8v1.6H2zm0 3.2h8v1.6H2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.trend--sm { width: 18px; height: 18px; }
.trend--sm::before { width: 10px; height: 10px; }

@media (max-width: 560px) {
  .ind-table { font-size: 14px; }
  .ind-table tbody th, .ind-table tbody td { padding: 10px 8px; }
  .ind-table tbody td.yr { font-size: 15px; }
  .ind-table thead th { padding-inline: 6px; }
}

/* ---------- Capital by round-size stage (heat table, one hue light -> dark) ---------- */

.cap-table-wrap { overflow-x: auto; margin-top: 18px; }
.cap-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  font-size: 15px;
}
.cap-table th,
.cap-table td { padding: 10px; border-radius: 10px; text-align: center; line-height: 1.2; }
.cap-table thead th {
  padding-block: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cap-table thead th:first-child,
.cap-table tbody th,
.cap-table tfoot th { text-align: left; padding-left: 0; }
.cap-table tbody th { font-weight: 700; }
.cap-table th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.cap-table td {
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cap-table td small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.cap-table td.h1 { background: var(--cream); border-color: transparent; }
.cap-table td.h2 { background: var(--yellow-soft); border-color: transparent; }
.cap-table td.h3 { background: #ffe45c; border-color: transparent; }
.cap-table td.h4 { background: var(--yellow); border-color: transparent; }
.cap-table td.na { background: transparent; border-color: transparent; font-weight: 400; color: var(--muted); }
.cap-table tfoot th,
.cap-table tfoot td { background: transparent; border: 0; border-top: 1.5px solid var(--ink); border-radius: 0; padding-top: 12px; }
@media (max-width: 560px) {
  .cap-table { font-size: 13.5px; border-spacing: 3px; }
  .cap-table th, .cap-table td { padding: 8px 5px; }
  .cap-table td small { font-size: 10.5px; }
}

/* ---------- Ranking highlight tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.tile {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  line-height: 1;
}
.tile__value small { font-size: .42em; margin-left: 4px; }
.tile__label { font-weight: 700; line-height: 1.3; }
.tile__meta { font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: auto; }
.tile--yellow { background: var(--yellow); }
.tiles--pair { grid-template-columns: 1fr; }
@media (min-width: 480px) { .tiles--pair { grid-template-columns: 1fr 1fr; } }
.tile--yellow .tile__meta { color: var(--ink-2); }

.cities {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) { .cities { grid-template-columns: 1fr 1fr; } }
.city {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  isolation: isolate;
}
.city img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.city__card {
  background: var(--yellow);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  max-width: 300px;
}
.city__card .eyebrow { margin-bottom: 6px; font-size: 12px; }
.city__value { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1; }
.city__card p { margin-top: 8px; font-size: 15px; line-height: 1.4; }

.callout {
  display: grid;
  gap: 18px;
  align-items: center;
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--card);
}
.callout__big {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: .95;
}
@media (min-width: 860px) {
  .callout { grid-template-columns: auto 1fr; gap: 40px; }
}

/* ---------- Charts ---------- */

.chart-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
}
.chart-card--flat { border: 0; background: var(--card); --chart-bg: var(--card); }
.chart-card h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.chart-card .block-sub { margin-top: 6px; }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.chart-legend li { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.chart-legend i.line { height: 3px; border-radius: 2px; width: 18px; }
.chart-legend i.dashed { background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 8px) !important; }

/* Vertical columns (single series, zero baseline) */
.cols {
  display: grid;
  grid-template-columns: repeat(var(--n, 5), 1fr);
  gap: clamp(8px, 2vw, 24px);
  align-items: end;
  height: 260px;
  margin-top: 28px;
  border-bottom: 1.5px solid var(--ink);
}
.cols__item {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  outline-offset: 4px;
}
.cols__bar {
  width: min(100%, 76px);
  height: var(--h);
  background: var(--yellow);
  border-radius: 4px 4px 0 0;
  flex: none;
  transition: filter .15s;
}
.cols__item:hover .cols__bar,
.cols__item:focus-visible .cols__bar { filter: brightness(.92); }
.cols__val {
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.cols__axis {
  display: grid;
  grid-template-columns: repeat(var(--n, 5), 1fr);
  gap: clamp(8px, 2vw, 24px);
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}
.cagr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cagr b { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0; line-height: 1; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  align-items: center;
  gap: 8px 18px;
  margin-top: 24px;
  font-size: 15px;
}
.flow__n { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; display: block; }
.flow__op { font-family: var(--font-display); font-size: 1.4rem; color: var(--muted); }
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__op { display: none; }
}

/* Horizontal bars */
.hbars { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.hbar {
  display: grid;
  grid-template-columns: minmax(96px, 150px) 1fr;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  outline-offset: 3px;
  border-radius: 6px;
}
.hbar__name { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; line-height: 1.2; }
.hbar__track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hbar__fill {
  height: 22px;
  width: calc((100% - 96px) * var(--p));
  min-width: 4px;
  background: var(--blue);
  border-radius: 0 4px 4px 0;
  flex: none;
}
.hbar__val { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hbar__val small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.hbar:hover .hbar__fill,
.hbar:focus-visible .hbar__fill { filter: brightness(.9); }
.hbars--yellow .hbar__fill { background: var(--yellow); }

/* Index bars vs EU average = 100 */
.ibars { position: relative; display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.ibar {
  display: grid;
  grid-template-columns: minmax(130px, 1.1fr) 2fr;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  line-height: 1.3;
  outline-offset: 3px;
  border-radius: 6px;
}
.ibar__track { position: relative; height: 26px; }
.ibar__track::after {
  /* EU average reference */
  content: "";
  position: absolute;
  top: -6px; bottom: -6px;
  left: var(--ref);
  border-left: 2px dashed var(--gold);
}
.ibar__fill {
  position: absolute;
  inset: 3px auto 3px 0;
  width: var(--w);
  background: var(--blue);
  border-radius: 0 4px 4px 0;
}
.ibar__val {
  position: absolute;
  z-index: 1;
  padding: 0 4px;
  background: var(--chart-bg, var(--white));
  top: 50%;
  left: calc(var(--w) + 4px);
  transform: translateY(-50%);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ibar--below .ibar__fill { background: var(--blue-soft); }
.ibar__group {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (max-width: 560px) {
  .ibar { grid-template-columns: 1fr; gap: 6px; }
}

/* Paired comparison bars (startups vs benchmark) */
.pairs { display: grid; gap: 22px; margin-top: 8px; }
.pair__label { font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.pair__label small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pair__rows { display: grid; gap: 6px; }
.pair__row {
  display: grid;
  grid-template-columns: 1fr;
  outline-offset: 3px;
  border-radius: 6px;
}
.pair__track { display: flex; align-items: center; gap: 10px; }
.pair__fill { height: 18px; width: calc((100% - 56px) * var(--p)); min-width: 4px; border-radius: 0 4px 4px 0; background: var(--blue); flex: none; }
.pair__row--bench .pair__fill { background: var(--gold); }
.pair__val { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pair__val small { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 4px; }
.pair__num { font-family: var(--font-display); margin-right: 8px; }
.pairs--compact { gap: 14px; margin-top: 20px; }
.pairs--compact .pair__label { font-size: 14px; margin-bottom: 6px; }
.pairs--compact .pair__fill { height: 14px; }
.pairs--trend { margin-top: 24px; }
.pairs--trend .pair__fill { width: calc((100% - 86px) * var(--p)); }
@media (min-width: 1100px) {
  .pairs--2col-wide { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 760px) {
  .pairs--2col { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); }
}

/* Stacked share bar */
.stack {
  display: flex;
  gap: 2px;
  height: 34px;
  margin-top: 14px;
  border-radius: 6px;
  overflow: hidden;
}
.stack__seg { width: var(--w); background: var(--blue); outline-offset: -3px; }
.stack__seg--muted { background: #c4c2c3; }
.stack__seg--soft { background: var(--blue-soft); }
.stack-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.stack-legend li { display: inline-flex; align-items: center; gap: 8px; }
.stack-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }
.stack-legend i.muted { background: #c4c2c3; }
.stack-legend i.soft { background: var(--blue-soft); }
.stack-legend b { font-variant-numeric: tabular-nums; }

/* Labelled 100% stacks, one row per series (investor origin, age bands) */
.srows { display: grid; gap: 14px; margin-top: 20px; }
.srow { display: grid; grid-template-columns: minmax(96px, 140px) 1fr; gap: 14px; align-items: center; }
.srow__label { font-weight: 700; font-size: 14px; line-height: 1.25; }
.srow__label small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.srow .stack { margin-top: 0; }
.stack--labels .stack__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 560px) {
  .srows--wide .srow { grid-template-columns: minmax(110px, 180px) 1fr; }
}
@media (max-width: 559px) {
  .srow { grid-template-columns: 1fr; gap: 6px; }
  .stack--labels .lbl-sm { display: none; }
}

/* Investor origin (categorical; validated for colour-vision deficiency, unknown = neutral) */
.stack .o-pt, .stack-legend .o-pt { background: var(--blue); color: var(--white); }
.stack .o-eu, .stack-legend .o-eu { background: #e8604c; }
.stack .o-us, .stack-legend .o-us { background: #2f9e6e; }
.stack .o-asia, .stack-legend .o-asia { background: #d9a300; }
.stack .o-row, .stack-legend .o-row { background: #8a6fd1; }
.stack .o-unk, .stack-legend .o-unk { background: #b9b7b8; }

/* Age bands (ordinal: one hue, dark = youngest) */
.stack .age-0, .stack-legend .age-0 { background: #1b5a8c; color: var(--white); }
.stack .age-1, .stack-legend .age-1 { background: var(--blue); color: var(--white); }
.stack .age-2, .stack-legend .age-2 { background: var(--blue-soft); }
.stack .age-3, .stack-legend .age-3 { background: #d3e1f2; }

/* SVG line chart */
.linechart { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.linechart text { font-family: var(--font-body); font-size: 13px; fill: var(--ink-2); }
.linechart .grid { stroke: #e2e0db; stroke-width: 1; }
.linechart .axis { stroke: var(--ink); stroke-width: 1.5; }
.linechart .s-pt { stroke: var(--blue); }
.linechart .s-eu { stroke: var(--gold); stroke-dasharray: 6 4; }
.linechart .s-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.linechart .pt { stroke: var(--white); stroke-width: 2; }
.linechart .pt-pt { fill: var(--blue); }
.linechart .pt-eu { fill: var(--gold); }
.linechart .end-label { font-weight: 800; font-size: 14px; fill: var(--ink); }
.linechart .end-val { font-weight: 600; }
@media (max-width: 600px) {
  .linechart text { font-size: 22px; }
  .linechart .end-label { font-size: 22px; }
  .linechart .s-line { stroke-width: 4; }
}
.linechart .hit { fill: transparent; cursor: crosshair; outline: none; }
.linechart .guide { stroke: var(--ink); stroke-width: 1; opacity: 0; transition: opacity .1s; pointer-events: none; }
.linechart g.col:hover .guide,
.linechart g.col:focus-within .guide { opacity: .35; }

/* Tooltip */
.tooltip {
  position: fixed;
  z-index: 80;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity .12s;
  white-space: pre-line;
}
.tooltip.is-visible { opacity: 1; }

/* ---------- EU strategy cards ---------- */

.eu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.eu-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
}
.eu-card__fig {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1;
}
.eu-card__fig .icon { width: .78em; height: .78em; stroke-width: 3.4; vertical-align: -.02em; }
.eu-card__fig small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; margin-top: 6px; color: var(--ink-2); text-transform: none; }
.eu-card h3 { font-size: 1.15rem; margin: 6px 0 0; }
.eu-card p { font-size: 15px; line-height: 1.5; }
.eu-card__status {
  margin-top: auto;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.context-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 32px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.context-stats div b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 8px;
}
.context-stats div span { font-size: 15px; line-height: 1.4; display: block; }

.alliance {
  display: grid;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--yellow);
  padding: clamp(24px, 4vw, 44px);
}
.alliance__num { font-family: var(--font-display); font-size: clamp(3.6rem, 8vw, 5.6rem); line-height: .9; }
.alliance__num small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 700; margin-top: 8px; }
@media (min-width: 860px) { .alliance { grid-template-columns: 1fr auto; gap: 48px; } }
.alliance__logo { display: block; width: max-content; margin-bottom: 20px; }
.alliance__logo img { height: 44px; width: auto; }

/* ---------- Interviews ("Looking at Portugal from the outside in") ---------- */

.interview { padding-top: clamp(48px, 7vw, 96px); }
.chapter > .interview:last-child { padding-bottom: var(--section-y); }
.interview__card {
  display: grid;
  background: var(--mint);
  border-radius: var(--radius);
  overflow: hidden;
}
.interview__photo { aspect-ratio: 4 / 3; }
.interview__photo img { width: 100%; height: 100%; object-fit: cover; }
.interview__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 48px);
}
.interview__who h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.interview__role { margin-top: 6px; font-family: var(--font-display); text-transform: uppercase; font-size: 15px; line-height: 1.2; }
.interview__role a { text-decoration: none; border-bottom: 1px solid currentColor; font-family: var(--font-body); font-size: 12px; letter-spacing: .06em; font-weight: 700; }
.interview__quote {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.32;
}
.interview__quote::before {
  content: "";
  display: block;
  width: 34px; height: 26px;
  margin-bottom: 14px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath d='M0 0h14v14l-6 12H2l5-12H0zM20 0h14v14l-6 12h-6l5-12h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath d='M0 0h14v14l-6 12H2l5-12H0zM20 0h14v14l-6 12h-6l5-12h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.interview__bio { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.interview__extra {
  border-top: 1px solid rgba(35, 31, 32, .2);
  padding-top: 16px;
  font-size: 15px;
}
.interview__extra q { font-weight: 600; }
.interview__cta { align-self: flex-start; }
.interview__partner { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.interview__partner img { height: 26px; width: auto; }
@media (min-width: 900px) {
  .interview__card { grid-template-columns: 5fr 7fr; }
  .interview__photo { aspect-ratio: auto; min-height: 100%; }
  .interview--flip .interview__card { grid-template-columns: 7fr 5fr; }
  .interview--flip .interview__photo { order: 2; }
}

/* Overview of the four interviews, in the Opening */
.voices { display: grid; gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .voices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .voices { grid-template-columns: repeat(4, 1fr); } }
.voice { display: flex; flex-direction: column; background: var(--mint); border-radius: var(--radius); overflow: hidden; }
.voice__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.voice__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.voice__name { font-size: 1.4rem; }
.voice__role { margin: 0; font-family: var(--font-display); font-size: 13px; line-height: 1.25; text-transform: uppercase; }
.voice__links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: auto 0 0; padding-top: 16px; font-size: 14px; font-weight: 700; }
.voice__links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border-bottom: 1px solid transparent; }
.voice__links a:hover { border-bottom-color: currentColor; }
.voice__links .icon { width: 16px; height: 16px; }
@media (max-width: 559px) {
  .voice { display: grid; grid-template-columns: 112px 1fr; }
  .voice__photo img { height: 100%; aspect-ratio: auto; }
  .voice__body { padding: 16px 18px 18px; }
  .voice__name { font-size: 1.2rem; }
  .voice__links { padding-top: 12px; }
}

.ai-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.ai-stats div { background: rgba(255, 255, 255, .7); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; line-height: 1.35; }
.ai-stats b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-bottom: 6px; }

/* ---------- Partner feature ("In partnership with AWS") ---------- */

.partner {
  padding: var(--section-y) 0;
  background: var(--mint);
}
.partner__head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.partner__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.partner__by img { height: 30px; width: auto; }
.partner__title { font-size: clamp(2rem, 5vw, 4rem); max-width: 20ch; }
.partner__grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.partner__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.partner__photo img { width: 100%; height: 100%; object-fit: cover; }
.partner__body { display: flex; flex-direction: column; gap: 18px; }
.partner__stats { margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) {
  .partner__grid { grid-template-columns: 5fr 7fr; }
}

/* ---------- Growing quietly ---------- */

.quietly { display: grid; gap: 0; }
.quietly__row {
  display: grid;
  gap: 8px 40px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.quietly__row:last-child { border-bottom: 1px solid var(--line); }
.quietly__row h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.05; }
.quietly__row p { font-size: 17px; }
@media (min-width: 760px) {
  .quietly__row { grid-template-columns: minmax(200px, 1fr) 2fr; align-items: baseline; }
}

/* ---------- "What are startups worth" ---------- */

.worth {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 40px);
}
.worth__head {
  text-align: center;
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.worth__head sup { font-family: var(--font-body); font-size: .4em; }
.worth__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .worth__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .worth__grid { grid-template-columns: repeat(3, 1fr); } }
.wcard {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}
.wcard__icon {
  position: absolute;
  top: 18px; right: 18px;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
}
.wcard__icon .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.wcard__value {
  margin-top: 64px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 2.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wcard__label { margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.wcard__ctx { margin-top: 10px; font-size: 14px; line-height: 1.4; }
.wcard__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #c9c7c4;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.wcard__ctx + .wcard__foot { margin-top: 16px; }
.wcard__foot small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }

/* ---------- Legal definition ---------- */

.criteria { display: grid; gap: 16px; }
@media (min-width: 860px) { .criteria { grid-template-columns: 1fr 1fr; } }
.criteria__col h3 { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .08em; margin-bottom: 14px; }
.criteria ul, ul.criteria { margin: 0; padding: 0; list-style: none; }
.criteria li { padding: 5px 0 5px 24px; position: relative; font-size: 16px; line-height: 1.45; }
.criteria li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(5px + (1.45em - 15px) / 2);
  width: 15px; height: 15px;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
          mask: var(--arrow) center / contain no-repeat;
}
.criteria__scaleup { margin-top: 16px; }

.legal { display: grid; gap: clamp(24px, 4vw, 48px); }
.legal__intro { display: flex; flex-direction: column; align-items: flex-start; }
.legal__intro .btn { margin-top: 22px; }
.sup-badge { display: inline-flex; margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; background: var(--yellow); }
.sup-badge img { height: 30px; width: auto; }
@media (min-width: 960px) {
  .legal { grid-template-columns: 1fr 1.35fr; }
}

/* Footnote marker: the note itself shows as a tooltip ([data-tip]) */
.fn {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  margin-left: 6px;
  vertical-align: 2px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  cursor: help;
}
.criteria__col h3 .fn { margin-block: -4px; vertical-align: 1px; }

/* ---------- Gaps & areas of action ---------- */

.gaps { display: grid; gap: 16px; }
.gap {
  display: grid;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.gap__problem { padding: clamp(22px, 3vw, 32px); }
.gap__problem h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); margin-bottom: 12px; }
.gap__problem p { font-size: 15.5px; line-height: 1.55; }
.gap__action {
  background: var(--yellow);
  padding: clamp(22px, 3vw, 32px);
}
.gap__action span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gap__action span .icon { width: 22px; height: 22px; stroke-width: 3.6; }
.gap__action p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 800; line-height: 1.35; }
@media (min-width: 760px) {
  .gap { grid-template-columns: 1.15fr 1fr; }
}
@media (min-width: 1100px) {
  .gaps { grid-template-columns: 1fr 1fr; }
  /* subgrid: the grey and yellow parts share rows with the card next to them,
     so the yellow "area for action" starts at the same height in both columns */
  .gap {
    grid-template-columns: 1fr;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

/* ---------- Moonshot (Executive Director) ---------- */

.moonshot {
  margin-top: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(ellipse 50% 60% at 95% 90%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #fff7cf 0%, var(--yellow) 55%);
  padding: var(--section-y) 0;
}
.moonshot__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .moonshot__grid { grid-template-columns: 5fr 7fr; } }
.moonshot__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.moonshot__photo img { width: 100%; height: 100%; object-fit: cover; }
.moonshot__who { margin-top: 16px; }
.moonshot__who b { display: block; font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; line-height: 1.1; }
.moonshot__who span { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; }
.moonshot__q {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}
.moonshot__q em { font-style: normal; background: var(--ink); color: var(--yellow); padding: .02em .12em 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.moonshot__sub { margin-top: 18px; font-size: 18px; font-weight: 700; }
.moonshot__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.moonshot__facts div { background: rgba(255, 255, 255, .65); border-radius: var(--radius-sm); padding: 16px; font-size: 14px; line-height: 1.35; }
.moonshot__facts b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.moonshot__closing {
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding-left: clamp(18px, 3vw, 32px);
  border-left: 6px solid var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 900px;
}
.moonshot__closing cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; font-weight: 600; }

/* ---------- Final CTA ---------- */

.final-cta { padding: var(--section-y) 0; }
.final-cta__box {
  display: grid;
  gap: 28px;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 64px);
}
.final-cta__box h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.final-cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.final-cta__meta li { display: inline-flex; align-items: center; gap: 8px; }
.final-cta__meta li::before {
  content: "";
  width: 17px; height: 17px;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
          mask: var(--arrow) center / contain no-repeat;
}
@media (min-width: 860px) { .final-cta__box { grid-template-columns: 1fr auto; } }
.final-cta__partner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.final-cta__partner img { height: 34px; width: auto; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.site-footer a { color: var(--white); }
.footer__top {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1fr auto; align-items: center; } }
.footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.footer__logos img { height: 34px; width: auto; filter: invert(1); }
.footer__logos .logo-informa { height: 18px; }
.prev-edition {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 24px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink) !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s, background-color .2s;
}
.prev-edition small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.prev-edition span.arrow {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
}
.prev-edition span.arrow .icon { width: 20px; height: 20px; stroke-width: 3; }
.prev-edition:hover { transform: translateY(-2px); background: #ffe633; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}
.footer__bottom p { margin: 0; }
.footer__credits { max-width: 640px; }

/* ---------- Cookie consent ---------- */

.consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 40; /* below .site-header (50): an open mobile menu stays on top */
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(35, 31, 32, .12);
  font-size: 14px;
  line-height: 1.5;
}
.consent[hidden],
.consent [hidden],
.consent-tab[hidden] { display: none !important; }
/* Explicit lines, not template areas: a hidden preferences panel then leaves no empty row */
.consent__inner {
  display: grid;
  gap: 16px 40px;
  padding: 20px var(--gutter);
}
@media (min-width: 900px) {
  .consent__inner { grid-template-columns: 1fr auto; align-items: end; }
  .consent__text { grid-column: 1; grid-row: 1; }
  .consent__actions { grid-column: 2; grid-row: 1; }
  .consent__prefs { grid-column: 1 / -1; grid-row: 2; }
}
.consent__text { max-width: 760px; }
.consent__text p { margin: 0 0 6px; }
.consent__text p:last-child { margin-bottom: 0; }
.consent__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}
.consent__text .consent__title { margin-bottom: 8px; }
.consent__links a { font-weight: 700; }

.consent__prefs {
  display: grid;
  gap: 10px;
}
@media (min-width: 560px) { .consent__prefs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .consent__prefs { grid-template-columns: repeat(4, 1fr); } }
.consent__cat {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--card);
}
.consent__cat p { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; }
.consent__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}
.consent__cat-head label { cursor: pointer; }
.consent__always { font-size: 12px; color: var(--ink-2); }
.consent__switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  margin: 0;
  border-radius: 999px;
  background: var(--flat);
  cursor: pointer;
  transition: background-color .2s;
}
.consent__switch::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(35, 31, 32, .25);
  transition: transform .2s;
}
.consent__switch:checked { background: var(--ink); }
.consent__switch:checked::before { transform: translateX(16px); }

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.consent__actions .btn { justify-content: center; }
.consent__more {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent__more .icon { width: 16px; height: 16px; stroke-width: 2.5; transition: transform .2s; }
.consent__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (max-width: 559px) {
  .consent__more { flex-basis: 100%; justify-content: center; }
  .consent__actions .btn { flex: 1 1 0; }
  .consent__actions [data-consent="save"] { flex-basis: 100%; }
}

.consent-tab {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: 0;
  z-index: 40;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 -2px 12px rgba(35, 31, 32, .15);
  cursor: pointer;
}
.consent-tab:hover { background: var(--yellow); }
.has-consent-tab .site-footer { padding-bottom: 72px; }

@media (prefers-reduced-motion: reduce) {
  .consent__switch, .consent__switch::before, .consent__more .icon { transition: none; }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media print {
  .site-header, .nav-toggle, .tooltip, .consent, .consent-tab { display: none !important; }
  .hero { min-height: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
