/* ==========================================================================
   Open Craft Works — umbrella site
   Dark, technical, one accent per venture.
   ========================================================================== */

:root {
  --ink: #04050a;
  --ink-2: #070910;
  --panel: #0a0d15;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .04);
  --text: #eef1f7;
  --muted: #98a1b2;
  --muted-2: #657082;

  --teal: 45, 212, 191;
  --violet: 167, 139, 250;
  --blue: 96, 165, 250;
  --amber: 251, 191, 36;
  --rose: 232, 121, 185;
  --ice: 118, 228, 255;

  --radius: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --head: 76px;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--teal), .28); color: #fff; }
:focus-visible { outline: 2px solid rgb(var(--teal)); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: var(--ink); font-weight: 600;
  transform: translateY(-200%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* custom cursor (fine pointers only) */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block; position: fixed; z-index: 250; top: 0; left: 0;
    width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
    border: 1px solid rgba(var(--teal), .55);
    background: radial-gradient(circle, rgba(var(--teal), .18), transparent 65%);
    pointer-events: none; opacity: 0;
    transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s ease, border-color .3s ease;
    will-change: transform;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-hot { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: rgba(var(--violet), .7); }
}

/* progress */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 150; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, rgb(var(--teal)), rgb(var(--blue)), rgb(var(--violet)), rgb(var(--rose)), rgb(var(--amber)), rgb(var(--ice))); box-shadow: 0 0 12px rgba(var(--teal), .55); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 140; height: var(--head);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-head.scrolled {
  background: rgba(4, 5, 10, .74);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-2);
}
.head-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-type { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; color: var(--muted); }
.brand-type b { color: var(--text); font-weight: 600; }

.brand-mark {
  position: relative; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); flex: none;
}
.brand-mark span { position: absolute; width: 4px; height: 4px; border-radius: 50%; }
.brand-mark span:nth-child(1) { top: 3px; left: 50%; translate: -50% 0; background: rgb(var(--teal)); }
.brand-mark span:nth-child(2) { right: 3px; top: 50%; translate: 0 -50%; background: rgb(var(--blue)); }
.brand-mark span:nth-child(3) { bottom: 3px; left: 50%; translate: -50% 0; background: rgb(var(--violet)); }
.brand-mark span:nth-child(4) { left: 3px; top: 50%; translate: 0 -50%; background: rgb(var(--amber)); }
.brand-mark i { position: absolute; inset: 50% auto auto 50%; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: var(--text); }

.nav { display: flex; align-items: center; gap: 30px; font-size: .9rem; color: var(--muted); }
.nav a { position: relative; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: linear-gradient(90deg, rgb(var(--teal)), rgb(var(--violet)));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--text); }

.nav-cta {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); background: rgba(255, 255, 255, .03);
  transition: border-color .2s ease, background .2s ease, box-shadow .3s ease, transform .25s var(--ease);
}
.nav-cta:hover { border-color: rgba(var(--teal), .5); background: rgba(var(--teal), .08); box-shadow: 0 0 24px -6px rgba(var(--teal), .35); transform: translateY(-1px); }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 1px solid var(--line); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .28s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--head) + 48px) 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; z-index: 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }

.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; will-change: transform; }
.orb-a { width: 46vw; height: 46vw; min-width: 400px; min-height: 400px; left: -12vw; top: -10vw; background: radial-gradient(circle, rgba(var(--teal), .55), transparent 62%); animation: drift-a 24s ease-in-out infinite alternate; }
.orb-b { width: 42vw; height: 42vw; min-width: 360px; min-height: 360px; right: -10vw; top: 4vw; background: radial-gradient(circle, rgba(var(--violet), .45), transparent 62%); animation: drift-b 30s ease-in-out infinite alternate; }

.floor {
  position: absolute; left: -30%; right: -30%; top: 52%; height: 90%;
  background-image:
    linear-gradient(rgba(var(--teal), .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--teal), .12) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: top center;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 55%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 55%, transparent 88%);
  animation: floor-move 9s linear infinite;
}

.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 42%, transparent 30%, var(--ink) 88%); }
.grain {
  position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }

.hud {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(8px);
}
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--teal)); box-shadow: 0 0 10px rgba(var(--teal), .9); animation: blink 2.4s infinite; }
.hud-num { color: rgb(var(--teal)); }

