:root {
  --bg: #e3e5e7;
  --brand-shared-bg: #7d848b;
  --kpi-fill: #7d848b;
  --nav-bg: #eceff1;
  --nav-active-bg: #c8e9f0;
  --nav-ink: #7d848b;
  --nav-cta: #2a8a99;
  --panel: #f2f3f4;
  --panel-soft: #f1f5f8;
  --panel-aqua: #c8e9f0;
  --ink: #2b2f33;
  --ink-2: #2b2f33;
  --muted: #8a9098;
  --line: #cbd1d7;
  --section-divider: #2a8a99;
  --section-divider-core: rgba(42, 138, 153, 0.92);
  --section-divider-soft: rgba(42, 138, 153, 0.55);
  --section-divider-glow: rgba(42, 138, 153, 0.34);
  --section-header-main: #2b2f33;
  --section-header-accent: #2a8a99;
  --section-header-chip: #eceff1;
  --chart-bg: #fafafa;
  --teal: #2a8a99;
  --teal-bright: #2a8a99;
  --dark: #050607;
  --graph: #2a2f38;
  --graph-line: #3a424b;
  --gp-bg-fill: #05070b;
  --gp-back-bg: #2b2f33;
  --gp-back-ink: #eceff1;
  --gp-edge-left: rgba(11, 15, 22, 0.44);
  --gp-edge-right: rgba(4, 6, 10, 0.56);
  --hero-scrub-distance: 175vh;
  --hero-sticky-top: 0px;
  --hero-sticky-h: 100vh;
  --fs-meta: 12px;
  --fs-body: clamp(15px, 0.95vw, 18px);
  --fs-lead: clamp(18px, 1.08vw, 24px);
  --fs-title: clamp(22px, 1.4vw, 32px);
  --fs-display: clamp(32px, 2vw, 48px);
}

@font-face {
  font-family: "AeonikLocal";
  src:
    url("./assets/fonts/aeonik-light.woff2") format("woff2"),
    url("./assets/fonts/aeonik-light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "AeonikLocal";
  src:
    url("./assets/fonts/aeonik-regular.woff2") format("woff2"),
    url("./assets/fonts/aeonik-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "AeonikLocal";
  src:
    url("./assets/fonts/aeonik-regular.woff2") format("woff2"),
    url("./assets/fonts/aeonik-regular.woff") format("woff");
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrainsLocal";
  src:
    url("./assets/fonts/JetBrainsMono-Regular.woff2") format("woff2"),
    local("JetBrains Mono"),
    local("JetBrainsMono-Bold"),
    local("JetBrainsMono-Regular"),
    local("JetBrainsMono");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrainsLocal";
  src: url("./assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "JetBrainsLocal";
  src: url("./assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "JetBrainsLocal";
  src: url("./assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100%;
}

html,
body {
  margin: 0;
  background: #d8dadd;
  color: var(--ink);
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  scroll-behavior: smooth;
  overflow-x: clip;
}

/* Hide the native scrollbar so the custom cursor never conflicts with it.
   Scrolling still works via mouse wheel, trackpad, keyboard, and touch. */
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}

body,
body * {
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace !important;
}

.sidebar,
.sidebar *,
.topbar,
.topbar *,
.section,
.section *,
.footer,
.footer * {
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace !important;
}

html {
  scroll-padding-top: 24px;
}

body {
  min-height: 100vh;
  line-height: 1.45;
}

.main,
.section,
.footer,
.section > *,
.footer > *,
.section-head,
.section-head > *,
.thesis,
.about,
.resources,
.portfolio,
.footer-shell {
  min-width: 0;
}

.section-head h2,
.gp-copy h2,
.thesis-title,
.resources-head h2,
.article-feature h3,
.article-side-content h4,
.resource-card h3,
.footer h2,
.footer-sub,
.footer-email,
.footer-bottom p {
  overflow-wrap: anywhere;
  word-break: normal;
}

body.thesis-modal-open {
  position: fixed;
  top: var(--thesis-modal-scroll-lock-top, 0px);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  padding-right: var(--thesis-scrollbar-compensation, 0px);
}

section[id],
footer[id] {
  scroll-margin-top: 24px;
}

.skip-link {
  position: fixed;
  left: 10px;
  top: -44px;
  z-index: 120;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #2a8a99;
  background: #091015;
  color: #dce9ef;
  text-decoration: none;
  font-size: var(--fs-meta);
  transition: top 140ms ease;
}

.skip-link:focus-visible {
  top: 10px;
}

:is(a, button, [role="button"]):focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 3px;
}

.app {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: var(--nav-bg);
  border-right: 1px solid var(--line);
  padding: 10px 10px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-top {
  display: block;
  margin-bottom: 8px;
}

.sidebar .brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 2px 0 14px;
  padding: 0 10px;
  text-decoration: none;
}

.sidebar-toggle {
  display: none;
  border: 1px solid #bcc4cc;
  border-radius: 6px;
  background: #eef1f3;
  color: #42505d;
  height: 30px;
  padding: 0 10px;
  font-family: inherit;
  font-size: var(--fs-meta);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sidebar-toggle[aria-expanded="true"] {
  background: #dcebf0;
  border-color: #a8cfd9;
  color: #1d6f83;
}

.brand-logo {
  display: block;
  width: auto;
  height: 25.5px;
  max-width: 100%;
  mix-blend-mode: multiply;
  transform: translateY(2px);
}

nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

nav .nav-link[href="#home"] {
  display: none;
}

.nav-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: var(--nav-ink);
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 4px;
  font-size: var(--fs-meta);
  border: 1px solid transparent;
  transition:
    border-color 120ms ease,
    background-color 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

.nav-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-index {
  color: #2a8a99;
}

.nav-label {
  color: #7d848b;
}

.nav-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  opacity: 1;
}

.nav-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-link:hover {
  border-color: #c7cdd3;
  transform: translateX(2px);
}

.nav-link.active {
  background: var(--nav-active-bg);
  color: var(--nav-ink);
  border-color: #b7dfe7;
}

.nav-link.active .nav-icon {
  opacity: 1;
}

.arrow {
  display: none;
  font-size: var(--fs-meta);
  opacity: 0.8;
}

.side-ctas {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.main {
  background: #e5e7e9;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.topbar {
  min-height: 78px;
  border-bottom: 0;
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 12px;
  position: relative;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
}

.topbar-logo {
  display: block;
  width: auto;
  height: 21px;
  mix-blend-mode: multiply;
}

.topbar p {
  margin: 0 0 0 auto;
  color: #8b9198;
  font-size: var(--fs-meta);
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar p span {
  color: var(--teal);
  font-weight: 700;
}

.topbar-actions,
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  border: 1px solid transparent;
  font-family: inherit;
  font-size: var(--fs-meta);
  border-radius: 4px;
  height: 33px;
  min-width: 145px;
  padding: 0 18px;
  cursor: pointer;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.btn.primary {
  background: var(--nav-cta);
  border-color: var(--nav-cta);
  color: #e8f6f9;
  font-weight: 700;
}

.btn.primary:hover {
  background: var(--nav-cta);
  border-color: var(--nav-cta);
  transform: translateY(-1px);
}

.side-ctas .btn.ghost {
  color: var(--nav-ink);
  border-color: var(--nav-ink);
}

.btn.ghost {
  background: transparent;
  border: 1px solid #5e6570;
  color: #2b2f33;
}

.btn.ghost:hover {
  border-color: #4f5d6b;
  background: rgba(91, 101, 112, 0.08);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.hero .btn.ghost,
.footer .btn.ghost {
  border-color: #69707a;
  color: #aeb4ba;
}

.hero-scrub-stage {
  position: relative;
  z-index: 0;
  height: calc(var(--hero-sticky-h) + var(--hero-scrub-distance));
  min-height: calc(var(--hero-sticky-h) + 420px);
  background: #000;
}

.hero-scrub-sticky {
  position: sticky;
  top: var(--hero-sticky-top);
  height: var(--hero-sticky-h);
  overflow: clip;
}

.hero {
  --hero-inset-left: clamp(16px, 3.8vw, 56px);
  --hero-inset-right: clamp(16px, 3.8vw, 56px);
  --hero-inset-top: var(--hero-inset-left);
  --hero-inset-bottom: clamp(66px, 12vh, 140px);
  --hero-copy-right: var(--hero-inset-right);
  --hero-copy-bottom: var(--hero-inset-right);
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: #000;
  color: #f2f5f6;
  height: 100%;
  min-height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: var(--hero-inset-top) var(--hero-inset-right)
    var(--hero-inset-bottom) var(--hero-inset-left);
}

.hero,
.hero * {
  font-family:
    "AeonikLocal", "Aeonik", "Helvetica Neue", Arial, sans-serif !important;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateZ(0);
  contain: paint;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.12) 58%,
    rgba(0, 0, 0, 0.16) 100%
  );
}

.hero-scroll-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #000;
  opacity: 0;
  will-change: opacity;
}

.hero-content {
  position: absolute;
  z-index: 2;
  right: var(--hero-copy-right);
  bottom: var(--hero-copy-bottom);
  left: auto;
  margin: 0;
  max-width: calc(100% - var(--hero-inset-left) - var(--hero-copy-right));
  width: auto;
  text-align: right;
  transform: translateZ(0);
  contain: layout paint;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 2.9vw, 64px);
  line-height: 1.15;
  letter-spacing: 0.008em;
  max-width: 100%;
  font-family: "AeonikLocal", "Aeonik", sans-serif;
  text-align: right;
  color: #fafafa;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
  overflow-wrap: anywhere;
}

.hero-line-bold {
  display: block;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.01em;
  font-size: 1.03em;
  white-space: nowrap;
  max-width: 100%;
}

.hero-line-light {
  display: block;
  font-weight: 300;
  font-size: 0.98em;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.006em;
  white-space: nowrap;
  line-height: 1.2;
  max-width: 100%;
}

.hero p {
  margin: 2px 0;
  font-size: clamp(26px, 1.8vw, 38px);
  color: #e4edf3;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.section {
  --section-inline-padding: 56px;
  padding: 64px 56px 74px;
  border-top: 0;
  background: #e7e9eb;
  position: relative;
  z-index: 1;
}

.topbar::after,
.section::before,
.footer::before,
.footer-bottom::before {
  content: "";
  position: absolute;
  pointer-events: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(42, 138, 153, 0) 0%,
    var(--section-divider-soft) 12%,
    var(--section-divider-core) 50%,
    var(--section-divider-soft) 88%,
    rgba(42, 138, 153, 0) 100%
  );
  box-shadow:
    0 0 0 1px rgba(42, 138, 153, 0.08),
    0 0 12px var(--section-divider-glow);
  filter: saturate(1.02);
}

.topbar::after {
  left: 12px;
  right: 12px;
  bottom: 0;
}

.section::before,
.footer::before,
.footer-bottom::before {
  left: 8px;
  right: 8px;
  top: 0;
}

.section-head h2,
.gp-copy h2,
.thesis-title,
.resources-head h2 {
  margin: 0;
  font-size: var(--fs-title);
  line-height: 1.08;
  color: var(--section-header-main);
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 1px 0 0 rgba(47, 155, 176, 0.24);
}

.section-head {
  margin: 0 0 30px;
}

.section-head h2 span,
.gp-copy h2 span,
.thesis-title span {
  color: var(--section-header-accent);
  text-shadow: none;
}

.thesis {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 24px;
  align-items: start;
  background: #eceff1;
  padding-top: 40px;
}

.thesis-title {
  grid-column: 1;
  margin: 0;
  margin-top: 26px;
  line-height: 1.1;
}

.thesis-title span {
  color: var(--section-header-accent);
}

.thesis-panel {
  grid-column: 2;
  width: 100%;
  max-width: none;
  background: #fafafa;
  border: 1px solid #bcc6cf;
  border-radius: 16px;
  padding: 28px 34px 30px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 22px rgba(26, 36, 49, 0.08);
}

.thesis-teaser {
  display: grid;
  gap: 18px;
}

.thesis-teaser-block {
  display: grid;
  gap: 4px;
}

.thesis-teaser-line {
  margin: 0;
  max-width: none;
  color: #2b2f33;
  font-size: calc(var(--fs-lead) * 1.3);
  line-height: 1.32;
  letter-spacing: 0;
  text-wrap: pretty;
}

.thesis-teaser-industries {
  font-weight: 700;
}

.thesis-read-more {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2a8a99;
  font-family: inherit;
  font-weight: inherit;
  font-size: var(--fs-lead);
  line-height: 1.32;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease,
    transform 160ms ease;
}

.thesis-read-more:hover {
  color: #1f7d93;
  transform: translateY(-1px);
}

.thesis-read-more:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 4px;
  border-radius: 4px;
}

