@import url("./tokens.css");

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

html {
  background: var(--ae-bg);
  color: var(--ae-fg);
  font-family: var(--ae-font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

body {
  --ae-atmosphere-width: max(1100px, 100vw);
  margin: 0;
  min-height: 100vh;
  background-color: var(--ae-ink, var(--ae-bg));
  background-image:
    var(--ae-atmosphere-art, url("../art/site-atmosphere.svg")),
    linear-gradient(to right, rgba(237, 237, 237, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 237, 237, 0.035) 1px, transparent 1px);
  background-size: var(--ae-atmosphere-width) auto, 80px 80px, 80px 80px;
  background-position: center top, left top, left top;
  background-repeat: repeat-y, repeat, repeat;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

code, pre, .mono {
  font-family: var(--ae-font-mono);
}

/* Layout */
.ae-container {
  max-width: var(--ae-container);
  margin: 0 auto;
  padding: 0 24px;
}

.ae-main {
  padding: 28px 0 64px;
}

.ae-grid {
  display: grid;
  gap: 16px;
}
.ae-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ae-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ae-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ae-layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 980px) {
  .ae-grid-3, .ae-grid-4, .ae-layout-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  body {
    --ae-atmosphere-width: 900px;
    background-position: 20% top, left top, left top;
  }
  .ae-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .ae-container {
    padding: 0 14px;
  }
}

/* Brand wordmark */
.ae-wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ae-fg);
  display: inline-flex;
  align-items: baseline;
  user-select: none;
}
.ae-wordmark .dot {
  color: var(--ae-accent);
}

/* Header */
.ae-header-shell {
  position: sticky;
  top: 0;
  z-index: 50;
}
.ae-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--ae-header-h);
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ae-line);
}
.ae-header-shell .ae-header { position: static; }
.ae-header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
}
.ae-header-inner > .ae-wordmark { justify-self: start; }
.ae-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
}
.ae-nav a {
  padding: 8px 10px;
  font-family: var(--ae-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ae-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.ae-nav a .idx {
  color: var(--ae-muted);
  opacity: 0.65;
  margin-right: 6px;
}
.ae-nav a:hover {
  color: var(--ae-fg);
}
.ae-nav a[aria-current="page"] {
  color: var(--ae-fg);
  border-bottom-color: var(--ae-accent);
  background: linear-gradient(to top, rgba(139, 92, 246, 0.12), transparent);
}
.ae-nav a[aria-current="page"] .idx {
  color: var(--ae-accent);
  opacity: 1;
}

.ae-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  min-width: 0;
  max-width: 100%;
}
.ae-header-actions > a:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Cyber-industrial primitives */
.ae-hatch {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--ae-muted) 0,
    var(--ae-muted) 3px,
    transparent 3px,
    transparent 7px
  );
  opacity: 0.45;
}
.ae-hatch-accent {
  background: repeating-linear-gradient(
    -45deg,
    var(--ae-accent) 0,
    var(--ae-accent) 3px,
    transparent 3px,
    transparent 7px
  );
  opacity: 0.85;
}

.ae-slashbar {
  font-family: var(--ae-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.ae-slashbar .fill { color: var(--ae-accent); }
.ae-slashbar .rest { color: var(--ae-line-strong); }

.ae-barcode {
  display: inline-block;
  height: 22px;
  width: 96px;
  background: repeating-linear-gradient(
    90deg,
    var(--ae-fg) 0 2px,
    transparent 2px 4px,
    var(--ae-fg) 4px 5px,
    transparent 5px 8px,
    var(--ae-fg) 8px 11px,
    transparent 11px 13px,
    var(--ae-fg) 13px 14px,
    transparent 14px 17px
  );
  opacity: 0.55;
}

.ae-kicker {
  font-family: var(--ae-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ae-muted);
}
.ae-kicker .accent {
  color: var(--ae-accent);
}

.ae-bracket {
  font-family: var(--ae-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ae-accent);
  white-space: nowrap;
}
.ae-bracket.muted { color: var(--ae-muted); }
.ae-bracket.warn { color: var(--ae-warn); }
.ae-bracket.fail { color: var(--ae-fail); }

/* 1px framed cards with corner index & crosshair marks */
.ae-card {
  position: relative;
  min-width: 0;
  background: rgba(15, 15, 18, 0.9);
  border: 1px solid var(--ae-line);
  padding: 18px 20px;
}
.ae-card::before,
.ae-card::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  pointer-events: none;
  border-color: var(--ae-muted);
  border-style: solid;
}
.ae-card::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}
.ae-card::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}
.ae-card-accent {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: inset 0 0 32px rgba(76, 29, 149, 0.16);
}
.ae-card-accent::before,
.ae-card-accent::after {
  border-color: var(--ae-accent);
}

