:root {
  --neutral: #e8e8e8;
  --cyan: #2fe4e4;
  --orange: #ff5a1f;
  --yellow: #f4d500;
  --bg: #000000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--neutral);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6vw;
  padding: 6rem 8vw;
  position: relative;
}

.col {
  flex: 1 1 0;
  min-width: 0;
}

/* ---------- Intro ---------- */

.intro-section .text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--neutral);
  opacity: 0.7;
}

.title-main {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  color: var(--neutral);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  color: #cfcfcf;
  max-width: 42ch;
}

.scroll-cue {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.arrow {
  display: inline-block;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.video-frame {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Tomes ---------- */

.tome-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tome-section.reverse {
  flex-direction: row-reverse;
}

.tome-section .text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.title-tome {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: 0.06em;
}

.summary {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: #d8d8d8;
  max-width: 46ch;
}

.cover-col {
  display: flex;
  justify-content: center;
}

.cover-col img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 4px;
}

/* Color theming per tome */

.tome-cyan .eyebrow,
.tome-cyan .title-tome {
  color: var(--cyan);
}
.tome-cyan .cover-col img {
  box-shadow: 0 0 70px rgba(47, 228, 228, 0.35);
}

.tome-orange .eyebrow,
.tome-orange .title-tome {
  color: var(--orange);
}
.tome-orange .cover-col img {
  box-shadow: 0 0 70px rgba(255, 90, 31, 0.35);
}

.tome-yellow .eyebrow,
.tome-yellow .title-tome {
  color: var(--yellow);
}
.tome-yellow .cover-col img {
  box-shadow: 0 0 70px rgba(244, 213, 0, 0.35);
}

/* ---------- Scroll reveal ---------- */

.section .col {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.in-view .col {
  opacity: 1;
  transform: translateY(0);
}

.section.in-view .col.cover-col {
  transition-delay: 0.15s;
}

/* ---------- Nav dots ---------- */

.dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.dot[data-color="cyan"].active { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot[data-color="orange"].active { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 10px var(--orange); }
.dot[data-color="yellow"].active { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.dot[data-color="neutral"].active { background: var(--neutral); border-color: var(--neutral); box-shadow: 0 0 10px var(--neutral); }

/* ---------- Contact ---------- */

.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.contact-form label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--neutral);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(47, 228, 228, 0.25);
}

.contact-form button {
  margin-top: 0.5rem;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.contact-form button:hover:not(:disabled) {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(47, 228, 228, 0.4);
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.contact-status.success { color: var(--cyan); }
.contact-status.error { color: var(--orange); }

@media (max-width: 860px) {
  .contact-col {
    align-items: center;
    text-align: center;
  }

  .contact-form label {
    align-self: flex-start;
  }

  .contact-form button {
    align-self: center;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .section,
  .tome-section.reverse {
    flex-direction: column;
    text-align: center;
    padding: 5rem 6vw;
    gap: 2.5rem;
  }

  .intro-section .text-col,
  .tome-section .text-col {
    align-items: center;
  }

  .lead,
  .summary {
    max-width: 100%;
  }

  .dots {
    right: 1rem;
    gap: 0.75rem;
  }
}
