:root {
  color-scheme: dark;
  --bg: #070807;
  --ink: #f5f0e6;
  --muted: #b3aa9b;
  --dim: #746d61;
  --line: rgba(245, 240, 230, 0.14);
  --panel: rgba(18, 21, 18, 0.72);
  --panel-strong: #151912;
  --acid: #d6ff72;
  --copper: #c58353;
  --steel: #92a2ad;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 8%, rgba(214, 255, 114, 0.14), transparent 20rem),
    radial-gradient(circle at 18% 26%, rgba(197, 131, 83, 0.16), transparent 27rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 36rem),
    var(--bg);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(214, 255, 114, 0.04) 1px, transparent 1px);
  background-size: auto, 96px 96px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.mark {
  display: grid;
  gap: 2px;
}

.mark span,
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.mark span {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.mark small {
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover,
.card-topline a:hover,
.contact-links a:hover {
  color: var(--acid);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 82px);
  padding: 84px 0;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(214, 255, 114, 0.035) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 68% 46%, rgba(214, 255, 114, 0.09), transparent 18rem);
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 980px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(4.2rem, 10vw, 9.8rem);
  line-height: 0.82;
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(2.4rem, 5.8vw, 5.4rem);
  line-height: 0.9;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: #12140d;
  font-weight: 850;
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.signal-panel,
.chart,
.work-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.signal-panel {
  position: relative;
  min-height: 520px;
  padding: 26px;
  overflow: hidden;
}

.signal-panel::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(214, 255, 114, 0.18);
}

.panel-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.panel-row span,
.chart-head span,
.bar-row span,
.work-card span {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-row strong {
  font-size: 0.98rem;
}

.scope {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 255, 114, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 24%, rgba(214, 255, 114, 0.12) 25% 26%, transparent 27%),
    linear-gradient(rgba(214, 255, 114, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 255, 114, 0.26) 1px, transparent 1px);
  background-size: auto, 100% 50%, 50% 100%;
}

.scope i {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--acid);
  border-radius: 50%;
}

.scope i:nth-child(1) { top: 30%; left: 24%; }
.scope i:nth-child(2) { top: 52%; left: 60%; }
.scope i:nth-child(3) { top: 68%; left: 34%; }
.scope i:nth-child(4) { top: 20%; left: 70%; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  position: relative;
  min-height: 142px;
  padding: 28px 24px 24px 34px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.metrics div::before {
  position: absolute;
  top: 38px;
  left: 12px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(214, 255, 114, 0.72);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 12px;
  font-family: Consolas, "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: clamp(1.8rem, 3.8vw, 3.3rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.metrics span {
  color: var(--muted);
  line-height: 1.35;
}

.evidence,
.operator,
.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.evidence p,
.operator > p {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.5;
}

.chart {
  padding: 26px;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.chart-head strong {
  color: var(--steel);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bar-row {
  display: grid;
  grid-template-columns: 72px minmax(120px, 1fr) 74px;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
}

.bar-row i {
  display: block;
  width: var(--v);
  height: 34px;
  background: linear-gradient(90deg, var(--copper), var(--acid));
  box-shadow: 0 0 32px rgba(214, 255, 114, 0.18);
}

.bar-row b {
  font-size: 0.96rem;
  text-align: right;
}

.bar-row.peak b {
  color: var(--acid);
}

.chart p {
  margin: 28px 0 0;
  color: var(--dim);
  font-size: 0.9rem;
}

.section {
  padding: 112px 0 86px;
}

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

.work-card {
  min-height: 300px;
  padding: 26px;
}

.work-card.feature {
  background:
    linear-gradient(135deg, rgba(214, 255, 114, 0.16), transparent 46%),
    var(--panel-strong);
}

.card-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 48px;
}

h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 750;
}

.card-topline a {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card p {
  max-width: 520px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.44;
}

.work-card span {
  display: block;
  margin-top: 34px;
  color: var(--muted);
}

.operator {
  border-top: 1px solid var(--line);
}

.contact {
  grid-template-columns: 1fr;
  padding-top: 82px;
}

.contact h2 {
  max-width: 760px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  padding: 13px 15px;
  border: 1px solid var(--line);
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 46px;
  color: var(--dim);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero,
  .evidence,
  .operator,
  .metrics,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 112px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding: 70px 0;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 6.8rem);
  }

  .signal-panel {
    min-height: 380px;
  }

  .metrics div {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .evidence,
  .operator,
  .contact,
  .section {
    padding: 76px 0;
  }

  .bar-row {
    grid-template-columns: 62px 1fr 64px;
    gap: 10px;
  }

  footer {
    flex-direction: column;
  }
}
