:root {
  color-scheme: light;
  --paper: #f1efe8;
  --ink: #26362e;
  --line: #c9c9bf;
  --accent: #a85742;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.site-shell {
  width: min(calc(100% - 112px), 1480px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.site-header {
  flex: 0 0 auto;
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 610;
  font-size: 19px;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.brand-symbol { flex: 0 0 auto; }
.wordmark-stop { color: var(--accent); }
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .105em;
  white-space: nowrap;
}
.status-index { margin-left: 10px; color: #849086; }
main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}
.stage {
  position: relative;
  display: block;
  width: min(100%, 1040px);
  overflow: hidden;
  isolation: isolate;
}
.paper-grid {
  position: absolute;
  inset: 12% 7%;
  background-image: linear-gradient(to right, rgba(38,54,46,.058) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(38,54,46,.058) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse, rgba(0,0,0,.85), transparent 74%);
  mask-image: radial-gradient(ellipse, rgba(0,0,0,.85), transparent 74%);
}
.scene {
  display: block;
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  overflow: visible;
}
.beacon { animation: beacon 1.2s ease-in-out infinite alternate; }
@keyframes beacon { from {opacity:.22;} to {opacity:1;} }
@media (max-width: 800px) {
  .site-shell { width: calc(100% - 48px); }
  .site-header { min-height: 82px; }
  .header-status { font-size: 10px; }
  .status-index { display: none; }
  .stage { width: 100%; }
  .scene { width: min(150vw, 780px); max-width: none; flex: none; }
}
@media (max-width: 520px) {
  .site-shell { width: calc(100% - 34px); }
  .site-header { min-height: 76px; gap: 8px; }
  .wordmark { gap: 8px; font-size: 16px; letter-spacing: -.05em; }
  .brand-symbol { width: 28px; height: 28px; }
  .header-status { gap: 8px; font-size: 9px; letter-spacing: .06em; }
  main { padding: 14px 0 22px; }
  .scene { width: 520px; }
  .paper-grid { inset: 12% -10%; background-size: 32px 32px; }
}
@media (max-width: 350px) {
  .wordmark { font-size: 14px; }
  .header-status { font-size: 8px; gap: 6px; }
  .scene { width: 490px; }
}
