:root {
  --bg: #0b0f12;
  --panel: #10161d;
  --panel-alt: #0d1319;
  --border: #263341;
  --text: #d8e2ee;
  --muted: #96a8bb;
  --terminal-amber: #ffcc4d;
  --terminal-green: #2fd480;
  --chart-line: #ffd24f;
  --accent-red: #ff5e57;
  --glow: 0 0 22px rgba(255, 204, 77, 0.18);
  --side-menu-width: 248px;
  --side-menu-gap: 1.35rem;
  --topbar-height: 46px;
  --live-ticker-height: 34px;
  --live-ticker-duration: 42s;
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top right, #172231 0%, var(--bg) 38%),
    radial-gradient(circle at bottom left, #121a24 0%, var(--bg) 28%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  padding-top: calc(var(--topbar-height) + var(--live-ticker-height) + 0.55rem);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(0deg, rgba(7, 11, 14, 0.4), rgba(7, 11, 14, 0.4));
  opacity: 0.28;
  z-index: 1;
}

main,
.terminal-topbar,
.terminal-footer,
.page-menu {
  position: relative;
  z-index: 2;
}

.terminal-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(10, 15, 20, 0.97), rgba(11, 17, 24, 0.95));
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  z-index: 14;
}

.global-ticker {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  height: var(--live-ticker-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid #314153;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 18px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, rgba(10, 18, 27, 0.98), rgba(12, 20, 31, 0.96));
  padding-left: 1rem;
  z-index: 13;
  overflow: hidden;
}

.global-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0) 62%
  );
  transform: translateX(-125%);
  animation: tickerSheen 10s linear infinite;
}

.global-ticker-label {
  flex: 0 0 auto;
  padding: 0 0.58rem;
  margin-right: 0.55rem;
  border: 1px solid rgba(255, 204, 77, 0.5);
  color: #f4d282;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.61rem;
  letter-spacing: 0.12em;
  line-height: 1.65;
  text-transform: uppercase;
  background: rgba(47, 36, 15, 0.6);
  text-shadow: 0 0 10px rgba(255, 204, 77, 0.35);
  animation: tickerLabelPulse 3s ease-in-out infinite;
}

.global-ticker-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.global-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: liveTickerMarquee var(--live-ticker-duration) linear infinite;
}

.global-ticker-group {
  display: flex;
  align-items: center;
}

.global-ticker-item {
  flex: 0 0 205px;
  min-width: 205px;
  padding: 0 0.7rem;
  border-right: 1px solid rgba(58, 76, 94, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  line-height: 1;
  color: #c2d5e8;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.45rem;
  align-items: center;
  background: linear-gradient(90deg, rgba(17, 26, 37, 0.24), rgba(17, 26, 37, 0.08));
}

.global-ticker-symbol {
  color: #9fb5c8;
  letter-spacing: 0.08em;
}

.global-ticker-price {
  color: #e7f2fd;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 9px rgba(130, 170, 210, 0.2);
}

.global-ticker-move {
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.left-group,
.center-group,
.right-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tag {
  color: var(--terminal-amber);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot.amber {
  background: var(--terminal-amber);
}

.dot.green {
  background: var(--terminal-green);
}

.divider {
  width: 1px;
  height: 12px;
  background: #3a4a5d;
}

main {
  width: min(1250px, calc(100vw - (var(--side-menu-width) + 4.6rem)));
  margin: 1.1rem 1.4rem 3.4rem calc(var(--side-menu-width) + 1.55rem);
  display: grid;
  gap: 1.35rem;
}

.page-menu {
  position: fixed;
  top: calc(var(--topbar-height) + var(--live-ticker-height));
  left: 0;
  bottom: 0;
  width: var(--side-menu-width);
  margin: 0;
  border: 0;
  border-right: 1px solid rgba(90, 108, 126, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015), 8px 0 20px rgba(0, 0, 0, 0.2);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.014),
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(180deg, rgba(15, 22, 31, 0.97) 0%, rgba(10, 16, 23, 0.95) 55%, rgba(8, 13, 19, 0.94) 100%);
  z-index: 3;
  overflow-y: auto;
  overflow-x: hidden;
}

.page-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 204, 77, 0.045), transparent 28%);
}

