:root {
  --bg: #07090d;
  --bg-deep: #0c1016;
  --panel: rgba(12, 16, 21, 0.94);
  --panel-strong: rgba(16, 20, 26, 0.98);
  --surface: rgba(255, 255, 255, 0.026);
  --line: rgba(187, 170, 144, 0.2);
  --line-soft: rgba(118, 129, 142, 0.18);
  --line-faint: rgba(255, 255, 255, 0.05);
  --text: #ebe7df;
  --muted: rgba(235, 231, 223, 0.72);
  --subtle: rgba(154, 161, 170, 0.64);
  --accent: #b7a285;
  --accent-strong: #d4c8b6;
  --steel: #7d8a99;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  --cut: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color-scheme: dark;
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(183, 162, 133, 0.1), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(125, 138, 153, 0.09), transparent 26%),
    linear-gradient(180deg, #05070a 0%, #0c1016 42%, #07090d 100%);
}

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

button {
  font: inherit;
}

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

.scene,
.grid-veil,
.noise,
.scanlines,
.aurora,
.orbit-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene {
  z-index: 0;
}

.grid-veil {
  z-index: 1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(125, 138, 153, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 138, 153, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.9) 84%, transparent);
  animation: drift-grid 24s linear infinite;
  will-change: transform;
}

.noise {
  z-index: 1;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1px),
    radial-gradient(circle at 66% 32%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px),
    radial-gradient(circle at 44% 74%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1px);
  background-size: 160px 160px;
}

.scanlines {
  z-index: 1;
  opacity: 0.12;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.022) 4px,
    rgba(255, 255, 255, 0.022) 5px
  );
}

.aurora {
  z-index: 0;
  filter: blur(140px);
  opacity: 0.22;
}

.aurora-a {
  background: radial-gradient(circle at 20% 24%, rgba(183, 162, 133, 0.16), transparent 28%);
  animation: float-aurora-a 22s ease-in-out infinite alternate;
}

.aurora-b {
  background: radial-gradient(circle at 80% 18%, rgba(125, 138, 153, 0.14), transparent 28%);
  animation: float-aurora-b 24s ease-in-out infinite alternate;
}

.orbit-shell {
  z-index: 0;
  opacity: 0.18;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(125, 138, 153, 0.08);
  border-radius: 999px;
  will-change: transform;
}

.orbit-a {
  width: min(78vw, 980px);
  height: min(78vw, 980px);
  top: -18vw;
  right: -14vw;
  animation: rotate-orbit 42s linear infinite;
}

.orbit-b {
  width: min(54vw, 680px);
  height: min(54vw, 680px);
  left: -10vw;
  top: 22vh;
  animation: rotate-orbit-reverse 30s linear infinite;
}

.orbit-c {
  width: min(36vw, 460px);
  height: min(36vw, 460px);
  left: 48%;
  bottom: 6vh;
  animation: rotate-orbit 24s linear infinite;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  padding: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.brand-kicker,
.eyebrow,
.panel-head,
.panel-kicker,
.card-index,
.ledger-kind,
.status-chip,
.rail-step span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-kicker,
.eyebrow,
.panel-head,
.panel-kicker,
.card-index,
.ledger-kind,
.rail-step span {
  color: var(--subtle);
}

.brand-title {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 6px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 2px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line-soft);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--steel));
  box-shadow: 0 0 16px rgba(183, 162, 133, 0.34);
}

.hero {
  padding: 82px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 18px;
  align-items: start;
}

.hero-copy h1,
.section-intro h2,
.evidence-copy h3,
.publication-panel h3,
.contact-copy h2 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  margin-top: 14px;
  max-width: 11.5ch;
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  line-height: 0.9;
}

.hero-accent {
  color: var(--accent-strong);
  text-shadow: 0 0 22px rgba(183, 162, 133, 0.16);
}

.hero-lede,
.section-copy,
.framework-card p,
.feature-card p,
.ledger-role,
.publication-panel p,
.model-panel p,
.contact-copy p,
.evidence-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lede {
  margin-top: 22px;
  max-width: 48rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.hero-actions,
.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line);
}

