/* ==========================================================================
   ivan.agency
   ========================================================================== */

:root {
  --bg: #041728;
  --bg-2: #082138;
  --bg-3: #0c2a46;
  --line: rgba(244, 241, 234, 0.1);
  --line-2: rgba(244, 241, 234, 0.18);
  --text: #f4f1ea;
  --muted: #8d9db1;
  --dim: #3f5873;
  --accent: #f1605f;
  --accent-2: #ff9d8a;
  --violet: #7b5cff;
  --accent-soft: rgba(241, 96, 95, 0.15);
  --on-accent: #041728;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- Ambient layers ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 4%); }
  40% { transform: translate(3%, -6%); }
  60% { transform: translate(-4%, 2%); }
  80% { transform: translate(6%, 5%); }
}

.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(241, 96, 95, 0.09), transparent 62%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  transition: opacity 0.4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: transform;
}
.btn--small { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 40px -10px rgba(241, 96, 95, 0.6); }
.btn--accent:hover { background: #f47776; box-shadow: 0 14px 50px -8px rgba(241, 96, 95, 0.75); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(244, 241, 234, 0.04); }

.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.arrow--diag { width: 16px; height: 16px; }
a:hover .arrow--diag, .btn:hover .arrow--diag { transform: translate(3px, -3px); }

.text-link { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color 0.3s, color 0.3s; }
.text-link:hover { border-color: var(--accent); color: var(--accent); }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.dot--live { background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: live 2.2s infinite; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%;
  z-index: 50;
  width: min(calc(100% - 28px), 1240px);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.5s var(--ease), border-color 0.5s, backdrop-filter 0.5s, top 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(4, 23, 40, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav.is-hidden { top: -90px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.brand-mark { width: auto; height: 28px; transition: transform 0.6s var(--ease); }
.nav__brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.mobile-menu__logo { width: 44px; height: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(244, 241, 234, 0.06); }
.nav .btn { gap: 9px; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.menu-open .nav__toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px var(--pad) 40px;
  background: rgba(4, 23, 40, 0.97);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(42px, 11vw, 64px); line-height: 1.15;
  transform: translateY(20px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s;
}
.mobile-menu nav a:hover { color: var(--accent); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.16s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: 0.2s; }
.menu-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.reveal-up { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d, 0s) + 0.15s); }
.is-loaded .reveal-up { transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; pointer-events: none; }
.hero__orb--a { width: 620px; height: 620px; right: -140px; top: -120px; background: radial-gradient(circle at 40% 40%, rgba(241, 96, 95, 0.55), rgba(255, 157, 138, 0.15) 50%, transparent 70%); animation: float-a 18s var(--ease-io) infinite alternate; }
.hero__orb--b { width: 520px; height: 520px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgba(123, 92, 255, 0.35), transparent 65%); animation: float-b 22s var(--ease-io) infinite alternate; }
@keyframes float-a { to { transform: translate(-120px, 120px) scale(1.12); } }
@keyframes float-b { to { transform: translate(140px, -80px) scale(0.9); } }

.hero__inner { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(244, 241, 234, 0.03);
  backdrop-filter: blur(6px);
  font-size: 13px; color: var(--muted);
  margin-bottom: 36px;
}

.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(44px, 8.4vw, 136px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero__title em { font-size: 1.06em; letter-spacing: -0.02em; color: var(--accent); }

.rotator { position: relative; display: inline-block; white-space: nowrap; }
.rotator__word { display: inline-block; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), filter 0.6s; }
.rotator__word.is-out { transform: translateY(-40%); opacity: 0; filter: blur(8px); }
.rotator__word.is-pre { transform: translateY(40%); opacity: 0; filter: blur(8px); transition: none; }

.hero__foot {
  display: grid; grid-template-columns: minmax(0, 1.1fr) auto; align-items: end; gap: 40px;
  margin-top: 56px;
}
.hero__lede { max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.6; }
.hero__lede strong { color: var(--text); font-weight: 500; }
.hl { color: var(--text); padding: 0 3px; margin: 0 -1px; border-radius: 4px; background: rgba(241, 96, 95, 0.12); box-shadow: inset 0 -1px 0 rgba(241, 96, 95, 0.35); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 80px 0 0;
  border-top: 1px solid var(--line);
}
.stat { padding: 26px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin: 10px 0 0; font-size: clamp(38px, 4.4vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats--5 { grid-template-columns: repeat(5, 1fr); }
.stats--5 .stat dd { font-size: clamp(36px, 3.8vw, 56px); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.scroll-cue__line { width: 1px; height: 44px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  padding: 30px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); line-height: 1; padding: 0 34px; color: var(--text); transition: color 0.3s; }
.marquee__group span:nth-child(4n+1) { font-style: italic; }
.marquee__group i { font-style: normal; color: var(--accent); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(100px, 14vw, 180px) 0; }
.section-label { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.section-label .mono { color: var(--accent); }
.section-label span:last-child::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); vertical-align: middle; margin-right: 12px; }

.display {
  font-size: clamp(42px, 6.4vw, 96px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.display em { color: var(--accent); letter-spacing: -0.015em; }
.mega { font-size: clamp(52px, 8.6vw, 140px); font-weight: 500; line-height: 0.92; letter-spacing: -0.045em; }
.mega em { color: var(--accent); letter-spacing: -0.02em; }

.section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.section-head--split { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; }
.section-intro { color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); max-width: 520px; }
.section-head:not(.section-head--split) .section-intro { margin-top: 28px; }

/* ---------- About ---------- */
.manifesto {
  font-size: clamp(28px, 3.9vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 1150px;
}
.manifesto .w { color: var(--dim); transition: color 0.35s; }
.manifesto .w.is-lit { color: var(--text); }
.manifesto .w.is-key { font-family: var(--serif); font-style: italic; letter-spacing: -0.01em; }
.manifesto .w.is-key.is-lit { color: var(--accent); }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(72px, 9vw, 120px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.role { background: var(--bg); padding: 40px 36px 44px; transition: background 0.5s var(--ease); }
.role:hover { background: var(--bg-2); }
.role__idx { color: var(--accent); }
.role h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; margin: 60px 0 14px; line-height: 1.15; }
.role p { color: var(--muted); font-size: 16px; }

/* ---------- Spotlight cards ---------- */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(241, 96, 95, 0.11), transparent 45%);
  opacity: 0; transition: opacity 0.5s;
}
.spotlight::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(241, 96, 95, 0.6), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s;
}
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  display: flex; flex-direction: column;
  padding: 34px 32px 32px;
  min-height: 420px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.service:hover { transform: translateY(-6px); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--muted); }
.service__icon { width: 52px; height: 52px; fill: none; stroke: var(--text); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.8s var(--ease), stroke 0.4s; }
.service__icon .fill { fill: var(--accent); stroke: var(--accent); }
.service__icon .fill-soft { fill: var(--accent-soft); stroke: var(--accent); }
.service__icon .accent-stroke { stroke: var(--accent); }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.08); }
.service h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin: auto 0 14px; padding-top: 56px; }
.service p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tags li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: border-color 0.3s, color 0.3s; }
.service:hover .tags li { border-color: var(--line-2); color: var(--text); }

