/* ==========================================================================
   The Mindkind · ETR — design system derived from the TMK Pitch Deck v26
   Deep navy canvas, orange signal, capability-level palette, trace motif.
   ========================================================================== */

:root {
  /* Surfaces (deck: 081130 / 051B3E / 0A2A54 / 0B3563 / 164A85) */
  --bg: #081130;
  --bg-deep: #050B22;
  --bg-alt: #0A1A42;
  --surface: rgba(11, 53, 99, 0.32);
  --surface-2: rgba(22, 74, 133, 0.28);
  --line: rgba(183, 196, 220, 0.14);
  --line-strong: rgba(183, 196, 220, 0.28);

  /* Text */
  --text: #FFFFFF;
  --soft: #E4EAF5;
  --muted: #B7C4DC;

  /* Signal + capability palette */
  --orange: #F47B20;
  --magenta: #E2307F;
  --violet: #9C8CFF;
  --cyan: #5DC1FF;
  --green: #7FD97F;
  --amber: #FFC66D;
  --grad: linear-gradient(110deg, #F47B20 0%, #F25A3A 45%, #E2307F 100%);

  /* Type */
  --f-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text); }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 600; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--text); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .5em; line-height: 1.12; }
.display { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.03; margin-bottom: .4em; }
.display--xl { font-size: clamp(2.8rem, min(7.2vw, 10.5vh), 6rem); }
.display--article { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.h4 { font-size: 1.15rem; line-height: 1.3; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.lead--lg { font-size: clamp(1.15rem, 1.7vw, 1.38rem); }
.lead strong { color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.accent { color: var(--orange); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .78rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 1.4em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(244, 123, 32, .18), 0 0 18px var(--orange); }
.eyebrow__n { color: var(--muted); }
.eyebrow__n::after { content: " ·"; }

.mono-line { font: 500 .9rem/1.6 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.mono-line i { font-style: normal; color: var(--orange); padding: 0 .3em; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--flip { transform: rotate(180deg); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--orange);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font: 600 .98rem/1 var(--f-body); letter-spacing: .005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(244, 123, 32, .6); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(226, 48, 127, .55); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(6px); }
.btn--ghost:hover { color: var(--text); border-color: var(--orange); background: rgba(244, 123, 32, .08); }
.btn--link { padding: 0; background: none; color: var(--orange); border-radius: 0; }
.btn--link:hover { color: var(--text); }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: border-color .3s;
  border-bottom: 1px solid transparent;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 11, 34, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled::before, .nav-open .site-header::before { opacity: 1; }
.site-header.is-scrolled, .nav-open .site-header { border-bottom-color: var(--line); }
body.admin-bar .site-header { top: 32px; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 10px; border: 0; background: none; cursor: pointer;
  color: var(--soft); font: 500 .95rem/1 var(--f-body);
}
.nav__link:hover, .nav__link.is-current, .nav__item.is-open > .nav__link { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav__link.is-current { color: var(--orange); }
.nav__link .icon { transition: transform .2s; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  padding: 10px; border-radius: 16px; background: rgba(8, 17, 48, .97); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
}
.nav__item.has-sub:hover .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item.has-sub:hover > .nav__link .icon, .nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__sublink { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); }
.nav__sublink:hover, .nav__sublink.is-current { background: rgba(244, 123, 32, .1); color: var(--text); }
.nav__subtitle { display: block; font-weight: 600; font-size: .95rem; }
.nav__subdesc { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--open { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: safe center;
  padding: calc(var(--header-h) + 40px) 0 96px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 80% 30%, rgba(22, 74, 133, .5), transparent 60%), var(--bg-deep);
}
.hero__media { position: absolute; inset: 0 0 0 30%; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .9; animation: heroZoom 24s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, var(--bg-deep) 18%, rgba(5, 11, 34, .82) 42%, rgba(5, 11, 34, .2) 75%, rgba(5, 11, 34, .5) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero__graph { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; }
.hero .display { max-width: 15ch; }
.hero .lead { max-width: 56ch; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 2.6rem 0 0; font: 500 .82rem/1 var(--f-mono); color: var(--muted); letter-spacing: .03em; }
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot--green { color: var(--green); box-shadow: 0 0 12px var(--green); background: var(--green); }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.dot--amber { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--orange); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 110px);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.page-hero__media { position: absolute; inset: 0 0 0 45%; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-deep) 0%, rgba(5, 11, 34, .7) 35%, rgba(5, 11, 34, .2) 100%), linear-gradient(0deg, var(--bg-deep), transparent 40%); }
.page-hero__glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 123, 32, .22), rgba(226, 48, 127, .1) 40%, transparent 70%); filter: blur(10px); pointer-events: none; }
.page-hero__inner { position: relative; }
.page-hero .display { max-width: 20ch; }
.page-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--compact .display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 26ch; }
.page-hero--404 { min-height: 100svh; display: flex; align-items: center; }
.page-hero--cyan .page-hero__glow { background: radial-gradient(circle, rgba(93, 193, 255, .22), transparent 70%); }
.page-hero--violet .page-hero__glow { background: radial-gradient(circle, rgba(156, 140, 255, .24), transparent 70%); }
.page-hero--magenta .page-hero__glow { background: radial-gradient(circle, rgba(226, 48, 127, .24), transparent 70%); }
.page-hero--amber .page-hero__glow { background: radial-gradient(circle, rgba(255, 198, 109, .2), transparent 70%); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split > .section-head { margin-bottom: 0; }
.split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--reverse > :first-child { order: 2; }
.block + .block { margin-top: clamp(56px, 7vw, 96px); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(22, 74, 133, .28), rgba(11, 53, 99, .14));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.card--lg { padding: clamp(28px, 3.5vw, 44px); }
.card--link { color: inherit; display: block; }
.card--link:hover { color: inherit; border-color: var(--orange); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--orange); font-weight: 600; font-size: .95rem; }
.card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; color: var(--c, var(--orange)); background: color-mix(in srgb, var(--c, var(--orange)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c, var(--orange)) 35%, transparent); }
.card__icon .icon { width: 22px; height: 22px; }
.card__icon--orange { --c: var(--orange); } .card__icon--magenta { --c: var(--magenta); } .card__icon--violet { --c: var(--violet); }
.card__icon--cyan { --c: var(--cyan); } .card__icon--green { --c: var(--green); } .card__icon--amber { --c: var(--amber); }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.ticks li .icon { color: var(--orange); margin-top: 3px; }
.ticks--compact { gap: 10px; margin-top: 1.1rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 .9rem/1 var(--f-mono); color: var(--orange); border: 1px solid rgba(244, 123, 32, .45); background: rgba(244, 123, 32, .08); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.8rem 0 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); font-size: .88rem; color: var(--soft); }
.chip .icon { color: var(--cyan); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 1.2rem 0; }
.pills span { padding: 7px 14px; border-radius: 999px; font: 500 .8rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text); background: rgba(244, 123, 32, .12); border: 1px solid rgba(244, 123, 32, .4); }

