:root {
  color-scheme: dark;
  --ink: #f3f4ee;
  --muted: #a9b5b3;
  --night: #070b13;
  --panel: #0d1420;
  --line: #26313d;
  --lime: #c8ff52;
  --cyan: #56d8e7;
  --orange: #ff7a45;
  --paper: #e9ebe3;
  --paper-ink: #131b1f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  background: var(--lime);
  color: #07100d;
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  min-height: 760px;
  padding: 1.5rem max(6vw, 1.25rem) 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 42%, rgba(86, 216, 231, 0.11), transparent 26rem),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    #070b13;
  background-size: auto, 42px 42px, 42px 42px, auto;
  border-bottom: 1px solid var(--line);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
}

.brand b {
  color: var(--cyan);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--lime);
  color: #07100d;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.edition {
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 4rem;
  align-items: center;
  max-width: 1240px;
  margin: 5rem auto 0;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.section-label,
.status {
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.5rem, 6.8vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
}

.lede {
  max-width: 720px;
  margin: 2.4rem 0 1.5rem;
  color: #d1d7d3;
  font-size: 1.25rem;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.79rem;
  text-transform: uppercase;
}

.hero-meta > *:not(:last-child)::after {
  content: "/";
  padding-left: 1.2rem;
  color: var(--orange);
}

.orbital {
  position: relative;
  min-height: 410px;
}

.planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, var(--lime), #4c936e 34%, #102d34 68%);
  box-shadow: 0 0 80px rgba(86, 216, 231, 0.26);
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 370px;
  height: 135px;
  border: 1px solid rgba(86, 216, 231, 0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-26deg);
}

.orbit-two {
  width: 320px;
  height: 300px;
  border-color: rgba(200, 255, 82, 0.28);
  transform: translate(-50%, -50%) rotate(33deg);
}

.orbit i {
  position: absolute;
  top: 16%;
  right: 9%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px var(--orange);
}

.orbit-two i {
  top: 82%;
  right: 23%;
  width: 7px;
  height: 7px;
  background: var(--lime);
  box-shadow: 0 0 15px var(--lime);
}

.orbital p {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0;
  font-family: "Courier New", Courier, monospace;
}

.orbital strong {
  color: var(--lime);
  font-size: 3rem;
  line-height: 1;
}

.orbital span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: uppercase;
}

main {
  background: var(--paper);
  color: var(--paper-ink);
  padding: 0 max(6vw, 1.25rem) 7rem;
}

.method {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 0;
  border-bottom: 1px solid #b8beb6;
}

.method .section-label,
.acting-note .section-label {
  color: #2f6263;
}

.method p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: 1.1rem;
}

.profiles {
  max-width: 1120px;
  margin: 0 auto;
}

.profile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 3rem;
  padding: 4.2rem 0;
  border-bottom: 1px solid #b8beb6;
}

.rank {
  color: transparent;
  font-size: clamp(5rem, 9vw, 8.6rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.85;
  -webkit-text-stroke: 1.5px #84908d;
}

.current .rank {
  color: #1a3d3d;
  -webkit-text-stroke: 0;
}

.identity {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}

.status {
  margin-bottom: 0.35rem;
  color: #63706d;
}

.current .status {
  color: #287879;
}

h2 {
  margin: 0;
  color: #0c161b;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.tenure {
  min-width: 180px;
  margin: 0.2rem 0 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.79rem;
  line-height: 1.45;
  text-align: right;
}

.tenure span {
  display: block;
  color: #687471;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.bio {
  max-width: 790px;
  margin: 2rem 0 1.7rem;
  font-size: 1.12rem;
  line-height: 1.7;
}

.signal {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  max-width: 790px;
  padding: 0.8rem 0;
  border-top: 1px solid #c5cac3;
  border-bottom: 1px solid #c5cac3;
  font-size: 0.84rem;
}

.signal span {
  min-width: 150px;
  color: #687471;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.source {
  display: inline-block;
  margin-top: 1.35rem;
  color: #174f52;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-transform: uppercase;
}

.source:hover {
  color: #0b737a;
}

.acting-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 3rem;
  max-width: 1120px;
  margin: 5rem auto 0;
  padding: 3rem;
  background: #13252c;
  color: var(--ink);
  border-top: 5px solid var(--lime);
}

.acting-note .section-label {
  color: var(--lime);
}

.acting-note p:not(.section-label) {
  max-width: 790px;
  margin: 0;
  color: #d5ddda;
}

.acting-note .source {
  color: var(--cyan);
}

.note-number {
  color: var(--lime);
  font-family: "Courier New", Courier, monospace;
  font-size: 4rem;
  line-height: 1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem max(6vw, 1.25rem);
  background: #070b13;
  color: var(--muted);
  font-size: 0.78rem;
}

footer p {
  max-width: 520px;
  margin: 0;
}

.footer-brand {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

@media (max-width: 850px) {
  .hero {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
  }

  .orbital {
    min-height: 300px;
    transform: scale(0.88);
  }

  .method,
  .profile,
  .acting-note {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .edition {
    display: none;
  }

  .hero-grid {
    margin-top: 3rem;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3.2rem);
  }

  .lede {
    font-size: 1.05rem;
  }

  .hero-meta {
    display: grid;
    gap: 0.25rem;
  }

  .hero-meta > *:not(:last-child)::after {
    content: "";
    padding: 0;
  }

  .orbital {
    left: 50%;
    width: 360px;
    min-height: 270px;
    transform: translateX(-50%) scale(0.78);
    transform-origin: top center;
    margin-bottom: -2.8rem;
  }

  .method,
  .profile,
  .acting-note {
    grid-template-columns: 1fr;
  }

  .method {
    gap: 0;
    padding: 2.3rem 0;
  }

  .profile {
    gap: 1.3rem;
    padding: 3.2rem 0;
  }

  .rank {
    font-size: 4.8rem;
  }

  .identity {
    display: block;
  }

  .tenure {
    margin-top: 1rem;
    text-align: left;
  }

  .signal {
    display: block;
  }

  .signal span {
    display: block;
    margin-bottom: 0.25rem;
  }

  .acting-note {
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 1.5rem;
  }

  .note-number {
    font-size: 3rem;
  }

  footer {
    display: block;
  }

  footer > p {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
