/* a1a2 inc. — corporate site
   One accent (burnt orange), one radius scale (4px/10px), one theme system
   (light default, dark via prefers-color-scheme). Trust-first: restraint over flourish. */

:root {
  --bg: #fbfaf9;
  --surface: #ffffff;
  --border: #e4e1dd;
  --text: #17150f;
  --muted: #5f5a52;
  --accent: #b8451b;
  --accent-ink: #ffffff;
  --radius-sm: 4px;
  --radius: 10px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131211;
    --surface: #1b1a18;
    --border: #302d29;
    --text: #f2f0ed;
    --muted: #a8a29a;
    --accent: #e2703f;
    --accent-ink: #17150f;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── nav ─────────────────────────────────────────────────────────────── */
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}
.mark {
  font-weight: 640;
  letter-spacing: -0.025em;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}
.mark span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.925rem;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) {
  .nav { height: auto; padding: 14px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav-links { gap: 18px; flex-wrap: wrap; }
}

/* ── hero ────────────────────────────────────────────────────────────── */
.hero { padding: 92px 0 76px; }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 660;
  max-width: 16ch;
}
.hero p {
  margin: 0 0 30px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 560;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

/* ── sections ────────────────────────────────────────────────────────── */
section { padding: 68px 0; border-top: 1px solid var(--border); }
h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  letter-spacing: -0.028em;
  font-weight: 640;
  line-height: 1.2;
}
.lede { margin: 0 0 38px; color: var(--muted); max-width: 62ch; }

/* ventures: asymmetric two-up, not three equal cards */
.ventures { display: grid; gap: 18px; grid-template-columns: 1.35fr 1fr; }
@media (max-width: 820px) { .ventures { grid-template-columns: 1fr; } }
.venture {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.venture.tall { grid-row: span 2; }
.venture.wide { grid-column: 1 / -1; }
@media (max-width: 820px) {
  .venture.tall { grid-row: auto; }
  .venture.wide { grid-column: auto; }
}
.venture h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  font-weight: 620;
}
.venture p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.venture .status {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}
.venture a { color: var(--accent); text-decoration: none; font-weight: 540; font-size: 0.92rem; }
.venture a:hover { text-decoration: underline; }
.shot {
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 10px;
}

/* contact block: definition rows, no card grid repeat */
.contact-grid { display: grid; grid-template-columns: 200px 1fr; gap: 14px 32px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; gap: 4px 0; } }
.contact-grid dt { color: var(--muted); font-size: 0.92rem; }
.contact-grid dd { margin: 0 0 10px; }
.contact-grid a { color: var(--accent); text-decoration: none; }
.contact-grid a:hover { text-decoration: underline; }

/* ── legal pages ─────────────────────────────────────────────────────── */
.legal { padding: 62px 0 40px; max-width: 72ch; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.03em; margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 40px; }
.legal h2 { font-size: 1.15rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); font-weight: 580; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 7px; }

/* ── footer ──────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 34px 0 52px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: baseline;
}
.foot p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.18s ease;
}
.foot nav a:hover { color: var(--text); }

/* ── motion (MOTION_INTENSITY 3: entry only, disabled on request) ────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .reveal:nth-child(2) { animation-delay: 0.06s; }
  .reveal:nth-child(3) { animation-delay: 0.12s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}
