/* studio.css */
:root {
  --bg-color: #050505;
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --accent: #EAEAEA;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --spacing-section: clamp(10rem, 20vw, 20rem);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  z-index: 9999;
  transform-origin: left;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Main Container */
.section {
  padding: var(--spacing-section) 5vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
  color: var(--text-secondary);
}

/* 1. Intro */
.intro-scene {
  background: var(--bg-color);
  justify-content: center;
  align-items: flex-start;
  padding-top: 20vh;
  position: relative;
  overflow: hidden;
}

.network-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* sit strictly behind text */
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 10;
}

.intro-content h1 {
  font-size: clamp(3.5rem, 8vw, 8rem);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.subtitle-text {
  font-size: clamp(1.5rem, 4vw, 4rem);
  color: var(--text-secondary);
  font-weight: 300;
  font-family: var(--font-body);
}

.intro-subtext {
  font-size: clamp(1.2rem, 2vw, 2rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin-top: 3rem;
  font-family: var(--font-body);
  font-weight: 300;
}

.scroll-hint {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: clamp(6rem, 15vh, 15rem);
  opacity: 0.8;
}

/* 2. Idea Map */
.idea-map {
  position: relative;
  min-height: 120vh;
}

.nodes-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
}

.node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  color: var(--text-primary);
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition:
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.8s ease,
    letter-spacing 0.8s ease;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.node::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  transition: transform 0.6s ease;
}

.node:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  letter-spacing: 0.1em;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.node:hover::before {
  transform: scale(2);
}

.node::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: normal;
  width: 200px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-transform: none;
  letter-spacing: normal;
}

.node:hover::after {
  opacity: 1;
  transform: translate(-50%, 10px);
}

/* 3. Selected Work */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 15rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.project-card:nth-child(even) {
  direction: rtl;
}

.project-card:nth-child(even) .project-info {
  direction: ltr;
}

@media(min-width: 900px) {
  .project-card {
    grid-template-columns: 3fr 2fr;
    gap: 8rem;
  }
}

.project-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  display: block;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: filter 0.8s ease, transform 1.2s ease;
  transform: scale(1.02);
}

.project-image-wrapper:hover img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1);
}

.placeholder-dark {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
  transition: background 0.8s ease;
}

.project-image-wrapper:hover .placeholder-dark {
  background: linear-gradient(45deg, #111111, #222222);
}

.project-info h3 {
  font-size: clamp(3rem, 4vw, 5rem);
  margin-bottom: 1rem;
}

.project-info h3 a {
  opacity: 1;
}

.project-info h3 a:hover {
  opacity: 0.6;
}

.project-info p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  margin-bottom: 2rem;
  max-width: 400px;
}

/* 4. Photography */
.photography-gateway {
  text-align: center;
}

.photo-title {
  font-size: clamp(4rem, 8vw, 8rem);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.photo-desc {
  font-size: clamp(1.2rem, 2vw, 2rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  font-family: var(--font-body);
  font-weight: 300;
}

.external-link {
  font-size: 1.2rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 0.2rem;
}

/* 5. Closing */
.footer-collab {
  text-align: center;
  align-items: center;
  min-height: 80vh;
}

.closing-text {
  font-size: clamp(1.5rem, 3vw, 3rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-family: var(--font-body);
  font-weight: 300;
}

.hero-link {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-family: var(--font-display);
  text-transform: uppercase;
  position: relative;
}

.socials {
  margin-top: 6rem;
  display: flex;
  gap: 3rem;
  justify-content: center;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: var(--font-display);
}

/* Utilities */
.line {
  display: inline-block;
  overflow: hidden;
}


.nav {
  position: fixed;
  top: 2rem;
  right: 3rem;
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 100;
}

/* Navigation */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 30px 40px;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: auto;
}

.logo {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-decoration: none;
  font-size: 18px;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.7;
  transition: opacity .3s;
}

.nav-links a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Manifesto */
.manifesto {
  align-items: center;
  text-align: center;
}

.manifesto-text {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.nav-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 80px;
  right: 40px;
  background: #050505;
  padding: 20px;
  gap: 20px;
}

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

  .menu-toggle {
    display: block;
  }
}

@media(max-width:768px) {

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

}

/* Project Media */
.media-block {
  width: 100%;
  margin: 6rem 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.media-block img, 
.media-block video {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 6rem 0;
}

@media(min-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  }
}

.media-grid img, 
.media-grid video {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
}

.back-nav {
  display: inline-block;
  margin: 4rem 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-nav:hover {
  opacity: 1;
  transform: translateX(-10px);
}

.hero {
  max-width: 1100px;
  padding-left: 8vw;
}