/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* eeff00 */
:root {
  --bg:         #fff;
  --surface:    #ffffff9f;
  --border:     rgb(255, 255, 0);
  --text:       rgb(255, 0, 255);
  --muted:      #454545;
  --accent:     #000fff;   /* lime-green accent — change to suit your taste */
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --radius:     6px;
  --transition: 0.25s ease;
}

html {
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-mono);
  line-height: 1.6;
  overflow: hidden; /* scroll container handles scrolling */
}

/* ============================================================
   SCROLL CONTAINER
   ============================================================ */
.scroll-container {
  display: flex;
  flex-direction: row;
  width: 100dvw;
  height: 100dvh;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  flex-shrink: 0;
  width: 100dvw;
  height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 60px;
}

/* ============================================================
   NAV DOTS
   ============================================================ */
.nav-dots {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 12px;
  z-index: 100;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: black solid 1px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.dot:hover {
  /* background: var(--accent); */
  transform: scale(1.4);
  /* border: none; */
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
  border: none;
}

/* ============================================================
   LANDING SECTION
   ============================================================ */
.landing {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: max(60px, 8vw);
}

.landing-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  width: 100%;
  /* justify-content: space-between; */
}

.landing-content {
  max-width: 680px;
}

.landing-image {
  margin: auto;
}

.landing-image img {
  width: 20rem;
}

.landing-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.landing-name {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 32px;
}

.landing-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

.landing-links {
  display: block;
  align-items: center;
  gap: 24px;
}

.landing-links ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.landing-links li:before {
  content: "*";
  padding-right: 5px;
  font-size: 0.875rem;
  font-family: var(--font-mono);
}

.contact-link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color var(--transition), border-color var(--transition);
}

.contact-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInRight 1s ease 1.2s both;
}

.scroll-arrow {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1;
  animation: scrollPulse 2s ease infinite;
}

.scroll-arrow::before {
  content: "→";
  white-space: pre;
  text-align: center;
  display: block;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50%       { opacity: 1;   transform: scaleX(1.15); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateY(-50%) translateX(16px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* ============================================================
   PROJECT SECTIONS
   ============================================================ */
.project {
  align-items: flex-start;
  padding: 40px max(40px, 5vw);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.project-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  width: 100%;
  max-width: 1300px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.scroll-images-hint {
  position: absolute;
  bottom: 20px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  pointer-events: none;
}

/* ---- Left: Info column ---- */
.project-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding-right: 20px;
}


.project-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.project-description {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Tools */
.tools-section {
  margin-top: 4px;
}

.tools-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.tools-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tools-list li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  /* background: var(--surface); */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 12px;
}

/* Tab bar */
.tab-bar {
  display: flex;
  gap: 4px;
}

.tab-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.tab-btn:hover {
  color: var(--text);
  border-color: var(--muted);
}

.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* ---- Right: Media column ---- */
.project-media {
  position: relative;
  display: flex;
  align-items: center;
}

/* Tab panels */
.tab-panel {
  display: none;
  width: 100%;
  height: 100%;
}

.tab-panel.active {
  display: flex;
  align-items: center;
}

/* Media grid — flex column layout */
.media-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
}

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: border-color var(--transition);
  overflow: hidden;
}

.media-placeholder:hover {
  border-color: var(--muted);
}

.img-placeholder {
  width: 70%;
  aspect-ratio: 16 / 9;
}

.img-placeholder:has(video) {
  width: 90%;
  /* margin: auto; */
}

.img-placeholder.aspect-square {
  aspect-ratio: 1;
}

.img-placeholder.aspect-portrait {
  aspect-ratio: 9 / 16;
}

/* When you replace placeholder with a real iframe */
.media-placeholder iframe,
.media-placeholder img,
.media-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

/* Process details — shown in left column when process tab active */
.process-details {
  display: none;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.project-inner.process-active {
  align-items: start;
}

.project-inner.process-active .process-details {
  display: flex;
}

.project-inner.process-active .project-description,
.project-inner.process-active .tools-section {
  display: none;
}

.process-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.process-details p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
}

.process-details ul {
  list-style: none;
  padding-left: 0;
}

.process-details ul li::before {
  content: "* ";
}

.process-details ul li {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #000;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step p {
  margin-bottom: 0;
  padding-top: 3px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   RESPONSIVE — TABLET/MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .section {
    padding: 32px 24px;
  }

  .landing {
    padding-left: 24px;
    overflow-y: auto;
    align-items: flex-start;
    touch-action: pan-y;
  }

  .landing-inner {
    flex-direction: column;
  }

  .landing-image {
    margin: 0;
  }

  .landing-image img {
    width: 12rem;
  }

  .project-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 28px;
    overflow-y: auto;
  }

  .project-info {
    padding-right: 0;
  }

  .scroll-images-hint {
    position: static;
    margin-top: 8px;
  }

  .nav-dots {
    bottom: 12px;
  }
}

@media (max-width: 540px) {
  .landing-name {
    font-size: 2.6rem;
  }

}
