:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-border: rgba(198, 67, 14, 0.22);
  --primary: #c6430e;
  --primary-hover: #d9531e;
  --accent: #b85d08;
  --text-main: #1c1917;
  --text-muted: #78716c;
  --card-shadow: 0 4px 20px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.04);
  --radius: 12px;
  --header-bg: rgba(255, 255, 255, 0.96);
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.aev-node-matter {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Shell Containers */
.aev-node-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.aev-node-shell-narrow {
  max-width: 880px;
}

/* Header & Navigation */
.aev-node-crestbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  transition: box-shadow 0.25s ease;
}

.aev-node-crestbar-casing {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.aev-node-brand-route {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.aev-node-brand-emblem {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(9, 139, 177, 0.28);
}

.aev-node-brand-emblem svg {
  width: 22px;
  height: 22px;
}

.aev-node-brand-highlight {
  color: var(--primary);
  margin-left: 2px;
}

.aev-node-wayfinder-index {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.aev-node-wayfinder-anchor {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  padding: 0.35rem 0;
  position: relative;
}

.aev-node-wayfinder-anchor:hover,
.aev-node-wayfinder-anchor:focus-visible {
  color: var(--primary);
}

.aev-node-crestbar-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.aev-node-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  line-height: 1.2;
}

.aev-node-control-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(9, 139, 177, 0.25);
}

.aev-node-control-primary:hover,
.aev-node-control-primary:focus-visible {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(9, 139, 177, 0.34);
}

.aev-node-control-outline {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--surface-border);
}

.aev-node-control-outline:hover,
.aev-node-control-outline:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(9, 139, 177, 0.04);
}

.aev-node-control-ghost {
  background: rgba(9, 139, 177, 0.08);
  color: var(--primary);
}

.aev-node-control-ghost:hover {
  background: rgba(9, 139, 177, 0.16);
}

.aev-node-control-lg {
  padding: 0.92rem 1.75rem;
  font-size: 1rem;
}

.aev-node-control-sm {
  padding: 0.52rem 1rem;
  font-size: 0.86rem;
}

.aev-node-control-block {
  width: 100%;
}

/* Mobile Menu Trigger & Drawer */
.aev-node-burger-trigger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.aev-node-burger-line {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.aev-node-mobile-panel {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
  padding: 1.25rem 1.5rem 1.5rem;
}

.aev-node-mobile-panel.aev-node-is-open {
  display: block;
}

.aev-node-mobile-index {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.aev-node-mobile-route {
  display: block;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  color: var(--text-main);
}

.aev-node-mobile-route:hover {
  background: rgba(9, 139, 177, 0.08);
  color: var(--primary);
}

/* Hero Section */
.aev-node-billboard-division {
  position: relative;
  padding: 5.2rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(9, 139, 177, 0.11), transparent 42%),
    radial-gradient(circle at 85% 30%, rgba(0, 67, 200, 0.09), transparent 40%),
    var(--bg);
  border-bottom: 1px solid var(--surface-border);
}

.aev-node-billboard-mesh-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(9, 139, 177, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 139, 177, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.aev-node-billboard-cell {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.aev-node-billboard-medallion {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
}

.aev-node-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(9, 139, 177, 0.2);
}

.aev-node-billboard-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1.35rem;
}

.aev-node-headline-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aev-node-billboard-subline {
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 2.15rem;
}

.aev-node-billboard-cta-horizon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.aev-node-telemetry-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.75rem;
  box-shadow: var(--card-shadow);
}

.aev-node-telemetry-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.aev-node-telemetry-val {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--primary);
}

.aev-node-telemetry-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.aev-node-telemetry-sep {
  width: 1px;
  height: 38px;
  background: var(--surface-border);
}

/* Generic Sections */
.aev-node-zone {
  padding: 5rem 0;
}

.aev-node-zone-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.25rem;
}

.aev-node-head-spaced {
  margin-top: 3.5rem;
}

