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

:root {
  --bg: #ffffff;
  --text: #0f0f0f;
  --muted: #666666;
  --border: #e5e5e5;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --text: #f5f5f5;
  --muted: #999999;
  --border: #222222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

/* Theme toggle */
.theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text);
  z-index: 10;
}

/* Panels */
.panel {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8vw;
}

.intro {
  justify-content: flex-start;
}

.content {
  max-width: 640px;
}

.wave {
  font-size: 2rem;
  margin-bottom: 24px;
}

h1 {
  font-size: 2.75rem;
  margin: 0 0 12px;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--muted);
}

/* Split panels */
.split {
  gap: 6vw;
}

.split.left {
  flex-direction: row;
}

.split.right {
  flex-direction: row-reverse;
}

.split img {
  max-height: 70vh;
  max-width: 40vw;
  object-fit: contain;
}

.text {
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 8vw;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  column-gap: 80px;
}

.intro .content {
  justify-self: end;
}

.intro-image {
  justify-self: start;
  max-height: 55vh;
  max-width: 320px;
  object-fit: contain;
  opacity: 0.95;
}



/* Mobile */
@media (max-width: 768px) {

@media (max-width: 768px) {
  .intro-inner {
    grid-template-columns: 1fr;
    text-align: left;
    row-gap: 40px;
  }

  .intro .content {
    justify-self: start;
  }

  .intro-image {
    justify-self: center;
    max-width: 220px;
    max-height: 40vh;
  }
}
  .panel {
    padding: 0 24px;
  }

  .split {
    flex-direction: column !important;
    text-align: center;
  }

  .split img {
    max-width: 90vw;
    max-height: 50vh;
  }

  .text {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer a {
    margin-left: 0;
    margin-right: 24px;
  }
}

.progress {
  position: fixed;
  left: 32px;
  top: 0;
  height: 100vh;
  width: 1px;
  background: var(--border);
  z-index: 5;
}

.progress .marker {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 80px;
  background: var(--text);
  transition: top 0.2s ease-out;
}

.section-number {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .progress {
    display: none;
  }
}

/* Hide scrollbar but keep scrolling */

/* Chrome, Safari, Edge */
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Firefox */
body {
  scrollbar-width: none;
}

/* Internet Explorer 10+ (legacy) */
body {
  -ms-overflow-style: none;
}
