@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');

:root {
  --black: #0a0a0a;
  --ink: #141419;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-muted: #8a8a8a;
  --accent-purple: #4a2c6d;
  --accent-blue: #1e3a5f;
  --accent-red: #6b1e2f;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
}

html {
  scroll-behavior: auto;
}

body {
  background-color: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
}

/* Glass morphism utility */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Section spacing */
section {
  position: relative;
}

/* Typography scale */
.heading-xl {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.heading-lg {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.heading-md {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.text-accent {
  font-family: var(--font-serif);
  font-style: italic;
}

.body-text {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}

.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-primary {
  background: var(--text);
  color: var(--black);
}

.btn-primary:hover {
  background: rgba(245, 245, 245, 0.85);
}

/* Visibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Reduced-motion / WebGL fallback for the ink hero
   (body.ink-static is set by webgl-hero.js when WebGL is off)
   ============================================================ */
body.ink-static #hero-canvas {
  background: radial-gradient(circle at 50% 35%, #2a1a3a 0%, #130d1c 45%, #0a0a0a 78%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
