:root {
  --bg: #0c0c0c;
  --bg-2: #121212;
  --bg-3: #181818;
  --surface: #1c1c1c;
  --line: #2c2c2c;
  --line-2: #3a3a3a;
  --text: #f3f3f3;
  --muted: #b8b8b8;
  --dim: #8a8a8a;
  --green-mkt: #3ddc84;
  --green-deep: #0d2418;
  --green-line: #1e3d2a;
  --pane-r: #f25022;
  --pane-g: #7fba00;
  --pane-b: #00a4ef;
  --pane-y: #ffb900;
  --font: "Segoe UI", Arial, sans-serif;
  --mono: Consolas, "Courier New", monospace;
  --max: 1120px;
  --header-h: 58px;
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  max-width: 100%;
  min-width: 0;
}

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

a {
  color: inherit;
}

h1, h2, h3, p, ol, ul, figure {
  margin: 0;
}

button {
  font-family: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-width: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  padding: 0.5rem 0.75rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--pane-b);
  outline-offset: 3px;
}

.color-rail {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 4px;
}

.color-rail span:nth-child(1) { background: var(--pane-r); }
.color-rail span:nth-child(2) { background: var(--pane-g); }
.color-rail span:nth-child(3) { background: var(--pane-b); }
.color-rail span:nth-child(4) { background: var(--pane-y); }

.c-r { color: var(--pane-r); }
.c-g { color: var(--pane-g); }
.c-b { color: var(--pane-b); }
.c-y { color: var(--pane-y); }

.pending-word {
  color: var(--pane-y);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #101010;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  flex: none;
  border-radius: 0;
  border: 1px solid var(--line);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand-ticker {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  min-width: 0;
}

/* Buttons — rectangular desktop / trading controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-3);
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.btn-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.08rem 0.28rem;
  border: 1px solid currentColor;
  opacity: 0.85;
}

.btn-buy {
  background: var(--pane-g);
  border-color: #9fd400;
  color: #111;
}

.btn-buy.is-pending {
  background: #6a9a00;
  border-color: #8fc200;
}

.btn-chart {
  background: var(--bg-2);
  border-color: var(--green-line);
  color: var(--green-mkt);
}

.btn-x {
  background: #111;
  border-color: #4a4a4a;
}

.btn-tg {
  background: #111;
  border-color: var(--pane-b);
  color: #d6f0ff;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 currentColor;
}

.btn-buy:hover {
  background: #8fd000;
  box-shadow: 2px 2px 0 #1a3300;
}

.btn:active {
  transform: none;
  box-shadow: none;
}

/* Ticker tape */

.tape {
  border-bottom: 1px solid var(--line);
  background: #0a0a0a;
  overflow: hidden;
  padding: 0.4rem 0;
}

.tape-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: tape 32s linear infinite;
}

.tape-track span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding: 0 1.25rem;
  position: relative;
}

.tape-track span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  background: var(--pane-g);
}

.tape-track span:nth-child(4n + 1)::after { background: var(--pane-r); }
.tape-track span:nth-child(4n + 2)::after { background: var(--pane-g); }
.tape-track span:nth-child(4n + 3)::after { background: var(--pane-b); }
.tape-track span:nth-child(4n)::after { background: var(--pane-y); }

@keyframes tape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "eyebrow visual"
    "wordmark visual"
    "expand visual"
    "prose visual"
    "actions visual";
  column-gap: clamp(1.25rem, 4vw, 4rem);
  row-gap: 0.65rem;
  align-items: start;
  padding: clamp(1.6rem, 4vw, 3.4rem) 0 clamp(1.4rem, 3vw, 2.4rem);
  min-width: 0;
}

.eyebrow {
  grid-area: eyebrow;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-pip {
  width: 7px;
  height: 7px;
  background: var(--green-mkt);
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18);
  flex: none;
}

.dot {
  color: var(--dim);
}