.btn-primary {
  color: #0b0f15;
  background: linear-gradient(135deg, rgba(212, 200, 182, 0.96), rgba(183, 162, 133, 0.94));
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(183, 162, 133, 0.14);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero-proof {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-item,
.stage-panel,
.framework-card,
.evidence-band,
.feature-card,
.portfolio-ledger,
.publication-panel,
.model-panel,
.model-rail,
.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(17, 21, 27, 0.98), rgba(12, 16, 21, 0.96)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.015), transparent 42%);
  box-shadow: var(--shadow);
  border-radius: 2px;
}

.proof-item::after,
.stage-panel::after,
.framework-card::after,
.evidence-band::after,
.feature-card::after,
.portfolio-ledger::after,
.publication-panel::after,
.model-panel::after,
.model-rail::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.016));
  pointer-events: none;
}

.proof-item::before,
.stage-panel::before,
.framework-card::before,
.evidence-band::before,
.feature-card::before,
.portfolio-ledger::before,
.publication-panel::before,
.model-panel::before,
.model-rail::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  background:
    linear-gradient(var(--line), var(--line)) top left / 18px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) top left / 1px 18px no-repeat,
    linear-gradient(var(--line), var(--line)) top right / 18px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) top right / 1px 18px no-repeat,
    linear-gradient(var(--line), var(--line)) bottom left / 18px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) bottom left / 1px 18px no-repeat,
    linear-gradient(var(--line), var(--line)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) bottom right / 1px 18px no-repeat;
  pointer-events: none;
  opacity: 0.42;
}

.proof-item {
  padding: 18px 18px 20px;
}

.proof-item strong {
  display: block;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.06em;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.trust-ribbon {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-ribbon span,
.focus-tags span {
  padding: 10px 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.016);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 16px;
}

.stage-panel {
  padding: 22px;
}

.stage-atlas {
  grid-row: span 2;
  min-height: 488px;
}

.stage-ledger,
.stage-focus {
  min-height: 236px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.atlas-screen {
  position: relative;
  margin-top: 18px;
  min-height: 304px;
  border: 1px solid rgba(183, 162, 133, 0.14);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 50%, rgba(125, 138, 153, 0.08), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.atlas-screen::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(125, 138, 153, 0.14);
  border-radius: 50%;
}

.atlas-screen::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 34%, rgba(183, 162, 133, 0.12) 50%, transparent 66%);
  animation: sweep-atlas 14s ease-in-out infinite;
}

.atlas-ring,
.atlas-axis,
.atlas-link,
.atlas-node,
.atlas-label {
  position: absolute;
}

.atlas-ring {
  inset: 14%;
  border: 1px solid rgba(183, 162, 133, 0.14);
  border-radius: 50%;
}

.atlas-ring-b {
  inset: 26%;
  border-color: rgba(125, 138, 153, 0.14);
  animation: rotate-orbit 20s linear infinite;
}

.atlas-axis {
  background: linear-gradient(180deg, transparent, rgba(125, 138, 153, 0.18), transparent);
}

.atlas-axis-a {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
}

.atlas-axis-b {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 138, 153, 0.18), transparent);
}

.atlas-link {
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(125, 138, 153, 0.02), rgba(183, 162, 133, 0.32), rgba(125, 138, 153, 0.02));
}

.atlas-link-a {
  left: 28%;
  top: 36%;
  width: 34%;
  transform: rotate(16deg);
}

.atlas-link-b {
  left: 42%;
  top: 56%;
  width: 28%;
  transform: rotate(-24deg);
}

.atlas-link-c {
  left: 24%;
  top: 58%;
  width: 24%;
  transform: rotate(14deg);
}

.atlas-link-d {
  left: 48%;
  top: 28%;
  width: 18%;
  transform: rotate(-12deg);
}

.atlas-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(202, 166, 106, 0.22);
}

