/* /trustless/ page: Trustless founder pieces (v2 design tokens, both themes). Shared components come from /assets/eotm.css. */
.tl-hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: var(--s8); }
.tl-hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 650; margin: var(--s4) 0 var(--s4); max-width: 18ch; }
.tl-hero h1 i { font-style: normal; color: var(--accent-text); }
.tl-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s6) var(--s10); align-items: start; }
.tl-intro .lead { margin: 0 0 var(--s4); }
.tl-story-text { color: var(--text-2); margin: 0; max-width: 62ch; }
.tl-facts { margin: 0; padding: var(--s2) var(--s5); }
.tl-facts div { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--hairline); }
.tl-facts div:last-child { border-bottom: 0; }
.tl-facts dt { color: var(--text-3); font-size: var(--fs-sm); }
.tl-facts dd { margin: 0; text-align: right; font-weight: 600; font-size: var(--fs-sm); }

/* museum container: fixed aspect ratio so nothing shifts while the component or the art loads */
.trustless-museum { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #0b0b0d; color: #f6f1e7;
  border-radius: var(--r-lg); overflow: hidden; contain: layout paint; margin-top: var(--s8); }
@media (max-width: 720px) { .trustless-museum { aspect-ratio: 4 / 5; } }
.trustless-museum:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* simple gallery when museum.js is missing */
.tl-fallback .tl-fb-stage { position: absolute; inset: 0 0 48px; display: grid; place-items: center; padding: var(--s3); }
.tl-fallback .tl-fb-stage img { display: block; height: 100%; width: auto; max-width: 100%; aspect-ratio: 1; object-fit: contain; }
.tl-fallback .tl-fb-stage img[hidden] { display: none; }
.tl-fallback .tl-fb-cap { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; margin: 0; display: flex; align-items: center; justify-content: center;
  font: 600 var(--fs-xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #f6f1e7; border-top: 1px solid rgba(255,255,255,.12); }
.tl-fallback .tl-fb-nav { position: absolute; top: calc(50% - 46px); width: var(--tap); height: var(--tap); border-radius: 50%; border: 1px solid rgba(246,241,231,.5);
  background: rgba(11,11,13,.8); color: #f6f1e7; font-size: 18px; display: grid; place-items: center; z-index: 2; }
.tl-fallback .tl-fb-prev { left: var(--s3); } .tl-fallback .tl-fb-next { right: var(--s3); }
.tl-fallback .tl-fb-nav:hover, .tl-fallback .tl-fb-nav:focus-visible { background: #f6f1e7; color: #0b0b0d; outline: 2px solid #f6f1e7; outline-offset: 2px; }

/* mint panel + story */
.tl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); margin-top: var(--s5); }
.tl-panel, .tl-story { padding: var(--s6); }
.tl-panel .eyebrow, .tl-story .eyebrow { display: block; margin-bottom: var(--s3); }
.tl-no { margin: 0; font: 600 var(--fs-sm)/1.4 var(--font-mono); letter-spacing: .04em; color: var(--accent-text); }
.tl-line { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; letter-spacing: var(--ls-snug); font-weight: 600; margin: var(--s3) 0 var(--s5); min-height: 2.6em; }
.tl-nums { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s10); margin-bottom: var(--s3); }
.tl-nums b { display: block; font-size: var(--fs-xl); line-height: 1.1; font-weight: 650; }
.tl-nums span { font-size: var(--fs-xs); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.tl-prog { height: 8px; border-radius: var(--r-pill); background: var(--bg-elev-3); overflow: hidden; margin: var(--s2) 0 var(--s5); }
.tl-prog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width var(--dur-3) var(--ease); }
.tl-act { display: flex; flex-wrap: wrap; gap: var(--s3); }
.tl-act .btn[hidden], .tl-wallets[hidden], .tl-tx[hidden] { display: none; }
.tl-when { margin: var(--s3) 0 0; font-size: var(--fs-sm); color: var(--text-2); min-height: 1.5em; }
.tl-wallets { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.tl-wallets .btn img { width: 18px; height: 18px; }
.tl-wl-h { flex-basis: 100%; margin: 0; font-size: var(--fs-xs); color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.tl-status { margin: var(--s3) 0 0; font-size: var(--fs-base); }
.tl-status:empty { display: none; }
.tl-status[data-kind="error"] { color: var(--down); }
.tl-status[data-kind="warn"] { color: var(--warn); }
.tl-status[data-kind="ok"] { color: var(--up); }
.tl-tx { margin-top: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--bg-elev-2); font-size: var(--fs-sm); }
.tl-tx p { margin: 0 0 4px; } .tl-tx code { overflow-wrap: anywhere; font-family: var(--font-mono); }
.tl-contract { margin: var(--s5) 0 0; font-size: var(--fs-xs); color: var(--text-3); overflow-wrap: anywhere; }
.tl-contract code { font-family: var(--font-mono); }
.tl-panel a, .tl-story a, .tl-disc a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.tl-story ol { margin: 0; padding: 0; list-style: none; counter-reset: tl; }
.tl-story li { counter-increment: tl; display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--hairline); }
.tl-story li:last-child { border-bottom: 0; }
.tl-story li { scroll-margin-top: 96px; }
.tl-story li:target { background: var(--accent-soft, transparent); outline: 1px solid var(--accent-text); outline-offset: 2px; }
.tl-story li::before { content: counter(tl, upper-roman); font: 600 var(--fs-xs)/1.9 var(--font-mono); color: var(--text-3); }

.tl-disc { margin-top: var(--s5); padding: var(--s5) var(--s6); border: 1px solid var(--hairline-strong); }
.tl-disc h2 { font-size: var(--fs-md); margin: 0 0 var(--s2); }
.tl-disc ul { margin: 0; padding-left: 1.2em; color: var(--text-2); }
.tl-disc li { margin: 4px 0; }

@media (max-width: 900px) { .tl-intro, .tl-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .tl-panel, .tl-story { padding: var(--s5) var(--s4); } .tl-act .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .tl-prog i { transition: none; } }
