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

:root {
  --dark: #111;
  --light: #f0f0f0;
  --muted: #777;
}

html.lenis, html.lenis body {
  height: auto;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--light);
  color: var(--dark);
}

.inverted ::selection {
  background: var(--dark);
  color: var(--light);
}

/* INVERTED SECTIONS */
.inverted {
  background: var(--light);
  color: var(--dark);
}

.inverted .service-num,
.inverted .service-sub,
.inverted .approach-num {
  color: #999;
}

/* CURSOR */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s ease;
}

.cursor.hover {
  transform: scale(4);
}

@media (pointer: coarse) {
  .cursor { display: none; }
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  mix-blend-mode: difference;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 1rem;
  color: var(--light);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 1;
}

/* HERO */
.hero {
  height: 150vh;
  position: relative;
  z-index: 1;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4vw;
  overflow: hidden;
}

.hero-title {
  display: flex;
  flex-direction: column;
}

.hero-title .line {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 38vw;
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  clip-path: inset(0 100% 0 0);
  animation: swipeReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-title .line-1 {
  align-self: flex-start;
  margin-left: -2vw;
  animation-delay: 0.2s;
}

.hero-title .line-2 {
  align-self: flex-end;
  margin-right: -2vw;
  animation-delay: 0.4s;
}

@keyframes swipeReveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.hero-meta {
  position: absolute;
  bottom: 8vh;
  left: 4vw;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* INTRO */
.intro {
  min-height: 100vh;
  padding: 20vh 4vw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-top: -50vh;
}

.intro-headline {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.1;
  text-transform: uppercase;
  max-width: 900px;
  text-align: right;
}

/* SERVICES */
.services {
  padding: 15vh 0;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 8vh 4vw;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, background 0.4s ease;
}

.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
}

.service:hover::before {
  transform: scaleX(1);
}

.service:hover {
  color: var(--dark);
}

.service:hover .service-num,
.service:hover .service-sub {
  color: #999;
}

.service > * {
  position: relative;
  z-index: 1;
}

.service:first-child {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.service:nth-child(1) { align-items: flex-start; padding-right: 30vw; }
.service:nth-child(2) { align-items: flex-end; padding-left: 30vw; text-align: right; }
.service:nth-child(3) { align-items: flex-start; padding-right: 20vw; }

.service-num {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.4s ease;
}

.service-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(12vw, 18vw, 22vw);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.service-sub {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s ease;
}

/* APPROACH */
.approach {
  padding: 20vh 4vw;
  display: flex;
  flex-direction: column;
  gap: 8vh;
}

.approach-item {
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.approach-item:nth-child(1) { align-self: flex-start; }
.approach-item:nth-child(2) { align-self: center; }
.approach-item:nth-child(3) { align-self: flex-end; }

.approach-num {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #999;
}

.approach-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
}

/* MARQUEE */
.marquee {
  padding: 8vh 0;
  overflow: hidden;
  background: var(--light);
}

.marquee-track {
  display: flex;
  gap: 8vw;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 20vw;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dark);
}

.marquee-track span {
  flex-shrink: 0;
}

/* CTA SECTION */
.cta-section {
  padding: 20vh 4vw;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.cta-headline {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  max-width: 900px;
}

/* CONTACT */
.contact {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.contact-left {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--dark);
}

.contact-label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
}

.contact-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--light);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-right:hover::before {
  transform: translateY(0);
}

.contact-cta {
  text-decoration: none;
  color: var(--light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  transition: color 0.5s ease;
}

.contact-right:hover .contact-cta {
  color: var(--dark);
}

.cta-line {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 25vw;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

/* FOOTER */
.footer {
  padding: 2rem 4vw;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--dark);
}

/* MOBILE */
@media (max-width: 768px) {
  /* NAV */
  .nav {
    padding: 1rem 5vw;
  }
  
  .nav-links {
    gap: 1.25rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
  }

  /* HERO - Massive, fills the screen */
  .hero-title .line {
    font-size: 32vw;
  }
  
  .hero-title .line-1 {
    margin-left: -2vw;
  }
  
  .hero-title .line-2 {
    margin-right: -2vw;
  }
  
  .hero-meta {
    bottom: 12vh;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  /* INTRO - Full width, big text */
  .intro {
    padding: 15vh 5vw;
    justify-content: center;
    margin-top: -30vh;
  }
  
  .intro-headline {
    text-align: center;
    font-size: 10vw;
    line-height: 1.05;
  }

  /* SERVICES - Stacked, fills screen */
  .services {
    padding: 8vh 0;
  }
  
  .service {
    padding: 8vh 5vw !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  
  /* Scroll-triggered invert on mobile */
  .service.in-view::before {
    transform: scaleX(1);
  }
  
  .service.in-view {
    color: var(--dark);
  }
  
  .service.in-view .service-num,
  .service.in-view .service-sub {
    color: #999;
  }
  
  .service-num {
    font-size: 0.9rem;
  }
  
  .service-name {
    font-size: 22vw;
    line-height: 0.9;
  }
  
  .service-sub {
    font-size: 1.25rem;
  }

  /* APPROACH - Stacked, big text */
  .approach {
    padding: 10vh 5vw;
    gap: 6vh;
  }
  
  .approach-item {
    align-self: flex-start !important;
    gap: 1rem;
    flex-direction: column;
  }
  
  .approach-item:nth-child(2) {
    padding-left: 5vw;
  }
  
  .approach-item:nth-child(3) {
    padding-left: 10vw;
  }
  
  .approach-num {
    font-size: 0.9rem;
  }
  
  .approach-title {
    font-size: 9vw;
    line-height: 1;
  }

  /* MARQUEE - Smaller but still moving */
  .marquee {
    padding: 5vh 0;
  }
  
  .marquee-track {
    font-size: 15vw;
    gap: 6vw;
  }

  /* CTA SECTION */
  .cta-section {
    padding: 12vh 5vw;
    min-height: 50vh;
    justify-content: center;
  }
  
  .cta-headline {
    font-size: 8vw;
    text-align: center;
    line-height: 1.1;
  }

  /* CONTACT - Stacked, full impact */
  .contact {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: auto;
  }
  
  .contact-left {
    padding: 4vh 6vw;
    justify-content: flex-start;
  }
  
  .contact-label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.85rem;
  }
  
  .contact-right {
    min-height: 60vh;
  }
  
  .cta-line {
    font-size: 20vw;
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.5rem 6vw;
    font-size: 0.85rem;
  }
}
