/* AI Hypothesis Partners. The datasolvent.ai mallard palette (drake mallard: black tail,
   purple-blue wing patch, green head) on a light ground, so the holding company reads as
   related to Datasolvent but distinct. No JavaScript; fonts are self-hosted. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/archivo-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2'); }

:root {
  --bg: #fbfbf9; --bg-2: #f3f4f0; --panel: #ffffff; --panel-2: #f7f7f4;
  --line: #e2e4de; --line-2: #cdd1c8;
  --fg: #0d0e0c; --fg-2: #3f453e; --fg-3: #6a7168;
  --dusk: #8286a6; --purple: #8065e6; --blue: #4a6fd8; --steel: #34738f; --forest: #185534; --teal: #1f7a47; --wing: #3d4fb8;
  --mallard: linear-gradient(90deg, #8065e6 0%, #4a6fd8 36%, #34738f 66%, #185534 100%);
  --display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--fg); font-family: var(--display); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--fg); }
a:focus-visible { outline: 2px solid var(--wing); outline-offset: 3px; border-radius: 2px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.site { overflow: hidden; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wing); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.h1 { font-size: 84px; line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: 52px; line-height: 1.04; font-weight: 800; letter-spacing: -0.028em; max-width: 18ch; }
.h3 { font-size: 25px; line-height: 1.2; font-weight: 700; letter-spacing: -0.012em; }
.lede { font-size: 21px; line-height: 1.55; color: var(--fg-2); max-width: 52ch; text-wrap: pretty; }
.body-lg { font-size: 19px; line-height: 1.6; color: var(--fg-2); max-width: 56ch; text-wrap: pretty; }
.raw { color: var(--dusk); }
.grad { background: var(--mallard); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 6px; background: var(--forest); color: #ffffff; font-weight: 650; font-size: 16px; letter-spacing: -0.005em; }
.btn:hover { background: var(--fg); color: #ffffff; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; }
.text-link .ico { color: var(--teal); }
.text-link:hover { color: var(--teal); }

/* Navigation */
.nav { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); position: relative; z-index: 2; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand svg { height: 29px; width: auto; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--fg-2); font-size: 16px; font-weight: 500; }
.nav-links a:hover { color: var(--fg); }

/* Sections */
.sec { padding: 128px 0; border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 64px; }

/* Hero */
.hero { position: relative; padding: 112px 0 104px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.7; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 62%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 78% 62%, #000 0%, transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: flex; flex-direction: column; gap: 32px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; margin-top: 16px; }
.hero-copy { display: flex; flex-direction: column; gap: 36px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero-field { width: 100%; height: auto; }
/* Hero intro: branches fade in, the surviving path draws left to right, the built block lands. */
.hero-field .hx { animation: fade 0.9s ease-out 0.1s both; }
.hero-field .hp { stroke-dasharray: 100; animation: draw 0.5s ease-in-out both; }
.hero-field .hp1 { animation-delay: 0.6s; } .hero-field .hp2 { animation-delay: 1.05s; }
.hero-field .hp3 { animation-delay: 1.5s; } .hero-field .hp4 { animation-delay: 1.95s; }
.hero-field .hn { animation: fade 0.3s ease-out both; }
.hero-field .hn1 { animation-delay: 1s; } .hero-field .hn2 { animation-delay: 1.45s; } .hero-field .hn3 { animation-delay: 1.9s; }
.hero-field .he { transform-box: fill-box; transform-origin: center; animation: land 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2) 2.35s both; }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes land { from { opacity: 0; transform: scale(0.8); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-field * { animation: none !important; } html { scroll-behavior: auto; } }

/* What we do */
.pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 40px 40px 44px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--mallard); }
.card.build::before { background: var(--mallard); height: 4px; }
.card.invest::before { background: linear-gradient(90deg, #34738f, #185534); }
.card p { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 46ch; }
.card .h3 { font-size: 32px; letter-spacing: -0.02em; }
.points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.points li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel-2); }

/* Approach */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 36px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--mallard); opacity: 0.7; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step::before { content: ""; position: absolute; top: -36px; left: 0; width: 14px; height: 14px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 5px var(--bg); }
.step:nth-child(1) { --c: var(--purple); } .step:nth-child(2) { --c: var(--blue); }
.step:nth-child(3) { --c: var(--steel); } .step:nth-child(4) { --c: var(--forest); }
.step .mono-k { color: var(--c); }
.step:nth-child(1) .mono-k { color: #6650d6; }
.step h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.012em; }
.step p { font-size: 16px; line-height: 1.6; color: var(--fg-2); }
.look { display: grid; grid-template-columns: 220px repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.look-item { display: flex; flex-direction: column; gap: 8px; }
.look-item h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.look-item h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); flex-shrink: 0; }
.look-item p { font-size: 16px; color: var(--fg-2); }

/* Portfolio */
.co-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
.co { display: flex; flex-direction: column; gap: 24px; padding: 40px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--fg); }
.co:hover { border-color: var(--line-2); color: var(--fg); box-shadow: 0 18px 40px -28px rgba(13, 14, 12, 0.35); }
.co-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.co-logo { height: 52px; width: auto; }
.co p { font-size: 20px; line-height: 1.5; color: var(--fg-2); max-width: 40ch; }
.co .text-link { margin-top: auto; }
.co.next { background: transparent; border-style: dashed; }
.co.next h3 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.012em; }
.co.next p { font-size: 17px; }

/* Contact */
.contact { background: var(--bg-2); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
.contact-in .sec-head { margin-bottom: 0; }
.details { border-top: 1px solid var(--line); }
.details > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.details dt { padding-top: 4px; }
.details dd { font-size: 19px; line-height: 1.55; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand svg { height: 22px; }
.foot .brand-name { font-size: 15px; }
.foot small { font-size: 14px; color: var(--fg-3); }

/* 404 */
.lost { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 96px 0; }

@media (max-width: 1100px) {
  .wrap { padding: 0 36px; }
  .h1 { font-size: 68px; }
  .h2 { font-size: 44px; }
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-field { max-width: 640px; }
  .nav-links { gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
  .step::before { box-shadow: none; }
  .step { padding-top: 0; }
  .look { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .look > .mono-k { grid-column: 1 / -1; }
  .co-grid, .contact-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-in { gap: 48px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-in { height: 68px; }
  .nav-links { display: none; }
  .brand svg { height: 24px; }
  .brand-name { font-size: 15px; }
  .h1 { font-size: 42px; line-height: 1.03; letter-spacing: -0.03em; }
  .h2 { font-size: 34px; line-height: 1.08; }
  .lede { font-size: 18px; }
  .body-lg { font-size: 17px; }
  .sec { padding: 80px 0; }
  .sec-head { margin-bottom: 40px; gap: 16px; }
  .hero { padding: 64px 0 72px; }
  .hero-in { gap: 24px; }
  .hero-row { gap: 40px; margin-top: 8px; }
  .actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .actions .text-link { justify-content: center; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .card, .co { padding: 28px 22px 30px; }
  .card .h3 { font-size: 26px; }
  .card p { font-size: 17px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-top: 0; }
  .step { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding-bottom: 32px; }
  .step > * { grid-column: 2; }
  .step::before { position: static; grid-column: 1; grid-row: 1; margin-top: 4px; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 26px; bottom: 4px; width: 2px; background: var(--line-2); }
  .look { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 48px; }
  .co-logo { height: 40px; }
  .co p { font-size: 18px; }
  .details > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 0; }
  .details dd { font-size: 17px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