.hero-title {
  margin-top: 30px;
  font-size: clamp(3rem, 8.4vw, 7.2rem);
  letter-spacing: -.055em;
  line-height: .92;
  font-weight: 600;
}
.hero-title .line { display: block; }
.grad {
  background: linear-gradient(100deg, rgb(var(--teal)) 0%, rgb(var(--blue)) 34%, rgb(var(--violet)) 68%, rgb(var(--amber)) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shift 14s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 26px rgba(var(--violet), .18));
}

.hero-lede { margin-top: 28px; max-width: 58ch; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  font-size: .95rem; font-weight: 500; border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s ease, border-color .25s ease, color .25s ease;
  will-change: transform; position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--text); color: var(--ink); font-weight: 600; box-shadow: 0 14px 40px -16px rgba(255, 255, 255, .45); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; translate: -120% 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transition: translate .7s var(--ease);
}
.btn-primary:hover::after { translate: 120% 0; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -18px rgba(255, 255, 255, .55); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .02); color: var(--text); }
.btn-ghost:hover { border-color: rgba(var(--teal), .45); background: rgba(var(--teal), .07); transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: 60px; width: min(760px, 100%);
  border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--line-2); overflow: hidden;
  backdrop-filter: blur(6px);
}
.hero-stats div { background: rgba(6, 8, 14, .62); padding: 16px 12px; }
.hero-stats dt { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.hero-stats dd { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); margin-top: 6px; }

.hero-rail { position: absolute; right: 28px; bottom: 36px; z-index: 2; display: grid; justify-items: center; gap: 12px; }
.rail-line { width: 1px; height: 54px; background: linear-gradient(transparent, rgba(255, 255, 255, .45)); position: relative; overflow: hidden; }
.rail-line::after { content: ""; position: absolute; inset: 0; background: rgb(var(--teal)); animation: scan 2.6s var(--ease) infinite; }
.rail-text { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .3em; color: var(--muted-2); writing-mode: vertical-rl; }

/* ---------- ticker ---------- */
.ticker {
  border-block: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .012);
  overflow: hidden; padding: 16px 0;
}
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 38s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.ticker span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.ticker i { color: rgba(var(--teal), .5); font-style: normal; font-size: .55rem; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 148px) 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015) 16%, rgba(255, 255, 255, .015) 84%, transparent);
  border-block: 1px solid var(--line-2);
}
.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: end; }
.section-head.split > div { max-width: 640px; }
.section-head.split .section-lede { max-width: 38ch; }

h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); letter-spacing: -.04em; }
h2 em { font-style: normal; color: var(--muted-2); }
.section-lede { margin-top: 20px; color: var(--muted); max-width: 58ch; font-size: 1.02rem; }

/* ---------- ventures ---------- */
.venture-switcher {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 2.4vw, 32px); align-items: stretch;
}
.venture-nav { display: grid; align-content: start; gap: 6px; }

.vnav {
  position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto;
  gap: 2px 14px; text-align: left; padding: 20px 20px 20px 22px;
  background: transparent; border: 1px solid transparent; border-radius: 14px;
  cursor: pointer; transition: background .3s ease, border-color .3s ease;
  overflow: hidden;
}
.vnav:hover { background: rgba(255, 255, 255, .025); }
.vnav.is-active { background: linear-gradient(120deg, rgba(var(--a), .09), rgba(255, 255, 255, .015)); border-color: rgba(var(--a), .28); }
.vnav-num { grid-row: 1 / 3; align-self: center; font-family: var(--font-mono); font-size: .72rem; color: rgba(var(--a), .9); }
.vnav-name { font-family: var(--font-display); font-size: 1.06rem; letter-spacing: -.015em; color: var(--text); }
.vnav-tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.vnav-bar { position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: rgb(var(--a)); opacity: 0; transition: opacity .3s ease; box-shadow: 0 0 14px rgba(var(--a), .8); }
.vnav.is-active .vnav-bar { opacity: 1; }

