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

:root {
  --bg: #0d0c0a;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #e8e2d8;
  --muted: rgba(232,226,216,0.45);
  --accent: rgb(255,210,100);
  --accent-dim: rgba(255,210,100,0.15);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'Geist Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Canvas */
#canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Layout */
main {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 8rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 400;
  line-height: 0.88;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.hero h1 span {
  font-style: italic;
  color: var(--accent);
}

.desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--muted);
}

/* Specs panel */
.specs {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  border-radius: 2px;
  padding: 2.5rem;
  margin-bottom: 5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-bottom: 2.5rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.spec-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.4);
}

.color-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.color-presets {
  display: flex;
  gap: 0.6rem;
}

.preset {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  outline: none;
}

.preset:hover { transform: scale(1.2); }
.preset.active { border-color: var(--text); transform: scale(1.15); }

/* About */
.about h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.about ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about li {
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}

.about li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
}

.about li strong {
  color: var(--text);
  font-weight: 400;
}

@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 6rem); }
}