/* ---------- Stats ---------- */
.section--stats { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); background: var(--bg); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-head); color: var(--text); letter-spacing: -0.03em; margin-bottom: 14px; }
.stat__value span:first-child, .stat__value span:last-child { color: var(--orange); }
.stat__label { color: var(--text); font-weight: 600; margin-bottom: 6px; }
.stat__note { color: var(--muted); font-size: .88rem; margin: 0; }
.ticker { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: .9rem; color: var(--muted); }
.ticker li { display: inline-flex; align-items: center; gap: 8px; }
.ticker .icon { color: var(--green); }

/* ---------- Quadrant ---------- */
.quadrant { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 1fr 34px; gap: 10px; }
.quadrant__axis { display: flex; align-items: center; justify-content: center; font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); position: relative; }
.quadrant__axis--y { writing-mode: vertical-rl; transform: rotate(180deg); }
.quadrant__axis--y::after, .quadrant__axis--x::after { content: ""; position: absolute; background: linear-gradient(var(--line-strong), var(--line-strong)); }
.quadrant__axis--x { grid-column: 2; }
.quadrant__axis span { background: var(--bg); padding: 4px; position: relative; z-index: 1; }
.section--alt .quadrant__axis span { background: var(--bg-alt); }
.quadrant__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.quad { position: relative; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(11, 53, 99, .2); min-height: 190px; }
.quad__tag { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.quad__title { font-size: 1.12rem; margin-bottom: 8px; }
.quad__text { color: var(--muted); font-size: .92rem; margin: 0; }
.quad--bl { opacity: .7; }
.quad__chip { position: absolute; right: 14px; top: -12px; font-size: .74rem; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px dashed var(--line-strong); color: var(--muted); }
.quad--etr { border-color: rgba(244, 123, 32, .65); background: linear-gradient(150deg, rgba(244, 123, 32, .22), rgba(226, 48, 127, .12)); box-shadow: 0 0 0 1px rgba(244, 123, 32, .2), 0 20px 60px -20px rgba(244, 123, 32, .5); }
.quad--etr .quad__tag { color: var(--orange); }
.quad__pulse { position: absolute; right: 18px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(244, 123, 32, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 123, 32, .6); } 70% { box-shadow: 0 0 0 16px rgba(244, 123, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 123, 32, 0); } }

