:root {
  --t3-navy: #0c1f3d;
  --t3-navy-900: #06111f;
  --t3-navy-800: #10284d;
  --t3-blue: #1e4fa3;
  --t3-blue-400: #3d7adf;
  --t3-red: #c8102e;
  --t3-red-600: #a40d25;
  --t3-white: #ffffff;
  --t3-bg: #f3f5f9;
  --t3-line: rgba(12, 31, 61, .10);
  --t3-muted: #5d6d86;
  --t3-ink: #0e1726;
  --header-h: 76px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", sans-serif;
  --shadow: 0 24px 60px rgba(6, 17, 31, .14);
  --radius: 20px;
}
[data-bs-theme="dark"] {
  --t3-bg: #06111f;
  --t3-white: #10284d;
  --t3-ink: #f4f6fb;
  --t3-muted: #9aa8c0;
  --t3-line: rgba(255,255,255,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--t3-bg); color: var(--t3-ink); font-family: var(--font); font-size: 16px; line-height: 1.55; }
h1, h2, h3, h4, .brand-word { font-family: var(--display); letter-spacing: -.03em; }
a { color: var(--t3-blue); text-decoration: none; }
[data-bs-theme="dark"] a { color: var(--t3-blue-400); }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 80; background: var(--t3-red); color: #fff; padding: 8px 12px; }