.thesis-modal,
.thesis-modal * {
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace !important;
}

.thesis-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 44px);
  max-width: 100vw;
  overflow: hidden;
  background: rgba(221, 225, 228, 0.74);
  backdrop-filter: blur(10px) saturate(120%);
  font-weight: 300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 240ms ease,
    visibility 0s linear 240ms;
}

.thesis-modal[hidden] {
  display: none;
}

.thesis-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.thesis-modal-panel {
  --thesis-modal-max-height: min(88vh, 920px);
  --thesis-modal-pad-top: 42px;
  --thesis-modal-pad-x: 48px;
  --thesis-modal-pad-bottom: 42px;
  --thesis-modal-scrollbar-inset: 14px;
  --thesis-modal-section-gap: 14px;
  --thesis-modal-section-title-size: 17px;
  --thesis-modal-section-title-line: 1.32;
  position: relative;
  width: min(100%, 1180px);
  max-height: var(--thesis-modal-max-height);
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #bcc6cf;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 64px rgba(21, 33, 45, 0.14);
  transform: translateY(18px);
  opacity: 0;
  transition:
    transform 260ms cubic-bezier(0.2, 0.75, 0.24, 1),
    opacity 220ms ease;
}

.thesis-modal.is-open .thesis-modal-panel {
  transform: translateY(0);
  opacity: 1;
}

.thesis-modal-panel:focus {
  outline: none;
}

.thesis-modal-scroll {
  box-sizing: border-box;
  width: 100%;
  max-height: calc(var(--thesis-modal-max-height) - 2px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding: var(--thesis-modal-pad-top) var(--thesis-modal-pad-x)
    var(--thesis-modal-pad-bottom);
}

.thesis-modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.thesis-modal-header-copy {
  display: grid;
  gap: 0;
}

.thesis-modal-title {
  margin: 0;
  color: #2b2f33;
  font-size: var(--fs-display);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 500;
  text-wrap: balance;
}

.thesis-modal-subtitle {
  margin: 0;
  color: #2a8a99;
  font-size: var(--thesis-modal-section-title-size);
  line-height: var(--thesis-modal-section-title-line);
  letter-spacing: 0;
  font-weight: 600;
  text-wrap: balance;
}

.thesis-modal-section h4 {
  margin: 0;
  color: #2a8a99;
  font-size: var(--thesis-modal-section-title-size);
  line-height: var(--thesis-modal-section-title-line);
  letter-spacing: 0;
  font-weight: 600;
  text-wrap: balance;
}

.thesis-modal-close {
  border: 1px solid #bcc6cf;
  border-radius: 8px;
  background: rgba(247, 250, 251, 0.96);
  color: #2b2f33;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: var(--fs-lead);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.thesis-modal-close:hover {
  border-color: #2a8a99;
  color: #2a8a99;
  transform: translateY(-1px);
}

.thesis-modal-close:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 3px;
}

.thesis-modal-body {
  margin-top: 34px;
  display: grid;
  gap: 34px;
  max-width: 86ch;
}

.thesis-modal-intro,
.thesis-modal-section {
  display: grid;
  gap: var(--thesis-modal-section-gap);
}

.thesis-modal-intro p,
.thesis-modal-section p {
  margin: 0;
  color: #2b2f33;
  font-size: var(--fs-body);
  line-height: 1.62;
  max-width: 76ch;
  text-wrap: pretty;
}

.thesis-modal-support {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.thesis-modal-caption {
  margin: 0;
  color: #2b2f33;
  font-size: var(--fs-body);
  line-height: 1.58;
}

.thesis-modal-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2ch;
  display: grid;
  gap: 8px;
}

.thesis-modal-list li {
  color: #2b2f33;
  font-size: var(--fs-body);
  line-height: 1.58;
}

.thesis-modal-list li::before {
  content: "- ";
}

.thesis-modal-section-outcome {
  padding-top: 0;
}

.thesis-modal-section .thesis-modal-signoff {
  margin: calc(0.9 * var(--fs-body) * 1.62) 0 0;
  padding-bottom: calc(2 * var(--fs-body) * 1.62);
}

