/* Theme 2.0 holding page. Owner: Support DB (2 Nov 2026). Prefix .hold-. Tokens and shared classes only: no hex.
   Layout: three columns from 1100px (stats | what kind of fund | market events), two from 700px, one below. No CSS zoom. */

.hold h1, .hold h2, .hold h3 { font-family: var(--font); text-transform: none; }
.hold b, .hold strong { font-family: inherit; }
.hold a { color: inherit; }
.hold > section, .hold > p { margin-top: var(--gap); }

/* hero: branded fallback + optional shared sector image, with a scrim so text always passes contrast */
.hold-hero { position: relative; margin: 0 calc(var(--page-x) * -1); padding: 0 var(--page-x); overflow: hidden; border-radius: 0; }
.hold-hero-bg { position: absolute; inset: 0; background: var(--glow2), var(--glow1), var(--bg); background-size: cover; background-position: right center; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.hold-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 45%, transparent 80%); }
.hold-hero-bg:not(.has-img)::after { background: none; }
.hold-hero-in { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; grid-template-areas: "title title title" "stats mix macro"; column-gap: var(--gap); row-gap: 28px; padding-bottom: 28px; }
.hold-title { grid-area: title; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.hold-stats { grid-area: stats; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-content: start; }
.hold-mix { grid-area: mix; margin: 0; }
.hold-macro { grid-area: macro; margin: 0; }

.hold-eyebrow { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.14em; text-transform: uppercase; }
.hold-tk { padding: 3px 9px; border-radius: 7px; background: var(--ink); color: var(--inktx); letter-spacing: 0.06em; }
.hold-h1 { margin: 0; font-size: clamp(40px, 6.2vw, 88px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.98; color: var(--tx); text-wrap: balance; overflow-wrap: anywhere; }
.hold-lede { margin: 0; max-width: 560px; font-size: 15px; line-height: 1.55; color: var(--t2); }
.hold-meta { display: inline; }

.hold-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 132px; margin: 0; }
.hold-big { font-size: 40px; font-weight: 300; letter-spacing: -0.035em; line-height: 1; color: var(--tx); font-variant-numeric: tabular-nums; }

/* what kind of fund */
.hold-split { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--track); }
.hold-split-p { background: var(--r2); }
.hold-split-a { background: var(--r3); }
.hold-split-key { display: flex; gap: 16px; margin: 10px 0 14px; font-size: 13px; color: var(--t2); }
.hold-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.hold-dot--p { background: var(--r2); } .hold-dot--a { background: var(--r3); }
.hold-ac { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hold-ac li { display: grid; grid-template-columns: minmax(0, 120px) 1fr 40px; gap: 10px; align-items: center; font-size: 13px; }
.hold-ac-n { color: var(--t2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hold-ac-bar { height: 4px; border-radius: 2px; background: var(--track); overflow: hidden; }
.hold-ac-bar span { display: block; height: 100%; background: var(--r1); }
.hold-ac-v { text-align: right; color: var(--tx); font-variant-numeric: tabular-nums; }

/* macro tile */
.hold-macro .hold-big { margin-top: 4px; }
.hold-cmp { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.hold-cmp-r { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; }
.hold-cmp-b { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.hold-cmp-b span { display: block; height: 100%; background: var(--r1); }
.hold-cmp-b--prev span { background: var(--td); }
.hold-latest { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--grid); }
.hold-latest-t { font-size: 14px; line-height: 1.4; color: var(--tx); }

/* funds table */
.hold-tablewrap { overflow-x: auto; border-radius: var(--rad-tile); }
.hold-tablewrap:focus-visible, .hold-evlist:focus-visible { outline: 2px solid var(--r3); outline-offset: 2px; }
.hold-table { min-width: 880px; }
.hold-table th, .hold-table td { padding: 12px 14px; }
.hold-table .hold-l { text-align: left; }
.hold-table thead th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; color: var(--td); font-size: 13px; padding: 4px 2px; border-radius: 6px; }
.hold-table thead th button:hover { color: var(--tx); }
.hold-table thead th button:focus-visible { outline: 2px solid var(--r3); outline-offset: 2px; color: var(--tx); }
.hold-table thead th[aria-sort="ascending"] button::after { content: "\25B2"; font-size: 9px; }
.hold-table thead th[aria-sort="descending"] button::after { content: "\25BC"; font-size: 9px; }
.hold-table thead th[aria-sort="ascending"] button, .hold-table thead th[aria-sort="descending"] button { color: var(--tx); }
.hold-th { color: var(--td); font-size: 13px; }
.hold-table tbody tr:hover { background: var(--ghost); }
.hold-fund { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--tx); text-decoration: none; white-space: normal; max-width: 340px; }
.hold-fund:hover { text-decoration: underline; }
.hold-table td .t2-sub { display: block; white-space: normal; }
.hold-w { display: block; color: var(--tx); font-weight: 500; }
.hold-wbar { display: block; width: 84px; height: 3px; margin: 6px 0 0 auto; border-radius: 2px; background: var(--track); overflow: hidden; }
.hold-wbar span { display: block; height: 100%; background: var(--r2); }
.hold-tag { display: inline-block; padding: 3px 10px; border-radius: var(--rad-tile); background: var(--ghost); border: 1px solid var(--grid); font-size: 12px; color: var(--tx); }
.hold-q { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--ghost); border: 1px solid var(--grid); color: var(--tx); }
.hold-q1 { background: var(--gainfill); border-color: transparent; color: var(--inktx); }
[data-theme="light"] .hold-q1 { color: var(--tx); }
.hold-lock { display: inline-flex; align-items: center; gap: 5px; color: var(--td); font-size: 12px; }
.hold-note, .hold-disc { margin: 12px 0 0; max-width: 900px; line-height: 1.6; color: var(--td); }
.hold-disc { margin: var(--gap) 0 56px; }

/* events */
.hold-evlist { max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; border-radius: var(--rad-tile); padding-right: 6px; }
.hold-ev { padding: 14px 0; border-top: 1px solid var(--grid); }
.hold-ev:first-child { border-top: 0; padding-top: 0; }
.hold-ev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12px; color: var(--td); }
.hold-ev-t { margin: 8px 0 0; font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--tx); }
.hold-ev-s { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--t2); max-width: 760px; }
.hold-imp { color: var(--t2); }

/* alongside + cta */
.hold-colist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hold-colist .t2-chip { height: auto; min-height: 32px; padding: 6px 14px; text-decoration: none; }
.hold-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hold-empty { max-width: 640px; }

@media (max-width: 1099px) {
  .hold-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title title" "stats mix" "macro macro"; }
}
@media (max-width: 699px) {
  .hold-hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "stats" "mix" "macro"; row-gap: 14px; }
  .hold-tile { min-height: 108px; }
  .hold-big { font-size: 32px; }
  .hold-cta { flex-direction: column; align-items: flex-start; }
  .hold-ac li { grid-template-columns: minmax(0, 96px) 1fr 40px; }
  .hold-macro .t2-iconbtn { display: none; }
  /* phone: keep Fund, Weight and 1Y; the full table shows from 700px */
  .hold-table { min-width: 0; }
  .hold-table th:nth-child(2), .hold-table td:nth-child(2), .hold-table th:nth-child(n+5), .hold-table td:nth-child(n+5) { display: none; }
  .hold-table th, .hold-table td { padding: 12px 8px; }
  .hold-fund { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .hold, .hold * { animation: none !important; transition: none !important; } }