.ae-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ae-line);
}
.ae-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ae-card-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--ae-accent);
}
.ae-card-idx {
  font-family: var(--ae-font-mono);
  font-size: 11px;
  color: var(--ae-muted);
}

/* Crosshair divider */
.ae-rule {
  position: relative;
  height: 1px;
  background: var(--ae-line);
  margin: 22px 0;
}
.ae-rule::before,
.ae-rule::after {
  content: "+";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ae-font-mono);
  font-size: 12px;
  color: var(--ae-muted);
  background: var(--ae-bg);
  padding: 0 4px;
}
.ae-rule::before { left: 0; }
.ae-rule::after { right: 0; }

/* Stats strip */
.ae-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ae-line);
  background: var(--ae-surface);
}
.ae-strip-cell {
  padding: 14px 18px;
  border-right: 1px solid var(--ae-line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ae-strip-cell:last-child {
  border-right: none;
}
.ae-strip-label {
  font-family: var(--ae-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ae-muted);
}
.ae-strip-val {
  font-family: var(--ae-font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ae-fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 1200px) {
  .ae-header { height: auto; }
  .ae-header-inner { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; justify-content: space-between; }
  .ae-nav { order: 3; width: 100%; scrollbar-width: none; }
  .ae-nav::-webkit-scrollbar { display: none; }
  .ae-header-actions { flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .ae-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ae-strip-cell:nth-child(2) { border-right: none; }
  .ae-strip-cell:nth-child(1),
  .ae-strip-cell:nth-child(2) { border-bottom: 1px solid var(--ae-line); }
}

/* Hero (only place with THE MODULAR GAMING CMS slogan) */
.ae-hero {
  position: relative;
  border: 1px solid var(--ae-line);
  background:
    radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(21, 21, 26, 0.92), rgba(10, 10, 11, 0.96));
  padding: 34px 32px 28px;
  overflow: hidden;
}
.ae-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.ae-hero-wordmark {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 6px 0 10px;
  text-transform: lowercase;
}
.ae-hero-wordmark .dot {
  color: var(--ae-accent);
}
.ae-hero-slogan {
  font-family: var(--ae-font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ae-fg);
  margin: 0 0 14px;
}
.ae-hero-sub {
  max-width: 560px;
  color: var(--ae-muted);
  margin: 0 0 22px;
}
.ae-hero-meta {
  text-align: right;
  font-family: var(--ae-font-mono);
  font-size: 11px;
  color: var(--ae-muted);
  line-height: 1.55;
}

/* Buttons */
.ae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ae-line-strong);
  background: var(--ae-surface-2);
  color: var(--ae-fg);
  font-family: var(--ae-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.ae-btn:hover:not(:disabled) {
  border-color: var(--ae-accent);
  background: rgba(139, 92, 246, 0.12);
}
.ae-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ae-btn-primary {
  background: var(--ae-accent);
  border-color: var(--ae-accent);
  color: #0A0A0B;
  font-weight: 700;
}
.ae-btn-primary:hover:not(:disabled) {
  background: var(--ae-accent-hover);
  border-color: var(--ae-accent-hover);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.45);
}
.ae-btn-danger {
  border-color: rgba(239, 68, 68, 0.5);
  color: var(--ae-fail);
}
.ae-btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.14);
  border-color: var(--ae-fail);
}
.ae-btn-sm {
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

/* Forms */
.ae-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.ae-label {
  font-family: var(--ae-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ae-muted);
  display: flex;
  justify-content: space-between;
}
.ae-input, .ae-select, .ae-textarea {
  width: 100%;
  background: var(--ae-bg);
  border: 1px solid var(--ae-line-strong);
  padding: 8px 11px;
  color: var(--ae-fg);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ae-input:focus, .ae-select:focus, .ae-textarea:focus {
  border-color: var(--ae-accent);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35);
}
.ae-textarea {
  min-height: 92px;
  resize: vertical;
}

/* Badges & tags */
.ae-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border: 1px solid var(--ae-line-strong);
  background: var(--ae-surface-2);
  font-family: var(--ae-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ae-muted);
}
.ae-tag.active, .ae-tag-accent {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.16);
  color: var(--ae-fg);
}
.ae-dot {
  width: 6px;
  height: 6px;
  background: var(--ae-accent);
  display: inline-block;
  box-shadow: 0 0 8px var(--ae-accent);
}
.ae-dot.down {
  background: var(--ae-fail);
  box-shadow: 0 0 8px var(--ae-fail);
}

/* Progress bar */
.ae-meter {
  height: 6px;
  background: var(--ae-line);
  position: relative;
  overflow: hidden;
}
.ae-meter > span {
  display: block;
  height: 100%;
  background: var(--ae-accent);
}

