/* SCHRODINGER — schrodinger.sh
   Tokenised penny stocks on Robinhood Chain.
   Editorial-brutalist: cream paper, ink rules, one orange, one mint.
   Palette sampled from the house portrait (the cat in the bow tie). */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url(/brand/fonts/BricolageGrotesque-Variable.ttf) format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter SC";
  src: url(/brand/fonts/Inter-Variable.ttf) format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */
:root {
  --paper: #f7f1e7;
  --surface: #f7f1e7;
  --surface-2: #ece3d4;
  --surface-3: #e2d7c4;

  --ink: #0d0d0c;
  --ink-2: rgba(13, 13, 12, 0.74);
  --ink-3: rgba(13, 13, 12, 0.5);
  --hairline: rgba(13, 13, 12, 0.16);
  --hairline-2: rgba(13, 13, 12, 0.28);

  /* the bow tie */
  --orange: #ce5220;
  --orange-soft: rgba(206, 82, 32, 0.12);
  /* the torn paper behind the cat */
  --mint: #71d6a3;
  --mint-soft: rgba(113, 214, 163, 0.24);
  --up: #12855a;
  --down: #c8352c;
  --down-soft: rgba(200, 53, 44, 0.14);

  --material: rgba(247, 241, 231, 0.86);

  --display: "Bricolage Grotesque", "Inter SC", system-ui, sans-serif;
  --body: "Inter SC", system-ui, -apple-system, sans-serif;

  --rule: 2px solid var(--ink);
  --wrap: 72rem;
}

/* ----------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection {
  background: var(--mint);
  color: var(--ink);
}
img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
}
/* Every image here carries width/height attributes so the browser can reserve
   the box before it loads. Without height:auto those attributes keep their
   pixel value while the width is constrained by CSS, and the picture stretches
   into a tall smear. That is what happened to the launchpad art and the hero
   cutouts. */
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}

/* ----------------------------------------------------------- primitives */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 1024px) {
  .wrap {
    padding-inline: 2rem;
  }
}

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1.display {
  font-size: clamp(2.6rem, 6.8vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
}
h2.display {
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h3.display {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.label {
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.label--rule {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.label--rule::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.lede {
  font-size: 1.06rem;
  line-height: 1.625;
  color: var(--ink-2);
}
.small {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.tiny {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.mint-text {
  color: var(--up);
}
.down-text {
  color: var(--down);
}

.card {
  background: var(--surface);
  border: var(--rule);
  border-radius: 0;
}
.card--sunk {
  background: var(--surface-2);
}
.lift {
  transition: transform 0.12s, background 0.12s;
}
.lift:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
}
.press {
  transition: transform 0.1s, background 0.12s, color 0.12s;
}
.press:active {
  transform: translateY(1px);
}

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1.5rem;
  border: var(--rule);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s, background 0.12s, color 0.12s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--orange);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--ghost:hover {
  background: var(--surface-2);
}
.btn--mint {
  background: var(--mint);
  color: var(--ink);
}
.btn--mint:hover {
  background: var(--ink);
  color: var(--mint);
}
.btn--sm {
  height: 2.25rem;
  padding-inline: 1rem;
}
.btn--lg {
  height: 3.25rem;
  padding-inline: 1.75rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* pills / chips ---------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.5rem 0.2rem;
  border: 1px solid var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.chip--mint {
  background: var(--mint);
}
.chip--orange {
  background: var(--orange);
  color: var(--paper);
}
.chip--ink {
  background: var(--ink);
  color: var(--paper);
}
.chip--quiet {
  border-color: var(--hairline-2);
  color: var(--ink-3);
}

.dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--up);
  flex: none;
}
.dot--live {
  animation: sc-pulse 1.8s ease-in-out infinite;
}
@keyframes sc-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

/* meter ------------------------------------------------------------------ */
.meter {
  height: 0.6rem;
  background: var(--surface-2);
  border: 1px solid var(--ink);
  overflow: hidden;
}
.meter > span {
  display: block;
  height: 100%;
  background: var(--mint);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.meter--over > span {
  background: repeating-linear-gradient(
    -45deg,
    var(--mint) 0 6px,
    var(--up) 6px 12px
  );
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--material);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--ink);
  object-fit: cover;
  flex: none;
}
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
}
.site-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.site-nav a:hover {
  border-bottom-color: var(--orange);
}
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* mobile nav ------------------------------------------------------------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: var(--rule);
  background: var(--paper);
  cursor: pointer;
  padding: 0;
}
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}
.nav-drawer {
  display: none;
  border-bottom: var(--rule);
  background: var(--paper);
}
.nav-drawer[data-open="true"] {
  display: block;
}
@media (min-width: 900px) {
  .nav-drawer {
    display: none !important;
  }
}
.nav-drawer a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.nav-drawer a:last-child {
  border-bottom: 0;
}