/* ---------- Ventures ---------- */
.venture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.venture {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  transition: transform 0.7s var(--ease), border-color 0.4s;
}
.venture:hover { transform: translateY(-6px); }
.venture__art {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform 1.2s var(--ease);
}
.venture__body { padding: 32px 34px 36px; display: flex; flex-direction: column; flex: 1; }
.venture__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); margin-bottom: 18px; }
.venture__meta span:first-child { color: var(--accent); }
.venture h3 { font-size: clamp(36px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
.venture p { color: var(--muted); font-size: 16px; max-width: 520px; }
.venture__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 28px; font-size: 15px; }
.venture:hover .venture__link .arrow--diag { transform: translate(3px, -3px); }
.venture__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: auto; padding-top: 28px; }
.venture__links .venture__link { padding-top: 0; transition: color 0.3s; }
.venture__links .venture__link .arrow--diag { transform: none; }
.venture__links .venture__link:hover { color: var(--accent); }
.venture__links .venture__link:hover .arrow--diag { transform: translate(3px, -3px); }

/* Venture art */
.venture--engineers .venture__art { background: radial-gradient(circle at 50% 50%, rgba(190, 30, 45, 0.2), transparent 55%), #051a2e; }
.art-iso {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 35%, transparent 100%);
}
.art-iso pattern path { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 0.6; }
.art-iso use { opacity: 0; animation: iso-blink 7s var(--ease-io) infinite; animation-delay: calc(var(--i) * -0.9s); }
.venture--engineers:hover .art-iso use { animation-duration: 3.5s; }
@keyframes iso-blink { 0%, 100% { opacity: 0; } 40%, 60% { opacity: 0.55; } }
.art-brand--engineers { position: relative; width: min(62%, 250px); filter: drop-shadow(0 0 26px rgba(200, 16, 46, 0.45)); }
.venture--engineers:hover .art-brand { transform: scale(1.05); }

