:root {
  --workbench-line: rgba(142, 197, 255, 0.14);
  --workbench-glow: rgba(142, 197, 255, 0.09);
  --surface-raised: #141a21;
  --reading-wide: 980px;
}

body {
  background:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, var(--workbench-glow), transparent 30rem),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.site-header {
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(28vw, 300px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-size: 1.02rem;
}
.brand::after {
  content: "Robbie Smith";
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: center;
  padding: clamp(76px, 11vw, 132px) 0 78px;
  border-bottom: 1px solid var(--border);
}
.home-hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3.65rem, 7.5vw, 6.8rem);
}
.home-hero .hero-copy {
  max-width: 690px;
}
.identity-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.identity-line strong { color: var(--text); }
.identity-dot { color: var(--accent); }

.feature-visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-soft);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.feature-visual::before {
  content: "ARTICLE 01 · VISUAL EXPLAINER";
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  padding: 7px 9px;
  border: 1px solid rgba(194,226,255,0.25);
  border-radius: 999px;
  background: rgba(9,11,14,0.86);
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.feature-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.feature-visual figcaption {
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.thesis-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 7vw, 90px);
  padding: 76px 0;
  border-bottom: 1px solid var(--border);
}
.thesis-statement {
  max-width: 720px;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.principle-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.principle-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.principle-list strong { color: var(--accent-strong); }
.principle-list span { color: var(--muted); }

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
}
.story-number {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
}
.story-title {
  max-width: 15ch;
  margin: 14px 0 18px;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.story-copy { max-width: 650px; color: var(--muted); font-size: 1.08rem; }

.project-evidence {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(34px, 7vw, 86px);
}
.evidence-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.evidence-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.evidence-list strong { display: block; margin-bottom: 6px; }
.evidence-list span { color: var(--muted); }

.method-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.method-step { padding: 22px 18px; border-right: 1px solid var(--border); }
.method-step:last-child { border-right: 0; }
.method-step strong { display: block; margin-bottom: 8px; color: var(--accent-strong); }
.method-step span { color: var(--muted); font-size: 0.9rem; }

.article-visual {
  width: min(100vw - 32px, var(--reading-wide));
  margin: 34px 50% 56px;
  transform: translateX(-50%);
}
.article-visual .feature-visual { box-shadow: none; }
.article-visual .feature-visual::before { content: "CONCEPT MAP · ARTICLE 01"; }
.text-equivalent {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  color: var(--muted);
}
.text-equivalent summary {
  cursor: pointer;
  color: var(--accent-strong);
  font-weight: 700;
}
.text-equivalent p { margin: 12px 0 0; font-size: 0.92rem; }

.series-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.82rem;
}
.series-progress-line { height: 1px; background: var(--border); }
.series-progress-line::before {
  content: "";
  display: block;
  width: 20%;
  height: 1px;
  background: var(--accent);
}
.next-article {
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.next-article .eyebrow { margin-bottom: 10px; }
.next-article h2 { max-width: 16ch; margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.next-article p { color: var(--muted); }

@media (max-width: 960px) {
  .home-hero,
  .thesis-band,
  .featured-story,
  .project-evidence { grid-template-columns: 1fr; }
  .feature-visual { max-width: 760px; }
  .method-line { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .method-step { border-bottom: 1px solid var(--border); }
}

@media (max-width: 640px) {
  body { background-size: 34px 34px, 34px 34px, auto, auto; }
  .brand::after { display: none; }
  .home-hero { padding-top: 58px; }
  .home-hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .principle-list li { grid-template-columns: 1fr; gap: 5px; }
  .method-line { grid-template-columns: 1fr; }
  .method-step { border-right: 0; }
  .series-progress { grid-template-columns: 1fr; gap: 8px; }
  .article-visual { width: min(100vw - 22px, var(--reading-wide)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, .button:focus-visible { transform: none; }
}