@media (max-width: 1100px) {
  .thesis-teaser {
    gap: 16px;
  }

  .thesis-modal-panel {
    --thesis-modal-pad-top: 34px;
    --thesis-modal-pad-x: 32px;
    --thesis-modal-pad-bottom: 34px;
    --thesis-modal-scrollbar-inset: 12px;
    --thesis-modal-section-gap: 12px;
    --thesis-modal-section-title-size: 16px;
    border-radius: 8px;
  }

  .thesis-modal-body {
    margin-top: 28px;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  :root {
    --fs-meta: 11px;
    --fs-body: 14px;
    --fs-lead: clamp(15px, 3.7vw, 18px);
    --fs-title: clamp(20px, 5.4vw, 28px);
    --fs-display: clamp(26px, 7vw, 34px);
  }

  .thesis-teaser {
    gap: 12px;
  }

  .thesis-teaser-block {
    gap: 2px;
  }

  .thesis-teaser-line {
    max-width: none;
    font-size: calc(var(--fs-lead) * 1.3);
    line-height: 1.26;
    text-wrap: pretty;
  }

  .thesis-read-more {
    font-size: var(--fs-lead);
  }

  .thesis-modal {
    padding: max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  .thesis-modal-panel {
    --thesis-modal-max-height: min(90vh, 920px);
    --thesis-modal-pad-top: 24px;
    --thesis-modal-pad-x: 18px;
    --thesis-modal-pad-bottom: 22px;
    --thesis-modal-scrollbar-inset: 8px;
    border-radius: 8px;
  }

  .thesis-modal-scroll {
    scrollbar-gutter: auto;
  }

  .thesis-modal-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .thesis-modal-close {
    width: 32px;
    height: 32px;
    font-size: var(--fs-lead);
  }

  .thesis-modal-title {
    font-size: var(--fs-display);
  }

  .thesis-modal-intro p,
  .thesis-modal-section p,
  .thesis-modal-caption,
  .thesis-modal-list li {
    font-size: var(--fs-body);
    line-height: 1.58;
  }
}

@supports (height: 100dvh) {
  .thesis-modal-panel {
    --thesis-modal-max-height: min(88dvh, 920px);
  }

  @media (max-width: 760px) {
    .thesis-modal-panel {
      --thesis-modal-max-height: min(90dvh, 920px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .thesis-modal,
  .thesis-modal-panel,
  .thesis-read-more {
    transition: none;
  }
}

.thesis .lead {
  margin: 0;
  max-width: none;
  font-size: var(--fs-lead);
  line-height: 1.52;
  color: #2b2f33;
}

.thesis .lead strong {
  font-weight: 800;
  color: #2b2f33;
}

.thesis .thesis-support {
  margin: 22px 0 0;
  max-width: none;
  color: #2b2f33;
  font-size: var(--fs-lead);
  line-height: 1.56;
}

.thesis .thesis-support strong {
  color: #2b2f33;
  font-weight: 800;
}

.thesis .goals {
  grid-column: 2;
  margin: 2px 0 0;
  max-width: 760px;
  color: #2b2f33;
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.about {
  --scope-stack-gap: 28px;
  --scope-card-gap: 18px;
  --scope-box-padding-y: 28px;
  --scope-box-padding-x: 32px;
  --scope-carousel-gap: clamp(8px, 1vw, 12px);
  --scope-slide-width: clamp(144px, 9.5vw, 164px);
  border-top-color: var(--section-divider);
  border-top-width: 1px;
  background: #eceff1;
}

.about > .section-head {
  margin: 0;
}

.scope-stack {
  margin-top: var(--scope-stack-gap);
  display: grid;
  gap: var(--scope-stack-gap);
}

.info-cards {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--scope-card-gap);
  align-items: stretch;
}

.info-card,
.invest-focus-card {
  background: #fafafa;
  border: 1px solid #bcc6cf;
  border-radius: 16px;
  padding: var(--scope-box-padding-y) var(--scope-box-padding-x);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 22px rgba(26, 36, 49, 0.08);
}

.invest-focus-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 22px);
  position: relative;
  overflow: hidden;
}

.eyebrow {
  margin: 0;
  font-size: var(--fs-body);
  color: #a1a8af;
  font-weight: 600;
}

.info-card h3 {
  margin: 14px 0 18px;
  font-size: var(--fs-display);
  line-height: 1.02;
  color: #2a8a99;
  font-weight: 800;
  text-wrap: balance;
}

.info-card p {
  font-size: var(--fs-body);
  color: #2b2f33;
  margin: 0;
  max-width: 100%;
  text-wrap: pretty;
}

.big-title {
  margin: 0;
  display: block;
  font-size: var(--fs-title);
  line-height: 1.02;
  font-weight: 700;
  color: #2b2f33;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.big-title .big-title-static {
  color: #2b2f33;
}

.scope-carousel-wrap {
  position: relative;
  flex: 0 1 auto;
  width: min(
    100%,
    calc((2 * var(--scope-slide-width)) + var(--scope-carousel-gap))
  );
  min-width: 0;
}

.scope-carousel-wrap::before,
.scope-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(18px, 4vw, 48px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #fafafa 12%, rgba(250, 250, 250, 0) 100%);
}

.scope-carousel-wrap::before {
  left: 0;
}

.scope-carousel-wrap::after {
  right: 0;
  transform: scaleX(-1);
}

.scope-carousel {
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scope-carousel::-webkit-scrollbar {
  display: none;
}

.scope-carousel:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 4px;
  border-radius: 14px;
}

.scope-carousel-track {
  display: flex;
  align-items: center;
  gap: var(--scope-carousel-gap);
  width: max-content;
  animation: scope-marquee var(--scope-marquee-duration, 16s) linear infinite;
  will-change: transform;
}

.scope-carousel:is(:hover, :focus-visible) .scope-carousel-track {
  animation-play-state: paused;
}

.scope-carousel-group {
  display: flex;
  align-items: center;
  gap: var(--scope-carousel-gap);
  flex: 0 0 auto;
}

.scope-slide {
  flex: 0 0 auto;
  min-height: 0;
  padding: 0 clamp(6px, 0.9vw, 14px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(42, 138, 153, 0.88);
}

.scope-slide-label {
  display: block;
  width: auto;
  font-size: var(--fs-display);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  color: inherit;
}

@keyframes scope-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--scope-loop-distance, 0px)), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scope-carousel {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .scope-carousel-track {
    animation: none;
    width: max-content;
  }

  .scope-carousel-group[aria-hidden="true"] {
    display: none;
  }
}

.about-stats {
  margin-top: 0;
  padding-top: 56px;
}

.about-stats .section-head {
  margin: 0 0 22px;
}

.kpi-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi {
  background: var(--kpi-fill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fafafa;
  border-radius: 16px;
  padding: 14px 14px 16px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(8, 43, 57, 0.18);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.kpi:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--kpi-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(8, 43, 57, 0.18);
}

.kpi p {
  margin: 2px 0 10px;
  color: #fafafa;
  font-size: var(--fs-meta);
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}

.kpi h4 {
  margin: 0;
  font-size: var(--fs-display);
  line-height: 1;
  font-weight: 700;
  color: #fafafa;
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  letter-spacing: 0.01em;
}

.chart-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.chart-block {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #bcc6cf;
  padding: 22px 20px 18px;
  background: var(--chart-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 22px rgba(26, 36, 49, 0.08);
}

.chart-block h4 {
  margin: 0 0 20px;
  font-size: var(--fs-title);
  color: #2b2f33;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.15;
}

.donut {
  width: min(252px, 86%);
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  isolation: isolate;
}

.donut::before {
  content: none;
}

.donut::after {
  content: none;
}

.donut-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.donut-track {
  fill: none;
  stroke: #cfd5da;
  stroke-width: 24;
}

.donut-depth,
.donut-top {
  transform-origin: 110px 110px;
  transform: translateY(6px) scale(0.96);
  opacity: 0;
  transition:
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 360ms ease;
}

.donut.is-revealed .donut-depth,
.donut.is-revealed .donut-top {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.donut-segment {
  stroke: #eceff2;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.donut-depth .donut-segment {
  opacity: 0.26;
  filter: blur(0.2px);
}

.donut-top .donut-segment {
  filter: none;
}

.donut-top .donut-segment.is-active {
  filter: none;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 5;
  text-align: center;
  pointer-events: none;
  text-shadow: none;
}

.donut-center::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--chart-bg);
  z-index: -1;
}

.donut-center strong {
  display: block;
  font-size: var(--fs-display);
  line-height: 0.95;
  color: #2b2f33;
  font-weight: 700;
}

.donut-center span {
  display: block;
  max-width: 80%;
  line-height: 1.2;
  font-size: var(--fs-meta);
  letter-spacing: 0.01em;
  text-transform: none;
  color: #8a9096;
}

.donut-center-kicker {
  display: block;
  max-width: 84%;
  line-height: 1.1;
  font-size: var(--fs-meta);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a9096;
}

.donut-center--tickets {
  gap: 4px;
}

.donut-center--tickets strong,
.donut-center--comparison strong {
  max-width: 84%;
  text-wrap: balance;
}

.donut-center--tickets strong {
  font-size: var(--fs-display);
  line-height: 0.98;
}

.donut-center--comparison {
  gap: 5px;
}

.donut-center--comparison strong {
  font-size: var(--fs-title);
  line-height: 1.02;
}

.donut-center--comparison span {
  max-width: 84%;
}

.legend {
  list-style: none;
  margin: 16px auto 0;
  width: min(334px, 100%);
  padding: 0 4px;
  display: grid;
  gap: 10px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-lead);
  color: #2b2f33;
}

.legend em {
  margin-left: auto;
  color: #2b2f33;
  font-style: normal;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.c1 {
  background: #2a8a99;
}

.dot.c2 {
  background: #343a43;
}

.dot.c3 {
  background: #8b939d;
}

.dot.c4 {
  background: #d3dde2;
}

.bar-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bar-card {
  border-radius: 16px;
  border: 1px solid #bcc6cf;
  background: var(--chart-bg);
  color: #2b2f33;
  padding: 16px 16px 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 22px rgba(26, 36, 49, 0.08);
}

.bar-card h4 {
  margin: 0 0 10px;
  font-size: var(--fs-title);
  color: #2b2f33;
}

.bar-plot {
  position: relative;
  padding-left: 24px;
  --bar-label-space: 34px;
  --gel-depth: 11px;
  --gel-corner: 16px;
}

.y-axis {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: var(--axis-bottom, var(--bar-label-space));
  width: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #2b2f33;
  font-size: var(--fs-meta);
  font-weight: 700;
  line-height: 1;
  text-align: left;
}

.bars {
  min-height: 254px;
  position: relative;
  padding: 10px 8px 0;
  display: grid;
  align-items: end;
  gap: 20px;
  isolation: isolate;
  border-radius: 16px;
  background: var(--chart-bg);
}

.bars::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--bar-label-space);
  background-image:
    linear-gradient(
      to right,
      rgba(141, 202, 222, 0.42),
      rgba(141, 202, 222, 0.42)
    ),
    linear-gradient(
      to right,
      rgba(141, 202, 222, 0.34),
      rgba(141, 202, 222, 0.34)
    ),
    linear-gradient(
      to right,
      rgba(141, 202, 222, 0.28),
      rgba(141, 202, 222, 0.28)
    );
  background-size:
    100% 1px,
    100% 1px,
    100% 1px;
  background-position:
    0 0,
    0 50%,
    0 100%;
  background-repeat: no-repeat;
  border-radius: 14px 14px 12px 12px;
  pointer-events: none;
  opacity: 0.65;
}

.bars::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: calc(var(--bar-label-space) - 8px);
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(
    72% 100% at 50% 50%,
    rgba(120, 214, 238, 0.28) 0%,
    rgba(120, 214, 238, 0) 100%
  );
  pointer-events: none;
}

.bars-location {
  grid-template-columns: repeat(3, 1fr);
}

.bars-sector {
  grid-template-columns: repeat(4, 1fr);
}

.bar-plot-horizontal {
  padding-left: 0;
}

.bars-horizontal {
  min-height: 254px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 4px 0;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) minmax(0, 3.2fr);
  gap: 14px;
  align-items: center;
}

.bar-row-label {
  margin: 0;
  color: #2b2f33;
  font-size: var(--fs-meta);
  line-height: 1.1;
}

.bar-row-track {
  position: relative;
  min-width: 0;
  height: clamp(26px, 1.95vw, 34px);
  border-radius: 9px;
  border: 1px solid rgba(120, 161, 182, 0.38);
  background:
    linear-gradient(
      180deg,
      rgba(250, 250, 250, 0.98),
      rgba(250, 250, 250, 0.98)
    ),
    linear-gradient(to right, rgba(134, 174, 196, 0.14) 1px, transparent 1px);
  background-size:
    auto,
    25% 100%;
  overflow: hidden;
}

.bars-horizontal .bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(90deg, #7fb3e7 0%, #6ea7e0 54%, #629ad2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -10px 14px rgba(66, 122, 172, 0.16);
  transition:
    width 280ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

.bar-row:hover .bar-fill,
.bar-row:focus-within .bar-fill {
  filter: saturate(1.05) brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -10px 14px rgba(66, 122, 172, 0.22),
    0 0 0 1px rgba(122, 173, 214, 0.22);
}

.bar-plot-default {
  padding-left: 24px;
  --axis-bottom: 40px;
}

.bar-default-subtitle {
  margin: 0 0 10px;
  color: #2b2f33;
  font-size: var(--fs-body);
  line-height: 1.2;
}

.bars-default {
  --default-label-space: 40px;
  min-height: 254px;
  position: relative;
  padding: 0 6px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  border-radius: 12px;
  isolation: isolate;
  background: var(--chart-bg);
}

.bars-default::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--default-label-space);
  border-radius: 12px;
  background-image:
    linear-gradient(
      to right,
      rgba(139, 149, 160, 0.46),
      rgba(139, 149, 160, 0.46)
    ),
    linear-gradient(
      to right,
      rgba(139, 149, 160, 0.36),
      rgba(139, 149, 160, 0.36)
    ),
    linear-gradient(
      to right,
      rgba(139, 149, 160, 0.3),
      rgba(139, 149, 160, 0.3)
    );
  background-size:
    100% 1px,
    100% 1px,
    100% 1px;
  background-position:
    0 0,
    0 50%,
    0 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: var(--default-label-space);
  position: relative;
  z-index: 1;
}

