:root {
  --bg: #0a0b0f;
  --surface: #12141c;
  --surface2: #1a1d28;
  --text: #e8eaef;
  --text-muted: #8b90a0;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --border: #2a2e3d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Hero */
header {
  text-align: center;
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 42ch;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

p strong, .highlight {
  color: var(--text);
}

ul, ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

li {
  margin-bottom: 0.35rem;
}

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

a:hover {
  text-decoration: underline;
}

/* Media */
.media-block {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.media-block img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.media-grid .media-block {
  margin: 0;
}

/* Videos */
.video-section h2 {
  margin-top: 0;
}

.video-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.video-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.video-item video {
  display: block;
  width: 100%;
  max-height: 400px;
  background: #000;
}

.video-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* GLB interactive viewer */
.glb-section h3 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 1.5rem 0 0.75rem;
}
.glb-viewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.glb-viewer-wrap {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.glb-viewer-wrap figcaption {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.glb-viewer {
  width: 100%;
  height: 320px;
  display: block;
  background: #0d0e12;
}
.glb-viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.glb-viewer-msg {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Collaboration list */
.collab-list {
  list-style: none;
  margin-left: 0;
}

.collab-list li {
  margin-bottom: 1.25rem;
  padding-left: 0;
}

.collab-list strong {
  color: var(--accent);
  font-size: 0.95rem;
}

.collab-list span {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
  margin-top: 0.25rem;
}

/* Next steps CTA */
.cta {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--accent-dim);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.cta p {
  margin-bottom: 0.5rem;
}

.cta p:last-child {
  margin-bottom: 0;
}
