@font-face {
  font-family: NameSiInter;
  src: url('/assets/fonts/name-si/inter-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

.note-reader:has(.domain-ventures) {
  --reader-font: NameSiInter, system-ui, sans-serif;
  --reader-ink: #191919;
  --reader-muted: #505050;
}

.note-reader:has(.domain-ventures) .note-bar h1 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4em;
  color: var(--reader-ink);
  font: 700 clamp(1rem, 1.6vw, 1.375rem)/1.14 var(--reader-font);
  letter-spacing: -.04em;
}

.note-reader:has(.domain-ventures) .name-si-logo-back {
  font: 700 .8125rem/1.4 var(--reader-font);
}

.note-reader main:has(.domain-ventures) {
  box-sizing: content-box;
  width: auto;
  max-width: 44.5rem;
  align-self: stretch;
  margin: 0 auto auto;
  padding: clamp(26px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(32px, 4vw, 48px);
  color: var(--reader-ink);
  font: 400 1rem/1.55 var(--reader-font);
}

.note-reader:has(.domain-ventures) .note-bar h1 img {
  flex: none;
  width: 1.1em;
  height: 1.1em;
}

.note-reader main:has(.domain-ventures) > article {
  margin-top: .875rem;
  font: 400 clamp(1rem, 1.45vw, 1.125rem)/1.65 var(--reader-font);
  letter-spacing: -.012em;
}

.note-reader main:has(.domain-ventures) > article p { margin: 0; }
.note-reader main:has(.domain-ventures) > article p + p { margin-top: .9em; }

.domain-ventures {
  margin: clamp(26px, 3.5vw, 36px) 0 0;
  padding-top: clamp(22px, 2.5vw, 28px);
  border-top: 1px solid #dedede;
}

.note-reader main:has(.domain-ventures) .section,
.domain-ventures h2 {
  color: var(--reader-ink);
  font: 700 clamp(1.375rem, 2.5vw, 1.625rem)/1.2 var(--reader-font);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.domain-ventures h2 { margin: 0 0 16px; }

.venture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0 clamp(0px, calc(3vw - 12px), 12px);
  padding: 0;
  list-style: none;
}

.venture-card {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 24px);
  overflow-wrap: anywhere;
  background: white;
  border: 1px solid #d7d7d7;
  border-radius: 16px;
}

.venture-card p, .venture-card h3, .venture-card h4 { margin: 0; }
.venture-card .venture-audience { font-size: .8125rem; color: var(--reader-muted); }
.venture-card h3 {
  margin: 5px 0 10px;
  font: 700 clamp(1.1875rem, 2vw, 1.3125rem)/1.22 var(--reader-font);
  letter-spacing: -.035em;
}
.venture-fact {
  padding-top: 13px;
  margin-top: 16px;
  border-top: 1px solid #e2e2e2;
}
.venture-fact + .venture-fact { padding-top: 0; border-top: 0; margin-top: 10px; }
.venture-fact h4 { margin-bottom: 4px; font: 700 .875rem/1.4 var(--reader-font); }
.venture-fact p { font-size: .9375rem; }

@media (min-width: 680px) {
  .venture-fact { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 12px; }
  .venture-fact h4 { margin: 0; line-height: 1.65; }
}

.venture-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin: clamp(24px, 4vw, 36px) clamp(0px, calc(3vw - 12px), 12px) 0;
}
.venture-actions + .editor {
  margin-block-start: clamp(24px, 3vw, 32px);
}
.venture-actions a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font: 700 .9375rem/1.4 var(--reader-font);
  text-align: center;
}
.note-reader main .venture-listing {
  padding: 11px 21px;
  background: #191919;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
}
.venture-watch {
  padding: 6px 2px;
  border-radius: .25rem;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}
.note-reader main .venture-actions a:focus-visible { outline: 2px solid #191919; outline-offset: 4px; }
@media (hover: hover) {
  .note-reader main .venture-listing:hover { background: #343434; }
  .venture-watch:hover { text-decoration-thickness: 2px; }
}
@media (max-width: 460px) {
  .venture-actions { flex-direction: column; align-items: stretch; gap: 4px; }
}
@media (forced-colors: active) {
  .note-reader main .venture-listing { color: ButtonText; background: ButtonFace; border: 1px solid ButtonText; }
  .note-reader main .venture-actions a:focus-visible { outline-color: Highlight; }
}