/* Language flags */
.lang-flags { display: inline-flex; gap: 6px; padding: 3px; background: #f3f6fb; border: 1px solid var(--t3-line); border-radius: 999px; }
.lang-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; color: var(--t3-navy) !important; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.lang-flag .flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); display: block; }
.lang-flag.is-active { background: #fff; color: var(--t3-blue) !important; box-shadow: 0 4px 12px rgba(12,31,61,.08); }
.topbar .lang-flags, .gate-top .lang-flags { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.topbar .lang-flag, .gate-top .lang-flag { color: rgba(255,255,255,.7) !important; }
.topbar .lang-flag.is-active, .gate-top .lang-flag.is-active { background: #fff; color: var(--t3-navy) !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  height: auto;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--t3-line);
  box-shadow: 0 10px 28px rgba(12,31,61,.05);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--t3-red), var(--t3-blue));
}
.site-header .navbar { min-height: var(--header-h); height: auto; padding: 8px 0; }
.site-header .container { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.navbar-brand { display: flex; align-items: center; gap: 12px; color: var(--t3-navy) !important; }
.t3-mark, img.t3-mark { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; display: block; box-shadow: 0 8px 20px rgba(12,31,61,.12); }
.brand-word { font-weight: 700; font-size: 15px; color: var(--t3-navy); line-height: 1.15; }
.brand-word small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--t3-muted); opacity: 1; font-weight: 600; }
.site-header .nav-link { color: var(--t3-navy) !important; font-weight: 600; font-size: 14px; padding: 8px 12px !important; border-radius: 999px; white-space: nowrap; }
.site-header .nav-link:hover { color: var(--t3-blue) !important; background: #fff; box-shadow: 0 6px 16px rgba(12,31,61,.08); }
.btn-accent { background: var(--t3-red); border: 0; color: #fff; font-weight: 700; border-radius: 12px; padding: 10px 18px; }
.btn-accent:hover { background: var(--t3-red-600); color: #fff; }
.btn-navy { background: var(--t3-navy); border: 0; color: #fff; font-weight: 650; border-radius: 12px; padding: 10px 18px; }
.btn-ghost { background: transparent; border: 1px solid var(--t3-line); color: var(--t3-navy); border-radius: 12px; }
.btn-ghost:hover { background: #f3f6fb; color: var(--t3-navy); }
main .btn-ghost { border-color: var(--t3-line); color: var(--t3-ink); }
.global-search { position: relative; min-width: 240px; }
.global-search input { background: #f3f6fb; border: 1px solid var(--t3-line); color: var(--t3-ink); border-radius: 999px; height: 42px; padding: 0 16px; font-size: 13px; }
.global-search input::placeholder { color: var(--t3-muted); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--t3-ink); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; z-index: 60; }
.search-results a { display: block; padding: 10px 14px; border-bottom: 1px solid var(--t3-line); color: inherit; }
.search-results .hit-type { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3-muted); }
.navbar-toggler-icon { filter: none; }
.navbar-toggler {
  border: 1px solid var(--t3-line);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(30,79,163,.16); }
.site-nav-bar { display: flex; align-items: center; gap: 16px 20px; width: 100%; }
.site-nav-desktop { align-items: center; gap: 12px; flex: 1 1 auto; justify-content: space-between; min-width: 0; flex-wrap: wrap; }
.site-nav-links { min-width: 0; max-width: 100%; }
.site-nav-links .navbar-nav {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #f3f6fb;
  border-radius: 18px;
}
.site-nav-desktop .navbar-nav { flex-direction: row; align-items: center; gap: 2px; }
.site-nav-desktop .nav-link { color: var(--t3-navy) !important; font-weight: 600; font-size: 14px; padding: 8px 12px !important; }
.site-nav-desktop .nav-link:hover { color: var(--t3-blue) !important; }
.site-nav-desktop .nav-tools { margin-left: auto; }
body.is-auth .site-header .nav-link { padding: 6px 10px !important; font-size: 13px; }
body.is-auth .global-search { min-width: 148px; max-width: 200px; flex: 0 1 200px; }
body.is-auth .global-search input { height: 38px; }
body.is-auth .page-head { padding-top: 28px; }

/* Homepage: only the hero is dark; the rest of the page stays light */
.page-cinematic { background: #f3f5f9; }
.page-cinematic .section { background: #f3f5f9; color: #0e1726; }
.page-cinematic .section-alt { background: #fff; }
.page-cinematic .site-header.is-over-hero {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42), transparent);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.page-cinematic .site-header.is-over-hero::after { display: none; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .navbar-brand { color: #fff !important; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .brand-word { color: #fff; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .brand-word small { color: rgba(255,255,255,.72); }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .t3-mark { box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .nav-link { color: rgba(255,255,255,.88) !important; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .nav-link:hover { color: #fff !important; background: rgba(255,255,255,.1); box-shadow: none; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .site-nav-links .navbar-nav {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}
.page-cinematic .site-header .global-search { display: none; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .lang-flags { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .lang-flag { color: rgba(255,255,255,.8) !important; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .lang-flag.is-active { background: #fff; color: var(--t3-navy) !important; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .navbar-toggler { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.page-cinematic .site-header.is-over-hero:not(.is-solid) .navbar-toggler-icon { filter: invert(1); }
.page-cinematic .site-header.is-over-hero.is-solid {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--t3-line);
  box-shadow: 0 10px 28px rgba(12,31,61,.05);
}
.page-cinematic .site-header.is-over-hero.is-solid::after { display: block; }

/* Mobile drawer — must live outside .site-header (backdrop-filter traps fixed/offcanvas) */
.nav-drawer {
  --bs-offcanvas-width: 100vw;
  --bs-offcanvas-height: 100dvh;
  --bs-offcanvas-bg: #fff;
  --bs-offcanvas-color: var(--t3-ink);
  --bs-offcanvas-border-width: 0;
  --bs-offcanvas-zindex: 1080;
  background:
    radial-gradient(720px 420px at 12% 0%, rgba(30,79,163,.08), transparent 58%),
    #fff;
  color: var(--t3-ink);
}
.nav-drawer .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--t3-line);
}
.nav-drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-drawer-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.02em;
  color: var(--t3-navy);
}
.nav-drawer .offcanvas-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px 20px 32px;
  overflow-y: auto;
}
.nav-drawer .navbar-nav { margin: 0; width: 100%; gap: 0; }
.nav-drawer .nav-item { width: 100%; }
.nav-drawer .nav-link {
  color: var(--t3-navy) !important;
  font-size: 1.15rem;
  font-weight: 650;
  padding: 14px 2px !important;
  border-bottom: 1px solid var(--t3-line);
}
.nav-drawer .nav-link:hover { color: var(--t3-blue) !important; }
.nav-drawer .nav-tools { margin-top: 20px; width: 100%; gap: 14px !important; }
.nav-drawer .global-search { min-width: 0; width: 100%; }
.nav-drawer .global-search input { height: 46px; width: 100%; }
.nav-drawer .lang-flags { align-self: flex-start; }
.nav-drawer .btn-accent,
.nav-drawer .btn-ghost { width: 100%; justify-content: center; text-align: center; padding: 12px 18px; }
body:has(#mobileNav.show) .navbar-toggler { visibility: hidden; pointer-events: none; }
.modal-backdrop,
.offcanvas-backdrop { --bs-backdrop-zindex: 1070; }

/* Hero ecosystem — layers on the navy field, no rectangular plate */
.t3-orbit { position: relative; width: min(680px, 130%); aspect-ratio: 1.05; margin-right: -10%; overflow: visible; }
.orbit-canvas, .hero-glow {
  position: absolute;
  inset: -18% -22% -12% -16%;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
.orbit-canvas {
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 64% at 52% 48%, #000 36%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 64% at 52% 48%, #000 36%, transparent 78%);
}
.hero-glow {
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: .92;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 28%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 28%, transparent 72%);
}
.orbit-core { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.orbit-core::before { content: ""; position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(61,139,255,.38), rgba(246,166,35,.14) 44%, transparent 72%); filter: blur(22px); animation: orbBreathe 5s ease-in-out infinite; }
.orbit-core img { position: relative; width: 36%; aspect-ratio: 1; height: auto; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 16px 32px rgba(0,0,0,.45)); animation: orbitFloat 7s ease-in-out infinite; }
@keyframes orbitFloat { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@keyframes orbBreathe { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.08); } }
.orbit-chip {
  position: absolute;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #e8eef8;
  background: rgba(8,16,32,.72);
  border: 1px solid rgba(90,160,255,.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
}
.chip-idea { top: 18%; left: 4%; }
.chip-market { top: 10%; right: 16%; }
.chip-proto { bottom: 30%; left: 6%; }
.orbit-card {
  position: absolute;
  z-index: 3;
  width: 168px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12,22,44,.88), rgba(8,14,28,.78));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  color: #fff;
}
.orbit-card header { font-size: 11px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; color: rgba(255,255,255,.82); }
.orbit-card svg { display: block; width: 100%; height: 36px; }
.card-trend { right: -2%; bottom: 16%; transform: rotate(7deg); }
.card-path { right: 10%; bottom: 0; transform: rotate(-6deg); width: 150px; }
.orbit-rings { display: grid; place-items: center; height: 54px; position: relative; }
.orbit-rings span { position: absolute; border: 2px solid rgba(61,139,255,.45); border-radius: 50%; aspect-ratio: 1; }
.orbit-rings span:nth-child(1) { width: 18px; border-color: #c8102e; }
.orbit-rings span:nth-child(2) { width: 34px; border-color: #3d8bff; }
.orbit-rings span:nth-child(3) { width: 50px; border-color: #f6a623; }

/* Route transition loader */
.route-loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; background:
  radial-gradient(680px 420px at 50% 26%, rgba(30,79,163,.42), transparent 62%),
  radial-gradient(620px 420px at 50% 104%, rgba(200,16,46,.32), transparent 62%),
  linear-gradient(180deg, rgba(4,11,22,.95), rgba(6,17,31,.97)); backdrop-filter: blur(12px) saturate(120%); }
.route-loader.is-active { opacity: 1; visibility: visible; }
.route-loader::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse at 50% 50%, #000 12%, transparent 68%); }
.route-loader-inner { position: relative; display: grid; justify-items: center; gap: 16px; text-align: center; padding: 24px; }
.loader-orb { position: relative; width: 196px; height: 196px; display: grid; place-items: center; }
.orb-halo { position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle, rgba(30,79,163,.6), rgba(200,16,46,.2) 52%, transparent 72%); filter: blur(16px); animation: orbBreathe 2.6s ease-in-out infinite; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); border-top-color: var(--t3-red); animation: orbSpin 1.7s linear infinite; }
.orb-ring.is-alt { inset: 24px; border-top-color: transparent; border-bottom-color: var(--t3-blue-400); animation-duration: 2.6s; animation-direction: reverse; }
.orb-logo { position: relative; width: 118px; height: 118px; object-fit: contain; animation: orbSpin 1.9s linear infinite; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
.loader-title { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: 16px; color: #fff; }
.loader-text { margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.loader-bar { width: 196px; height: 3px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.12); }
.loader-bar span { display: block; height: 100%; width: 38%; border-radius: 999px; background: linear-gradient(90deg, var(--t3-red), var(--t3-blue-400)); animation: loaderSlide 1.25s ease-in-out infinite; }
@keyframes loaderSlide { from { transform: translateX(-110%); } to { transform: translateX(275%); } }
html.is-navigating { cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  .orb-halo, .orb-ring, .orbit-core img, .orbit-core::before { animation: none; }
  /* Geçiş ekranı tek geri bildirim kaynağı olduğu için tamamen durmaz, yalnızca yavaşlar. */
  .route-loader .orb-logo { animation-duration: 5s; }
  .route-loader .loader-bar span { animation-duration: 2.8s; }
  .gate-glow { animation: none; }
  .gate-orbit.o1 { animation-duration: 48s; }
  .gate-orbit.o2 { animation-duration: 36s; }
  .gate-orbit.o3 { animation-duration: 64s; }
}

/* Hero — full viewport video, navbar overlays it */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000 url("/img/hero-uav.jpg") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.2) 100%);
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8rem;
  z-index: 2;
  background: linear-gradient(to top, var(--t3-bg), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(560px, calc(100% - 32px));
  padding: 0 0 56px;
}
.liquid-glass {
  background: rgba(255,255,255,.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(560px, 100%);
  margin: 0;
  padding: 6px 6px 6px 18px !important;
  border: 0 !important;
  border-radius: 999px;
  color-scheme: dark;
}
.hero-search-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.7);
}
.hero-search-field svg { flex: none; }
.hero-search-field input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  outline: 0;
  font-size: 15px;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}
.hero-search-field input::placeholder { color: rgba(255,255,255,.55); }
.hero-search-field input:focus {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}
[data-bs-theme="dark"] .hero-search-field,
[data-bs-theme="dark"] .hero-search-field input,
[data-bs-theme="dark"] .hero-search-field input:focus {
  background: transparent !important;
  color: #fff !important;
}
.btn-hero-go {
  flex: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.btn-hero-go:hover { color: #111; filter: brightness(.94); }
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 24px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
}
.hero-cta:hover { color: #fff !important; }

.section { padding: 80px 0; background: var(--t3-bg); color: var(--t3-ink); }
.section-alt { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; padding-bottom: 20px; gap: 16px; border-bottom: 1px solid var(--t3-line); }
.section-head h2 { margin: 0; font-size: 32px; }
.section-head p { margin: 6px 0 0; color: var(--t3-muted); }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--t3-red); margin-bottom: 10px; }
.section-kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--t3-red), var(--t3-blue)); }

