/* network-site-fund.js: Fund (Dec 1 2026). */
#fd-page .fd-col { max-width: 880px; margin: 0 auto; }
#fd-page .fd-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-items: end; margin: 22px 0 4px; padding: 16px; border: 1px solid var(--bs-hair-2); border-radius: 14px; }
#fd-page .fd-field { display: grid; gap: 6px; min-width: 0; margin: 0; }
#fd-page .fd-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-meta); }
#fd-page .fd-field select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 0 34px 0 12px; border: 1px solid var(--bs-hair-2); border-radius: 10px; background-color: transparent;
  background-image: linear-gradient(45deg, transparent 50%, var(--bs-meta) 50%), linear-gradient(135deg, var(--bs-meta) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  color: var(--bs-ink); font: inherit; font-size: 15px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }
#fd-page .fd-field select option { background: #17171c; color: #f4f1ea; }
#fd-page .fd-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
#fd-page .fd-apply { min-height: 44px; padding: 0 20px; border: 1px solid var(--bs-gold); border-radius: 999px; background: transparent; color: var(--bs-gold); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
#fd-page .fd-apply:hover { background: color-mix(in srgb, var(--bs-gold) 14%, transparent); }
#fd-page .fd-clear { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--bs-ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bs-hair-2); }
#fd-page .fd-clear:hover { color: var(--bs-gold); }
#fd-page :is(.fd-field select, .fd-apply, .fd-clear, .fd-more > summary, .fd-links a, .fd-src a, .fd-fact-src a):focus-visible { outline: 2px solid var(--bs-gold); outline-offset: 2px; }
#fd-page .fd-group { margin: 0 0 8px; }
#fd-page .fd-group-head { margin: 32px 0 0; padding-bottom: 8px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-meta); }
#fd-page .px-show-head.fd-group-head { background-image: none; border-bottom: 1px solid #b8944c; border-image: var(--px-gold-rule) 1; }
#fd-page .fd-count { margin-left: 4px; font-weight: 500; color: var(--bs-muted); font-variant-numeric: tabular-nums; }
#fd-page .fd-group--soon .fd-group-head { color: var(--bs-gold); }
#fd-page .fd-list { list-style: none; margin: 0; padding: 0; }
#fd-page .fd-prog { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--bs-hair); scroll-margin-top: 96px; }
#fd-page .fd-list > .fd-prog:last-child { border-bottom: 0; }
#fd-page .fd-prog:target { margin-inline: -16px; padding-inline: 16px; border-radius: 12px; box-shadow: inset 2px 0 var(--bs-gold); background: #ffffff06; }
#fd-page .fd-prog p { margin: 0; }
#fd-page .fd-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 14px; align-items: start; }
#fd-page .fd-mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #202227; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%); color: rgb(255 255 255 / 84%); font-size: 15px; font-weight: 600; line-height: 1; }
#fd-page .fd-who { min-width: 0; }
#fd-page .fd-org { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--bs-ink-2); overflow-wrap: anywhere; }
#fd-page .fd-kind { font-weight: 400; color: var(--bs-meta); }
#fd-page .fd-name { margin: 2px 0 0; font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--bs-ink); overflow-wrap: break-word; text-wrap: pretty; }
#fd-page .fd-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; max-width: 18rem; text-align: end; }
#fd-page .fd-fig { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--bs-gold); font-variant-numeric: tabular-nums; overflow-wrap: break-word; text-wrap: balance; }
#fd-page .fd-terms { font-size: 12px; line-height: 18px; color: var(--bs-meta); white-space: nowrap; }
#fd-page .fd-status { margin-top: 10px !important; padding-left: 54px; font-size: 14px; line-height: 21px; color: var(--bs-ink-2); }
#fd-page .fd-status--soon { color: var(--bs-ink); font-weight: 500; }
#fd-page .fd-status--closed { color: var(--bs-meta); }
#fd-page .fd-equity { margin-top: 6px !important; padding-left: 54px; font-size: 14px; line-height: 21px; color: var(--bs-ink-2); }
#fd-page .fd-equity-label { margin-right: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--bs-meta); }
#fd-page .fd-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#fd-page .fd-match { margin-top: 6px !important; padding-left: 54px; font-size: 13px; line-height: 20px; color: var(--bs-meta); }
#fd-page .fd-more { margin: 10px 0 0 54px; }
#fd-page .fd-more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -6px 0; cursor: pointer; font-size: 14px; color: var(--bs-ink); list-style: none; }
#fd-page .fd-more > summary::-webkit-details-marker { display: none; }
#fd-page .fd-chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
#fd-page .fd-more[open] .fd-chev { transform: translateY(2px) rotate(225deg); }
#fd-page .fd-facts { display: grid; grid-template-columns: 8rem minmax(0, 1fr); align-items: baseline; gap: 10px 18px; margin: 8px 0 0; }
#fd-page .fd-facts > div { display: contents; }
#fd-page .fd-facts dt { font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .04em; color: var(--bs-meta); }
#fd-page .fd-facts dd { display: grid; gap: 4px; min-width: 0; margin: 0; font-size: 14px; line-height: 21px; color: var(--bs-ink-2); overflow-wrap: break-word; }
#fd-page .fd-facts .fd-q, #fd-page .fd-facts .fd-fact-src { font-size: 13px; line-height: 20px; color: var(--bs-meta); }
#fd-page .fd-src { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid var(--bs-hair); font-size: 13px; line-height: 20px; color: var(--bs-meta); }
#fd-page :is(.fd-src, .fd-fact-src, .fd-api) a { color: var(--bs-ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bs-hair-2); }
#fd-page .fd-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 4px !important; padding-left: 54px; }
#fd-page .fd-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--bs-gold); text-decoration: none; }
#fd-page :is(.fd-links a, .fd-src a, .fd-fact-src a, .fd-api a):hover { color: var(--bs-gold); text-decoration-color: currentColor; }
#fd-page .fd-links--center { justify-content: center; padding-left: 0; }
#fd-page .fd-empty { margin: 32px 0 0; font-size: 16px; line-height: 1.5; color: var(--bs-ink-2); text-align: center; }
#fd-page .fd-foot { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--bs-hair); font-size: 13px; line-height: 1.55; color: var(--bs-muted); }
#fd-page .fd-foot > p { margin: 0 0 8px; }
#fd-page .fd-join { margin: 24px 0 8px; text-align: center; }
#fd-page .fd-join a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--bs-ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bs-hair-2); }
#fd-page .fd-join a:hover { color: var(--bs-gold); }
@media (max-width: 759px) {
  #fd-page .fd-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  #fd-page .fd-top { grid-template-columns: 40px minmax(0, 1fr); }
  #fd-page .fd-amount { grid-column: 2; align-items: flex-start; max-width: none; margin-top: 8px !important; text-align: start; }
  #fd-page .fd-terms { white-space: normal; }
}
@media (max-width: 479px) {
  #fd-page .fd-filters { gap: 10px; padding: 12px; }
  #fd-page .fd-field select { padding-right: 28px; font-size: 14px; }
  #fd-page .fd-field select { background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; }
  #fd-page .fd-apply { flex: 1 1 auto; }
  #fd-page .fd-status, #fd-page .fd-equity, #fd-page .fd-match, #fd-page .fd-links { padding-left: 0; }
  #fd-page .fd-more { margin-left: 0; }
  #fd-page .fd-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  #fd-page .fd-facts > div + div > dt { margin-top: 10px; }
}
@media (max-width: 359px) {
  #fd-page .fd-filters { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 760px) {
  #fd-page .fd-prog { padding: 22px 0; }
  #fd-page .fd-name { font-size: 18px; line-height: 26px; }
}
@media (forced-colors: active) {
  #fd-page .fd-prog:target { box-shadow: none; border-inline-start: 2px solid Highlight; }
}