.aev-node-eyebrow-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  background: rgba(9, 139, 177, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.aev-node-zone-bannerhead {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.aev-node-caption-left {
  text-align: left;
}

.aev-node-zone-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Intro / Architecture Section */
.aev-node-arch-division {
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
}

.aev-node-arch-mesh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.aev-node-arch-cartridge {
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.aev-node-arch-cartridge:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.aev-node-arch-icon-vault {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(9, 139, 177, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aev-node-arch-icon-vault svg {
  width: 24px;
  height: 24px;
}

.aev-node-arch-step {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.aev-node-arch-heading {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--text-main);
}

.aev-node-arch-copy {
  font-size: 0.94rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.aev-node-arch-points {
  list-style: none;
  border-top: 1px dashed var(--surface-border);
  padding-top: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.aev-node-arch-points li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  padding-left: 1.15rem;
  position: relative;
}

.aev-node-arch-points li::before {
  content: "•";
  color: var(--primary);
  font-weight: 800;
  position: absolute;
  left: 0;
}

/* Filter Bar & 9-Game Arcade Cards Grid */
.aev-node-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.aev-node-filter-chip {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.aev-node-filter-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.aev-node-filter-chip.aev-node-is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(9, 139, 177, 0.25);
}

.aev-node-arcade-mesh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.aev-node-arcade-cartridge {
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.aev-node-arcade-cartridge:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.11);
}

.aev-node-capsule-top {
  border-color: rgba(9, 139, 177, 0.45);
}

.aev-node-capsule-thumb-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}

.aev-node-capsule-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.aev-node-arcade-cartridge:hover .aev-node-capsule-thumb {
  transform: scale(1.05);
}

.aev-node-crest-top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.68rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.aev-node-crest-genre {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.26rem 0.65rem;
  border-radius: 6px;
}

.aev-node-capsule-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.aev-node-capsule-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.aev-node-meta-score {
  color: var(--accent);
}

.aev-node-meta-players {
  color: var(--primary);
  background: rgba(9, 139, 177, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.aev-node-capsule-bannerhead {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.55rem;
}

.aev-node-capsule-digest {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.aev-node-capsule-features {
  list-style: none;
  margin-bottom: 1.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  flex-grow: 1;
}

.aev-node-capsule-features li {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.aev-node-capsule-features li::before {
  content: "▸";
  color: var(--primary);
  font-weight: 700;
}

.aev-node-capsule-action {
  margin-top: auto;
}

/* Spotlight Section */
.aev-node-spotlight-division {
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.aev-node-spotlight-panel {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--surface-border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
}

.aev-node-spotlight-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

.aev-node-spotlight-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aev-node-spotlight-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.38rem 0.85rem;
  border-radius: 6px;
}

.aev-node-spotlight-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.22;
  margin-bottom: 1rem;
}

.aev-node-spotlight-para {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}

.aev-node-spotlight-specs {
  margin: 1.35rem 0 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.aev-node-spec-rank {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.aev-node-spec-bullet {
  color: var(--primary);
  font-weight: 800;
}

/* Editorial & Overview Section */
.aev-node-legend-banner {
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 2.15rem 2.25rem;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  gap: 2rem;
  align-items: center;
}

.aev-node-legend-bannerhead {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--text-main);
}

.aev-node-legend-paragraph {
  font-size: 1rem;
  color: var(--text-muted);
}

.aev-node-overview-mesh {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.aev-node-overview-cartridge {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.aev-node-overview-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: rgba(9, 139, 177, 0.25);
  line-height: 1;
}

.aev-node-overview-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--text-main);
}

.aev-node-overview-cavity {
  font-size: 0.94rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.aev-node-overview-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--surface-border);
}

.aev-node-mini-tag {
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(9, 139, 177, 0.08);
  color: var(--primary);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* FAQ Accordion Section */
.aev-node-answers-division {
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.aev-node-answers-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.aev-node-answers-piece {
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.aev-node-answers-piece.aev-node-is-open {
  border-color: var(--primary);
}

.aev-node-answers-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.aev-node-answers-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(9, 139, 177, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.aev-node-answers-piece.aev-node-is-open .aev-node-answers-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}

.aev-node-answers-panel {
  display: none;
  padding: 0 1.5rem 1.35rem;
}

.aev-node-answers-piece.aev-node-is-open .aev-node-answers-panel {
  display: block;
}

.aev-node-answers-a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact Section */
.aev-node-liaison-mesh {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.75rem;
  align-items: start;
}

.aev-node-liaison-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.aev-node-office-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aev-node-office-cartridge {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aev-node-office-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.aev-node-office-val {
  font-size: 0.96rem;
  color: var(--text-main);
}

.aev-node-manifest-cartridge {
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
}

.aev-node-manifest-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1.35rem;
  color: var(--text-main);
}

.aev-node-field-group {
  margin-bottom: 1.15rem;
}

.aev-node-field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.aev-node-input-control,
.aev-node-textarea-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.78rem 1rem;
  border-radius: 9px;
  border: 1px solid var(--surface-border);
  background: var(--bg);
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aev-node-input-control:focus,
.aev-node-textarea-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 139, 177, 0.15);
  background: var(--surface);
}

.aev-node-manifest-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.aev-node-manifest-feedback.aev-node-status-ok {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

/* Footer */
.aev-node-colophon {
  background: #0f172a;
  color: #e2e8f0;
  padding: 4.25rem 0 2.5rem;
}

.aev-node-colophon-brand {
  color: #ffffff;
  margin-bottom: 1rem;
}

.aev-node-colophon-mesh {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
  gap: 2.25rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.aev-node-colophon-blurb {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 1.15rem;
}

.aev-node-colophon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.aev-node-spec-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(9, 139, 177, 0.2);
  color: #38bdf8;
}

.aev-node-colophon-bannerhead {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.1rem;
}

.aev-node-colophon-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.aev-node-colophon-route {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.aev-node-colophon-route:hover {
  color: #38bdf8;
}

.aev-node-colophon-key-trigger {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #cbd5e1;
  cursor: pointer;
  text-decoration: underline;
  text-align: left;
}

.aev-node-colophon-key-trigger:hover {
  color: #38bdf8;
}

.aev-node-colophon-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.aev-node-meta-label {
  color: #ffffff;
  margin-right: 0.35rem;
}

.aev-node-colophon-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.83rem;
  color: #94a3b8;
}

.aev-node-inline-route {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Legal Pages */
.aev-node-legal-division {
  padding: 4rem 0 5rem;
}

.aev-node-legal-cartridge {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

.aev-node-legal-bannerhead {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.aev-node-legal-updated {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--surface-border);
}

.aev-node-legal-prose h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-main);
}

.aev-node-legal-prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.aev-node-legal-prose ul {
  margin: 0.5rem 0 1.25rem 1.35rem;
  color: var(--text-muted);
}

.aev-node-legal-prose li {
  margin-bottom: 0.45rem;
}

.aev-node-legal-callout {
  background: rgba(9, 139, 177, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1.15rem 1.35rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  color: var(--text-main);
  font-weight: 500;
}

/* Cookie Banner & Modal */
.aev-node-storage-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  padding: 1.35rem 1.65rem;
  z-index: 950;
  display: none;
}

.aev-node-storage-bar.aev-node-is-visible {
  display: block;
}

.aev-node-storage-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.aev-node-storage-copy {
  flex: 1 1 520px;
}

.aev-node-storage-heading {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.aev-node-storage-lettering {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.aev-node-storage-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.aev-node-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.aev-node-lightbox-backdrop.aev-node-is-open {
  display: flex;
}

.aev-node-lightbox-cell {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 1.85rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.aev-node-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.aev-node-lightbox-bannerhead {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.aev-node-lightbox-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.aev-node-lightbox-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.aev-node-storage-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 9px;
  margin-bottom: 0.85rem;
}

.aev-node-storage-option-labelhead {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
}

.aev-node-storage-option-narrative {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.aev-node-crest-locked {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
}

.aev-node-lightbox-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Scroll to Top */
.aev-node-scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(9, 139, 177, 0.35);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 890;
  transition: transform 0.2s ease, background 0.2s ease;
}

.aev-node-scroll-top.aev-node-is-shown {
  display: inline-flex;
}

.aev-node-scroll-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.aev-node-scroll-top svg {
  width: 20px;
  height: 20px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .aev-node-arch-mesh,
  .aev-node-arcade-mesh,
  .aev-node-overview-mesh {
    grid-template-columns: repeat(2, 1fr);
  }

  .aev-node-spotlight-panel,
  .aev-node-legend-banner,
  .aev-node-liaison-mesh {
    grid-template-columns: 1fr;
  }

  .aev-node-colophon-mesh {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .aev-node-wayfinder-bar,
  .aev-node-crestbar-launch {
    display: none;
  }

  .aev-node-burger-trigger {
    display: inline-flex;
  }

  .aev-node-telemetry-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .aev-node-telemetry-sep {
    display: none;
  }

  .aev-node-arch-mesh,
  .aev-node-arcade-mesh,
  .aev-node-overview-mesh,
  .aev-node-colophon-mesh {
    grid-template-columns: 1fr;
  }

  .aev-node-legal-cartridge {
    padding: 1.75rem 1.35rem;
  }
}
