:root {
  --ink: #0a0a0a;
  --ink-soft: #141414;
  --paper: #f3efe8;
  --paper-2: #fbf9f5;
  --white: #ffffff;
  --blue: #2457ff;
  --blue-deep: #1539c8;
  --line: rgba(10, 10, 10, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted: #66615b;
  --radius: 26px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(10,10,10,.94); border-color: rgba(255,255,255,.12); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: -.02em; }
.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.brand-name { color: var(--white); font-size: 15px; }
.site-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.78); font-size: 14px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--white); }
.nav-cta { color: var(--white) !important; border: 1px solid rgba(255,255,255,.26); padding: 10px 16px; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--white); margin: 6px 0; transition: transform .2s ease; }

.section-dark { background: var(--ink); color: var(--white); }
.section-ink { background: #101010; color: var(--white); }
.section-light { background: var(--paper-2); }
.section-paper { background: var(--paper); }
.section-blue { background: var(--blue); color: var(--white); }

.hero { min-height: 100vh; padding: 150px 0 42px; position: relative; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-glow-one { width: 620px; height: 620px; right: -220px; top: 60px; background: radial-gradient(circle, rgba(36,87,255,.27), transparent 67%); }
.hero-glow-two { width: 480px; height: 480px; left: -260px; bottom: 20px; background: radial-gradient(circle, rgba(120,96,255,.13), transparent 66%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(56px, 8vw, 120px); align-items: center; min-height: 600px; }
.eyebrow { margin: 0 0 22px; text-transform: uppercase; font-size: 11px; letter-spacing: .18em; font-weight: 800; color: rgba(255,255,255,.58); }
.eyebrow.dark { color: var(--blue); }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(54px, 7.2vw, 108px); line-height: .92; letter-spacing: -.065em; font-weight: 760; }
.hero-lead { max-width: 650px; margin: 32px 0 0; font-size: clamp(19px, 2vw, 25px); line-height: 1.45; color: rgba(255,255,255,.68); letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 760; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: #3c69ff; }
.button-ghost { border: 1px solid rgba(255,255,255,.2); color: var(--white); }
.button-ghost:hover { border-color: rgba(255,255,255,.48); }
.button-dark { background: var(--ink); color: var(--white); }
.button-white { background: var(--white); color: var(--ink); }

.hero-visual { justify-self: end; width: min(100%, 470px); }
.portrait-card {
  position: relative; min-height: 560px; border-radius: 34px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, #161616 12%, #0c0c0c 88%);
  box-shadow: 0 38px 90px rgba(0,0,0,.35);
}
.portrait-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.portrait-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.72), rgba(10,10,10,.1) 42%, rgba(10,10,10,.35));
}
.portrait-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(36,87,255,.25), transparent 28%);
  z-index: 1;
}
.portrait-topline, .portrait-meta { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.76); z-index: 2; }
.portrait-meta strong { color: var(--white); font-size: 12px; }
.portrait-note { margin: 14px 10px 0; color: rgba(255,255,255,.42); font-size: 11px; line-height: 1.5; }

.trust-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.11); margin-top: 70px; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.trust-strip > div { background: var(--ink); padding: 22px 18px; display: flex; flex-direction: column; gap: 4px; }
.trust-label { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.38); }
.trust-strip strong { font-size: 13px; color: rgba(255,255,255,.86); }

