@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-VariableFont_wght.woff2') format('woff2'),
       url('fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background: #000;
  color: #fff;
}

/* ── CUSTOM CURSOR ── */

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

/* ── PAGES ── */

#slideshow-page,
#about-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#about-page {
  opacity: 0;
  visibility: hidden;
  background: #fff;
  color: #1a1a1a;
}

#about-page.visible {
  opacity: 1;
  visibility: visible;
}

/* ── HEADER ── */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: 32px;
}

.logo {
  text-decoration: none;
  color: #fff;
  font-size: 3.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  opacity: 0;
}

#slideshow-page header {
  mix-blend-mode: difference;
}

.fonts-loaded .logo {
  opacity: 1;
}

.logo:hover {
  opacity: 0.7;
}

#about-page .logo {
  color: #1a1a1a;
}
.about-header {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding-bottom: 20px;
}

/* ── SLIDESHOW ── */

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── SLIDE NAV ZONES ── */

.slide-nav {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 50;
}

.slide-prev {
  left: 0;
}

.slide-next {
  right: 0;
}

/* ── FOOTER ── */

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
  padding-bottom: 20px;
}

footer p {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  opacity: 0.6;
  font-weight: 300;
}

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

footer a:hover {
  opacity: 0.7;
}

#slideshow-page footer p {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  mix-blend-mode: difference;
}

#about-page footer {
  background: #fff;
}

#about-page footer p {
  color: #1a1a1a;
}

/* ── CTA SLIDE ── */

.slide-cta {
  background: #f1c338;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-link {
  text-decoration: none;
  color: #fff;
}

.cta-text {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: none;
}

.slide-cta.active .cta-text {
  animation: ctaReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

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

.cta-link {
  position: relative;
  z-index: 60;
  transition: opacity 0.3s ease;
}

.cta-link:hover {
  opacity: 0.7;
}

/* ── ABOUT ── */

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 80px 80px;
  overflow-y: auto;
}

.about-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.about-contact a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

.about-contact a:hover {
  opacity: 0.5;
}

.about-contact .separator {
  color: #999;
  font-size: 0.8rem;
}

.about-address {
  text-align: center;
  margin-bottom: 60px;
}

.about-address a {
  color: #888;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

.about-address a:hover {
  opacity: 0.5;
}

.about-bios {
  display: flex;
  justify-content: center;
  gap: 140px;
}

.bio {
  width: 300px;
  flex-shrink: 0;
}

.bio h2 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.bio p {
  font-size: 0.88rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #3a3a3a;
}

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  * {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .logo {
    font-size: 2rem;
  }

  header {
    padding-top: 24px;
  }

  .about-header {
    gap: 6px;
  }

  .about-content {
    padding: 220px 28px 70px;
    justify-content: flex-start;
  }

  .about-contact {
    flex-direction: column;
    gap: 4px;
  }

  .about-contact .separator {
    display: none;
  }

  .about-contact a {
    font-size: 0.8rem;
  }

  .about-address {
    margin-bottom: 40px;
  }

  .about-address a {
    font-size: 0.78rem;
  }

  .about-bios {
    flex-direction: column;
    gap: 36px;
    align-items: center;
  }

  .bio {
    width: 100%;
    max-width: 340px;
  }

  .bio h2 {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .bio p {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .cta-text {
    font-size: 1.8rem;
  }

  footer {
    padding-bottom: 14px;
  }

  footer p {
    font-size: 0.6rem;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 1.6rem;
  }

  .about-content {
    padding: 200px 20px 60px;
  }

  .cta-text {
    font-size: 1.5rem;
  }
}
