/* ── Reset & Variables ─────────────────────────────────────────────── */
:root {
  --bg: #000000;
  --bg-subtle: #0a0a0a;
  --text: #ffffff;
  --text-70: rgba(255, 255, 255, 0.7);
  --text-50: rgba(255, 255, 255, 0.5);
  --text-30: rgba(255, 255, 255, 0.3);
  --text-15: rgba(255, 255, 255, 0.15);
  --text-08: rgba(255, 255, 255, 0.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: var(--font);
  font-size: 1.8rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

::-webkit-scrollbar { width: 0; }

/* ── Typography ───────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(5rem, 10vw, 14rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h2 {
  font-size: clamp(3.5rem, 6vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h4 {
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-70);
  line-height: 1.6;
  font-size: 1.8rem;
}

a {
  color: var(--text);
  text-decoration: none;
}

img, video { max-width: 100%; display: block; }

/* ── Eyebrow / Label ──────────────────────────────────────────────── */
.eyebrow {
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #10b981;
}

/* ── Layout ───────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 6rem;
}

.section {
  padding: 16rem 0;
  position: relative;
}

.divider {
  border: none;
  border-top: 1px solid var(--text-15);
  margin: 0;
}

/* ── Links with underline animation ───────────────────────────────── */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.75s var(--ease);
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 4rem; }
  .section { padding: 12rem 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 2.4rem; }
  .section { padding: 8rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.6rem; }
  .section { padding: 6rem 0; }
}