.story { padding: 130px 0; }
.story-grid { display: grid; grid-template-columns: .42fr 1.58fr; gap: 70px; }
.section-kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--muted); }
.section-kicker span { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.section-kicker p { margin: 0; }
.section-kicker.inverse { color: rgba(255,255,255,.52); }
.section-kicker.inverse span { border-color: var(--line-light); }
.story h2, .section-heading h2, .book h2, .principles h2, .contact h2 { margin: 0; font-size: clamp(44px, 5.8vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 760; }
.story-copy h2 { max-width: 980px; }
.large-copy { font-size: clamp(21px, 2.35vw, 30px); line-height: 1.34; letter-spacing: -.025em; color: #2a2825; }
.story-copy > .large-copy { margin: 48px 0 30px; max-width: 920px; }
.story-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 920px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 28px; font-weight: 760; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.work { padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: .42fr 1.58fr; gap: 70px; align-items: end; margin-bottom: 70px; }
.section-heading h2 { max-width: 820px; }
.venture-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.venture-card { min-height: 460px; padding: 26px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; justify-content: space-between; background: #101010; transition: background .25s ease, transform .25s ease; }
.venture-card:hover { background: #171717; }
.venture-card.featured { background: var(--blue); }
.venture-card.featured:hover { background: #2b5eff; }
.venture-number { font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.4); }
.venture-type { display: block; margin-bottom: 15px; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.47); }
.venture-card h3 { margin: 0 0 15px; font-size: clamp(32px, 3.2vw, 48px); letter-spacing: -.04em; }
.venture-card p { margin: 0; color: rgba(255,255,255,.62); max-width: 440px; line-height: 1.65; }
.venture-card a { display: inline-flex; gap: 12px; margin-top: 24px; font-size: 14px; font-weight: 760; }
.featured .venture-number, .featured .venture-type, .featured p { color: rgba(255,255,255,.74); }

.book { padding: 130px 0; }
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px, 10vw, 150px); align-items: center; }
.book-cover-wrap { position: relative; width: min(100%, 410px); margin: 0 auto; }
.book-cover { position: relative; z-index: 2; aspect-ratio: .72; border-radius: 6px 14px 14px 6px; overflow: hidden; box-shadow: -15px 22px 35px rgba(0,0,0,.17); transform: rotate(-2deg); background: #0c0c0c; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-shadow { position: absolute; width: 86%; height: 42px; left: 10%; bottom: -22px; border-radius: 50%; background: rgba(0,0,0,.21); filter: blur(24px); }
.book-copy .section-kicker { margin-bottom: 42px; }
.book-copy h2 { margin-bottom: 28px; }
.book-copy .large-copy { margin: 0 0 22px; max-width: 700px; }
.book-copy > p:not(.eyebrow):not(.large-copy) { color: var(--muted); max-width: 640px; line-height: 1.7; }
.book-copy .button { margin-top: 20px; }

.principles { padding: 130px 0; }
.principles-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.sticky-heading { display: block; position: sticky; top: 125px; margin: 0; }
.sticky-heading .section-kicker { margin-bottom: 35px; }
.sticky-heading h2 { max-width: 460px; }
.sticky-heading > p { max-width: 420px; margin-top: 24px; color: var(--muted); line-height: 1.7; }
.principle-list { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.principle > span { font-size: 11px; letter-spacing: .14em; color: var(--muted); padding-top: 7px; }
.principle h3 { margin: 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.04em; }
.principle p { max-width: 650px; margin: 12px 0 0; color: var(--muted); line-height: 1.7; }

.contact { padding: 105px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; }
.contact h2 { max-width: 720px; }
.contact .eyebrow { color: rgba(255,255,255,.64); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; }
.contact-actions p { max-width: 520px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.6; margin: 0 0 24px; }

.site-footer { background: var(--ink); color: var(--white); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.footer-brand { margin-bottom: 16px; }
.footer-grid > div:first-child p { color: rgba(255,255,255,.42); margin: 0; font-size: 13px; }
.copyright { grid-column: 1 / -1; margin: 42px 0 0; padding-top: 22px; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.35); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.2,.65,.3,1), transform .75s cubic-bezier(.2,.65,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; width: min(100%, 560px); }
  .portrait-card { min-height: 500px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .story-grid, .section-heading, .book-grid, .principles-grid, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .section-kicker { margin-bottom: 8px; }
  .venture-grid { grid-template-columns: 1fr 1fr; }
  .venture-card.featured { grid-column: 1 / -1; min-height: 390px; }
  .book-cover-wrap { margin-left: 0; }
  .sticky-heading { position: static; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .nav-wrap { min-height: 70px; }

  /* Full-screen mobile menu.
     Using an absolute viewport-height panel avoids mobile browsers treating
     the fixed menu as being contained by the blurred fixed header. */
  .brand { position: relative; z-index: 4; }
  .menu-toggle { display: block; position: relative; z-index: 5; }

  .site-nav {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    padding: 118px 30px 44px;
    background: #0a0a0a;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform .32s cubic-bezier(.2,.65,.3,1),
      visibility 0s linear .32s;
  }

  .site-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform .32s cubic-bezier(.2,.65,.3,1),
      visibility 0s;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 68px;
    padding: 14px 2px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.92);
    font-size: clamp(30px, 9vw, 42px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.045em;
  }

  .site-nav .nav-cta {
    width: auto;
    min-height: 50px;
    margin-top: 30px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: 16px;
    letter-spacing: -.01em;
  }

  .menu-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero { padding-top: 120px; }
  .hero-grid { min-height: 0; gap: 48px; }
  .hero h1 { font-size: clamp(49px, 15vw, 72px); }
  .portrait-card { min-height: 440px; }
  .trust-strip { grid-template-columns: 1fr; margin-top: 48px; }
  .story, .work, .book, .principles { padding: 90px 0; }
  .story-columns { grid-template-columns: 1fr; gap: 8px; }
  .venture-grid { grid-template-columns: 1fr; }
  .venture-card.featured { grid-column: auto; }
  .venture-card { min-height: 340px; }
  .book-grid { gap: 70px; }
  .principle { grid-template-columns: 46px 1fr; }
  .contact { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

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


.footer-profile { display: flex; align-items: center; gap: 18px; }
.footer-avatar { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.footer-brand { margin-bottom: 8px; }
.footer-profile p { color: rgba(255,255,255,.42); margin: 0; font-size: 13px; }

@media (max-width: 980px) {
  .venture-grid { grid-template-columns: 1fr 1fr; }
  .venture-card.featured { grid-column: 1 / -1; min-height: 390px; }
}

@media (max-width: 760px) {
  .footer-profile { align-items: flex-start; }
  .footer-avatar { width: 60px; height: 60px; }
}


/* Legal pages */
.legal-main { background: var(--paper); color: var(--ink); }
.legal-hero { padding: 150px 0 72px; background: var(--ink); color: var(--white); }
.legal-hero .eyebrow { color: rgba(255,255,255,.55); }
.legal-hero h1 { margin: 14px 0 20px; max-width: 900px; font-size: clamp(52px, 7vw, 92px); line-height: .94; letter-spacing: -.06em; }
.legal-hero p:last-child { max-width: 720px; margin: 0; color: rgba(255,255,255,.64); font-size: 18px; line-height: 1.65; }
.legal-content { padding: 90px 0 120px; }
.legal-copy { max-width: 860px; }
.legal-copy section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-copy section:first-child { padding-top: 0; }
.legal-copy h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal-copy p { margin: 0 0 14px; }
.legal-copy ul { margin: 12px 0 0; padding-left: 22px; }
.legal-copy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { margin-top: 18px; font-size: 12px !important; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.42) !important; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; }
.footer-legal-links a { color: rgba(255,255,255,.55); }
.footer-legal-links a:hover { color: var(--white); }
@media (max-width: 760px) {
  .legal-hero { padding: 120px 0 58px; }
  .legal-content { padding: 70px 0 90px; }
}