.wordmark {
  grid-area: wordmark;
  font-size: clamp(4.4rem, 13vw, 8.6rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.wordmark span {
  display: inline-block;
}

.wordmark span:nth-child(1) { color: var(--pane-r); animation-delay: 0.04s; }
.wordmark span:nth-child(2) { color: var(--pane-g); animation-delay: 0.14s; }
.wordmark span:nth-child(3) { color: var(--pane-b); animation-delay: 0.24s; }
.wordmark span:nth-child(4) { color: var(--pane-y); animation-delay: 0.34s; }

@keyframes letterIn {
  from {
    opacity: 0;
    transform: translateY(0.28em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wordmark span {
  animation: letterIn 0.7s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.expand {
  grid-area: expand;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
}

.hero-prose {
  grid-area: prose;
  max-width: 36rem;
}

.hook {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.lede {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.hero-visual {
  grid-area: visual;
  min-width: 0;
  align-self: center;
}

.screen {
  background: #0a120e;
  border: 1px solid var(--green-line);
}

.titlebar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  background: #151515;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.titlebar-icon {
  width: 10px;
  height: 10px;
  background: var(--pane-g);
  flex: none;
}

.titlebar-icon.cat-dot {
  background: var(--pane-r);
}

.titlebar-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.win-controls {
  display: flex;
  gap: 4px;
}

.win-controls i {
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid #5a5a5a;
  background: #222;
}

.win-controls i:last-child {
  background: #3a1510;
  border-color: var(--pane-r);
}

.screen-body {
  position: relative;
  padding: clamp(0.8rem, 2vw, 1.2rem);
  min-height: 0;
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(61, 220, 132, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(61, 220, 132, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.deco-chart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  pointer-events: none;
}

.chart-fill {
  fill: rgba(61, 220, 132, 0.12);
}

.chart-line {
  stroke: var(--green-mkt);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: trace 4.2s ease-in-out infinite;
}

@keyframes trace {
  0% { stroke-dashoffset: 720; }
  45% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.logo-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 1;
  perspective: 900px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.logo-stage:hover .hero-logo,
.logo-stage:focus-within .hero-logo {
  transform: translateY(-8px) rotateY(-7deg) rotateX(4deg);
}

.pane-ghost {
  position: absolute;
  inset: 8% auto auto -6%;
  width: 34%;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.pane-ghost i {
  display: block;
}

.pg-r { background: var(--pane-r); }
.pg-g { background: var(--pane-g); }
.pg-b { background: var(--pane-b); }
.pg-y { background: var(--pane-y); }

.float-labels {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.fl {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--green-line);
  background: rgba(10, 18, 14, 0.88);
  color: var(--green-mkt);
}

.fl-1 { top: 10%; right: 4%; }
.fl-2 { bottom: 18%; left: 3%; color: var(--pane-b); border-color: rgba(0, 164, 239, 0.35); }
.fl-3 { bottom: 8%; right: 8%; color: var(--pane-y); border-color: rgba(255, 185, 0, 0.35); }

/* Contract sheet */

.sheet {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.sheet-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.8fr);
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.cell {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.75rem 0.9rem;
  min-width: 0;
  border-right: 1px solid var(--line);
}

.cell:last-child {
  border-right: 0;
}

.cell-k {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.cell-v {
  font-size: 0.95rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.cell-v.ca {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.state-pending {
  color: var(--pane-y);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.cell-ca {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  align-items: start;
}

.cell-ca .cell-k {
  grid-column: 1 / -1;
}

.copy-btn {
  grid-row: 2;
  grid-column: 2;
  align-self: start;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--line-2);
  padding: 0.28rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.14s ease, transform 0.14s ease, border-color 0.14s ease;
}

.copy-btn:hover {
  border-color: var(--pane-b);
  transform: translate(-1px, -1px);
}

.copy-btn.is-copied {
  border-color: var(--pane-g);
  color: var(--pane-g);
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "kicker kicker"
    "note def"
    "suite suite";
  gap: 0.9rem 1.1rem;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.section-kicker,
.identity-head p,
.def-kicker,
.status-head p {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

#about-heading {
  grid-area: kicker;
}

.window {
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-width: 0;
}

.window-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.about-note {
  grid-area: note;
}

.about-note p + p {
  margin-top: 0.7rem;
}

.about-note p {
  font-size: 1.12rem;
  max-width: 38rem;
}

.punch {
  font-size: 1.35rem !important;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.1rem !important;
}

.aside {
  font-size: 0.92rem !important;
  color: var(--muted);
  margin-top: 1.15rem !important;
}

.def-panel {
  grid-area: def;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem 1.15rem;
  min-width: 0;
}

.def-ticker {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.35rem 0 0.85rem;
}

.def-list {
  list-style: none;
  padding: 0;
}

.def-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.def-letter {
  font-weight: 700;
  font-size: 1.15rem;
}

.def-word {
  font-size: 1.05rem;
  font-weight: 600;
}

.suite {
  grid-area: suite;
}

.suite-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: #161616;
}

.suite-toolbar span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-right: 1px solid var(--line);
}

.suite-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.suite-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.9rem 1.05rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.suite-row:last-child {
  border-right: 0;
}

.suite-row span:first-child {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.suite-row span:last-child {
  font-size: 1rem;
  font-weight: 600;
}

/* Four panes */

.identity {
  padding: clamp(1.5rem, 5vw, 3.4rem) 0;
}

.identity-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.identity-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.4vw, 16px);
  padding: 8px 4px;
}

.pane {
  position: relative;
  min-height: clamp(150px, 24vw, 250px);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 3px solid transparent;
  min-width: 0;
  transition: transform 0.28s cubic-bezier(0.16, 0.84, 0.32, 1), border-color 0.28s ease;
}

.pane strong {
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1;
  overflow-wrap: anywhere;
  min-width: 0;
}

.pane-index {
  position: absolute;
  top: 0.7rem;
  left: 0.9rem;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.28;
  letter-spacing: -0.05em;
}

.pane-mark {
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  transition: transform 0.35s ease;
}

.pane-r {
  background: #32140f;
  background: color-mix(in srgb, var(--pane-r) 18%, #140a08);
  border-color: var(--pane-r);
  color: #ffd8cc;
}

.pane-g {
  background: #18240a;
  background: color-mix(in srgb, var(--pane-g) 16%, #0c1406);
  border-color: var(--pane-g);
  color: #e4f5c4;
}

.pane-b {
  background: #0a1c28;
  background: color-mix(in srgb, var(--pane-b) 16%, #061018);
  border-color: var(--pane-b);
  color: #ccefff;
}

.pane-y {
  background: #2a2208;
  background: color-mix(in srgb, var(--pane-y) 16%, #161206);
  border-color: var(--pane-y);
  color: #ffe9b0;
}

.pane-r:hover,
.pane-r:focus-visible {
  transform: translate(-6px, -6px) rotate(-1.1deg);
}

.pane-g:hover,
.pane-g:focus-visible {
  transform: translate(6px, -6px) rotate(1.1deg);
}

.pane-b:hover,
.pane-b:focus-visible {
  transform: translate(-6px, 6px) rotate(-0.8deg);
}

.pane-y:hover,
.pane-y:focus-visible {
  transform: translate(6px, 6px) rotate(0.8deg);
}

.pane:hover .pane-mark,
.pane:focus-visible .pane-mark {
  transform: rotate(90deg);
}

.pane-r:hover .pane-index { opacity: 0.5; }
.pane-g:hover .pane-index { opacity: 0.5; }
.pane-b:hover .pane-index { opacity: 0.5; }
.pane-y:hover .pane-index { opacity: 0.5; }

/* Banner broadcast */

.broadcast {
  padding: clamp(1.2rem, 4vw, 2.6rem) 0;
}

.broadcast-window {
  overflow: hidden;
}

.broadcast-frame {
  aspect-ratio: 3 / 1;
  background: #050505;
}

.broadcast-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

.js .broadcast-frame {
  clip-path: inset(0 100% 0 0);
}

.js .broadcast-frame.is-shown {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.05s cubic-bezier(0.16, 0.84, 0.32, 1);
}

/* Status */

.status {
  padding: clamp(1.8rem, 5vw, 3.6rem) 0 clamp(2.4rem, 6vw, 4.2rem);
}

.status-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.status-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.status-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.status-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem 1.15rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.status-card:last-child {
  border-right: 0;
}

.status-num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.status-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-value {
  font-size: 1.05rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}

.status-value.ca {
  font-family: var(--mono);
  font-size: 0.88rem;
}

.status-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
}

.status-links a {
  color: var(--text);
  text-underline-offset: 3px;
}

.status-links a:hover {
  color: var(--pane-b);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0a0a;
  padding: 1.2rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}

.footer-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
}

.footer-links a:hover {
  border-bottom-color: var(--pane-b);
}

.footer-joke {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}

/* Breakpoints */

@media (max-width: 1200px) {
  .wrap {
    width: min(var(--max), calc(100% - 2.4rem));
  }
}

@media (max-width: 1024px) {
  .wordmark {
    font-size: clamp(3.8rem, 11vw, 6.5rem);
  }

  .sheet-row {
    grid-template-columns: 1fr 1fr;
  }

  .cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cell:nth-child(2) {
    border-right: 0;
  }

  .cell-ca {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .status-grid {
    grid-template-columns: 1fr 1fr;
  }

  .status-card:nth-child(2) {
    border-right: 0;
  }

  .status-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .float-labels {
    display: none;
  }

  .pane-ghost {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "wordmark"
      "expand"
      "visual"
      "prose"
      "actions";
    row-gap: 0.8rem;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "kicker"
      "note"
      "def"
      "suite";
  }

  .suite-body {
    grid-template-columns: 1fr;
  }

  .suite-row {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .suite-row:last-child {
    border-bottom: 0;
  }

  .broadcast-frame {
    aspect-ratio: 16 / 7;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-joke {
    text-align: left;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .header-nav .btn {
    min-height: 42px;
  }
}

@media (max-width: 430px) {
  .wrap {
    width: calc(100% - 1.25rem);
  }

  .brand-sub {
    display: none;
  }

  .wordmark {
    font-size: clamp(3.4rem, 22vw, 4.6rem);
  }

  .expand {
    font-size: 1.02rem;
  }

  .sheet-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cell:last-child {
    border-bottom: 0;
  }

  .status-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .status-card:last-child {
    border-bottom: 0;
  }

  .hero-actions .btn,
  .header-nav .btn {
    min-height: 44px;
  }

  .panes {
    gap: 8px;
  }

  .pane {
    min-height: 132px;
    padding: 0.85rem;
  }

  .broadcast-frame {
    aspect-ratio: 1.7 / 1;
  }
}

@media (max-width: 390px) {
  .wordmark {
    font-size: 3.2rem;
  }

  .btn {
    padding: 0.42rem 0.55rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 360px) {
  .wordmark {
    font-size: 2.9rem;
  }

  .expand span {
    display: block;
  }

  .expand {
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tape-track,
  .wordmark span,
  .chart-line {
    animation: none !important;
  }

  .wordmark span {
    opacity: 1;
    transform: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }

  .js .broadcast-frame,
  .js .broadcast-frame.is-shown {
    clip-path: none;
    transition: none;
  }

  .btn:hover,
  .copy-btn:hover,
  .logo-stage:hover .hero-logo,
  .pane:hover,
  .pane:focus-visible {
    transform: none;
    box-shadow: none;
  }
}
