@font-face { font-family: "DM Sans"; src: url("/assets/dm-sans.ttf") format("truetype"); font-weight: 100 1000; font-style: normal; font-display: swap; }

/* Pitch presentation tokens (sites/pitch/src/assets/styles.css). */
:root {
  color-scheme: dark;
  --bg: oklch(0.16 0.012 240);
  --bg-raised: oklch(0.2 0.014 240);
  --text: oklch(0.96 0.005 230);
  --muted: oklch(0.74 0.012 235);
  --faint: oklch(0.62 0.012 235);
  --hairline: oklch(1 0 0 / 0.14);
  --accent: oklch(0.84 0.12 210);
  --glass: oklch(0.32 0.02 240 / 0.38);
  --glass-solid: oklch(0.22 0.016 240);
  --violet: #7b5cf0; --cyan: #5cd6e8; --blue: #3565d8; --teal: #2fb5a6;
  --gutter: 7%;
  --max: 1600px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; color: var(--text); font: 400 17px/1.6 "DM Sans", system-ui, sans-serif; font-feature-settings: "tnum"; font-synthesis: none; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; text-decoration-color: oklch(1 0 0 / 0.4); touch-action: manipulation; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 650; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
p { max-width: 60ch; }
.eyebrow, .period { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 10; padding: 0.6rem 1rem; border-radius: 7px; background: var(--text); color: var(--bg); }
.skip:focus { top: 1rem; }

header, footer, main > section { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
header { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 2rem; }
.signature { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.35rem; font-weight: 650; letter-spacing: -0.03em; text-decoration: none; }
header nav { display: flex; flex-wrap: wrap; gap: 0 2rem; font-size: 0.95rem; color: var(--muted); }
header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
header nav a:hover { color: var(--text); text-decoration: underline; }
main > section { padding-block: 8rem; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem 2rem; font-size: 13px; color: var(--faint); }
footer a, footer span { display: inline-flex; align-items: center; min-height: 44px; }

/* Primary action: cyan fill, matching the pitch login. */
.button { display: inline-flex; align-items: center; min-height: 52px; padding: 14px 22px; border-radius: 7px; background: var(--accent); color: var(--bg); font-size: 15px; font-weight: 650; text-decoration: none; }
.button:hover { background: oklch(0.9 0.09 210); }
.button:active { background: var(--cyan); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Color field: title and section-break treatment from the pitch. */
.home-opening, .mosaic-note { position: relative; isolation: isolate; overflow-x: clip; }
.field { position: absolute; z-index: -1; top: -8rem; bottom: 0; left: 35%; right: calc(-1 * max(0px, (100vw - var(--max)) / 2)); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 55%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.field::before { content: ""; position: absolute; inset: -12% -40% -12% 0; will-change: transform;
  background:
    linear-gradient(180deg, oklch(0.16 0.012 240 / 0.55), transparent 30%, transparent 70%, oklch(0.16 0.012 240 / 0.7)),
    linear-gradient(90deg, #1b2a6b 0%, var(--blue) 9%, var(--cyan) 17%, var(--teal) 25%, #173a5e 33%, var(--violet) 43%, #2a2470 50%, var(--blue) 58%, var(--cyan) 66%, var(--teal) 72%, #1b2a6b 80%, var(--violet) 90%, var(--blue) 100%);
  filter: blur(46px) saturate(0.9) brightness(0.82);
  animation: drift 18s ease-in-out infinite alternate, hue 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-22%); } }
@keyframes hue { from { filter: blur(46px) saturate(0.9) brightness(0.82) hue-rotate(-8deg); } to { filter: blur(46px) saturate(0.9) brightness(0.82) hue-rotate(10deg); } }

/* Home */
.home-opening { min-height: calc(100svh - 108px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 4rem 8rem; }
.home-opening h1 { font-size: clamp(3.4rem, 8.5vw, 8.5rem); line-height: 0.92; letter-spacing: -0.055em; max-width: 8ch; }
.home-opening .lead { margin-top: 2.25rem; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em; }
.home-opening p:not(.lead) { margin-top: 1rem; max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); }
.home-opening .button { margin-top: 2.5rem; }
.home-projects h2 { margin-bottom: 2.5rem; }
.project { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--hairline); text-decoration: none; }
.project:last-child { border-bottom: 1px solid var(--hairline); }
.project .mark { display: block; width: 40px; height: 40px; }
.project:not(:has(.mark)) > span:first-child { grid-column: 2; }
.project strong { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; }
.project strong + span { display: block; margin-top: 0.25rem; color: var(--muted); }
.project-action { font-size: 15px; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: oklch(1 0 0 / 0.4); }
.project:hover .project-action { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.project:hover strong { color: var(--accent); }

/* About: founder slide layout, text left and portrait right. */
.bio-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 30%); gap: 7%; align-items: center; padding-block: 4rem 6rem; }
.bio-opening .eyebrow { margin-bottom: 1.5rem; }
.bio-opening h1 { font-size: clamp(3rem, 6.4vw, 6.5rem); line-height: 0.95; letter-spacing: -0.055em; }
.bio-opening .lead { margin-top: 2rem; max-width: 34ch; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; letter-spacing: -0.01em; }
.bio-detail { margin-top: 1rem; color: var(--muted); }
.bio-opening .text-link { margin-top: 1.25rem; }
.bio-opening figure { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; outline: 1px solid var(--hairline); box-shadow: 0 40px 80px -40px oklch(0 0 0 / 0.6); }
.bio-opening img { display: block; width: 100%; height: 100%; object-fit: cover; }

.chapter-section, .work-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 7%; }
.section-intro p { margin-top: 1.5rem; color: var(--muted); max-width: 40ch; }
.chapters { margin: 0; padding: 0; list-style: none; }
.chapters li, .engagement { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--hairline); }
.chapters li:last-child, .engagement:last-child { border-bottom: 1px solid var(--hairline); }
.period { padding-top: 0.3rem; }
.chapters p:not(.period), .engagement p:not(.period) { margin-top: 0.5rem; color: var(--muted); }
.engagement .relationship { font-size: 14px; color: var(--faint); }
.counterparty-logo { display: block; max-width: 10rem; max-height: 4rem; width: auto; height: auto; margin-bottom: 1rem; object-fit: contain; }

