/* ==========================================================================
   SUPER INTELLIGENCE — $SI
   --------------------------------------------------------------------------
   DARK BY DESIGN. The template this came from was light throughout and
   sampled its page colour from a bright banner; every colour below is new.

   --page is sampled from the supplied artwork's OWN ground, which after the
   rebrand reads a true black in its quiet corners. Resample it whenever the
   artwork changes: the old value was a deep navy taken from the previous
   header, and against these pictures it sat visibly lighter than every one of
   them, putting a rim around each band.

   The accents are the artwork's own — the blue and the gold that run through
   the light streaks.
   ========================================================================== */

:root {
  /* Resampled for the rebrand. The new artwork's ground reads a true #000000
     in its quiet corners, so the old deep navy sat visibly lighter than every
     picture on the page and gave each band a rim. These are near-black with a
     faint cool cast, which is where the art's own shadows sit. */
  --page:        #050608;
  --page-2:      #090b11;   /* one step up, for banded sections */
  --card:        #0d1018;
  --card-2:      #12161f;
  --line:        #1e2431;

  --ink:         #eaf0ff;   /* primary type */
  --ink-2:       #a9b4c8;   /* labels, secondary */
  --ink-3:       #6f7a8e;   /* fine print */

  --blue:        #2f7dff;
  --blue-soft:   rgba(47, 125, 255, .14);
  --blue-glow:   rgba(47, 125, 255, .45);
  --red:         #ff3b30;
  --red-soft:    rgba(255, 59, 48, .12);

  --ok:          #23c265;

  --wrap:        1200px;
  --gutter:      16px;

  --r:           0px;       /* SQUARE CORNERS, carried over from the template */
  --shadow:      0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px rgba(0,0,0,.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;           /* no horizontal scroll at any width */
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Tabular numerals everywhere a figure is read: a column of numbers that
   shifts width as it counts up is the template's own rule, kept. */
.stat__value, .stat__sub, .dist__tokens, .dist__usd, .btn__ca, .pill__age {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 6, 8, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}

.lockup {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; min-width: 0;
}
.lockup__mark { width: 30px; height: 30px; flex: none; border-radius: 50%; }
.lockup__name {
  font-weight: 800; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.actions--bar { flex-wrap: nowrap; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: border-color .16s, background .16s, transform .16s, box-shadow .16s;
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--blue);
  background: var(--card-2);
  box-shadow: 0 0 0 1px var(--blue-soft), 0 0 22px var(--blue-soft);
  transform: translateY(-1px);
}
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn__icon { width: 15px; height: 15px; flex: none; }
.btn__icon--stroke {
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
/* The button labels are screen-reader-only by request: the glyph alone
   carries X and the chart, and the row is tighter for it. The names have NOT
   been deleted, only unpainted — each button keeps an .sr-only name, so a
   screen reader still announces "Chart" rather than "button". */

.btn--ca { gap: 7px; }
.btn__calabel { color: var(--ink-3); font-weight: 700; letter-spacing: .06em; }
.btn__ca { letter-spacing: .02em; text-transform: none; font-weight: 600; }

.ca-wrap { position: relative; display: inline-flex; }

/* The copy confirmation, under the button it belongs to. */
.toast {
  position: absolute; top: calc(100% + 8px); right: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--ok);
  border-radius: var(--r);
  background: #07301c; color: #b9f3d0;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 3;
}
.toast.is-on { opacity: 1; transform: translateY(0); }
.toast.is-error { border-color: var(--red); background: #330d0b; color: #ffc9c5; }
.toast__check { width: 14px; height: 14px; flex: none; }

/* ==========================================================================
   HERO
   --------------------------------------------------------------------------
   The Earth band sits at the BOTTOM and the type above it. The band is 6.6:1
   and gets a box that wide — object-fit: cover crops silently, and a squarer
   box here would eat the blue and red arcs at the two edges, which are the
   whole reason this crop works.
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  align-content: end;
  /* The scene is 2.4:1 and the design's hero is about 2.56:1, so the section
     takes the picture's shape rather than a height in vh — a vh-based hero
     slides the crop around as the window changes, and this picture puts the
     Earth's limb at a fixed place in the frame. */
  /* The new hero art is 1.795:1 and carries the wordmark at its centre, so
     the section takes a ratio near the picture's own and object-position
     holds the centre — a wide, short box would crop the name off both ends. */
  min-height: clamp(300px, 43vw, 650px);
  padding: clamp(20px, 3vw, 44px) var(--gutter) clamp(16px, 2.2vw, 28px);
  overflow: hidden;
  background: var(--page);
  text-align: center;
}

/* The clip is 736x400 (1.84:1) and the section is near that, so cover takes
   very little off the sides. It is a <video> now, but the rule is the same:
   a box whose ratio drifts from the footage's crops it silently. */
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  z-index: 0;
  border: 0;
  background: var(--page);
  pointer-events: none;   /* wallpaper, not a player */
}

/* Reduced motion: the script never loads the clip, so the poster is what
   shows. Nothing here needs to hide it. */

/* A short wash at the foot so the picture meets the pitch strip below it
   without a hard line. */
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 16%;
  background: linear-gradient(180deg, rgba(9,11,17,0) 0%, var(--page-2) 100%);
  z-index: 1; pointer-events: none;
}

