/* ============================================================
   MAJONICS.COM — Design System
   Inspired by Brazilian Neoconcrete Art (Lygia Clark, Hélio Oiticica)
   Principles: geometric grids, bold color blocks, immersive sections,
   typography as structure, participatory micro-interactions.
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Color System */
  --black:       #0A0A0A;
  --white:       #F5F5F0;
  --blue:        #0041FF;
  --blue-dim:    #00175A;
  --blue-mid:    #002899;
  --blue-light:  #3366FF;
  --red:         #E60000;
  --red-dim:     #5C0000;
  --green:       #00A050;
  --green-dim:   #003520;
  --grey-dark:   #2A2A2A;
  --grey-mid:    #888888;
  --grey-light:  #E0E0DC;
  --grey-subtle: #F0F0EC;

  /* Typography */
  --font-sans:  'Space Grotesk', system-ui, sans-serif;
  --font-mono:  'Space Mono', monospace;

  /* Type Scale (fluid) */
  --text-xs:   clamp(0.7rem,  1vw,   0.85rem);
  --text-sm:   clamp(0.85rem, 1.2vw, 1rem);
  --text-base: clamp(1rem,    1.5vw, 1.125rem);
  --text-lg:   clamp(1.125rem,2vw,   1.375rem);
  --text-xl:   clamp(1.375rem,2.5vw, 1.75rem);
  --text-2xl:  clamp(1.75rem, 3.5vw, 2.5rem);
  --text-3xl:  clamp(2.5rem,  5vw,   4rem);
  --text-4xl:  clamp(4rem,    8vw,   7rem);
  --text-5xl:  clamp(6rem,    12vw,  11rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-48: 12rem;

  /* Grid */
  --grid-cols: 12;
  --grid-gap:  clamp(1rem, 2vw, 2rem);
  --max-width: 1440px;
  --page-px:   clamp(1.5rem, 5vw, 6rem);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --duration:  0.4s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Utility: Grid Container --- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), 1fr);
  gap: var(--grid-gap);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

/* --- Utility: Visually Hidden --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   SECTION 0: HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background-color: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-12) var(--page-px);
}

/* Neoconcrete geometric block — Oiticica-style color field */
.hero__geo-block {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 65%;
  background-color: var(--blue);
  z-index: 0;
}

.hero__geo-strip {
  position: absolute;
  top: 65%;
  right: 0;
  width: 42%;
  height: 4px;
  background-color: var(--red);
  z-index: 1;
}

.hero__geo-dot {
  position: absolute;
  bottom: var(--space-24);
  right: calc(42% + var(--space-16));
  width: clamp(60px, 8vw, 120px);
  height: clamp(60px, 8vw, 120px);
  border: 3px solid var(--white);
  background: transparent;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: var(--space-6);
}

.hero__wordmark {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: var(--space-8);
  display: block;
}

.hero__tagline {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--grey-light);
  max-width: 38ch;
  line-height: 1.55;
  margin-bottom: var(--space-12);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  border-top: 1px solid var(--grey-dark);
  padding-top: var(--space-6);
  flex-wrap: wrap;
}

.hero__meta-item {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--grey-mid);
  letter-spacing: 0.1em;
}

.hero__meta-item strong {
  color: var(--white);
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--grey-mid);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--grey-mid), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ============================================================
   SECTION 1: PREFACE — Letter to Dishboard
   ============================================================ */
.preface {
  background-color: var(--white);
  color: var(--black);
  padding: var(--space-32) var(--page-px);
  position: relative;
  overflow: hidden;
}

.preface::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--blue);
}

.preface__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

.preface__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: var(--space-4);
}

.preface__heading {
  grid-column: 1 / 8;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: var(--space-8);
}

.preface__body {
  grid-column: 1 / 8;
}

.preface__body p {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.7;
  color: var(--grey-dark);
  margin-bottom: var(--space-6);
  max-width: 58ch;
}

.preface__body p strong {
  font-weight: 600;
  color: var(--black);
}

.preface__aside {
  grid-column: 9 / 13;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-4);
}

