/* ============================================================
   adsc. — venture fund landing page
   System: warm cream paper, warm ink, royal-blue accent.
   Type: Space Grotesk (display/body), Spectral (italic editorial),
         Space Mono (labels/data).
   ============================================================ */

:root {
  /* palette */
  --paper:    #F1ECE1;
  --paper-2:  #E9E3D5;
  --card:     #F8F5EE;
  --ink:      #16140F;
  --ink-2:    #57513f;
  --ink-3:    #8a826d;
  --line:     rgba(22,20,15,0.14);
  --line-2:   rgba(22,20,15,0.08);
  --blue:     #2540DB;
  --blue-ink: #1a2a8a;
  --navy:     #171E34;

  /* type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --serif:   "Spectral", Georgia, serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 76px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; z-index: 2; }

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.idx { color: var(--blue); }

.serif-it { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.005em; }

.bluedot { color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  padding: 0.92em 1.5em;
  border-radius: 2px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-2);
}
.nav-in {
  height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  /* full-bleed nav: pull the brand lockup toward the left edge,
     keep the Contact CTA balanced at the right edge */
  max-width: none;
  padding-inline: clamp(20px, 3vw, 40px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-lockup { height: 30px; width: auto; display: block; }
.brand-dark { display: none; }
body.theme-dark .brand-light { display: none; }
body.theme-dark .brand-dark { display: block; }
.brand .mark { width: 34px; height: 34px; }
.mark-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mark { display: inline-block; line-height: 0; }
.mark .mark-dark { display: none; }
body.theme-dark .brand .mark .mark-light { display: none; }
body.theme-dark .brand .mark .mark-dark { display: block; }
.brand .word {
  font-weight: 700; font-size: 1.42rem; letter-spacing: -0.04em;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--blue); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav .btn { padding: 0.6em 1.1em; font-size: 0.82rem; }
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 9vw, 110px); padding-bottom: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 60%, transparent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(2.7rem, 7.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 .serif-it { font-size: 1.02em; letter-spacing: -0.02em; }
.hero-sub {
  margin-top: clamp(22px, 3vw, 32px);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 30ch;
  font-weight: 400;
}
.hero-actions { margin-top: clamp(28px, 3.5vw, 40px); display: flex; gap: 14px; flex-wrap: wrap; }

.hero-emblem { position: relative; display: grid; place-items: center; }
.hero-emblem .big { width: min(100%, 660px); aspect-ratio: 1; display: block; }
.hero-emblem .big .mark-dark { display: none; }
body.theme-dark .hero-emblem .big .mark-light { display: none; }
body.theme-dark .hero-emblem .big .mark-dark { display: block; }
.hero-emblem .cap {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { order: -1; }
  .hero-emblem .big { width: min(70%, 280px); }
  .hero-emblem .cap { display: none; }
}

/* marquee ticker */
.ticker {
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 40s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker .item {
  font-family: var(--mono);
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 0 30px;
  display: inline-flex; align-items: center; gap: 30px;
}
.ticker .item::after { content: "✦"; color: var(--blue); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   THESIS
   ============================================================ */
.section { padding: clamp(72px, 11vw, 150px) 0; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(34px, 5vw, 60px); }
.sec-head .label { flex-shrink: 0; }
.sec-head .rule { flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }

.thesis-lead {
  font-size: clamp(1.8rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 18ch;
  text-wrap: balance;
}
.thesis-lead .serif-it { color: var(--blue); }
.beliefs {
  margin-top: clamp(44px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.belief {
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr; gap: 8px;
}
.belief:nth-child(odd) { padding-right: clamp(20px, 4vw, 64px); border-right: 1px solid var(--line); }
.belief:nth-child(even) { padding-left: clamp(20px, 4vw, 64px); }
.belief .num { font-family: var(--mono); font-size: .8rem; color: var(--blue); padding-top: .35em; }
.belief p { font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.32; letter-spacing: -0.02em; font-weight: 500; }
.belief p em { font-family: var(--serif); font-style: italic; font-weight: 500; }
@media (max-width: 720px) {
  .beliefs { grid-template-columns: 1fr; }
  .belief:nth-child(odd) { padding-right: 0; border-right: none; }
  .belief:nth-child(even) { padding-left: 0; }
}

/* ============================================================
   STATS (dark band)
   ============================================================ */
.stats {
  background: var(--ink);
  color: var(--paper);
  position: relative; z-index: 2;
}
.stats .wrap { padding-block: clamp(56px, 8vw, 104px); }
.stats .label { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(36px, 5vw, 56px);
}
.stat {
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.stat .n { min-height: 1em; display: flex; align-items: baseline; }
.stat .n {
  font-weight: 700; font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em; line-height: 1;
  white-space: nowrap;
}
.stat .n .bluedot, .stat .n .u { color: var(--blue); }
.stat .n .cypher {
  font-family: var(--mono); font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 0.8em;
  color: var(--blue);
}
.stat .n .cypher span {
  display: inline-block;
  width: 0.52em;
  text-align: center;
}
.stat .d {
  margin-top: 14px; font-family: var(--mono); font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 64%, transparent);
  line-height: 1.5;
}
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   FOCUS
   ============================================================ */
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fcard {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 52px);
  display: flex; flex-direction: column; gap: 20px;
  transition: background .3s;
  min-height: 340px;
}
.fcard:hover { background: var(--card); }
.fcard .fnum { font-family: var(--mono); font-size: .76rem; color: var(--blue); letter-spacing: .1em; }
.fcard h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.fcard p { color: var(--ink-2); font-size: 1.02rem; max-width: 38ch; }
.fcard .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.fcard .tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 100px; padding: .5em .9em;
  transition: border-color .2s, color .2s;
}
.fcard:hover .tag { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
@media (max-width: 760px) { .focus-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.port-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.pcard {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 38px);
  min-height: 220px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background .3s, color .3s;
  overflow: hidden;
}
.pcard:hover { background: var(--ink); color: var(--paper); }
.pcard .pcat {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}
.pcard:hover .pcat { color: color-mix(in srgb, var(--paper) 55%, transparent); }
.pname { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.035em; margin-top: 14px; }
.pname .d { color: var(--blue); }
.pcard .pdesc { margin-top: 10px; color: var(--ink-2); font-size: .96rem; line-height: 1.4; }
.pcard:hover .pdesc { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.pcard .pstage {
  margin-top: auto; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
  color: var(--ink-3); display: flex; align-items: center; gap: 8px;
}
.pcard:hover .pstage { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.pcard .pstage .arr { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.pcard:hover .pstage .arr { opacity: 1; transform: translateX(0); }
.port-note { margin-top: 26px; }
@media (max-width: 860px) { .port-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .port-grid { grid-template-columns: 1fr; } }

/* ============================================================
   INSIGHTS
   ============================================================ */
.posts { border-top: 1px solid var(--line); }
.post {
  display: grid; grid-template-columns: 64px 1fr auto; gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.post:hover { padding-left: 14px; }
.post .pno { font-family: var(--mono); font-size: .78rem; color: var(--blue); }
.post .ptitle { font-size: clamp(1.2rem, 2.4vw, 1.95rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.post .ptitle em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink); }
.post .pmeta { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: right; line-height: 1.6; }
.post .parr { transition: transform .3s var(--ease); }
.post:hover .parr { transform: translate(4px, -4px); }
@media (max-width: 680px) {
  .post { grid-template-columns: 1fr; gap: 8px; }
  .post .pmeta { text-align: left; }
  .post .pno { display: none; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.member .photo {
  aspect-ratio: 3/4; width: 100%;
  background:
    repeating-linear-gradient(135deg, var(--paper-2) 0 9px, transparent 9px 18px),
    var(--card);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  filter: grayscale(1);
}
.member .photo .ph {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); background: var(--paper); padding: .5em .8em; border: 1px solid var(--line);
}
.member .mname { margin-top: 16px; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.03em; }
.member .mrole { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.member .mbio { margin-top: 10px; font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--blue); color: #fff; position: relative; overflow: hidden; z-index: 2; }
.cta .wrap { padding-block: clamp(72px, 11vw, 150px); position: relative; z-index: 2; }
.cta h2 {
  font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 0.98;
  letter-spacing: -0.04em; max-width: 16ch; text-wrap: balance;
}
.cta h2 .serif-it { color: color-mix(in srgb, #fff 88%, var(--ink)); }
.cta p { margin-top: 26px; font-size: 1.15rem; max-width: 44ch; color: color-mix(in srgb, #fff 86%, transparent); }
.cta-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn-primary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .btn-ghost { color: #fff; border-color: color-mix(in srgb, #fff 50%, transparent); }
.cta .btn-ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.cta .ghost-mark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(48vw, 560px); aspect-ratio: 1; opacity: .14; z-index: 1; pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 90px) 0 36px; position: relative; z-index: 2; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.foot-brand .word { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.04em; display: flex; align-items: center; gap: 12px; }
.foot-brand .mark { width: 30px; height: 30px; }
.foot-lockup { height: 38px; width: auto; display: block; }
.foot-brand p { margin-top: 18px; color: color-mix(in srgb, var(--paper) 58%, transparent); max-width: 34ch; font-size: .95rem; line-height: 1.5; }
.fcol h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 50%, transparent); margin-bottom: 16px; }
.fcol a { display: block; padding: 6px 0; font-size: .95rem; color: color-mix(in srgb, var(--paper) 82%, transparent); transition: color .2s, transform .2s; }
.fcol a:hover { color: #fff; transform: translateX(3px); }
.foot-bottom {
  margin-top: clamp(40px, 6vw, 70px); padding-top: 26px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.foot-bottom span { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: color-mix(in srgb, var(--paper) 50%, transparent); }
@media (max-width: 780px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ============================================================
   reveal animation — base state is VISIBLE; entrance is a
   transform-only rise applied via .in, so content never depends
   on a transition/opacity settling (robust in any context).
   ============================================================ */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .reveal.in { animation: rise .85s var(--ease) both; }
  .reveal.in[data-d="1"] { animation-delay: .08s; }
  .reveal.in[data-d="2"] { animation-delay: .16s; }
  .reveal.in[data-d="3"] { animation-delay: .24s; }
  .reveal.in[data-d="4"] { animation-delay: .32s; }
  @keyframes rise {
    from { transform: translateY(22px); }
    to   { transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* emblem spin */
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spin 60s linear infinite; }
.spin-rev { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* tweak: motion off */
body.no-motion .reveal.in,
body.no-motion .float,
body.no-motion .spin-slow,
body.no-motion .ticker-track { animation: none !important; }

/* ============================================================
   tweak: dark hero theme (nav + hero only)
   ============================================================ */
body.theme-dark { --navy: #c9cfe0; }
body.theme-dark .nav {
  background: color-mix(in srgb, #0e0d0a 80%, transparent);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.theme-dark .nav .word,
body.theme-dark .nav-links a:hover { color: var(--paper); }
body.theme-dark .nav-links a { color: color-mix(in srgb, var(--paper) 62%, transparent); }
body.theme-dark .hero {
  background: var(--ink);
  color: var(--paper);
}
body.theme-dark .hero .hero-sub { color: color-mix(in srgb, var(--paper) 68%, transparent); }
body.theme-dark .hero .btn-ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 42%, transparent); }
body.theme-dark .hero .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
body.theme-dark .hero .hero-emblem .big circle[stroke="var(--line)"] { stroke: rgba(255,255,255,0.12); }
body.theme-dark .ticker { border-color: rgba(255,255,255,0.14); }
body.theme-dark .ticker .item { color: color-mix(in srgb, var(--paper) 64%, transparent); }