.venture--gametime .venture__art { background: linear-gradient(135deg, #1a1b31, #051a2e 60%); }
.art-court { width: 100%; height: 100%; fill: none; stroke: rgba(241, 96, 95, 0.45); stroke-width: 1.2; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.venture--gametime:hover .art-court { transform: scale(1.12) rotate(-1deg); }

.venture--cliniclink .venture__art { display: flex; flex-direction: column; justify-content: center; gap: 22px; background: radial-gradient(circle at 50% 50%, rgba(1, 167, 194, 0.16), transparent 60%), #051a2e; }
.art-brand { width: min(62%, 240px); height: auto; filter: drop-shadow(0 0 28px rgba(1, 167, 194, 0.35)); transition: transform 1.2s var(--ease); }
.venture--cliniclink:hover .art-brand { transform: scale(1.05); }
.art-pulse { width: 100%; height: 90px; fill: none; stroke: #01a7c2; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: pulse-draw 3.2s var(--ease-io) infinite; filter: drop-shadow(0 0 10px rgba(1, 167, 194, 0.6)); }
@keyframes pulse-draw { 0% { stroke-dashoffset: 700; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -700; } }

.venture--origen .venture__art { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; background: radial-gradient(circle at 50% 50%, rgba(252, 184, 22, 0.16), transparent 60%), #051a2e; }
.art-orbit {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 40%, transparent 100%);
}
.art-orbit__ring { fill: none; stroke: rgba(252, 184, 22, 0.22); stroke-width: 1; }
.art-orbit__ring--dash { stroke: rgba(255, 255, 255, 0.12); stroke-dasharray: 2 6; }
.art-orbit__node circle { fill: #fcb816; }
.art-orbit__node text { fill: rgba(255, 255, 255, 0.55); font: 500 9px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.art-orbit__node:not(.art-orbit__node--hot) circle { fill: #fff; }
.art-orbit__node--hot text { fill: #fcb816; }
.art-brand--gametime { position: relative; width: min(62%, 260px); filter: drop-shadow(0 0 28px rgba(252, 184, 22, 0.3)); }
.venture--origen:hover .art-brand { transform: scale(1.05); }
/* ---------- Clients ---------- */
.client-list { border-top: 1px solid var(--line); }
.client { border-bottom: 1px solid var(--line); }
.client a {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1.3fr) 48px;
  align-items: center; gap: 24px;
  padding: 38px 0;
  overflow: hidden;
}
.client a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--accent-soft), transparent 70%);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.client a:hover::before { transform: scaleY(1); }
.client__idx { color: var(--muted); padding-left: 8px; }
.client__name { font-size: clamp(30px, 3.6vw, 54px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; transition: transform 0.6s var(--ease), color 0.3s; }
.client a:hover .client__name { transform: translateX(14px); }
.client__sector { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); }
.client__desc { color: var(--muted); font-size: 15px; }
.client__go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.client a:hover .client__go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.industries { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; color: var(--muted); }
.industries span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }

/* ---------- Partner ---------- */
.partner { padding-top: 0; }
.partner-card {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  padding: clamp(40px, 6vw, 88px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, #161a30 0%, var(--bg-2) 50%, #061c33 100%);
  overflow: hidden;
}
.partner-card__glow { position: absolute; width: 600px; height: 600px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 96, 95, 0.28), transparent 65%); filter: blur(30px); pointer-events: none; z-index: -1; }
.partner-card .display { font-size: clamp(48px, 6vw, 92px); }
.partner-card__right { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.partner-card__right p { color: var(--muted); }
.partner-card .lead { color: var(--text); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; letter-spacing: -0.01em; }
.partner-card .lead strong { color: var(--accent); font-weight: 500; }
.partner-points { display: grid; gap: 10px; margin: 6px 0 14px; }
.partner-points li { display: flex; gap: 12px; align-items: baseline; }
.partner-points .mono { color: var(--accent); }

/* ---------- Journey ---------- */
.timeline { --rail: 190px; position: relative; isolation: isolate; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 8px; bottom: 8px; left: var(--rail); width: 1px; }
.timeline::after { background: var(--line); z-index: -1; }
.timeline::before { background: linear-gradient(180deg, var(--line-2), var(--accent)); transform-origin: top; transform: scaleY(var(--progress, 0)); transition: transform 0.2s linear; }
.tl { position: relative; display: grid; grid-template-columns: var(--rail) 1fr; padding: 0 0 44px; }
.tl::before { content: ""; position: absolute; top: 4px; left: calc(var(--rail) - 7px); width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background 0.4s, border-color 0.4s; }
.tl.is-in::before { border-color: var(--accent); background: var(--accent-soft); }
.tl--now::before { background: var(--accent) !important; box-shadow: 0 0 0 6px var(--accent-soft); }
.tl__year { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--accent); font-size: 13px; padding-top: 3px; padding-right: 32px; }
.tl > div { padding-left: 44px; max-width: 760px; }
.tl h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 8px; }
.tl p { color: var(--muted); font-size: 16px; }

/* ---------- Alma ---------- */
.alma { padding-top: 0; }
.alma-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.alma-card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px;
  background: var(--bg-2);
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.alma-card h3 { font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin: 16px 0 18px; }
.alma-card p { color: var(--muted); margin-bottom: 28px; }
.alma-card .text-link { margin-top: auto; }
.alma-card--edu { background: linear-gradient(160deg, #0b2742, var(--bg-2)); }
.alma-card--court { background: radial-gradient(ellipse at 70% 30%, rgba(241, 96, 95, 0.16), transparent 60%), #0a1c31; }
.court-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(241, 96, 95, 0.22); stroke-width: 1.2; z-index: -1; }
.alma-card__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; flex: 1; }
.alma-card blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; max-width: 30ch; color: var(--text); }

/* ---------- Principles ---------- */
.principles { padding-top: 40px; }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.principle { position: relative; padding: 44px 40px 48px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; }
.principle:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
.principle__n { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--accent); line-height: 1; }
.principle h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 12px; }
.principle p { color: var(--muted); }

/* ---------- Engage ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 38px 34px 34px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2);
  transition: transform 0.6s var(--ease);
}
.plan:hover { transform: translateY(-6px); }
.plan--featured { background: linear-gradient(180deg, #1d1d33, #0a1f35); border-color: rgba(241, 96, 95, 0.35); }
.plan__badge { position: absolute; top: 20px; right: 20px; font-size: 10px; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.plan__kicker { color: var(--accent); }
.plan h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; margin: 14px 0 24px; line-height: 1.1; }
.plan__time { color: var(--muted); padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan__time .big { display: block; font-size: 56px; color: var(--text); font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.plan > p:not(.plan__time) { color: var(--muted); font-size: 16px; }
.plan ul { display: grid; gap: 10px; margin: 24px 0 32px; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.plan li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23f1605f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { margin-top: auto; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact__orb { position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 96, 95, 0.18), rgba(123, 92, 255, 0.08) 45%, transparent 68%); filter: blur(40px); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact__left .section-intro { margin: 32px 0 40px; }
.contact__links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-bottom: 28px; }
.contact__email { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: color 0.3s, border-color 0.3s; }
.contact__email:hover { color: var(--accent); border-color: var(--accent); }

.contact-form {
  display: grid; gap: 14px;
  padding: 34px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(8, 33, 56, 0.7);
  backdrop-filter: blur(14px);
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit; font-size: 16px;
  resize: vertical;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea { min-height: 130px; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #03131f; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform 0.3s var(--ease), color 0.3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(0.74); color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff4d4d; }

.chips { border: 0; padding: 6px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 12px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--muted); transition: all 0.3s var(--ease); }
.chips label:hover span { color: var(--text); border-color: var(--text); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { min-height: 1em; text-align: center; text-transform: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 32px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col .mono { margin-bottom: 8px; }
.footer__col a { color: var(--text); width: fit-content; transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 44px); margin: 80px 0 40px; }
.footer__brand img { width: clamp(52px, 11vw, 176px); height: auto; flex: none; }
.footer__word {
  font-size: clamp(56px, 14vw, 230px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.8;
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, var(--text) 30%, rgba(244, 241, 234, 0.05));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__word .accent { -webkit-text-fill-color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); text-transform: none; }
.to-top:hover { color: var(--text); }

/* ---------- Placeholders ---------- */
[data-placeholder] { border-style: dashed !important; border-color: var(--line-2) !important; opacity: 0.6; }
[data-placeholder].is-in { opacity: 0.6; }
.reveal[data-placeholder]:not(.is-in) { opacity: 0; }

/* ---------- Situations ---------- */
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.situation {
  display: flex; flex-direction: column;
  padding: 30px 30px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease), border-color 0.4s, filter 0.4s;
}
.situation--wide { grid-column: span 3; }
.situation--wide dl { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
.situation--wide dl dt { grid-row: 1; }
.situation--wide dl dd { grid-row: 2; }
.situation__n { color: var(--accent); }
.situation h3 { font-size: 25px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin: 22px 0 22px; }
.situation dl { margin: 0 0 22px; }
.situation dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #6f86a1; margin-top: 14px; }
.situation dt:first-child { margin-top: 0; }
.situation dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.situation__roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.situation__roles li { font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); }
.situation-grid.has-focus .situation { opacity: 0.28; filter: saturate(0.5); }
.situation-grid.has-focus .situation.is-match { opacity: 1; filter: none; border-color: rgba(241, 96, 95, 0.6); transform: translateY(-4px); }