/* A soft scrim under the type only. The Earth's city lights run right through
   where the kicker sits, and at 12px letterspaced it was unreadable against
   them; a drop shadow alone was not enough over the bright limb. */
/* The strapline sits at the FOOT of the picture, below the wordmark that is
   part of the artwork, rather than centred over it. */
.hero__copy {
  position: relative; z-index: 2;
  align-self: end;
  text-align: center;
  padding: 0 20px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}







.hero__base {
  margin: 0;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
  text-shadow: 0 1px 3px rgba(5,6,8,1), 0 2px 14px rgba(5,6,8,.95);
}
.hero__baseon { color: var(--ink-3); }
.hero__baselogo { width: 13px; height: 13px; color: #2f7dff; }
.hero__basename { color: var(--ink); letter-spacing: .1em; }

.hero__kicker {
  margin: 0;
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 3px rgba(5,6,8,1), 0 2px 16px rgba(5,6,8,.95);
}

/* ==========================================================================
   TEASER
   ========================================================================== */

.teaser {
  background: var(--page-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(26px, 3.4vw, 46px);
}
.teaser__kicker {
  margin: 0 0 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-2);
  text-align: center;
}
/* The clip is 2.353:1, so the frame takes that exact ratio — a box that
   disagreed would letterbox inside a letterbox, black bars of our own
   making on top of the ones already in the footage. */
.teaser__frame {
  position: relative;
  max-width: 1000px; margin-inline: auto;
  aspect-ratio: 1280 / 544;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}
.teaser__video { width: 100%; height: 100%; display: block; object-fit: contain; }

/* ==========================================================================
   A GLOBAL MOMENT + QUOTE WALL
   ========================================================================== */

.moment {
  position: relative;
  padding-block: clamp(34px, 4.4vw, 60px);
  overflow: hidden;
  background: var(--page);
}
/* The artwork sits behind the whole section. A wash at both edges lets it
   meet the dashboard above and the footer below without a seam, and keeps
   the middle dark enough for body copy to hold. */
.moment__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  z-index: 0;
}
.moment::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--page-2) 0%, rgba(5,6,8,.55) 18%, rgba(5,6,8,.55) 82%, var(--page-2) 100%);
}
.moment__in { position: relative; z-index: 2; }
.moment__in {
  display: grid; gap: clamp(22px, 3vw, 40px);
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 980px) {
  .moment__in { grid-template-columns: 1fr; }
  .moment__head br { display: none; }
}