.bars-default .bar-fill {
  width: 100%;
  max-width: 66px;
  height: 0;
  display: block;
  border-radius: 14px;
  border: 1px solid #7d848b;
  background: #7d848b;
  box-shadow: none;
  transition:
    height 760ms cubic-bezier(0.2, 0.72, 0.24, 1),
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.bars-default.is-revealed .bar-fill {
  height: var(--target-height, 0%);
}

.bar-col-label {
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: var(--default-label-space);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #2b2f33;
  font-size: var(--fs-meta);
  text-align: center;
  line-height: 1.08;
}

.bar-col:hover .bar-fill,
.bar-col:focus-within .bar-fill {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.11) 0 12px,
      rgba(255, 255, 255, 0) 12px 24px
    ),
    #2a8a99;
  border-color: rgba(42, 138, 153, 0.7);
  box-shadow:
    0 0 0 1px rgba(42, 138, 153, 0.26),
    0 0 18px rgba(42, 138, 153, 0.2);
}

.bars-location-default {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bars-sector-default {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bars div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  padding-bottom: var(--bar-label-space);
  z-index: 1;
  perspective: 920px;
  transform-style: preserve-3d;
}

.bars div::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 12%;
  bottom: calc(var(--bar-label-space) - 6px);
  height: 11px;
  border-radius: 999px;
  background: radial-gradient(
    70% 100% at 50% 50%,
    rgba(107, 184, 208, 0.26) 0%,
    rgba(107, 184, 208, 0) 100%
  );
  filter: blur(1.6px);
  pointer-events: none;
}

.bars .bar-fill {
  --gel-rgb: 47, 210, 230;
  --gel-rgb-light: 225, 255, 255;
  --gel-rgb-dark: 26, 174, 205;
  width: 100%;
  position: relative;
  z-index: 1;
  border-radius: var(--gel-corner) var(--gel-corner)
    calc(var(--gel-corner) * 0.72) calc(var(--gel-corner) * 0.72);
  background:
    radial-gradient(
      120% 80% at 22% 10%,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0) 50%
    ),
    linear-gradient(
      106deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.1) 34%,
      rgba(255, 255, 255, 0) 64%
    ),
    linear-gradient(
      180deg,
      rgba(var(--gel-rgb-light), 0.74) 0%,
      rgba(var(--gel-rgb), 0.56) 42%,
      rgba(var(--gel-rgb-dark), 0.48) 100%
    );
  border: 1px solid rgba(var(--gel-rgb), 0.45);
  display: block;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -10px 16px rgba(var(--gel-rgb), 0.22),
    0 8px 18px rgba(var(--gel-rgb), 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px) saturate(145%);
  transform-origin: bottom center;
  transition:
    height 220ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.bars .bar-fill::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 18%;
  top: calc(var(--gel-depth) * -0.58);
  height: var(--gel-depth);
  border-radius: 999px;
  background:
    radial-gradient(
      95% 120% at 24% 44%,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.08) 66%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(var(--gel-rgb-light), 0.72) 0%,
      rgba(var(--gel-rgb), 0.44) 100%
    );
  clip-path: polygon(0 42%, 82% 0, 100% 58%, 18% 100%);
  box-shadow: inset 0 -2px 5px rgba(var(--gel-rgb), 0.2);
  opacity: 0.95;
  pointer-events: none;
}

.bars .bar-fill::after {
  content: "";
  position: absolute;
  top: 8px;
  right: calc(var(--gel-depth) * -0.75);
  bottom: 7px;
  width: var(--gel-depth);
  border-radius: 0 calc(var(--gel-corner) * 0.52) calc(var(--gel-corner) * 0.52)
    0;
  background: linear-gradient(
    180deg,
    rgba(var(--gel-rgb-light), 0.52) 0%,
    rgba(var(--gel-rgb), 0.22) 38%,
    rgba(var(--gel-rgb-dark), 0.34) 100%
  );
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.3),
    inset 0 -5px 8px rgba(var(--gel-rgb), 0.18);
  opacity: 0.92;
  pointer-events: none;
}

.bars [data-location-key="netherlands"] .bar-fill {
  --gel-rgb: 43, 221, 238;
  --gel-rgb-light: 229, 255, 255;
  --gel-rgb-dark: 20, 172, 198;
}

.bars [data-location-key="france"] .bar-fill {
  --gel-rgb: 148, 229, 46;
  --gel-rgb-light: 240, 255, 204;
  --gel-rgb-dark: 104, 192, 28;
}

.bars [data-location-key="germany"] .bar-fill {
  --gel-rgb: 253, 220, 55;
  --gel-rgb-light: 255, 246, 188;
  --gel-rgb-dark: 221, 171, 26;
}

.bars [data-sector-key="healthTech"] .bar-fill {
  --gel-rgb: 237, 86, 176;
  --gel-rgb-light: 255, 220, 240;
  --gel-rgb-dark: 214, 56, 149;
}

.bars [data-sector-key="climateTech"] .bar-fill {
  --gel-rgb: 51, 126, 255;
  --gel-rgb-light: 208, 225, 255;
  --gel-rgb-dark: 28, 96, 232;
}

.bars [data-sector-key="finTech"] .bar-fill {
  --gel-rgb: 147, 229, 55;
  --gel-rgb-light: 236, 255, 205;
  --gel-rgb-dark: 102, 194, 33;
}

.bars [data-sector-key="waterTech"] .bar-fill {
  --gel-rgb: 230, 92, 222;
  --gel-rgb-light: 255, 215, 251;
  --gel-rgb-dark: 199, 58, 190;
}

.bars p {
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: var(--bar-label-space);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #2b2f33;
  font-size: var(--fs-meta);
  text-align: center;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56);
  transition: color 170ms ease;
}

.bars div:hover .bar-fill,
.bars div:focus-within .bar-fill {
  border-color: rgba(255, 255, 255, 0.9);
  filter: saturate(1.16) brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -12px 16px rgba(var(--gel-rgb), 0.24),
    0 0 0 1px rgba(var(--gel-rgb), 0.28),
    0 0 20px rgba(var(--gel-rgb), 0.28);
}

.bars div:hover .bar-fill::before,
.bars div:focus-within .bar-fill::before {
  background:
    radial-gradient(
      95% 120% at 26% 48%,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0) 72%
    ),
    linear-gradient(
      180deg,
      rgba(var(--gel-rgb-light), 0.82) 0%,
      rgba(var(--gel-rgb), 0.56) 100%
    );
}

.bars div:hover .bar-fill::after,
.bars div:focus-within .bar-fill::after {
  background: linear-gradient(
    180deg,
    rgba(var(--gel-rgb-light), 0.66) 0%,
    rgba(var(--gel-rgb), 0.34) 34%,
    rgba(var(--gel-rgb-dark), 0.44) 100%
  );
}

.bars div:hover p,
.bars div:focus-within p {
  color: #2b2f33;
}

.portfolio {
  background: #eceff1;
}

.portfolio .section-head h2 {
  color: var(--section-header-main);
  text-shadow: none;
}

.portfolio .section-head h2 span {
  color: var(--section-header-accent);
}

.portfolio-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  background: transparent;
  align-items: stretch;
}

.portfolio-card {
  display: block;
  position: relative;
  border-radius: 16px;
  min-height: 0;
  aspect-ratio: 3375 / 4219;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transform: none;
  contain: layout paint;
  color: inherit;
  text-decoration: none;
}

.portfolio-card:focus {
  outline: none;
}

.portfolio-card:hover,
.portfolio-card:focus-within,
.portfolio-card:active {
  transform: none;
}

.portfolio-card:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 4px;
}

.portfolio-card-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #11151a;
  border-radius: 16px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.portfolio-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 0;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.portfolio-card:hover .portfolio-face,
.portfolio-card:focus-within .portfolio-face,
.portfolio-card.is-flipped .portfolio-face {
  will-change: opacity, transform, filter;
}

.portfolio-front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  --portfolio-logo-left: 20px;
  --portfolio-logo-bottom: 18px;
  padding: 20px 20px 18px;
  color: #fff;
  background-color: #11151b;
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    filter 260ms ease;
}

.portfolio-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
}

