@charset "UTF-8";

/* ---------- Brand tokens ---------- */
:root {
  --cobalt: #1E4FFF;
  --cobalt-deep: #1638C7;
  --cobalt-soft: #7D97FF;
  --graphite: #0B0D10;
  --graphite-2: #13161B;
  --slate: #6B7280;
  --slate-light: #A1A7B3;
  --stone: #E5E7EB;
  --offwhite: #FAFAF8;
  --paper: #F3F3F0;

  --line-dark: rgba(250, 250, 248, .12);
  --line-light: rgba(11, 13, 16, .1);

  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --fs-label: 11px;
  --fs-body: clamp(15px, 1.05vw, 17px);
  --fs-lead: clamp(18px, 1.5vw, 22px);
  --fs-h3: clamp(18px, 1.35vw, 21px);
  --fs-section: clamp(32px, 4vw, 56px);
  --fs-display: clamp(44px, 6.2vw, 94px);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: clamp(88px, 11vw, 160px);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --header-h: 76px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--offwhite);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 10px 16px; background: var(--offwhite); color: var(--graphite); border-radius: 999px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--cobalt-soft); outline-offset: 3px; border-radius: 4px; }
.solutions :focus-visible, .ventures :focus-visible { outline-color: var(--cobalt); }
.contact :focus-visible { outline-color: var(--offwhite); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--slate-light);
}
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 12px; vertical-align: middle; transform: translateY(-1px); }
.lead { font-size: var(--fs-lead); line-height: 1.5; font-weight: 400; letter-spacing: -.01em; }
.ico { width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease); }
.br-md { display: none; }
@media (min-width: 900px) { .br-md { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-light { background: var(--offwhite); color: var(--graphite); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(30, 79, 255, .55); }
.btn:hover .ico { transform: translateX(4px); }

/* ---------- Progress ---------- */
.progress { position: fixed; z-index: 120; inset: 0 0 auto 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--cobalt); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: var(--header-h);
  color: var(--offwhite);
  transition: background-color .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body.menu-open .site-header {
  background: rgba(11, 13, 16, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; }
.brand-mark { width: 25px; height: 28px; }
.brand-word { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1; }
.brand-word span { font-size: 7.5px; font-weight: 500; letter-spacing: .62em; text-transform: uppercase; margin-top: 5px; opacity: .72; }
.desktop-nav { margin-left: auto; display: flex; gap: clamp(20px, 2.6vw, 40px); }
.desktop-nav a { position: relative; font-size: 14px; font-weight: 500; color: rgba(250, 250, 248, .78); padding: 8px 0; transition: color .3s; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.desktop-nav a:hover, .desktop-nav a[aria-current="true"] { color: var(--offwhite); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav a[aria-current="true"]::after { background: var(--cobalt-soft); }
.menu-toggle { display: none; }

/* ---------- Mobile navigation ---------- */
.mobile-nav {
  position: fixed;
  z-index: 90;
  inset: 0;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--graphite);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: flex; align-items: baseline; gap: 18px;
  min-height: 64px; padding: 14px 0;
  font-size: clamp(30px, 8vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .25s;
}
.mobile-nav nav a:hover, .mobile-nav nav a:focus-visible { color: var(--cobalt-soft); }
.mobile-nav.is-open nav a { opacity: 1; transform: none; }
.mobile-nav.is-open nav a:nth-child(2) { transition-delay: .05s; }
.mobile-nav.is-open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-nav.is-open nav a:nth-child(4) { transition-delay: .15s; }
.mn-index { font-size: 11px; letter-spacing: .2em; color: var(--slate-light); font-weight: 500; }
.mobile-foot { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- Hero ---------- */
.hero-wrap { position: relative; background: var(--graphite); }
.pin .hero-wrap { height: 230svh; }
.hero {
  position: relative;
  height: 100svh;
  min-height: 660px;
  display: flex;
  overflow: hidden;
  background: var(--graphite);
  isolation: isolate;
}
.pin .hero { position: sticky; top: 0; }
.hero-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.story { display: none; }
.cam .hero-img { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; max-width: none; object-fit: fill; transform-origin: 0 0; will-change: transform; }
.cam .story { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, .9) 0%, rgba(11, 13, 16, .7) 32%, rgba(11, 13, 16, .12) 60%, rgba(11, 13, 16, 0) 100%),
    linear-gradient(0deg, rgba(11, 13, 16, .9) 0%, rgba(11, 13, 16, .35) 18%, rgba(11, 13, 16, 0) 34%),
    linear-gradient(180deg, rgba(11, 13, 16, .55) 0%, rgba(11, 13, 16, 0) 16%);
}
.hero-content { display: flex; flex-direction: column; min-height: 100%; padding-top: calc(var(--header-h) + 28px); padding-bottom: 34px; }
.hero-main { margin: auto 0; padding: 16px 0 32px; }
.hero-eyebrow { color: rgba(250, 250, 248, .7); margin-bottom: 26px; }
.hero-eyebrow > span[aria-hidden] { margin: 0 8px; }
.dot-blue { color: var(--cobalt); box-shadow: 0 0 10px rgba(30, 79, 255, .9); }
.hero-title { font-size: var(--fs-display); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
@media (min-width: 600px) { .hero-title .line > span { white-space: nowrap; } }
.hero-title .line { overflow: visible; }
.hero-title .w { display: inline-block; transform-origin: 0 0; }
/* The headline starts as one sentence and unfolds into three lines (script.js). It stays
   hidden until the script has measured it, and appears on its own if the script never runs. */
.js .hero-title:not(.is-ready) { opacity: 0; animation: fadeIn .6s ease 1.6s forwards; }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; }
.hero-copy { margin-top: 28px; max-width: 29em; font-size: var(--fs-lead); line-height: 1.55; color: rgba(250, 250, 248, .8); }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }

.story-toggle { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 4px 0 0; font-size: 15px; font-weight: 500; color: var(--offwhite); }
.story-toggle[hidden] { display: none; }
.st-btn { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(250, 250, 248, .42); display: grid; place-items: center; transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .5s var(--ease); }
.st-btn svg { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease); }
.st-pause { opacity: 0; transform: scale(.6); }
.story-toggle[data-state="playing"] .st-play { opacity: 0; transform: scale(.6); }
.story-toggle[data-state="playing"] .st-pause { opacity: 1; transform: none; }
.story-toggle:hover .st-btn { border-color: var(--offwhite); background: rgba(250, 250, 248, .08); transform: scale(1.06); }
.story-toggle:focus-visible { outline: none; }
.story-toggle:focus-visible .st-btn { outline: 2px solid var(--cobalt-soft); outline-offset: 3px; }

.story-rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: min(940px, calc(100% - 250px)); padding-left: 0; }
.story-rail li { position: relative; padding-top: 22px; }
.story-rail li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 1px; background: rgba(250, 250, 248, .16); }
.story-rail li::after { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 1px; background: var(--cobalt-soft); transform: scaleX(var(--p, 0)); transform-origin: left; }
.rail-step { display: grid; gap: 3px; text-align: left; padding: 0 20px 0 0; position: relative; color: rgba(250, 250, 248, .55); transition: color .5s var(--ease); }
.rail-step::before { content: ""; position: absolute; top: -22px; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: #3A3D44; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.rail-n { font-size: 13px; letter-spacing: .08em; color: rgba(250, 250, 248, .45); }
.rail-t { font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: rgba(250, 250, 248, .72); transition: color .5s var(--ease); }
.rail-d { font-size: 13px; line-height: 1.4; }
.story-rail li.is-active .rail-step::before, .story-rail li.is-done .rail-step::before { background: var(--cobalt); box-shadow: 0 0 0 4px rgba(30, 79, 255, .18), 0 0 14px rgba(30, 79, 255, .9); }
.story-rail li.is-done .rail-step::before { box-shadow: none; background: var(--cobalt-soft); }
.story-rail li.is-active .rail-t { color: var(--offwhite); }
.story-rail li.is-active .rail-step { color: rgba(250, 250, 248, .78); }
.has-story .rail-step { cursor: pointer; }
.has-story .rail-step:hover .rail-t { color: var(--offwhite); }

.hero-motto { position: absolute; right: max(24px, calc(var(--edge) - 72px)); top: 50%; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; text-align: right; color: rgba(250, 250, 248, .78); letter-spacing: .3em; line-height: 2.1; margin-top: 40px; }
.hero-motto .rule { width: 1px; height: 64px; background: currentColor; opacity: .45; margin-right: 2px; }
.explore { position: absolute; right: var(--edge); bottom: 40px; display: flex; align-items: center; gap: 18px; font-size: 14px; line-height: 1.4; color: rgba(250, 250, 248, .85); }
.explore-ring { width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(250, 250, 248, .35); display: grid; place-items: center; transition: border-color .35s, background-color .35s; }
.explore-ring svg { width: 22px; height: 22px; animation: nudge 2.8s var(--ease) infinite; }
.explore:hover .explore-ring { border-color: var(--offwhite); background: rgba(250, 250, 248, .06); }
@keyframes nudge { 0%, 55%, 100% { transform: none; } 25% { transform: translateY(4px); } }

/* ---------- Approach ---------- */
.approach { position: relative; overflow: hidden; padding: var(--space-6) 0; background: var(--graphite); border-top: 1px solid var(--line-dark); }
.approach-planet {
  position: absolute; z-index: 0;
  width: min(980px, 130vw); aspect-ratio: 1; border-radius: 50%;
  left: max(52%, calc(100% - 720px)); top: -380px;
  background: radial-gradient(circle at 35% 30%, #121620 0%, #08090C 62%);
  box-shadow:
    inset 14px 18px 26px -18px rgba(125, 151, 255, .95),
    inset 40px 50px 90px -40px rgba(30, 79, 255, .55),
    -30px -30px 120px -50px rgba(30, 79, 255, .5);
  animation: planet 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes planet { from { transform: rotate(-4deg) translate3d(0, 0, 0); } to { transform: rotate(6deg) translate3d(-1.5%, 1%, 0); } }
.approach-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.approach-title { margin-top: 24px; font-size: clamp(40px, 5.8vw, 84px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.approach-intro .lead { margin-top: 32px; max-width: 26em; color: rgba(250, 250, 248, .86); }
.steps { border-top: 1px solid var(--line-dark); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.step-n { font-size: 12px; letter-spacing: .16em; color: var(--cobalt-soft); padding-top: 4px; }
.steps h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.steps p { margin-top: 6px; color: var(--slate-light); max-width: 34em; }
@media (min-width: 900px) {
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-dark); }
  .steps li { grid-template-columns: 1fr; gap: 14px; padding: 28px 32px 8px 0; border-bottom: 0; }
  .steps li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
}

/* ---------- Light sections shared ---------- */
.solutions, .ventures { color: var(--graphite); }
.solutions .label, .ventures .label { color: var(--slate); }
.solutions { background: var(--offwhite); padding: var(--space-6) 0; }
.section-head { margin-bottom: var(--space-5); }
.section-title { margin-top: 20px; font-size: var(--fs-section); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; max-width: 18ch; }
.section-head-split { display: grid; gap: 24px; }
.section-note { color: var(--slate); max-width: 30em; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-note { justify-self: end; }
}

/* ---------- Capabilities ---------- */
.cap-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-light); }
.cap {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr 24px; gap: 20px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--line-light);
}
.cap::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.cap-icon { width: 28px; height: 28px; color: var(--graphite); margin-top: 2px; transition: color .35s, transform .5s var(--ease); }
.cap h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; transition: transform .5s var(--ease); }
.cap p { margin-top: 6px; color: var(--slate); max-width: 30em; transition: transform .5s var(--ease); }
.cap-arrow { width: 20px; height: 20px; margin-top: 4px; color: var(--slate); opacity: .5; transform: translateX(-6px); transition: transform .5s var(--ease), opacity .35s, color .35s; }
.cap:hover::before { transform: scaleX(1); }
.cap:hover .cap-icon { color: var(--cobalt); transform: translateY(-2px); }
.cap:hover h3, .cap:hover p { transform: translateX(4px); }
.cap:hover .cap-arrow { opacity: 1; color: var(--cobalt); transform: none; }
@media (min-width: 900px) {
  .cap-list { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 96px); }
  .cap { padding: 40px 0; }
}

