/* A single quiet glass edge lets the moving ribbon stay in focus. */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

@media (min-width: 901px) {
  html, body { height: auto; overflow-x: hidden; overflow-y: auto; }
  .page { height: 100vh; height: 100dvh; overflow: visible; }
}

.bottom-dock {
  position: relative;
  z-index: 55;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: 76px;
  padding: 10px clamp(30px, 5vw, 96px) max(20px, env(safe-area-inset-bottom));
}
.bottom-dock::before {
  display: none;
}
.dock-nav-slot { min-width: 0; }
.dock-nav-slot .nav-glass {
  width: 100%;
  justify-content: space-between;
  gap: clamp(4px, .65vw, 12px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.dock-nav-slot .nav-glass .nav-link {
  flex: 0 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 clamp(2px, .4vw, 8px);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: rgba(239, 242, 255, .7);
  font-size: clamp(14px, .9vw, 17px);
  font-weight: 400;
  letter-spacing: .025em;
  text-shadow: none;
  transform: none;
  transition: color .25s ease;
}
.dock-nav-slot .nav-glass .nav-link::before,
.dock-nav-slot .nav-glass .nav-link::after { display: none; }
.dock-nav-slot .nav-glass .nav-link[aria-current="page"] {
  color: #fff;
  border: 0;
  background: none;
  box-shadow: none;
}
.dock-nav-slot .nav-glass .nav-link:hover,
.dock-nav-slot .nav-glass .nav-link:focus-visible {
  color: #fff;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
.dock-nav-slot .nav-icon { display: none; }

.scroll-next {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.3vw, 22px);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(241, 243, 255, .85);
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: color .25s ease;
}
.scroll-next:hover, .scroll-next:focus-visible {
  color: #fff;
  border: 0;
  background: none;
  box-shadow: none;
}
.scroll-next-copy { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.scroll-next-copy small { color: rgba(186, 193, 239, .7); font-size: 11px; font-weight: 400; letter-spacing: .14em; white-space: nowrap; }
.scroll-next-copy strong { font-size: clamp(14px, .9vw, 17px); font-weight: 400; letter-spacing: .025em; white-space: nowrap; }
.scroll-next-icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: transform .25s ease;
}
.scroll-next-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.scroll-next:hover .scroll-next-icon { transform: translateY(3px); }

.explore-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(40px, 8vw, 140px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 50% 65% at 83% 64%, rgba(82, 65, 177, .18), transparent 85%),
    linear-gradient(180deg, rgba(7, 9, 27, 0) 0%, rgba(7, 9, 27, .12) 18%, rgba(7, 9, 27, .68) 48%, #07091b 78%);
}
.explore-page::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, transparent 35%, rgba(151, 134, 255, .035) 65%, transparent); }
.explore-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(30px, 5vw, 96px) 20px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.explore-header.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.explore-inner { width: 100%; max-width: 1200px; margin-inline: auto; }
.explore-index { display: inline-block; margin-bottom: clamp(30px, 6vw, 90px); color: #a5ace8; font-size: 12px; letter-spacing: .22em; }
.explore-page h2 { font-size: clamp(48px, 8vw, 130px); line-height: 1.12; font-weight: 500; letter-spacing: -.055em; }
.explore-page h2 em { color: #b7aaff; font-family: 'Instrument Serif', 'Times New Roman', serif; font-weight: 400; }
.explore-rule { display: block; width: min(260px, 50vw); height: 1px; margin-top: clamp(38px, 7vw, 100px); background: linear-gradient(90deg, #b4baff, transparent); }

@media (max-width: 900px) {
  .explore-header { grid-template-columns: 1fr; padding: 10px 16px; }
  .page { min-height: 100vh; min-height: 100dvh; grid-template-rows: auto 1fr auto; }
  .header { grid-template-columns: 1fr; }
  .burger, .menu-backdrop { display: none; }
  .bottom-dock { gap: 10px; padding: 0 16px max(18px, env(safe-area-inset-bottom)); }
  .dock-nav-slot .nav-glass {
    position: relative;
    z-index: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    height: auto;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    scrollbar-width: thin;
  }
  .dock-nav-slot .nav-glass .nav-link { flex: none; width: auto; height: 44px; padding-inline: 10px; font-size: 14px; }
  .dock-nav-slot .nav-icon, .dock-nav-slot .nav-icon svg { width: 15px; height: 15px; }
  .scroll-next { min-height: 44px; padding: 6px 7px 6px 10px; }
  .scroll-next-copy small { font-size: 9px; letter-spacing: .06em; }
  .scroll-next-copy strong { font-size: 11px; white-space: normal; }
  .scroll-next-icon { width: 28px; height: 28px; }
  .scroll-next-icon svg { width: 16px; height: 16px; }
}
@media (max-width: 480px) {
  .bottom-dock { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8px; }
  .dock-nav-slot .nav-glass .nav-link { height: 42px; }
  .scroll-next-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-next, .scroll-next-icon svg { transition: none; animation: none !important; }
  .explore-header { transition: none; transform: none; }
}