.preface__stat {
  border-top: 1px solid var(--grey-light);
  padding-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.preface__stat-number {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.preface__stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--grey-mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--space-2);
  display: block;
}

/* ============================================================
   SECTION 2: THE 7 CONCEPTS
   ============================================================ */
.concepts {
  background-color: var(--blue-dim);
  color: var(--white);
  padding: var(--space-32) var(--page-px);
  position: relative;
  overflow: hidden;
}

.concepts::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30%;
  height: 4px;
  background-color: var(--red);
}

.concepts__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.concepts__header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  margin-bottom: var(--space-24);
}

.concepts__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: var(--space-4);
}

.concepts__heading {
  grid-column: 1 / 9;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.concepts__subtitle {
  grid-column: 1 / 9;
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(245, 245, 240, 0.6);
  max-width: 60ch;
  line-height: 1.65;
  margin-top: var(--space-4);
}

/* Concept grid: 7 numbered modules */
.concepts__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

.concept-card {
  grid-column: span 6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color var(--duration) var(--ease-out),
              background-color var(--duration) var(--ease-out);
}

.concept-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.04);
}

/* First card spans full width as anchor */
.concept-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: start;
}

/* Neoconcrete: color accent bar on hover */
.concept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--blue-light);
  transition: width 0.5s var(--ease-out);
}

.concept-card:hover::before {
  width: 100%;
}

.concept-card__number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.06em;
  line-height: 1;
  font-family: var(--font-mono);
  display: block;
  margin-bottom: var(--space-4);
  transition: color var(--duration) var(--ease-out);
}

.concept-card:hover .concept-card__number {
  color: rgba(255, 255, 255, 0.18);
}

.concept-card--wide .concept-card__number {
  font-size: var(--text-5xl);
  margin-bottom: 0;
  align-self: center;
}

.concept-card__tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: block;
  margin-bottom: var(--space-3);
}

.concept-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.concept-card__body {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 245, 240, 0.75);
  max-width: 52ch;
}

.concept-card__body strong {
  color: var(--white);
  font-weight: 500;
}

.concept-card__contrast {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background-color: rgba(230, 0, 0, 0.12);
  border-left: 2px solid var(--red);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(230, 0, 0, 0.85);
  line-height: 1.6;
}

/* ============================================================
   SECTION 3: AGENTS VS DEEP RESEARCH
   ============================================================ */
.argument {
  background-color: var(--red-dim);
  color: var(--white);
  padding: var(--space-32) var(--page-px);
  position: relative;
  overflow: hidden;
}

.argument__geo-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--red);
}

.argument__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.argument__header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  margin-bottom: var(--space-16);
}

.argument__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(230, 0, 0, 0.7);
  margin-bottom: var(--space-4);
}

.argument__heading {
  grid-column: 1 / 11;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.argument__heading em {
  font-style: normal;
  color: var(--red);
}

/* Comparison table */
.argument__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: var(--space-16);
  overflow: hidden;
}

.argument__compare-col {
  padding: var(--space-8);
}

.argument__compare-col--llm {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(0, 0, 0, 0.3);
}

.argument__compare-col--agent {
  background-color: rgba(0, 65, 255, 0.15);
}

.argument__compare-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.label-pill {
  display: inline-block;
  padding: 2px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.label-pill--grey {
  background-color: var(--grey-dark);
  color: var(--grey-mid);
}

.label-pill--blue {
  background-color: var(--blue);
  color: var(--white);
}

.argument__trait-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.argument__trait {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(245, 245, 240, 0.8);
}

.argument__trait::before {
  content: '—';
  color: var(--grey-mid);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.argument__trait--agent::before {
  content: '→';
  color: var(--blue-light);
}

.argument__trait strong {
  color: var(--white);
  font-weight: 500;
}

/* Concrete example */
.argument__example {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-8);
  position: relative;
}

.argument__example::before {
  content: 'REAL EXAMPLE';
  position: absolute;
  top: -10px;
  left: var(--space-6);
  background-color: var(--red-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--red);
  padding: 0 var(--space-3);
}

.argument__example-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-6);
  color: var(--white);
  letter-spacing: -0.02em;
}

