/* Thin Orbit - star-plate stylesheet. One file, no external requests. */

:root {
  --bg: #0d1015;
  --text: #d7dbe2;
  --accent: #d9b53c;
  --accent-2: #5c6470;
  --card: #13171e;
  --rule: rgba(215, 219, 226, 0.35);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --body: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  color: var(--accent);
  padding: 10px 14px;
  border: 1px solid var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  z-index: 50;
}
.skip-link:focus { left: 8px; top: 8px; }

a { color: var(--accent); text-decoration: underline; }
a:hover { text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.wordmark .wordmark-dot { color: var(--accent); }

.menu-button {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 7px 10px;
  border-radius: 0;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent); }

/* ---------- layout ---------- */

main { display: block; }

.column {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

h1 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 700;
  margin: 36px 0 18px;
}

h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 15px;
  margin: 26px 0 10px;
  color: var(--text);
}

h4 {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 20px 0 8px;
}

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

/* ---------- plates ---------- */

.plate {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
  padding: 26px 24px 20px;
  margin: 0 0 22px;
}

.plate > :last-child { margin-bottom: 0; }

.catalog-mark {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.plate-glyph { flex: 0 0 auto; }
.plate-glyph circle, .plate-glyph line { vector-effect: non-scaling-stroke; }

/* crosshair - used on exactly one section in the site */
.plate--crosshair::before,
.plate--crosshair::after {
  content: "";
  position: absolute;
  background: var(--accent-2);
  opacity: 0.8;
}
.plate--crosshair::before {
  left: 50%;
  top: 50%;
  width: 1px;
  height: 26px;
  transform: translate(-50%, -50%);
}
.plate--crosshair::after {
  left: 50%;
  top: 50%;
  width: 26px;
  height: 1px;
  transform: translate(-50%, -50%);
}

/* faint ring behind exactly one section title in the site */
.ringed-title { position: relative; }
.ringed-title::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 60px;
  height: 60px;
  border: 1px solid var(--accent-2);
  opacity: 0.25;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ---------- hero ---------- */

.hero { padding-top: 10px; }

.hero-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin: 28px 0 0;
  text-transform: uppercase;
}

.lede { font-size: 18px; }

/* ---------- disclosure ---------- */

.disclosure {
  border: 1px solid var(--accent);
  background: var(--card);
  padding: 18px 20px;
  margin: 0 0 24px;
  font-size: 17px;
}
.disclosure h2 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--accent);
}
.disclosure p:last-child { margin-bottom: 0; }

.link-note {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--accent-2);
  margin: 6px 0 16px;
}
.link-note a { color: var(--accent); }

/* ---------- step list ---------- */

.step-list { list-style: none; padding-left: 0; counter-reset: stepnum; }
.step-list li {
  border-top: 1px solid var(--rule);
  padding: 12px 0 12px 44px;
  position: relative;
  margin: 0;
}
.step-list li:last-child { border-bottom: 1px solid var(--rule); }
.step-list li::before {
  counter-increment: stepnum;
  content: "0" counter(stepnum);
  position: absolute;
  left: 0;
  top: 13px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}
.step-list a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.step-list a:hover { border-bottom-color: var(--accent); }
.step-list .step-line { display: block; font-size: 15.5px; color: var(--text); margin-top: 4px; }

/* ---------- step page furniture ---------- */

.mag-strip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0 8px;
  margin: 0;
}

.step-indicator {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 10px 0 0;
}

.contents {
  border: 1px solid var(--rule);
  padding: 16px 18px;
  margin: 0 0 26px;
}
.contents h2 { font-size: 13px; color: var(--accent-2); margin-bottom: 8px; }
.contents ol { margin-bottom: 0; }
.contents li { margin-bottom: 4px; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-top: 30px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
}
.pager a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.pager span { color: var(--accent-2); }

/* TARGET box - used on exactly one page in the site */
.target-box {
  border: 2px solid var(--accent);
  padding: 16px 18px;
  margin: 0 0 22px;
}
.target-box .target-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 8px;
}
.target-box .target-coord {
  font-family: var(--mono);
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--text);
}
.target-box p:last-child { margin-bottom: 0; }

/* ---------- checklists ---------- */

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0 0 18px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 11px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--text);
  opacity: 0.75;
}

.checklist-block { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 26px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 15.5px;
}
caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-2);
  padding-bottom: 8px;
}
th, td {
  border: 1px solid var(--rule);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
th {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
}

.callout {
  border-left: 2px solid var(--accent-2);
  padding: 2px 0 2px 16px;
  margin: 0 0 18px;
}

.glossary { margin: 0 0 18px; }
.glossary dt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin-top: 12px;
}
.glossary dd { margin: 4px 0 0; }

.print-button {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 0;
  cursor: pointer;
}
.print-button:hover { background: rgba(217, 181, 60, 0.12); }

.mono { font-family: var(--mono); font-size: 14px; }

.timeline { list-style: none; padding-left: 0; }
.timeline li {
  border-left: 1px solid var(--rule);
  padding: 0 0 14px 16px;
  margin: 0;
}
.timeline .when {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  display: block;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg);
  padding: 26px 0 40px;
}
.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 14.5px;
  line-height: 1.7;
}
.footer-inner .footer-name {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 6px;
}
.footer-inner address {
  font-style: normal;
  margin: 0 0 12px;
  color: var(--text);
}
.footer-links { margin: 0 0 12px; }
.footer-links a { white-space: nowrap; }
.footer-note { color: var(--text); margin: 0 0 10px; }
.footer-reviewed { font-family: var(--mono); font-size: 12px; color: var(--accent-2); margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 620px) {
  .menu-button { display: block; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 10px; padding: 10px 0 4px; }
  .header-inner { flex-wrap: wrap; }
  h1 { font-size: 24px; }
  .plate { padding: 26px 16px 18px; }
  .column { padding: 0 16px 40px; }
}

/* ---------- print ---------- */

@media print {
  body { background: #ffffff; color: #000000; font-size: 12pt; }
  .site-header, .site-nav, .menu-button, .print-button, .skip-link, .pager { display: none !important; }
  .plate, .contents, .disclosure, .target-box {
    background: #ffffff;
    border: 1px solid #000000;
    page-break-inside: avoid;
  }
  .catalog-mark, .mag-strip, .footer-reviewed, .link-note, h4, caption { color: #444444; }
  a { color: #000000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .checklist li::before { border-color: #000000; opacity: 1; }
  .plate--crosshair::before, .plate--crosshair::after, .ringed-title::before { display: none; }
  .site-footer { border-top: 1px solid #000000; }
  h1, h2, h3 { color: #000000; }
}