.atlas-node-a {
  left: 24%;
  top: 32%;
  background: var(--accent);
}

.atlas-node-b {
  left: 58%;
  top: 42%;
  background: var(--steel);
}

.atlas-node-c {
  left: 46%;
  top: 58%;
  background: var(--steel);
}

.atlas-node-d {
  left: 36%;
  top: 66%;
  background: var(--accent-strong);
}

.atlas-node-e {
  left: 68%;
  top: 26%;
  background: var(--accent);
}

.atlas-node-f {
  left: 72%;
  top: 60%;
  background: var(--steel);
}

.atlas-label {
  padding: 6px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 13, 17, 0.92);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-label-a {
  left: 14%;
  top: 18%;
}

.atlas-label-b {
  right: 14%;
  bottom: 16%;
}

.atlas-label-c {
  right: 12%;
  top: 16%;
}

.atlas-footer {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.atlas-footer strong,
.feature-metrics strong,
.evidence-item strong,
.rail-step strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

.atlas-footer span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.metric-stack,
.focus-list {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.metric-row,
.focus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.metric-row span,
.focus-item span {
  color: var(--muted);
}

.metric-row strong,
.focus-item strong,
.feature-card h3,
.framework-card h3,
.ledger-title strong,
.publication-panel h3,
.model-panel h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

.metric-bar {
  margin-top: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  border-radius: 999px;
}

.metric-bar span {
  display: block;
  width: var(--bar-width);
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--steel));
}

.focus-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-ribbon {
  margin-top: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.016);
  overflow: hidden;
}

.ribbon-track {
  display: flex;
  gap: 28px;
  width: max-content;
  min-width: 100%;
  padding: 14px 0;
  animation: ribbon-scroll 22s linear infinite;
}

.ribbon-track span {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon-track span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent), var(--steel));
}

.framework-section,
.portfolio-section,
.operating-model {
  margin-top: 22px;
}

.section-intro,
.contact-copy {
  display: grid;
  gap: 10px;
}

.section-intro h2,
.contact-copy h2,
.evidence-copy h3,
.publication-panel h3 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.03;
}

.framework-grid,
.publication-row,
.model-grid {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

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

.framework-card {
  padding: 26px;
  min-height: 240px;
}

.framework-card h3 {
  margin-top: 14px;
  font-size: 1.42rem;
}

.framework-card p {
  margin-top: 14px;
}

.evidence-band {
  margin-top: 16px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 0.6fr));
  gap: 16px;
  align-items: end;
}

.evidence-item {
  padding: 16px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.evidence-item strong {
  display: block;
  font-size: 1.2rem;
}

.evidence-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.portfolio-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: start;
}

.portfolio-feature-stack {
  display: grid;
  gap: 16px;
}

.feature-card {
  padding: 28px;
  min-height: 328px;
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 2.4rem;
}

.feature-card p {
  margin-top: 14px;
}

.feature-metrics {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature-metrics div {
  padding: 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-card a,
.ledger-link a {
  width: fit-content;
  margin-top: 22px;
  color: var(--accent-strong);
  font-weight: 700;
}

.feature-card a:hover,
.ledger-link a:hover {
  color: var(--text);
}

.feature-graphpulse {
  border-color: rgba(145, 162, 182, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 20, 26, 0.98), rgba(12, 16, 21, 0.96)),
    linear-gradient(140deg, rgba(125, 138, 153, 0.08), transparent 40%);
}

.feature-signalgraph {
  border-color: rgba(183, 162, 133, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 20, 26, 0.98), rgba(12, 16, 21, 0.96)),
    linear-gradient(140deg, rgba(183, 162, 133, 0.08), transparent 38%);
}

.feature-creatorgraph {
  border-color: rgba(245, 158, 11, 0.20);
  background:
    linear-gradient(180deg, rgba(16, 20, 26, 0.98), rgba(12, 16, 21, 0.96)),
    linear-gradient(140deg, rgba(245, 158, 11, 0.09), transparent 40%);
}

