/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: #0f0f10;
  color: #f5f5f5;
   -webkit-font-smoothing: antialiased;
}


/* =========================
   NAV (minimal)
========================= */

:root {
  --nav-height: 80px; /* adjust if your nav is taller */
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(15,15,16,.85);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
 padding: 10px 28px;
}

.nav a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  margin-left: 28px;
}

.nav a:hover {
  color: white;
}

:root {
  --nav-height: 80px;
}


/* =========================
   TYPE (deck scale)
========================= */

h1 {
  font-size: clamp(56px, 8vw, 110px);
  letter-spacing: -0.03em;
  margin: 0;
}

h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.02em;
  margin: 0 0 60px 0;
}

p {
  font-size: 18px;
  line-height: 1.7;
  color: #bdbdbd;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  display: block;
  margin-bottom: 18px;
}

.role {
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 20px;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero svg {
  position: absolute;
  top: var(--nav-height);
  left: 0;
}


/* =========================
   PROJECT SECTIONS
========================= */

.project {
  width: 100%;
  padding: 200px 28px;
}

.project:nth-child(even) {
  background: #121214;
}


/* two-column layout */

.project-layout {
  max-width: 1280px;
  margin: auto;
  margin-left: 4%;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}


/* sticky text */

.project-info {
  position: sticky;
  top: 120px;
}


/* image column */

.project-media {
  display: grid;
  gap: 28px;
}

.project-media img {
  width: 100%;
  border-radius: 14px;
  display: block;
}


/* =========================
   IMPORTANT FIX
   prevent sticky overlap
========================= */

/* disables sticky for final project automatically */
.project:last-of-type .project-info {
  position: relative;
  top: auto;
}


/* =========================
   ABOUT + CONTACT
   ALWAYS FULL WIDTH ROWS
========================= */

.about,
.contact {
  width: 100%;
  padding: 220px 28px;
  text-align: center;
  background: #0f0f10;

  position: relative;
  z-index: 5;

  display: block;
}


/* =========================
   MOTION (subtle)
========================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .project-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-info {
    position: relative;
    top: auto;
  }

  .project {
    padding: 120px 20px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  .nav-links {
    display: none;
  }
}
/* =========================
   DROPDOWN NAV (WORK)
========================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* button reset */
.drop-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.drop-btn:hover {
  color: white;
}

.dropdown {
  position: relative;
}

/* menu panel */
.dropdown-menu {
  position: absolute;
  top: 140%;
  right: 0;

  background: #161618;
  border-radius: 12px;
  padding: 10px 0;

  min-width: 200px;

  box-shadow: 0 12px 30px rgba(0,0,0,.4);

  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;

  transition: all 180ms ease;
}

/* show on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* menu items */
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #222;
  color: white;
}
/* =========================
   REEL VIDEO (match images)
========================= */

/* make video container behave like image grid */
.video-block {
  display: block;
  width: 100%;
}

/* same sizing behavior as images */
.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}

/* fill entire space */
.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* =========================
   LOGO
========================= */

.logo {
  display: flex;
  align-items: left;
  color: white;
}

.logo-mark {
  height: 20px;
  width: auto;
}


/* =========================
   NAV FIX OVERRIDE (SAFE)
========================= */



.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero {
  padding-top: 140px !important;
}


/* =========================
   FINAL CLEAN STICKY NAV
========================= */

.nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(15,15,16,.85);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   MOBILE NAV CLEANUP
========================= */

@media (max-width: 768px) {

  .nav-inner {
    padding: 12px 16px;
  }

  /* Shrink logo */
  .logo svg {
    width: 36px;
    height: auto;
  }

  /* Tighter nav spacing */
  .nav-links {
    gap: 14px;
  }

  .nav a {
    font-size: 14px;
  }

  /* Prevent hero from fighting nav */
  .hero {
    padding-top: 70px;
  }

}