/* ---------- Timeline (AI Act) ---------- */
.timeline { list-style: none; padding: 0 0 0 30px; margin: 0; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--green), var(--orange) 40%, var(--magenta)); border-radius: 2px; opacity: .7; }
.timeline__item { position: relative; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.timeline__item::before { content: ""; position: absolute; left: -30px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.timeline__item.is-past::before { border-color: var(--green); background: var(--green); }
.timeline__item.is-now { border-color: rgba(244, 123, 32, .6); background: rgba(244, 123, 32, .1); }
.timeline__item.is-now::before { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 6px rgba(244, 123, 32, .2); animation: pulse 2s infinite; }
.timeline__date { font: 500 .8rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.timeline__title { font-size: 1.08rem; margin-bottom: 4px; }
.timeline__text { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Flow (solution) ---------- */
.flow { display: grid; grid-template-columns: 1fr 56px 1.15fr 56px 1fr; align-items: stretch; }
.flow__step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.flow__step p { color: var(--muted); margin: 0; }
.flow__step--core { border-color: rgba(244, 123, 32, .55); background: linear-gradient(160deg, rgba(244, 123, 32, .16), rgba(156, 140, 255, .1)); }
.flow__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 16px; font: 600 .9rem/1 var(--f-mono); background: var(--grad); color: #fff; }
.flow__link { position: relative; display: flex; align-items: center; }
.flow__link span { display: block; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: dash 1.2s linear infinite; }
.flow__link::after { content: ""; position: absolute; right: 0; width: 0; height: 0; border: 6px solid transparent; border-left-color: var(--orange); transform: translateX(6px); }
@keyframes dash { to { background-position: 24px 0; } }

.showcase { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.showcase__text { padding: clamp(32px, 4vw, 56px); }
.showcase__text p { color: var(--muted); }
.showcase__media { position: relative; min-height: 360px; }
.showcase__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 17, 48, .9), transparent 40%); }

/* ---------- Capability levels ---------- */
.levels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: end; position: relative; }
.level { --c: var(--orange); position: relative; display: flex; flex-direction: column; }
.level--green { --c: var(--green); } .level--cyan { --c: var(--cyan); } .level--amber { --c: var(--amber); }
.level--orange { --c: var(--orange); } .level--magenta { --c: var(--magenta); } .level--violet { --c: var(--violet); }
.level__node { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent), 0 0 22px var(--c); margin: 0 0 14px 22px; }
.level__card { height: 100%; padding: 22px 20px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 14%, transparent), rgba(11, 53, 99, .14) 70%); min-height: calc(300px + var(--step) * 36px); display: flex; flex-direction: column; }
.level__status { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); margin-bottom: 14px; }
.level__name { font-size: 1.55rem; letter-spacing: .02em; margin-bottom: 4px; }
.level__cap { color: var(--text); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.level__text { color: var(--muted); font-size: .88rem; flex: 1; }
.level__use { display: flex; gap: 6px; align-items: flex-start; font-size: .8rem; color: var(--soft); margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.level__use .icon { color: var(--c); margin-top: 2px; }
.level.is-live .level__card { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 24px 50px -30px var(--c); }
.level.is-next .level__card { border-style: solid; border-width: 1.5px; box-shadow: 0 0 40px -12px var(--c); }
.level.is-gated .level__card { border-style: dashed; }
.levels__note { margin: 36px 0 0; max-width: 900px; font-size: .95rem; }

/* ---------- Applications ---------- */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.app { --c: var(--orange); position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: inherit; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.app:hover { color: inherit; transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.app--cyan { --c: var(--cyan); } .app--violet { --c: var(--violet); } .app--magenta { --c: var(--magenta); } .app--amber { --c: var(--amber); }
.app__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.app__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.app:hover .app__media img { transform: scale(1.06); }
.app__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 17, 48, .95), transparent 55%); }
.app__body { display: flex; flex-direction: column; padding: 4px 22px 24px; flex: 1; }
.app__kicker { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-bottom: 10px; }
.app__title { font: 600 1.2rem/1.25 var(--f-head); color: var(--text); margin-bottom: 8px; }
.app__text { color: var(--muted); font-size: .92rem; flex: 1; }
.app__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--c); }
.app--feature { grid-column: span 4; flex-direction: row; min-height: 340px; }
.app--feature .app__media { flex: 1.1; aspect-ratio: auto; }
.app--feature .app__media::after { background: linear-gradient(90deg, transparent 40%, rgba(8, 17, 48, .95)); }
.app--feature .app__body { flex: 1; padding: clamp(28px, 4vw, 52px); justify-content: center; }
.app--feature .app__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.app--feature .app__text { flex: 0; font-size: 1.05rem; }