.portfolio-front-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-back-head {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-learn {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 400;
  color: #f7fafb;
  font-family: "AeonikLocal", "Aeonik", "Inter", sans-serif !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-symbol {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.portfolio-symbol::before,
.portfolio-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(244, 247, 249, 0.95);
  transform-origin: center;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.portfolio-symbol::before {
  transform: translateY(-50%) rotate(90deg);
}

.portfolio-symbol::after {
  transform: translateY(-50%);
}

.portfolio-symbol.is-minus::before {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleX(0);
}

.portfolio-front-logo {
  position: absolute;
  left: var(--portfolio-logo-left);
  bottom: var(--portfolio-logo-bottom);
  z-index: 2;
  display: block;
  width: min(86%, 250px);
}

.portfolio-front-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left bottom;
  filter: brightness(0) invert(1) drop-shadow(0 6px 15px rgba(2, 6, 10, 0.44));
}

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

.portfolio-back {
  position: absolute;
  inset: 0;
  --portfolio-logo-left: 20px;
  --portfolio-logo-bottom: 18px;
  background: #0a0d11;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 20px 20px 102px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.portfolio-back::before {
  content: none;
}

.portfolio-back::after {
  content: none;
}

.back-top-logo {
  position: absolute;
  left: var(--portfolio-logo-left);
  bottom: var(--portfolio-logo-bottom);
  z-index: 2;
  display: block;
  width: min(86%, 250px);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.back-top-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left bottom;
  -webkit-user-drag: none;
  user-select: none;
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(5, 9, 13, 0.55));
}

.back-copy {
  position: relative;
  z-index: 2;
  margin: 56px 0 0;
  max-width: 86%;
  color: #f8fafb;
  font-family: "AeonikLocal", "Aeonik", "Inter", sans-serif !important;
  font-size: var(--fs-lead);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

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

.portfolio-card:hover .portfolio-front,
.portfolio-card:focus-within .portfolio-front,
.portfolio-card.is-flipped .portfolio-front {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(2px) brightness(0.66);
}

.portfolio-card:hover .portfolio-back,
.portfolio-card:focus-within .portfolio-back,
.portfolio-card.is-flipped .portfolio-back {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-card:hover .back-copy,
.portfolio-card:focus-within .back-copy,
.portfolio-card.is-flipped .back-copy,
.portfolio-card:hover .back-top-logo,
.portfolio-card:focus-within .back-top-logo,
.portfolio-card.is-flipped .back-top-logo {
  opacity: 1;
  transform: translateY(0);
}

.p1 .portfolio-front {
  background-image: url("./assets/portfolio/fluency-clean.png");
}

.p2 .portfolio-front {
  background-image: url("./assets/portfolio/biotic-clean.png");
}

.p3 .portfolio-front {
  background-image: url("./assets/portfolio/dryad-clean.png");
}

.p4 .portfolio-front {
  background-image: url("./assets/portfolio/desolenator-clean.png");
}

.p5 .portfolio-front {
  background-image: url("./assets/portfolio/ziwig-clean.png");
}

.p6 .portfolio-front {
  background-image: url("./assets/portfolio/oasys-now-clean.png");
}

.p1 .portfolio-front-logo img,
.p1 .back-top-logo img {
  max-height: 62px;
}

.p2 .portfolio-front-logo img,
.p2 .back-top-logo img {
  max-height: 58px;
}

.p3 .portfolio-front-logo img,
.p3 .back-top-logo img {
  max-height: 60px;
}

.p4 .portfolio-front-logo img,
.p4 .back-top-logo img {
  max-height: 56px;
}

.p5 .portfolio-front-logo img,
.p5 .back-top-logo img {
  max-height: 60px;
}

.p6 .portfolio-front-logo img,
.p6 .back-top-logo img {
  max-height: 62px;
}

.team {
  padding-top: 64px;
  background: #eceff1;
}

.gp-head {
  margin: 0 0 22px;
}

.gp-card {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.gp-photo {
  position: relative;
  border-radius: 16px;
  min-height: 360px;
  cursor: pointer;
  background: var(--gp-bg-fill);
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}

.gp-photo:focus {
  outline: none;
}

.gp-photo:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 4px;
}

.gp-photo-inner {
  position: absolute;
  inset: 0;
  min-height: inherit;
  border-radius: inherit;
  overflow: hidden;
  background: var(--gp-bg-fill);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.gp-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 0;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.gp-photo:hover .gp-face,
.gp-photo:focus-within .gp-face {
  will-change: opacity, transform, filter;
}

.gp-front {
  background-image: url("./assets/team/uros-lekic.jpg");
  background-size: 96%;
  background-position: center 10%;
  background-repeat: no-repeat;
  background-color: var(--gp-bg-fill);
  border: 1px solid #29313a;
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    filter 260ms ease;
}

.gp-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 14, 0) 34%, rgba(3, 9, 14, 0.44) 100%),
    linear-gradient(
      90deg,
      var(--gp-edge-left) 0%,
      rgba(8, 11, 16, 0) 14%,
      rgba(8, 11, 16, 0) 86%,
      var(--gp-edge-right) 100%
    );
}

.gp-front::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
}

.gp-name {
  margin: 0;
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #e5eaed;
  font-size: var(--fs-display);
  line-height: 0.92;
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.gp-name span {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-lead);
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.gp-photo-toggle {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(42, 138, 153, 0.7);
  border-radius: 999px;
  background: rgba(7, 16, 24, 0.78);
  color: #d6eef6;
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  font-size: var(--fs-meta);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.gp-photo-toggle:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 2px;
}

.gp-back {
  border: 1px solid #3a434d;
  background-color: var(--gp-back-bg);
  color: var(--gp-back-ink);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.gp-photo:hover .gp-front,
.gp-photo:focus-within .gp-front {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(2px) brightness(0.66);
}

.gp-photo:hover .gp-back,
.gp-photo:focus-within .gp-back {
  opacity: 1;
  pointer-events: auto;
}

.gp-quote-mark {
  position: absolute;
  right: 24px;
  top: 18px;
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  font-size: var(--fs-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gp-back-ink);
  line-height: 0.92;
  pointer-events: none;
}

.gp-plus {
  display: none;
}

.gp-bio {
  margin: 70px 0 0;
  color: var(--gp-back-ink);
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  font-size: var(--fs-body);
  line-height: 1.42;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-wrap: pretty;
}

.gp-copy {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.gp-copy h2 {
  margin: 6px 0 18px;
  line-height: 1.1;
}

.gp-copy h2 span {
  color: var(--section-header-accent);
  text-shadow: none;
}

.gp-copy blockquote {
  margin: 0;
  align-self: stretch;
  width: 100%;
  padding: 28px 30px 30px;
  box-sizing: border-box;
  font-size: var(--fs-title);
  color: #2b2f33;
  line-height: 1.46;
  background: #fafafa;
  border: 1px solid #bcc6cf;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(21, 33, 45, 0.08);
  white-space: pre-line;
  text-wrap: pretty;
}

.gp-copy blockquote.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 6px;
  vertical-align: -0.08em;
  background: #6f7f8f;
  animation: gp-caret-blink 0.8s steps(1, end) infinite;
}

@keyframes gp-caret-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.resources {
  margin-top: 0;
  border-top: 0;
  background: #eceff1;
  background-image: none;
}

.directory-hub {
  background: #eceff1;
}

.directory-hub .directory-intro {
  padding-top: 0;
}

.directory-hub .directory-intro-panel {
  margin-top: 0;
}

.resources-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 22px;
  padding-bottom: 0;
}

.resources-head h2 {
  font-size: var(--fs-title);
  color: var(--section-header-main);
}

.resources-head p {
  margin: 0;
  font-size: var(--fs-meta);
  color: #97a0a9;
  letter-spacing: 0.16em;
}

.articles-layout {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 22px;
  align-items: start;
}

.article-feature {
  min-width: 0;
  border-radius: 16px;
  border: 1px solid #bcc6cf;
  background: #fafafa;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 7px 16px rgba(29, 39, 53, 0.08);
}

.article-feature-media {
  position: relative;
  display: block;
  border-radius: 0;
  border: 0;
  overflow: hidden;
  background: #0f1419;
  text-decoration: none;
  aspect-ratio: 16 / 10;
}

.article-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.article-feature-media:hover img,
.article-feature-media:focus-visible img {
  transform: scale(1.02);
}

.article-feature-content {
  padding: 20px;
  border-top: 1px solid #bcc6cf;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.articles-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 9px;
  border-radius: 5px;
  background: #fafafa;
  border: 1px solid rgba(43, 47, 51, 0.14);
  color: #2b2f33;
  font-size: var(--fs-meta);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.article-feature-meta {
  margin: 0;
  color: #7d848b;
  font-size: var(--fs-meta);
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-feature h3 {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: var(--fs-title);
  line-height: 1.16;
  text-wrap: balance;
}

.article-feature h3 a {
  color: #2b2f33;
  text-decoration: none;
}

.article-feature h3 a:hover,
.article-feature h3 a:focus-visible {
  text-decoration: underline;
}

.article-feature-summary {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: var(--fs-body);
  line-height: 1.52;
  color: #2b2f33;
}

.article-read-more {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2b2f33;
  text-decoration: none;
  font-size: var(--fs-body);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.article-read-more:hover,
.article-read-more:focus-visible {
  color: #2a8a99;
}

.article-side-list {
  display: grid;
  gap: 20px;
}

.article-side-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 39%) minmax(0, 61%);
  border-radius: 16px;
  border: 1px solid #bcc6cf;
  background: #fafafa;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 7px 16px rgba(29, 39, 53, 0.08);
}

.article-side-media {
  position: relative;
  min-height: 132px;
  display: block;
  background: #0f1419;
  text-decoration: none;
}

.article-side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-side-card .articles-chip {
  top: 8px;
  left: 8px;
  min-height: 18px;
  padding: 0 8px;
  font-size: var(--fs-meta);
}

.article-side-content {
  min-width: 0;
  padding: 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-side-meta {
  margin: 0;
  color: #7d848b;
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.article-side-content h4 {
  margin: 0;
  font-size: var(--fs-title);
  line-height: 1.14;
}

.article-side-content h4 a {
  color: #2b2f33;
  text-decoration: none;
}

.article-side-content h4 a:hover,
.article-side-content h4 a:focus-visible {
  text-decoration: underline;
}

.article-side-summary {
  margin: 0;
  color: #2b2f33;
  font-size: var(--fs-body);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  row-gap: 38px;
}

.resource-card {
  border-radius: 16px;
  padding: 28px 92px 24px 26px;
  border: 1px solid #c5ccd2;
  min-height: 272px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
  cursor: pointer;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(17, 23, 30, 0.08);
}

.resource-card-link {
  cursor: pointer;
}

.resource-card-link:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 4px;
}

.resource-card:focus-visible {
  outline: 2px solid #2a8a99;
  outline-offset: 3px;
}

.resource-tab {
  position: absolute;
  left: 16px;
  top: -12px;
  width: 110px;
  height: 12px;
  border-radius: 16px 16px 0 0;
  border: 1px solid transparent;
  border-bottom: 0;
  pointer-events: none;
}

.resource-card .tag {
  width: fit-content;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: var(--fs-meta);
  letter-spacing: 0.09em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 12px 0 14px;
  font-size: var(--fs-title);
  line-height: 1.32;
  max-width: 94%;
  text-wrap: balance;
}

.resource-card p {
  margin: 0;
}

.resource-card .summary {
  font-size: var(--fs-body);
  line-height: 1.56;
  max-width: 92%;
  color: inherit;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-card .cat {
  margin-top: 2px;
  text-transform: uppercase;
  font-size: var(--fs-meta);
  letter-spacing: 0.11em;
  font-weight: 700;
  opacity: 0.86;
}

.resource-card .meta {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-meta);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.75;
}

.resource-card .meta span {
  white-space: normal;
  overflow-wrap: anywhere;
}

.resource-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid currentcolor;
  color: inherit;
  background: transparent;
  font-family: inherit;
  display: grid;
  place-items: center;
  text-decoration: none;
  padding: 0;
  line-height: 1;
  opacity: 0.88;
}

.resource-arrow:hover {
  opacity: 1;
}

.resource-card.dark {
  background: linear-gradient(145deg, #081217 0%, #1c2a34 100%);
  color: #d8dee2;
  border-color: #2b3841;
}

.resource-card.dark .resource-tab {
  background: #0a151c;
  border-color: #2b3841;
}

.resource-card.dark .tag {
  background: #2a8a99;
  color: #0e2f39;
  font-weight: 700;
}

.resource-card.dark:not(.pinned),
.resource-card.green {
  background: var(--panel-aqua);
  color: #2b2f33;
  border-color: #afd4dc;
}

.resource-card.dark:not(.pinned) .resource-tab,
.resource-card.green .resource-tab {
  background: var(--panel-aqua);
  border-color: #afd4dc;
}

.resource-card.dark:not(.pinned) .tag,
.resource-card.green .tag {
  background: var(--panel-aqua);
  color: #2b2f33;
  font-weight: 700;
}

.resource-card.pale {
  background: var(--panel-aqua);
  color: #2b2f33;
  border-color: #afd4dc;
}

.resource-card.pale .resource-tab {
  background: var(--panel-aqua);
  border-color: #afd4dc;
}

.resource-card.pale .tag {
  background: var(--panel-aqua);
  color: #2b2f33;
  font-weight: 700;
}

.resource-card.pinned .resource-tab {
  width: 112px;
}

/* ── Resource card stack-reveal animation ─────────────────── */

.resource-grid.resources-stacked {
  isolation: isolate;
}

.resource-grid.resources-stacked .resource-card.pinned {
  position: relative;
  z-index: 4;
  box-shadow:
    4px 6px 0 1px rgba(17, 23, 30, 0.09),
    8px 12px 0 1px rgba(17, 23, 30, 0.05);
}

.resource-grid.resources-stacked .resource-card:hover {
  transform: none;
  box-shadow: none;
}

.resource-card.is-revealed {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease !important;
}

.scroll-indicator {
  margin: 22px auto 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ecf0f3;
  color: #2b2f33;
  border: 1px solid #d3d9df;
  display: grid;
  place-items: center;
  font-size: var(--fs-title);
  text-decoration: none;
}

html.cursor-enabled,
html.cursor-enabled *,
body.cursor-enabled,
body.cursor-enabled * {
  cursor: none !important;
}

/* ── Custom page scrollbar (replaces native) ───────────────────────────── */
#page-scrollbar {
  --page-scrollbar-thumb-top: 0px;
  --page-scrollbar-thumb-height: 64px;
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 12px;
  z-index: 9997;
  background: rgba(228, 234, 239, 0.98);
  border-left: 1px solid #c4ced7;
  box-shadow: -2px 0 8px rgba(25, 32, 40, 0.06);
  box-sizing: border-box;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

#page-scrollbar::after {
  content: "";
  position: absolute;
  top: var(--page-scrollbar-thumb-top);
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: var(--page-scrollbar-thumb-height);
  border-radius: 999px;
  background: #7f909e;
  box-shadow: 0 1px 2px rgba(25, 32, 40, 0.18);
  pointer-events: none;
  transition:
    height 80ms ease,
    top 80ms ease;
}

#page-scrollbar.is-dragging::after {
  transition: none;
}

#page-scrollbar.is-dragging {
  cursor: grabbing;
}