/* Showcase grid + cards */
.startup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; align-items: stretch; }
.content-card, .person-card, .kpi, .chart-card, .program-card { background: var(--t3-white); border: 1px solid var(--t3-line); border-radius: var(--radius); padding: 22px; color: inherit; display: block; box-shadow: 0 10px 30px rgba(6,17,31,.04); position: relative; overflow: hidden; }
.startup-card { height: 100%; display: flex; flex-direction: column; background: var(--t3-white); border: 1px solid var(--t3-line); border-radius: var(--radius); color: inherit; box-shadow: 0 10px 30px rgba(6,17,31,.05); position: relative; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.startup-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(30,79,163,.28); }
.scard-cover { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--t3-navy-900); }
.scard-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.startup-card:hover .scard-cover img { transform: scale(1.06); }
.scard-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,17,31,.15) 0%, rgba(6,17,31,.05) 45%, rgba(6,17,31,.55) 100%); }
.scard-cover::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--t3-red), var(--t3-blue)); }
.scard-chip { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(6,17,31,.55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.scard-cover .score-ring { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border-width: 3px; box-shadow: 0 6px 18px rgba(6,17,31,.35); }
.scard-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; position: relative; }
.scard-body .logo-fallback { position: absolute; top: -32px; left: 22px; box-shadow: 0 10px 24px rgba(6,17,31,.35); border: 3px solid var(--t3-white); }
.startup-card h3 { font-size: 20px; margin: 22px 0 4px; line-height: 1.2; }
.startup-card .meta { margin: 0; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.logo-fallback { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, var(--t3-navy), var(--t3-blue)); color: #fff; font-weight: 700; letter-spacing: .04em; flex: none; }
.logo-fallback.lg { width: 84px; height: 84px; font-size: 24px; border-radius: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span, .pill { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(30,79,163,.1); color: var(--t3-navy); }
.meta { color: var(--t3-muted); font-size: 13px; }
.score-ring { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--t3-red); font-weight: 800; font-size: 13px; color: var(--t3-navy); background: #fff; flex: none; }
.score-ring.xl { width: 96px; height: 96px; font-size: 24px; border-width: 7px; }
.scard-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 700; color: var(--t3-red); letter-spacing: .02em; }
.startup-card:hover .scard-cta { gap: 10px; }

/* Lazy loading */
.startup-card { animation: cardIn .4s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.infinite-foot { display: grid; place-items: center; gap: 8px; min-height: 64px; margin-top: 28px; }
.infinite-spinner { display: block; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--t3-line); border-top-color: var(--t3-red); opacity: 0; transition: opacity .2s ease; }
[data-infinite].is-loading .infinite-spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.infinite-end { color: var(--t3-muted); font-size: 13px; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .startup-card { animation: none; }
}

.program-card { border-left: 4px solid var(--t3-red); min-height: 180px; color: inherit; }
.program-card:hover { color: inherit; border-color: var(--t3-navy); }
.row > [class*="col"]:nth-child(even) .program-card { border-left-color: var(--t3-blue); }
.program-card h3 { font-size: 18px; }
.program-card strong { color: var(--t3-navy); font-size: 22px; font-family: var(--display); }

.page-head { padding: 22px 0 4px; }
.filter-bar { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; margin-top: 18px; }
.form-control, .form-select { border-radius: 12px; border-color: var(--t3-line); min-height: 46px; }

.startup-hero {
  background: var(--t3-navy-900);
  color: #fff;
  min-height: 50vh;
  padding: 36px 0 32px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.startup-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.startup-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(6,17,31,.94) 0%, rgba(6,17,31,.78) 42%, rgba(12,31,61,.42) 100%),
  linear-gradient(180deg, rgba(6,17,31,.55), rgba(6,17,31,.25) 40%, rgba(6,17,31,.8)); }
.startup-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--t3-red), var(--t3-blue)); }
.startup-hero .container { position: relative; width: 100%; }
.startup-hero h1 { font-size: clamp(28px, 3.2vw, 40px); margin: 4px 0 10px; line-height: 1.12; }
.startup-hero .lead {
  color: rgba(255,255,255,.78);
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.startup-hero .tags { margin-top: 10px; }
.startup-hero .logo-fallback { border: 3px solid rgba(255,255,255,.22); box-shadow: 0 14px 32px rgba(0,0,0,.42); }
.startup-hero .logo-fallback.lg { width: 64px; height: 64px; font-size: 20px; border-radius: 18px; }
.startup-hero .score-ring.xl { width: 68px; height: 68px; font-size: 20px; border-width: 5px; }
.startup-hero .score-breakdown-head { gap: 10px; }
.startup-hero .tags span { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.startup-hero a { color: #ff8a9a; }
.startup-hero .eyebrow { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,.62); margin-bottom: 4px; }
.startup-hero .trust-strip { margin-bottom: 14px !important; }
.startup-hero + .section,
.ws-head + .section { padding-top: 36px; }
.score-panel { text-align: center; min-width: 200px; }
.score-panel small { display: block; margin-top: 6px; color: rgba(255,255,255,.6); }
.hero-row { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.hero-row > .flex-grow-1 { min-width: 0; }
.hero-row > .score-panel { flex: none; width: 280px; min-width: 0; }
.hero-row .score-breakdown { gap: 8px; min-width: 0; }
.startup-hero .score-split,
.startup-hero .score-evidence,
.ws-head .score-split,
.ws-head .score-evidence { display: none; }
.score-breakdown { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: left; min-width: 220px; }
.score-breakdown-head { display: flex; align-items: center; gap: 14px; }
.score-breakdown-head small { margin: 0 0 6px; }
.score-cell { min-width: 128px; }
.score-cell-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.score-bar {
  display: flex;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(12,31,61,.08);
  width: 120px;
}
.score-bar.lg { height: 10px; width: 100%; }
.score-bar > span { display: block; height: 100%; flex: none; }
.seg-completeness { background: #1e4fa3; }
.seg-freshness { background: #167846; }
.seg-financial { background: #c8102e; }
.seg-activity { background: #6d4db3; }
.seg-dynamism { background: #d98a00; }
.score-split { margin-top: 2px; font-size: 12px; color: var(--t3-muted); }
.score-evidence { font-size: 12px; color: var(--t3-muted); }
.dyn-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(217,138,0,.14);
  color: #8a5800;
  font-size: 11px;
  font-weight: 700;
}
.conf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.conf-badge.lg { height: auto; min-height: 24px; padding: 4px 8px; font-size: 12px; }
.conf-a { background: rgba(22,120,70,.14); color: #167846; }
.conf-b { background: rgba(180,120,20,.16); color: #9a6b10; }
.conf-c { background: rgba(200,16,46,.12); color: var(--t3-red); }
.score-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--t3-muted);
}
.score-legend li { display: inline-flex; align-items: center; gap: 6px; }
.score-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}
.score-legend b { color: var(--t3-navy); font-weight: 700; }
.startup-hero .score-bar,
.ws-head .score-bar { background: rgba(255,255,255,.16); }
.startup-hero .score-legend,
.ws-head .score-legend { color: rgba(255,255,255,.72); }
.startup-hero .score-legend b,
.ws-head .score-legend b { color: #fff; }
.startup-hero .score-split,
.startup-hero .score-evidence,
.ws-head .score-split,
.ws-head .score-evidence { color: rgba(255,255,255,.66); }
.startup-hero .score-split b,
.ws-head .score-split b { color: #fff; }
.startup-hero .dyn-chip,
.ws-head .dyn-chip { background: rgba(255,196,90,.22); color: #ffd89b; }
.startup-hero .conf-a,
.ws-head .conf-a { background: rgba(90,200,130,.22); color: #b8f0cc; }
.startup-hero .conf-b,
.ws-head .conf-b { background: rgba(240,190,90,.22); color: #ffe3a3; }
.startup-hero .conf-c,
.ws-head .conf-c { background: rgba(255,120,140,.2); color: #ffc1c8; }
.card-tabs { gap: 8px; }
.card-tabs .nav-link { border-radius: 999px; color: var(--t3-ink); background: #fff; border: 1px solid var(--t3-line); }
.card-tabs .nav-link.active { background: var(--t3-navy); color: #fff; border-color: var(--t3-navy); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.info-grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--t3-muted); }
.info-grid dd { margin: 4px 0 0; font-weight: 650; }
.story-board, .story-board { display: grid; gap: 14px; margin-bottom: 18px; }
.story-card h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3-red); margin: 0 0 8px; }
.story-text { margin: 0; white-space: pre-wrap; line-height: 1.65; color: var(--t3-ink); }
.scard-lead { margin: 8px 0 0; color: var(--t3-muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.timeline { list-style: none; padding: 0; border-left: 2px solid var(--t3-red); margin: 0 0 0 8px; }
.timeline li { padding: 0 0 22px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--t3-navy); }
.timeline .milestone::before { background: var(--t3-red); }

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(880px 280px at 8% -20%, rgba(30,79,163,.06), transparent 58%),
    #fff;
  color: var(--t3-ink);
  padding: 72px 0 28px;
  border-top: 1px solid var(--t3-line);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--t3-red), var(--t3-blue));
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer a { color: var(--t3-navy); display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--t3-blue); }
.site-footer h2 { color: var(--t3-navy); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--t3-red), var(--t3-blue));
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 40px 56px; align-items: start; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-row strong { color: var(--t3-navy); font-size: 16px; }
.footer-tagline { margin: 0; max-width: 42ch; color: var(--t3-muted); font-size: 14px; line-height: 1.6; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.footer-col a { margin: 8px 0; font-size: 14px; }
.footer-org { margin: 14px 0 0; font-size: 13px; color: var(--t3-muted); line-height: 1.55; }
.footer-org-link { display: inline !important; margin: 0 !important; color: var(--t3-blue) !important; }
.footer-org-link:hover { color: var(--t3-navy) !important; }
.footer-bottom { border-top: 1px solid var(--t3-line); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--t3-muted); }
.footer-langs { letter-spacing: .06em; }

/* Cinematic login — full-viewport T3 field + glass sign-in column */
.gate { min-height: 100vh; min-height: 100svh; position: relative; display: grid; grid-template-rows: auto 1fr; background: #06111f; overflow: hidden; }
.gate-sky { position: absolute; inset: 0; background:
  radial-gradient(1100px 620px at 18% 42%, rgba(200,16,46,.38), transparent 58%),
  radial-gradient(980px 560px at 78% 8%, rgba(30,79,163,.48), transparent 62%),
  radial-gradient(760px 480px at 72% 100%, rgba(12,31,61,.9), transparent 55%),
  linear-gradient(180deg, #040b16, #0c1f3d 58%, #06111f); }
.gate-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 32% 48%, #000 12%, transparent 72%); pointer-events: none; }
.gate-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.gate-scene canvas { display: block; width: 100%; height: 100%; }
.gate-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 22px 32px; }
.gate-top .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-weight: 700; }
.gate-body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr); min-height: 0; }
.gate-field { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 24px 120px; }
.gate-legend { position: absolute; left: 40px; right: 40px; bottom: 36px; max-width: 46ch; color: #fff; z-index: 2; }
.gate-kicker { margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: #ff8a9a; }
.gate-legend h2 { margin: 0 0 10px; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.05; max-width: 14ch; }
.gate-legend p { margin: 0 0 18px; color: rgba(255,255,255,.68); font-size: 16px; max-width: 42ch; }
.gate-emblem { position: relative; z-index: 2; width: min(46vh, 42vw, 440px); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; }
.gate-glow { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(30,79,163,.55), rgba(200,16,46,.18) 52%, transparent 74%); filter: blur(22px); animation: gateBreathe 6s ease-in-out infinite; }
.gate-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.gate-orbit.o1 { inset: -4%; border-top-color: var(--t3-red); border-right-color: transparent; animation: gateSpin 18s linear infinite; }
.gate-orbit.o2 { inset: 10%; border-bottom-color: var(--t3-blue-400); border-left-color: transparent; animation: gateSpin 12s linear infinite reverse; }
.gate-orbit.o3 { inset: 24%; border-left-color: rgba(255,255,255,.4); border-right-color: rgba(255,255,255,.08); animation: gateSpin 28s linear infinite; }
.gate-emblem img { position: relative; width: 48%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 36px rgba(0,0,0,.45)); }
@keyframes gateSpin { to { transform: rotate(360deg); } }
@keyframes gateBreathe { 0%, 100% { opacity: .58; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
.gate-stage { position: relative; display: grid; place-items: center; padding: 12px 36px 36px; background: linear-gradient(180deg, rgba(6,17,31,.22), rgba(6,17,31,.62)); border-left: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.gate-card { width: min(440px, 100%); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 28px; padding: clamp(22px, 3.2vh, 34px) 28px; color: #fff; backdrop-filter: blur(22px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.gate-card h1 { font-size: clamp(22px, 3vh, 28px); margin: 0 0 6px; }
.gate-card .mb-3 { margin-bottom: clamp(10px, 1.6vh, 16px) !important; }
.gate-card .mb-4 { margin-bottom: clamp(12px, 2.2vh, 24px) !important; }
.gate-card .meta { color: rgba(255,255,255,.62); }
.gate-card .form-check { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.gate-card .form-check-input { width: 18px; height: 18px; margin: 0; flex: none; background-color: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.55); cursor: pointer; }
.gate-card .form-check-input:checked { background-color: var(--t3-red); border-color: var(--t3-red); }
.gate-card .form-check-input:focus { box-shadow: 0 0 0 3px rgba(200,16,46,.28); }
.gate-card .form-check-label { color: rgba(255,255,255,.82); cursor: pointer; user-select: none; }
.gate-card .form-control { background: rgba(6,17,31,.45); border-color: rgba(255,255,255,.16); color: #fff; }
.gate-card .form-control:focus { border-color: var(--t3-blue-400); box-shadow: 0 0 0 3px rgba(30,79,163,.28); background: rgba(6,17,31,.7); color: #fff; }
.gate-card a { color: #9ec0ff; }
.gate-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #ff8a9a; font-weight: 800; margin-bottom: 12px; }
.gate-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.gate-points li { list-style: none; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82); font-size: 12px; font-weight: 700; }
.gate-foot { margin-top: 18px; color: rgba(255,255,255,.38); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.gate:not(:has(.gate-body)) { place-items: center; padding: 48px 16px; }
.gate:not(:has(.gate-body)) .gate-card { position: relative; z-index: 2; }

/* Error / 404 */
.err-hero { position: relative; overflow: hidden; color: #fff; padding: 88px 0 96px; background:
  radial-gradient(800px 420px at 88% 0, rgba(200,16,46,.4), transparent 58%),
  radial-gradient(760px 420px at 4% 100%, rgba(30,79,163,.46), transparent 60%),
  linear-gradient(180deg, #06111f, #0c1f3d); }
.err-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse at 60% 40%, #000 15%, transparent 72%); pointer-events: none; }
.err-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.err-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: #ff8a9a; margin-bottom: 14px; }
.err-copy h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; margin: 0 0 14px; max-width: 20ch; }
.err-lead { color: rgba(255,255,255,.72); font-size: 18px; max-width: 48ch; }
.err-path { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.5); }
.err-path code { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 4px 10px; color: #fff; }
.err-search { display: flex; gap: 10px; max-width: 560px; margin: 28px 0 22px; padding: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; backdrop-filter: blur(12px); }
.err-search .form-control { height: 48px; border: 0; border-radius: 12px; padding: 0 16px; }
.err-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.err-actions .btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.err-actions .btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.err-visual { position: relative; display: grid; place-items: center; min-height: 300px; }
.err-mark { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.4vw, 18px); }
.err-digit { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 14vw, 180px); line-height: .9; letter-spacing: -.06em; background: linear-gradient(140deg, rgba(255,255,255,.92), rgba(255,255,255,.22)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-orb { position: relative; display: grid; place-items: center; width: clamp(96px, 13vw, 168px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(30,79,163,.55), rgba(6,17,31,.92) 62%); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 26px 60px rgba(0,0,0,.5), inset 0 0 40px rgba(30,79,163,.35); }
.err-orb img { width: 58%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.4)); }
.err-orb-ring { position: absolute; inset: -10%; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); border-top-color: var(--t3-red); animation: err-spin 9s linear infinite; }
.err-orb-ring.is-alt { inset: -22%; border-top-color: transparent; border-left-color: rgba(58,124,222,.7); animation-duration: 14s; animation-direction: reverse; }
@keyframes err-spin { to { transform: rotate(360deg); } }
.err-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.err-link { display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.err-link strong { font-family: var(--display); font-size: 17px; }
.err-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(30,79,163,.28); }

.empty-state { text-align: center; padding: 72px 16px; color: var(--t3-muted); }
.kpi { text-align: left; border-top: 3px solid var(--t3-red); }
.kpi-link { color: inherit; display: block; }
.kpi-alert { background: rgba(200,16,46,.04); }
.kpi-link { color: inherit; display: block; }
.kpi-alert { border-top-color: var(--t3-red); }
.row > [class*="col"]:nth-child(even) .kpi { border-top-color: var(--t3-blue); }
.kpi b { display: block; font-size: 28px; font-family: var(--display); }
.kpi span { color: var(--t3-muted); font-size: 13px; }
.chart-card h3 { font-size: 15px; margin: 0 0 16px; }
.prose { max-width: 70ch; }

/* Startup workspace */
.ws-head {
  background: var(--t3-navy-900);
  color: #fff;
  min-height: 32vh;
  padding: 28px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ws-head .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ws-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,17,31,.95) 0%, rgba(6,17,31,.8) 45%, rgba(12,31,61,.5) 100%); }
.ws-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--t3-red), var(--t3-blue)); }
.ws-head p { color: rgba(255,255,255,.68); margin: 0; font-size: 15px; }
.ws-head h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.ws-head .logo-fallback { border: 3px solid rgba(255,255,255,.22); box-shadow: 0 14px 32px rgba(0,0,0,.42); }
.ws-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.ws-nav { display: flex; flex-direction: column; gap: 6px; }
.ws-nav .nav-link { text-align: left; border-radius: 12px; color: var(--t3-ink); border: 1px solid transparent; padding: 10px 14px; font-weight: 650; }
.ws-nav .nav-link.active { background: var(--t3-navy); color: #fff; }
.ws-mod h2 { font-size: 18px; margin-bottom: 6px; }
.ws-mod p.hint { color: var(--t3-muted); font-size: 13px; margin-bottom: 18px; }
.doc-list { list-style: none; padding: 0; margin: 16px 0 0; }
.doc-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--t3-line); }
.ws-head .ws-logo { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; background: #fff; border: 3px solid rgba(255,255,255,.22); box-shadow: 0 14px 32px rgba(0,0,0,.42); flex: none; }
.ws-head .logo-fallback.lg { width: 64px; height: 64px; font-size: 20px; border-radius: 18px; }
.ws-head .score-ring.xl { width: 68px; height: 68px; font-size: 20px; border-width: 5px; }
.ws-head .score-breakdown-head { gap: 10px; }

/* Notifications */
.note-bell { position: relative; }
.note-bell-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--t3-line); background: var(--t3-white); color: var(--t3-navy); display: grid; place-items: center; }
.note-bell-btn:hover { border-color: var(--t3-navy); color: var(--t3-red); }
.note-dot { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--t3-red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.note-menu { width: min(360px, 92vw); padding: 0; border: 1px solid var(--t3-line); border-radius: 16px; box-shadow: 0 24px 60px rgba(6,17,31,.16); overflow: hidden; }
.note-menu-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--t3-line); font-size: 14px; }
.note-menu-head a { font-size: 12px; font-weight: 700; }
.note-menu-empty { margin: 0; padding: 18px 16px; color: var(--t3-muted); font-size: 14px; }
.note-menu-item { display: block; padding: 12px 16px; border-bottom: 1px solid var(--t3-line); text-decoration: none; color: var(--t3-ink); }
.note-menu-item:last-child { border-bottom: 0; }
.note-menu-item:hover { background: var(--t3-bg); }
.note-menu-item strong { display: block; font-size: 14px; }
.note-menu-item span { display: block; font-size: 13px; color: var(--t3-muted); margin-top: 2px; }
.note-menu-item time { display: block; font-size: 11px; color: var(--t3-muted); margin-top: 4px; }
.note-menu-item.is-unread { border-left: 3px solid var(--t3-red); }
.note-card { border-left: 3px solid var(--t3-blue); }
.note-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.note-badge { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--t3-red); color: #fff; }
.note-list { list-style: none; padding: 0; margin: 0; }
.note-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--t3-line); }
.note-list li:first-child { border-top: 0; }
.note-list li.is-unread { position: relative; padding-left: 14px; }
.note-list li.is-unread::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--t3-red); }
.note-list p { color: var(--t3-muted); font-size: 14px; margin-top: 2px; }
.note-list time { display: block; margin-top: 4px; font-size: 12px; color: var(--t3-muted); }
.note-toolbar, .note-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.note-actions { flex-shrink: 0; }
.notes-page h1 { font-size: 32px; }

/* Identity uploads */
.identity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.identity-grid.is-single { grid-template-columns: minmax(280px, 420px); }
.identity-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--t3-line); border-radius: 16px; background: var(--t3-bg); }
.identity-preview { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, var(--t3-navy), var(--t3-blue)); color: #fff; font-weight: 700; flex: none; }
.identity-preview.is-round { border-radius: 50%; }
.identity-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Team management */
.team-list { list-style: none; padding: 0; margin: 0; }
.team-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--t3-line); }
.team-list li:first-child { border-top: 0; }
.team-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, var(--t3-navy), var(--t3-blue)); color: #fff; font-weight: 700; flex: none; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-card { display: flex; gap: 14px; align-items: flex-start; }
.team-row { border: 1px solid var(--t3-line); border-radius: 16px; padding: 16px; margin-bottom: 12px; background: var(--t3-bg); }
.team-row legend { float: none; width: auto; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--t3-muted); margin-bottom: 10px; }
.team-row-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.team-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

