/* Nauris Probaks · personīgā lapa · EFFEXO Design System v1.1 */
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-VariableFont_wght.ttf") format("truetype-variations"),
       url("fonts/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1A1A1A;
  --ink-deep: #0A0A0A;
  --gray: #6E6E73;
  --line: #E5E5EA;
  --paper: #F5F5F7;
  --surface: #FFFFFF;
  --indigo: #4F46E5;
  --indigo-50: #EEEDFC;
  --indigo-100: #DDDAF8;
  --indigo-200: #BAB4F1;
  --indigo-300: #958DEC;
  --indigo-600: #3E36C9;
  --indigo-700: #2E28A0;
  --indigo-800: #1F1B73;
  --positive: #14876B;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(10,10,10,.04), 0 8px 24px rgba(10,10,10,.06);
  --wrap: 1200px;
  --gutter: 20px;
  --section: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 900px) { :root { --gutter: 40px; --section: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-600); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
svg { flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.4; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--gray); }
.eyebrow b { color: var(--indigo); font-weight: 700; }
.h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; }
.lead { font-size: 18px; line-height: 1.55; }
.muted { color: var(--gray); }
.small { font-size: 14px; line-height: 1.5; color: var(--gray); }
.dot, .accent { color: var(--indigo); }
.tnum { font-feature-settings: "tnum" 1; }
.todo { background: var(--indigo-50); box-shadow: inset 0 -1.5px 0 var(--indigo-300); border-radius: 3px; padding: 0 3px; }
.sec-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: var(--r-md); border: 0; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; transition: background-color .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg.mv { transform: translateX(3px); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-600); color: #fff; }
.btn-primary:active { background: var(--indigo-700); transform: translateY(1px); }
.btn-ink { background: var(--ink); color: #fff; min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-ink:hover { background: var(--ink-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--indigo-50); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--indigo-100); color: var(--indigo-800); font-size: 13px; font-weight: 600; line-height: 1.3; }
.badge-open { background: #E3F3EE; color: #0D5C49; }
.badge-open i { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 0 0 rgba(20,135,107,.5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(20,135,107,0); } 100% { box-shadow: 0 0 0 0 rgba(20,135,107,0); } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245,245,247,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.np-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.np-logo:hover { color: var(--ink); }
.np-mono { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.np-logo .dot { margin-left: -9px; }
.nav { display: none; margin-left: auto; gap: 28px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header .btn-ink { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; margin-right: -10px; color: var(--ink); }
.burger svg { width: 24px; height: 24px; }
.mobile-menu { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--paper); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu > a:not(.btn) { color: var(--ink); font-size: 24px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
.mobile-menu .btn { margin-top: 24px; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .header-right { margin-left: 32px; }
  .header .btn-ink { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
}

/* Hero */
.hero { padding: 32px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hero h1 { font-size: clamp(48px, 8.4vw, 96px); line-height: .95; letter-spacing: -0.045em; font-weight: 800; margin-top: 24px; }
.hero h1 span { display: block; }
.hero-role { margin-top: 22px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; font-weight: 500; max-width: 30ch; }
.hero-role b { font-weight: 700; color: var(--indigo); }
.hero-quote { margin: 24px 0 0; padding-left: 18px; border-left: 2px solid var(--indigo-200); color: var(--gray); font-size: 17px; line-height: 1.6; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof b { display: block; font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; font-feature-settings: "tnum" 1; }
.hero-proof span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--gray); max-width: 15ch; }

.portrait-wrap { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.portrait { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #d9dbe2; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; justify-self: center; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: brightness(1.1) contrast(1.03); }
.portrait-tags { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.portrait-tags span { padding: 5px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: var(--ink); }
.portrait-card { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: var(--r-md); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); font-size: 13px; line-height: 1.25; box-shadow: var(--shadow); }
.portrait-card:hover { color: var(--ink); background: #fff; }
.portrait-card img { width: 28px; height: 28px; }
.portrait-card b { display: block; font-size: 14px; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; }
  .portrait-wrap { justify-self: end; }
  .portrait-card { top: 40%; left: -44px; padding: 12px 18px 12px 12px; background: #fff; box-shadow: 0 24px 48px -20px rgba(31,27,115,.35), 0 0 0 1px var(--line); }
  .portrait-card img { width: 34px; height: 34px; }
  .portrait-card b { font-size: 15px; }
}

/* Numbers band */
.band { background: var(--ink-deep); color: #fff; }
.band .wrap { padding-top: 56px; padding-bottom: 56px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.stats div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.stats b { display: block; font-size: clamp(36px, 4.6vw, 52px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; font-feature-settings: "tnum" 1; }
.stats b em { font-style: normal; color: var(--indigo-300); }
.stats span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.65); max-width: 20ch; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Story */
.story { display: grid; gap: 40px; }
.story-text { display: grid; gap: 18px; font-size: 17px; line-height: 1.7; max-width: 64ch; }
.story-text .first { font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.story-text .last { font-weight: 600; }
.story-aside { display: grid; gap: 16px; align-content: start; }
.story-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: #d9dbe2; }
.story-photo figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.story-photo figcaption .dot { color: var(--indigo-300); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.motto { position: relative; z-index: 1; margin: -88px 16px 0; padding: 30px 28px 26px; box-shadow: 0 30px 60px -30px rgba(10,10,10,.6); border-radius: var(--r-xl); background: var(--ink-deep); color: #fff; overflow: hidden; }
.motto::before { content: "“"; position: absolute; top: -18px; left: 20px; font-size: 140px; line-height: 1; font-weight: 800; color: var(--indigo); opacity: .9; }
.motto blockquote { position: relative; margin: 0; padding-top: 34px; }
.motto p { font-size: 21px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.motto p b { color: var(--indigo-200); font-weight: 600; }
.motto figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.65); }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 72px; }
  .story-aside { position: sticky; top: 104px; }
}

/* Path: steps of the story */
.path { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; }
.path li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.path b { font-weight: 700; color: var(--indigo); font-feature-settings: "tnum" 1; }

.story-quote { margin: 8px 0; padding: 24px 26px; border-radius: var(--r-lg); background: var(--indigo-50); color: var(--indigo-800); font-size: 19px; line-height: 1.5; font-weight: 500; border-left: 3px solid var(--indigo); }

.story-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.story-steps li { display: grid; gap: 4px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.story-steps li > b { font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.story-steps p { font-size: 16.5px; line-height: 1.6; }
.story-steps .story-quote { margin: 12px 0 2px; }
.story-steps li.now p { font-weight: 600; }
@media (min-width: 700px) {
  .story-steps li { grid-template-columns: 170px minmax(0, 1fr); }
  .story-steps li > b { padding-top: 4px; }
  .story-steps .story-quote { grid-column: 2; }
}

.story-outro { margin: 20px 6px 0; font-size: 17px; line-height: 1.55; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
@media (min-width: 900px) { .story-outro { margin: 72px 0 0; max-width: 860px; font-size: 24px; line-height: 1.4; letter-spacing: -0.015em; } .story-outro + .np-flow { margin-top: 36px; } }

/* Lessons chain (same look as the EFFEXO skills flow) */
.np-flow { position: relative; overflow: hidden; isolation: isolate; margin-top: 64px; padding: 28px 22px; display: grid; gap: 26px; border-radius: var(--r-xl); background: radial-gradient(120% 140% at 100% 0%, rgba(79,70,229,.32), transparent 55%), var(--ink-deep); color: #fff; }
.np-flow .eyebrow { color: rgba(255,255,255,.6); }
@media (min-width: 900px) { .np-flow { padding: 44px; gap: 30px; } }
.np-flow-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
@media (min-width: 900px) { .np-flow-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }
.np-flow-track li { position: relative; display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.14); animation: npNode 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
.np-flow-track b { font-size: 17px; line-height: 1.22; }
.np-flow-track span { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.66); }
.np-flow-track em { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px 4px 7px; border-radius: var(--r-pill); background: rgba(199,195,250,.16); color: #C7C3FA; font-style: normal; font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.np-flow-track em::before { content: "✓"; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #C7C3FA; color: var(--ink-deep); font-size: 10px; }
.np-flow-track li.end { background: #fff; border-color: #fff; color: var(--ink); animation-name: npNodeEnd; }
.np-flow-track li.end span { color: var(--gray); }
.np-flow-track li.end em { background: var(--indigo-50); color: var(--indigo); }
.np-flow-track li.end em::before { background: var(--indigo); color: #fff; }
@keyframes npNode { 0%, 27%, 100% { transform: none; border-color: rgba(255,255,255,.14); box-shadow: none; } 5%, 21% { transform: translateY(-4px); border-color: #A5A1FF; box-shadow: 0 16px 34px -18px rgba(124,116,240,.95); } }
@keyframes npNodeEnd { 0%, 27%, 100% { transform: none; box-shadow: none; } 5%, 21% { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(165,161,255,.95); } }
.np-flow-track li:not(.end)::after { content: ""; position: absolute; left: 50%; bottom: -34px; width: 2px; height: 34px; background: rgba(255,255,255,.26); }
.np-flow-track li:not(.end)::before { content: ""; position: absolute; z-index: 1; left: 50%; bottom: -34px; width: 10px; height: 10px; margin-left: -4px; border-radius: 50%; background: #C7C3FA; box-shadow: 0 0 12px 3px rgba(165,161,255,.9); opacity: 0; animation: npDotY 8s linear infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes npDotY { 0%, 18% { opacity: 0; transform: translateY(-34px); } 20% { opacity: 1; transform: translateY(-30px); } 26% { opacity: 1; transform: translateY(0); } 28%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes npDotX { 0%, 18% { opacity: 0; transform: translateX(-34px); } 20% { opacity: 1; transform: translateX(-30px); } 26% { opacity: 1; transform: translateX(0); } 28%, 100% { opacity: 0; transform: translateX(0); } }
@media (min-width: 900px) {
  .np-flow-track li:not(.end)::after { left: auto; right: -40px; bottom: auto; top: 50%; width: 40px; height: 2px; }
  .np-flow-track li:not(.end)::before { left: auto; right: -40px; bottom: auto; top: 50%; margin: -4px 0 0; animation-name: npDotX; }
}
@media (prefers-reduced-motion: reduce) { .np-flow-track li, .np-flow-track li::before { animation: none; } }

/* Mission */
.mission { padding: 0 0 var(--section); }
.mission-inner { max-width: 900px; margin: 0 auto; text-align: center; display: grid; gap: 18px; justify-items: center; }
.mission-text { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.mission-text b { color: var(--indigo); font-weight: 700; }
.mission-sub { max-width: 60ch; font-size: 18px; line-height: 1.6; color: var(--gray); text-wrap: pretty; }

/* EFFEXO today */
.today { padding-top: 0; }
.effexo-card { position: relative; overflow: hidden; isolation: isolate; padding: 24px 22px 32px; border-radius: 32px; border: 1px solid var(--indigo-100); background: radial-gradient(70% 90% at 100% 0%, rgba(79,70,229,.16), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(79,70,229,.08), transparent 60%), var(--indigo-50); box-shadow: 0 30px 60px -40px rgba(31,27,115,.45); }
.effexo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(79,70,229,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(79,70,229,.07) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent); mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent); }
.effexo-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(79,70,229,.16); }
.effexo-top img { height: 26px; width: auto; }
.effexo-top span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-700); background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: var(--r-pill); }
@media (min-width: 900px) { .effexo-card { padding: 32px 56px 56px; } .effexo-top { margin-bottom: 8px; } }
.today-grid { display: grid; gap: 40px; align-items: center; }
.today-grid .lead { margin-top: 20px; }
.today-grid p + p { margin-top: 14px; }
.today-ctas { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 28px; }
@media (min-width: 900px) {
  .today-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
}

/* EFFEXO hexagon (copied from the EFFEXO homepage hero) */
.team-roles {position: relative; padding: 18px 18px 16px; border-radius: var(--r-xl); color: var(--ink); overflow: hidden;
  background: radial-gradient(55% 50% at 50% 48%, var(--indigo-50), transparent 75%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);}
.team-roles::before {content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(79,70,229,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(79,70,229,.06) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); pointer-events: none;}
.tr-map {position: relative; aspect-ratio: 1 / 1.02;}
.tr-lines {position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;}
.tr-lines polygon {fill: rgba(79,70,229,.07); stroke: var(--indigo); stroke-width: 2.5; stroke-linejoin: round;}
.tr-spoke {stroke: var(--indigo-200); stroke-width: 1.4; stroke-dasharray: 3 5; transition: stroke .45s var(--ease);}
.tr-spoke.on {stroke: var(--indigo); stroke-dasharray: none;}
.tr-hub {position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: grid; place-content: center; justify-items: center; gap: 8px; width: 118px; aspect-ratio: 1; border-radius: 22px; background: linear-gradient(180deg, var(--indigo), var(--indigo-600)); color: #fff; box-shadow: 0 0 0 7px rgba(79,70,229,.14), 0 20px 44px -18px rgba(79,70,229,.7); text-align: center; padding: 10px;}
.tr-hub b {font-size: 14.5px; line-height: 1.2;}
.tr-hub svg {width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;}
.tr-list {list-style: none; margin: 0; padding: 0;}
.tr-role {position: absolute; z-index: 1; transform: translate(-50%, -50%); width: clamp(112px, 31%, 158px); display: grid; justify-items: center; text-align: center; padding: 10px 10px 9px; border-radius: var(--r-md); background: var(--surface); border: 1px dashed var(--indigo-200); box-shadow: 0 8px 22px -14px rgba(31,27,110,.35); transition: background .45s var(--ease), border-color .45s var(--ease);}
.tr-role:nth-child(1) {left: 50%; top: 12%;}
.tr-role:nth-child(2) {left: 82%; top: 31%;}
.tr-role:nth-child(3) {left: 82%; top: 69%;}
.tr-role:nth-child(4) {left: 50%; top: 88%;}
.tr-role:nth-child(5) {left: 18%; top: 69%;}
.tr-role:nth-child(6) {left: 18%; top: 31%;}
.tr-role b {font-size: 13px; line-height: 1.25; font-weight: 600;}
.tr-state {position: relative; display: block; width: 100%; height: 22px; margin-top: 7px; font-style: normal;}
.tr-state em {position: absolute; left: 50%; top: 0; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; transform: translateX(-50%); transition: opacity .35s var(--ease), transform .35s var(--ease);}
.tr-state .off {color: var(--gray); border: 1px solid var(--line); background: var(--paper);}
.tr-state .on {background: var(--indigo); color: #fff; opacity: 0; transform: translate(-50%, 4px);}
.tr-state .on svg {width: 12px; height: 12px;}
.tr-role.on {background: var(--surface); border: 1.5px solid var(--indigo);}
.tr-role.on .off {opacity: 0; transform: translate(-50%, -4px);}
.tr-role.on .on {opacity: 1; transform: translateX(-50%);}
@media (max-width: 559px) {
  .team-roles {padding: 14px 10px 12px;}
  .tr-map {aspect-ratio: 1 / 1.22;}
  .tr-hub {width: 88px; border-radius: 18px; gap: 5px;}
  .tr-hub b {font-size: 12px;}
  .tr-hub svg {width: 22px; height: 22px;}
  .tr-role {width: 34%; padding: 7px 6px;}
  .tr-role b {font-size: 11.5px;}
  .tr-state {margin-top: 5px; height: 20px;}
  .tr-state em {height: 20px; font-size: 10px; padding: 0 7px;}
}
@media (prefers-reduced-motion: reduce) {
  .tr-role, .tr-state em, .tr-spoke {transition: none;}
}
.team-roles {background: none; border: 0; box-shadow: none; padding: 0; overflow: visible;}
.team-roles::before {display: none;}
.tr-role {background: var(--ink-deep); color: #fff; border: 1px solid var(--ink-deep); box-shadow: 0 12px 28px -16px rgba(10,10,10,.55);}
.tr-state .off {color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.22); background: transparent;}
.tr-state .on {background: #fff; color: var(--indigo);}
.tr-role.on {background: var(--ink-deep); border: 1px solid var(--ink-deep); box-shadow: 0 0 0 3px rgba(79,70,229,.35), 0 12px 28px -16px rgba(10,10,10,.55);}
.tr-hub {gap: 0;}
.tr-hub b {font-size: 16px;}
@media (max-width: 559px) {
  .team-roles {padding: 0;}
  .tr-hub b {font-size: 13px;}
}
@media (max-width: 559px) {
  .team-roles {width: 100%; max-width: 320px; margin: 0 auto;}
  .tr-map {aspect-ratio: 1 / 1.25;}
  .tr-role {width: 33%; padding: 6px 5px;}
  .tr-role b {font-size: 10.5px;}
  .tr-state {height: 18px; margin-top: 4px;}
  .tr-state em {height: 18px; font-size: 9.5px; padding: 0 6px;}
  .tr-hub {width: 80px;}
}
.tr-lines .tr-flow {fill: none; stroke: #fff; stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 7 93; animation: tr-flow 8s linear infinite; filter: drop-shadow(0 0 3px rgba(79,70,229,1)) drop-shadow(0 0 8px rgba(111,102,231,.9));}
@keyframes tr-flow { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
  .tr-lines .tr-flow {display: none;}
}
@media (min-width: 1000px) {
  .tr-map {aspect-ratio: 1 / 0.98;}
  .tr-role {width: clamp(118px, 25%, 152px); padding: 9px 10px 8px;}
  .tr-role b {font-size: 13px; line-height: 1.25;}
  .tr-role:nth-child(1) {left: 50%; top: 9%;}
  .tr-role:nth-child(2) {left: 87%; top: 30%;}
  .tr-role:nth-child(3) {left: 87%; top: 70%;}
  .tr-role:nth-child(4) {left: 50%; top: 91%;}
  .tr-role:nth-child(5) {left: 13%; top: 70%;}
  .tr-role:nth-child(6) {left: 13%; top: 30%;}
  .tr-hub {width: 108px;}
  .tr-hub b {font-size: 15px;}
}
.tr-role:nth-child(1) {left: 50%; top: 9%;}
.tr-role:nth-child(2) {left: 87%; top: 30%;}
.tr-role:nth-child(3) {left: 87%; top: 70%;}
.tr-role:nth-child(4) {left: 50%; top: 91%;}
.tr-role:nth-child(5) {left: 13%; top: 70%;}
.tr-role:nth-child(6) {left: 13%; top: 30%;}
@media (max-width: 999px) {
  .tr-role {width: 27%;}
}
@media (max-width: 559px) {
  .tr-role {width: 29%;}
}

.today .team-roles { max-width: 540px; margin: 0 auto; }

/* Logos: two moving rows */
.logo-rows { display: grid; gap: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 66s; }
.logo-rows:hover .marquee-track { animation-play-state: paused; }
.marquee-list { list-style: none; margin: 0; padding: 0 12px 0 0; display: flex; gap: 12px; }
.marquee-list li { flex: none; width: 180px; height: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; place-items: center; padding: 14px 22px; }
.marquee-list img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee-list li:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 900px) { .marquee-list li { width: 220px; height: 104px; } .logo-rows { gap: 14px; } .marquee-list { gap: 14px; padding-right: 14px; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl { display: grid; gap: 6px 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tl-years { font-size: 14px; font-weight: 600; color: var(--gray); font-feature-settings: "tnum" 1; }
.tl-role { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.tl-role span { color: var(--gray); font-weight: 500; }
.tl-desc { font-size: 15px; color: var(--gray); }
.tl-now { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.tl-now .tl-years, .tl-now .tl-desc, .tl-now .tl-role span { color: rgba(255,255,255,.65); }
.tl-now a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--indigo-300); }
.tl-pill { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--indigo); color: #fff; font-size: 12px; font-weight: 600; vertical-align: 3px; letter-spacing: 0; }
@media (min-width: 800px) {
  .tl { grid-template-columns: 160px 1fr; align-items: baseline; padding: 26px 32px; }
  .tl-desc { grid-column: 2; }
}

/* Cases */
.cases { display: grid; gap: 16px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 16px 16px 26px; display: flex; flex-direction: column; }
.case-body { padding: 4px 8px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.case-stat { font-size: clamp(56px, 7vw, 76px); line-height: .92; font-weight: 800; letter-spacing: -0.045em; font-feature-settings: "tnum" 1; margin-top: 10px; }
.case-stat small { font-size: .45em; letter-spacing: -0.02em; }
.case-cap { font-size: 17px; font-weight: 500; line-height: 1.35; }
.case-text { font-size: 15px; line-height: 1.6; color: var(--gray); padding-top: 14px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .case-cap { min-height: 2.7em; } }
.case-by { font-size: 13px; color: var(--gray); margin-top: 10px; padding: 0 8px; }
.case-by b { color: var(--ink); font-weight: 600; }
.case-by.has-logo { display: flex; align-items: center; gap: 12px; }
.case-logo { flex: none; width: 76px; height: 44px; display: grid; place-items: center; padding: 6px 8px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.case-icon { color: var(--indigo); background: var(--indigo-50); border-color: var(--indigo-100); }
.case-icon svg { width: 22px; height: 22px; }
.case-logo img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.yt, .yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--ink-deep); }
.yt { position: relative; padding: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .85; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; transition: transform .25s var(--ease); }
.yt:hover .yt-play { transform: scale(1.08); }
.yt-play svg { width: 26px; height: 26px; margin-left: 3px; }
.yt-label { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(10,10,10,.7); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
@media (min-width: 760px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cases { grid-template-columns: repeat(6, minmax(0, 1fr)); } .case { grid-column: span 2; } .case:nth-child(4) { grid-column: 2 / span 2; } }

/* Skills */
.skills-grid { display: grid; gap: 16px; }
.skill-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; }
.skill-card h3 { font-size: 20px; line-height: 1.25; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.skill-card h3 i { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; }
.skill-card h3 svg { width: 20px; height: 20px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.langs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.langs li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-weight: 500; }
.langs small { font-size: 13px; color: var(--gray); }
.langs .meter { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.langs .meter i { display: block; height: 100%; background: var(--indigo); border-radius: inherit; }
@media (min-width: 900px) { .skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* LinkedIn block */
.li-block { margin-top: 16px; display: grid; gap: 16px; }

/* FAQ page + footer links */
.faq-page { padding-top: 48px; }
.back-link { margin-bottom: 28px; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
/* FAQ */
.faq-wrap { max-width: 920px; }
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 22px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.faq-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--indigo-50); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--indigo); transition: transform .25s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-item p { padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--gray); max-width: 70ch; }

/* Contact */
.contact { background: var(--ink-deep); color: #fff; }
.contact-grid { display: grid; gap: 40px; padding-top: var(--section); padding-bottom: var(--section); }
.ideas { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; padding: 14px 22px 14px 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); width: fit-content; max-width: 100%; }
.ideas b { font-size: 44px; line-height: .8; font-weight: 800; color: var(--indigo-300); }
.ideas span { font-size: 15px; line-height: 1.35; font-weight: 500; color: rgba(255,255,255,.85); }
.contact .eyebrow { color: rgba(255,255,255,.55); }
.contact h2 { margin-top: 16px; }
.contact p.lead { margin-top: 20px; color: rgba(255,255,255,.75); max-width: 46ch; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.contact .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.contact-list li { border-top: 1px solid rgba(255,255,255,.12); }
.contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 16px 0; color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--indigo-200); }
.contact-list svg { width: 20px; height: 20px; color: var(--indigo-300); }
.contact-list small { margin-left: auto; color: rgba(255,255,255,.45); font-size: 13px; font-weight: 500; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 96px; align-items: center; } }

.footer { background: var(--ink-deep); color: rgba(255,255,255,.5); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.footer a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 8px; }
.footer a:hover { color: #fff; }
.footer img { height: 18px; width: auto; }

/* Sticky CTA on phones */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .35s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(79,70,229,.35); }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { .footer .wrap { padding-bottom: 96px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .badge-open i { animation: none; } }

/* 94n */
.portrait-roles { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-direction: column; padding: 4px; border-radius: var(--r-md); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.portrait-roles a { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; border-radius: 10px; color: var(--ink); font-size: 12px; line-height: 1.2; color: var(--gray); }
.portrait-roles a + a { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.portrait-roles a:hover { background: var(--indigo-50); color: var(--gray); }
.portrait-roles img { width: 26px; height: 26px; flex: none; }
.portrait-roles b { display: block; font-size: 13.5px; color: var(--ink); }
@media (min-width: 900px) { .portrait-roles { top: auto; bottom: 12%; left: -44px; background: #fff; box-shadow: 0 24px 48px -20px rgba(31,27,115,.35), 0 0 0 1px var(--line); } .portrait-roles a { padding: 9px 16px 9px 10px; } .portrait-roles img { width: 30px; height: 30px; } .portrait-roles b { font-size: 14.5px; } }
.n94-card { margin-top: 20px; display: grid; grid-template-columns: 1fr; gap: 16px 20px; align-items: center; padding: 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(31,27,115,.4); scroll-margin-top: 96px; }
.n94-logo { width: 52px; height: 52px; }
.n94-body { display: flex; flex-direction: column; gap: 8px; }
.n94-pill { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--indigo); padding: 5px 12px; border-radius: var(--r-pill); }
.n94-title { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.n94-body p { color: var(--gray); font-size: 16px; line-height: 1.55; max-width: 640px; }
.n94-btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) { .n94-card { grid-template-columns: auto 1fr auto; padding: 28px 40px; gap: 32px; } .n94-logo { width: 72px; height: 72px; } .n94-btn { grid-column: auto; } }

/* Language switch */
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255,255,255,.6); }
.lang-switch a { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; line-height: 1; padding: 6px 9px; border-radius: var(--r-pill); color: var(--gray); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.nav a, .header .btn-ink { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1239px) { .nav { gap: 18px; } .nav a { font-size: 14px; } .header-right { margin-left: 20px; gap: 12px; } .header .btn-ink { padding: 10px 14px; font-size: 14px; } }
/* Case cards: rows aligned across cards (subgrid) */
@media (min-width: 760px) {
  @supports (grid-template-rows: subgrid) {
    .cases { row-gap: 16px; }
    .case { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; align-content: start; }
    .case-body { display: contents; }
    .case-body > * { padding-left: 8px; padding-right: 8px; }
    .case-top { margin-top: 22px; align-self: start; }
    .case-stat { margin-top: 22px; align-self: end; }
    .case-cap { margin-top: 12px; min-height: 0; }
    .case-text { margin: 12px 8px 0; padding-left: 0; padding-right: 0; align-self: start; }
    .case-by { align-self: center; }
  }
}
@media (min-width: 760px) { .case-top { flex-direction: column; align-items: flex-start; gap: 8px; } }