.argument__scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.argument__scenario-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.argument__scenario-label--llm {
  color: var(--grey-mid);
}

.argument__scenario-label--agent {
  color: var(--blue-light);
}

.argument__scenario-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.argument__scenario-step {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.6;
  padding: var(--space-2) var(--space-3);
  color: rgba(245, 245, 240, 0.7);
}

.argument__scenario-step--llm {
  background-color: rgba(0, 0, 0, 0.2);
  border-left: 2px solid var(--grey-dark);
}

.argument__scenario-step--agent {
  background-color: rgba(0, 65, 255, 0.1);
  border-left: 2px solid var(--blue-light);
  color: rgba(245, 245, 240, 0.9);
}

/* ============================================================
   SECTION 4: ROADMAP — Horizontal Stage Track
   ============================================================ */
.roadmap {
  background-color: var(--green-dim);
  color: var(--white);
  padding: var(--space-32) var(--page-px);
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  background-color: rgba(0, 160, 80, 0.07);
}

.roadmap__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.roadmap__header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  margin-bottom: var(--space-16);
}

.roadmap__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-4);
}

.roadmap__heading {
  grid-column: 1 / 9;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.roadmap__subtitle {
  grid-column: 1 / 9;
  margin-top: var(--space-4);
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(245, 245, 240, 0.6);
  max-width: 58ch;
  line-height: 1.65;
}

/* --- Horizontal Stage Track --- */
.roadmap__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-12);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 160, 80, 0.3) transparent;
}

.roadmap__track::-webkit-scrollbar {
  height: 3px;
}
.roadmap__track::-webkit-scrollbar-track {
  background: transparent;
}
.roadmap__track::-webkit-scrollbar-thumb {
  background-color: rgba(0, 160, 80, 0.3);
}

/* Stage card */
.stage-card {
  flex: 1;
  min-width: 210px;
  max-width: 280px;
  border: 1px solid rgba(0, 160, 80, 0.25);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease-out),
              background-color var(--duration) var(--ease-out);
  background-color: rgba(0, 0, 0, 0.15);
}

.stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background-color: var(--green);
  transition: height 0.4s var(--ease-out);
}

.stage-card:hover {
  border-color: var(--green);
  background-color: rgba(0, 160, 80, 0.07);
}

.stage-card:hover::before {
  height: 3px;
}

.stage-card--final {
  border-color: rgba(0, 160, 80, 0.5);
}

/* Stage icon */
.stage-card__icon {
  width: 48px;
  height: 48px;
  color: var(--green);
  flex-shrink: 0;
  transition: color var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

.stage-card:hover .stage-card__icon {
  color: rgba(0, 200, 100, 0.9);
  transform: scale(1.08);
}

/* Stage number */
.stage-card__step {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(0, 160, 80, 0.25);
  letter-spacing: -0.05em;
  line-height: 1;
  transition: color var(--duration) var(--ease-out);
}

.stage-card:hover .stage-card__step {
  color: rgba(0, 160, 80, 0.5);
}

.stage-card__timeline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
}

.stage-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.stage-card__body {
  font-size: var(--text-xs);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 245, 240, 0.65);
  flex-grow: 1;
}

/* Resources within each stage card */
.stage-card__resources {
  list-style: none;
  border-top: 1px solid rgba(0, 160, 80, 0.18);
  padding-top: var(--space-3);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.resource-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(0, 200, 100, 0.7);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
  line-height: 1.4;
}

.resource-link:hover {
  color: var(--green);
}

.resource-link svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* Connector arrow between stages */
.stage-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  color: rgba(0, 160, 80, 0.4);
  padding: 0 2px;
  align-self: center;
  margin-top: -60px; /* nudge up to align with upper portion of cards */
}

.stage-connector svg {
  width: 40px;
  height: 16px;
}

/* Outcome summary bar */
.roadmap__outcome {
  border: 1px solid rgba(0, 160, 80, 0.25);
  padding: var(--space-6) var(--space-8);
  position: relative;
}

.roadmap__outcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--green);
}

.roadmap__outcome-inner {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}