@media (max-width: 1100px) {
  .hero-content { padding: 36px 16px 72px; }
  .err-inner { grid-template-columns: 1fr; }
  .err-visual { min-height: 200px; order: -1; }
}
@media (max-width: 991.98px) {
  .filter-bar { grid-template-columns: 1fr; display: grid; }
  .site-header { min-height: var(--header-h); height: auto; }
  .site-header .navbar { min-height: var(--header-h); height: auto; }
  .site-header .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: 1fr; gap: 0; }
  .footer-col {
    padding: 18px 0;
    border-top: 1px solid var(--t3-line);
  }
  .footer-col h2 { margin-bottom: 10px; }
  .ws-grid { grid-template-columns: 1fr; }
  .ws-nav { flex-direction: row; flex-wrap: wrap; }
  .gate-top { padding: 16px; }
  .gate-body { grid-template-columns: 1fr; }
  .gate-field { min-height: 34vh; padding: 8px 16px 16px; }
  .gate-legend { display: none; }
  .gate-emblem { width: min(42vw, 220px); }
  .gate-stage { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 8px 16px 28px; align-items: start; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(32px, 11vw, 46px); }
  .startup-grid { grid-template-columns: 1fr; }
}

.trust-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.trust-badge.ok { background: rgba(22,120,70,.12); color: #167846; border: 1px solid rgba(22,120,70,.2); }
.trust-badge.stale { background: rgba(200,16,46,.1); color: var(--t3-red); border: 1px solid rgba(200,16,46,.22); }
.trust-badge.muted { background: rgba(12,31,61,.06); color: var(--t3-muted); border: 1px solid var(--t3-line); }
.cohort-card { border: 1px solid var(--t3-line); border-radius: 16px; padding: 16px; background: #fff; }
.cohort-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cohort-metrics div { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.cohort-metrics dt { color: var(--t3-muted); margin: 0; }
.cohort-metrics dd { margin: 0; font-weight: 700; }
tr.is-stale { background: rgba(200,16,46,.04); }

.shortlist-panel { display: flex; flex-direction: column; gap: 14px; }
.shortlist-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shortlist-exports { display: flex; gap: 8px; }
.shortlist-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.shortlist-toolbar .form-control,
.shortlist-toolbar .form-select {
  min-width: 0;
  flex: 1 1 140px;
  max-width: 180px;
}
.shortlist-toolbar .shortlist-num { flex: 0 1 110px; max-width: 120px; }
.shortlist-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--t3-line);
  border-radius: 999px;
  background: var(--t3-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--t3-navy-900);
  white-space: nowrap;
  cursor: pointer;
}
.shortlist-chip input { margin: 0; }
.shortlist-actions { display: flex; gap: 8px; margin-left: auto; }
.shortlist-saved { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shortlist-save {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
  border-top: 1px solid var(--t3-line);
}
.shortlist-save .form-control { max-width: 280px; }

@media (max-width: 900px) {
  .shortlist-toolbar .form-control,
  .shortlist-toolbar .form-select,
  .shortlist-toolbar .shortlist-num { flex: 1 1 calc(50% - 8px); max-width: none; }
  .shortlist-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .shortlist-head { flex-direction: column; align-items: stretch; }
  .shortlist-exports { width: 100%; flex-wrap: wrap; }
  .shortlist-toolbar .form-control,
  .shortlist-toolbar .form-select,
  .shortlist-toolbar .shortlist-num { flex: 1 1 100%; }
  .shortlist-actions .btn { flex: 1 1 auto; }
  .shortlist-save { flex-direction: column; align-items: stretch; }
  .shortlist-save .form-control { max-width: none; width: 100%; }
  .cohort-metrics { grid-template-columns: 1fr; }
  .ws-nav .nav-link { flex: 1 1 calc(50% - 6px); text-align: center; font-size: 13px; padding: 8px 10px; }
  .team-actions { width: 100%; }
  .team-actions .btn { flex: 1 1 auto; }
  .page-head h1 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .identity-box { flex-direction: column; align-items: stretch; }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr);
  gap: 24px;
  align-items: start;
}
.contact-card, .contact-aside { min-width: 0; }
.contact-points { margin: 0; padding-left: 1.1rem; color: var(--t3-muted); }
.contact-points li { margin-bottom: 8px; }
.captcha-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.captcha-q {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(12,31,61,.92), rgba(30,79,163,.88));
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .04em;
  user-select: none;
}
.captcha-input { flex: 1 1 140px; max-width: 180px; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.table-wrap, .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 992px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section .container, .page-head .container { padding-left: 16px; padding-right: 16px; }
  .content-card, .person-card, .kpi, .chart-card, .program-card { padding: 16px; }
  .ws-pane .table { font-size: 13px; }
  .filter-bar .btn { width: 100%; }
  .ws-head { min-height: 0; padding: 20px 0; }
  .startup-hero { min-height: 0; padding: 22px 0 20px; }
  .hero-row { flex-wrap: wrap; align-items: flex-start; gap: 16px; }
  .hero-row > .score-panel { width: 100%; align-self: flex-start; }
  .site-footer { padding: 40px 0 22px; }
  .footer-brand-row strong { font-size: 15px; }
  .footer-tagline { font-size: 13.5px; max-width: none; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding-top: 16px;
  }
}

.rank-me-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rank-code {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .04em;
  margin: 0;
}
.rank-me-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rank-table tr.is-me { background: rgba(30, 79, 163, .06); }
.rank-table .rank-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  width: 4rem;
}
.rank-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rank-identity img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}
.rank-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--t3-muted);
  font-size: 12px;
}
.rank-vis {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rank-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--t3-line);
  border-radius: 12px;
  cursor: pointer;
}
.rank-option:has(input:checked) {
  border-color: var(--t3-navy);
  background: rgba(30, 79, 163, .05);
}
.rank-option input { margin-top: 4px; }
.rank-option b { display: block; }
.rank-option small { color: var(--t3-muted); }

.compare-table th:first-child { width: 180px; color: var(--t3-muted); font-weight: 600; }
.compare-table tbody th { font-size: 13px; }
.calendar-list { max-width: 720px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 16px; }
.toolbar .form-control, .toolbar .form-select { max-width: 220px; }