body.cursor-enabled #page-scrollbar,
body.cursor-enabled #page-scrollbar.is-dragging {
  cursor: none !important;
}

/* Hide on touch-only devices — they scroll natively */
@media (pointer: coarse) {
  #page-scrollbar {
    display: none;
  }
}

#tn-dot-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}

.cursor-fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #2a8a99;
  font-size: 0;
  font-weight: 600;
  font-family: "JetBrainsLocal", "JetBrains Mono", monospace;
  line-height: 1;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transform-origin: center;
  opacity: 0;
  z-index: 9999;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    color 160ms ease;
}

.cursor-fx span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.cursor-fx span::before,
.cursor-fx span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: currentcolor;
  border-radius: 2px;
}

.cursor-fx span::before {
  width: 16px;
  height: 1.6px;
}

.cursor-fx span::after {
  width: 1.6px;
  height: 16px;
}

.cursor-fx.is-visible {
  opacity: 1;
}

.cursor-fx.in-hero {
  color: #ffffff;
}

.cursor-fx.is-active {
  transform: translate3d(-50%, -50%, 0) scale(1.06);
  color: #2a8a99;
}

.cursor-fx.in-hero.is-active {
  color: #ffffff;
}

@media (pointer: coarse) {
  .cursor-fx {
    display: none;
  }
}

.footer {
  background: #eceff1 !important;
  color: #2b2f33;
  padding: 70px 56px 36px;
  margin-top: 0;
  border-top: 0;
  position: relative;
  z-index: 1;
}

.footer-shell {
  border: 1px solid rgba(42, 138, 153, 0.45);
  border-radius: 16px;
  background: #2b2f33;
  padding: clamp(26px, 4vw, 42px);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(24, 36, 46, 0.18);
}

.footer-shell::after {
  content: "+";
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  top: clamp(10px, 1.8vw, 18px);
  color: #2a8a99;
  font-size: var(--fs-title);
  line-height: 1;
  opacity: 0.7;
}

.footer-kicker {
  margin: 0;
  color: #2a8a99;
  letter-spacing: 0.14em;
  font-size: var(--fs-meta);
}

.footer h2 {
  margin: 0;
  padding-top: 8px;
  font-size: clamp(38px, 2.45vw, 56px);
  max-width: 760px;
  line-height: 1.12;
  color: #fafafa;
}

.footer-talk-line {
  display: block;
}

.footer-sub {
  margin: 14px 0 0;
  color: #d8dee2;
  font-size: clamp(18px, 1.18vw, 22px);
  max-width: 610px;
  line-height: 1.48;
}

.footer-contact-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-email {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2a8a99;
  border-radius: 999px;
  padding: 11px 17px;
  color: #fafafa;
  text-decoration: none;
  font-size: clamp(18px, 1.12vw, 22px);
  background: rgba(42, 138, 153, 0.28);
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    transform 140ms ease;
  max-width: 100%;
}

.footer-email:hover {
  border-color: #2a8a99;
  background: rgba(42, 138, 153, 0.36);
  transform: translateY(-1px);
}