/* ---------- Big stats / quote ---------- */
.bigstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bigstat { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.bigstat__value { font: 700 clamp(3.4rem, 7vw, 5.6rem)/1 var(--f-head); letter-spacing: -0.04em; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigstat__value span { font-size: .45em; letter-spacing: 0; margin-left: 4px; }
.bigstat__label { color: var(--text); font-weight: 600; }
.quote { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 900px; text-align: center; }
.quote p { font: 500 clamp(1.25rem, 2.4vw, 1.8rem)/1.4 var(--f-head); color: var(--text); letter-spacing: -0.01em; }
.quote footer { color: var(--muted); font-size: .92rem; }
.quote--xl { margin-top: 0; margin-bottom: clamp(48px, 6vw, 80px); }
.quote--xl p { font-size: clamp(1.5rem, 3vw, 2.3rem); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.principle__n { display: block; font: 700 2.6rem/1 var(--f-head); color: transparent; -webkit-text-stroke: 1px rgba(244, 123, 32, .7); margin-bottom: 18px; }
.principle p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Compare / params ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.compare__head { display: flex; gap: 20px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.compare__head img { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; flex: none; }
.compare__head .eyebrow { margin-bottom: .6em; }
.compare__head p { margin: 0; }
.params { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.param { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.param img { width: 100%; max-height: 120px; object-fit: contain; margin-bottom: 18px; border-radius: 10px; background: #fff; padding: 6px; }
.param p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Media frames ---------- */
.media-frame { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); pointer-events: none; }
.media-frame--wide img { object-fit: contain; background: #fff; }
.split--media .media-frame { aspect-ratio: 4 / 3; }
.media-frame--cyan { box-shadow: 0 30px 80px -40px var(--cyan); }
.media-frame--violet { box-shadow: 0 30px 80px -40px var(--violet); }
.media-frame--magenta { box-shadow: 0 30px 80px -40px var(--magenta); }
.media-frame--amber { box-shadow: 0 30px 80px -40px var(--amber); }
.funding-banner { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; background: #fff; padding: 16px; }

/* ---------- Round (investors) ---------- */
.round { padding: clamp(28px, 4vw, 48px); border-radius: 24px; border: 1px solid rgba(244, 123, 32, .5); background: linear-gradient(160deg, rgba(244, 123, 32, .16), rgba(11, 53, 99, .3)); box-shadow: 0 40px 80px -40px rgba(244, 123, 32, .5); }
.round__value { font: 700 clamp(4rem, 9vw, 6.5rem)/1 var(--f-head); color: var(--text); letter-spacing: -0.04em; margin-bottom: 22px; }
.round__bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.round__bar span { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.round__meta { margin: 12px 0 0; color: var(--muted); }
.round .btn { margin-top: 26px; }

/* ---------- Team ---------- */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.member { padding: 14px 14px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.member:hover { border-color: rgba(244, 123, 32, .5); transform: translateY(-3px); }
.member__photo { aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: var(--bg-alt); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: filter .4s; }
.member:hover .member__photo img { filter: none; }
.member__role { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin: 0 6px 6px; }
.member__name { font-size: 1.05rem; margin: 0 6px 8px; }
.member__bio { color: var(--muted); font-size: .84rem; line-height: 1.55; margin: 0 6px; }

/* ---------- Grants ---------- */
.grants { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.grant { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 14px; }
.grant__img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #fff; }
.grant__img img { width: 100%; height: 100%; object-fit: contain; }
.grant figcaption { margin-top: 12px; font-size: .9rem; color: var(--soft); font-weight: 500; }

/* ---------- Positions / milestones ---------- */
.positions { display: grid; gap: 14px; }
.position { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: inherit; transition: border-color .3s, transform .3s var(--ease); }
.position:hover { color: inherit; border-color: var(--orange); transform: translateX(4px); }
.position__title { display: block; font: 600 1.2rem/1.3 var(--f-head); color: var(--text); margin-bottom: 6px; }
.position__text { display: block; color: var(--muted); font-size: .95rem; }
.position__meta { display: flex; align-items: center; gap: 10px; color: var(--orange); flex: none; }
.milestones { list-style: none; padding: 0; margin: 0; position: relative; }
.milestones::before { content: ""; position: absolute; left: 132px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.milestone { display: grid; grid-template-columns: 110px 1fr; gap: 44px; padding: 18px 0; position: relative; }
.milestone::before { content: ""; position: absolute; left: 127px; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.milestone__date { font: 500 .82rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin: 4px 0 0; text-align: right; }
.milestone__body p { color: var(--muted); margin: 0; }
.milestone__body .h4 { margin-bottom: 6px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { display: block; font: 500 .74rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.news-card__title { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.news-card__title a { color: var(--text); }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card { position: relative; }
.news-card__excerpt { display: block; color: var(--muted); font-size: .93rem; flex: 1; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--orange); font-weight: 600; font-size: .9rem; }
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); margin-bottom: 28px; color: inherit; }
.news-feature:hover { color: inherit; border-color: rgba(244, 123, 32, .5); }
.news-feature__media { display: block; min-height: 340px; background: var(--bg-alt); }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.news-feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.news-feature__title { display: block; font: 600 clamp(1.5rem, 2.6vw, 2.2rem)/1.15 var(--f-head); color: var(--text); letter-spacing: -0.02em; margin-bottom: 14px; }
.pagination { margin-top: 48px; }
.pagination .nav-links, .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 14px; justify-content: center; border-radius: 12px; border: 1px solid var(--line); color: var(--soft); font-weight: 500; }
.pagination .page-numbers:hover { border-color: var(--orange); color: var(--text); }
.pagination .page-numbers.current { background: var(--grad); border-color: transparent; color: #fff; }
.pagination .dots { border: 0; }

/* ---------- Article ---------- */
.article__hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 64px) 0 0; background: var(--bg-deep); }
.article__head { max-width: 980px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.article__cover { margin-top: 40px; }
.article__cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 24px 24px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.prose { padding: clamp(40px, 5vw, 64px) 0; color: var(--soft); font-size: 1.08rem; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin: 1.8em 0 .6em; }
.prose h2 { font-size: 1.8rem; } .prose h3 { font-size: 1.4rem; } .prose h4 { font-size: 1.18rem; } .prose h5 { font-size: 1.05rem; color: var(--muted); }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 123, 32, .4); }
.prose a:hover { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange); }
.prose img, .prose figure img { border-radius: 16px; margin: 1.5em auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { color: var(--muted); font-size: .88rem; text-align: center; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); color: var(--text); font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.prose .w-embed, .prose .w-richtext-figure-type-video { margin: 1.5em 0; }
.video { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 32px; }
.video iframe { width: 100%; height: 100%; border: 0; }
.article__links { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 0 32px; }
.author { display: flex; align-items: center; gap: 14px; padding: 24px 0 var(--section); border-top: 1px solid var(--line); }
.author img { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); padding: 6px; }
.author p { margin: 0; font-size: .92rem; }
.doc-embed { width: 100%; height: 82vh; border: 1px solid var(--line); border-radius: 18px; background: #fff; }

/* ---------- CTA ---------- */
.section--cta { padding-top: 0; }
.cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(36px, 5vw, 72px); border-radius: 28px; border: 1px solid rgba(244, 123, 32, .35); background: linear-gradient(140deg, #0E2559, #081130 60%); }
.cta__glow { position: absolute; z-index: -1; width: 700px; height: 700px; left: -200px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 123, 32, .35), rgba(226, 48, 127, .15) 40%, transparent 70%); }
.cta__main .h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.cta__side { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: rgba(5, 11, 34, .55); border: 1px solid var(--line); align-self: center; }
.cta__side .h4 { margin-bottom: 6px; }

/* ---------- Forms (Contact Form 7) ---------- */
.form-card { padding: clamp(24px, 3.5vw, 44px); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.wpcf7 { width: 100%; }
.wpcf7 form { margin: 0; }
.wpcf7 .hidden-fields-container, .wpcf7-spinner { display: none !important; }
.wpcf7 label, .wpcf7 .label, .wpcf7 .field-label-2 { display: block; font-size: .88rem; font-weight: 500; color: var(--soft); margin: 0 0 6px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea, .wpcf7 select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(5, 11, 34, .6); color: var(--text); font: 400 1rem/1.4 var(--f-body);
  transition: border-color .2s, box-shadow .2s; height: auto; margin: 0;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; max-width: 320px; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: rgba(183, 196, 220, .55); }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244, 123, 32, .15); }
.wpcf7 input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grad); color: #fff; font: 600 1rem/1 var(--f-body); box-shadow: 0 8px 30px -8px rgba(244, 123, 32, .6);
  transition: transform .25s var(--ease), box-shadow .25s; width: auto; height: auto; margin: 0;
}
.wpcf7 input[type=submit]:hover { transform: translateY(-2px); }
.wpcf7-not-valid-tip { color: #FF8FA3; font-size: .82rem; margin-top: 6px; }
.wpcf7 .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 16px !important; border-radius: 12px; border: 1px solid var(--line-strong) !important; font-size: .92rem; color: var(--soft); }
.wpcf7 form.sent .wpcf7-response-output { border-color: rgba(127, 217, 127, .5) !important; background: rgba(127, 217, 127, .08); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: rgba(226, 48, 127, .5) !important; background: rgba(226, 48, 127, .08); }
.wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 400; }
.wpcf7-acceptance input { width: 18px; height: 18px; accent-color: var(--orange); }
/* Newsletter: inline field + button */
.tmk-cf7--newsletter { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 12px; }
.tmk-cf7--newsletter .wpcf7-form-control-wrap { flex: 1 1 200px; }
.tmk-cf7--newsletter .wpcf7-response-output { flex-basis: 100%; }
/* Contact: two-column grid (CF7 markup carries the Webflow wrappers) */
.tmk-cf7--contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.tmk-cf7--contact .field-label-warp { display: flex; flex-direction: column; }
.tmk-cf7--contact #w-node-cd712019-8613-4aec-f7d8-173388389c5a-88389c3f,
.tmk-cf7--contact .checkbox-field,
.tmk-cf7--contact input[type=submit],
.tmk-cf7--contact .wpcf7-response-output { grid-column: 1 / -1; }
.tmk-cf7--contact .wpcf7-form-control-wrap { display: block; }
.tmk-cf7--contact .checkbox-field a { color: var(--orange); }
/* FFF long form */
.tmk-cf7--fff .field-label-2 { margin-top: 18px; }
.tmk-cf7--fff .field-label-2:first-of-type { margin-top: 0; }
.tmk-cf7--fff .wpcf7-form-control-wrap { display: block; }
.tmk-cf7--fff input[type=submit] { margin-top: 28px; }
.tmk-cf7--fff .text-span-13, .tmk-cf7--fff .text-span-14, .tmk-cf7--fff .text-span-19, .tmk-cf7--fff .text-span-20 { color: var(--orange); font-weight: 600; }
.address { display: flex; gap: 14px; align-items: flex-start; margin: 1.6rem 0; color: var(--muted); }
.address .icon { color: var(--orange); margin-top: 4px; }
.address p { margin: 0; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(185deg) saturate(.7) brightness(.95); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 28px; background: var(--bg-deep); border-top: 1px solid var(--line); }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer__claim { font: 600 1.4rem/1.25 var(--f-head); color: var(--text); margin-bottom: 18px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--soft); }
.site-footer__social a:hover { border-color: var(--orange); color: var(--orange); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer__cols a { display: block; color: var(--muted); padding: 5px 0; font-size: .95rem; }
.site-footer__cols a:hover { color: var(--text); }
.site-footer__title { font: 500 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.site-footer__funding { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0; border-bottom: 1px solid var(--line); }
.site-footer__funding p { margin: 0; }
.funding-plate { display: flex; align-items: center; gap: 22px; padding: 12px 20px; border-radius: 14px; background: #fff; }
.funding-plate img { height: 42px; width: auto; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--muted); margin-left: 20px; }
.site-footer__bottom a:first-child { margin-left: 0; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .levels { align-items: stretch; }
  .level__card { min-height: 0; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app--feature { grid-column: span 2; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 24px var(--gutter) 40px; background: var(--bg-deep); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
  }
  body.admin-bar .nav { top: calc(var(--header-h) + 46px); }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.15rem; border-radius: 0; }
  .nav__link:hover { background: none; }
  .nav__sub { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; background: none; border: 0; box-shadow: none; padding: 0 0 14px; }
  .nav__item.is-open .nav__sub { display: block; }
  .nav__item.has-sub:hover .nav__sub { display: none; }
  .nav__item.has-sub.is-open:hover .nav__sub { display: block; }
  .nav__cta { align-self: flex-start; }
}
@media (max-width: 960px) {
  .split, .split--media { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__link { height: 40px; justify-content: center; }
  .flow__link span { width: 2px; height: 100%; background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 12px); }
  .flow__link::after { right: auto; bottom: -6px; border-left-color: transparent; border-top-color: var(--orange); transform: none; }
  .showcase, .news-feature, .compare, .cta { grid-template-columns: 1fr; }
  .showcase__media { min-height: 300px; order: -1; }
  .showcase__media::before { background: linear-gradient(0deg, rgba(8, 17, 48, .9), transparent 50%); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bigstats { grid-template-columns: 1fr; }
  .params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__media { inset: 0; }
  .hero__shade { background: linear-gradient(90deg, rgba(5, 11, 34, .92), rgba(5, 11, 34, .55)), linear-gradient(0deg, var(--bg), transparent 40%); }
  .page-hero__media { inset: 0; }
  .page-hero__media img { opacity: .3; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .cards--2, .cards--3, .cards--4, .news-grid, .apps, .principles, .params { grid-template-columns: 1fr; }
  .app--feature { grid-column: auto; flex-direction: column; }
  .app--feature .app__media { aspect-ratio: 16 / 10; }
  .app--feature .app__media::after { background: linear-gradient(0deg, rgba(8, 17, 48, .95), transparent 55%); }
  .levels { grid-template-columns: 1fr; }
  .level { padding-top: 0; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
  .level__node { margin: 26px 0 0 4px; }
  .level__card { min-height: 0; }
  .levels::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--green), var(--cyan), var(--amber), var(--orange), var(--magenta), var(--violet)); opacity: .5; }
  .quadrant__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .quad { min-height: 0; }
  .quad--etr { order: -1; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .member__bio { display: none; }
  .tmk-cf7--contact { grid-template-columns: 1fr; }
  .position { flex-direction: column; align-items: flex-start; }
  .milestones::before { left: 6px; }
  .milestone { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .milestone::before { left: 1px; top: 22px; }
  .milestone__date { text-align: left; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero__scroll { display: none; }
  .compare__head { flex-direction: column; align-items: flex-start; }
  .site-footer__bottom a { margin-left: 0; margin-right: 16px; }
}

/* Light-background illustrations: invert to the dark canvas while keeping their hues */
.media-frame img[src*="knowledge-graph"] { filter: invert(1) hue-rotate(180deg) saturate(1.2); }
