/* Robot Alley — the HONEST ANSWERS boards, as a web page.
   Palette from tools/closure_sign.py: gold band with a deep-gold glow, black field with the Rise
   stripes, gold headings, red emphasis, Ghost lavender for the portal. */
:root {
  --gold: #cd9e00; --gold-deep: #b06800; --band-ink: #281800; --head: #ecb828;
  --field: #0c0c0c; --stripe: #131313; --body: #ececec; --muted: #9a8a5a;
  --red: #eb1e18; --ghost: #c4aaf0; --rule: #3a2f12;
  --font: "Avenir Next", Avenir, "Segoe UI", Roboto, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--body); font: 500 18px/1.6 var(--font);
  background: var(--field) repeating-linear-gradient(90deg, var(--field) 0 9px, var(--stripe) 9px 13px);
}
a { color: inherit; }

/* ── the gold band, the two sigils facing each other ─────────────────── */
.band {
  display: grid; grid-template-columns: minmax(64px, 190px) 1fr minmax(64px, 190px);
  align-items: center; gap: 24px; padding: 22px clamp(16px, 4vw, 64px);
  background: radial-gradient(ellipse 50% 110% at 50% 10%, var(--gold-deep), transparent 75%), var(--gold);
  color: var(--band-ink); text-align: center;
}
.sigil { width: 100%; height: auto; display: block; animation: arrive 1.1s cubic-bezier(.2,.8,.2,1) both; }
.cyndrax { --from: -40px; }
.wraeth  { --from: 40px; animation-delay: .12s; }
@keyframes arrive { from { opacity: 0; transform: translateX(var(--from)) scale(.92); } to { opacity: 1; transform: none; } }
.title p { margin: 0; }
.sector { font-weight: 600; letter-spacing: .14em; font-size: clamp(12px, 1.6vw, 18px); }
.name {
  font-weight: 900; color: #f0f0f0; line-height: 1.02; margin: 6px 0 10px !important;
  font-size: clamp(34px, 7.4vw, 104px); letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(40, 24, 0, .25);
}
.sub { font-weight: 600; font-size: clamp(15px, 2vw, 24px); }
.by { font-weight: 600; font-size: clamp(11px, 1.3vw, 15px); letter-spacing: .08em; margin-top: 10px !important; }

/* ── the red strip ───────────────────────────────────────────────────── */
.strip { text-align: center; padding: 26px 16px 6px; color: var(--red); }
.strip h1 { margin: 0; font-weight: 900; font-size: clamp(24px, 4.6vw, 56px); line-height: 1.1; letter-spacing: .01em; }
.strip p { margin: 10px 0 0; font-weight: 800; font-size: clamp(14px, 2vw, 22px); letter-spacing: .04em; }

/* ── the answers: two columns like the boards, one on a phone ───────── */
main { max-width: 1240px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 64px) 40px; }
.answers { column-count: 1; }
@media (min-width: 960px) {
  .answers { column-count: 2; column-gap: 72px; column-rule: 1px solid var(--rule); }
}
.qa { margin: 0 0 30px; }
.qa h2 {
  color: var(--head); font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1;
  margin: 18px 0 8px; break-after: avoid; scroll-margin-top: 16px;
}
.qa p { margin: 0 0 18px; }
.verdict { color: var(--red); font-weight: 900; font-size: 1.15em; margin-top: -2px !important; }
.em { color: var(--red); font-weight: 900; text-decoration: none; }
a.em:hover, a.em:focus-visible { text-decoration: underline; }
/* the way into Robot Valley: its own S.C.O.P.E. cyan, so it reads as a door (29 Nov 2026) */
a.valley-link { color: #8fe3ff; font-weight: 700; text-decoration: underline dotted rgba(143, 227, 255, .6);
  text-underline-offset: 3px; text-shadow: 0 0 10px rgba(143, 227, 255, .35); }
a.valley-link:hover, a.valley-link:focus-visible { text-decoration-style: solid; color: #cfefff; }

/* ── the Ghost Portal ─────────────────────────────────────────────────── */
.portal {
  border-top: 2px solid var(--ghost); margin-top: 14px; padding-top: 22px;
  display: grid; grid-template-columns: 1fr; gap: 0 56px;
}
.portal .go { text-align: center; margin-top: 6px; }       /* Robert, 29 Nov: centred, not left */
@media (min-width: 960px) { .portal { grid-template-columns: 1fr 1fr; } .portal .go { grid-column: 1 / -1; } }
.portal h2 { color: var(--head); font-weight: 900; font-size: 26px; margin: 0 0 6px; }
.portal p { margin: 0 0 22px; }
/* the Portal button: a Ghost transmission you want to press — the Wraeth, a breathing glow,
   a scan line sweeping across, and it lifts toward you on hover */
.button {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 16px;
  padding: 14px 26px 14px 14px; border-radius: 999px; text-decoration: none;
  color: #fff; border: 2px solid var(--ghost);
  background: linear-gradient(135deg, #2a1650 0%, #4b2a8c 55%, #7b56c8 100%);
  box-shadow: 0 0 0 0 rgba(196, 170, 240, .55), 0 8px 28px rgba(123, 86, 200, .35);
  animation: breathe 2.6s ease-in-out infinite;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button img { width: 56px; height: 56px; flex: none; filter: drop-shadow(0 0 8px rgba(196, 170, 240, .7)); }
.button .label { display: flex; flex-direction: column; text-align: left; font-weight: 900;
  font-size: clamp(17px, 2.2vw, 22px); letter-spacing: .08em; line-height: 1.15; }
.button .kick { font-size: 11px; letter-spacing: .28em; color: var(--ghost); margin-bottom: 4px; }
.button .arrow { font-size: 30px; font-weight: 900; line-height: 1; color: var(--ghost); transition: transform .18s ease; }
.button::after {           /* the scan line */
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-20deg); animation: scan 3.2s ease-in-out infinite;
}
.button:hover, .button:focus-visible {
  transform: translateY(-3px) scale(1.03); outline: none;
  box-shadow: 0 0 0 4px rgba(196, 170, 240, .35), 0 14px 40px rgba(123, 86, 200, .6);
}
.button:hover .arrow, .button:focus-visible .arrow { transform: translateX(6px); }
.button:active { transform: translateY(0) scale(.99); }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 170, 240, .45), 0 8px 28px rgba(123, 86, 200, .35); }
  50%      { box-shadow: 0 0 0 10px rgba(196, 170, 240, 0), 0 8px 34px rgba(123, 86, 200, .55); }
}
@keyframes scan { 0%, 55% { left: -40%; } 100% { left: 130%; } }

/* ── footer ───────────────────────────────────────────────────────────── */
footer {
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: nowrap; text-align: center;
  padding: 22px 16px 34px; border-top: 1px solid var(--rule); color: var(--muted);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: var(--field);
}
footer img { width: 40px; height: 40px; flex: none; }

/* phone: the sigils face each other ABOVE the title */
@media (max-width: 600px) {
  .band { grid-template-columns: 1fr 1fr; grid-template-areas: "c w" "t t"; gap: 14px 24px; }
  .cyndrax { grid-area: c; justify-self: end; width: 92px; }
  .wraeth  { grid-area: w; justify-self: start; width: 94px; }
  .title { grid-area: t; }
}
@media (prefers-reduced-motion: reduce) { .sigil, .button, .button::after { animation: none; } }