.venture-stage { position: relative; min-height: 380px; }
.vpanel {
  position: relative; overflow: hidden; height: 100%;
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid rgba(var(--a), .22); border-radius: var(--radius);
  background:
    radial-gradient(600px circle at 85% 10%, rgba(var(--a), .14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
}
.vpanel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(var(--a), .55), transparent 40%, transparent 65%, rgba(var(--a), .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.vpanel[hidden] { display: none; }
.vpanel:not([hidden]) { animation: panel-in .55s var(--ease) both; }
.vpanel-kicker { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(var(--a), .95); }
.vpanel h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-top: 18px; }
.vpanel-copy { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.vpanel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.vpanel-tags li { font-size: .76rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; background: rgba(0, 0, 0, .25); }
.vpanel-link { display: inline-flex; gap: 8px; margin-top: 34px; font-size: .86rem; border-bottom: 1px solid rgba(var(--a), .5); padding-bottom: 3px; transition: gap .25s var(--ease), color .2s ease; }
.vpanel-link:hover { gap: 12px; color: rgb(var(--a)); }
.vpanel-glyph {
  position: absolute; right: -6px; bottom: -28px;
  font-family: var(--font-display); font-size: clamp(8rem, 16vw, 15rem);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(var(--a), .14);
  pointer-events: none; user-select: none;
}

.ventures-note { margin-top: 40px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); text-align: center; }

/* ---------- capabilities ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.tile {
  position: relative; padding: clamp(24px, 2.8vw, 34px); background: var(--ink);
  transition: background .35s ease; overflow: hidden; min-height: 220px;
}
.tile-a, .tile-b { grid-column: span 3; }
.tile-c, .tile-d, .tile-e { grid-column: span 2; }
.tile-f, .tile-g { grid-column: span 3; }
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--teal), .1), transparent 62%);
  transition: opacity .35s ease;
}
.tile:hover { background: #060810; }
.tile:hover::before { opacity: 1; }
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: rgb(var(--teal)); background: rgba(255, 255, 255, .02); margin-bottom: 24px; }
.tile-ico svg { width: 20px; height: 20px; }
.tile h3 { font-size: 1.1rem; }
.tile p { margin-top: 10px; color: var(--muted); font-size: .9rem; max-width: 44ch; }
.tile-code { position: absolute; top: 18px; right: 20px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; color: var(--muted-2); }

/* ---------- method ---------- */
.method-list { position: relative; display: grid; gap: 0; --fill: 0%; }
.method-list::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.method-list::after { content: ""; position: absolute; left: 27px; top: 8px; width: 1px; height: var(--fill); max-height: calc(100% - 16px); background: linear-gradient(rgb(var(--teal)), rgb(var(--violet))); box-shadow: 0 0 16px rgba(var(--teal), .5); transition: height .15s linear; }
.mstep { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.mstep:last-child { border-bottom: 1px solid var(--line-2); }
.mstep-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); font-family: var(--font-mono); font-size: .78rem; color: var(--muted); transition: border-color .3s ease, color .3s ease, box-shadow .3s ease; }
.mstep:hover .mstep-num { border-color: rgba(var(--teal), .55); color: rgb(var(--teal)); box-shadow: 0 0 24px -6px rgba(var(--teal), .5); }
.mstep h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.mstep p { margin-top: 10px; color: var(--muted); max-width: 58ch; }

/* ---------- group ---------- */
.group-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(44px, 6vw, 96px); align-items: start; }
.group-copy h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 20ch; }
.group-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 40px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--line-2); overflow: hidden; }
.group-stats div { background: rgba(4, 5, 10, .6); padding: 18px 16px; }
.group-stats b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.group-stats span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.group-list { display: grid; }
.group-list li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px 6px; border-top: 1px solid var(--line-2); transition: background .3s ease; }
.group-list li:last-child { border-bottom: 1px solid var(--line-2); }
.group-list li:hover { background: rgba(255, 255, 255, .02); }
.group-list li > span { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); padding-top: 4px; }
.group-list h3 { font-size: 1.02rem; letter-spacing: 0; }
.group-list p { margin-top: 6px; color: var(--muted); font-size: .9rem; }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--line-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }
.contact-links { margin-top: 40px; display: grid; }
.contact-links li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line-2); font-size: .88rem; }
.contact-links li:last-child { border-bottom: 1px solid var(--line-2); }
.contact-links span { color: var(--muted-2); }
.contact-links a { transition: color .2s ease; }
.contact-links a:hover { color: rgb(var(--teal)); }

