:root {
  color-scheme: dark;
  --space: #03080b;
  --space-2: #061016;
  --ink: #091820;
  --ink-raised: #0d222a;
  --glass: rgba(8, 24, 31, 0.9);
  --glass-soft: rgba(8, 24, 31, 0.76);
  --cream: #f1e5cd;
  --cream-soft: #d8d3c4;
  --muted: #a8b8ba;
  --dim: #72898a;
  --teal: #65ded4;
  --green: #92d394;
  --gold: #e4b85f;
  --brass: #a77a38;
  --rust: #d07758;
  --blue: #80afd0;
  --line: rgba(152, 184, 181, 0.24);
  --line-bright: rgba(101, 222, 212, 0.54);
  --line-gold: rgba(228, 184, 95, 0.48);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  font-family: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--space);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(221, 246, 237, 0.012) 3px 4px),
    repeating-linear-gradient(90deg, rgba(101, 222, 212, 0.025) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(101, 222, 212, 0.018) 0 1px, transparent 1px 48px),
    linear-gradient(180deg, #07141a 0%, #03080b 56%, #07100f 100%);
  color: var(--cream);
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--space);
  color: var(--cream);
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 22, 29, 0.98), rgba(3, 10, 14, 0.96));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  padding: 8px clamp(14px, 3vw, 42px);
}

.brand {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-emblem {
  display: grid;
  width: 52px;
  height: 56px;
  place-items: center;
  border-right: 1px solid var(--line-gold);
  padding-right: 9px;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(228, 184, 95, 0.46);
  border-radius: 5px;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  min-width: 0;
}

.brand strong {
  display: block;
  color: var(--gold);
  font-family: Copperplate, Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-signal {
  display: grid;
  grid-template-columns: 8px auto;
  gap: 1px 8px;
  align-items: center;
  min-width: 128px;
  border-left: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
  padding-left: 18px;
  text-transform: uppercase;
}

.header-signal .status-lamp {
  grid-row: 1 / span 2;
}

.header-signal strong {
  color: var(--green);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a,
.button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(15, 37, 46, 0.92), rgba(5, 16, 22, 0.92));
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0 13px;
  text-transform: uppercase;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  border-color: var(--teal);
  color: #fff7e7;
  outline: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--line-gold);
  background: linear-gradient(180deg, rgba(228, 184, 95, 0.25), rgba(111, 74, 27, 0.2));
  color: var(--gold);
}

.button.primary:hover,
.button.primary:focus-visible {
  border-color: var(--gold);
  color: #ffe3a1;
}

.hero {
  position: relative;
  height: calc(100svh - 116px);
  min-height: 560px;
  max-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-gold);
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.92) contrast(1.06) brightness(0.88);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 12, 0.97) 0%, rgba(3, 10, 14, 0.86) 34%, rgba(3, 10, 14, 0.28) 68%, rgba(3, 10, 14, 0.48) 100%),
    linear-gradient(180deg, rgba(3, 10, 14, 0.06) 48%, rgba(3, 9, 12, 0.88) 100%);
}

.hero-scan {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(101, 222, 212, 0.12);
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(101, 222, 212, 0.07) 49.8% 50%, transparent 50% 100%),
    linear-gradient(0deg, transparent 0 49.8%, rgba(101, 222, 212, 0.05) 49.8% 50%, transparent 50% 100%);
  pointer-events: none;
}

.hero-scan::before,
.hero-scan::after {
  position: absolute;
  width: 78px;
  height: 78px;
  border-color: rgba(228, 184, 95, 0.54);
  content: "";
}

