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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 96px 24px; }
.band { background: var(--bg-alt); border-block: 1px solid var(--line); }
.eyebrow { font: 14px var(--font-mono); color: var(--accent); }
.mono-mute { font: 13px var(--font-mono); color: var(--text-mute); }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-title { font-weight: 700; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.02em; }

/* Buttons are shared by hero and contact. */
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; text-decoration: none; font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover { background: var(--accent-hover); color: var(--bg); box-shadow: 0 8px 24px -8px var(--accent); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); font-weight: 400; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Scroll reveal: the hidden state is only applied once JS runs, so the page
   stays fully readable without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