.roadmap__outcome-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 80px;
}

.roadmap__outcome-text {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245, 245, 240, 0.7);
}

/* ============================================================
   SECTION 5: RESOURCES — Go Deeper
   ============================================================ */
.resources-section {
  background-color: var(--black);
  color: var(--white);
  padding: var(--space-32) var(--page-px) var(--space-24);
  position: relative;
  overflow: hidden;
}

.resources__geo-block {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35%;
  height: 50%;
  background-color: var(--blue);
  opacity: 0.04;
}

.resources__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.resources__header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  margin-bottom: var(--space-16);
}

.resources__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: var(--space-4);
}

.resources__heading {
  grid-column: 1 / 9;
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.resources__subtitle {
  grid-column: 1 / 9;
  margin-top: var(--space-4);
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(245, 245, 240, 0.55);
  max-width: 58ch;
  line-height: 1.65;
}

/* Three-column resource grid */
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-bottom: var(--space-24);
}

.resource-group {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
}

.resource-group__title {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-6);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.resource-group__icon {
  width: 20px;
  height: 20px;
  color: var(--blue-light);
  flex-shrink: 0;
}

.resource-group__icon svg {
  width: 100%;
  height: 100%;
}

.resource-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.resource-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.resource-item__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) 0;
  text-decoration: none;
  transition: padding-left var(--duration) var(--ease-out);
}

.resource-item__link:hover {
  padding-left: var(--space-3);
}

.resource-item__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(245, 245, 240, 0.85);
  transition: color var(--duration) var(--ease-out);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.resource-item__link:hover .resource-item__name {
  color: var(--white);
}

.resource-item__name::before {
  content: '→';
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--blue-light);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.resource-item__link:hover .resource-item__name::before {
  opacity: 1;
}

.resource-item__desc {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 240, 0.3);
  display: block;
}

/* Footer */
.resources__footer {
  margin-top: var(--space-24);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.resources__footer-copy {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
}

.resources__footer-note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.06em;
}

/* ============================================================
   PROGRESS INDICATOR (Neoconcrete color strip)
   ============================================================ */
.progress-strip {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--blue);
  z-index: 100;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================================
   SECTION DIVIDERS (geometric)
   ============================================================ */
.geo-divider {
  height: 4px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) 60%, var(--red) 60%, var(--red) 80%, var(--green) 80%, var(--green) 100%);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .preface__heading,
  .preface__body { grid-column: 1 / -1; }
  .preface__aside { grid-column: 1 / -1; flex-direction: row; gap: var(--space-8); }

  .concepts__heading,
  .concepts__subtitle { grid-column: 1 / -1; }

  .concept-card { grid-column: span 12; }
  .concept-card--wide { grid-column: 1 / -1; display: block; }
  .concept-card--wide .concept-card__number { font-size: var(--text-4xl); margin-bottom: var(--space-4); }

  .argument__compare { grid-template-columns: 1fr; }
  .argument__compare-col--llm { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .argument__scenario-grid { grid-template-columns: 1fr; }
  .argument__heading { grid-column: 1 / -1; }

  .roadmap__heading,
  .roadmap__subtitle { grid-column: 1 / -1; }

  /* On tablet, allow horizontal scroll on the track */
  .roadmap__track { overflow-x: auto; }
  .stage-card { min-width: 190px; }

  .roadmap__outcome-inner { flex-direction: column; gap: var(--space-3); }

  .resources__heading,
  .resources__subtitle { grid-column: 1 / -1; }
  .resources__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__geo-block { width: 60%; height: 40%; }
  .hero__geo-dot { display: none; }

  .concept-card { padding: var(--space-6); }
  .argument__scenario-grid { grid-template-columns: 1fr; }
  .preface__aside { flex-direction: column; }

  /* Roadmap: stack vertically on mobile */
  .roadmap__track {
    flex-direction: column;
    overflow-x: visible;
  }
  .stage-card {
    max-width: 100%;
    min-width: 0;
  }
  .stage-connector {
    width: auto;
    height: 32px;
    margin-top: 0;
    transform: rotate(90deg);
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__scroll-line { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
