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

html,
body {
  height: 100%;
}

body {
  background-color: #0b0b0b;
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

.header {
  position: fixed;
  top: 35px;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 300;
  pointer-events: none;
}

.logo {
  font-size: 24px;
  letter-spacing: 3px;
  font-weight: 500;
  pointer-events: auto;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  pointer-events: auto;
}

.subtitle-primary {
  color: #aaa;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.subtitle-secondary {
  color: #666;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 1.5px;
}

.nav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: auto;
}

.nav-item {
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  text-align: right;
  transition: color 0.3s ease;
}

.nav-item.active,
.nav-item:focus-visible {
  color: #fff;
}

.nav-item:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.55);
  outline-offset: 4px;
}

.nav-indicator {
  position: absolute;
  z-index: 1;
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.viewfinder-frame {
  position: fixed;
  top: 15px;
  left: 3vw;
  z-index: 90;
  width: 94vw;
  height: 94vh;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.bottom-right {
  right: 0;
  bottom: 0;
  border-left: none;
  border-top: none;
}

.sections-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.page-section {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 15%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.page-section.active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.section-title {
  margin-bottom: 16px;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.section-desc {
  max-width: 600px;
  color: #888;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.8;
}

.lens-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lens-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.lens-housing {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(440px, 78vw);
  height: min(440px, 78vw);
  border: 12px solid #2a2a2a;
  border-radius: 50%;
  background: radial-gradient(circle, #222 0%, #111 70%, #050505 100%);
  box-shadow: 0 0 0 2px #111, 0 0 0 10px #1d1d1d, 0 0 40px rgba(0, 0, 0, 0.9);
}

.lens-text {
  position: absolute;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lens-text.top {
  top: 12px;
}

.lens-text.bottom {
  bottom: 12px;
}

.shutter-wrapper {
  position: relative;
  width: min(360px, 64vw);
  height: min(360px, 64vw);
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  transition: transform 0.5s ease-out;
}

.center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 4px 10px;
  transform: translate(-50%, -50%);
}

.blade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 50%, 40% 0%, 100% 0%, 100% 75%);
  filter: drop-shadow(-4px 4px 6px rgba(0, 0, 0, 0.6));
  transform-origin: 50% 50%;
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.blade-1 {
  transform: rotate(0deg);
}

.blade-2 {
  transform: rotate(60deg);
}

.blade-3 {
  transform: rotate(120deg);
}

.blade-4 {
  transform: rotate(180deg);
}

.blade-5 {
  transform: rotate(240deg);
}

.blade-6 {
  transform: rotate(300deg);
}

.shutter-wrapper.closed {
  transform: scale(0.8) rotate(-60deg);
}

.shutter-wrapper.closed .blade {
  opacity: 0;
  transform: scale(0.05) rotate(180deg);
}

@media (max-width: 700px) {
  .header {
    top: 24px;
    align-items: center;
  }

  .logo {
    max-width: 110px;
    font-size: 16px;
    line-height: 1.25;
  }

  .header-center {
    display: none;
  }

  .nav {
    gap: 6px;
  }

  .nav-item {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .section-title {
    font-size: 32px;
    letter-spacing: 3px;
  }

  .section-desc {
    font-size: 13px;
  }
}
