@font-face {
  font-family: Inter;
  src: url("assets/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0a101d;
  --surface: #111d30;
  --rule: #2a3d57;
  --text: #f1f5fa;
  --copy: #c3cee0;
  --muted: #a8b8ce;
  --accent: #a5c7ff;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 16px;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--copy); }
h1, h2, h3, p, dl, dd { margin: 0; }
::selection { color: #fff; background: #315785; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.page { width: min(1220px, calc(100% - clamp(32px, 8vw, 112px))); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 16px; padding: 12px 16px; z-index: 4; background: var(--text); color: var(--background); clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }

.site-header { border-bottom: 1px solid var(--rule); background: #090f1b; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand img { display: block; flex: 0 0 40px; border-radius: 50%; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.22rem; font-weight: 690; letter-spacing: .025em; }
.brand small { color: var(--muted); font: 400 .62rem/1.45 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.header-inner nav, .site-footer nav { display: flex; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; font-size: .88rem; }
.header-inner nav a, .site-footer nav a { padding-block: .55rem; }
.header-inner nav a:hover, .site-footer nav a:hover, .text-link:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; column-gap: clamp(22px, 5vw, 78px); padding-block: clamp(44px, 7vw, 94px) clamp(42px, 6.1vw, 84px); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent); font: 400 .76rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; height: 1px; width: 30px; flex: 0 0 30px; background: currentColor; opacity: .68; }
.hero h1 { margin-top: 16px; color: var(--text); font-size: clamp(3.75rem, 7.7vw, 7.25rem); font-weight: 660; line-height: .92; letter-spacing: -.082em; }
.hero h1 span { color: var(--accent); }
.hero-lead { margin-top: 23px; max-width: 45ch; font-size: clamp(1rem, 1.2vw, 1.16rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; margin-top: 25px; gap: 13px 20px; }
.button, .text-link { font-size: .88rem; font-weight: 600; white-space: nowrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; gap: 18px; padding: 11px 15px; border: 1px solid #49668a; border-radius: 9px; background: #14243a; color: var(--text); }
.button:hover { background: #1b344f; }
.button-primary { background: var(--accent); color: #0a172c; border-color: transparent; }
.button-primary:hover { background: #c0d7ff; }
.text-link { padding-block: 9px; border-bottom: 1px solid #657ea0; color: var(--text); }
.text-link span { margin-left: 5px; }

.token-frame { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: calc(var(--radius) + 4px); border: 1px solid #3b5373; background: #0c1728; box-shadow: 0 34px 85px rgba(0, 0, 0, .29); }
.token { display: block; min-width: 0; color: var(--text); }
.token + .token { border-left: 1px solid #3b5373; }
.token:focus-visible { position: relative; z-index: 2; outline-offset: -4px; }
.token-image { position: relative; aspect-ratio: 7/8; overflow: hidden; background: #071931; }
.token-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -25px 36px -20px rgba(4, 11, 25, .85); }
.token-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.token-caption { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px clamp(10px, 1.4vw, 20px); border-top: 1px solid #3b5373; background: #101c2e; }
.token-caption strong { font: 400 .77rem/1.2 var(--mono); letter-spacing: .08em; }
.token-caption span { color: var(--accent); }
.token:hover .token-caption { background: #182947; }

.section { padding-block: clamp(42px, 6.1vw, 84px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 15px 32px; align-items: start; margin-bottom: 25px; }
h2 { color: var(--text); font-size: clamp(2.15rem, 4vw, 3.8rem); font-weight: 630; line-height: 1.06; letter-spacing: -.062em; }
.section-head p, .market-copy p { font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.65; max-width: 60ch; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; gap: 1px; background: var(--rule); }
.role-card { display: flex; flex-direction: column; gap: 8px; padding: clamp(15px, 2vw, 26px); background: #0f192a; }
.management-card { grid-column: 1/-1; background: #131f34; }
h3 { color: var(--text); font-size: clamp(1rem, 1.65vw, 1.28rem); font-weight: 625; line-height: 1.27; letter-spacing: -.025em; }
.role-card > p:not(.department-count) { font-size: .91rem; line-height: 1.64; }
.department-count { margin-top: auto; padding-top: 9px; color: var(--accent); font: 400 .82rem/1.6 var(--mono); }

@media (min-width: 841px) {
  .management-card { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; }
  .management-card .department-count { margin: 0; padding: 0; }
}

.activity-section { background: #0d192b; border-block: 1px solid var(--rule); }
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--rule); overflow: hidden; gap: 1px; }
.activity-grid div { display: flex; flex-direction: column-reverse; gap: 8px; background: #111d30; padding: clamp(15px, 2vw, 24px); }
.activity-grid dt { font-size: .9rem; line-height: 1.45; }
.activity-grid dd { color: var(--accent); font-size: clamp(1.9rem, 4vw, 3.3rem); font-weight: 640; line-height: 1.06; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.activity-note { margin-top: 18px; max-width: 68ch; font-size: .96rem; line-height: 1.6; }

.latest-section { padding-block: clamp(32px, 4vw, 58px); border-top: 1px solid var(--rule); }
.latest-period p + p { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.latest-work { margin-top: 26px; }
.latest-work-note { margin-block: 5px 12px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.latest-department-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.latest-department { display: flex; flex-direction: column; gap: 8px; padding: clamp(15px, 2vw, 24px); border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); overflow-wrap: anywhere; }
.latest-department h4 { margin: 0; color: var(--text); font-size: 1rem; font-weight: 625; }
.latest-examples { margin: 0; padding: 0; list-style: none; }
.latest-examples li + li { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); }
.latest-example { font-size: .92rem; line-height: 1.56; }
.latest-example-date, .latest-example-empty { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.latest-example-date { margin-top: 2px; }
.latest-department-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule); }
.latest-department-counts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 3px; }
.latest-department-counts dt { color: var(--muted); font-size: .75rem; line-height: 1.4; }
.latest-department-counts dd { color: var(--accent); font-size: .98rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.latest-token-counts { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: .75rem; font-variant-numeric: tabular-nums; }
.latest-token-counts caption { margin-bottom: 3px; color: var(--text); text-align: left; font-weight: 600; }
.latest-token-counts th, .latest-token-counts td { padding: 5px 4px; border-bottom: 1px solid var(--rule); text-align: left; }
.latest-token-counts th:not(:first-child), .latest-token-counts td { text-align: right; }
.latest-token-counts thead th { color: var(--muted); }
.latest-token-counts tbody th { font-weight: 500; }
.latest-token-counts tbody tr:last-child > * { border-bottom: 0; }
#latest-market-title { margin-bottom: 12px; }
.latest-market-change { font-size: .92rem; line-height: 1.5; }
.latest-market-observations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: .83rem; line-height: 1.5; }
.latest-market-observations dt { color: var(--muted); }
.latest-market-observations strong { display: block; color: var(--accent); font-size: .92rem; }
.supply-block { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.supply-snapshots time { display: block; }
.latest-growth-token h4 { font-size: 1.16rem; }
.latest-growth-metric { padding-block: 10px; border-block-start: 1px solid var(--rule); }
.latest-growth-metric h5 { margin: 0 0 6px; color: var(--text); font-size: .93rem; }
.latest-growth-change { margin-block: 6px 2px; color: var(--text); font-size: .87rem; }
.latest-growth-work { margin-top: 4px; }
.latest-growth-work tfoot th, .latest-growth-work tfoot td { border-top: 1px solid var(--rule); color: var(--text); font-weight: 600; }
.latest-growth-work .latest-growth-examples td, .latest-growth-work td[colspan] { text-align: left; }
.latest-growth-examples .latest-example { font-size: .82rem; }
.latest-growth-examples .latest-example-date { font-size: .75rem; }

.market-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: center; gap: clamp(22px, 5vw, 72px); }
.market-copy h2 { margin-bottom: 15px; }
.market-copy p + p { margin-top: 10px; }
.market-panel { padding: 8px clamp(16px, 3vw, 29px); background: linear-gradient(140deg, #14243a, #101a2a); border: 1px solid var(--rule); border-radius: var(--radius); }
.market-panel dl > div { display: grid; grid-template-columns: minmax(84px, .32fr) minmax(0, 1fr); gap: 9px 16px; padding-block: 14px; }
.market-panel dl > div + div { border-top: 1px solid var(--rule); }
.market-panel dt { color: var(--accent); font: 400 .8125rem/1.55 var(--mono); }
.market-panel dd { font-size: .88rem; line-height: 1.5; }
.site-footer { border-top: 1px solid var(--rule); background: #090f1b; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 69px; gap: 6px 20px; }
.footer-inner > span { color: var(--text); font-weight: 620; }

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; gap: 27px; }
  .hero h1 { font-size: clamp(3.7rem, 13vw, 6rem); }
  .hero-lead { margin-top: 17px; }
  .token-frame { width: 100%; }
  .token-image { aspect-ratio: 4/3; }
  .token-image img { object-position: 50% 48%; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-grid { grid-template-columns: 1fr; }
}

@media (max-width: 545px) {
  .header-inner { justify-content: flex-start; align-items: start; gap: 7px 16px; flex-direction: column; padding-block: 10px 6px; }
  .header-inner nav { gap: 2px 20px; }
  .header-inner nav a { padding-block: 8px; }
  .brand img { width: 34px; height: 34px; flex-basis: 34px; }
  .brand strong { font-size: 1.05rem; }
  .section-head, .team-grid, .activity-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 19px; }
  .token-image { aspect-ratio: 1/1; }
  .token-caption { min-height: 42px; }
  .role-card { padding: 16px; }
  .latest-section .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .latest-section .activity-grid div { padding: 12px 8px; }
  .latest-section .activity-grid dt { font-size: .76rem; }
  .latest-department-grid { grid-template-columns: 1fr; }
}