/* ---------- Roles list ---------- */
.roles-section { padding-top: 0; }
.role-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.role-list li { display: flex; border-bottom: 1px solid var(--line); }
.role-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.role-item {
  position: relative;
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 4px; align-content: start;
  padding: 26px 28px;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.role-item::after { content: "→"; position: absolute; right: 28px; top: 50%; transform: translate(-8px, -50%); opacity: 0; color: var(--accent); transition: transform 0.4s var(--ease), opacity 0.4s; }
.role-item > .mono { grid-row: span 2; color: var(--accent); padding-top: 6px; }
.role-item strong { font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.role-item > span:nth-of-type(2) { color: var(--muted); font-size: 15px; padding-right: 32px; }
.role-item__answers { grid-column: 2; margin-top: 8px; font-style: normal; font-size: 10.5px; color: var(--accent); opacity: 0.85; }
.role-item:hover, .role-item:focus-visible, .role-item[aria-pressed="true"] { background: var(--accent-soft); }
.role-item:hover::after, .role-item:focus-visible::after, .role-item[aria-pressed="true"]::after { opacity: 1; transform: translate(0, -50%); }

/* ---------- Method steps ---------- */
.method { padding-top: 40px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; isolation: isolate; }
.steps::before, .steps::after { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; }
.steps::after { background: var(--line); z-index: -1; }
.steps::before { background: linear-gradient(90deg, var(--line-2), var(--accent)); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 0.2s linear; }
.step { position: relative; padding-top: 44px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background 0.4s, border-color 0.4s; }
.step.is-in::before { border-color: var(--accent); background: var(--accent-soft); }
.step__week { color: var(--accent); }
.step h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; margin: 14px 0 14px; }
.step p { color: var(--muted); font-size: 15px; }
.method__after { margin-top: 56px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); color: var(--text); max-width: 820px; }