.hero-scan::before {
  top: 22px;
  right: 22px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.hero-scan::after {
  right: 22px;
  bottom: 22px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 56px;
  align-items: end;
  width: min(1320px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  padding: 54px 0 42px;
}

.hero-content {
  align-self: center;
  max-width: 720px;
}

.station-code,
.panel-label {
  color: var(--teal);
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 7px;
  color: var(--cream);
  font-family: Copperplate, Georgia, "Times New Roman", serif;
  font-size: 7.1rem;
  font-weight: 700;
  line-height: 0.84;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.22);
}

.hero-name {
  margin-top: 12px;
  color: var(--gold);
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-motto {
  margin-top: 22px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
}

.hero-copy {
  max-width: 650px;
  margin-top: 14px;
  color: var(--cream-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.mission-console {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(101, 222, 212, 0.38);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(101, 222, 212, 0.03) 0 1px, transparent 1px 24px),
    rgba(4, 15, 20, 0.9);
  box-shadow: var(--shadow);
}

.console-head,
.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  background: rgba(228, 184, 95, 0.09);
  padding: 9px 13px;
}

.console-head {
  border-bottom: 1px solid var(--line-gold);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-head strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.console-readout {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  padding: 9px 13px;
}

.console-readout span {
  color: var(--dim);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-readout strong {
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 700;
}

.console-footer {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.console-footer b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.status-lamp {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(146, 211, 148, 0.8);
}

.field-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #10252b, #09171c);
}

.field-band span {
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 12px clamp(14px, 2.5vw, 34px);
  text-transform: uppercase;
}

.field-band span:last-child {
  border-right: 0;
}

.field-band b {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.founder-quote,
.tools-section,
.crowns-section,
.branches-section,
.protocol-section,
.join-section {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.founder-quote {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(290px, 0.52fr);
  gap: 14px;
  padding: 52px 0 34px;
}

.quote-panel,
.quote-ledger {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 23, 29, 0.76);
  box-shadow: var(--shadow);
}

.quote-panel {
  overflow: hidden;
  border-top: 3px solid var(--gold);
  padding: 24px 26px 26px;
}

.quote-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.quote-heading > span {
  color: rgba(228, 184, 95, 0.42);
  font-family: Copperplate, Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.quote-panel blockquote {
  margin: 20px 0 0;
}

.quote-panel blockquote p {
  max-width: 820px;
  color: var(--cream-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.58;
}

.quote-panel footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-panel footer::before {
  content: "-";
}

.quote-panel footer span {
  color: var(--dim);
  font-size: 0.66rem;
}

.quote-ledger {
  display: grid;
  grid-template-rows: auto repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-top: 3px solid var(--teal);
}

.quote-ledger .panel-label {
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
}

.quote-ledger div {
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
}

.quote-ledger div:last-child {
  border-bottom: 0;
}

.quote-ledger span,
.quote-ledger small {
  display: block;
  color: var(--dim);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.quote-ledger strong {
  display: block;
  margin: 4px 0 3px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.tools-section {
  padding: 18px 0 26px;
}

.tools-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(101, 222, 212, 0.02) 0 1px, transparent 1px 26px),
    linear-gradient(110deg, rgba(12, 39, 42, 0.92), rgba(6, 18, 23, 0.94));
  box-shadow: var(--shadow);
  padding: 24px 26px;
}

.tools-copy h2 {
  margin-top: 7px;
  color: var(--gold);
  font-family: Copperplate, Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1.08;
}

.tools-copy > p:last-child {
  max-width: 760px;
  margin-top: 13px;
  color: var(--cream-soft);
  font-size: 0.92rem;
  line-height: 1.58;
}

.tools-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tools-links a {
  display: flex;
  min-width: 0;
  min-height: 64px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(15, 40, 46, 0.9), rgba(5, 16, 21, 0.94));
  padding: 10px 12px;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.tools-links a:hover,
.tools-links a:focus-visible {
  border-color: var(--teal);
  color: #fff7e7;
  outline: none;
  transform: translateY(-1px);
}

.tools-links span {
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.tools-links small {
  margin-top: 4px;
  color: var(--dim);
  font-size: 0.61rem;
  line-height: 1.25;
}

.crowns-section,
.branches-section,
.protocol-section {
  padding: 64px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.section-heading h2,
.join-section h2 {
  margin-top: 7px;
  color: var(--gold);
  font-family: Copperplate, Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.08;
}

.section-heading > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.compact-heading {
  grid-template-columns: minmax(0, 1fr) auto;
}

.crown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.crown-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(101, 222, 212, 0.02) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(15, 39, 46, 0.94), rgba(5, 15, 20, 0.94));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
  padding: 18px;
}

.crown-card::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 68px;
  height: 68px;
  border-right: 1px solid rgba(228, 184, 95, 0.22);
  border-bottom: 1px solid rgba(228, 184, 95, 0.22);
  content: "";
  transform: rotate(45deg) translate(34px, 34px);
}

.crown-science {
  border-top-color: var(--gold);
}

.crown-public {
  border-top-color: var(--green);
}

.crown-logistics {
  border-top-color: var(--rust);
}

.crown-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
}

.crown-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
}

.signal-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 15px rgba(101, 222, 212, 0.72);
}

.signal-dot.amber {
  background: var(--gold);
  box-shadow: 0 0 15px rgba(228, 184, 95, 0.7);
}

.signal-dot.green {
  background: var(--green);
  box-shadow: 0 0 15px rgba(146, 211, 148, 0.72);
}

.signal-dot.rust {
  background: var(--rust);
  box-shadow: 0 0 15px rgba(208, 119, 88, 0.7);
}

.crown-card .station-code {
  margin-top: 18px;
}

.crown-card h3 {
  margin-top: 9px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.12;
}

.crown-card > p:not(.station-code) {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.crown-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.crown-card li {
  border: 1px solid rgba(101, 222, 212, 0.24);
  border-radius: 4px;
  background: rgba(2, 9, 12, 0.48);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  padding: 6px 8px;
  text-transform: uppercase;
}

.card-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 900;
  padding-top: 14px;
  text-transform: uppercase;
}

.card-link span {
  color: var(--teal);
  font-size: 1.1rem;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.branches-section {
  position: relative;
}

.branch-console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  background: rgba(5, 16, 21, 0.86);
  box-shadow: var(--shadow);
}

.branch-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 42, 48, 0.95), rgba(7, 19, 24, 0.95));
  padding: 7px;
}

