@font-face {
  font-family: "BDO Grotesk";
  src: url("assets/bdo-grotesk.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/*
  Breakpoints mirror the original Framer site:
  desktop >= 1200px, tablet 810–1199px, phone < 810px.
  Desktop values are the defaults; smaller sizes override below.
*/
:root {
  --black: #000;
  --white: #fff;
  --card: #f6f6f3;
  --card-2: #ededE8;
  --muted: rgba(0, 0, 0, 0.7);
  --soft: rgba(0, 0, 0, 0.45);
  --radius: 6px;
  --btn-radius: 4px;
  --gutter: 24px;
  --gap: 12px;
  --h1: 51px;
  --h2: 51px;
  --h3: 32px;
  --section: 190px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "BDO Grotesk", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: 400; }

.container { width: 100%; padding-inline: var(--gutter); }

/* ---------- Buttons (text rolls up on hover) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--btn-radius);
  font-size: 15px;
  overflow: hidden;
  transition: background .25s var(--ease);
}
/* The label's text-shadow copy sits 3em below, outside the clipped button, and slides up on hover. */
.btn span {
  display: inline-block;
  text-shadow: 0 3em 0 currentColor;
  transition: transform .4s var(--ease);
}
.btn:hover span { transform: translateY(-3em); }
.btn:hover { background: #222; }
.btn--lg { height: 64px; padding: 0 54px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__logo img { width: 40px; height: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: 270px; padding-bottom: 48px; }
.hero h1 {
  font-size: var(--h1);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 960px;
  margin-bottom: 36px;
}

.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  padding-left: var(--gutter);
  animation: scroll-x 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.tile {
  flex: 0 0 auto;
  width: 345px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.04); }
@keyframes scroll-x { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

/* ---------- Sections ---------- */
.section { padding-top: var(--section); }
.section__head { margin-bottom: 40px; }
.section__head h2 { font-size: var(--h2); line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: 20px; line-height: 1.4; margin-top: 18px; max-width: 468px; }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Venture models */
.model {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
}
.model__icon { display: grid; place-items: center; height: 240px; }
.model__icon img { width: 96px; height: auto; transition: transform .6s var(--ease); }
.model:hover .model__icon img { transform: rotate(-8deg) scale(1.05); }
.model h3 { font-size: 16px; line-height: 24px; margin-bottom: 6px; }
.model p { color: var(--muted); max-width: 345px; }

/* Investments: five across on desktop */
.investments { grid-template-columns: repeat(5, 1fr); }
.logo-card {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 0 20%;
  transition: background .3s var(--ease);
}
a.logo-card:hover { background: var(--card-2); }
.logo-card img { width: 100%; max-height: 54px; object-fit: contain; }
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  font-size: 13px;
  background: var(--card-2);
  border-radius: var(--btn-radius);
}

/* Studio: two square cards per row on desktop */
.studio { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.studio-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.studio-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.studio-card:hover .studio-card__bg { transform: scale(1.03); }
.studio-card__panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.studio-card__logo { height: 36px; width: auto; max-width: 200px; margin-bottom: 12px; }
.studio-card__panel p { font-size: 16px; line-height: 24px; color: rgba(0, 0, 0, 0.75); max-width: 468px; }
.arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.studio-card:hover .arrow { background: var(--black); color: var(--white); transform: translateX(2px); }

/* Accordion */
.accordion { display: grid; gap: 6px; }
.acc { background: var(--card); border-radius: var(--radius); }
.acc summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc h3 { flex: 1; font-size: var(--h3); line-height: 1.3; }
.acc__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--black); flex: 0 0 auto; }
.acc__plus { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.acc__plus::before, .acc__plus::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  background: var(--black);
  transition: transform .35s var(--ease);
}
.acc__plus::after { transform: rotate(90deg); }
.acc[open] .acc__plus::after { transform: rotate(0deg); }
.acc__body { padding: 0 24px 32px 50px; max-width: 900px; }
.acc__body > p:first-child { color: var(--muted); font-size: 18px; line-height: 1.5; }
.acc__label { margin-top: 24px; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 4px 10px; background: var(--white); border-radius: var(--btn-radius); font-size: 14px; }
.acc[open] .acc__body { animation: open .4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* CTA: text + button on the left, founders photo on the right */
.cta {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
}
.cta__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 12px 48px 12px 12px;
}
.cta h3 { font-size: var(--h3); line-height: 1.3; }
.cta .muted { color: var(--soft); }
.cta__photo {
  flex: 0 0 auto;
  width: 345px;
  height: 219px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: var(--section);
  background: var(--black);
  color: var(--white);
  padding: 80px 0 24px;
}
.footer__marquee { overflow: hidden; }
.footer__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  padding-right: 80px;
  animation: scroll-footer 24s linear infinite;
}
.footer__track span { font-size: 102px; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.footer__track img { height: 84px; width: auto; }
@keyframes scroll-footer { to { transform: translateX(-50%); } }

.footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 64px;
  font-size: 13px;
}
.footer__bar p:first-child { color: rgba(255, 255, 255, 0.6); }
.footer__bar p:last-child { font-size: 15px; }
.footer__bar a { color: rgba(255, 255, 255, 0.6); transition: color .2s; }
.footer__bar a:hover { color: var(--white); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Tablet: 810–1199px ---------- */
@media (max-width: 1199px) {
  :root { --gutter: 18px; --gap: 10px; --h1: 40px; --h2: 40px; --h3: 25px; --section: 140px; }
  .hero { padding-top: 150px; }
  .tile { width: 260px; }
  .model__icon { height: 200px; }
  .investments { grid-template-columns: repeat(3, 1fr); }
  .studio { grid-template-columns: 1fr; }
  .studio-card { aspect-ratio: 16 / 13; }
  .acc summary { padding: 14px 18px; }
  .acc__body { padding-left: 44px; }
  .acc__body > p:first-child { font-size: 16px; }
  .btn--lg { height: 52px; padding: 0 40px; }
  .cta { flex-direction: column; padding: 10px; }
  .cta__text { padding: 8px 8px 24px; gap: 28px; }
  .cta__photo { width: 270px; height: auto; aspect-ratio: 345 / 219; }
  .footer__track span { font-size: 88px; }
  .footer__track img { height: 72px; }
}

/* ---------- Phone: < 810px ---------- */
@media (max-width: 809px) {
  :root { --gutter: 16px; --h1: 34px; --h2: 32px; --h3: 22px; --section: 100px; }
  .hero { padding-top: 120px; }
  .tile { width: 220px; }
  .grid--3 { grid-template-columns: 1fr; }
  .investments { grid-template-columns: repeat(2, 1fr); }
  .logo-card { height: 120px; }
  .studio-card { aspect-ratio: 4 / 5; }
  .studio-card__panel { align-items: flex-end; padding: 14px; }
  .studio-card__logo { height: 28px; }
  .studio-card__panel p { font-size: 14px; line-height: 20px; }
  .lead { font-size: 18px; }
  .acc__body { padding-left: 18px; }
  .cta__photo { width: 100%; max-width: 345px; }
  .footer__track span { font-size: 64px; }
  .footer__track img { height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .footer__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