.footer-socials {
  margin-top: 0;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-socials a {
  color: #fafafa;
  text-decoration: none;
  border: 1px solid rgba(198, 209, 217, 0.5);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: clamp(18px, 1.08vw, 21px);
  letter-spacing: 0.03em;
  transition:
    color 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease;
}

.footer-socials a:hover {
  color: #fafafa;
  border-color: #2a8a99;
  background: rgba(42, 138, 153, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .nav-link:hover,
  .btn:hover,
  .resource-card:hover,
  .footer-email:hover {
    transform: none;
  }

  .portfolio-card:hover .portfolio-card-inner,
  .portfolio-card:focus .portfolio-card-inner,
  .portfolio-card:focus-within .portfolio-card-inner {
    transform: none;
  }

  [data-reveal-card] {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-scrub-stage {
    --hero-scrub-distance: 0px;
    height: var(--hero-sticky-h);
    min-height: var(--hero-sticky-h);
  }

  .hero-scrub-sticky {
    position: relative;
    top: 0;
    height: 100%;
  }
}

.footer-bottom {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 0;
  padding-top: 8px;
  background: transparent !important;
  color: #0d495f;
  align-items: center;
  position: relative;
}

.footer-bottom::before {
  content: none;
}

.footer-bottom small {
  color: #5a6169;
  font-size: var(--fs-meta);
}

.footer-bottom p {
  margin: 0;
  font-size: var(--fs-body);
  color: #1f7d93;
}

@media (max-width: 1320px) {
  .app {
    grid-template-columns: 196px 1fr;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero p {
    font-size: var(--fs-title);
  }

  .section-head h2,
  .gp-copy h2,
  .thesis-title,
  .resources-head h2 {
    font-size: var(--fs-title);
  }

  .thesis .lead {
    font-size: var(--fs-lead);
  }

  .thesis .goals {
    font-size: var(--fs-lead);
  }

  .big-title {
    font-size: var(--fs-display);
  }

  .gp-photo {
    min-height: 340px;
  }

  .gp-copy {
    min-height: 340px;
  }

  .gp-name {
    font-size: var(--fs-display);
  }

  .gp-name span {
    font-size: var(--fs-lead);
  }
}

@media (max-width: 1100px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    height: auto;
    top: 0;
    z-index: 40;
    border-right: 0;
    border-bottom: 1px solid #2a8a99;
    padding: 10px 10px;
  }

  html {
    scroll-padding-top: 116px;
  }

  section[id],
  footer[id] {
    scroll-margin-top: 116px;
  }

  .sidebar .brand {
    margin: 6px 4px 12px;
    padding: 0;
  }

  .sidebar-top {
    display: grid;
    grid-template-columns: 56px auto;
    align-items: center;
    justify-content: space-between;
    column-gap: 16px;
    margin-bottom: 2px;
  }

  .sidebar-top .brand {
    margin: 0;
    width: 56px;
    min-width: 56px;
    overflow: hidden;
    padding: 0 2px 0 0;
  }

  .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar.mobile-collapsible nav,
  .sidebar.mobile-collapsible .side-ctas {
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition:
      max-height 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 220ms ease,
      transform 260ms ease,
      margin-top 260ms ease,
      padding-top 260ms ease;
    will-change: max-height, opacity, transform;
  }

  .sidebar.mobile-collapsible nav {
    max-height: 520px;
    margin-top: 10px;
  }

  .sidebar.mobile-collapsible .side-ctas {
    max-height: 180px;
  }

  .sidebar.mobile-collapsible:not(.menu-open) nav,
  .sidebar.mobile-collapsible:not(.menu-open) .side-ctas {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .sidebar.mobile-collapsible:not(.menu-open) nav {
    margin-top: 0;
  }

  .sidebar.mobile-collapsible:not(.menu-open) .side-ctas {
    margin-top: 0;
    padding-top: 0;
  }

  .brand-logo {
    width: auto;
    height: 16px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-link {
    padding: 8px 8px;
    font-size: var(--fs-meta);
  }

  .side-ctas {
    margin-top: 12px;
    border-top: 0;
    padding-top: 8px;
    grid-template-columns: repeat(2, 1fr);
  }

  .side-ctas .btn {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
  }

  .topbar {
    display: none;
  }

  .topbar-actions {
    display: none;
  }

  .section,
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    --hero-inset-left: 28px;
    --hero-inset-right: 28px;
    --hero-inset-top: 28px;
  }

  .thesis,
  .gp-card {
    grid-template-columns: 1fr;
  }

  .chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gp-card {
    gap: 22px;
  }

  .thesis {
    row-gap: 14px;
  }

  .thesis-title,
  .thesis-panel,
  .thesis .goals {
    grid-column: 1;
    max-width: 100%;
  }

  .gp-copy blockquote {
    font-size: var(--fs-title);
    line-height: 1.42;
    max-width: 100%;
    max-height: none;
    overflow: visible;
  }

  .gp-copy {
    min-height: auto;
  }

  .gp-photo {
    min-height: clamp(420px, 56vw, 520px);
  }

  .about {
    --scope-stack-gap: 24px;
    --scope-card-gap: 16px;
    --scope-box-padding-y: 24px;
    --scope-box-padding-x: 24px;
    --scope-carousel-gap: 10px;
    --scope-slide-width: clamp(136px, 14vw, 156px);
  }

  .gp-front {
    background-size: 84%;
    background-position: center 20%;
  }

  .kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-feature h3,
  .article-feature-summary {
    max-width: 100%;
  }

  .article-side-list {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 30px;
  }

  .resource-card {
    min-height: 232px;
    padding: 22px 78px 20px 20px;
  }

  .footer-shell {
    padding: 24px;
  }

  .footer-shell::after {
    font-size: var(--fs-title);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .sidebar-top {
    column-gap: 22px;
  }

  .gp-front {
    background-size: 84%;
    background-position: 54% 20%;
  }
}

@media (max-width: 760px) {
  :root {
    --fs-meta: 11px;
    --fs-body: 14px;
    --fs-lead: clamp(15px, 3.7vw, 18px);
    --fs-title: clamp(20px, 5.4vw, 28px);
    --fs-display: clamp(26px, 7vw, 34px);
  }

  .sidebar {
    padding: 8px 10px;
  }

  .sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .sidebar-top .brand {
    display: inline-flex;
    align-items: flex-end;
    width: auto;
    min-width: 0;
    overflow: visible;
    padding: 0;
    transform: translateY(-1px);
  }

  html {
    scroll-padding-top: 102px;
  }

  section[id],
  footer[id] {
    scroll-margin-top: 102px;
  }

  .brand-logo {
    width: auto;
    height: 15px;
  }

  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-link .arrow {
    display: none;
  }

  .nav-link:hover {
    transform: none;
  }

  .nav-main {
    gap: 7px;
  }

  .nav-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .nav-icon svg {
    width: 13px;
    height: 13px;
  }

  .side-ctas {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: none;
  }

  .hero {
    --hero-inset-left: 16px;
    --hero-inset-right: 16px;
    --hero-inset-top: 16px;
    --hero-inset-bottom: 88px;
    --hero-copy-bottom: calc(
      var(--hero-inset-bottom) + env(safe-area-inset-bottom, 0px) + 56px
    );
    padding: var(--hero-inset-top) var(--hero-inset-right)
      var(--hero-inset-bottom) var(--hero-inset-left);
  }

  .section,
  .footer {
    --section-inline-padding: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 60px;
  }

  .hero-content {
    right: var(--hero-inset-right);
    bottom: var(--hero-copy-bottom);
    max-width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-line-light {
    white-space: normal;
  }

  .hero-line-bold,
  .hero-line-light,
  .big-title {
    white-space: normal;
  }

  .hero p {
    font-size: clamp(22px, 6vw, 30px);
  }

  .btn {
    min-width: 0;
    height: 36px;
    padding: 0 14px;
  }

  .hero-actions {
    width: fit-content;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 168px;
  }

  .section-head h2,
  .gp-copy h2,
  .thesis-title,
  .resources-head h2 {
    font-size: var(--fs-title);
  }

  .thesis .lead {
    font-size: var(--fs-body);
    line-height: 1.5;
  }

  .thesis-panel {
    padding: 18px 16px 18px;
    border-radius: 16px;
  }

  .thesis .thesis-support {
    margin-top: 18px;
    font-size: var(--fs-body);
    line-height: 1.5;
  }

  .thesis .goals {
    font-size: var(--fs-body);
  }

  .big-title {
    font-size: var(--fs-display);
  }

  .about {
    --scope-stack-gap: 22px;
    --scope-card-gap: 14px;
    --scope-box-padding-y: 22px;
    --scope-box-padding-x: 20px;
    --scope-carousel-gap: 10px;
    --scope-slide-width: clamp(124px, 22vw, 148px);
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .invest-focus-card {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .big-title {
    text-align: center;
  }

  .scope-carousel-wrap {
    width: min(
      100%,
      calc((2 * var(--scope-slide-width)) + var(--scope-carousel-gap))
    );
  }

  .scope-carousel-wrap::before,
  .scope-carousel-wrap::after {
    width: clamp(20px, 6vw, 28px);
  }

  .scope-slide {
    min-width: calc(var(--scope-slide-width) + 10px);
    padding-inline: clamp(12px, 2.2vw, 18px);
  }

  .info-card h3 {
    font-size: var(--fs-display);
  }

  .scope-slide-label {
    font-size: var(--fs-display);
  }

  .articles-layout {
    margin-top: 12px;
    gap: 20px;
  }

  .article-feature-media {
    aspect-ratio: 16 / 10;
  }

  .article-feature-content {
    padding: 16px;
    gap: 16px;
  }

  .article-feature h3 {
    font-size: var(--fs-title);
  }

  .article-side-card {
    grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
  }

  .article-side-media {
    min-height: 118px;
  }

  .article-side-content h4 {
    font-size: var(--fs-title);
  }

  .article-side-summary {
    font-size: var(--fs-body);
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }

  .portfolio-card {
    border-radius: 0;
    aspect-ratio: 3375 / 4219;
  }

  .portfolio-face {
    border-radius: 0;
  }

  .portfolio-front {
    --portfolio-logo-left: 14px;
    --portfolio-logo-bottom: 12px;
    padding: 14px 14px 12px;
  }

  .portfolio-front-top .portfolio-learn {
    font-size: var(--fs-meta);
  }

  .portfolio-symbol {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .portfolio-front-logo {
    width: min(88%, 158px);
  }

  .portfolio-front-logo img {
    max-height: 36px;
  }

  .portfolio-back {
    --portfolio-logo-left: 14px;
    --portfolio-logo-bottom: 12px;
    padding: 14px 14px 78px;
  }

  .back-top-logo {
    width: min(88%, 158px);
  }

  .back-top-logo img {
    max-height: 38px;
  }

  .back-copy {
    margin-top: 34px;
    max-width: 96%;
    font-size: var(--fs-body);
    line-height: 1.06;
  }

  .kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .kpi {
    padding: 10px 10px 12px;
  }

  .kpi p {
    margin: 0 0 8px;
    font-size: var(--fs-meta);
  }

  .kpi h4 {
    font-size: var(--fs-display);
    line-height: 1.04;
  }

  .chart-block h4 {
    margin-bottom: 12px;
    font-size: var(--fs-body);
  }

  .donut {
    width: min(172px, 92%);
    margin: 0 auto;
  }

  .donut-center strong {
    font-size: var(--fs-body);
    line-height: 0.92;
  }

  .donut-center--tickets strong,
  .donut-center--comparison strong {
    font-size: var(--fs-body);
    line-height: 0.92;
  }

  .donut-center span {
    font-size: var(--fs-meta);
    line-height: 1.08;
    max-width: 66%;
    text-wrap: balance;
  }

  .donut-center-kicker {
    font-size: var(--fs-meta);
  }

  .legend li {
    font-size: var(--fs-meta);
  }

  .bar-card h4 {
    font-size: var(--fs-body);
    margin-bottom: 8px;
  }

  .bar-plot {
    padding-left: 16px;
    --gel-depth: 11px;
    --bar-label-space: 30px;
  }

  .bars {
    min-height: 176px;
    gap: 10px;
    padding-right: 2px;
  }

  .bars p {
    font-size: var(--fs-meta);
  }

  .bars-horizontal {
    min-height: 0;
    gap: 7px;
  }

  .bar-row {
    grid-template-columns: minmax(64px, 1fr) minmax(0, 2fr);
    gap: 8px;
  }

  .bar-row-label {
    font-size: var(--fs-meta);
  }

  .bar-row-track {
    height: 18px;
  }

  .bar-default-subtitle {
    font-size: var(--fs-body);
    margin-bottom: 8px;
  }

  .bars-default {
    min-height: 172px;
    --default-label-space: 30px;
    gap: 7px;
  }

  .bar-plot-default {
    --axis-bottom: 30px;
  }

  .bars-default .bar-fill {
    max-width: 34px;
  }

  .bar-col-label {
    font-size: var(--fs-meta);
  }

  .gp-photo {
    min-height: clamp(380px, 86vw, 480px);
  }

  .gp-front {
    background-size: 82%;
    background-position: center 22%;
  }

  .gp-card {
    gap: 16px;
  }

  .gp-copy {
    min-height: auto;
    align-items: flex-start;
  }

  .gp-name {
    font-size: var(--fs-display);
  }

  .gp-name span {
    font-size: var(--fs-lead);
  }

  .gp-photo-toggle {
    top: 10px;
    left: 10px;
    min-width: 62px;
    height: 30px;
    padding: 0 10px;
    font-size: var(--fs-meta);
  }

  .gp-quote-mark {
    font-size: var(--fs-display);
    top: 16px;
    right: 14px;
    letter-spacing: 0.06em;
  }

  .gp-plus {
    margin-top: 46px;
    margin-bottom: 12px;
    font-size: var(--fs-display);
  }

  .gp-bio {
    margin-top: 56px;
    font-size: var(--fs-body);
    line-height: 1.36;
    letter-spacing: 0;
    font-weight: 600;
  }

  .gp-copy h2 {
    font-size: var(--fs-title);
  }

  .gp-copy blockquote {
    width: min(100%, 34rem);
    padding: 20px 20px 22px;
    font-size: var(--fs-body);
    line-height: 1.34;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(21, 33, 45, 0.07);
  }

  .resources-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .resource-card {
    min-height: 216px;
    padding: 22px 72px 20px 20px;
  }

  .resource-card h3 {
    font-size: var(--fs-title);
  }

  .resource-card .summary {
    font-size: var(--fs-body);
    max-width: 100%;
  }

  .resource-card .meta {
    gap: 12px;
    padding-top: 14px;
  }

  .resource-arrow {
    right: 14px;
    bottom: 12px;
    width: 28px;
    height: 28px;
  }

  .footer h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .footer-sub {
    font-size: clamp(16px, 4.6vw, 20px);
  }

  .footer-email {
    font-size: clamp(16px, 4.4vw, 20px);
  }

  .footer-contact-row,
  .footer-socials {
    flex-wrap: wrap;
  }

  .footer-socials a {
    font-size: clamp(16px, 4.2vw, 19px);
  }

  .footer-bottom p {
    font-size: var(--fs-body);
  }
}

@media (max-width: 540px) {
  :root {
    --fs-meta: 10px;
    --fs-body: 13px;
    --fs-lead: clamp(14px, 3.9vw, 18px);
    --fs-title: clamp(18px, 5.5vw, 24px);
    --fs-display: 26px;
  }

  .big-title {
    font-size: var(--fs-display);
  }

  .about {
    --scope-stack-gap: 20px;
    --scope-card-gap: 12px;
    --scope-box-padding-y: 18px;
    --scope-box-padding-x: 16px;
    --scope-carousel-gap: 8px;
    --scope-slide-width: clamp(116px, 30vw, 136px);
  }

  .kpi h4 {
    font-size: var(--fs-title);
  }

  .scope-slide-label {
    font-size: var(--fs-display);
  }

  .gp-photo {
    min-height: clamp(320px, 88vw, 370px);
  }

  .gp-back {
    padding: 16px 14px 14px;
  }

  .gp-photo-toggle {
    top: 8px;
    left: 8px;
    min-width: 56px;
    height: 28px;
    padding: 0 9px;
    font-size: var(--fs-meta);
  }

  .gp-quote-mark {
    top: 12px;
    right: 12px;
    font-size: var(--fs-display);
  }

  .gp-bio {
    margin-top: 46px;
    font-size: var(--fs-body);
    line-height: 1.34;
  }

  .gp-copy blockquote {
    width: 100%;
    padding: 16px 16px 18px;
    font-size: var(--fs-body);
    line-height: 1.3;
    border-radius: 16px;
  }

  .nav-link {
    font-size: var(--fs-meta);
  }

  .section-head h2,
  .gp-copy h2,
  .thesis-title,
  .resources-head h2 {
    font-size: var(--fs-title);
  }

  .bar-grid {
    gap: 8px;
  }

  .bar-card {
    padding: 10px 10px 8px;
  }

  .bar-card h4 {
    font-size: var(--fs-body);
    margin-bottom: 7px;
  }

  .bar-plot {
    padding-left: 14px;
    --bar-label-space: 26px;
  }

  .y-axis {
    width: 14px;
    font-size: var(--fs-meta);
  }

  .bars {
    min-height: 154px;
    gap: 8px;
  }

  .bars-default {
    min-height: 154px;
    --default-label-space: 26px;
    gap: 6px;
  }

  .bar-plot-default {
    --axis-bottom: 26px;
  }

  .bars-default .bar-fill {
    max-width: 26px;
  }

  .bar-col-label {
    font-size: var(--fs-meta);
  }

  .bars-horizontal {
    gap: 6px;
  }

  .bar-row {
    grid-template-columns: minmax(52px, 1fr) minmax(0, 1.7fr);
    gap: 6px;
  }

  .bar-row-label {
    font-size: var(--fs-meta);
  }

  .bar-row-track {
    height: 14px;
  }

  .donut {
    width: min(156px, 92%);
  }

  .donut-center strong {
    font-size: var(--fs-body);
  }

  .donut-center--tickets strong,
  .donut-center--comparison strong {
    font-size: var(--fs-meta);
    line-height: 0.9;
  }

  .donut-center span {
    font-size: var(--fs-meta);
    max-width: 64%;
  }

  .donut-center-kicker {
    font-size: var(--fs-meta);
  }

  .legend {
    width: min(250px, 100%);
    gap: 6px;
  }

  .legend li {
    font-size: var(--fs-meta);
  }

  .resource-card {
    padding-right: 66px;
  }

  .resource-card .meta {
    gap: 10px;
    font-size: var(--fs-meta);
  }

  .scroll-indicator {
    width: 34px;
    height: 34px;
    font-size: var(--fs-title);
  }
}

@media (min-width: 1101px) {
  .app {
    --layout-sidebar-w: 196px;
    --layout-topbar-h: 0px;
    --hero-sticky-top: var(--layout-topbar-h);
    --hero-sticky-h: calc(100vh - var(--layout-topbar-h));
    grid-template-columns: 196px 1fr;
  }

  html {
    scroll-padding-top: calc(var(--layout-topbar-h) + 18px);
  }

  section[id],
  footer[id] {
    scroll-margin-top: calc(var(--layout-topbar-h) + 18px);
  }

  .main {
    padding-top: var(--layout-topbar-h);
  }

  .brand-logo {
    width: auto;
    height: 25.5px;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    min-height: 68px;
    height: var(--layout-topbar-h);
    padding: 12px 22px;
  }

  .topbar-left {
    position: relative;
    gap: 0;
  }

  .topbar-brand {
    position: absolute;
    top: 50%;
    left: var(--topbar-logo-left, 64px);
    transform: translate(-50%, -50%);
    width: auto;
    min-width: 0;
    justify-content: center;
  }

  .topbar p {
    margin: 0 0 0 auto;
    text-align: right;
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 18px;
    margin-top: calc(100vh + var(--hero-scrub-distance));
    top: var(--layout-topbar-h);
    height: calc(100vh - var(--layout-topbar-h));
  }

  .side-ctas {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .sidebar-top {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-bottom: 10px;
  }

  .sidebar .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0;
  }

  .btn {
    height: 31px;
    min-width: 132px;
    padding: 0 14px;
    font-size: var(--fs-meta);
  }

  .hero-scrub-stage {
    margin-left: calc(-1 * var(--layout-sidebar-w));
    width: calc(100% + var(--layout-sidebar-w));
  }

  .hero {
    --hero-inset-left: 44px;
    --hero-inset-right: 28px;
    --hero-inset-top: 44px;
    --hero-inset-bottom: 92px;
    --hero-copy-right: 44px;
    --hero-copy-bottom: 44px;
    padding: var(--hero-inset-top) var(--hero-inset-right)
      var(--hero-inset-bottom) var(--hero-inset-left);
  }

  .hero-content {
    left: calc(var(--layout-sidebar-w) + 44px + 232px + 24px);
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(48px, 4vw, 72px);
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }

  .hero p {
    font-size: var(--fs-lead);
  }

  .hero-actions {
    margin-top: 22px;
  }

  .section {
    --section-inline-padding: 44px;
    padding: 52px 44px 62px;
  }

  .section-head h2,
  .gp-copy h2,
  .thesis-title,
  .resources-head h2 {
    font-size: var(--fs-title);
  }

  .thesis .lead {
    font-size: var(--fs-lead);
  }

  .thesis .thesis-support {
    font-size: var(--fs-lead);
  }

  .thesis .goals {
    font-size: var(--fs-lead);
  }

  .big-title {
    font-size: var(--fs-display);
  }

  .invest-focus-card {
    padding-bottom: var(--scope-box-padding-y);
  }

  .about-stats {
    padding-top: 56px;
  }

  .team {
    padding-top: 52px;
  }

  .info-card h3 {
    font-size: var(--fs-display);
  }

  .chart-block h4 {
    font-size: var(--fs-body);
  }

  .donut {
    width: min(252px, 80%);
  }

  .donut-center strong {
    font-size: var(--fs-display);
  }

  .donut-center span {
    font-size: var(--fs-meta);
    max-width: 82%;
  }

  .legend li {
    font-size: var(--fs-lead);
  }

  .bar-card h4 {
    font-size: var(--fs-body);
  }

  .portfolio-grid {
    margin-top: 16px;
    gap: 18px;
    padding: 0;
  }

  .portfolio-card {
    min-height: 0;
    height: auto;
    aspect-ratio: 3375 / 4219;
    border-radius: 0;
  }

  .portfolio-face {
    border-radius: 0;
  }

  .portfolio-front {
    padding: 20px 20px 18px;
  }

  .portfolio-front-top .portfolio-learn {
    font-size: var(--fs-body);
  }

  .portfolio-symbol {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .portfolio-front-logo {
    width: min(84%, 236px);
  }

  .portfolio-front-logo img {
    max-height: 60px;
  }

  .portfolio-back {
    --portfolio-logo-left: 20px;
    --portfolio-logo-bottom: 18px;
    padding: 20px 20px 102px;
  }

  .back-top-logo {
    width: min(88%, 236px);
  }

  .back-top-logo img {
    max-height: 58px;
  }

  .back-copy {
    margin-top: 52px;
    max-width: 92%;
    font-size: var(--fs-body);
    line-height: 1.04;
  }

  .gp-card {
    gap: 28px;
  }

  .gp-photo {
    min-height: 380px;
  }

  .gp-copy {
    min-height: 380px;
  }

  .gp-copy h2 {
    margin-bottom: 22px;
    line-height: 1.12;
  }

  .gp-copy blockquote {
    width: 100%;
    font-size: var(--fs-lead);
    line-height: 1.5;
    max-width: none;
    max-height: none;
    overflow: visible;
  }

  .resource-grid {
    column-gap: 24px;
    row-gap: 32px;
  }

  .resource-card {
    min-height: 252px;
    padding: 24px 84px 22px 24px;
  }

  .resource-card h3 {
    font-size: var(--fs-title);
  }

  .footer {
    padding: 56px 44px 30px;
  }
}

.donut-center {
  gap: 3px;
}

.donut-center::before {
  width: 56%;
}

.donut-center strong,
.donut-center span {
  max-width: 74%;
  text-wrap: balance;
}

.donut-center-kicker {
  font-size: var(--fs-meta);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a9096;
}

.donut-center-label {
  font-size: var(--fs-meta);
  line-height: 1.02;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d6770;
}

.donut-center-meta {
  font-size: var(--fs-meta);
  line-height: 1.04;
  letter-spacing: 0.04em;
  color: #8a9096;
}

.donut-center--tickets strong {
  font-size: var(--fs-display);
  line-height: 0.84;
}

.donut-center--comparison strong {
  font-size: var(--fs-display);
  line-height: 0.84;
}

@media (max-width: 760px) {
  .donut-center--tickets strong,
  .donut-center--comparison strong {
    font-size: var(--fs-body);
    line-height: 0.92;
  }
}

@media (max-width: 540px) {
  .donut-center--tickets strong,
  .donut-center--comparison strong {
    font-size: var(--fs-body);
    line-height: 0.92;
  }
}
