/* GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #f2f1ef;
  color: #1a1a1a;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

/* CURSOR */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
  z-index: 9999;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  right: 0;
  padding: 24px 32px;
  z-index: 100;
}

.nav__toggle,
.nav__work-toggle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: none;
  border: none;
  cursor: none;
  line-height: 1;
  padding: 0;
  position: relative;
  transition: opacity 0.3s ease;
}

.nav__toggle::after,
.nav__work-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav__toggle:hover,
.nav__work-toggle:hover {
  opacity: 0.5;
}

.nav__toggle:hover::after,
.nav__work-toggle:hover::after {
  width: 100%;
}

/* WORK DROPDOWN */
.nav__work {
  position: fixed;
  top: 24px;
  left: 32px;
  z-index: 100;
}

.nav__work-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s linear;
  padding: 0;
  margin-top: 12px;
}

.nav__work-links.is-open {
  max-height: 80px;
  padding-bottom: 4px;
}

.nav__work-links li a {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(-6px);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: letter-spacing 0.2s ease, font-size 2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav__work-links.is-open li a {
  opacity: 1;
  transform: translateY(0);
}

.nav__work-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav__work-links li a:hover {
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 1;
}

.nav__work-links li a:hover::after {
  width: 100%;
}

.nav__work-links.is-open li:nth-child(1) a { transition-delay: 0.1s; }
.nav__work-links.is-open li:nth-child(2) a { transition-delay: 0.2s; }

.nav__work-links li:nth-child(1) a { transition-delay: 0.2s; }
.nav__work-links li:nth-child(2) a { transition-delay: 0.1s; }

/* MENU DROPDOWN */
.nav__links {
  list-style: none;
  background: transparent;
  position: absolute;
  right: 0;
  top: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  text-align: right;
  padding: 0 32px;
  transition: max-height 0.4s linear;
}

.nav__links.is-open {
  max-height: 200px;
}

.nav__links li a {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  position: relative;
  opacity: 0;
  white-space: nowrap;
  transform: translateY(-6px);
  transition: letter-spacing 0.2s ease, font-size 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav__links.is-open li a {
  opacity: 1;
  transform: translateY(0);
}

.nav__links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav__links li a:hover {
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 1;
}

.nav__links li a:hover::after {
  width: 100%;
}

/* stagger open */
.nav__links.is-open li:nth-child(1) a { transition-delay: 0.1s; }
.nav__links.is-open li:nth-child(2) a { transition-delay: 0.2s; }
.nav__links.is-open li:nth-child(3) a { transition-delay: 0.3s; }
.nav__links.is-open li:nth-child(4) a { transition-delay: 0.4s; }

/* stagger close */
.nav__links li:nth-child(1) a { transition-delay: 0.4s; }
.nav__links li:nth-child(2) a { transition-delay: 0.3s; }
.nav__links li:nth-child(3) a { transition-delay: 0.2s; }
.nav__links li:nth-child(4) a { transition-delay: 0.1s; }

/* HERO */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

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

.hero h1 {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 400;
  letter-spacing: 0.0em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  nav { padding: 20px 24px; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
}