.feature-fieldtheory {
  border-color: rgba(111, 202, 169, 0.18);
  background:
    linear-gradient(180deg, rgba(16, 20, 26, 0.98), rgba(12, 16, 21, 0.96)),
    linear-gradient(140deg, rgba(111, 202, 169, 0.08), transparent 42%);
}

.portfolio-ledger {
  padding: 24px;
}

.ledger-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ledger-table {
  display: grid;
}

.ledger-row {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-title {
  display: grid;
  gap: 8px;
}

.ledger-title strong {
  font-size: 1.34rem;
}

.ledger-state {
  display: flex;
  justify-content: center;
}

.ledger-state span {
  padding: 8px 10px;
  border-radius: 2px;
  background: rgba(183, 162, 133, 0.1);
  color: var(--accent-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-link {
  display: flex;
  justify-content: flex-end;
}

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

.publication-panel {
  padding: 26px;
  min-height: 224px;
}

.publication-panel p:last-child {
  margin-top: 14px;
}

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

.model-panel {
  padding: 24px;
  min-height: 250px;
}

.model-panel h3 {
  margin-top: 14px;
  font-size: 1.45rem;
}

.model-panel p {
  margin-top: 14px;
}

.model-rail {
  margin-top: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rail-step {
  padding: 18px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rail-step strong {
  display: block;
  margin-top: 8px;
  font-size: 1.04rem;
}

.contact-panel {
  margin-top: 22px;
  margin-bottom: 58px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 162, 133, 0.16), transparent 60%);
  filter: blur(42px);
}

.footer {
  position: relative;
  z-index: 2;
  padding: 0 20px 36px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.footer-line {
  width: min(78vw, 1040px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(202, 166, 106, 0.72), rgba(145, 162, 182, 0.58), transparent);
}

.footer p {
  color: var(--subtle);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

[data-tilt] {
  will-change: transform, box-shadow;
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

[data-tilt].is-tilting {
  border-color: var(--line);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

@keyframes ribbon-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes rotate-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-orbit-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes drift-grid {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes sweep-atlas {
  0%,
  100% {
    transform: translateX(-16%) rotate(8deg);
    opacity: 0.22;
  }
  50% {
    transform: translateX(18%) rotate(8deg);
    opacity: 0.46;
  }
}

@keyframes float-aurora-a {
  from {
    transform: translate3d(-2%, 0, 0);
  }
  to {
    transform: translate3d(4%, -5%, 0);
  }
}

@keyframes float-aurora-b {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-4%, 6%, 0);
  }
}

@media (max-width: 1120px) {
  .hero,
  .portfolio-layout,
  .evidence-band,
  .model-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .stage-atlas {
    grid-row: auto;
    min-height: 440px;
  }

  .model-rail,
  .publication-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 22px, 1240px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-proof,
  .framework-grid,
  .feature-metrics,
  .publication-row,
  .model-grid,
  .model-rail {
    grid-template-columns: 1fr;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ledger-state,
  .ledger-link {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .stage-panel,
  .portfolio-ledger,
  .feature-card,
  .framework-card,
  .publication-panel,
  .model-panel,
  .contact-panel {
    padding: 20px;
  }

  .atlas-screen {
    min-height: 260px;
  }

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

  .btn,
  .contact-actions,
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .status-chip {
    width: 100%;
    justify-content: center;
  }

  .ribbon-track {
    animation-duration: 16s;
  }
}

@media (pointer: coarse) {
  .grid-veil {
    opacity: 0.12;
    animation-duration: 30s;
  }

  .noise {
    opacity: 0.025;
  }

  .scanlines {
    opacity: 0.08;
  }

  .orbit-b,
  .orbit-c {
    display: none;
  }

  .aurora {
    opacity: 0.15;
  }
}

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

  .grid-veil,
  .aurora-a,
  .aurora-b,
  .orbit-a,
  .orbit-b,
  .orbit-c,
  .atlas-ring-b,
  .atlas-screen::after,
  .ribbon-track {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  [data-tilt] {
    transform: none !important;
  }
}
