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

:root {
  --bg: #faf8f5;
  --fg: #1a1a18;
  --accent: #c84b31;
  --forest: #1a3a2a;
  --stone: #a8998a;
  --warm-mid: #c8b99a;
  --surface: #f0ebe0;
  --surface-dark: #e4ddd0;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 12px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
}

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--forest);
  margin-bottom: 3rem;
}

/* ─── Layout ───────────────────────────────────── */
.manifesto__inner,
.operations__inner,
.how__inner,
.vision__inner,
.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Manifesto ────────────────────────────────── */
.manifesto {
  padding: 6rem 0 5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--surface-dark);
}

.manifesto__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.manifesto__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.manifesto__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--forest);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.manifesto__body {
  font-size: 1.125rem;
  color: #4a4a44;
  line-height: 1.7;
  max-width: 44ch;
}

/* Workshop mosaic */
.workshop-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mosaic-card {
  background: var(--surface);
  border: 1px solid var(--surface-dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mosaic-card--orders { border-left: 3px solid var(--forest); }
.mosaic-card--resolved { border-left: 3px solid #4a8c5e; }
.mosaic-card--stock { border-left: 3px solid var(--accent); }
.mosaic-card--ai { border-left: 3px solid #6b6b8a; }

.mosaic-card__icon { color: var(--stone); }

.mosaic-card__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.25rem;
}

.mosaic-card__value {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}

/* ─── Operations ─────────────────────────────── */
.operations {
  padding: 6rem 0;
  background: var(--surface);
}

.op-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.op-card {
  background: var(--white);
  border: 1px solid var(--surface-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 3px solid transparent;
}

.op-card--orders { border-top-color: var(--forest); }
.op-card--messages { border-top-color: #4a8c5e; }
.op-card--inventory { border-top-color: var(--accent); }
.op-card--suppliers { border-top-color: #6b6b8a; }

.op-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.op-card__icon {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
}

.op-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.op-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.75rem;
  font-family: 'Syne', sans-serif;
}

.op-card__body {
  font-size: 0.925rem;
  color: #5a5a52;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.op-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.op-card__list li {
  font-size: 0.875rem;
  color: #4a4a44;
  padding-left: 1.25rem;
  position: relative;
}

.op-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── How ─────────────────────────────────────── */
.how {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--surface-dark);
  border-bottom: 1px solid var(--surface-dark);
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--surface-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--surface-dark);
  background: var(--white);
}

.step:last-child { border-right: none; }

.step__number {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--surface-dark);
  margin-bottom: 1rem;
  line-height: 1;
}

.step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.75rem;
  font-family: 'Syne', sans-serif;
}

.step__body {
  font-size: 0.9rem;
  color: #5a5a52;
  line-height: 1.65;
}

/* ─── Vision ──────────────────────────────────── */
.vision {
  padding: 7rem 0;
  background: var(--forest);
}

.vision__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.vision__quote {
  padding: 2.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}

.vision__statement {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.vision__attribution {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}

.vision .section__eyebrow {
  color: var(--warm-mid);
}

.vision .section__title {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.vision__body {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.vision__body:last-child { margin-bottom: 0; }

/* ─── Footer ───────────────────────────────────── */
.footer {
  background: #0e1f17;
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__wordmark {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.footer__links {
  display: flex;
  gap: 4rem;
}

.footer__link-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link-heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.25rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__link:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ─── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .manifesto__inner,
  .vision__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .op-grid {
    grid-template-columns: 1fr;
  }

  .step-row {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--surface-dark);
  }

  .step:last-child { border-bottom: none; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__links {
    gap: 2.5rem;
  }

  .footer__brand {
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .manifesto, .operations, .how, .vision {
    padding: 4rem 0;
  }

  .manifesto__inner,
  .operations__inner,
  .how__inner,
  .vision__inner,
  .footer__inner {
    padding: 0 1.25rem;
  }

  .workshop-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .footer__links {
    flex-direction: column;
    gap: 1.5rem;
  }
}