/* Coming-soon additions on top of main.css. */

/* nav only has two links here; keep it visible on phones too */
@media (max-width: 880px) {
  .nav { display: flex; }
  .mode { margin-left: 4px; }
}
@media (max-width: 420px) {
  .nav a { padding: 12px 8px; }
  .nav a::after { left: 8px; right: 8px; }
}

/* ---------- status: orange, glowing, uncertain ---------- */
.specs .dot::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 10px var(--accent);
  animation: soon-glow 2.4s ease-in-out infinite;
}
.specs .dot { color: var(--accent); }
@keyframes soon-glow {
  50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 8%, transparent), 0 0 18px var(--accent); }
}

/* both hero buttons are outbound links, so nudge the arrow diagonally */
.hero__cta .btn--primary:hover .i { transform: translate(2px, -2px); }

/* ---------- work-in-progress plate ---------- */
.wip {
  --cs: 18px; --cm: var(--accent);
  border: 1px solid var(--line-2);
  background-color: color-mix(in srgb, var(--bg-2) 92%, transparent);
}
.wip__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 14px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-3);
}
.wip__live { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.wip__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: soon-blink 1.2s steps(2, jump-none) infinite; }
@keyframes soon-blink { 50% { opacity: .2; } }

.wip__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 36px) clamp(28px, 4vw, 48px);
}
@media (max-width: 960px) { .wip__grid { grid-template-columns: 1fr; } }

.wip__stamp {
  display: inline-block; padding: 8px 12px;
  border: 1.5px solid var(--accent); color: var(--accent);
  transform: rotate(-3deg); transform-origin: left center;
  letter-spacing: .14em;
}
.wip__title {
  margin-top: 28px;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1.02; letter-spacing: -.03em;
  max-width: 12ch;
}
.wip__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
.wip__body { margin-top: 22px; max-width: 48ch; color: var(--ink-2); line-height: 1.6; }

.wip__list { margin-top: 32px; border-top: 1px solid var(--line-2); }
.wip__list > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.wip__list dt { color: var(--ink-3); }
.wip__list dd { color: var(--ink); text-align: right; }
.wip__list dd::before { content: "▪ "; color: var(--ink-3); }
.wip__list .wip__eta { color: var(--accent); }
.wip__list .wip__eta::before { color: var(--accent); }

.wip__aside { margin-top: 24px; color: var(--ink-3); font-size: .9375rem; }
.wip__aside a { color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color .25s; }
.wip__aside a:hover { border-color: var(--accent); }

/* ---------- residuals plot ---------- */
.wip__plot { display: grid; gap: 14px; align-content: start; }
.wip__plot svg { width: 100%; height: auto; overflow: visible; border: 1px solid var(--line); background: var(--bg); }
.plot__grid line { stroke: var(--line); stroke-width: 1; }
.plot__grid .axis { stroke: var(--line-2); }
.plot__grid text { fill: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; }
.plot__grid .target { stroke: var(--accent); stroke-dasharray: 6 5; opacity: .8; }
.plot__grid .target-lbl { fill: var(--accent); }
@media (max-width: 600px) { .plot__grid text { font-size: 15px; } }
.plot__curves path { fill: none; stroke-width: 1.4; stroke-linejoin: round; }
.plot__curves .c1, .plot__key .k1::before { stroke: var(--ink); background: var(--ink); }
.plot__curves .c2, .plot__key .k2::before { stroke: var(--cyan); background: var(--cyan); }
.plot__curves .c3, .plot__key .k3::before { stroke: var(--ink-3); background: var(--ink-3); }
.plot__head { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 4px var(--accent)); }

.plot__read { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--ink-3); }
.plot__read b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.plot__key { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink-3); }
.plot__key li { display: inline-flex; align-items: center; gap: 8px; }
.plot__key li::before { content: ""; width: 16px; height: 1.5px; }

@media (prefers-reduced-motion: reduce) {
  .specs .dot::before, .wip__live i { animation: none; }
}

.soon-ftr { margin-top: 0; }
