/* ARC-AGI-3 study room: modern pixel selector + technical paper drawing. */
.arc-document .site-header {
  border-bottom-color: rgba(184, 243, 255, 0.12);
}
.arc-page {
  max-width: 88rem;
  padding-top: 7.2rem;
  padding-bottom: 4.5rem;
}
.arc-page h1,
.arc-page h2,
.arc-page h3,
.arc-page strong,
.arc-page b { font-weight: 500; }
.arc-page h2 {
  margin: 0.4rem 0 0.7rem;
  color: var(--foam);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.arc-page p { color: var(--mute); }
.arc-kicker,
.arc-label,
.arc-note-label {
  color: var(--tide);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Modern ARC selector */
.arc-selector {
  padding: 2.4rem 0 3.8rem;
  border-bottom: 1px solid var(--border);
}
.arc-selector-topline,
.arc-selector-heading,
.arc-section-head--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.arc-selector-topline { align-items: center; }
.arc-live-dot {
  color: var(--ok);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.arc-live-dot::before {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(109, 255, 176, 0.75);
  content: "";
}
.arc-selector-heading {
  align-items: end;
  margin: 2rem 0 2.2rem;
}
.arc-selector-heading h1 {
  margin: 0;
  color: var(--foam);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: clamp(3.1rem, 9vw, 7.6rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(30, 200, 255, 0.13);
}
.arc-selector-lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--mute) !important;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}
.arc-selector-mark {
  display: grid;
  width: 6.5rem;
  height: 6.5rem;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(240, 195, 106, 0.46);
  color: var(--gold);
  font-family: "IBM Plex Mono", Menlo, monospace;
  transform: rotate(3deg);
}
.arc-selector-mark span { font-size: 0.68rem; letter-spacing: 0.14em; }
.arc-selector-mark b { font-size: 2rem; line-height: 1; }
.arc-selector-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem);
  gap: 1rem;
  align-items: stretch;
}
.arc-game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(5rem, 1fr));
  gap: 0.8rem;
}
.arc-game-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(184, 243, 255, 0.1);
  border-radius: 0;
  background: #0a0b0d;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  image-rendering: pixelated;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.arc-game-card:hover,
