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

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

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

.nav__title {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d3530;
  z-index: 100;
  white-space: nowrap;
}

.nav__toggle,
.nav__work-toggle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d3530;
  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: #3d3530;
  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%;
}

.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: #3d3530;
  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 0.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: #3d3530;
  transition: width 0.3s ease;
}

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

.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; }

.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: #3d3530;
  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: #3d3530;
  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%;
}

.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; }
.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; }

/* ========================
   JOURNAL PAGE
======================== */
.journal-page {
  padding: 140px 5% 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  align-items: start;
}

.journal-item figure {
  width: 100%;
  margin-bottom: 20px;
}

.journal-item figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.journal-date {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 10px;
}

.journal-item h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.journal-subtitle {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #888;
  margin-bottom: 20px;
}

.journal-read {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d3530;
  text-decoration: none;
  border-bottom: 1px solid #3d3530;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.journal-read:hover {
  opacity: 0.4;
}

/* ========================
   CURSOR
======================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #3d3530;
  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;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  nav { padding: 20px 24px; }
  .journal-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .journal-page {
    grid-template-columns: 1fr;
    padding: 80px 5% 60px;
  }
}