.branch-button {
  display: grid;
  min-width: 0;
  min-height: 66px;
  align-content: center;
  border: 1px solid transparent;
  border-right-color: var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  padding: 8px 6px;
  text-align: center;
}

.branch-button:last-child {
  border-right-color: transparent;
}

.branch-button span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.branch-button small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--dim);
  font-size: 0.58rem;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.branch-button:hover,
.branch-button:focus-visible,
.branch-button.active {
  border-color: var(--teal);
  background: rgba(101, 222, 212, 0.08);
  outline: none;
}

.branch-button.active span {
  color: var(--gold);
}

.branch-button.active small {
  color: var(--cream-soft);
}

.holo-dossier {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  min-height: 390px;
  background:
    repeating-linear-gradient(0deg, rgba(101, 222, 212, 0.018) 0 1px, transparent 1px 30px),
    linear-gradient(120deg, rgba(10, 37, 43, 0.94), rgba(5, 15, 20, 0.96));
}

.dossier-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(101, 222, 212, 0.16) 49.7% 50%, transparent 50% 100%),
    linear-gradient(0deg, transparent 0 49.7%, rgba(101, 222, 212, 0.12) 49.7% 50%, transparent 50% 100%);
}

.dossier-visual::before,
.dossier-visual::after {
  position: absolute;
  content: "";
}

.dossier-visual::before {
  inset: 30px;
  border: 1px solid rgba(101, 222, 212, 0.24);
}

.dossier-visual::after {
  width: 174px;
  height: 174px;
  border: 1px dashed rgba(228, 184, 95, 0.44);
  transform: rotate(45deg);
}

.orbit-ring {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(101, 222, 212, 0.36);
  border-radius: 50%;
}

.ring-one {
  width: 220px;
  height: 220px;
}

.ring-two {
  width: 138px;
  height: 138px;
  border-color: rgba(228, 184, 95, 0.45);
}

.dossier-monogram {
  position: relative;
  z-index: 2;
  color: var(--cream);
  font-family: Copperplate, Georgia, serif;
  font-size: 6.2rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 28px rgba(101, 222, 212, 0.24);
}