/* ---------- AI ---------- */
.ai-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.ai-list { border-top: 1px solid var(--line); }
.ai-list li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease); }
.ai-list li:hover { padding-left: 10px; }
.ai-list .mono { color: var(--accent); padding-top: 5px; }
.ai-list h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 4px; }
.ai-list p { color: var(--muted); font-size: 15px; }
.ai-proof {
  position: sticky; top: 110px;
  padding: 34px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(circle at 20% 0%, rgba(123, 92, 255, 0.18), transparent 55%), var(--bg-2);
}
.ai-proof > h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin: 14px 0 24px; }
.ai-proof__item { padding: 20px 0; border-top: 1px solid var(--line); }
.ai-proof__item strong { font-size: 18px; font-weight: 500; }
.ai-proof__item p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.ai-proof__stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--muted); }
.ai-proof__stats b { color: var(--accent); font-weight: 500; font-size: 20px; margin-right: 4px; }

/* ---------- Industries map ---------- */
.map__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.map__chip { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--muted); transition: all 0.3s var(--ease); }
.map__chip:hover { color: var(--text); border-color: var(--text); }
.map__chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.map__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 132px; padding: 18px 18px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-2);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s;
}
.tile strong { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.tile small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.tile__dots { display: flex; gap: 5px; }
.tile__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.tile__dots i.on { background: var(--c); }
.tile.is-off { opacity: 0.22; transform: scale(0.98); }
.tile.is-hit { border-color: rgba(241, 96, 95, 0.5); }
.lg { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 6px 0 14px; vertical-align: 1px; }
.lg:first-child { margin-left: 0; }
.lg--p, [data-k="p"] { --c: #f1605f; background: var(--c); }
.lg--d, [data-k="d"] { --c: #ff9d8a; background: var(--c); }
.lg--e, [data-k="e"] { --c: #7fb2ff; background: var(--c); }
.lg--a, [data-k="a"] { --c: #a68bff; background: var(--c); }
.tile__dots i:not(.on) { background: var(--line) !important; }
.map__legend { margin-top: 20px; text-transform: none; }

/* ---------- Venture extras ---------- */
.venture--agency .venture__art { background: radial-gradient(circle at 50% 60%, rgba(241, 96, 95, 0.22), transparent 60%), #051a2e; }
.art-logo { width: 110px; height: auto; filter: drop-shadow(0 0 40px rgba(241, 96, 95, 0.45)); transition: transform 1.2s var(--ease); }
.venture--agency:hover .art-logo { transform: scale(1.08) rotate(-4deg); }
.venture__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.venture__subs li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; color: var(--text); }
.venture__subs li:first-child { border-color: rgba(252, 184, 22, 0.5); }

/* ---------- Selected work ---------- */
.work-more { margin-top: 72px; }
.work-more__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.work-more__head h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.035em; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.work-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.work-card strong { font-size: 18px; font-weight: 500; margin-top: 16px; }
.work-card > span:last-child { color: var(--muted); font-size: 14px; }
.work-card__status { align-self: flex-start; font-size: 10px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.work-card__status[data-status="active"] { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); }
.work-card__status[data-status="raised"] { color: var(--accent-2); border-color: rgba(255, 157, 138, 0.4); }
.work-card__status[data-status="exited"] { color: #a68bff; border-color: rgba(166, 139, 255, 0.4); }

.outcomes { margin-top: 56px; padding: 32px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--bg-2), var(--bg)); display: grid; grid-template-columns: 1fr; gap: 28px; }
.outcomes__lead { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.outcomes ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.outcomes li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid var(--line-2); }
.outcomes strong { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.outcomes li:last-child strong { color: var(--accent); }
.outcomes span { color: var(--muted); font-size: 14px; }

/* ---------- Writing ---------- */
.writing { margin-top: 72px; }
.writing__label { display: block; margin-bottom: 18px; }
.writing__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.writing__list li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.writing__list strong { font-size: 18px; font-weight: 500; margin-top: 8px; }
.writing__list li > span:last-child { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .client a { grid-template-columns: 44px 1fr auto; row-gap: 8px; padding: 30px 0; }
  .client__sector { grid-column: 2; grid-row: 2; }
  .client__desc { grid-column: 2; grid-row: 3; max-width: 520px; }
  .client__go { grid-column: 3; grid-row: 1 / span 3; }
  .situation-grid { grid-template-columns: repeat(2, 1fr); }
  .situation--wide { grid-column: span 2; }
  .map__grid { grid-template-columns: repeat(4, 1fr); }
  .ai-layout { grid-template-columns: 1fr; }
  .ai-proof { position: relative; top: 0; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .writing__list { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__toggle { display: block; }
  .nav { padding: 8px 8px 8px 18px; }
  .hero__foot { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 26px; }
  .stats--5 .stat:last-child { grid-column: span 2; }
  .section-head--split { grid-template-columns: 1fr; gap: 28px; }
  .roles { grid-template-columns: 1fr; }
  .role h3 { margin-top: 32px; }
  .venture-grid { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 1fr; gap: 36px; }
  .alma-grid { grid-template-columns: 1fr; }
  .principle-list { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 36px 0; border-left: 0; }
  .plans { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .role-list { grid-template-columns: 1fr; }
  .role-list li:nth-child(odd) { border-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .steps::before, .steps::after { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .steps::before { background: linear-gradient(180deg, var(--line-2), var(--accent)); transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .step { padding: 0 0 40px; }
  .step::before { left: -36px; top: 2px; }
  .timeline { --rail: 120px; }
  .work-more__head { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { padding-top: 40px; }
  .venture__art { height: 220px; }
  .venture__body, .service, .plan, .alma-card { padding-left: 24px; padding-right: 24px; }
  .venture__meta { flex-direction: column; gap: 4px; }
  .contact-form { padding: 22px; }
  .footer__top { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .situation-grid { grid-template-columns: 1fr; }
  .situation--wide { grid-column: auto; }
  .situation--wide dl { display: block; }
  .situation { padding: 26px 24px; }
  .role-item { padding: 22px 8px; grid-template-columns: 36px 1fr; }
  .role-item::after { right: 8px; }
  .map__grid { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 116px; padding: 16px 14px 14px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .writing__list { grid-template-columns: 1fr; }
  .outcomes { padding: 26px 22px; }
  .outcomes ul { grid-template-columns: repeat(2, 1fr); }
  .ai-proof { padding: 26px 22px; }
  .timeline { --rail: 0px; padding-left: 32px; }
  .timeline::before, .timeline::after { left: 7px; }
  .tl { grid-template-columns: 1fr; padding-bottom: 36px; }
  .tl::before { left: -32px; }
  .tl__year { padding: 0 0 6px; }
  .tl > div { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-up { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .art-iso use { animation: none; opacity: 0.4; }
}