.contact-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: .92rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .18); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(var(--teal), .55); background: rgba(0, 0, 0, .5); box-shadow: 0 0 0 3px rgba(var(--teal), .09); }
.field input:user-invalid, .field textarea:user-invalid { border-color: rgba(255, 110, 110, .55); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .78rem; color: var(--muted-2); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line-2); padding: clamp(40px, 5vw, 64px) 0 28px; overflow: hidden; }
.foot-word {
  font-family: var(--font-display); font-weight: 700; line-height: .86;
  font-size: clamp(2.1rem, 9.6vw, 9rem); letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  margin-bottom: 40px; white-space: nowrap;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.foot-brand p { margin-top: 18px; color: var(--muted-2); font-size: .88rem; }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h2 { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; margin-bottom: 6px; }
.foot-col a { color: var(--muted); font-size: .9rem; transition: color .2s ease; width: fit-content; }
.foot-col a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--muted-2); font-size: .78rem; font-family: var(--font-mono); letter-spacing: .04em; }
.foot-base a { color: var(--muted); }
.foot-base a:hover { color: var(--text); }

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0; translate: 0 22px;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; translate: none; }

/* ---------- motion ---------- */
@keyframes shift { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes scan { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floor-move { from { background-position: 0 0; } to { background-position: 0 64px; } }
@keyframes drift-a { to { transform: translate3d(7vw, 5vw, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-6vw, 4vw, 0) scale(1.06); } }
@keyframes panel-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .venture-switcher { grid-template-columns: 1fr; }
  .venture-nav { grid-template-columns: 1fr 1fr; }
  .venture-nav .vnav:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .venture-stage { min-height: 0; }
  .group-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
  .section-head.split .section-lede { max-width: 58ch; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--head) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 4vw 24px;
    background: rgba(4, 5, 10, .97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 0; translate: 0 -10px; pointer-events: none;
    transition: opacity .25s ease, translate .25s var(--ease);
  }
  .nav.open { opacity: 1; translate: none; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-2); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0 !important; }
  .burger { display: block; }

  .hero { min-height: auto; padding-top: calc(var(--head) + 64px); }
  .hero-title { font-size: clamp(2.7rem, 11vw, 4.6rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-rail { display: none; }

  .bento { grid-template-columns: 1fr 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e, .tile-f, .tile-g { grid-column: span 1; }
  .tile-a { grid-column: span 2; }

  .venture-nav { grid-template-columns: 1fr; }
  .venture-stage { display: grid; gap: 14px; }
  .vpanel { height: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero-stats { width: 100%; }
  .hero-stats div { padding: 14px 10px; }
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-f, .tile-g { grid-column: span 1; }
  .method-list::before, .method-list::after { display: none; }
  .mstep { grid-template-columns: 44px 1fr; gap: 16px; }
  .mstep-num { width: 44px; height: 44px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-links li { flex-direction: column; gap: 4px; }
  .group-stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-word { font-size: clamp(1.9rem, 12vw, 3rem); }
  .orb { filter: blur(70px); }
}

/* ---------- consent ---------- */
.consent {
  position: fixed; z-index: 240; left: 50%; bottom: 18px;
  width: min(900px, calc(100vw - 28px));
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(7, 9, 16, .94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 90px -30px #000;
  opacity: 0; transform: translate(-50%, 14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-open { opacity: 1; transform: translate(-50%, 0); }
.consent-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px; align-items: center; padding: 22px 54px 22px 24px;
}
.consent-copy { min-width: 0; }
.consent .consent-kicker { margin-top: 0; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--teal)); }
.consent h2 { font-size: 1.18rem; margin-top: 6px; letter-spacing: -.02em; }
.consent p { margin-top: 8px; color: var(--muted); font-size: .84rem; max-width: 68ch; }
.consent .consent-status { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; color: var(--text); }
.consent .consent-fine { font-size: .74rem; color: var(--muted-2); }
.consent-fine a { color: var(--muted); border-bottom: 1px solid var(--line); }
.consent-fine a:hover { color: var(--text); }
.consent-actions { display: flex; gap: 10px; align-items: center; }
.consent-actions .btn { min-width: 148px; padding: 11px 18px; font-size: .84rem; }
.consent-close {
  position: absolute; top: 10px; right: 12px; width: 28px; height: 28px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted-2); font-size: 1.2rem; line-height: 1;
  cursor: pointer; transition: color .2s ease, background .2s ease;
}
.consent-close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.foot-base .cookie-settings {
  background: none; border: 0; padding: 0; color: var(--muted);
  font: inherit; letter-spacing: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.foot-base .cookie-settings:hover { color: var(--text); }

.consent-live {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

@media (max-width: 760px) {
  .consent { bottom: 10px; }
  .consent-inner { grid-template-columns: 1fr; gap: 16px; padding: 20px 44px 20px 18px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-actions .btn { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .cursor { display: none !important; }
}