.dossier-visual small {
  position: absolute;
  bottom: 44px;
  z-index: 2;
  color: var(--teal);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dossier-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.dossier-head span {
  display: block;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dossier-head strong {
  display: block;
  max-width: 760px;
  margin-top: 8px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.holo-dossier p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.dossier-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 0;
}

.dossier-stats div {
  min-width: 0;
  border-top: 2px solid rgba(101, 222, 212, 0.46);
  background: rgba(2, 10, 13, 0.42);
  padding: 11px;
}

.dossier-stats dt {
  color: var(--dim);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dossier-stats dd {
  margin: 5px 0 0;
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.protocol-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.protocol-list li {
  position: relative;
  min-height: 205px;
  border-top: 3px solid var(--teal);
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(101, 222, 212, 0.07), rgba(8, 22, 27, 0.32));
  padding: 16px 18px;
}

.protocol-list li:nth-child(2) {
  border-top-color: var(--gold);
}

.protocol-list li:nth-child(3) {
  border-top-color: var(--green);
}

.protocol-list li:nth-child(4) {
  border-top-color: var(--rust);
  border-right: 0;
}

.protocol-list b {
  color: rgba(228, 184, 95, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.protocol-list strong {
  display: block;
  margin-top: 14px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.protocol-list span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 56px;
  align-items: center;
  margin-top: 26px;
  margin-bottom: 70px;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(101, 222, 212, 0.02) 0 1px, transparent 1px 28px),
    linear-gradient(105deg, rgba(14, 43, 47, 0.82), rgba(7, 17, 21, 0.88));
  padding: 32px 36px;
}

.join-copy {
  max-width: 680px;
}

.join-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.join-section h2 {
  max-width: 620px;
  margin-top: 8px;
  font-size: 2.8rem;
}

.join-section .join-copy > p:not(.station-code) {
  max-width: 650px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.discord-button {
  margin-top: 22px;
}

.discord-panel {
  position: relative;
  justify-self: end;
  width: min(100%, 320px);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  background: var(--space);
  box-shadow: var(--shadow);
}

.discord-panel::before,
.discord-panel::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.discord-panel::before {
  inset: 10px;
  border: 1px solid rgba(101, 222, 212, 0.42);
}

.discord-panel::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(101, 222, 212, 0.12), transparent 24%, transparent 76%, rgba(228, 184, 95, 0.12));
}

.discord-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.9) contrast(1.05) brightness(0.88);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 94px;
  border-top: 1px solid var(--line);
  background: #040b0e;
  padding: 18px clamp(18px, 4vw, 54px);
}

.site-footer > div strong,
.site-footer > div span {
  display: block;
}

.site-footer > div strong {
  color: var(--gold);
  font-family: Copperplate, Georgia, serif;
  font-size: 1.15rem;
}

.site-footer > div span,
.site-footer p,
.site-footer a {
  color: var(--dim);
  font-size: 0.68rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.site-footer a {
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--teal);
  outline: none;
}

.site-footer p {
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(250px, 1fr) auto;
  }

  .header-signal {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 5.8rem;
  }

  .crown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crown-card {
    min-height: 365px;
  }

  .branch-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .branch-button:nth-child(4) {
    border-right-color: transparent;
  }

  .branch-button:nth-child(-n + 4) {
    border-bottom-color: var(--line);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 10px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: thin;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero {
    height: 600px;
    min-height: 600px;
    max-height: 600px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    width: min(100% - 28px, 820px);
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .hero-motto {
    font-size: 1.75rem;
  }

  .founder-quote,
  .tools-panel,
  .section-heading,
  .compact-heading,
  .join-section {
    grid-template-columns: 1fr;
  }

  .quote-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
  }

  .quote-ledger .panel-label {
    grid-column: 1 / -1;
  }

  .quote-ledger div {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .quote-ledger div:last-child {
    border-right: 0;
  }

  .tools-panel {
    gap: 22px;
  }

  .holo-dossier {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .dossier-visual,
  .holo-dossier {
    min-height: 430px;
  }

  .dossier-head strong {
    font-size: 2rem;
  }

  .dossier-stats {
    grid-template-columns: 1fr;
  }

  .protocol-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protocol-list li:nth-child(2) {
    border-right: 0;
  }

  .protocol-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .join-section {
    gap: 28px;
  }

  .discord-panel {
    justify-self: center;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 12px;
  }

  .site-header {
    position: relative;
    min-height: 112px;
    border-top-width: 2px;
    padding: 7px 12px 9px;
  }

  .brand-emblem {
    height: 48px;
  }

  .brand img {
    height: 42px;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .site-nav a,
  .button {
    min-height: 36px;
    font-size: 0.66rem;
    padding: 0 11px;
  }

  .site-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 6px);
  }

  .hero {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 8, 12, 0.95), rgba(3, 10, 14, 0.66)),
      linear-gradient(180deg, rgba(3, 10, 14, 0.12), rgba(3, 9, 12, 0.9));
  }

  .hero-layout {
    display: block;
    width: calc(100% - 28px);
    padding: 32px 0 24px;
  }

  .hero-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-name {
    max-width: 330px;
    font-size: 0.85rem;
  }

  .hero-motto {
    margin-top: 16px;
    font-size: 1.55rem;
  }

  .hero-copy {
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 17px;
  }

  .mission-console {
    display: none;
  }

  .field-band {
    grid-auto-columns: minmax(220px, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .founder-quote,
  .tools-section,
  .crowns-section,
  .branches-section,
  .protocol-section,
  .join-section {
    width: min(100% - 24px, 620px);
  }

  .founder-quote {
    padding: 38px 0 20px;
  }

  .tools-section {
    padding: 12px 0 20px;
  }

  .tools-panel {
    gap: 20px;
    padding: 20px 18px;
  }

  .tools-copy h2 {
    font-size: 1.75rem;
  }

  .quote-panel {
    padding: 18px;
  }

  .quote-heading > span {
    display: none;
  }

  .quote-panel blockquote p {
    font-size: 0.96rem;
  }

  .quote-ledger {
    grid-template-columns: 1fr;
    grid-template-rows: auto repeat(3, auto);
  }

  .quote-ledger .panel-label {
    grid-column: auto;
  }

  .quote-ledger div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tools-links {
    grid-template-columns: 1fr;
  }

  .crowns-section,
  .branches-section,
  .protocol-section {
    padding: 46px 0;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading h2,
  .join-section h2 {
    font-size: 1.9rem;
  }

  .crown-grid {
    grid-template-columns: 1fr;
  }

  .crown-card {
    min-height: 0;
  }

  .card-link {
    margin-top: 22px;
  }

  .branch-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branch-button:nth-child(2n) {
    border-right-color: transparent;
  }

  .branch-button:nth-child(-n + 6) {
    border-bottom-color: var(--line);
  }

  .holo-dossier {
    grid-template-columns: 1fr;
  }

  .holo-dossier,
  .dossier-visual {
    min-height: 0;
  }

  .dossier-visual {
    height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dossier-visual::before {
    inset: 18px;
  }

  .ring-one {
    width: 170px;
    height: 170px;
  }

  .ring-two {
    width: 108px;
    height: 108px;
  }

  .dossier-visual::after {
    width: 130px;
    height: 130px;
  }

  .dossier-monogram {
    font-size: 4.5rem;
  }

  .dossier-visual small {
    bottom: 22px;
  }

  .dossier-copy {
    padding: 22px 18px;
  }

  .dossier-head strong {
    font-size: 1.7rem;
  }

  .protocol-list {
    grid-template-columns: 1fr;
  }

  .protocol-list li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .join-section {
    margin-top: 8px;
    margin-bottom: 40px;
    padding: 26px 18px;
  }

  .join-status {
    margin-bottom: 20px;
  }

  .discord-panel {
    width: min(100%, 300px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 18px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-motto {
    font-size: 1.35rem;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .brand strong {
    font-size: 1.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