/* Tables */
.ae-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ae-table th {
  text-align: left;
  font-family: var(--ae-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ae-muted);
  font-weight: 500;
  padding: 9px 10px;
  border-bottom: 1px solid var(--ae-line-strong);
}
.ae-table td {
  padding: 10px;
  border-bottom: 1px solid var(--ae-line);
  vertical-align: middle;
}
.ae-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

/* Module partial-degradation banner (RFC 9457 503 with "module") */
.ae-degraded {
  border: 1px dashed rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.06);
  padding: 14px 16px;
  font-family: var(--ae-font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ae-degraded strong {
  color: var(--ae-warn);
  text-transform: uppercase;
}

/* Comments tree & reactions */
.ae-comment {
  border-left: 1px solid var(--ae-line-strong);
  padding-left: 14px;
  margin-top: 14px;
}
.ae-comment-meta {
  font-family: var(--ae-font-mono);
  font-size: 11px;
  color: var(--ae-muted);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.ae-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.ae-react-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  font-family: var(--ae-font-mono);
  font-size: 11px;
  color: var(--ae-muted);
  cursor: pointer;
}
.ae-react-btn[aria-pressed="true"] {
  border-color: var(--ae-accent);
  color: var(--ae-fg);
  background: rgba(139, 92, 246, 0.16);
}

/* Footer */
.ae-footer {
  border-top: 1px solid var(--ae-line);
  padding: 22px 0;
  margin-top: 48px;
  font-family: var(--ae-font-mono);
  font-size: 11px;
  color: var(--ae-muted);
}
.ae-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Utilities */
.ae-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ae-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ae-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ae-muted { color: var(--ae-muted); }
.ae-accent { color: var(--ae-accent); }
.ae-mt-1 { margin-top: 8px; }
.ae-mt-2 { margin-top: 16px; }
.ae-mt-3 { margin-top: 24px; }
.ae-mb-2 { margin-bottom: 16px; }
.ae-hidden { display: none !important; }

/* -------------------------------------------------------------------------
   AETHERIS SIGNAL LANGUAGE
   Editorial cyber-brutalism: huge display type, a deliberately broken grid,
   signal bars and infrastructure marks. These rules are intentionally more
   forceful than the shared cards so public entry points never read as a
   conventional dashboard.
   ------------------------------------------------------------------------- */
:root {
  --ae-ink: #050506;
  --ae-paper: #F4F2EE;
  --ae-electric: #A736FF;
  --ae-display: "Arial Black", "Noto Sans", "DejaVu Sans", sans-serif;
}

.ae-display {
  font-family: var(--ae-display);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.78;
  text-transform: uppercase;
}

.ae-signal-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: max(570px, var(--ae-hero-viewport-height, calc(100svh - var(--ae-header-h) - 56px)));
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 5vw, 74px) clamp(16px, 4vw, 58px) 100px;
  border: 1px solid rgba(237, 237, 237, 0.42);
  background:
    linear-gradient(113deg, rgba(5, 5, 6, 0.24) 0 45%, rgba(5, 5, 6, 0.83) 45% 100%),
    #050506;
}

.ae-signal-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 25%;
  height: 90%;
  right: 9%;
  top: 4%;
  background: repeating-linear-gradient(145deg, #c5c2c8 0 25px, transparent 25px 38px);
  transform: skewX(-13deg);
  opacity: 0.22;
}

.ae-signal-hero .signal-image {
  position: absolute;
  top: 12%;
  right: -2%;
  width: min(70%, 960px);
  height: 78%;
  object-fit: contain;
  object-position: right center;
  z-index: -1;
  opacity: var(--ae-hero-art-opacity, .98);
  pointer-events: none;
}