.arc-game-card:focus-visible {
  border-color: var(--foam);
  box-shadow: 0 0 0 2px rgba(184, 243, 255, 0.18), 0 0 24px rgba(30, 200, 255, 0.18);
  outline: none;
  transform: translateY(-3px);
}
.arc-game-card[aria-pressed="true"] {
  border: 2px solid #ff48aa;
  box-shadow: 0 0 0 2px rgba(255, 72, 170, 0.16), 0 0 30px rgba(255, 72, 170, 0.25);
}
.arc-game-card::after {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 3.8rem;
  padding: 0.34rem 0.55rem;
  background: var(--tile-label, #1678bd);
  color: #fff;
  content: attr(data-game);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: clamp(0.63rem, 1.2vw, 0.82rem);
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  text-transform: lowercase;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.arc-game-card b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.arc-pixel-art {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--tile-bg, #14171c);
  background-image:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.06) 49%, transparent 51%),
    linear-gradient(transparent 48%, rgba(255,255,255,0.06) 49%, transparent 51%),
    var(--tile-shape);
  background-size: 12.5% 100%, 100% 12.5%, 100% 100%;
  image-rendering: pixelated;
}
.arc-game-card--01 { --tile-bg: #1686d8; --tile-label: #df36a3; --tile-shape: linear-gradient(90deg, transparent 20%, #05080d 20% 31%, transparent 31% 45%, #f1d64a 45% 55%, transparent 55% 69%, #05080d 69% 80%, transparent 80%), linear-gradient(0deg, transparent 26%, #05080d 26% 36%, transparent 36% 64%, #05080d 64% 74%, transparent 74%); }
.arc-game-card--02 { --tile-bg: #7bcde5; --tile-label: #2985d9; --tile-shape: linear-gradient(90deg, #05080d 0 16%, transparent 16% 84%, #05080d 84%), linear-gradient(0deg, #05080d 0 18%, transparent 18% 78%, #05080d 78%), radial-gradient(circle at 50% 62%, #74db37 0 13%, transparent 14%); }
.arc-game-card--03 { --tile-bg: #090b10; --tile-label: #f3d23e; --tile-shape: linear-gradient(90deg, transparent 17% 29%, #fff 29% 42%, transparent 42% 57%, #a969e8 57% 70%, transparent 70%), linear-gradient(0deg, transparent 33% 48%, #fff 48% 61%, transparent 61%); }
.arc-game-card--04 { --tile-bg: #ff8419; --tile-label: #ed369a; --tile-shape: linear-gradient(90deg, transparent 31% 42%, #fff 42% 52%, transparent 52% 62%, #e54724 62% 72%, transparent 72%), linear-gradient(0deg, transparent 23% 34%, #e9d436 34% 65%, transparent 65% 77%); }
.arc-game-card--05 { --tile-bg: #3b4147; --tile-label: #e33e4b; --tile-shape: linear-gradient(90deg, transparent 11% 26%, #d1d4d6 26% 40%, transparent 40% 53%, #f5d827 53% 67%, transparent 67% 84%), linear-gradient(0deg, transparent 15% 27%, #db49d7 27% 39%, transparent 39% 53%, #55b9ea 53% 67%, transparent 67% 82%); }
.arc-game-card--06 { --tile-bg: #0b0e13; --tile-label: #62d5ed; --tile-shape: linear-gradient(90deg, #2588ea 0 22%, transparent 22% 30%, #f04d3f 30% 52%, transparent 52% 61%, #2588ea 61% 84%, transparent 84%), linear-gradient(0deg, transparent 22% 34%, #fff 34% 45%, transparent 45% 59%, #2588ea 59% 80%); }
.arc-game-card--07 { --tile-bg: #f4f4f4; --tile-label: #e7811c; --tile-shape: linear-gradient(90deg, transparent 16% 26%, #3e3e3e 26% 39%, transparent 39% 61%, #3e3e3e 61% 74%, transparent 74%), linear-gradient(0deg, transparent 20% 31%, #f23330 31% 44%, transparent 44% 61%, #1aa8ef 61% 73%, transparent 73%); }
.arc-game-card--08 { --tile-bg: #a3a3a3; --tile-label: #b12948; --tile-shape: linear-gradient(90deg, transparent 28% 42%, #e7e9eb 42% 58%, transparent 58% 72%), linear-gradient(0deg, transparent 31% 44%, #9d58cf 44% 59%, transparent 59%); }
.arc-game-card--09 { --tile-bg: #87d4e8; --tile-label: #57db20; --tile-shape: linear-gradient(90deg, transparent 19% 28%, #20242b 28% 37%, transparent 37% 63%, #20242b 63% 72%, transparent 72%), linear-gradient(0deg, transparent 19% 29%, #eceef0 29% 72%, transparent 72%); }
.arc-game-card--10 { --tile-bg: #171b20; --tile-label: #c329b1; --tile-shape: repeating-linear-gradient(90deg, #2e7cbf 0 8%, transparent 8% 15%), repeating-linear-gradient(0deg, #e9466f 0 8%, transparent 8% 15%); }
.arc-game-card--11 { --tile-bg: #696969; --tile-label: #2b9eea; --tile-shape: linear-gradient(90deg, transparent 24% 36%, #222 36% 47%, transparent 47% 61%, #888 61% 73%, transparent 73%), linear-gradient(0deg, transparent 15% 28%, #343434 28% 40%, transparent 40% 72%, #e9c51c 72% 83%, transparent 83%); }
.arc-game-card--12 { --tile-bg: #833ce7; --tile-label: #f14543; --tile-shape: linear-gradient(90deg, transparent 22% 42%, #07090d 42% 58%, transparent 58% 78%), linear-gradient(0deg, transparent 19% 35%, #07090d 35% 61%, transparent 61% 77%); }
.arc-game-card--13 { --tile-bg: #080a0d; --tile-label: #d1c2df; --tile-shape: linear-gradient(90deg, transparent 47% 53%, #c3c3c3 53% 57%, transparent 57%), linear-gradient(0deg, transparent 25% 30%, #fff 30% 37%, transparent 37% 64%, #c3c3c3 64% 70%, transparent 70%); }
.arc-game-card--14 { --tile-bg: #090a0e; --tile-label: #e83249; --tile-shape: linear-gradient(90deg, transparent 46% 55%, #63d9f4 55% 60%, transparent 60%), linear-gradient(0deg, transparent 46% 55%, #63d9f4 55% 60%, transparent 60%); }
.arc-game-card--15 { --tile-bg: #080a0d; --tile-label: #69d6e7; --tile-shape: radial-gradient(circle at 28% 33%, #eecd25 0 8%, transparent 9%), radial-gradient(circle at 74% 67%, #fa3e99 0 8%, transparent 9%), linear-gradient(90deg, transparent 46% 54%, #f1f1f1 54% 58%, transparent 58%); }
.arc-game-card--16 { --tile-bg: #313235; --tile-label: #a5672c; --tile-shape: linear-gradient(90deg, transparent 19% 81%, #fa252f 81%), linear-gradient(0deg, transparent 20% 30%, #fff 30% 36%, transparent 36% 65%, #65df3c 65% 73%, transparent 73%); }
.arc-game-card--17 { --tile-bg: #111318; --tile-label: #df4e9b; --tile-shape: linear-gradient(90deg, transparent 23% 39%, #bababa 39% 48%, transparent 48% 62%, #38a9ec 62% 76%, transparent 76%), linear-gradient(0deg, transparent 23% 38%, #f5f5f5 38% 48%, transparent 48% 68%, #f25a39 68% 78%, transparent 78%); }
.arc-game-card--18 { --tile-bg: #36383b; --tile-label: #64e33e; --tile-shape: linear-gradient(90deg, transparent 25% 36%, #848484 36% 48%, transparent 48% 62%, #bdbdbd 62% 76%, transparent 76%), linear-gradient(0deg, transparent 18% 36%, #f4f4f4 36% 45%, transparent 45% 62%, #e94752 62% 72%, transparent 72%); }
.arc-game-card--19 { --tile-bg: #ff8419; --tile-label: #e641ae; --tile-shape: linear-gradient(90deg, transparent 20% 78%, #dfcc27 78% 91%), linear-gradient(0deg, transparent 24% 36%, #2782e9 36% 49%, transparent 49% 74%, #f6dc22 74% 87%, transparent 87%); }
.arc-game-card--20 { --tile-bg: #0b0d11; --tile-label: #3189e4; --tile-shape: radial-gradient(circle at 20% 25%, #398be6 0 13%, transparent 14%), radial-gradient(circle at 79% 30%, #398be6 0 13%, transparent 14%), radial-gradient(circle at 24% 78%, #398be6 0 13%, transparent 14%), radial-gradient(circle at 78% 75%, #398be6 0 13%, transparent 14%); }
.arc-game-card--21 { --tile-bg: #616161; --tile-label: #efcf2a; --tile-shape: linear-gradient(90deg, transparent 18% 46%, #fff 46% 54%, transparent 54% 85%), linear-gradient(0deg, transparent 20% 30%, #252525 30% 64%, transparent 64% 76%); }
.arc-game-card--22 { --tile-bg: #858589; --tile-label: #ef489d; --tile-shape: repeating-linear-gradient(90deg, transparent 0 11%, #38d3f1 11% 20%), repeating-linear-gradient(0deg, transparent 0 11%, #f04baf 11% 20%); }
.arc-game-card--23 { --tile-bg: #05070a; --tile-label: #e93f40; --tile-shape: repeating-linear-gradient(90deg, #fff 0 9%, transparent 9% 18%), repeating-linear-gradient(0deg, #fff 0 9%, transparent 9% 18%); }
.arc-game-card--24 { --tile-bg: #666; --tile-label: #4fd4e8; --tile-shape: linear-gradient(90deg, #5b5b5b 0 39%, #fff 39% 61%, #5b5b5b 61%), linear-gradient(0deg, transparent 45% 55%, #141414 55%); }
.arc-game-card--25 { --tile-bg: #d1d1d1; --tile-label: #e38123; --tile-shape: radial-gradient(circle at 50% 50%, #151515 0 7%, transparent 8%), linear-gradient(90deg, transparent 45% 55%, #2699e9 55% 61%, transparent 61%), linear-gradient(0deg, transparent 45% 55%, #2699e9 55% 61%, transparent 61%); }
.arc-selector-console {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(30, 200, 255, 0.25);
  background: linear-gradient(145deg, rgba(30, 200, 255, 0.1), rgba(10, 16, 32, 0.82));
}
.arc-selected-id {
  margin: 0.6rem 0 1rem;
  color: var(--foam);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
}
.arc-console-copy { font-size: 0.78rem; line-height: 1.5; }
.arc-console-rule {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--mute);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}
.arc-console-rule b { color: var(--ok); }
.arc-console-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--ember);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* Technical paper drawing */
.arc-section { padding-top: 5rem; }
.arc-section-head { max-width: 48rem; margin-bottom: 1.6rem; }
.arc-section-head--split { max-width: none; }
.arc-section-head--split > :first-child { max-width: 48rem; }
.arc-section-head p:not(.arc-kicker) { color: var(--mute); }
.arc-stamp-stack {
  display: grid;
  flex: 0 0 15rem;
  gap: 0.45rem;
  padding-top: 0.2rem;
}
.arc-stamp-stack span {
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(240, 195, 106, 0.32);
  color: var(--gold);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.arc-paper-frame {
  overflow-x: auto;
  padding: 0.7rem;
  border: 1px solid rgba(240, 195, 106, 0.22);
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #1a1511, #0b0c11);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.35);
  scrollbar-color: var(--gold) rgba(240, 195, 106, 0.12);
}
.arc-generated-paper {
  margin: 0;
  padding: 0.65rem;
  border: 1px solid rgba(240, 195, 106, 0.28);
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #19140f, #0a0c11);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.35);
}
.arc-generated-paper img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(70, 61, 49, 0.55);
  filter: saturate(0.96) contrast(1.03);
}
.arc-generated-paper figcaption {
  padding: 0.65rem 0.35rem 0.1rem;
  color: var(--mute);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
}
.arc-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.7rem;
}
.arc-proof-card {
  display: grid;
  gap: 0.4rem;
  min-height: 8.5rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  background: rgba(4, 5, 10, 0.25);
}
.arc-proof-card > span {
  color: var(--mute);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}
.arc-proof-card strong {
  color: var(--ink);
  font-size: 0.87rem;
  line-height: 1.25;
}
.arc-proof-card p { color: var(--mute); font-size: 0.72rem; line-height: 1.45; }
.arc-proof-card--gold { border-color: rgba(240, 195, 106, 0.36); }
.arc-proof-card--gold > span, .arc-proof-card--gold strong { color: var(--gold); }
.arc-proof-card--blue { border-color: rgba(30, 200, 255, 0.34); }
.arc-proof-card--blue > span, .arc-proof-card--blue strong { color: var(--tide); }
.arc-proof-card--red { border-color: rgba(255, 122, 89, 0.36); }
.arc-proof-card--red > span, .arc-proof-card--red strong { color: var(--ember); }
.arc-proof-card--green { border-color: rgba(109, 255, 176, 0.32); }
.arc-proof-card--green > span, .arc-proof-card--green strong { color: var(--ok); }
.arc-paper-drawing { display: block; width: 100%; min-width: 980px; height: auto; }
.arc-paper-drawing text { font-family: "IBM Plex Mono", Menlo, monospace; }
.arc-paper-drawing .paper-fill { fill: #f4eddb; }
.arc-paper-drawing .paper-grid { fill: url(#paper-grid); }
.arc-paper-drawing .paper-border { fill: none; stroke: #7b776d; stroke-width: 2; }
.arc-paper-drawing .paper-title { fill: #242a2c; font-family: Georgia, serif; font-size: 30px; letter-spacing: 1px; }
.arc-paper-drawing .paper-subtitle { fill: #53646b; font-size: 12px; letter-spacing: 2px; }
.arc-paper-drawing .paper-corner { fill: #a4493f; font-size: 10px; letter-spacing: 1px; text-anchor: end; }
.arc-paper-drawing .paper-panel > rect { fill: rgba(255, 255, 255, 0.15); stroke: #66747a; stroke-width: 1.5; }
.arc-paper-drawing .paper-panel--archive > rect { stroke: #b08a3f; }
.arc-paper-drawing .paper-panel--capsule > rect { stroke: #4f8397; }
.arc-paper-drawing .paper-panel--sandbox > rect { stroke: #a4493f; }
.arc-paper-drawing .paper-panel--pr > rect { stroke: #b08a3f; }
.arc-paper-drawing .paper-panel--canary > rect { stroke: #a4493f; }
.arc-paper-drawing .paper-kicker { fill: #2f6a91; font-size: 12px; letter-spacing: 1.5px; }
.arc-paper-drawing .paper-label { fill: #556166; font-size: 10px; letter-spacing: 1px; }
.arc-paper-drawing .paper-note { fill: #39464a; font-size: 12px; }
.arc-paper-drawing .paper-small { fill: #8b6b27; font-size: 11px; letter-spacing: 1px; }
.arc-paper-drawing .paper-medium { fill: #3d4e53; font-size: 15px; letter-spacing: 1px; }
.arc-paper-drawing .paper-big-number { fill: #8b6b27; font-family: Georgia, serif; font-size: 76px; }
.arc-paper-drawing .paper-rule { stroke: #9ba5a0; stroke-width: 1; }
.arc-paper-drawing .paper-red-line { stroke: #a4493f; stroke-width: 1.4; stroke-dasharray: 5 4; }
.arc-paper-drawing .paper-red-note { fill: #a4493f; font-size: 10px; letter-spacing: 0.8px; }
.arc-paper-drawing .paper-green-note { fill: #4b775b; font-size: 10px; letter-spacing: 0.8px; }
.arc-paper-drawing .paper-scorecard rect { fill: rgba(240, 195, 106, 0.14); stroke: #b08a3f; stroke-width: 1; }
.arc-paper-drawing .paper-scorecard text { fill: #556166; font-size: 10px; }
.arc-paper-drawing .paper-scorecard text + text { fill: #8b6b27; font-size: 13px; }
.arc-paper-drawing .paper-node rect { fill: rgba(255, 255, 255, 0.2); stroke-width: 1.2; }
.arc-paper-drawing .paper-node text { fill: #36454b; font-size: 10px; }
.arc-paper-drawing .paper-node text + text { fill: #6a7778; font-size: 9px; }
.arc-paper-drawing .paper-node--blue rect { stroke: #4f8397; }
.arc-paper-drawing .paper-node--gold rect { stroke: #b08a3f; }
.arc-paper-drawing .paper-node--red rect { stroke: #a4493f; }
.arc-paper-drawing .paper-node--green rect { stroke: #4b775b; }
.arc-paper-drawing .paper-arrow,
.arc-paper-drawing .paper-loop { fill: none; stroke-width: 1.5; }
.arc-paper-drawing .paper-arrow--blue,
.arc-paper-drawing .paper-loop { stroke: #276b8e; }
.arc-paper-drawing .paper-arrow--red { stroke: #a4493f; }
.arc-paper-drawing .paper-arrow--gold { stroke: #a1782f; }
.arc-paper-drawing .paper-arrow--green { stroke: #4b775b; }
.arc-paper-drawing .paper-loop-label { fill: #276b8e; font-size: 10px; letter-spacing: 0.6px; }
.arc-paper-drawing .paper-pipeline rect { fill: rgba(255, 255, 255, 0.2); stroke: #4f8397; stroke-width: 1.2; }
.arc-paper-drawing .paper-pipeline text { fill: #39464a; font-size: 10px; letter-spacing: 0.6px; }
.arc-paper-drawing .paper-pipeline path { fill: none; stroke: #276b8e; stroke-width: 1.2; }
.arc-paper-drawing .paper-pipeline .paper-hidden { fill: rgba(164, 73, 63, 0.1); stroke: #a4493f; }
.arc-paper-drawing .paper-step rect { fill: rgba(255, 255, 255, 0.2); stroke-width: 1.2; }
.arc-paper-drawing .paper-step text { fill: #53646b; font-size: 9px; }
.arc-paper-drawing .paper-step text + text { fill: #34444b; font-size: 10px; letter-spacing: 0.5px; }
.arc-paper-drawing .paper-step text:last-child { fill: #75817f; font-size: 8px; letter-spacing: 0; }
.arc-paper-drawing .paper-step--blue rect { stroke: #4f8397; }
.arc-paper-drawing .paper-step--gold rect { stroke: #b08a3f; }
.arc-paper-drawing .paper-step--green rect { stroke: #4b775b; }
.arc-paper-drawing .paper-footer-note { fill: #6a7778; font-size: 10px; letter-spacing: 0.4px; }
.arc-paper-drawing .paper-canary-number { fill: #a4493f; font-family: Georgia, serif; font-size: 76px; }
.arc-paper-drawing .paper-bottom-rule { stroke: #92978f; stroke-width: 1; }
.arc-paper-drawing .paper-bottom-quote { fill: #7b542c; font-family: Georgia, serif; font-size: 12px; letter-spacing: 0.4px; }

/* Evidence and memory panels */
.arc-ledger { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); }
.arc-ledger > div { display: grid; gap: 0.3rem; min-height: 5.7rem; padding: 1rem; align-content: center; border-right: 1px solid var(--border); background: rgba(30, 200, 255, 0.04); }
.arc-ledger > div:last-child { border-right: 0; }
.arc-ledger strong { color: var(--gold); font-family: "IBM Plex Mono", Menlo, monospace; font-size: 1.04rem; }
.arc-ledger span { color: var(--mute); font-size: 0.68rem; }
.arc-section-aside { max-width: 21rem; padding-top: 0.35rem; font-size: 0.78rem; line-height: 1.5; }
.arc-safety-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.45rem; margin-top: 0.65rem; }
.arc-safety-strip span { padding: 0.65rem 0.35rem; border: 1px solid rgba(109, 255, 176, 0.28); color: var(--ok); font-family: "IBM Plex Mono", Menlo, monospace; font-size: 0.61rem; text-align: center; }
.arc-subtitle { color: var(--gold) !important; font-family: "IBM Plex Mono", Menlo, monospace; }
.arc-memory-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
.arc-memory-tile { min-height: 11rem; padding: 1rem; border: 1px solid var(--border); background: rgba(4, 5, 10, 0.25); }
.arc-memory-tile > span { color: var(--mute); font-family: "IBM Plex Mono", Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.12em; }
.arc-memory-tile h3 { margin: 0.6rem 0 0.45rem; color: var(--ink); font-size: 0.92rem; }
.arc-memory-tile p { color: var(--mute); font-size: 0.73rem; line-height: 1.5; }
.arc-memory-tile--blue { border-color: rgba(30, 200, 255, 0.34); }
.arc-memory-tile--blue > span, .arc-memory-tile--blue h3 { color: var(--tide); }
.arc-memory-tile--green { border-color: rgba(109, 255, 176, 0.32); }
.arc-memory-tile--green > span, .arc-memory-tile--green h3 { color: var(--ok); }
.arc-memory-tile--red { border-color: rgba(255, 122, 89, 0.36); }
.arc-memory-tile--red > span, .arc-memory-tile--red h3 { color: var(--ember); }
.arc-memory-tile--gold { border-color: rgba(240, 195, 106, 0.36); }
.arc-memory-tile--gold > span, .arc-memory-tile--gold h3 { color: var(--gold); }
.arc-dual-nerve-note { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 0.7rem; padding: 0.85rem 1rem; border: 1px dashed rgba(240, 195, 106, 0.34); color: var(--gold); font-family: "IBM Plex Mono", Menlo, monospace; font-size: 0.67rem; letter-spacing: 0.04em; }
.arc-dual-nerve-note span { color: var(--mute); }

.arc-plates { padding-bottom: 2.5rem; }
.arc-plates .cabinet { margin-top: 1rem; }
.arc-footer-note { margin: 2rem 0 1.6rem !important; padding: 1.25rem; border-top: 1px solid rgba(240, 195, 106, 0.35); border-bottom: 1px solid rgba(240, 195, 106, 0.35); color: var(--gold) !important; font-family: Georgia, serif; font-size: clamp(1.05rem, 2vw, 1.45rem); text-align: center; }

@media (max-width: 1040px) {
  .arc-selector-layout { grid-template-columns: 1fr; }
  .arc-selector-console { min-height: 0; }
  .arc-console-foot { margin-top: 1rem; }
  .arc-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc-memory-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .arc-document .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.55rem 0.8rem; padding: 0.65rem 1rem; }
  .arc-document .site-header .nav { grid-column: 1 / -1; justify-content: center; gap: 0.55rem 0.8rem; }
  .arc-document .site-header .claim-pill { justify-self: end; }
  .arc-page { padding-top: 10rem; }
  .arc-selector-topline, .arc-selector-heading, .arc-section-head--split { display: grid; }
  .arc-selector-heading { margin-top: 1.5rem; }
  .arc-selector-mark { width: 4.7rem; height: 4.7rem; }
  .arc-selector-mark b { font-size: 1.5rem; }
  .arc-game-grid { grid-template-columns: repeat(3, minmax(4.3rem, 1fr)); gap: 0.55rem; }
  .arc-stamp-stack { width: 100%; }
  .arc-section { padding-top: 3.5rem; }
  .arc-paper-frame { margin-inline: -0.35rem; padding: 0.45rem; }
  .arc-paper-drawing { min-width: 940px; }
  .arc-ledger { grid-template-columns: repeat(2, 1fr); }
  .arc-ledger > div { border-bottom: 1px solid var(--border); }
  .arc-ledger > div:nth-child(2n) { border-right: 0; }
  .arc-ledger > div:nth-last-child(-n+2) { border-bottom: 0; }
  .arc-safety-strip { grid-template-columns: repeat(2, 1fr); }
  .arc-proof-grid { grid-template-columns: 1fr; }
  .arc-memory-strip { grid-template-columns: 1fr; }
  .arc-memory-tile { min-height: 0; }
  .arc-dual-nerve-note { display: grid; gap: 0.45rem; }
}

/* Colony field note — the readable layer above the archive plates. */
.arc-document {
  background:
    radial-gradient(circle at 78% 13%, rgba(30, 200, 255, 0.09), transparent 28rem),
    radial-gradient(circle at 12% 56%, rgba(240, 195, 106, 0.06), transparent 32rem),
    var(--bg0);
}
.arc-page {
  width: min(100% - 2.8rem, 88rem);
  padding-right: 0;
  padding-left: 0;
}
.arc-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  min-height: min(48rem, 88vh);
  padding: 2rem 0 5rem;
}
.arc-hero__copy { max-width: 36rem; }
.arc-hero__copy h1 {
  margin: 0.7rem 0 1.35rem;
  color: var(--foam);
  font-size: clamp(3rem, 6vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}
.arc-hero__copy h1 em,
.arc-transfer h2 em {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.arc-hero__lead {
  max-width: 31rem;
  color: var(--ink) !important;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}
.arc-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.45rem 0 0.35rem;
}
.arc-status span {
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(255, 122, 89, 0.35);
  border-radius: 999px;
  color: var(--ember);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.arc-hero__plate {
  position: relative;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid rgba(240, 195, 106, 0.36);
  background: linear-gradient(140deg, rgba(240, 195, 106, 0.12), rgba(12, 20, 38, 0.72));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), 0 0 48px rgba(30, 200, 255, 0.08);
  transform: rotate(1.2deg);
}
.arc-hero__plate::before {
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(184, 243, 255, 0.14);
  content: "";
  pointer-events: none;
}
.arc-hero__plate-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.15rem 0.65rem;
  color: var(--gold);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
}
.arc-hero__plate img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.95) contrast(1.04);
}
.arc-hero__plate figcaption {
  padding: 0.7rem 0.15rem 0.15rem;
  color: var(--mute);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  line-height: 1.4;
}
.arc-loop { padding-top: 4.75rem; border-top: 1px solid var(--border); }
.arc-loop .arc-section-head { margin-bottom: 2.35rem; }
.arc-illustration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.arc-illustration-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.68);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.arc-illustration-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), 0 0 24px rgba(30, 200, 255, 0.08);
  transform: translateY(-4px);
}
.arc-illustration-card__image {
  overflow: hidden;
  aspect-ratio: 1;
  background: #13100c;
}
.arc-illustration-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.arc-illustration-card:hover .arc-illustration-card__image img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.035);
}
.arc-illustration-card figcaption { padding: 1rem 1rem 1.15rem; }
.arc-illustration-card figcaption strong {
  display: block;
  margin: 0.42rem 0 0.35rem;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.2;
}
.arc-illustration-card figcaption p { margin: 0; font-size: 0.77rem; line-height: 1.5; }
.arc-step {
  color: var(--tide);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}
.arc-illustration-card--gold { border-top: 2px solid var(--gold); }
.arc-illustration-card--gold .arc-step { color: var(--gold); }
.arc-illustration-card--red { border-top: 2px solid var(--ember); }
.arc-illustration-card--red .arc-step { color: var(--ember); }
.arc-illustration-card--green { border-top: 2px solid var(--ok); }
.arc-illustration-card--green .arc-step { color: var(--ok); }
.arc-illustration-card--violet { border-top: 2px solid var(--violet); }
.arc-illustration-card--violet .arc-step { color: var(--violet); }
.arc-illustration-card--tide { border-top: 2px solid var(--tide); }
.arc-transfer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 1.25fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  padding-bottom: 1.3rem;
}
.arc-transfer__intro { max-width: 39rem; }
.arc-transfer h2 { margin-bottom: 1rem; }
.arc-transfer__intro > p:last-child { max-width: 34rem; }
.arc-transfer .arc-ledger {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: rgba(240, 195, 106, 0.26);
}
.arc-transfer .arc-ledger > div { min-height: 6.6rem; border-color: rgba(240, 195, 106, 0.2); background: rgba(240, 195, 106, 0.035); }
.arc-transfer .arc-ledger strong { color: var(--tide); font-size: 1.3rem; }
.arc-transfer .arc-ledger span { color: var(--ink); font-family: "IBM Plex Mono", Menlo, monospace; font-size: 0.61rem; letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 900px) {
  .arc-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; }
  .arc-hero__copy { max-width: 44rem; }
  .arc-hero__plate { width: min(100%, 39rem); margin-left: auto; }
  .arc-illustration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc-transfer { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .arc-page { width: min(100% - 1.6rem, 88rem); }
  .arc-hero { padding-top: 1rem; padding-bottom: 3.5rem; }
  .arc-hero__copy h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .arc-hero__plate-meta { display: grid; gap: 0.15rem; }
  .arc-illustration-grid { grid-template-columns: 1fr; }
  .arc-transfer .arc-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc-transfer .arc-ledger > div:nth-child(2n) { border-right: 0; }
  .arc-transfer .arc-ledger > div:nth-last-child(-n+2) { border-bottom: 0; }
}