.kicker {
  margin: 0 0 12px; font-size: 11px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--blue);
}
.moment__head {
  font-size: clamp(28px, 4.4vw, 50px); font-weight: 800; text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(5,6,8,.9);
  /* "SUPERINTELLIGENCE" is 17 characters with no break opportunity in it, so
     at the two-column width it overran the column and was clipped by the wall
     beside it. Both of these are needed: the cap keeps it inside the column,
     and break-word lets the single long word break rather than overflow if a
     narrower viewport still cannot fit it. */
  overflow-wrap: break-word;
}
@media (min-width: 981px) {
  /* 17 characters with no break opportunity: at 30px in a 350px column it
     sets on one line, which is what the design does. */
  .moment__head { font-size: 30px; overflow-wrap: normal; }
  /* The design breaks after "SUPERINTELLIGENCE"; the markup's <br> does that
     at this width and is suppressed below, where the column is full-width and
     a forced break would leave a short, ragged first line. */
}
.moment__body {
  margin: 18px 0 0; color: var(--ink-2); max-width: 60ch;
  text-shadow: 0 1px 3px rgba(5,6,8,.95);
}

.quotes__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.quotes__title {
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px;
}
.quotes__x { width: 13px; height: 13px; color: var(--ink); }
.quotes__more {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); text-decoration: none;
}
.quotes__more:hover { text-decoration: underline; }

.quotes__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}
/* Explicit counts at the wide sizes, because auto-fit left a single card
   stranded on its own row — 3, 3, 3, 1 at ten posts. These divide the counts
   the wall actually carries. */
@media (min-width: 1180px) { .quotes__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 981px) and (max-width: 1179px) { .quotes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Exactly seven cards: three across, then four. Applied by page.js only at
   that count, so any other number flows rather than leaving a hole. */
@media (min-width: 760px) {
  .quotes__grid--3then4 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .quotes__grid--3then4 > :nth-child(-n+3) { grid-column: span 4; }
  .quotes__grid--3then4 > :nth-child(n+4)  { grid-column: span 3; }
}

/* A quote card, deliberately NOT shaped like a social post: no verified
   badge, no handle, no engagement counts, and a source link instead. */
.quote {
  border: 1px solid var(--line);
  /* Opaque, because the cards now sit on artwork rather than flat colour. */
  background: rgba(13,16,24,.92);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 13px;
  display: flex; flex-direction: column; gap: 9px;
}
.quote__top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.quote__avatar {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-soft); border: 1px solid var(--line);
  color: var(--ink); font-weight: 800; font-size: 11px; letter-spacing: .04em;
}
/* The project's own cards carry the SI mark rather than initials — it is the
   account's actual avatar, so nothing here stands in for a person. */
.quote__avatar--mark {
  width: 30px; height: 30px; object-fit: cover; border-radius: 50%;
  background: none; border: 0;
}
.quote__who { min-width: 0; flex: 1; }
/* Five across leaves ~165px a card, and at 13px a name like "CoinMarketCap"
   ran past its own box. Smaller, and both lines clip rather than overflow —
   the full name is on the post the card links to. */
