/* Synthius Visionary Landing — Beige + Pixel-art accents */

:root {
  --bg:           #F4EEE2;
  --paper:        #F9F3E8;
  --surface:      #FCF8F2;
  --text:         #2C241C;
  --text-muted:   #736556;
  --sage:         #4F7A46;
  --sage-light:   #68995F;
  --sage-dark:    #3E6037;
  --brown:        #8A6A46;
  --brown-light:  #B38B5F;
  --brown-dark:   #6A4F33;
  --tan:          #C7BAA6;
  --tan-light:    #DCD0BA;
  --border:       #EFE5D3;
  --gold:         #C68A2D;
  --teal:         #5C8F93;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(106, 79, 51, 0.06);
  --shadow-md: 0 8px 30px rgba(106, 79, 51, 0.10);
  --shadow-lg: 0 20px 60px rgba(106, 79, 51, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--border); }
::-webkit-scrollbar-thumb { background: var(--tan); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brown-light); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* Sections */
.section {
  padding: 140px 0;
  position: relative;
}
.section-hero, .section-cta { min-height: 100vh; display: flex; align-items: center; }
.section-alt { background: var(--bg); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brown);
  margin-bottom: 32px;
}

h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }

.h1 { font-size: clamp(36px, 5vw, 60px); }
.h2 { font-size: clamp(30px, 4vw, 46px); }
.h3 { font-size: clamp(22px, 2.4vw, 28px); }

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.55;
}

.muted { color: var(--text-muted); }
.accent { color: var(--sage); }

/* Reveal */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready .reveal { opacity: 0; transform: translateY(28px); }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO
============================================================ */
.section-hero {
  text-align: center;
  background: var(--bg);
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-schema {
  padding: 80px 0 120px;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }

.hero-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--brown);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-sub {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 500;
  color: var(--text);
  max-width: 960px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 32px auto 0;
}
.hero-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.55;
}
.section-mcp { text-align: center; }
.section-mcp .lead {
  margin-left: auto; margin-right: auto;
}
.mcp-clients {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-top: 40px;
}
.mcp-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  letter-spacing: 0.02em;
}
.proof-sub {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.25vw, 16px);
  color: var(--sage-dark);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 24px auto 48px;
  max-width: 760px;
}

/* Brain principles table */
.section-brain { padding: 100px 0; text-align: center; }
.brain-table-wrap {
  max-width: 960px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 12px;
  overflow-x: auto; box-shadow: var(--shadow-sm);
}
.brain-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.brain-table th, .brain-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.brain-table th {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brown); font-weight: 600; background: var(--paper);
}
.brain-table tbody tr { transition: background 0.15s ease; }
.brain-table tbody tr:hover { background: var(--bg); }
.brain-table tbody tr:last-child td { border-bottom: none; }
.brain-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.brain-table td:nth-child(2) { font-family: var(--font-mono); font-size: 12.5px; color: var(--sage-dark); }
.brain-table td:nth-child(3) { color: var(--text-muted); line-height: 1.5; }
.bt-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 10px; vertical-align: middle;
}

/* Two-column comparison table */
.compare-table th, .compare-table td { width: 50%; }
.compare-table td:first-child {
  color: var(--text-muted); font-weight: 400; font-family: var(--font-sans);
  white-space: normal; position: relative; padding-left: 32px;
}
.compare-table td:first-child::before {
  content: "✕"; position: absolute; left: 14px; color: #B38B5F; font-family: var(--font-mono);
}
.compare-table td:last-child {
  font-weight: 600; color: var(--sage-dark); font-family: var(--font-sans); white-space: normal;
  position: relative; padding-left: 32px;
}
.compare-table td:last-child::before {
  content: "✓"; position: absolute; left: 14px; color: var(--sage); font-family: var(--font-mono); font-weight: 700;
}
.compare-table th:last-child { color: var(--sage-dark); }
@media (max-width: 720px) {
  .brain-table th, .brain-table td { padding: 12px 14px; font-size: 13px; }
  .brain-table td:nth-child(2) { font-size: 11.5px; }
}

.proof-tagline {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
  margin-top: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--sage);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); }

/* ============================================================
   GAP
============================================================ */
.section-gap .container { display: grid; gap: 56px; }
.gap-text h2 { max-width: 800px; margin-bottom: 24px; }
.gap-svg { margin-top: 24px; }

/* ============================================================
   MEMORY layer
============================================================ */
.three-lines {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--text);
}
.three-lines div {
  padding-left: 24px;
  position: relative;
}
.three-lines div::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-family: var(--font-mono);
}

/* ============================================================
   SCHEMA (sources -> domains -> services)
============================================================ */
.schema-wrap {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 56px;
  box-shadow: none;
  position: relative;
  /* break out of container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}
.schema-svg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.schema-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   PROOF
============================================================ */
.section-proof { text-align: center; }
.proof-numbers {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--brown-dark);
  letter-spacing: 0.04em;
  margin-top: 20px;
}
.proof-numbers strong { color: var(--sage-dark); font-weight: 700; }
.scatter-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 56px auto 0;
  max-width: 1400px;
  box-shadow: none;
}
.scatter { width: 100%; height: auto; display: block; min-height: 640px; }
@media (max-width: 720px) {
  .scatter-wrap { padding: 0; }
  .scatter { min-height: auto; }
}
.btn-big {
  font-size: 17px;
  padding: 18px 36px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.paper-link {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px dashed var(--tan);
}
.paper-link:hover { color: var(--sage-dark); }

/* ============================================================
   TEAM
============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 56px;
}
.team-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.team-portrait {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--tan);
  border: 2px solid var(--brown-light);
  box-shadow: var(--shadow-sm);
}
.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-portrait-pixel img {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: none;
  transform: none;
}
.team-linkedin {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sage-dark);
  text-decoration: none;
  border-bottom: 1px dashed var(--sage);
  padding-bottom: 1px;
  letter-spacing: 0.04em;
}
.team-linkedin:hover { color: var(--sage); border-bottom-style: solid; }
.team-info h3 {
  margin-bottom: 4px;
  font-size: 20px;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}
.team-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   CTA
============================================================ */
.section-cta {
  background: var(--bg);
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta-form {
  width: 100%;
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.cta-form input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  transition: border 0.2s ease;
}
.cta-form input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79, 122, 70, 0.12);
}
.cta-form button { justify-content: center; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ============================================================
   SVG pixel-art rules
============================================================ */
svg.pixel { shape-rendering: crispEdges; }

/* Animated channel ribbon (hero) */
@keyframes ribbonExpand {
  0%   { transform: scaleY(0.05); opacity: 0.4; }
  100% { transform: scaleY(1);    opacity: 1; }
}
.ribbon-anim { transform-origin: center; animation: ribbonExpand 1.4s 0.4s ease-out both; }

@keyframes pixelDrift {
  0%   { transform: translateX(-12px); opacity: 0.4; }
  50%  { opacity: 1; }
  100% { transform: translateX(12px);  opacity: 0.4; }
}
.pixel-drift { animation: pixelDrift 3s ease-in-out infinite; }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .section { padding: 96px 0; }
  .section-hero { padding: 80px 0 60px; min-height: auto; }
  .schema-wrap { padding: 32px 16px; }
  .team-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-card { flex-direction: column; gap: 16px; }
  .scatter-wrap { padding: 0; }
  .scatter .mobile-hide { display: none; }
}
