/* Static Signal artwork: no video, texture download, animation or embeds. */
[data-page="not-found"] .direction-picker { display: none; }
[data-page="not-found"] .theme-toggle { min-height: 44px; }
.not-found-page { padding: 72px var(--pad) 80px; }
.not-found-page:focus { outline: none; }
.not-found-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
  max-width: 1400px;
  min-height: 410px;
  margin: 0 auto;
}
.not-found-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.2;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(color-mix(in srgb, var(--line) 28%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 28%, transparent) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 48%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}
.not-found-art::before, .not-found-art::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.not-found-art::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.not-found-art::after { right: -1px; bottom: -1px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.not-found-readout, .not-found-coordinates { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 10px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); }
.not-found-readout > span:last-child { font-size: 18px; color: var(--accent); line-height: 1; }
.not-found-code {
  display: block;
  text-align: center;
  font: bold clamp(140px, 21vw, 300px)/.95 Condensed, Arial, sans-serif;
  letter-spacing: -.035em;
  color: color-mix(in srgb, var(--fg) 7%, var(--bg));
  -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 70%, var(--bg));
}
.not-found-frequency { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; color: var(--accent); }
.not-found-frequency span { flex: 1; height: 1px; background: var(--line); }
.not-found-frequency b { font: 10px/1.5 var(--mono); letter-spacing: .22em; white-space: nowrap; }
.not-found-copy { min-width: 0; }
.not-found-copy h1 { font: bold clamp(44px, 4.8vw, 76px)/1.02 Condensed, Arial, sans-serif; letter-spacing: -.02em; margin: 20px 0 24px; }
.not-found-message { max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.not-found-actions .button { min-height: 52px; font-size: 15px; gap: 24px; }
.not-found-home { border: 1px solid var(--line); }
.not-found-home:hover { border-color: var(--accent); }
.not-found-signoff { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 38px; font: 10px/1.6 var(--mono); color: var(--muted); letter-spacing: .04em; }

@media (max-width: 1000px) {
  .not-found-actions { flex-direction: column; align-items: stretch; }
  .not-found-home { justify-content: center; }
}
@media (max-width: 760px) {
  [data-page="not-found"] .design-bar { height: 44px; grid-template-rows: 44px; }
  .not-found-page { padding-top: 28px; padding-bottom: 44px; }
  .not-found-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 540px; min-height: 0; }
  .not-found-art { aspect-ratio: auto; height: 240px; padding: 14px; }
  .not-found-code { font-size: 180px; line-height: .85; }
  .not-found-frequency { margin-bottom: 10px; gap: 12px; }
  .not-found-readout, .not-found-coordinates { font-size: 9px; }
  .not-found-copy h1 { font-size: clamp(39px, 9vw, 60px); margin: 14px 0 18px; }
  .not-found-message { font-size: 15px; }
  .not-found-actions { margin-top: 24px; }
  .not-found-signoff { margin-top: 28px; padding-top: 20px; font-size: 9px; }
}