.quote__name {
  display: block; font-size: 11.5px; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis;
}
.quote__role {
  display: block; font-size: 10px; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.quote__x { width: 13px; height: 13px; flex: none; color: var(--ink-3); }

/* A fetched post is a link end to end — the whole card goes to the original,
   so a reader can check the quote against the post rather than taking the
   site's word for it. */
.quote--post { padding: 0; }
.quote__link {
  display: flex; flex-direction: column; gap: 9px;
  padding: 13px; text-decoration: none; color: inherit; height: 100%;
}
.quote--post:hover { border-color: var(--blue); }
.quote--post .quote__text {
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote--post .quote__meta { color: var(--ink-3); }
.quote--post .quote__src { color: var(--blue); font-weight: 600; }
.quote__text {
  margin: 0; color: var(--ink); font-size: 13.5px; line-height: 1.5;
}
/* Only a SOURCED quote gets the quotation rule. The project's own posts are
   statements, not quotations of anybody. */
.quote:not(.quote--project) .quote__text {
  border-left: 2px solid var(--blue); padding-left: 11px;
}
.quote__meta {
  margin: auto 0 0; padding-top: 2px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--ink-3);
}
.quote__src { color: var(--blue); text-decoration: none; font-weight: 600; }
.quote__src:hover { text-decoration: underline; }

/* ==========================================================================
   DASHBOARD
   ========================================================================== */

.dash {
  background: var(--page-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(20px, 2.6vw, 34px);
}

.dash__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 14px;
}
.dash__title {
  font-size: clamp(16px, 2vw, 23px); font-weight: 800; text-transform: uppercase;
}

.pill {
  margin: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(35,194,101,.4);
  background: rgba(35,194,101,.1);
  color: #9ff0c1;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(35,194,101,.65);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 7px rgba(35,194,101,0); }
  100% { box-shadow: 0 0 0 0 rgba(35,194,101,0); }
}
.pill__age {
  padding-left: 9px; margin-left: 2px;
  border-left: 1px solid rgba(35,194,101,.35);
  color: #7fd6a4; letter-spacing: .08em; text-transform: none; font-weight: 600;
}

.stats {
  display: grid; gap: 6px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stat {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 9px;
  text-align: left;
  transition: transform .16s, border-color .16s, box-shadow .16s;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: 'label label' 'icon value' 'icon sub';
  align-items: center;
  column-gap: 9px; row-gap: 1px;
}
.stat:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-soft), 0 14px 34px rgba(0,0,0,.5);
}

.stat__icon {
  grid-area: icon;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  color: var(--blue);
}
.stat__icon svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.stat__label {
  grid-area: label;
  font-size: 8.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 5px;
  /* Two lines' worth, reserved, so a one-line and a two-line label do not
     put their figures at different heights across the row. */
  min-height: 2.4em;
}
.stat__value {
  grid-area: value;
  margin: 0; font-size: clamp(13px, 1.25vw, 17px); font-weight: 800;
  letter-spacing: -.01em; word-break: break-word;
}
.stat__unit { font-size: .6em; font-weight: 700; color: var(--ink-3); margin-left: 5px; }
.stat__sub { grid-area: sub; margin: 0; font-size: 10.5px; color: var(--blue); }

/* A figure no source could supply. Dimmed rather than hidden: the dash IS the
   answer, and it must not read as a number that failed to load. */
[data-value].is-empty { color: var(--ink-3); font-weight: 700; }