.page-menu::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 204, 77, 0.32), rgba(255, 204, 77, 0.03) 22%, rgba(255, 204, 77, 0.22) 100%);
  pointer-events: none;
}

.page-menu .panel-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #3a4959;
  padding: 0.72rem 0.75rem;
  background: linear-gradient(to right, rgba(255, 204, 77, 0.16), rgba(255, 204, 77, 0.04));
  color: #f4d684;
  letter-spacing: 0.12em;
}

.page-menu-row {
  display: grid;
  gap: 0.85rem;
  min-height: calc(100vh - (var(--topbar-height) + var(--live-ticker-height) + 2.7rem));
  padding: 0.85rem 0.72rem 0.95rem;
  background: linear-gradient(to bottom, rgba(33, 45, 58, 0.12), rgba(17, 26, 35, 0.06));
}

.menu-prompt {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: #8ddab0;
  letter-spacing: 0.1em;
  border: 1px solid rgba(63, 109, 92, 0.72);
  background: rgba(14, 27, 26, 0.75);
  padding: 0.34rem 0.45rem;
}

.route-stack {
  display: grid;
  gap: 0.42rem;
}

.route-tier {
  margin: 0.2rem 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  color: #88a0b4;
  letter-spacing: 0.14em;
}

.route-tier.secondary {
  margin-top: 0.15rem;
}

.route-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(128, 149, 168, 0.5), transparent);
  margin: 0.28rem 0;
}

.utility-toggle {
  border: 1px solid rgba(72, 91, 110, 0.78);
  background: rgba(17, 27, 39, 0.58);
  color: #a2b6ca;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-align: left;
  padding: 0.42rem 0.48rem;
  cursor: pointer;
}

.utility-toggle:hover {
  border-color: rgba(255, 204, 77, 0.58);
  color: #f8df9e;
}

.utility-routes {
  display: grid;
  gap: 0.42rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.page-menu.utility-open .utility-routes {
  max-height: 320px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-link {
  display: grid;
  grid-template-columns: 10px 24px 1fr auto;
  align-items: center;
  gap: 0.36rem;
  text-decoration: none;
  border: 1px solid rgba(58, 78, 97, 0.84);
  background: linear-gradient(180deg, rgba(18, 32, 49, 0.72), rgba(15, 26, 41, 0.58));
  color: #c6d8ea;
  padding: 0.5rem 0.58rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.69rem;
  letter-spacing: 0.07em;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  text-transform: uppercase;
}

.route-prefix {
  color: #6f8598;
}

.route-index {
  color: #8aa2b7;
}

.route-name {
  color: inherit;
}

.route-badge {
  font-size: 0.54rem;
  letter-spacing: 0.09em;
  padding: 0.12rem 0.27rem;
  border: 1px solid rgba(84, 104, 124, 0.68);
  color: #8ea4b8;
  background: rgba(15, 23, 35, 0.68);
}

.page-link:hover {
  border-color: var(--terminal-amber);
  color: #ffebba;
  box-shadow: 0 0 9px rgba(255, 204, 77, 0.09), inset 0 0 0 1px rgba(255, 204, 77, 0.08);
  transform: translateX(0.35px);
}

.page-link.active {
  border-color: var(--terminal-amber);
  background: linear-gradient(180deg, rgba(47, 40, 24, 0.85), rgba(32, 27, 19, 0.74));
  color: #ffe3a0;
  box-shadow: inset 0 0 0 1px rgba(255, 204, 77, 0.2), 0 0 10px rgba(255, 204, 77, 0.08);
}

.page-link.active .route-prefix,
.page-link.active .route-index {
  color: #ffd987;
}

.page-link.active .route-badge {
  border-color: rgba(255, 204, 77, 0.66);
  color: #ffe4a1;
  background: rgba(49, 39, 18, 0.78);
}

.route-context {
  margin-top: 0.2rem;
  border: 1px solid rgba(58, 75, 93, 0.84);
  background: rgba(12, 19, 28, 0.72);
  padding: 0.56rem 0.58rem;
}

.context-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.59rem;
  letter-spacing: 0.13em;
  color: #8ea3b6;
}

.route-context h3 {
  margin: 0.34rem 0 0.3rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  font-family: "Barlow Condensed", sans-serif;
  color: #f2d996;
}

.route-context p {
  margin: 0;
  font-size: 0.7rem;
  color: #a9bed1;
  line-height: 1.45;
}

.context-meta {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.09em;
}

.context-status {
  border: 1px solid rgba(83, 103, 122, 0.65);
  padding: 0.14rem 0.28rem;
  color: #9bb0c4;
  background: rgba(14, 20, 31, 0.72);
}

.context-status[data-state="ACTIVE"] {
  border-color: rgba(255, 204, 77, 0.65);
  color: #f7dea0;
}

.context-status[data-state="UPCOMING"] {
  border-color: rgba(130, 160, 190, 0.56);
  color: #acc2d7;
}

.context-status[data-state="OPEN"] {
  border-color: rgba(77, 158, 120, 0.62);
  color: #9fd5b9;
}

.shortcut-legend {
  margin-top: auto;
  display: grid;
  gap: 0.28rem;
  border: 1px solid rgba(59, 74, 90, 0.84);
  background: rgba(11, 17, 25, 0.72);
  padding: 0.48rem 0.54rem;
}

.shortcut-legend span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.61rem;
  color: #859db2;
  letter-spacing: 0.08em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 1.2rem;
}

.panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel), var(--panel-alt));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.panel-header {
  border-bottom: 1px solid #2d3b49;
  padding: 0.72rem 0.95rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: var(--terminal-amber);
  background: linear-gradient(to right, rgba(255, 204, 77, 0.08), transparent);
}

.nav-panel nav {
  display: grid;
  padding: 1.05rem 0.95rem;
  gap: 0.65rem;
}

.nav-panel a {
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  color: var(--text);
  border: 1px solid #324252;
  padding: 0.44rem 0.5rem;
  transition: all 180ms ease;
}

.nav-panel a:hover {
  border-color: var(--terminal-amber);
  color: #fff9e7;
  box-shadow: var(--glow);
}

.small-note {
  border-top: 1px solid #2d3b49;
  padding: 0.95rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

kbd {
  border: 1px solid #3a4959;
  border-bottom-width: 2px;
  padding: 0.05rem 0.25rem;
  color: var(--terminal-amber);
  font-family: inherit;
}

.headline-panel {
  min-height: 360px;
}

.headline-content {
  padding: 1.5rem;
}

.blinker {
  font-family: "IBM Plex Mono", monospace;
  color: var(--terminal-green);
  margin: 0;
  animation: flicker 2.2s steps(1, end) infinite;
}

h1 {
  font-family: "Barlow Condensed", sans-serif;
  margin: 0.6rem 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.subhead {
  max-width: 52ch;
  color: #c8d5e4;
  margin-bottom: 1.6rem;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cta {
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border: 1px solid var(--terminal-amber);
  letter-spacing: 0.03em;
}

.cta.solid {
  background: var(--terminal-amber);
  color: #111;
}

.cta.ghost {
  color: #ffdd7e;
}

.stats-panel .metric {
  padding: 0.95rem;
  border-bottom: 1px solid #23303c;
  font-family: "IBM Plex Mono", monospace;
}

.stats-panel .metric:last-child {
  border-bottom: 0;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.metric strong {
  color: #fff5d5;
  font-size: 1.45rem;
}

.ticker-wrap {
  overflow: hidden;
}

.ticker {
  display: flex;
  gap: 0.95rem;
  padding: 1rem;
  min-height: 62px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.ticker-item {
  min-width: 185px;
  border: 1px solid #2f4050;
  padding: 0.72rem;
  font-family: "IBM Plex Mono", monospace;
  background: #101b25;
}

.ticker-item .name {
  color: #a8bcce;
  font-size: 0.76rem;
}

.ticker-item .price {
  font-size: 1.05rem;
  margin-top: 0.25rem;
}

.ticker-item .move {
  font-size: 0.8rem;
}

.up {
  color: var(--terminal-green);
}

.down {
  color: var(--accent-red);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-panel,
.chart-panel,
.research-panel,
.event-panel,
.join-panel {
  padding-bottom: 0.4rem;
}

.about-panel p,
.join-panel p {
  padding: 0.5rem 1rem;
  color: #c5d2e0;
  line-height: 1.5;
}

.line-chart {
  width: calc(100% - 1.2rem);
  margin: 0.8rem;
  border: 1px solid #2b3b4a;
  background: repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      to top,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 40px
    );
}

.chart-caption {
  color: var(--muted);
  font-size: 0.83rem;
  padding: 0 1rem 0.8rem;
}

.desks-panel {
  overflow: hidden;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2a3745;
}

.desk-grid article {
  background: #111923;
  padding: 1.15rem;
  min-height: 155px;
}

.desk-grid h3 {
  margin: 0;
  color: #ffe8a8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.desk-grid p {
  color: #c0ccda;
  font-size: 0.9rem;
}

.research-panel ul {
  list-style: none;
  padding: 0.6rem 1rem 1.2rem;
  margin: 0;
}

.research-panel li {
  padding: 0.76rem 0;
  border-bottom: 1px solid #223140;
  color: #c8d6e5;
}

.research-panel li span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--terminal-amber);
  margin-right: 0.55rem;
}

.event-item {
  margin: 0.78rem 1rem;
  border: 1px solid #2f3f4f;
  padding: 0.9rem;
  background: #111a25;
}

.event-item h4 {
  margin: 0;
  font-size: 1rem;
  color: #ffebba;
}

.event-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.team-panel {
  padding-bottom: 0.8rem;
}

.team-intro {
  margin: 0;
  padding: 0.65rem 1rem 0.35rem;
  color: #bfd0df;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #2a3745;
  margin: 0.75rem 1rem 0.35rem;
}

.team-card {
  background: linear-gradient(180deg, #111a24, #0f1721);
  padding: 0.9rem 0.85rem 0.95rem;
}

.team-role {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  color: #8fa7bd;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0.3rem 0 0.38rem;
  font-size: 1.06rem;
  color: #ffe2a0;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.04em;
}

.team-focus {
  margin: 0;
  color: #b8c8d8;
  font-size: 0.84rem;
  line-height: 1.45;
  min-height: 2.7rem;
}

.team-links {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.team-links a {
  text-decoration: none;
  border: 1px solid #355069;
  color: #c7d8e9;
  background: #122031;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.4rem;
  text-transform: uppercase;
}

.team-links a:hover {
  border-color: var(--terminal-amber);
  color: #ffeab4;
  box-shadow: 0 0 10px rgba(255, 204, 77, 0.14);
}

.join-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0.9rem 1rem 1.2rem;
}

input,
select,
button {
  border: 1px solid #334455;
  background: #0c141d;
  color: #d4e2ef;
  padding: 0.72rem;
  font-family: "IBM Plex Mono", monospace;
}

button {
  background: linear-gradient(90deg, #ffcc4d, #f0b93e);
  color: #111;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.04);
}

.terminal-footer {
  width: min(1250px, calc(100vw - (var(--side-menu-width) + 4.6rem)));
  margin: 0 1.4rem 1.9rem calc(var(--side-menu-width) + 1.55rem);
  padding: 1rem;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-family: "IBM Plex Mono", monospace;
  color: #a9bdcf;
}

.terminal-footer a {
  color: #c4d7ea;
  text-decoration: none;
}

.terminal-footer a:hover {
  color: #fff0c2;
}

.page-hero {
  padding: 1.2rem;
}

.page-hero h1 {
  margin: 0.2rem 0 0.65rem;
}

.page-hero p {
  margin: 0;
  color: #c5d4e4;
  max-width: 72ch;
}

.section-stack {
  display: grid;
  gap: 1.2rem;
}

.event-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.event-card {
  border: 1px solid #2d3b4b;
  margin: 0.8rem 1rem;
  padding: 0.95rem;
  background: #101923;
}

.event-card h4 {
  margin: 0;
  color: #ffe8ac;
  font-size: 1rem;
}

.event-card p {
  margin: 0.45rem 0 0;
  color: #9cb0c4;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.resource-list {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0.95rem 1rem;
}

.resource-list li {
  border-bottom: 1px solid #233241;
  padding: 0.75rem 0;
}

.resource-list a {
  color: #d7e6f5;
  text-decoration: none;
}

.resource-list a:hover {
  color: #fff0c2;
}

.resource-tag {
  display: block;
  margin-top: 0.38rem;
  color: #95a9be;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-list {
  padding: 0.7rem 1rem 1rem;
}

.contact-list p {
  margin: 0.7rem 0;
  color: #c1d1e2;
}

.contact-list strong {
  color: #ffe9b0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.contact-list a {
  color: #ffffff;
  text-decoration: none;
}

.contact-list a:hover {
  color: #ffdd7e;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  padding: 0.8rem 1rem 1rem;
}

.network-callout {
  border-color: #9a7a22;
  box-shadow: inset 0 0 0 1px rgba(255, 204, 77, 0.2), 0 0 24px rgba(255, 204, 77, 0.16);
  background: linear-gradient(180deg, #1a1f17, #111814);
}

.network-callout .panel-header {
  background: linear-gradient(to right, rgba(255, 204, 77, 0.22), rgba(255, 204, 77, 0.04));
}

.network-callout .contact-list p {
  margin: 0.85rem 0;
  font-size: 1.03rem;
  line-height: 1.65;
  color: #efe2bf;
}

.network-callout .contact-list strong {
  color: #ffe08a;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.full-span {
  grid-column: 1 / -1;
}

textarea {
  border: 1px solid #334455;
  background: #0c141d;
  color: #d4e2ef;
  padding: 0.72rem;
  font-family: "IBM Plex Mono", monospace;
  min-height: 130px;
  resize: vertical;
}

@keyframes flicker {
  0%,
  97% {
    opacity: 1;
  }
  98%,
  99% {
    opacity: 0;
  }
}

@keyframes liveTickerMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes tickerSheen {
  0% {
    transform: translateX(-125%);
  }
  100% {
    transform: translateX(125%);
  }
}

@keyframes tickerLabelPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.18);
  }
}

@media (max-width: 1100px) {
  .terminal-topbar {
    padding: 0.8rem 1.2rem;
  }

  .global-ticker {
    padding-left: 1.2rem;
  }

  main {
    width: min(1250px, 95vw);
    margin: 1.1rem auto 3.4rem;
  }

  .page-menu {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: min(1250px, 95vw);
    margin: 1rem auto 0;
    border: 1px solid #354352;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 8px 26px rgba(0, 0, 0, 0.24);
    z-index: 2;
  }

  .page-menu-row {
    min-height: 0;
    padding: 0.82rem 0.9rem 0.9rem;
    background: linear-gradient(to right, rgba(33, 45, 58, 0.8), rgba(17, 26, 35, 0.45));
  }

  .page-menu::after {
    display: none;
  }

  .page-menu .panel-header {
    position: static;
    border-bottom: 1px solid #2d3b49;
    padding: 0.72rem 0.95rem;
    background: linear-gradient(to right, rgba(255, 204, 77, 0.08), transparent);
  }

  .menu-prompt {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
  }

  .route-stack {
    gap: 0.45rem;
  }

  .route-context {
    margin-top: 0.1rem;
  }

  .shortcut-legend {
    margin-top: 0.1rem;
  }

  .terminal-footer {
    width: min(1250px, 95vw);
    margin: 0 auto 1.9rem;
  }

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

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

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

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

  .join-form {
    grid-template-columns: 1fr 1fr;
  }

  .event-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  :root {
    --topbar-height: 58px;
    --live-ticker-height: 32px;
  }

  body {
    padding-top: calc(var(--topbar-height) + var(--live-ticker-height) + 0.35rem);
  }

  .terminal-topbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem 0.5rem;
    padding: 0.55rem 0.8rem;
  }

  .terminal-topbar .center-group {
    font-size: 0.68rem;
  }

  .global-ticker {
    height: 32px;
    padding-left: 0.8rem;
  }

  .global-ticker-label {
    display: none;
  }

  .global-ticker-item {
    min-width: 178px;
    flex-basis: 178px;
    font-size: 0.62rem;
    padding: 0 0.5rem;
    gap: 0.32rem;
  }

  .menu-prompt {
    width: 100%;
    margin-bottom: 0.1rem;
  }

  .page-link {
    grid-template-columns: 8px 20px 1fr auto;
    font-size: 0.66rem;
    padding: 0.48rem 0.52rem;
  }

  .route-context h3 {
    font-size: 0.8rem;
  }

  .route-context p {
    font-size: 0.66rem;
  }

  .shortcut-legend {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
  }

  .desk-grid,
  .join-form {
    grid-template-columns: 1fr;
  }

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

  .cta {
    width: 100%;
    text-align: center;
  }
}
