/* =========================================================
   VALLE STUDIO — Stark Monolith Design System
   =========================================================
   main.css — Variables, reset, typography, base layout
   ========================================================= */

:root {
  /* Color — Strict binary + surgical accent */
  --ink: #0a0a0a;
  --ink-soft: #1b1b1b;
  --paper: #f9f9f9;
  --paper-bright: #ffffff;
  --paper-dim: #e8e8e8;
  --rule: #000000;
  --rule-soft: #cfcfcf;
  --muted: #4c4546;
  --accent: #9B3D2E;
  --accent-glow: rgba(155, 61, 46, 0.18);

  /* Type */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --m-mobile: 20px;
  --m-desktop: 64px;
  --section-gap: 128px;
  --gutter: 24px;

  /* Type scale */
  --d-lg: clamp(38px, 5vw, 72px);
  --h1: clamp(40px, 5.5vw, 80px);
  --h2: clamp(32px, 4vw, 56px);
  --h3: clamp(24px, 2.4vw, 32px);
  --body: 16px;
  --body-lg: 18px;
  --label: 12px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--mono);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Selection */
::selection { background: var(--accent); color: var(--paper-bright); }

/* Sharp only — 0px radius enforced */
.btn, .card, .input, .chip, .tool-card, .step, .faq-item, .stat, .marquee-track, .nav-cta, .hero-badge {
  border-radius: 0 !important;
}

/* ==================== LAYOUT HELPERS ==================== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--m-mobile);
}
@media (min-width: 768px) { .container { padding: 0 var(--m-desktop); } }

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}
@media (min-width: 768px) { .section { padding-top: 128px; padding-bottom: 128px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

/* ==================== FOCUS STATES ==================== */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==================== MOBILE TWEAKS ==================== */
@media (max-width: 767px) {
  .hero-ctas .btn { width: 100%; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-bottom: none; }
  .bento-cell { min-height: 240px; padding: 28px; }
  .tool-card { padding: 28px; }
}

/* Mobile menu (simple) */
.mobile-menu-btn { display: block; }
@media (min-width: 900px) { .mobile-menu-btn { display: none; } }