.ae-signal-eyebrow {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  color: var(--ae-paper);
  font-family: var(--ae-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ae-signal-eyebrow::before {
  content: "";
  width: 5px;
  height: 31px;
  background: var(--ae-signal-accent, var(--ae-electric));
  box-shadow: 8px 0 0 rgba(167, 54, 255, 0.26);
}

.ae-hero-index {
  position: absolute;
  right: clamp(16px, 4vw, 58px);
  top: clamp(29px, 4vw, 54px);
  z-index: 3;
  padding: 8px 10px;
  background: var(--ae-ink);
  border-left: 1px solid var(--ae-signal-accent, var(--ae-electric));
  font-family: var(--ae-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ae-paper);
  text-align: right;
  line-height: 1.7;
}

.ae-hero-index .ae-barcode {
  margin: 6px 0 1px;
  width: 176px;
  height: auto;
  aspect-ratio: 266 / 94;
  overflow: hidden;
  background: none;
}
.ae-hero-index .ae-barcode img {
  display: block;
  width: 100%;
  aspect-ratio: 266 / 122;
  filter: invert(1);
  mix-blend-mode: screen;
}

.ae-signal-title {
  position: relative;
  z-index: 2;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: clamp(46px, 6vw, 90px) 0 0;
  padding: 0 0.13em 0.09em 0;
  background: rgba(5, 5, 6, 0.97);
  color: var(--ae-paper);
  font-family: var(--ae-display);
  font-size: clamp(62px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.68;
  text-transform: uppercase;
  white-space: nowrap;
}

.ae-signal-title .dot {
  color: var(--ae-signal-accent, var(--ae-electric));
}

.ae-signal-deck {
  position: relative;
  z-index: 3;
  max-width: 440px;
  margin: 24px 0 0 1.2%;
  padding-left: 19px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-left: 3px solid var(--ae-signal-accent, var(--ae-electric));
  background: rgba(5, 5, 6, 0.9);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.38;
  color: var(--ae-paper);
}

.ae-signal-actions {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 24px 0 0 1.2%;
}

.ae-signal-actions .ae-btn {
  height: 46px;
  padding: 0 22px;
  border-color: var(--ae-paper);
  background: transparent;
  color: var(--ae-paper);
  font-weight: 800;
}

.ae-signal-actions .ae-btn-primary {
  border-color: var(--ae-signal-accent, var(--ae-electric));
  background: var(--ae-signal-accent, var(--ae-electric));
  color: var(--ae-ink);
}

.ae-signal-coords {
  position: absolute;
  left: 0;
  bottom: 88px;
  z-index: 2;
  padding: 10px 7px;
  border: 1px solid rgba(237, 237, 237, 0.5);
  border-right: 0;
  background: rgba(5, 5, 6, 0.74);
  color: var(--ae-paper);
  font-family: var(--ae-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ae-signal-foot {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  border-top: 1px solid rgba(237, 237, 237, 0.58);
  background: rgba(5, 5, 6, 0.92);
}

.ae-signal-foot-item {
  min-height: 72px;
  padding: 15px 18px;
  border-right: 1px solid rgba(237, 237, 237, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ae-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ae-signal-foot-item:last-child { border-right: 0; }
.ae-signal-foot-item .mega {
  color: var(--ae-paper);
  font-family: var(--ae-display);
  font-size: 26px;
  letter-spacing: -0.07em;
}
.ae-signal-foot-item .mark {
  color: var(--ae-signal-accent, var(--ae-electric));
  font-family: var(--ae-display);
  font-size: 34px;
  line-height: 0;
}

.ae-manifest-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 30px;
  margin-top: 48px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--ae-fg);
}
.ae-manifest-intro-label {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: var(--ae-electric);
  font: 10px/1.4 var(--ae-font-mono);
  letter-spacing: .08em;
}
.ae-manifest-intro h2 {
  max-width: 840px;
  margin: 12px 0 0;
  font: 900 clamp(30px, 4.5vw, 62px)/.92 var(--ae-display);
  letter-spacing: -.07em;
}
.ae-manifest-intro h2 span { color: var(--ae-electric); }
.ae-manifest-intro-stamp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 8px 18px;
  border-left: 1px solid var(--ae-line-strong);
  color: var(--ae-paper);
  font: 10px/1.4 var(--ae-font-mono);
  letter-spacing: .08em;
}
.ae-manifest-intro-stamp span:first-child {
  color: transparent;
  -webkit-text-stroke: 1px var(--ae-paper);
  font: 900 50px/.9 var(--ae-display);
  letter-spacing: -.08em;
}

.ae-manifest-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.05fr;
  gap: 0;
  margin-top: 0;
  border-left: 1px solid var(--ae-line-strong);
  border-top: 1px solid var(--ae-line-strong);
}

.ae-manifest-panel {
  position: relative;
  min-height: 290px;
  padding: 28px 28px 25px;
  border-right: 1px solid var(--ae-line-strong);
  border-bottom: 1px solid var(--ae-line-strong);
  overflow: hidden;
  background: var(--ae-ink);
}
.ae-manifest-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 7px;
  background: repeating-linear-gradient(130deg, var(--ae-paper) 0 6px, transparent 6px 10px);
  opacity: .55;
}

.ae-manifest-panel:nth-child(2) {
  background: var(--ae-signal-accent, var(--ae-electric));
  color: var(--ae-ink);
  transform: translateY(-15px);
  z-index: 2;
  box-shadow: -10px 10px 0 var(--ae-ink);
}

.ae-manifest-panel:nth-child(2) .ae-muted,
.ae-manifest-panel:nth-child(2) .ae-kicker { color: rgba(5, 5, 6, 0.72); }
.ae-manifest-panel:nth-child(2)::before { background: repeating-linear-gradient(130deg, var(--ae-ink) 0 6px, transparent 6px 10px); }
.ae-manifest-panel:nth-child(2)::after {
  content: "";
  position: absolute;
  right: -45px;
  top: 40px;
  width: 155px;
  aspect-ratio: 1;
  border: 1px solid rgba(5, 5, 6, .35);
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgba(5, 5, 6, .09), 0 0 0 32px rgba(5, 5, 6, .08);
  pointer-events: none;
}
.ae-manifest-panel:nth-child(3) {
  background: var(--ae-paper);
  color: var(--ae-ink);
  border-color: #77747a;
}
.ae-manifest-panel:nth-child(3)::before { background: repeating-linear-gradient(130deg, var(--ae-ink) 0 6px, transparent 6px 10px); }
.ae-manifest-panel:nth-child(3) .ae-muted,
.ae-manifest-panel:nth-child(3) .ae-kicker { color: #56535a; }
.ae-manifest-panel:nth-child(3) .ae-manifest-number { color: rgba(5, 5, 6, .08); }

.ae-manifest-number {
  position: absolute;
  bottom: -28px;
  right: 12px;
  font-family: var(--ae-display);
  font-size: 126px;
  line-height: 1;
  letter-spacing: -0.11em;
  color: rgba(237, 237, 237, 0.08);
  pointer-events: none;
}

.ae-manifest-panel:nth-child(2) .ae-manifest-number { color: rgba(5, 5, 6, 0.16); }

.ae-manifest-panel h2 {
  position: relative;
  z-index: 1;
  margin: 36px 0 12px;
  max-width: 290px;
  font-family: var(--ae-display);
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.ae-manifest-panel p {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.ae-manifest-panel .ae-muted { color: #aaa8ad; }

.ae-manifest-panel .arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-family: var(--ae-display);
  font-size: 38px;
  line-height: 1;
}

/* Give the artwork its own space: the wordmark remains readable at any size. */
.ae-container { max-width: 1440px; }

/* The journal uses editorial scale and offset paper, not another card grid. */
.ae-journal-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin: 88px 0 24px;
  padding: 20px 0 18px;
  border-top: 1px solid var(--ae-fg);
  border-bottom: 1px solid var(--ae-fg);
}
.ae-journal-heading h2 {
  margin: 20px 0 0;
  color: var(--ae-paper);
  font-family: var(--ae-display);
  font-size: clamp(50px, 7.4vw, 105px);
  letter-spacing: -0.09em;
  line-height: 0.78;
}
.ae-journal-heading h2 span { color: var(--ae-electric); }
.ae-journal-heading-art {
  position: relative;
  width: min(45%, 520px);
  height: 185px;
  flex: 0 0 auto;
}
.ae-journal-heading-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}
.ae-journal-heading-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 5px 8px;
  background: var(--ae-ink);
  color: var(--ae-fg);
  font: 11px/1.7 var(--ae-font-mono);
  letter-spacing: 0.07em;
  text-align: right;
}
.ae-journal-heading-meta span { color: var(--ae-electric); }
.ae-news-list-heading h1 {
  font-family: var(--ae-display);
  font-size: clamp(40px, 5vw, 70px) !important;
  letter-spacing: -0.075em;
  line-height: 0.95;
  margin: 14px 0 0 !important;
}
.ae-journal { grid-template-columns: minmax(0, 1fr) 335px; gap: 24px; }
.ae-journal-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ae-journal-feed > .ae-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--ae-line-strong);
  background: #0A0A0B;
}
.ae-journal-feed > .ae-card:first-child {
  grid-column: 1 / -1;
  min-height: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(237, 237, 237, 0.14) 1px, transparent 1.5px) right top / 7px 7px,
    linear-gradient(115deg, #101013 0 66%, #29282C 66% 100%);
}
.ae-journal-feed > .ae-card:first-child::before {
  content: "01 / CONTENT";
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border: 0;
  background: var(--ae-electric);
  color: var(--ae-ink);
  font: 700 11px var(--ae-font-mono);
  transform: rotate(2deg) translate(4px, 6px);
}
.ae-journal-feed .ae-card-head {
  position: relative;
  flex-direction: column-reverse;
  align-items: start;
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.ae-journal-feed .ae-card-title {
  max-width: 580px;
  font-family: var(--ae-display);
  font-size: clamp(22px, 2.3vw, 32px);
  letter-spacing: -0.055em;
  line-height: 1;
}
.ae-journal-feed .ae-card-title::before { display: none; }
.ae-journal-feed > .ae-card:first-child .ae-card-title {
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 65px);
  line-height: 0.93;
}
.ae-journal-feed .ae-card-idx { color: var(--ae-electric); margin-bottom: 16px; }
.ae-journal-feed > .ae-card > p { position: relative; max-width: 610px; color: #C0BEC4; }

/* A compact utility module, separate from the editorial news cards. */
.ae-server-status {
  align-self: start;
  padding: 20px;
  border-color: var(--ae-line-strong);
  border-top: 3px solid var(--ae-electric);
  background: #101014;
}
.ae-server-status::before, .ae-server-status::after { content: none; }
.ae-status-label {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: #aaa8ad;
  font: 10px/1.4 var(--ae-font-mono);
  letter-spacing: .08em;
}
.ae-server-status .ae-card-head {
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.ae-server-status .ae-card-title {
  font: 900 22px/1 var(--ae-display);
  letter-spacing: -.04em;
}
.ae-server-status .ae-card-title::before { display: none; }

@media (min-width: 940px) and (prefers-reduced-motion: no-preference) {
  .ae-orbit {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
  }
  .ae-orbit::before, .ae-orbit::after {
    content: "";
    position: absolute;
    aspect-ratio: 1;
    background: url("../art/atmosphere-orbit.svg") center / contain no-repeat;
    will-change: transform;
    animation: ae-orbit linear infinite;
  }
  .ae-orbit::before {
    width: calc(var(--ae-atmosphere-width) * .2);
    left: calc(50% + var(--ae-atmosphere-width) * .326667);
    top: calc(var(--ae-atmosphere-width) * .282222);
    margin: calc(var(--ae-atmosphere-width) * -.1) 0 0;
    animation-duration: 24s;
  }
  .ae-orbit::after {
    width: calc(var(--ae-atmosphere-width) * .388889);
    left: calc(50% - var(--ae-atmosphere-width) * .519444);
    top: calc(var(--ae-atmosphere-width) * .269444);
    margin: calc(var(--ae-atmosphere-width) * -.194444) 0 0;
    opacity: .6;
    animation-duration: 44s;
    animation-direction: reverse;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ae-signal-title { animation: ae-rise .75s cubic-bezier(.2, .7, .2, 1) both; }
  .ae-signal-deck, .ae-signal-actions { animation: ae-rise .7s .16s cubic-bezier(.2, .7, .2, 1) both; }
  .ae-signal-hero .signal-image { animation: ae-art-enter .9s .08s ease-out both; }
  .ae-dot:not(.down) { animation: ae-status-pulse 2.8s ease-in-out infinite; }
  .ae-status-label {
    overflow: hidden;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ae-line-strong);
  }
  .ae-status-label::after {
    content: "";
    position: absolute;
    left: -45%;
    bottom: 0;
    width: 45%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ae-electric), transparent);
    animation: ae-scan 8s linear infinite;
  }
  [data-reveal].is-revealed, .ae-main .is-revealed { animation: ae-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ae-journal-feed > [data-reveal]:nth-child(3) { animation-delay: .1s; }
  .ae-product:nth-child(even).is-revealed { animation-delay: .08s; }
  .ae-main .ae-card, .ae-product { transition: border-color .24s ease; }
  .ae-main .ae-card:focus-within, .ae-product:focus-within { border-color: var(--ae-electric); }
  .ae-main .ae-btn { transition: border-color .2s, background .2s, box-shadow .2s, transform .2s ease; }
  .ae-main .ae-btn:is(:hover, :focus-visible):not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--ae-electric);
  }
  .ae-product-symbol { transition: scale .32s ease; }
  .ae-product:focus-within .ae-product-symbol { scale: 1.12; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ae-main .ae-card:hover, .ae-product:hover { border-color: var(--ae-electric); }
  .ae-product-art img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
  .ae-product:hover .ae-product-art img { transform: scale(1.04); }
  .ae-product:hover .ae-product-symbol { scale: 1.12; }
}
@keyframes ae-rise {
  from { opacity: .25; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ae-art-enter {
  from { opacity: .2; transform: translateX(24px); }
  to { opacity: var(--ae-hero-art-opacity, .98); transform: translateX(0); }
}
@keyframes ae-status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes ae-orbit {
  to { transform: rotate(360deg); }
}
@keyframes ae-scan {
  0% { transform: translateX(0); }
  70%, 100% { transform: translateX(325%); }
}

/* Store: editorial product surfaces with a practical checkout rail. */
.ae-store-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0 28px;
  border-bottom: 1px solid var(--ae-line-strong);
}
.ae-store-header h1 {
  margin: 14px 0 6px;
  font: 900 clamp(46px, 7.5vw, 104px)/.86 var(--ae-display);
  letter-spacing: -.075em;
}
.ae-store-header h1 span, .ae-store-panel h2 span { color: var(--ae-electric); }
.ae-store-header p { margin: 14px 0 0; color: #bcbac2; }
.ae-store-identity {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-left: auto;
  color: #bdb9c1;
  font: 10px/1.6 var(--ae-font-mono);
  letter-spacing: .1em;
}
.ae-store-identity-number {
  color: transparent;
  -webkit-text-stroke: 1px #77717d;
  font: 900 72px/.78 var(--ae-display);
  letter-spacing: -.08em;
}
.ae-store-balance {
  min-width: 235px;
  padding: 12px 0 0 18px;
  border-left: 3px solid var(--ae-electric);
  display: grid;
  gap: 3px;
}
.ae-store-balance > span, .ae-store-balance a, .ae-store-section-label,
.ae-product-meta, .ae-product-art-label, .ae-product-art-index,
.ae-store-panel-heading, .ae-store-total > span, .ae-store-sidebar-mark {
  font: 10px/1.4 var(--ae-font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ae-store-balance > span { color: var(--ae-muted); }
.ae-store-balance strong { font: 900 29px/1.1 var(--ae-display); letter-spacing: -.04em; }
.ae-store-balance a { color: var(--ae-electric); margin-top: 5px; }
.ae-store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 24px;
}
.ae-store-section-label, .ae-store-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #a7a4ae;
}
.ae-store-section-label { padding: 16px 0; }
.ae-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ae-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #151419;
  border: 1px solid #38343e;
}
.ae-product-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); border-color: #69646d; }
.ae-product:last-child:nth-child(even):not(.ae-product-featured) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ae-product-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 170px;
  background: #2b1a3f;
  background-image: repeating-linear-gradient(135deg, transparent 0 13px, rgba(255,255,255,.07) 13px 14px);
}
.ae-product-featured .ae-product-art {
  min-height: 350px;
  color: #eee;
  background: #111014 url("../art/store-edition.svg") center / cover no-repeat;
}
.ae-product-art::before {
  content: "";
  position: absolute;
  width: 145px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .45;
}
.ae-product:not(.ae-product-featured) .ae-product-art::after {
  content: "AE / GOODS  ↗";
  position: absolute;
  right: -8px;
  top: 25px;
  padding: 5px 12px;
  transform: rotate(6deg);
  background: var(--ae-electric);
  color: #0b090d;
  font: 700 10px var(--ae-font-mono);
  letter-spacing: .08em;
}
.ae-product-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ae-product-art.has-image::before, .ae-product-art.has-image::after, .ae-product-art.has-image .ae-product-symbol { display: none; }
.ae-product-featured .ae-product-art::before, .ae-product-featured .ae-product-symbol { display: none; }
.ae-product-featured .ae-product-art:not(.has-image) .ae-product-art-label { display: none; }
.ae-product-art.has-image .ae-product-art-label, .ae-product-art.has-image .ae-product-art-index { color: white; background: #050506; padding: 4px 6px; }
.ae-product-symbol { font: 900 116px/1 var(--ae-display); }
.ae-product:nth-child(3n + 2) .ae-product-art {
  background-color: #e8e6e1;
  background-image: radial-gradient(#77747a 1px, transparent 1.5px);
  background-size: 6px 6px;
  color: #111014;
}
.ae-product:nth-child(3n + 2) .ae-product-symbol { transform: rotate(15deg); }
.ae-product:nth-child(3n) .ae-product-art {
  background-color: #17151a;
  background-image: repeating-linear-gradient(135deg, transparent 0 20px, rgba(237,237,237,.12) 20px 22px);
  color: #eceae5;
}
.ae-product:nth-child(3n) .ae-product-symbol { color: var(--ae-electric); transform: rotate(-15deg); }
.ae-product-art-label, .ae-product-art-index { position: absolute; z-index: 1; }
.ae-product-art-label { top: 14px; left: 14px; }
.ae-product-art-index { bottom: 14px; right: 14px; }
.ae-product-body { display: flex; flex-direction: column; padding: 24px; min-width: 0; }
.ae-product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--ae-electric); }
.ae-product h2 {
  margin: 22px 0 10px;
  font: 900 clamp(20px, 2.3vw, 32px)/1.02 var(--ae-display);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.ae-product-featured h2 { margin-top: 36px; font-size: clamp(25px, 3.1vw, 44px); }
.ae-product p { margin: 0 0 24px; color: #bcbac2; max-width: 44ch; }
.ae-product-purchase { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; border-top: 1px solid #4a4650; }
.ae-product-price { display: flex; align-items: baseline; gap: 6px; }
.ae-product-price strong { font: 900 38px/.9 var(--ae-display); letter-spacing: -.06em; }
.ae-product-price span { font: 11px var(--ae-font-mono); color: #bcbac2; }
.ae-store-sidebar { margin-top: 46px; display: grid; gap: 14px; }
@media (min-width: 981px) {
  .ae-store-sidebar.is-sticky { position: sticky; top: var(--ae-store-header-offset, calc(var(--ae-header-h) + 16px)); }
}
.ae-store-panel { padding: 20px; border: 1px solid #38343e; background: #111014; scroll-margin-top: var(--ae-store-header-offset, 90px); }
.ae-store-cart { border-top: 4px solid var(--ae-electric); }
.ae-store-panel h2 { margin: 22px 0; font: 900 30px/.95 var(--ae-display); letter-spacing: -.05em; }
.ae-store-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid #4a4650; margin-top: 16px; padding: 16px 0; }
.ae-store-total strong { font: 900 24px/1 var(--ae-display); letter-spacing: -.04em; }
.ae-store-action { width: 100%; }
.ae-store-topup { background: #1c1920; }
.ae-store-sidebar-mark { display: flex; justify-content: space-between; color: var(--ae-electric); }

/* Compact workspace headers leave the forms and tables in focus. */
.ae-workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ae-line-strong);
}
.ae-workspace-heading h1, .ae-auth-panel h1 {
  margin: 12px 0 0;
  font: 900 clamp(32px, 4.2vw, 58px)/1 var(--ae-display);
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.ae-workspace-heading h1 span, .ae-auth-panel h1 span { color: var(--ae-electric); }
.ae-workspace-heading p, .ae-auth-intro { margin: 9px 0 0; color: #bcbac2; }
.ae-workspace-mark { color: var(--ae-electric); font: 10px/1.8 var(--ae-font-mono); text-align: right; }
.ae-table-scroll { overflow-x: auto; }
.ae-table-scroll .ae-table { min-width: 540px; }
.ae-auth-panel {
  max-width: 520px;
  margin: 24px auto;
  padding: 28px;
  border: 1px solid #48414f;
  border-top: 5px solid var(--ae-electric);
  background: #111014;
}
.ae-auth-intro { margin-bottom: 24px; }

@media (max-width: 980px) {
  .ae-store-layout { grid-template-columns: 1fr; }
  .ae-store-identity { display: none; }
  .ae-store-sidebar { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-store-sidebar-mark { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ae-store-header { align-items: start; flex-direction: column; }
  .ae-store-balance { width: 100%; }
  .ae-products, .ae-store-sidebar { grid-template-columns: 1fr; }
  .ae-product-featured { grid-column: auto; grid-template-columns: 1fr; }
  .ae-product:last-child:nth-child(even):not(.ae-product-featured) { grid-column: auto; grid-template-columns: 1fr; }
  .ae-product-featured .ae-product-art { min-height: 200px; }
  .ae-store-sidebar-mark { grid-column: auto; }
  .ae-workspace-mark { display: none; }
  .ae-auth-panel { padding: 20px; }
}

@media (max-width: 860px) {
  .ae-signal-hero {
    padding-bottom: 140px;
  }
  .ae-signal-hero .signal-image { width: 100%; right: -18%; bottom: 7%; opacity: 0.53; }
  .ae-signal-title { font-size: clamp(60px, 16.5vw, 122px); margin-top: 65px; }
  .ae-hero-index { display: none; }
  .ae-signal-foot { grid-template-columns: repeat(2, 1fr); }
  .ae-signal-foot-item { min-height: 58px; padding: 10px 12px; font-size: 9px; }
  .ae-signal-foot-item:nth-child(2) { border-right: 0; }
  .ae-signal-foot-item:nth-child(-n+2) { border-bottom: 1px solid rgba(237, 237, 237, 0.35); }
  .ae-signal-foot-item .mega { font-size: 20px; }
  .ae-manifest-grid { grid-template-columns: 1fr; margin-top: 16px; }
  .ae-manifest-panel:nth-child(2) { transform: translateX(14px); }
  .ae-signal-hero .signal-image { top: 34%; right: -21%; width: 100%; height: 46%; --ae-hero-art-opacity: .5; }
  .ae-signal-title { font-size: clamp(40px, 10.4vw, 84px); margin-top: 80px; }
  .ae-journal-heading { margin-top: 60px; }
  .ae-manifest-intro { margin-top: 38px; }
  .ae-manifest-intro-stamp { display: none; }
  .ae-journal-heading-art { width: 43%; height: 110px; }
  .ae-journal-heading-meta { display: none; }
  .ae-journal { grid-template-columns: 1fr; }
}

@media (max-width: 550px) {
  .ae-journal-feed { grid-template-columns: 1fr; }
  .ae-journal-feed > .ae-card:first-child { grid-column: auto; }
  .ae-journal-heading { gap: 8px; }
  .ae-journal-heading > div:first-child { min-width: 0; }
  .ae-journal-heading h2 { font-size: clamp(38px, 10vw, 50px); }
  .ae-journal-heading-art { width: 32%; height: 80px; }
  .ae-signal-actions { flex-wrap: wrap; }
  .ae-signal-deck { max-width: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
