:root {
  --bg: #000000;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.82);
  --muted: rgba(255, 255, 255, 0.65);
  --max-width: 540px;
}

/* ---------------------------
   Reset
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* ---------------------------
   Base
--------------------------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  overflow: hidden;
  /* no scroll */
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* Fade out on navigation */
body.is-leaving {
  opacity: 0;
}

.page {
  position: relative;
  min-height: 100vh;
}

/* Hide scrollbars (extra safety; overflow already hidden) */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

html {
  scrollbar-width: none;
}

body {
  -ms-overflow-style: none;
}

/* Initial page fade-in */
.fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade.show {
  opacity: 1;
}

/* ---------------------------
   Shared layout / accessibility
--------------------------- */
.section {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10vh 8vw;
  cursor: pointer;
}

/* Button reset (keeps focus support) */
.click-zone {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.click-zone:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 6px;
}

/* Names */
.special-name {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 24px;
}

/* ---------------------------
   HERO
--------------------------- */
.hero {
  z-index: 1;
  transition: opacity 0.9s ease;
}

.hero-dim {
  opacity: 0.15;
}

.hero-inner {
  max-width: var(--max-width);
  text-align: left;
  position: relative;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: titleFadeIn 1s ease forwards;
  animation-delay: 0.2s;
}

.hero-mark {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
  transform: translateY(-4px);
  opacity: 0;
  animation: heroMarkIn 0.9s ease forwards;
  animation-delay: 1.1s;
}

.hero-underline {
  height: 1px;
  background: var(--text);
  margin-top: 1.4rem;
  transform: translateX(-6px);
  width: 0;
  opacity: 0.95;
  animation: drawUnderline 1.2s ease forwards;
  animation-delay: 1.8s;
}

/* ---------------------------
   ABOUT (floating card)
--------------------------- */
.about {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;

  transition:
    opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-inner {
  max-width: var(--max-width);
  text-align: center;
  line-height: 1.2;
}

.about-intro {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  margin-bottom: 2.8rem;
}

.about-list {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  margin-bottom: 3rem;
  line-height: 0.9;
}

.about-list>div+div {
  margin-top: 0.3rem;
}

.about-link {
  cursor: pointer;
  display: block;
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s ease;
}

.about-link:hover {
  transform: scale(1.08);
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
}

.about-footer {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  color: var(--soft);
  margin-top: 0.8rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.95);
  transition:
    opacity 0.35s ease,
    letter-spacing 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover {
  opacity: 1;
  letter-spacing: 0.5px;
  transform: scale(1.08);
  cursor: pointer;
}

/* ---------------------------------
   Collection ripple (still → wave)
--------------------------------- */

.collection-item {
  position: relative;
  overflow: hidden;

  /* gentle expansion */
  transform: scale(1);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cursor hover */
.collection-item:hover {
  transform: scale(1.045);
}

/* Touch / finger slide */
.collection-item.is-touched {
  transform: scale(1.045);
}


/* ---------------------------
   Secret left nav (Easter egg)
--------------------------- */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 56px;
  z-index: 1200;
}

/* 8px “secret door” hover zone */
.side-nav::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
}

.side-nav__rail {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 1px;
  height: 120px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition:
    height 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.7s ease,
    background 0.7s ease;
}

.side-nav__panel {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  display: grid;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-nav__link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.9;
  transition:
    opacity 0.35s ease,
    letter-spacing 0.35s ease,
    color 0.35s ease;
}

.side-nav__link:hover {
  opacity: 1;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.95);
}

.side-nav.side-nav--open .side-nav__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.side-nav.side-nav--open .side-nav__rail {
  opacity: 0.9;
  height: 180px;
  background: rgba(255, 255, 255, 0.22);
}

/* ---------------------------
   Animations
--------------------------- */
@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMarkIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes drawUnderline {
  from {
    width: 0;
  }

  to {
    width: 27px;
  }
}

/* ---------------------------
   Responsive tweaks
--------------------------- */
@media (max-width: 600px) {
  .section {
    padding: 8vh 10vw;
  }

  .hero-inner {
    text-align: left;
  }
}