@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&family=Dancing+Script:wght@700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b0f1a;
  color: #e0e4ed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #7df3ff;
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 100;
  border-bottom: none;
  transition: background 0.3s ease;
}

.topbar.scrolled {
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar .logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 30px);
  color: #b8f8ff;
  white-space: nowrap;
  text-shadow:
    0 0 4px #fff,
    0 0 10px #7df3ff,
    0 0 25px #7df3ff,
    0 0 50px #0fa8c4,
    0 0 100px #0fa8c4,
    0 0 150px #0fa8c4;
}

.logo-studio {
  font-family: 'Dancing Script', cursive;
  font-weight: 400;
  font-size: 14px;
  color: #b8f8ff;
  white-space: nowrap;
  text-shadow:
    0 0 4px #fff,
    0 0 10px #7df3ff,
    0 0 25px #7df3ff,
    0 0 50px #0fa8c4,
    0 0 100px #0fa8c4;
}

.nav-desktop a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-left: 32px;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: #7df3ff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.open span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  right: 20px;
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 16px 24px;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

/* Hero */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 40px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -4px;
  color: #fff;
  margin-bottom: 16px;
}

.hero-accent {
  width: 80px;
  height: 4px;
  background: #7df3ff;
  box-shadow: 0 0 8px #7df3ff, 0 0 20px #0fa8c4;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bio {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.4s forwards;
}

.hero-bio-text p {
  font-size: 18px;
  color: #8892a8;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(20%);
}

.cta-hero {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  background: #7df3ff;
  color: #0b0f1a;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.cta-hero:hover {
  background: #b8f8ff;
}

/* Beliefs */
.beliefs {
  background: none;
  padding: 0;
}

.belief {
  border-bottom: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.belief-content {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  width: 100%;
  padding: 80px 60px;
}

.belief-inner {
  flex: 1;
}

/* Number slides in from left: orange → white → faded */
.belief-number {
  font-size: clamp(100px, 15vw, 180px);
  font-weight: 900;
  opacity: 0;
  letter-spacing: -6px;
  font-variant-numeric: tabular-nums;
  color: #7df3ff;
  line-height: 1;
  flex-shrink: 0;
  width: 200px;
  transform: translateX(-80px);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s ease;
  user-select: none;
}

.belief-number.visible {
  opacity: 1;
  transform: translateX(0);
  color: #fff;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease 0.3s;
}

.belief-number.settled {
  color: rgba(255, 255, 255, 0.08);
  transition: color 0.8s ease;
}

/* Text slides in from right */
.belief h2,
.belief p {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.belief h2.visible,
.belief p.visible {
  opacity: 1;
  transform: translateX(0);
}

.belief p.visible {
  transition-delay: 0.3s;
}

.belief h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: #f0f2f8;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.belief p {
  font-size: 18px;
  color: rgba(224, 228, 237, 0.7);
  line-height: 1.8;
  max-width: 620px;
  letter-spacing: 0.01em;
}

.belief p strong {
  color: #f0f2f8;
  font-weight: 700;
}

.belief:nth-child(1)  { background: #0f1729; }
.belief:nth-child(2)  { background: #0f2028; }
.belief:nth-child(3)  { background: #1a1530; }
.belief:nth-child(4)  { background: #0d1f1f; }
.belief:nth-child(5)  { background: #1c1525; }
.belief:nth-child(6)  { background: #121a2e; }
.belief:nth-child(7)  { background: #181228; }

/* Contact */
.contact {
  padding: 100px 40px;
  background: #0b0f1a;
  border-top: 1px solid #1a1f2e;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: #f0f2f8;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.contact p {
  font-size: 18px;
  color: #8892a8;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.availability {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7df3ff;
  background: rgba(125, 243, 255, 0.1);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-field {
  flex: 1;
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #8892a8;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1a1f2e;
  border-radius: 6px;
  color: #f0f2f8;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #7df3ff;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.cta-contact {
  display: inline-block;
  padding: 16px 36px;
  background: #7df3ff;
  color: #0b0f1a;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

.cta-contact:hover {
  background: #b8f8ff;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  color: #4a5568;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #f0f2f8;
}

/* Footer */
footer {
  padding: 40px;
  text-align: center;
  font-size: 13px;
  color: #2d3548;
}

/* Mobile */
@media (max-width: 600px) {
  .topbar {
    padding: 16px 20px;
    gap: 12px;
  }
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .logo-text {
    font-size: 32px !important;
  }
  .logo-text {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 56px);
    letter-spacing: -2px;
  }
  .hero-bio {
    flex-direction: row;
    gap: 16px;
  }
  .hero-photo img {
    width: 56px;
    height: 56px;
  }
  .beliefs {
    padding: 0;
  }
  .belief-content {
    flex-direction: column;
    gap: 16px;
    padding: 48px 20px;
  }
  .belief-number {
    font-size: 80px;
    width: auto;
  }
  .contact {
    padding: 60px 20px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  #trailCanvas {
    display: none;
  }
}