/* ---------- Ventures ---------- */
.ventures { --slate: #5D6471; background: var(--paper); padding: var(--space-6) 0; border-top: 1px solid var(--line-light); }
.venture-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-light); }
.venture { border-bottom: 1px solid var(--line-light); }
.venture-link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 36px 0 32px; }
.venture-link::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
/* Venture imagery: static by default; on hover the photo eases in by ~3% inside a fixed frame, so text and card size never move. */
.venture-media { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 28px; overflow: hidden; border-radius: 6px; background: #D9DBDF; isolation: isolate; }
.venture-media-huntly { background: #C9D1E3; --tint: rgba(36, 76, 214, .16); }
.venture-media-tradr { background: #C8D3CC; --tint: rgba(28, 140, 84, .14); }
.venture-media-maya { background: #E3D3C4; --tint: rgba(214, 128, 60, .14); }
.venture-media picture, .venture-media img { display: block; width: 100%; height: 100%; }
.venture-media img { object-fit: cover; transform: scale(1); transition: transform .65s var(--ease); }
.venture-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(200deg, rgba(11, 13, 16, 0) 45%, rgba(11, 13, 16, .2) 100%), linear-gradient(20deg, var(--tint, transparent), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(11, 13, 16, .06); border-radius: inherit;
  transition: opacity .65s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .venture:hover .venture-media img { transform: scale(1.03); }
  .venture:hover .venture-media::after { opacity: .55; }
}
a.venture-link:focus-visible .venture-media img { transform: scale(1.03); }
a.venture-link:focus-visible .ico { transform: translateX(5px); }
.venture-mark {
  width: 48px; height: 48px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.mark-huntly { background: var(--cobalt); color: #fff; }
.mark-tradr { background: var(--graphite); color: #3BD47A; }
.mark-maya { background: #F6A27A; color: var(--graphite); }
.venture-status { margin-top: 28px; }
.venture h3 { margin-top: 10px; font-size: clamp(24px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.venture p { margin-top: 10px; color: var(--slate); max-width: 28em; flex: 1; }
.venture-cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; transition: color .3s; }
.venture-cta.is-muted { color: var(--slate); font-weight: 500; }
a.venture-link:hover::before, a.venture-link:focus-visible::before { transform: scaleX(1); }
.venture:hover .venture-mark { transform: translateY(-4px); box-shadow: 0 14px 24px -14px rgba(11, 13, 16, .45); }
a.venture-link:hover .venture-cta { color: var(--cobalt); }
a.venture-link:hover .ico { transform: translateX(5px); }
/* Each venture mark has its own small motion: Huntly scans, Tradr ticks, Maya pulses. */
.venture-mark { position: relative; overflow: hidden; isolation: isolate; }
.venture-mark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mark-huntly::after { background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%); width: 40%; transform: translateX(-160%); }
.mark-tradr::after { background: linear-gradient(0deg, rgba(59, 212, 122, .28), rgba(59, 212, 122, 0) 60%); transform: translateY(100%); clip-path: polygon(0 100%, 0 70%, 22% 78%, 44% 52%, 66% 62%, 88% 30%, 100% 36%, 100% 100%); }
.mark-maya { overflow: visible; }
.mark-maya::after { border-radius: inherit; box-shadow: 0 0 0 0 rgba(246, 162, 122, .55); }
.venture.is-in .mark-huntly::after, .venture:hover .mark-huntly::after { animation: scan 1.4s var(--ease) .3s both; }
.venture.is-in .mark-tradr::after, .venture:hover .mark-tradr::after { animation: tick 1.2s var(--ease-out) .3s both; }
.venture.is-in .mark-maya::after, .venture:hover .mark-maya::after { animation: ripple 1.8s var(--ease-out) .3s both; }
@keyframes scan { from { transform: translateX(-160%); } to { transform: translateX(300%); } }
@keyframes tick { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ripple { from { box-shadow: 0 0 0 0 rgba(246, 162, 122, .55); } to { box-shadow: 0 0 0 16px rgba(246, 162, 122, 0); } }

@media (min-width: 720px) {
  /* The middle column is padded on both sides, so it is wider by one pad (and the 1px dividers are counted); that keeps the three images (and text measures) the same width. */
  .venture-grid { --vp: clamp(24px, 3vw, 44px); --vc: calc((100% - 4 * var(--vp) - 2px) / 3); grid-template-columns: calc(var(--vc) + var(--vp)) calc(var(--vc) + 2 * var(--vp) + 1px) calc(var(--vc) + var(--vp) + 1px); border-bottom: 1px solid var(--line-light); }
  .venture { border-bottom: 0; }
  .venture + .venture { border-left: 1px solid var(--line-light); }
  .venture-link { padding: 40px var(--vp) 40px; }
  .venture:first-child .venture-link { padding-left: 0; }
  .venture:last-child .venture-link { padding-right: 0; }
}

/* ---------- About ---------- */
.about { background: var(--graphite); padding: var(--space-6) 0; }
.about-grid { display: grid; gap: var(--space-5); }
.about .section-title { max-width: 16ch; }
.about-copy .lead { color: rgba(250, 250, 248, .86); max-width: 32em; }
.principles { margin-top: var(--space-4); display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.principles li { padding: 22px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 4px; }
.principles h3, .collab-list h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.principles p, .collab-list p { color: var(--slate-light); }
.collab { margin-top: var(--space-6); }
.collab-list { margin-top: 24px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
.collab-list li { padding: 28px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 6px; transition: color .3s; }
.collab-list li:hover h3 { color: var(--cobalt-soft); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.05fr 1fr; }
  .collab-list { grid-template-columns: repeat(3, 1fr); }
  .collab-list li { padding-right: 32px; }
  .collab-list li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
}

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--cobalt); color: #fff; padding: var(--space-6) 0; isolation: isolate; }
.contact .label { color: rgba(255, 255, 255, .82); }
.contact-sweep { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%); }
.js .contact-sweep[data-reveal] { opacity: 1; transform: translate3d(-100%, 0, 0); transition: transform 2.6s var(--ease) .2s; }
.js .contact-sweep[data-reveal].is-in { transform: translate3d(100%, 0, 0); }
.contact .btn-light { position: relative; }
.contact .btn-light::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .5); opacity: 0; transform: scale(.92); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.contact .btn-light:hover::after { opacity: 1; transform: none; }
.contact-glow {
  position: absolute; z-index: -1; width: 80vmax; height: 80vmax; right: -30vmax; bottom: -50vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 13, 16, .38), rgba(11, 13, 16, 0));
  animation: glow 18s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-6%, -4%, 0); } }
.contact-title { margin-top: 24px; font-size: clamp(40px, 6.6vw, 96px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.contact-row { margin-top: var(--space-5); display: grid; gap: 32px; align-items: end; }
.contact-row > p { max-width: 30em; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.contact-actions .btn-light:hover { box-shadow: 0 14px 30px -12px rgba(11, 13, 16, .55); }
.contact-email { font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .45); padding: 4px 0; transition: border-color .3s; }
.contact-email:hover { border-color: #fff; }
@media (min-width: 900px) {
  .contact-row { grid-template-columns: 1fr auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); padding: 44px 0; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.site-footer .label { font-size: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 48px; height: 48px; margin-right: -12px; border-radius: 50%; }
  .bars { position: relative; width: 22px; height: 10px; }
  .bars i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .45s var(--ease), top .45s var(--ease); }
  .bars i:first-child { top: 0; }
  .bars i:last-child { top: 8.5px; }
  .menu-toggle[aria-expanded="true"] .bars i:first-child { top: 4.25px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars i:last-child { top: 4.25px; transform: rotate(-45deg); }
  .hero { height: auto; min-height: 0; flex-direction: column; }
  .hero-stage { position: relative; inset: auto; z-index: 0; flex: none; height: clamp(360px, 54svh, 560px); }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(11, 13, 16, 1) 0%, rgba(11, 13, 16, .6) 14%, rgba(11, 13, 16, 0) 34%),
      linear-gradient(180deg, rgba(11, 13, 16, .7) 0%, rgba(11, 13, 16, 0) 22%);
  }
  .hero-content { min-height: 0; padding-top: 4px; padding-bottom: 40px; }
  .hero-main { margin: 0; padding: 0 0 32px; }
  .hero-copy { margin-top: 20px; }
  .hero-actions { margin-top: 26px; }
  .hero-motto, .explore { display: none; }
  .rail-d { display: none; }
  .story-rail { max-width: none; }
  .rail-step { padding-right: 8px; }
  .rail-t { font-size: 14px; }
  .rail-n { font-size: 11px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(40px, 12.4vw, 60px); }
  .brand-word { font-size: 17px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Motion: entrance ---------- */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translate3d(0, 105%, 0); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }

.js .site-header .brand, .js .desktop-nav a, .js .header-cta, .js .menu-toggle { animation: rise .9s var(--ease-out) both; }
.js .desktop-nav a:nth-child(1) { animation-delay: .12s; }
.js .desktop-nav a:nth-child(2) { animation-delay: .18s; }
.js .desktop-nav a:nth-child(3) { animation-delay: .24s; }
.js .desktop-nav a:nth-child(4) { animation-delay: .3s; }
.js .header-cta, .js .menu-toggle { animation-delay: .36s; }

.js .hero-stage { animation: fadeIn 1.8s ease both; }
.js [data-enter] { animation: rise 1s var(--ease-out) both; }
.js .line[data-enter] { animation: none; }
.js .line[data-enter] > span { animation: lineUp 1.1s var(--ease-out) both; }
.js [data-enter="3"] { animation-delay: .35s; }
.js [data-enter="7"] { animation-delay: 1.45s; }
.js [data-enter="8"] { animation-delay: 1.6s; }
.js [data-enter="9"] { animation-delay: 1.8s; }

/* ---------- Motion: scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js .line[data-reveal] { opacity: 1; transform: none; }
.js .line[data-reveal] > span { transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .line[data-reveal].is-in > span { transform: none; }
.js .cap[data-reveal].is-in::before { transition-delay: var(--d, 0s); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .line[data-reveal] > span { opacity: 1; transform: none; }
  .venture-media img { transform: none !important; }
}