/* The loading placeholder — three dots, before anything has resolved. */
.dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-3); display: block;
  animation: blink 1.3s ease-in-out infinite;
}
.dots i:nth-child(2) { animation-delay: .18s; }
.dots i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.legend {
  margin: 16px 0 0; text-align: center;
  font-size: 12px; color: var(--ink-3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.legend__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none;
}
.legend.is-live .legend__dot  { background: var(--ok); }
.legend.is-stale .legend__dot { background: #d9a13b; }
.legend.is-error .legend__dot { background: var(--red); }

/* The ?debug=1 panel. app.js writes light-theme colours as INLINE styles, so
   these need !important to land — it is a diagnostic surface, not a visitor
   one, but an unreadable diagnostic is no diagnostic. */
#dash-debug {
  background: var(--card) !important;
  border-color: var(--line) !important;
  border-radius: var(--r) !important;
  color: var(--ink-2) !important;
}

/* ==========================================================================
   DISTRIBUTION
   ========================================================================== */

/* Inside the dashboard now, so it gets a divider and a little air rather
   than a section's worth of padding. */
.dist {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.dist__title {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 4px; color: var(--ink-2);
}
.dist__sub { color: var(--ink-3); font-weight: 700; }
.dist__note { margin: 0 0 11px; font-size: 10.5px; color: var(--ink-3); max-width: 86ch; }

.dist__grid {
  list-style: none; margin: 0; padding: 0;
  /* Six across at EVERY width. The row is a comparison — six names side by
     side — and wrapping it to 3+3 or 2+2+2 turns that into a grid you have to
     read twice. The cards shed padding and type instead; minmax(0,1fr) lets
     the columns go genuinely narrow rather than refusing below their content. */
  display: grid; gap: 5px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.dist__card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 4px; text-align: center;
  transition: transform .16s, border-color .16s;
}
.dist__card:hover { transform: translateY(-2px); border-color: var(--blue); }
.dist__logo { width: 22px; height: 22px; margin: 0 auto 5px; object-fit: contain; }
.dist__logo--text {
  display: grid; place-items: center;
  background: var(--blue-soft); border: 1px solid var(--line);
  font-weight: 800; font-size: 15px; color: var(--ink);
}
.dist__name {
  font-size: 9.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dist__ticker {
  margin: 0; font-size: 8.5px; font-weight: 700;
  letter-spacing: .08em; color: var(--ink-3);
}
.dist__tokens { margin: 5px 0 0; font-size: 14px; font-weight: 800; }
.dist__usd { margin: 0; font-size: 9px; font-weight: 600; color: var(--blue); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.foot { background: var(--page-2); border-top: 1px solid var(--line); }
.foot__band { position: relative; overflow: hidden; }

.foot__band {
  position: relative;
  /* The boardroom picture's own 2.5:1. It was 7.4:1 when this slot held a
     thin skyline band; at that shape this image would keep a strip across
     the table and lose the room, the windows and both flags. */
  /* The picture now carries the lockups, so it needs height for them: the
     box is squarer than a divider's would be, and min-height keeps the type
     from crushing when the viewport is narrow. Its Earth limb sits along the
     bottom of the frame, so object-position bottom holds the limb rather than
     centring on empty sky. */
  /* Was 2.4:1 and 600px tall with the lockups sitting in its bottom fifth —
     four fifths of it was empty picture. */
  aspect-ratio: 3.2 / 1;
  width: 100%;
  display: grid;
}
.foot__bandimg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
}

/* The lockups sit on the picture. The scrim is a vertical wash rather than a
   flat panel — the artwork's light runs through the upper half and a solid
   box over it would kill exactly the part worth showing. */
.foot__overlay {
  position: relative; z-index: 2;
  align-self: end;
  width: 100%;
  padding: 34px 0 clamp(22px, 2.8vw, 34px);
  /* Heavier than it looks like it needs to be: the lockups land over the
     artwork's brightest run — the Earth limb and the light sweeping across
     it — and at .72 the Stockify sub-line was unreadable against the glow.
     The wash still starts fully clear, so the top two-thirds of the picture
     is untouched. */
  background: linear-gradient(180deg,
      rgba(5,6,8,0) 0%, rgba(5,6,8,.55) 26%, rgba(5,6,8,.9) 58%, rgba(5,6,8,.97) 100%);
}
/* A SHORT wash at the foot only. At 45% this covered the bottom of the frame,
   which is exactly where this picture's Earth limb sits — the band rendered
   as a black gap with the artwork intact in the file. */
.foot__band::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 16%;
  background: linear-gradient(180deg, rgba(9,11,17,0) 0%, var(--page-2) 100%);
}
/* And one at the top, so it does not butt against the section above it. */
.foot__band::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 18%;
  background: linear-gradient(180deg, var(--page) 0%, rgba(5,6,8,0) 100%);
  z-index: 1;
}

.foot__in { padding-block: clamp(18px, 2.4vw, 30px); }

.eco {
  display: grid; gap: 0;
  /* Two lockups and the slogan. Base used to be a third column here and is
     now at the foot of the hero, unlinked — only Stonks Exchange and Stockify
     go anywhere a holder needs. */
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: center;
}
/* Hairline dividers between the lockups rather than three boxes — the design
   separates them with rules and no card. */
.eco__half {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  text-align: center; text-decoration: none;
  padding: 10px 24px;
  border-right: 1px solid rgba(255,255,255,.14);
  transition: opacity .16s;
}
.eco__half:hover { opacity: .78; }
/* On the picture now, so the type carries its own shadow rather than relying
   on a flat ground behind it. */
.eco__kicker, .eco__sub, .eco__slogan {
  text-shadow: 0 1px 3px rgba(5,6,8,1), 0 2px 12px rgba(5,6,8,.9);
}
/* Not a link, so it does not offer the hover a link offers. */
.eco__half--static { cursor: default; }
.eco__half--static:hover { opacity: 1; }
.eco__slogan {
  margin: 0; padding-left: 24px;
  font-size: 12px; font-weight: 700; line-height: 1.95;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
  text-align: left; white-space: nowrap;
}
.eco__kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-2);
}
/* Sized against the artwork rather than against each other: the Stockify
   lockup is a mark plus a wordmark and reads large at a given height, while
   the Stonks one is a wide single line and reads small at the same height —
   so they are set to LOOK the same size, not to measure the same. */
