@import url('https://fonts.googleapis.com/css2?family=Syne:wght@200;300;400&family=DM+Sans:wght@300;400;700;900&display=swap');

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

:root { --blur: 70px; }

html, body {
  width: 100%;
  background: #07070d;
}

/* ── Page fade overlay ── */
#page-overlay {
  position: fixed;
  inset: 0;
  background: #07070d;
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#overlay-jp {
  width: 65vw;
  height: auto;
  fill: #6c718a;
  transform: scale(0);
  opacity: 0;
  filter: blur(52px);
}

/* ── Nav scroll gradient ── */
#nav-gradient {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
#nav-gradient.visible { opacity: 1; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  height: 72px;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  z-index: 10001;
  position: relative;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 1px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.2s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Full-screen menu ── */
#full-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 72px 0 52px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#full-menu.open {
  opacity: 1;
  pointer-events: all;
}
.full-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 70vh;
  width: 100%;
  padding: 0;
}
.full-menu-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.full-menu-links a:hover { opacity: 0.4; }
.full-menu-socials {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
.full-menu-socials a { display: flex; }
.full-menu-socials svg {
  width: 22px; height: 22px;
  fill: rgba(255,255,255,0.4);
  transition: fill 0.2s;
}
.full-menu-socials a:hover svg { fill: #fff; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-right  { display: none !important; }
  .nav        { padding: 0 28px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo svg {
  height: 42px;
  width: auto;
  fill: #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 3vw;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 55px;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  cursor: pointer;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-socials {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-socials a {
  display: flex;
  transition: opacity 0.2s;
}
.nav-socials a:hover { opacity: 0.5; }
.nav-socials svg {
  width: 23px;
  height: 23px;
  fill: #fff;
}

/* ── Background blobs ── */
.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #07070d;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  pointer-events: none;
  filter: blur(var(--blur));
}

.b2 {
  width: 90vw; height: 75vh;
  top: -15vh; right: -20vw;
  background: radial-gradient(ellipse at center, #6c718a 0%, transparent 70%);
  opacity: 0.5;
  animation: drift2 24s ease-in-out infinite alternate;
}

.b3 {
  width: 80vw; height: 65vh;
  bottom: calc(-15vh - 250px); right: calc(-15vw - 250px);
  background: radial-gradient(ellipse at center, #f36e21 0%, transparent 70%);
  opacity: 0.5;
  animation: drift3 28s ease-in-out infinite alternate;
}

.b5 {
  width: 65vw; height: auto;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  opacity: 0.616;
}
.b5 svg { width: 100%; height: auto; display: block; }

.b6 {
  width: 60vw; height: 50vh;
  top: 40vh; left: -5vw;
  background: radial-gradient(ellipse at center, #034e78 0%, transparent 65%);
  opacity: 0.5;
  animation: drift6 21s ease-in-out infinite alternate;
}

@keyframes drift2 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-8vw,10vh) scale(0.93); }
}
@keyframes drift3 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-10vw,-8vh) scale(1.12); }
}
@keyframes drift6 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(9vw,-9vh) scale(1.08); }
}
