/* nooption.xyz — ink */

body {
  background: var(--void);
  color: var(--paper);
}

.sheet {
  max-width: var(--sheet);
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  overflow: clip;
}
.list { flex: 1; }

/* ── top bar ─────────────────────────────────────────────────── */
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px var(--pad);
  border-bottom: 1px solid rgba(51, 50, 48, .5);
  background: rgba(19, 19, 21, .88);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.bar-id { display: flex; align-items: center; gap: 12px; }
.bar-id b { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; font-weight: 600; }
.bar-id .slash { color: var(--dim); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; }
.bar-meta { display: flex; align-items: center; gap: 26px; color: var(--dim); }
.bar-meta a { transition: color .25s var(--ease); }
.bar-meta a:hover { color: var(--signal); }
.lang { background: var(--paper); color: var(--ink); }
.lang:hover { color: var(--paper); }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  border-bottom: 1px solid var(--dark-line);
}
.hero-main { padding: 64px var(--pad) 56px; min-width: 0; }

h1 {
  margin: 0;
  font-size: clamp(40px, 5.9vw, 76px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  max-width: 17ch;
}
h1.l-zh {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 13em;
}
h1 em { font-style: normal; color: var(--signal); position: relative; }
/* the signal word gets struck through on hover — the brand deleting things */
h1 em::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: .07em;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
h1:hover em::after { transform: scaleX(1); }

.hero-side {
  border-left: 1px solid var(--dark-line);
  padding: 64px var(--pad) 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.hero-side p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--soft);
  text-wrap: pretty;
}
.hero-side p.l-zh { font-family: 'Noto Sans SC', sans-serif; font-size: 14px; line-height: 1.95; }

.tally {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--dim);
}
.tally b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ── table ───────────────────────────────────────────────────── */
.cols {
  display: grid;
  grid-template-columns: 96px 1fr 1.3fr 130px 90px 56px;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--dark-line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--dim);
}

.item { border-bottom: 1px solid var(--dark-line); }

.head {
  display: grid;
  grid-template-columns: 96px 1fr 1.3fr 130px 90px 56px;
  align-items: center;
  width: 100%;
  padding: 26px var(--pad);
  text-align: left;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: background .3s var(--ease);
}
.head::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--signal);
  transform: scaleY(0);
  transition: transform .4s var(--ease-out);
}
.head:hover { background: var(--ink-2); }
.head:hover::after,
.item.open .head::after { transform: scaleY(1); }
.item.open .head { background: var(--ink-3); }

.c-no, .c-plat, .c-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--dim);
}
.c-no { font-size: 12px; }
.c-name {
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 700;
  letter-spacing: -.04em;
  transition: transform .45s var(--ease-out), color .3s var(--ease);
}
.c-name.l-zh { font-family: 'Noto Sans SC', sans-serif; letter-spacing: -.01em; }
.head:hover .c-name { transform: translateX(8px); }
.item--soon .c-name { color: var(--mute); }
.c-what { font-size: 15px; color: var(--soft); letter-spacing: -.005em; }
.c-what.l-zh { font-family: 'Noto Sans SC', sans-serif; }

/* + that folds into − */
.sign { justify-self: end; width: 18px; height: 18px; position: relative; }
.sign::before, .sign::after {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 2px;
  margin-top: -1px;
  background: var(--signal);
  transition: transform .45s var(--ease-out);
}
.sign::after { transform: rotate(90deg); }
.item.open .sign::after { transform: rotate(90deg) scaleX(0); }
.head:hover .sign::before { transform: rotate(180deg); }

/* ── panel ───────────────────────────────────────────────────── */
.panel {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--ink-3);
  transition: grid-template-rows .55s var(--ease-out);
}
.item.open .panel { grid-template-rows: 1fr; }
.panel-in { overflow: hidden; min-height: 0; }

.panel-grid {
  display: grid;
  grid-template-columns: 96px 1fr 380px;
  padding: 4px var(--pad) 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease) .1s, transform .5s var(--ease-out) .1s;
}
.item.open .panel-grid { opacity: 1; transform: none; }

.status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--signal);
  padding-top: 6px;
}
.body { display: flex; flex-direction: column; gap: 22px; padding-right: 56px; min-width: 0; }
.pitch {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -.02em;
  max-width: 38ch;
  text-wrap: pretty;
}
.pitch.l-zh { font-family: 'Noto Sans SC', sans-serif; font-size: 20px; line-height: 1.7; letter-spacing: 0; }

.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  border: 1px solid #3D3C3A;
  padding: 5px 9px;
  color: var(--soft);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.tags span:hover { border-color: var(--signal); color: var(--paper); }

.cta {
  align-self: flex-start;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 16px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s var(--ease);
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--signal);
  transform: translateY(101%);
  transition: transform .38s var(--ease-out);
  z-index: -1;
}
.cta:hover { color: var(--paper); }
.cta:hover::before { transform: none; }
.cta[aria-disabled="true"] { background: transparent; color: var(--dim); border: 1px solid #3D3C3A; cursor: not-allowed; }
.cta[aria-disabled="true"]::before { display: none; }

/* the empty shot slot — hatching that drifts, a nod to the shader */
.slot {
  border: 1px solid #3D3C3A;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background-image: repeating-linear-gradient(135deg, #232325 0 6px, #1A1A1C 6px 12px);
  background-size: 200% 200%;
  animation: drift 14s linear infinite;
}
@keyframes drift { to { background-position: 34px 0; } }
.slot span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--dim);
  text-align: center;
  line-height: 1.8;
  white-space: pre-line;
}

/* ── footer ──────────────────────────────────────────────────── */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding: 30px var(--pad) 36px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--dim);
}
.foot a { transition: color .25s var(--ease); }
.foot a:hover { color: var(--signal); }

/* ── responsive ──────────────────────────────────────────────── */
/* nothing may push the sheet wider than the screen */
.hero > *, .head > *, .panel-grid > *, .body > * { min-width: 0; }
.pitch, .hero-side p { overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { border-left: none; border-top: 1px solid var(--dark-line); padding-top: 36px; }
  .cols { display: none; }
  .head {
    grid-template-columns: 52px 1fr 26px;
    grid-template-areas: "no name sign" ". what sign" ". meta sign";
    row-gap: 4px;
  }
  .c-no   { grid-area: no; }
  .c-name { grid-area: name; }
  .c-what { grid-area: what; }
  .c-plat { grid-area: meta; justify-self: start; }
  .c-year { grid-area: meta; justify-self: end; }
  .sign   { grid-area: sign; align-self: center; }
  .panel-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 32px; }
  .body { padding-right: 0; }
  .status { padding-top: 0; }
  .pitch { font-size: 19px; }
}
@media (max-width: 620px) {
  :root { --pad: 22px; }
  .bar { flex-wrap: wrap; row-gap: 14px; }
  .bar-meta { width: 100%; justify-content: space-between; gap: 14px; }
  .foot { flex-direction: column; gap: 10px; }
}