.eco__logo { width: auto; max-height: 52px; }
.eco__logo--stonks { max-height: 40px; }
.eco__base { display: inline-flex; align-items: center; gap: 9px; color: #2f7dff; }
.eco__baselogo { width: 24px; height: 24px; }
.eco__basename { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.eco__sub { font-size: 12.5px; color: var(--ink-3); }

.foot__fine {
  margin: 0 auto; max-width: 74ch; text-align: center;
  font-size: 11.5px; line-height: 1.7; color: var(--ink-3);
}
.foot__fine + .foot__fine { margin-top: 14px; }
.foot__fine b { color: var(--ink-2); }

/* ==========================================================================
   ENTRANCE ANIMATIONS
   --------------------------------------------------------------------------
   Opt-in: the script adds .anim to <html> and .rise to each element, so with
   no JS the page is simply the page. The keyframes animate `translate`, not
   `transform` — they are separate properties now, and an animation with
   fill:both keeps ownership of what it animated, so animating `transform`
   would beat .stat:hover's transform and kill every hover lift after the
   reveal ran.
   ========================================================================== */

.anim .rise { opacity: 0; }
.anim .rise.is-in { animation: rise .55s cubic-bezier(.2,.7,.3,1) var(--d, 0ms) both; }
.anim [data-rise] { opacity: 0; }
.anim [data-rise].is-in { animation: rise .6s cubic-bezier(.2,.7,.3,1) var(--d, 0ms) both; }

@keyframes rise {
  from { opacity: 0; translate: 0 14px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

}

@media (max-width: 860px) {
  /* Content sets the height here; see the note on .foot__band. */
  .foot__band { aspect-ratio: auto; }
  .eco { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  /* Stacked, the vertical rules become horizontal ones between rows. */
  .eco__half { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .eco__slogan { padding-left: 0; text-align: center; white-space: normal; }
  .lockup__name { display: none; }
}

@media (max-width: 620px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Still six across; below this width they lose the logo and the ticker
     rather than the row. */
  .dist__grid { gap: 3px; }
  .dist__card { padding: 7px 2px; }
  .dist__logo { width: 18px; height: 18px; }
  .dist__ticker { display: none; }
  .dist__name { font-size: 8px; letter-spacing: 0; }
  .dist__tokens { font-size: 11px; }
  .dist__usd { font-size: 8px; }
  /* The buttons stay on one line down to 320px, shedding padding and type
     size as they go — the template's rule, and the CA chip is the one that
     has to survive it. */
  .btn { padding: 8px 10px; font-size: 12px; }
  .btn--ca .btn__ca { display: inline; font-size: 12px; }
}

@media (max-width: 380px) {
  .btn { padding: 7px 8px; gap: 5px; }
  .btn__ca { font-size: 11px; }
}

/* Reduced motion: flatten everything, including the pill's pulse. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
