@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-condensed-800.woff2") format("woff2");
  font-display: swap;
  font-weight: 800;
}

@font-face {
  font-family: "Space Mono";
  src: url("space-mono-400.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #141512;
  --panel: #1b1d17;
  --ink: #f0efe5;
  --muted: #b7b9aa;
  --line: #393d30;
  --green: #daff42;
  --mono: "Space Mono", monospace;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.skip {
  position: absolute;
  z-index: 3;
  inset: .5rem auto auto .5rem;
  padding: .6rem 1rem;
  background: var(--green);
  color: var(--canvas);
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.shell { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }

.masthead { border-bottom: 1px solid var(--line); }

.masthead-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.wordmark, nav, .eyebrow, .action, figcaption, .specs dt, .footer { font-family: var(--mono); }

.wordmark {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: .9rem;
  letter-spacing: .06em;
}

.burger-mark {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-content: center;
  gap: 2px;
  color: var(--green);
  border: 1px solid currentColor;
}

.burger-mark::before, .burger-mark::after, .burger-mark i {
  content: "";
  display: block;
  width: .85rem;
  border: 1px solid currentColor;
}

.burger-mark::before { height: 5px; border-radius: 6px 6px 0 0; }
.burger-mark::after { height: 3px; border-radius: 0 0 3px 3px; }

nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); }
nav a, .footer a { color: var(--muted); font-size: .875rem; text-decoration: none; }
nav a { display: flex; align-items: center; min-height: 2.75rem; }
nav a:hover, .footer a:hover { color: var(--green); text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5.2vw, 5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.2rem;
  color: var(--green);
  font-size: .875rem;
  letter-spacing: .09em;
}

.eyebrow span { width: .5rem; height: .5rem; background: currentColor; }

h1, h2 { margin: 0; font-family: var(--display); font-weight: 800; }

h1 { font-size: clamp(4.5rem, 9.3vw, 9rem); line-height: .8; letter-spacing: -.025em; }
h1 em { color: var(--green); font-style: normal; }

.intro, .anatomy-copy > p:last-child {
  max-width: 30ch;
  margin: 1.65rem 0 1.75rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 3rem;
  padding: .5rem .85rem;
  background: var(--green);
  color: var(--canvas);
  text-decoration: none;
  font-size: .9rem;
}

.action:hover { background: #e8ff87; }
.action span { font-size: 1.25rem; line-height: 1; }

.specimen { margin: 0; min-width: 0; border: 1px solid var(--line); }

.image-frame {
  position: relative;
  background: #171815;
  aspect-ratio: 1.18;
  isolation: isolate;
}

.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.reticle {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  --corner: linear-gradient(var(--green), var(--green));
  background:
    var(--corner) left top / 12px 1px, var(--corner) left top / 1px 12px,
    var(--corner) right top / 12px 1px, var(--corner) right top / 1px 12px,
    var(--corner) left bottom / 12px 1px, var(--corner) left bottom / 1px 12px,
    var(--corner) right bottom / 12px 1px, var(--corner) right bottom / 1px 12px;
  background-repeat: no-repeat;
}

figcaption {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem .85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .05em;
}

.specs { border: 1px solid var(--line); background: var(--panel); scroll-margin-top: 1rem; }
.specs dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.specs dl > div { padding: .9rem clamp(.8rem, 2.5vw, 1.5rem); }
.specs dl > div + div { border-left: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .875rem; letter-spacing: .04em; }
.specs dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .65rem; margin: 0; font: 800 2.6rem/1.1 var(--display); }
.specs dd span { color: var(--muted); font: 400 .875rem/1.4 system-ui, sans-serif; }

.anatomy {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  padding-block: clamp(3rem, 8vw, 6rem);
}

h2 { font-size: clamp(3.75rem, 8vw, 7rem); line-height: .83; letter-spacing: -.02em; }
.anatomy-copy > p:last-child { margin-bottom: 0; }
.layers { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }

summary {
  display: grid;
  grid-template-columns: 2.15rem 1fr auto;
  align-items: center;
  min-height: 3.6rem;
  gap: .4rem;
  padding: .5rem .85rem;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  width: .55rem;
  height: .55rem;
  margin-right: .25rem;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  transform: rotate(45deg);
}

details[open] summary::after { transform: rotate(225deg); }
summary:hover, details[open] { background: var(--panel); }
.layer-number { color: var(--green); font: .85rem var(--mono); }
details p { margin: 0; padding: 0 1rem 1.05rem 3.4rem; color: var(--muted); line-height: 1.55; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding-block: .9rem 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}

.footer p { margin: 0; }
.footer span { color: var(--green); }
.footer a { display: flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .hero, .anatomy { grid-template-columns: minmax(0, 1fr); }
  .hero { align-items: start; gap: 1.75rem; }
  h1 { font-size: clamp(3.8rem, 14vw, 6.8rem); }
  .specs dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs dl > div:nth-child(3) { border-left: 0; }
  .specs dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