/* ------------------------------------------------------------------ tape */
.tape {
  border-bottom: var(--rule);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.tape__track {
  display: flex;
  width: max-content;
  padding-block: 0.6rem;
  animation: sc-marquee 62s linear infinite;
}
.tape:hover .tape__track {
  animation-play-state: paused;
}
@keyframes sc-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-33.3333%, 0, 0);
  }
}
.tape__group {
  display: flex;
  flex: none;
  align-items: center;
}
.tape__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 1.25rem;
  font-size: 0.78rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tape__sym {
  font-weight: 700;
}
.tape__venue {
  color: rgba(247, 241, 231, 0.62);
  font-size: 0.72rem;
}
.tape__state {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

/* ---------------------------------------------------------------- layout */
.section {
  padding-top: 6rem;
}
@media (min-width: 1024px) {
  .section {
    padding-top: 8rem;
  }
}
.section--first {
  padding-top: 3rem;
}
@media (min-width: 1024px) {
  .section--first {
    padding-top: 4rem;
  }
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.section-head h2 {
  margin-top: 1.25rem;
}
.stack > * + * {
  margin-top: var(--gap, 1rem);
}
.grid {
  display: grid;
  gap: 1rem;
}
.grid > * {
  min-width: 0;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.hero__edge {
  position: absolute;
  inset: -2.25rem calc(50% - 50vw) -3rem;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}
@media (max-width: 1180px) {
  .hero__edge {
    display: none;
  }
}
.hero__cutout {
  position: absolute;
  display: block;
}
/* The two interlocutors lean in from the page edges, most of each one past
   it. They sit behind the copy column, so the overlap stays faint enough to
   read through. Both are engravings, so they carry the same register. */
.hero__cutout--left {
  width: clamp(15rem, 19vw, 21rem);
  left: clamp(-11rem, -9.5vw, -6.5rem);
  bottom: -2.5rem;
  transform: rotate(-3deg);
  opacity: 0.42;
}
.hero__cutout--right {
  width: clamp(15rem, 19vw, 21rem);
  right: clamp(-11rem, -9.5vw, -6.5rem);
  bottom: -3.5rem;
  transform: rotate(3deg) scaleX(-1);
  opacity: 0.42;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.26fr 0.74fr;
  }
}
.hero h1 {
  margin-top: 1.25rem;
}
.hero__lede {
  margin-top: 1.5rem;
  max-width: 36rem;
}
.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ticket card ------------------------------------------------------------ */
.ticket {
  padding: 1.5rem;
}
.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ticket__id {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.ticket__rows {
  margin-top: 1.25rem;
}
.ticket__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px dotted var(--hairline-2);
}
.ticket__row > span:last-child {
  font-size: 0.98rem;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ticket__row--accent > span:last-child {
  color: var(--orange);
}
.ticket__note {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* stock avatar ----------------------------------------------------------- */
.tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--ink);
  background: var(--surface-2);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-transform: uppercase;
}
.tile--lg {
  width: 3rem;
  height: 3rem;
  font-size: 0.86rem;
}
.tile--mint {
  background: var(--mint);
}
.tile--orange {
  background: var(--orange);
  color: var(--paper);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------- the observation hand */
/* The reference puts a ringing telephone beside its engine copy. Here the
   equivalent gesture is the observation itself: a hand, and the pulse that
   goes out when the custodian looks. */
.observe {
  position: relative;
  isolation: isolate;
  pointer-events: none;
  user-select: none;
}
.observe__hand {
  position: relative;
  z-index: 2;
  transform-origin: 52% 84%;
  animation: sc-knock 1.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}
.observe__hand img {
  width: 100%;
  height: auto;
}
.observe__ring {
  position: absolute;
  z-index: 1;
  aspect-ratio: 1;
  width: 42%;
  border: 3px solid var(--orange);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: 0;
  animation: sc-wave 1.6s ease-out infinite;
}
.observe__ring--a {
  top: 2%;
  left: 4%;
  transform: rotate(-24deg);
}
.observe__ring--b {
  top: 16%;
  right: 0;
  border-color: var(--mint);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(22deg);
  animation-delay: 0.16s;
}
@keyframes sc-knock {
  0%, 62%, 100% { transform: rotate(0deg) translateY(0); }
  68% { transform: rotate(-7deg) translateY(-3px); }
  76% { transform: rotate(5deg) translateY(1px); }
  84% { transform: rotate(-3deg) translateY(0); }
}
@keyframes sc-wave {
  0% { opacity: 0; transform: scale(0.7) rotate(-24deg); }
  22% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.5) rotate(-24deg); }
}

/* ------------------------------------------------------ the archive plate */
/* The 1926 photograph, framed like a print pinned to the wall. */
.plate {
  border: var(--rule);
  background: var(--paper);
  padding: 0.5rem 0.5rem 0;
  transform: rotate(-2deg);
}
.plate img {
  width: 100%;
  height: auto;
}
.plate__caption {
  padding: 0.55rem 0.1rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

/* ------------------------------------------------------------ crowd band */
/* A row of onlookers along the bottom edge, cut off by the band, the way a
   crowd leans over a rail. */
.fringe {
  position: relative;
  width: min(100%, 68rem);
  margin: 2rem auto -1.1rem;
  aspect-ratio: 2688 / 760;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fringe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}
@media (max-width: 760px) {
  .fringe {
    margin-top: 1rem;
  }
}

/* ---------------------------------------------------------------- engine */
.engine__intro {
  display: grid;
  grid-template-columns: clamp(7rem, 10vw, 10rem) minmax(0, 48rem);
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
@media (max-width: 760px) {
  .engine__intro {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
.engine__cat {
  position: relative;
  border: var(--rule);
  background: var(--paper);
  transform: rotate(-3deg);
}
@media (max-width: 760px) {
  .engine__cat {
    width: 6.5rem;
    margin-bottom: -0.5rem;
  }
}
.engine__cat img {
  width: 100%;
  height: auto;
}
.engine__rail {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: var(--rule);
  background: var(--surface);
  position: relative;
}
.engine__rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4.4rem;
  height: 2px;
  background: var(--orange);
  z-index: 0;
}
.station {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.1rem 1.1rem;
  border-right: 2px solid var(--ink);
  background: var(--surface);
}
.station:last-child {
  border-right: 0;
}
.station__num {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--orange);
}
.station__pip {
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid var(--ink);
  background: var(--mint);
  margin: 0.9rem 0 1.1rem;
}
.station h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.station p {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-2);
}
.station__tag {
  margin-top: auto;
  padding-top: 1rem;
}

/* One hand per station, reaching up into the rail from below. They are decor,
   but they carry the same beat as the stations above them. */
.engine__controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  position: relative;
  z-index: 0;
  margin-top: -1.6rem;
  pointer-events: none;
  user-select: none;
}
.engine__control {
  width: min(100%, 7.5rem);
  margin-inline: auto;
  transform-origin: 50% 100%;
  animation: sc-reach 1.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}
.engine__control img {
  width: 100%;
  height: auto;
}
.engine__control:nth-child(1) { animation-delay: -0.05s; }
.engine__control:nth-child(2) { animation-delay: -0.26s; }
.engine__control:nth-child(3) { animation-delay: -0.47s; }
.engine__control:nth-child(4) { animation-delay: -0.68s; }
.engine__control:nth-child(5) { animation-delay: -0.89s; }
@keyframes sc-reach {
  0%, 70%, 100% { transform: translateY(6px) rotate(0deg); }
  78% { transform: translateY(-2px) rotate(-2deg); }
  88% { transform: translateY(2px) rotate(1.5deg); }
}
@media (max-width: 900px) {
  .engine__controls {
    display: none;
  }
}
@media (max-width: 900px) {
  .engine__rail {
    grid-template-columns: 1fr;
    border: 0;
    gap: 1rem;
    margin-left: 1rem;
  }
  .engine__rail::before {
    top: 1rem;
    bottom: 1rem;
    left: -0.7rem;
    right: auto;
    width: 2px;
    height: auto;
  }
  .station {
    border: var(--rule);
    padding: 1rem 1rem 0.9rem;
  }
  .station__pip {
    position: absolute;
    top: 1.2rem;
    left: -1.32rem;
    margin: 0;
  }
  .station h3 {
    font-size: 1.28rem;
    margin-top: 0.32rem;
  }
  .station p {
    font-size: 0.875rem;
    max-width: 36rem;
    margin-top: 0.55rem;
  }
  .station__tag {
    padding-top: 0.8rem;
  }
}

/* ------------------------------------------------------------------- peg */
.peg {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .peg {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}
.peg__facts {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 1.25rem;
}
.peg__fact > div:last-child {
  margin-top: 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.invariant {
  padding: 1.75rem;
}
@media (min-width: 1024px) {
  .invariant {
    padding: 2rem;
  }
}
.invariant__code {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-x: auto;
}
.invariant__code b {
  color: var(--mint);
  font-weight: 700;
}

/* ----------------------------------------------------------------- floor */
.floor-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
/* The crowd band already carries the gap above the cards, and the cards paint
   over it: the onlookers lean in from behind, they do not cover the content. */
.fringe + .floor-grid {
  position: relative;
  z-index: 1;
  margin-top: 0;
}
@media (min-width: 720px) {
  .floor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.floor-card {
  display: block;
  padding: 1.25rem;
}
.floor-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.floor-card p {
  margin-top: 1rem;
  min-height: 2.2rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.floor-card__go {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
}

/* --------------------------------------------------------------- box CTA */
.cta {
  position: relative;
  margin-top: 6rem;
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: var(--surface-2);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .cta {
    margin-top: 8rem;
  }
}
.cta__inner {
  padding-block: 5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta__inner h2 {
  margin-inline: auto;
  max-width: 42rem;
  /* .cta clips its overflow for the portrait bleed, and a 1.05 leading lets
     Bricolage's caps poke past the content box. Give it the extra 3px. */
  line-height: 1.14;
}
.cta__inner p {
  margin: 1rem auto 0;
  max-width: 28rem;
}
.cta__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.cta__cat {
  width: 5.5rem;
  margin: 0 auto 1.75rem;
  border: var(--rule);
  background: var(--paper);
  transform: rotate(-3deg);
}
.cta__cat img {
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: var(--rule);
  background: var(--ink);
  color: var(--paper);
}
.site-footer a {
  color: var(--paper);
}
.site-footer a:hover {
  color: var(--mint);
}
.site-footer__inner {
  padding-block: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}
.site-footer__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--paper);
  transition: background 0.12s, color 0.12s;
}
.site-footer__x:hover {
  background: var(--paper);
  color: var(--ink) !important;
}
.site-footer__x svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
.disclaimer {
  border-top: 1px solid rgba(247, 241, 231, 0.22);
  padding-block: 1.5rem 2.5rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(247, 241, 231, 0.6);
  max-width: 52rem;
}

/* token strip (blank until a launch address exists) ---------------------- */
.token-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.token-strip__ca {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

/* ---------------------------------------------------------------- stocks */
.stocks {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .stocks {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.stock-list {
  padding: 0.75rem;
}
.stock-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.75rem 0.5rem;
}
.stock-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem;
  text-align: left;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.stock-row:hover {
  background: var(--surface-2);
}
.stock-row[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--surface-2);
}
.stock-row__body {
  min-width: 0;
  flex: 1;
  /* At 320px the truncated name butted into the status label. The body must
     both shrink and keep a gutter, or the ellipsis lands under the status. */
  overflow: hidden;
  padding-right: 0.5rem;
}
.stock-row__sym {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.stock-row__sym > span:first-child {
  font-size: 0.95rem;
  font-weight: 700;
}
.stock-row__name {
  font-size: 0.8rem;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stock-row__state {
  text-align: right;
  flex: none;
  min-width: max-content;
}
@media (max-width: 640px) {
  .stock-row__venue {
    display: none;
  }
}
.stock-panel {
  position: static;
}
@media (min-width: 1024px) {
  .stock-panel {
    position: sticky;
    top: 6rem;
  }
}
.stock-panel__card {
  padding: 1.5rem;
}
.stock-panel__card + .stock-panel__card {
  margin-top: 1rem;
}
.stock-panel__big {
  margin-top: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: var(--display);
  letter-spacing: -0.03em;
}
.kv {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.kv > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.kv dd {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ------------------------------------------------------------- launchpad */
.pad-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .pad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .pad-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pad-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.pad-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pad-card__meta {
  min-width: 0;
}
.pad-card__name {
  font-weight: 700;
  font-size: 0.98rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pad-card__desc {
  margin-top: 0.875rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6rem;
}
.pad-card__foot {
  margin-top: 1rem;
}
.pad-empty {
  margin-top: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
}
.pad-empty__art {
  display: block;
  width: min(100%, 13rem);
  aspect-ratio: 1;
  margin: 0 auto 1.5rem;
  border: var(--rule);
  overflow: hidden;
}
.pad-empty__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* forms ------------------------------------------------------------------ */
.field {
  display: block;
}
.field + .field {
  margin-top: 1.25rem;
}
.field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--paper);
  border: var(--rule);
  border-radius: 0;
  font-size: 0.92rem;
}
.textarea {
  min-height: 6rem;
  resize: vertical;
  line-height: 1.5;
}
.input:disabled,
.select:disabled,
.textarea:disabled {
  background: var(--surface-2);
  color: var(--ink-3);
}
.input-row {
  display: flex;
  align-items: stretch;
}
.input-row__prefix {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.75rem;
  border: var(--rule);
  border-right: 0;
  background: var(--surface-2);
  font-size: 0.85rem;
  white-space: nowrap;
  flex: none;
}
input[type="checkbox"],
input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  flex: none;
  accent-color: var(--orange);
  cursor: pointer;
}
/* The visible control is 20px; the label around it carries the rest of the
   44px touch target. */
.field label.row,
label.row:has(input[type="checkbox"]) {
  min-height: 2.75rem;
  cursor: pointer;
}

.hint {
  margin-top: 0.4rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.notice {
  padding: 0.875rem 1rem;
  border: 2px solid var(--ink);
  background: var(--surface-2);
  font-size: 0.84rem;
  line-height: 1.55;
}
.notice--warn {
  background: var(--orange-soft);
  border-color: var(--orange);
}
.notice--bad {
  background: var(--down-soft);
  border-color: var(--down);
}
.notice--good {
  background: var(--mint-soft);
  border-color: var(--up);
}

/* trade panel ------------------------------------------------------------ */
.trade {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .trade {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--rule);
}
.tabs button {
  padding: 0.75rem;
  border: 0;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.tabs button + button {
  border-left: 2px solid var(--ink);
}
.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}
.tabs button[aria-selected="true"][data-side="buy"] {
  background: var(--mint);
  color: var(--ink);
}
.tabs button[aria-selected="true"][data-side="sell"] {
  background: var(--down);
  color: var(--paper);
}

/* tables ----------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
table.data th,
table.data td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
table.data th {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}
table.data td.num,
table.data th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
table.data tr:last-child td {
  border-bottom: 0;
}
.addr {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}
@media (max-width: 700px) {
  table.data th,
  table.data td {
    padding: 0.5rem 0.5rem;
  }
  table.data td.wrap-any {
    word-break: break-all;
    white-space: normal;
  }
}

/* ------------------------------------------------------------------ docs */
.doc {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .doc {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 3rem;
  }
}
.doc-toc {
  position: static;
}
@media (min-width: 1024px) {
  .doc-toc {
    position: sticky;
    top: 6rem;
  }
}
.doc-toc a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--ink-2);
  border-left: 2px solid var(--hairline);
  padding-left: 0.75rem;
}
.doc-toc a:hover {
  color: var(--ink);
  border-left-color: var(--orange);
}
.doc-body h2 {
  margin-top: 3rem;
  scroll-margin-top: 6rem;
}
.doc-body h2:first-child {
  margin-top: 0;
}
.doc-body h3 {
  margin-top: 2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.doc-body p {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.doc-body ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}
.doc-body ul li {
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.65;
  color: var(--ink-2);
}
.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid var(--ink);
  background: var(--mint);
}
.doc-body .card {
  margin-top: 1.5rem;
  padding: 1.25rem;
}

/* utility ---------------------------------------------------------------- */
.row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.row--between {
  justify-content: space-between;
}
.row--wrap {
  flex-wrap: wrap;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.max-2xl {
  max-width: 42rem;
}
.max-xl {
  max-width: 36rem;
}
.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;
}
.spin {
  animation: sc-spin 0.9s linear infinite;
}
@keyframes sc-spin {
  to {
    transform: rotate(360deg);
  }
}

/* reveal ----------------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