#fd-page.fd-page {
  --fund-card: #18181c;
  --fund-line: #343338;
  --fund-gold: #e4c487;
  --fund-secondary: #bdbab7;
  width: min(100%, 1192px);
  max-width: none;
  padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 52px) 48px;
  margin-inline: auto;
  box-sizing: border-box;
}
#fd-page .fund-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
  padding: 4px 0 clamp(24px, 4vw, 52px);
}
#fd-page .fund-intro-compact { display: block; padding-block: 0 24px; }
#fd-page .fund-lead { min-width: 0; }
#fd-page .fund-lead h1 {
  margin: 0;
  max-width: 12ch;
  font: inherit;
  font-size: clamp(42px, 5.2vw, 75px);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.057em;
  color: #f3f0e9;
  text-wrap: balance;
}
#fd-page .fund-intro-compact h1 { max-width: none; font-size: clamp(34px, 4vw, 54px); }
#fd-page .fund-deck {
  max-width: 41ch;
  margin: 19px 0 0;
  color: var(--fund-secondary);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.5;
}
#fd-page .fund-meta { margin: 21px 0 0; font-size: 13px; line-height: 1.5; color: #aca8a4; }
#fd-page .fund-meta span { margin-inline: 3px; color: #c1a577; }
#fd-page .fund-feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end; min-height: 284px; padding: 26px; border-radius: 22px;
  border: 1px solid #444044;
  background: radial-gradient(ellipse at 86% 16%, #423c33 0, transparent 56%), linear-gradient(132deg, #242327, #1a191b 52%, #252326);
}
#fd-page .fund-art {
  position: absolute; z-index: -1; right: -2%; top: -5%;
  width: 58%; aspect-ratio: 1.18;
  pointer-events: none;
}
#fd-page .fund-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
#fd-page .fund-feature-copy { width: 100%; }
#fd-page .fund-org { margin: 0 0 12px; color: #d3b784; font-size: 13px; line-height: 1.5; font-weight: 550; }
#fd-page .fund-feature h2 {
  width: 60%; max-width: 17ch; margin: 0 0 13px; color: #f4f0e8;
  font-size: clamp(20px, 2.1vw, 30px); line-height: 1.06; letter-spacing: -.038em; font-weight: 580;
  text-wrap: balance;
}
#fd-page .fund-amount { margin: 0; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.2; color: #efcf97; font-weight: 525; }
#fd-page .fund-link {
  display: inline-flex; gap: 12px; align-items: center; min-height: 42px; margin-top: 12px;
  text-underline-offset: 4px; color: #f4e3c2; font-size: 14px; font-weight: 600;
}
#fd-page .fund-link span { font-size: 16px; }
#fd-page .fd-col { max-width: none; }
#fd-page .fd-filters {
  margin: 0; padding: 20px; border-radius: 17px; border-color: var(--fund-line);
  background: linear-gradient(130deg, #1e1e22, #161619);
}
#fd-page .fd-field .fd-label { color: #c8c4c0; font-size: 12px; text-transform: none; letter-spacing: .01em; }
#fd-page .fd-field select { background-color: #111114; border-color: #3a383d; color: #efede8; }
#fd-page .fd-apply { background: #e9d8b8; color: #211e19; border-color: transparent; padding-inline: 18px; font-weight: 650; }
#fd-page .fd-apply:hover { background: #f6e5c4; }
#fd-page .fd-group .fd-group-head { color: #ebe6df; border: 0; font-size: 19px; line-height: 1.35; letter-spacing: -.025em; text-transform: none; padding: 0 0 12px; margin-top: 30px; }
#fd-page .fd-count { font-size: 14px; margin-left: 6px; color: #c8ac7c; }
#fd-page .fd-list { display: grid; gap: 8px; }
#fd-page .fd-list > .fd-prog {
  padding: 19px 22px 13px; border: 1px solid #302f34; border-radius: 15px;
  background: linear-gradient(130deg,#19191d,#141417 75%);
}
#fd-page .fd-list > .fd-prog:target { margin-inline: 0; border-color: #958063; box-shadow: none; }
#fd-page .fd-list > .fd-prog:has(.fd-more[open]) { border-color: #655b4b; }
#fd-page .fd-mono { background: #26252a; box-shadow: inset 0 0 0 1px #49464a; color: #e7dac3; }
#fd-page .fd-fig, #fd-page .fd-links a { color: var(--fund-gold); }
#fd-page .fd-status { color: #c7c3bf; }
#fd-page .fd-more[open] .fd-facts { background: #121214; padding: 16px; border: 1px solid #2e2d31; border-radius: 10px; }
#fd-page .fund-link:focus-visible { outline: 2px solid #ebc88e; outline-offset: 3px; }
@media (min-width: 940px) {
  #fd-page .fd-filters { grid-template-columns: repeat(4,minmax(0,1fr)) auto; }
  #fd-page .fd-actions { grid-column: auto; }
  #fd-page .fd-actions:has(.fd-clear) { grid-column: 1/-1; }
  #fd-page .fd-filters:has(.fd-clear) { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 839px) {
  #fd-page .fund-feature { min-height: 252px; padding: 19px; }
  #fd-page .fund-art { width: 54%; top: -1%; }
}
@media (max-width: 700px) {
  #fd-page .fund-intro { grid-template-columns: 1fr; gap: 22px; }
  #fd-page .fund-lead h1 { max-width: 15ch; font-size: clamp(39px, 8.3vw, 52px); }
  #fd-page .fund-deck { margin-top: 12px; }
  #fd-page .fund-meta { margin-top: 13px; }
  #fd-page .fund-feature { min-height: 188px; }
  #fd-page .fund-art { width: 46%; max-width: 235px; top: -2%; right: 0; }
  #fd-page .fund-feature h2 { width: 55%; }
  #fd-page .fund-link { margin-top: 5px; }
  #fd-page .fd-filters { padding: 13px; }
  #fd-page .fd-list > .fd-prog { padding: 15px 15px 10px; }
}
@media (max-width: 380px) {
  #fd-page .fund-org { max-width: 62%; }
  #fd-page .fund-art { width: 42%; }
}
@media (prefers-reduced-motion: no-preference) {
  #fd-page .fund-art img { animation: fund-folio-in .9s cubic-bezier(.16,.76,.22,1) both; }
  #fd-page .fund-feature-copy { animation: fund-type-in .55s ease-out both; }
  #fd-page .fd-more[open] .fd-facts { animation: fund-type-in .22s ease-out both; }
}
@keyframes fund-folio-in { from { opacity: 0; transform: translateY(9px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes fund-type-in { from { opacity: .15; transform: translateY(4px); } to { opacity: 1; transform: none; } }
#fd-page .fund-deadline { margin: 6px 0 0; color: #bfbab2; font-size: 13px; line-height: 1.4; }
@media (min-width: 701px) {
  #fd-page .fund-art { width: 49%; right: 1%; top: 3%; }
}
#fd-page .fd-detail-body { scroll-margin-block-start: 112px; }
#fd-page .fd-prog:has(.fd-detail-body:target) { border-color: #958063; }
