/* VaLion Labs — site styles */

:root {
  --bg: #F5F6F4;
  --ink: #0E1116;
  --muted: #5A616B;
  --body: #4A515B;
  --rule: #D5D9D4;
  --accent: #F26B1D;        /* Lamborghini Arancio Borealis (screen approximation) */
  --accent-hover: #DD5A0C;
  --accent-text: #A94B14;   /* darker shade for small text on the light background */

  --dark-muted: #A3A9B1;
  --dark-body: #C9CDD2;
  --dark-rule: #3A4048;

  --sans: 'Inter Tight', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); }
a:hover { color: var(--accent-text); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--accent); color: var(--ink); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  z-index: 10;
}
.skip:focus { left: 8px; color: var(--bg); }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */

.site-header {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.brand-name span { font-weight: 400; color: var(--muted); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 15px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.btn-outline {
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 500;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.btn:hover { color: var(--ink); background: var(--accent-hover); }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.link-lg { font-size: 18px; font-weight: 400; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Hero */

.hero {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.hero .eyebrow { margin-bottom: 32px; }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

.hero h1 {
  max-width: 960px;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.lede {
  margin-top: 32px;
  max-width: 580px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--body);
}

.hero .actions { margin-top: 44px; }

/* Matrix band */

.matrix-frame {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 0;
}

.matrix {
  height: 138px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, 18px);
  grid-auto-rows: 18px;
  gap: 6px;
  justify-content: space-between;
}

.cell {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid var(--rule);
}
.cell.is-pass { background: var(--accent); border-color: var(--accent); }
.cell.is-ink { background: var(--ink); border-color: var(--ink); }

.matrix-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 400;
}

/* Two-column sections */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.split-label { flex: 1 1 220px; min-width: 0; }
.split-body { flex: 999 1 640px; min-width: 0; }

.aside { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--body); }
.aside-name { margin-top: 16px; font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.aside-name + .aside { margin-top: 8px; }

/* v2: general section spacing, who we work with, products label, founder */

.section {
  padding-top: clamp(80px, 10vw, 128px);
  padding-bottom: clamp(88px, 10vw, 136px);
}

.step h3:first-child { margin-top: 0; }

.tint { background: #EAECE8; }
.tint .split {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 32px;
}
.client {
  flex: 1 1 300px;
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.client p {
  margin-top: 16px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.beta-tag { margin-top: 16px; }
.beta h3 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.founder { padding-bottom: 0; }
.founder-name {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.founder-role { margin-top: 12px; font-weight: 400; }
.founder-lede {
  margin-top: 24px;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--body);
}
.founder-points { margin-top: 48px; }
.founder-points .step { flex: 1 1 220px; }

/* How we work */

.approach {
  padding-top: clamp(80px, 10vw, 128px);
  padding-bottom: clamp(88px, 10vw, 136px);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 32px;
}

.step {
  flex: 1 1 300px;
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.step-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-text);
}
.step h3 {
  margin: 16px 0 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step p:last-child {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

/* Beta band */

.dark { background: var(--ink); color: var(--bg); }
.dark .split {
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
}
.dark .mono { color: var(--dark-muted); }

.beta {
  border-top: 2px solid var(--accent);
  padding-top: 24px;
}
.beta h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.beta p {
  margin-top: 20px;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--dark-body);
}
.beta .link { margin-top: 28px; color: var(--accent); }
.beta .link:hover { color: #FF8A4C; text-decoration-thickness: 2px; }
.dark a:focus-visible { outline-color: var(--accent); }

/* Contact */

.contact {
  padding-top: clamp(88px, 10vw, 136px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.contact-line {
  margin-top: 28px;
  max-width: 900px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.contact .actions { margin-top: 40px; gap: 16px 32px; }

/* Footer */

.site-footer { padding-bottom: 40px; }
.site-footer > div {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
