/* Circuit & Chisel v4: the lab dossier that computes */

/* Fonts */
@font-face {
  font-family: 'Univa Nova';
  src: url('fonts/UnivaNova-Regular.woff2') format('woff2'),
       url('fonts/UnivaNova-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Univa Nova';
  src: url('fonts/UnivaNova-SemiBold.woff2') format('woff2'),
       url('fonts/UnivaNova-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JUST Sans';
  src: url('fonts/JUST Sans Regular.woff2') format('woff2'),
       url('fonts/JUST Sans Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JUST Sans';
  src: url('fonts/JUST Sans Medium.woff2') format('woff2'),
       url('fonts/JUST Sans Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JUST Sans';
  src: url('fonts/JUST Sans SemiBold.woff2') format('woff2'),
       url('fonts/JUST Sans SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Tokens */
:root {
  --ink: #141413;
  --gray: #8a8a8a;
  --slate: #5f5d57;
  --muted: #b0aea5;
  --ivory: #faf9f5;
  --line: rgba(20, 20, 19, .07);
  --hard: #141413;
  --ub-orange: #f4513a;
  --ub-deep: #c2371f;
  --ub-ink: #292524;
  --ub-warm: #6e675c;
  --ub-serif: "Iowan Old Style", "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono: "Azeret Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1280px;
  --display: clamp(3.1rem, 1.9rem + 5.2vw, 5.9rem);
  --h2: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  --stat: clamp(3.3rem, 2.5rem + 3.8vw, 5.9rem);
  --space-band: clamp(48px, 30px + 2.7vw, 78px);
  --hover: 150ms cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --rv-ease: cubic-bezier(.2, .6, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'JUST Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #ffffff;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: 'Univa Nova', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

/* keyboard a11y: one machined focus ring everywhere */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ub-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.email-chip:focus-visible {
  border-radius: 999px;
  outline-offset: 4px;
}
.mission a:focus-visible { outline-color: var(--ub-orange); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.nowrap { white-space: nowrap; }

/* ===== Move 2: machined page grid ===== */
.page-rules {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max);
  pointer-events: none;
  z-index: 4;
}
.page-rules::before,
.page-rules::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.page-rules::before { left: 0; transform-origin: top; }
.page-rules::after { right: 0; }
html.js .page-rules::before {
  transform: scaleY(0);
  animation: ruleDraw .6s var(--ease-out) forwards;
}
@keyframes ruleDraw { to { transform: scaleY(1); } }

main > section { border-top: 1px solid var(--line); }
main > section.hero { border-top: 0; }

/* ===== Move 3: section index kickers ===== */
.kicker {
  display: block;
  font-family: 'JUST Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}
.unbiased-band .kicker,
.gives .kicker { color: var(--ub-orange); }
.mission .kicker { color: var(--gray); }

/* Header (C&C frame, untouched grammar) */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  display: block;
  width: 141px;
  height: 18px;
  color: #000;
}
.brand-home { position: relative; display: inline-block; }
/* invisible hit target over the + glyph in the wordmark (easter egg) */
.plus-hit {
  position: absolute;
  left: 62px;
  top: -8px;
  width: 20px;
  height: 34px;
  z-index: 1;
}
/* easter-egg pixels: fixed-position, pointer-inert, zero layout shift */
.egg-px {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--ub-orange);
  pointer-events: none;
  z-index: 30;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a.nav-link {
  font-family: 'Univa Nova', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  transition: opacity var(--hover);
}
.nav a.nav-link:hover { opacity: .7; }

/* Buttons (pill CTAs, C&C frame) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Univa Nova', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 999px;
  transition: opacity var(--hover), background var(--hover), color var(--hover);
  cursor: pointer;
  white-space: nowrap;
}
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #292524; }
.nav .btn { padding: 10px 20px; }
.btn .arrow,
.text-link .arrow {
  font-family: 'JUST Sans', sans-serif;
  font-weight: 400;
  display: inline-block;
  transition: transform var(--hover);
}
.btn:hover .arrow,
.text-link:hover .arrow { transform: translateX(4px); }

/* ===== Move 1: hero ===== */
.hero {
  padding: clamp(52px, 34px + 2.6vw, 82px) 0 clamp(44px, 28px + 2.4vw, 66px);
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 auto;
  max-width: 1120px;
}
.hero-co {
  font-family: var(--ub-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 1rem + 1.9vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--ink);
  max-width: 900px;
  margin: 18px auto 0;
}
.co-accent {
  white-space: nowrap;
  padding-bottom: .06em;
  background-image: linear-gradient(var(--ub-orange), var(--ub-orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 4px;
}
html.js .co-accent {
  background-size: 0% 4px;
  transition: background-size .4s var(--ease-out);
}
html.js .co-accent.drawn { background-size: 100% 4px; }
.hero .sub {
  font-family: 'JUST Sans', sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 620px;
  margin: 14px auto 0;
}
.hero .cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.text-link {
  font-family: 'Univa Nova', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  transition: opacity var(--hover);
}
.text-link:hover { opacity: .7; }
/* Shipping ticker: CSS only, so it animates and reads correctly with JS off.
   Pauses on hover and keyboard focus; goes static under prefers-reduced-motion. */
.tick {
  height: 24px;
  overflow: hidden;
  margin: 32px auto 0;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .02em;
  color: #5f5c55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tick-track {
  display: inline-flex;
  white-space: nowrap;
  line-height: 24px;
  animation: tickScroll 56s linear infinite;
  will-change: transform;
}
.tick-set {
  display: inline-flex;
  gap: 18px;
  padding-right: 18px;
}
.tick-item { white-space: nowrap; }
.tick-item a { color: var(--ub-deep); transition: opacity var(--hover); }
.tick-item a:hover { opacity: .75; text-decoration: underline; }
.tick-sep { color: #a8a49a; }
@keyframes tickScroll { to { transform: translateX(-50%); } }
.tick:hover .tick-track,
.tick:focus-within .tick-track { animation-play-state: paused; }

/* Word-by-word reveal (armed by JS only) */
.w { display: inline-block; }
html.js .words-armed .w {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 40ms);
}
html.js .words-armed.words-in .w { opacity: 1; transform: none; }

/* ===== Move 4: Unbiased band + pixel-clock canvas ===== */
.unbiased-band {
  position: relative;
  text-align: center;
  padding: calc(var(--space-band) - 20px) 0 var(--space-band);
  background-color: #f2ecdf;
  background-image:
    linear-gradient(rgba(163, 134, 96, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 134, 96, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, #ece4d1 0%, #f5f0e5 70%, #f7f3ea 100%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}
.px-canvas {
  position: absolute;
  left: 0;
  top: -90px;
  width: 100%;
  height: calc(100% + 90px);
  pointer-events: none;
  z-index: 0;
}
.unbiased-band .wrap { position: relative; z-index: 1; }
.unbiased-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.lockup-icon { display: block; height: 24px; width: auto; }
.lockup-word { display: block; height: 19px; width: auto; }
.ub-headline {
  font-family: var(--ub-serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.005em;
  color: #3d3a33;
  margin: 6px auto 0;
  max-width: 1100px;
}
.ub-sub {
  font-family: var(--ub-serif);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  line-height: 1.5;
  color: #55524b;
  margin: 12px auto 0;
  max-width: 640px;
}

/* ===== Moves 5 + 6: stat anatomy ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
  margin-top: 40px;
  text-align: left;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6e675c;
  margin-bottom: 12px;
}
.stat-chip .glyph { color: var(--ub-orange); font-weight: 400; }
.stat-num {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  gap: .08em;
  font-family: 'Univa Nova', sans-serif;
  font-weight: 400;
  font-size: var(--stat);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--ub-ink);
  font-variant-numeric: tabular-nums;
  height: calc(var(--stat) * 1);
  margin-bottom: 12px;
}
.stat-num small {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ub-warm);
  margin-bottom: .5em;
  margin-right: .3em;
}
.stat-num .suffix {
  font-size: .48em;
  line-height: 1;
  margin-bottom: .1em;
  color: var(--ub-ink);
}
.stat-num.stat-word {
  font-size: calc(var(--stat) * .62);
  height: calc(var(--stat) * 1);
  padding-bottom: .07em; /* optical: match the numeral baseline */
}
/* connector rules (vertical, echoes the unbiased | ai lockup) */
.stat:not(:last-child) .stat-num::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -27px;
  margin-top: -20px;
  width: 2px;
  height: 40px;
  background: var(--ub-orange);
}
.stat.rv:not(:last-child) .stat-num::after {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--rv-ease);
  transition-delay: calc(var(--i, 0) * 120ms + 260ms);
}
.stat.rv.in .stat-num::after { transform: scaleY(1); }
.stat-desc {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: #4c473f;
  margin-top: 0;
  max-width: 24ch;
}
.stat:hover .stat-desc {
  text-decoration: underline;
  text-decoration-color: var(--ub-orange);
  text-underline-offset: 3px;
}

/* ===== Move 7: audit line ===== */
.audit-line {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: #6e675c;
  text-align: center;
  margin-top: 34px;
}
.audit-line a {
  color: var(--ub-deep);
  border-bottom: 1px solid rgba(194, 55, 31, .35);
  transition: opacity var(--hover);
}
.audit-line a:hover { opacity: .75; }

/* ===== Move 8: release cards + timeline ===== */
.gives { padding: var(--space-band) 0; }
.gives h2 { font-size: var(--h2); line-height: 1.2; text-align: center; }
.gives .kicker { text-align: center; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.card {
  background: #fff;
  border: 1px solid var(--hard);
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--hard);
  padding: 22px 24px 24px;
  text-align: left;
  transition: transform var(--hover), box-shadow var(--hover);
}
.card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--hard);
}
.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.card .card-kicker {
  font-family: 'JUST Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ub-deep);
}
.card-stamp {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.card-stamp::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--ub-orange);
  margin-right: 8px;
}
.card h3 { font-size: 24px; margin-top: 12px; font-weight: 400; }
.card p {
  font-family: 'JUST Sans', sans-serif;
  font-size: 16px;
  color: var(--slate);
  margin-top: 8px;
}

/* shipping timeline */
.timeline {
  position: relative;
  max-width: 620px;
  margin: 44px auto 0;
  display: flex;
  justify-content: space-between;
}
/* timeline draw-in: JS arms it, IO plays it; static + visible otherwise */
.timeline.tl-armed .tl-rule {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .8s var(--rv-ease);
}
.timeline.tl-armed .tl-node {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--rv-ease) .3s, transform .45s var(--rv-ease) .3s;
}
.timeline.tl-armed .tl-node.tl-end {
  transition-delay: .55s;
}
.timeline.tl-armed.tl-in .tl-rule { transform: scaleX(1); }
.timeline.tl-armed.tl-in .tl-node { opacity: 1; transform: none; }
.tl-rule {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 4.5px;
  height: 1px;
  background: rgba(20, 20, 19, .25);
}
.tl-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.tl-node.tl-end { align-items: flex-end; text-align: right; }
.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hard);
}
.tl-dot.tl-open {
  background: repeating-linear-gradient(45deg, rgba(20, 20, 19, .55) 0 1px, transparent 1px 3px);
  border: 1px solid var(--hard);
  background-color: #fff;
}
.tl-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.tl-node.tl-end .tl-label { color: var(--slate); }

/* ===== Move 9: mission monument ===== */
.mission {
  background: #000;
  color: var(--ivory);
  overflow: clip;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: calc(var(--space-band) + 10px) 0;
}
.mission .wrap { width: 100%; }
.mission-inner { max-width: 1040px; position: relative; z-index: 1; }
.mission .rule {
  width: 220px;
  height: 2px;
  background: var(--ub-orange);
  margin-bottom: 24px;
}
.mission .rule.rv {
  transform: scaleX(0) !important;
  transform-origin: 0 50%;
  opacity: 1;
  transition: transform .8s var(--rv-ease);
}
.mission .rule.rv.in { transform: scaleX(1) !important; }
.mission h2 {
  color: var(--ivory);
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -.015em;
}
.mission-tagline {
  font-family: 'JUST Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
}
.mission-tagline .dim { color: var(--gray); }
.mission-tagline .lit { color: var(--ivory); }

.constellation {
  position: absolute;
  right: -40px;
  bottom: -48px;
  width: min(46vw, 640px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.const-drift { animation: constDrift 60s ease-in-out infinite; }
@keyframes constDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-28px, 16px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ===== Move 10: founding memo ===== */
.company { padding: var(--space-band) 0; }
.company-inner { max-width: 58ch; margin: 0; text-align: left; }
.company h2 { font-size: var(--h2); line-height: 1.2; }
.dateline {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 14px;
}
.company-body {
  font-family: 'JUST Sans', sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 12px;
  text-wrap: pretty;
}
.founders-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 30px;
}
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.founder {
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color var(--hover), transform var(--hover);
}
.founder:hover {
  border-color: rgba(20, 20, 19, .3);
  transform: translateY(-1px);
}
.founder-photo {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder figcaption { padding: 12px 16px 14px; }
.founder-name {
  display: block;
  font-family: 'Univa Nova', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
}
.founder-title {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 5px;
}

/* ===== Move 11: backers ledger ===== */
.backers { padding: var(--space-band) 0; text-align: center; }
.backers p.backers-line {
  font-family: 'JUST Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--slate);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-top: 22px;
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
  transition: box-shadow var(--hover);
}
.logo-cell:hover { box-shadow: inset 0 0 0 1px rgba(20, 20, 19, .22); }
.logo-cell:first-child { border-left: 0; }
.logo-cell img {
  height: 26px;
  width: auto;
  display: block;
  transition: transform var(--hover);
}
.logo-cell:hover img { transform: translateY(-1px); }
.logo-cell img.tall { height: 32px; }
/* optical sizing: even visual weight across the four marks */
.logo-cell img[alt="Coinbase"] { height: 24px; }
.logo-cell img[alt="Solana"] { height: 31px; transform: translateY(2px); }
.logo-cell:hover img[alt="Solana"] { transform: translateY(1px); }
.logo-cell img[alt="Samsung"] { height: 24px; }

/* Contact */
.contact { padding: var(--space-band) 0; text-align: center; }
.contact h2 { font-size: var(--h2); }
.contact .kicker { text-align: center; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}
.contact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card .email-chip { margin-top: auto; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 22px; font-weight: 400; }
.contact-card p {
  font-family: 'JUST Sans', sans-serif;
  font-size: 15px;
  color: var(--slate);
  margin: 8px auto 16px;
  max-width: 320px;
}
.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 20px;
  font-family: 'JUST Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: background var(--hover), transform var(--hover), border-color var(--hover);
}
.email-chip:hover {
  background: rgba(20, 20, 19, .04);
  border-color: #000;
  transform: translateY(-1px);
}
.email-chip svg { width: 16px; height: 16px; color: var(--gray); }

/* ===== Move 12: footer signature ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 0;
  text-align: center;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(163, 134, 96, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 134, 96, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: 'JUST Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
}
.footer-links a:hover { opacity: .7; }
.footer-ledger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}
.footer-ledger .ledger-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
}
.footer-ledger a { color: var(--ink); transition: color var(--hover); }
.footer-ledger a:hover { color: var(--ub-orange); }
.footer-ledger .ledger-plain { color: var(--gray); }
.footer-social {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}
.footer-social .ledger-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.footer-social .social-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
}
.footer-social a {
  display: inline-block;
  padding: 4px 10px;
  color: var(--ink);
  transition: color var(--hover);
}
.footer-social a:hover { color: var(--ub-orange); }
.copyright {
  font-family: 'JUST Sans', sans-serif;
  font-size: 13px;
  color: var(--gray);
  margin-top: 16px;
}
.footer-sig { margin-top: 30px; padding-bottom: clamp(40px, 3.4vw, 56px); }
.footer-sig .wordmark-stacked {
  display: block;
  width: min(max(21vw, 260px), 380px);
  height: auto;
  margin: 0 auto;
  color: #000;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #000;
  color: #fff;
  font-family: 'JUST Sans', sans-serif;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 20;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Move 13: one motion contract =====
   .rv is only ever added by JS (never in HTML), so with JS off nothing hides.
   Stagger delay is set inline per intersection batch by app.js. */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .58s var(--rv-ease), transform .58s var(--rv-ease);
}
.rv.in { opacity: 1; transform: none; }

/* section hairline rules draw in (JS-armed; border simply stays put with JS off) */
.rule-armed { border-top-color: transparent !important; position: relative; }
.rule-armed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1s var(--rv-ease) .05s;
  z-index: 3;
  pointer-events: none;
}
.rule-armed.rule-in::before { transform: scaleX(1); }

/* stat settle tick: numeral snaps with a subtle one-beat orange flash */
@keyframes statFlash {
  0%, 40% { color: var(--ub-orange); }
  100% { color: var(--ub-ink); }
}
.stat-num .flash { animation: statFlash .34s linear 1; }

/* ===== Move 14: responsive ===== */
@media (max-width: 900px) {
  .page-rules { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .stat:not(:last-child) .stat-num::after { display: none; }
  .stat-num { margin-bottom: 12px; }
  .company-inner { max-width: 58ch; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav .nav-link { display: none; }
  /* 44px+ tap targets */
  .brand-home { padding: 13px 0; margin: -13px 0; }
  .nav .btn { padding: 14px 22px; }
  .hero .cta { flex-direction: column; gap: 12px; }
  .hero .cta .btn-black { min-height: 48px; }
  .text-link { padding: 12px 16px; }
  .hero { padding-bottom: clamp(44px, 30px + 3vw, 64px); }
  /* ticker goes static on small screens: a stacked ledger, entries never break internally */
  .tick { height: auto; overflow: visible; margin-top: 28px; -webkit-mask-image: none; mask-image: none; }
  .tick-track { animation: none; display: block; white-space: normal; }
  .tick-set { display: grid; row-gap: 10px; padding-right: 0; justify-items: start; text-align: left; }
  .tick-set[aria-hidden="true"], .tick-sep { display: none; }
  .tick-item {
    white-space: normal;
    line-height: 1.6;
    padding-left: 14px;
    border-left: 2px solid rgba(244, 81, 58, .5);
  }
  .tick-item a { display: inline-block; padding: 4px 0; margin: -4px 0; }
  .unbiased-band { background-size: 16px 16px, 16px 16px, 100% 100%; padding: 44px 0 52px; }
  .px-canvas { top: -56px; height: calc(100% + 56px); }
  .unbiased-lockup { margin-bottom: 20px; padding: 10px 12px; margin-top: -10px; }
  /* single-column stat ledger */
  .stat-row { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .stat { padding: 18px 0; border-top: 1px solid rgba(61, 58, 51, .16); }
  .stat:first-child { border-top: 0; padding-top: 8px; }
  .stat:last-child { padding-bottom: 8px; }
  .stat-chip { font-size: 11px; letter-spacing: .14em; margin-bottom: 10px; }
  .stat-num { font-size: clamp(2.4rem, 1.5rem + 4.6vw, 3.1rem); height: auto; min-height: 1em; margin-bottom: 8px; }
  .stat-num.stat-word { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.4rem); height: auto; padding-bottom: 0; }
  .stat-num small { font-size: 10px; margin-bottom: .4em; }
  .stat-desc { font-size: 13px; line-height: 1.55; max-width: none; }
  .audit-line { margin-top: 30px; font-size: 11px; line-height: 2; }
  .audit-line a { display: inline; padding: 8px 0; }
  .timeline { flex-direction: column; gap: 24px; margin-top: 36px; max-width: none; align-items: flex-start; }
  .tl-rule { left: 5px; right: auto; top: 8px; bottom: 8px; height: auto; width: 1px; }
  /* vertical timeline draws downward on mobile */
  .timeline.tl-armed .tl-rule { transform: scaleY(0); transform-origin: 50% 0; }
  .timeline.tl-armed.tl-in .tl-rule { transform: scaleY(1); }
  .tl-node, .tl-node.tl-end { flex-direction: row; align-items: center; text-align: left; gap: 18px; }
  .tl-dot { flex: none; width: 11px; height: 11px; }
  .tl-label { font-size: 12px; letter-spacing: .1em; }
  .mission .rule { margin-bottom: 20px; }
  .mission-tagline { margin-top: 20px; }
  .constellation { right: -60px; bottom: -32px; width: 340px; }
  .company-body { font-size: 17px; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .logo-cell { padding: 22px 16px; border-top: 1px solid var(--line); }
  .logo-cell:nth-child(-n+2) { border-top: 0; }
  .logo-cell:nth-child(3) { border-left: 0; }
  .logo-cell img { height: 20px; }
  .logo-cell img.tall { height: 24px; }
  .logo-cell img[alt="Coinbase"] { height: 18px; }
  .logo-cell img[alt="Solana"] { height: 23px; transform: translateY(1.5px); }
  .logo-cell img[alt="Samsung"] { height: 18px; }
  /* full-width contact chips, 48px tall */
  .contact-grid { gap: 36px; margin-top: 32px; }
  .email-chip {
    display: flex;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    justify-content: center;
    min-height: 48px;
    font-size: 14px;
    padding: 12px 18px;
  }
  /* easy-to-hit footer links */
  .footer-links { gap: 4px; }
  .footer-links a { display: inline-block; padding: 12px 12px; }
  .footer-ledger { gap: 0; }
  .footer-ledger a, .footer-ledger .ledger-plain { display: inline-block; padding: 13px 8px; }
  .footer-ledger .ledger-label { padding: 0; }
  .footer-social .social-row { gap: 0 2px; }
  .footer-social a { padding: 13px 12px; }
  .footer-sig .wordmark-stacked { width: 62vw; }
  .founder-grid { grid-template-columns: 1fr; gap: 12px; }
  .founder { display: flex; align-items: stretch; }
  .founder-photo {
    width: 116px;
    flex: none;
    aspect-ratio: 1 / 1;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .founder figcaption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 18px;
  }
  .founders-label { margin-top: 26px; }
}

/* Reduced motion, wide screens: ticker goes static, wrapped at entry boundaries, fully readable
   (small screens already use the static stacked ledger above) */
@media (prefers-reduced-motion: reduce) and (min-width: 641px) {
  .tick { height: auto; -webkit-mask-image: none; mask-image: none; }
  .tick-track { display: block; white-space: normal; }
  .tick-set { display: inline-flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; padding-right: 0; }
  .tick-set[aria-hidden="true"], .tick-sep-loop { display: none; }
}

/* ===== Reduced motion: everything inert =====
   (app.js also skips all arming under reduce; this is the CSS backstop) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tick-track { animation: none !important; }
  .rv,
  html.js .words-armed .w {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.js .co-accent { background-size: 100% 4px !important; transition: none !important; }
  .stat.rv:not(:last-child) .stat-num::after { transform: none !important; transition: none !important; }
  html.js .page-rules::before { animation: none !important; transform: none !important; }
  .rule-armed { border-top-color: var(--line) !important; }
  .rule-armed::before { display: none !important; }
  .mission .rule.rv { transform: none !important; transition: none !important; }
  .timeline.tl-armed .tl-rule,
  .timeline.tl-armed .tl-node {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .stat-num .flash { animation: none !important; }
  .const-drift { animation: none !important; }
  .btn:hover .arrow, .text-link:hover .arrow { transform: none; }
  .card:hover, .email-chip:hover, .founder:hover, .logo-cell:hover img { transform: none; }
}