/* Section break: the pitch's closing slide, statement left and field right. */
.mosaic-note { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.mosaic-note .field { top: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.mosaic-note .mark { width: 64px; height: 64px; margin-bottom: 2.5rem; }
.mosaic-note h2 { font-size: clamp(3rem, 6.4vw, 6.5rem); line-height: 0.95; letter-spacing: -0.055em; }
.mosaic-note p { margin-top: 1.75rem; max-width: 32ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--muted); }
.mosaic-note .button { margin-top: 2.5rem; }

@media (max-width: 1000px) {
  :root { --gutter: 5%; }
  .bio-opening { gap: 5%; }
}
@media (max-width: 850px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  header { padding-block: 1rem; gap: 0 1rem; }
  .signature { font-size: 1.15rem; }
  header nav { gap: 0 1.25rem; font-size: 0.875rem; }
  main > section { padding-block: 4rem; }
  .home-opening { min-height: 0; padding-block: 4rem 5rem; }
  .home-opening h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .home-opening .lead { margin-top: 1.5rem; }
  .field { left: 8%; right: -25%; top: -4rem; opacity: 0.8;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); }
  .project { grid-template-columns: 32px minmax(0, 1fr); gap: 0.5rem 1rem; padding: 1.5rem 0; }
  .project .mark { width: 32px; height: 32px; }
  .project strong { font-size: 1.25rem; }
  .project-action { grid-column: 2; margin-top: 0.5rem; }
  .bio-opening, .chapter-section, .work-section { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .bio-opening { padding-block: 2rem 4rem; }
  .bio-opening h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .bio-opening .lead { margin-top: 1.25rem; }
  .bio-opening figure { max-width: 400px; border-radius: 12px; }
  .chapters li, .engagement { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; }
  .period { font-size: 12px; letter-spacing: 0.12em; }
  .mosaic-note { min-height: 0; padding-block: 6rem; }
  .mosaic-note .field { top: 0; }
  .mosaic-note .mark { width: 48px; height: 48px; margin-bottom: 1.5rem; }
  footer { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
