:root {
  --black: #000;
  --white: #fff;
  --ink: #7d7d7d;
  --ink-dim: #2a2a2a;
  --line: #272727;
  --hair: #ffffff1a;
  --surface: #121314;
  --green: #96ff1e;
  --green-glow: #96ff1ea6;
  --sans: "Inter Tight", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gutter: clamp(0.75rem, 1.2vw, 1.25rem);
  --step: calc(25% + 0.25rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: var(--black); }

.noise {
  position: fixed;
  inset: -50%;
  z-index: 70;
  pointer-events: none;
  opacity: 0.08;
  animation: noise 0.5s steps(3) infinite;
}
@keyframes noise {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-4%, 3%); }
  66% { transform: translate(3%, -2%); }
}

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.label.dot::before { content: "● "; color: var(--green); }
.dim { color: var(--ink); }

.ripples {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 80;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor, .cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}
.cursor-on .cursor, .cursor-on .cursor-dot { opacity: 1; }
.cursor {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid #fff;
  transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background-color 0.3s;
}
.cursor.hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background-color: rgba(255, 255, 255, 0.08); }
.cursor.down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: #fff; }
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, .cover, .bd-card, .lang-knob { cursor: none !important; }
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.2rem;
  z-index: 95;
  translate: -50% 12px;
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  background: rgba(18, 19, 20, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px var(--hair);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.4s var(--ease);
}
.toast.on { opacity: 1; translate: -50% 0; }


.hero { position: relative; height: 290vh; }
.hero-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#webgl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.hero-ui {
  position: absolute;
  inset: 0;
  padding: var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.hero-row .right { text-align: right; }
.hero-ui .label { opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ready .hero-ui .label { opacity: 1; transform: none; }
.ready .hero-ui .label:nth-child(2) { transition-delay: 0.1s; }
.hero-bottom { padding-bottom: 4.5rem; }

.content {
  position: relative;
  z-index: 2;
  background: var(--black);
  padding: 0 var(--gutter);
}
.content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30vh;
  height: 30vh;
  background: linear-gradient(transparent, var(--black));
  pointer-events: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
}

.block { padding-top: clamp(7rem, 16vw, 14rem); }
.block-head { display: flex; justify-content: space-between; margin-bottom: 2rem; }

.statement {
  font-size: clamp(1.6rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-indent: var(--step);
  max-width: 82rem;
}
.statement .w { color: var(--ink-dim); transition: color 0.35s var(--ease-quad); }
.statement .w.lit { color: var(--white); }

sup.fn {
  font-family: var(--mono);
  font-size: 0.42em;
  font-weight: 400;
  color: var(--green);
  vertical-align: super;
  margin-left: 0.1em;
  letter-spacing: 0;
}

.works { position: relative; margin: 0 calc(var(--gutter) * -1); }
.works-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }

.works-glow {
  position: absolute;
  inset: 0;
  background-color: var(--green);
  opacity: 0.13;
  transition: background-color 0.8s var(--ease-quad);
  -webkit-mask-image: radial-gradient(circle at var(--gx, 64%) var(--gy, 50%), #000 0, transparent 36%);
  mask-image: radial-gradient(circle at var(--gx, 64%) var(--gy, 50%), #000 0, transparent 36%);
  pointer-events: none;
}
.deck3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; display: block; }

.deck {
  --dw: min(54vw, calc((100svh - 10rem) * 1.28));
  position: absolute;
  right: var(--gutter);
  top: calc(50% - var(--dw) / 2.56);
  width: var(--dw);
  height: calc(var(--dw) / 1.28);
  pointer-events: none;
}

.crate { position: absolute; z-index: 15; left: var(--gutter); bottom: 5rem; display: flex; gap: 0.8rem; }
.sleeve {
  all: unset;
  --c1: var(--green);
  --c2: #3b9aff;
  position: relative;
  width: clamp(64px, 6.6vw, 100px);
  aspect-ratio: 1;
  cursor: pointer;
  transition: translate 0.45s var(--ease);
}

.sleeve::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: -12%;
  height: 70%;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  background: repeating-radial-gradient(circle at 50% 100%, #0c0c0c 0 1.5px, #1b1b1b 1.5px 2.6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: -1;
  transition: translate 0.45s var(--ease), opacity 0.3s;
}
.sleeve.out::before { opacity: 0; translate: 0 40%; }
.sleeve:hover { translate: 0 -4px; }
.sleeve.active { translate: 0 -8px; }
.sleeve.active .cover { box-shadow: inset 0 0 0 1px var(--c1), 0 20px 40px -14px color-mix(in srgb, var(--c1) 60%, transparent); }
.sleeve:focus-visible { outline: 1px solid var(--green); outline-offset: 4px; }
.cover {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, color-mix(in srgb, var(--c1) 85%, transparent) 0, transparent 58%),
    radial-gradient(circle at 82% 88%, color-mix(in srgb, var(--c2) 75%, transparent) 0, transparent 55%),
    #060606;
  box-shadow: inset 0 0 0 1px var(--hair), 0 14px 30px -14px #000;
  transition: box-shadow 0.4s;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 4px);
}
.cover-icon { position: absolute; left: 50%; top: 44%; width: 44%; translate: -50% -50%; opacity: 0.92; }
.cover-meta { position: absolute; top: 0.4rem; left: 0.45rem; font-size: 0.5rem; color: #ffffffcc; }
.cover-title {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.35rem;
  font-size: 0.6rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.works-info {
  --c1: var(--green);
  position: absolute;
  z-index: 40;
  left: var(--gutter);
  top: 4.5rem;
  width: min(34vw, 460px);
  padding: 1.2rem;
  border-radius: 12px;
  background: rgba(16, 17, 18, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--hair), 0 30px 60px -30px #000;
}
.works-info.swap .pl-head, .works-info.swap .pl-tracks { animation: info-in 0.6s var(--ease) both; }
.works-info.swap .pl-tracks { animation-delay: 0.08s; }
@keyframes info-in { from { opacity: 0; transform: translateY(12px); } }
.pl-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.w-live { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: live 1.4s ease-in-out infinite; }
.player.paused .w-live { animation: none; opacity: 0.35; }
@keyframes live { 50% { opacity: 0.3; } }

.pl-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.pl-art { position: relative; flex: none; width: 64px; aspect-ratio: 1; }
.pl-titles { min-width: 0; }
.w-name {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w-role { display: block; color: var(--c1); margin-top: 0.4rem; }

.pl-tracks { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pl-tracks li {
  display: grid;
  grid-template-columns: 1.2rem 1.8rem 1fr auto;
  align-items: center;
  column-gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.pl-tracks li:hover { background: rgba(255, 255, 255, 0.04); }
.pl-tracks li.on { background: color-mix(in srgb, var(--c1) 13%, transparent); }
.pl-n { font-family: var(--mono); font-size: 0.7rem; color: var(--ink); text-align: center; }
.pl-eq { display: none; height: 12px; align-items: flex-end; justify-content: center; gap: 2px; }
.pl-eq i { width: 3px; height: 40%; border-radius: 1px; background: var(--c1); animation: eq 0.8s ease-in-out infinite alternate; }
.pl-eq i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.65s; }
.pl-eq i:nth-child(3) { animation-delay: -0.5s; animation-duration: 0.9s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
.pl-tracks li.on .pl-n { display: none; }
.pl-tracks li.on .pl-eq { display: flex; }
.player.paused .pl-eq i { animation-play-state: paused; }
.t-side { font-family: var(--mono); font-size: 0.7rem; color: var(--c1); }
.t-title { font-weight: 500; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-tracks li.on .t-title { color: var(--c1); }
.t-time { font-family: var(--mono); font-size: 0.7rem; color: var(--ink); }

.t-desc {
  grid-column: 3 / -1;
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.35;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.35s, margin 0.45s var(--ease);
}
.pl-tracks li.on .t-desc { max-height: 4em; opacity: 1; margin-top: 0.3rem; }

.pl-progress { display: grid; grid-template-columns: 2.6rem 1fr 2.6rem; align-items: center; gap: 0.6rem; margin-top: 1rem; color: var(--ink); }
.pl-progress span:last-child { text-align: right; }
.pl-bar { position: relative; height: 3px; border-radius: 3px; background: var(--line); }
.pl-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--c1); }
.pl-bar span::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  translate: 0 -50%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--c1);
}

.pl-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; }
.pl-btn {
  all: unset;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, scale 0.2s;
}
.pl-btn:hover { background: rgba(255, 255, 255, 0.08); }
.pl-btn:active { scale: 0.92; }
.pl-btn svg { width: 18px; height: 18px; fill: currentColor; }
.pl-main { width: 44px; height: 44px; background: var(--white); color: #000; }
.pl-main:hover { background: var(--c1); }
.pl-main .i-play, .player.paused .pl-main .i-pause { display: none; }
.player.paused .pl-main .i-play { display: block; }
.pl-btn:focus-visible { outline: 1px solid var(--c1); outline-offset: 2px; }
.w-link { margin-left: auto; color: var(--white); border-bottom: 1px solid var(--c1); padding-bottom: 0.2rem; white-space: nowrap; transition: color 0.25s; }
.w-link:hover { color: var(--c1); }
.works-hint { position: absolute; z-index: 40; right: var(--gutter); bottom: 5rem; }

@media (max-height: 760px) and (min-width: 761px) {
  .works-info { top: 3.6rem; padding: 0.9rem; }
  .pl-tracks li { padding: 0.4rem 0.6rem; }
}

@media (max-width: 760px) {
  .works-sticky {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 3.4rem var(--gutter) 5.4rem;
  }
  .deck {
    --dw: min(calc(100vw - var(--gutter) * 2), calc((100svh - 32rem) * 1.28));
    position: relative;
    top: auto;
    right: auto;
    flex: none;
    align-self: center;
  }
  .crate { position: relative; left: auto; bottom: auto; flex: none; gap: 0.5rem; justify-content: center; padding-top: 0.5rem; order: 1; }
  .works-info { order: 2; }
  .sleeve { width: 48px; }
  .works-info { position: relative; left: auto; top: auto; width: auto; flex: none; padding: 0.8rem; }
  .pl-top { display: none; }
  .pl-head { margin-bottom: 0.5rem; gap: 0.7rem; }
  .pl-art { width: 42px; }
  .w-name { font-size: 1.5rem; }
  .w-role { margin-top: 0.25rem; }
  .pl-tracks li { padding: 0.22rem 0.5rem; grid-template-columns: 1.1rem 1.6rem 1fr auto; }
  .t-title { font-size: 0.85rem; }
  .t-desc { font-size: 0.78rem; }
  .pl-progress { margin-top: 0.6rem; }
  .pl-controls { margin-top: 0.5rem; }
  .pl-btn { width: 32px; height: 32px; }
  .pl-main { width: 38px; height: 38px; }
  .works-hint { display: none; }
}

.about-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1rem;
  align-items: center;
}
.about-hero .statement { grid-column: 1 / span 6; }

.postcard {
  --stamp-w: 208px;
  --stamp-h: 272px;
  grid-column: 7 / span 6;
  position: relative;
  perspective: 1400px;
  padding: 2.2rem 0 1.6rem;
}

.pc-under {
  position: absolute;
  left: -2%;
  right: 30%;
  bottom: 0;
  height: 40%;
  border-radius: 8px;
  background: #151515;
  box-shadow: inset 0 0 0 1px var(--hair);
  transform: rotate(-3deg);
}
.pc-inner {
  position: relative;
  min-height: calc(var(--stamp-h) + 3.2rem);
  padding: 1.6rem 1.4rem 1.4rem calc(var(--stamp-w) + 2.8rem);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1.3px) 0 0 / 5px 5px,
    linear-gradient(160deg, #2a2a2a, #1d1d1d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 40px 80px -30px #000;
  transform-style: preserve-3d;
  will-change: transform;
}

.pc-clip {
  position: absolute;
  left: 2.2rem;
  top: -2.6rem;
  width: 34px;
  height: 76px;
  z-index: 5;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}

.stamp {
  position: absolute;
  left: 1.4rem;
  top: 1.6rem;
  width: var(--stamp-w);
  height: var(--stamp-h);
  padding: 8px;
  background: radial-gradient(circle, transparent 4.6px, #efeee8 5px) -8px -8px / 16px 16px;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
  transform: rotate(-1.5deg);
  transition: transform 0.6s var(--ease);
  z-index: 2;
}
.postcard:hover .stamp { transform: rotate(0deg) translateY(-4px); }
.stamp-paper {
  height: 100%;
  background: #efeee8;
  padding: 8px 8px 0;
  display: flex;
  flex-direction: column;
}
.stamp-photo {
  flex: 1;
  background: #c4c4c2;
  overflow: hidden;
  position: relative;
}
.stamp-photo img {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 112%;
  width: auto;
  max-width: none;
  translate: -46% 0;
  filter: grayscale(1) contrast(1.12) brightness(0.95);
  transition: filter 0.6s var(--ease-quad), scale 0.8s var(--ease);
  transform-origin: bottom center;
}
.postcard:hover .stamp-photo img { filter: grayscale(0) contrast(1.05); scale: 1.04; }
.stamp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.1rem 0.45rem;
  color: #2c2c2c;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stamp-foot svg { width: 26px; height: 11px; color: #8a8a86; }

.postmark {
  position: absolute;
  left: calc(var(--stamp-w) - 1rem);
  top: 1.6rem;
  width: 220px;
  color: rgba(255, 255, 255, 0.42);
  transform: rotate(-8deg);
  z-index: 3;
  pointer-events: none;
  font-family: var(--mono);
}

.pc-marks { position: absolute; inset: 0; pointer-events: none; color: rgba(255, 255, 255, 0.16); font-family: var(--mono); }
.mk { position: absolute; }
.mk-plane { width: 82px; right: 7.5rem; top: 1.2rem; transform: rotate(8deg); }
.mk-boat { width: 64px; right: 13rem; top: 6.6rem; }
.mk-oval { width: 92px; right: 1.4rem; top: 5rem; transform: rotate(-10deg); }
.mk-round { width: 92px; right: 5.5rem; top: 9.5rem; transform: rotate(14deg); }

.pc-actions { position: absolute; top: 1.2rem; right: 1.2rem; display: flex; gap: 0.5rem; z-index: 4; }
.pc-actions a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: #ddd;
  transition: background 0.25s, color 0.25s;
}
.pc-actions a:hover { background: #fff; color: #000; }
.pc-actions svg { width: 18px; height: 18px; }

.pc-body {
  position: absolute;
  left: calc(var(--stamp-w) + 2.8rem);
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 4;
}
.pc-socials { display: flex; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px dashed rgba(255, 255, 255, 0.16); }
.pc-socials img { width: 18px; height: 18px; filter: invert(1) opacity(0.85); transition: filter 0.2s; display: block; }
.pc-socials a:hover img { filter: invert(1); }
.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}
.pc-btn {
  background: #f2f2f2;
  color: #000;
  font-size: 0.92rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  transition: background 0.2s;
}
.pc-btn:hover { background: var(--green); }
.pc-route { font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }

@media (max-width: 1100px) {
  .mk-boat, .mk-round { display: none; }
}
@media (max-width: 760px) {
  .about-hero { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .about-hero .statement, .postcard { grid-column: 1 / -1; }
  .postcard { order: -1; --stamp-w: 144px; --stamp-h: 192px; padding-top: 2.6rem; }
  .pc-inner { padding-left: calc(var(--stamp-w) + 2.2rem); padding-right: 1rem; }
  .stamp { left: 1rem; }
  .postmark { width: 150px; left: calc(var(--stamp-w) - 0.6rem); }
  .mk-plane { width: 56px; right: 1rem; top: 4.2rem; }
  .mk-oval { display: none; }
  .pc-body { left: calc(var(--stamp-w) + 2.2rem); right: 1rem; bottom: 1rem; }
  .pc-socials { gap: 0.8rem; }
  .pc-row { flex-wrap: wrap; gap: 0.5rem; }
  .pc-route { font-size: 0.66rem; white-space: nowrap; }
  .pc-actions a { width: 34px; height: 34px; }
}

.ab { margin-top: clamp(5rem, 10vw, 9rem); row-gap: 3rem; }
.ab-item { grid-column: span 6; }
.ab-item:first-child { grid-column: 4 / span 4; }
.ab-item:last-child { grid-column: 9 / span 4; }
.ab-item h3 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.ab-item h3 span { font-family: var(--mono); font-size: 0.45em; color: var(--green); vertical-align: super; margin-right: 0.4rem; letter-spacing: 0; }
.ab-item p { color: var(--ink); font-size: 1rem; line-height: 1.45; }
.ab-item p b { color: var(--white); font-weight: 500; }

.wh { position: relative; margin: clamp(5rem, 10vw, 8rem) calc(var(--gutter) * -1) 0; }
.wh-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 25% 100%,
    radial-gradient(ellipse at 30% 50%, #1a1a1a, #0d0d0d 75%);
  box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair);
}

.wh-hud { position: absolute; z-index: 5; top: 0.9rem; left: var(--gutter); display: flex; flex-wrap: wrap; gap: 0.35rem; }
.wh-hud span { padding: 0.18rem 0.45rem; border-radius: 3px; background: rgba(255, 255, 255, 0.05); color: var(--ink); font-size: 0.62rem; }
.wh-hud b { color: #ddd; font-weight: 400; }
.wh-head { position: absolute; z-index: 5; top: 3rem; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; pointer-events: none; }

.wh-wheel { position: absolute; inset: 0; z-index: 2; }
.wh-item {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  white-space: nowrap;
  color: #5e5e5e;
  cursor: pointer;
  transform-origin: 0 50%;
  will-change: transform, opacity;
  transition: color 0.35s var(--ease-quad);
}
.wh-item:hover { color: #9a9a9a; }
.wh-item.on { color: var(--white); }
.wh-item:focus-visible { outline: 1px solid var(--green); outline-offset: 6px; }
.wh-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.3rem 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #bdbdbd;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0;
  scale: 0.7;
  transition: opacity 0.3s, scale 0.4s var(--ease);
}
.wh-chip em { width: 6px; height: 6px; border-radius: 50%; background: var(--cat); box-shadow: 0 0 8px var(--cat); }
.wh-chip i { width: 1.5em; height: 1.5em; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.12); font-style: normal; }
.wh-item.on .wh-chip { opacity: 1; scale: 1; }

.wh-wheel.grid {
  inset: 6.5rem calc(min(30vw, 440px) + var(--gutter) * 2) 8.5rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  align-content: start;
  gap: 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.wh-wheel.grid .wh-item {
  position: relative;
  transform: none !important;
  opacity: 1 !important;
  justify-content: space-between;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--hair);
  color: #b5b5b5;
}
.wh-wheel.grid .wh-item.on { color: var(--white); box-shadow: inset 0 0 0 1px var(--cat); }
.wh-wheel.grid .wh-chip { opacity: 1; scale: 1; font-size: 0.66rem; }
.wh-wheel.grid .wh-chip i { display: none; }
.wh-wheel.grid .wh-name { overflow: hidden; text-overflow: ellipsis; }

.wh-card {
  --cat: var(--green);
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  top: 50%;
  translate: 0 -50%;
  width: min(30vw, 440px);
  height: min(64svh, 540px);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--cat) 14%, transparent), transparent 60%),
    #161616;
  box-shadow: inset 0 0 0 1px var(--hair), 0 40px 80px -40px #000;
  transition: background 0.6s;
  touch-action: pan-y;
}
.wh-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 64%; display: block; cursor: grab; }
.wh-card.dragging .wh-canvas { cursor: grabbing; }
.wh-grab { position: absolute; top: 0.9rem; right: 1rem; pointer-events: none; }
.wh-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.wh-info-top { display: flex; justify-content: space-between; gap: 1rem; }
.wh-cat { color: var(--cat); }
.wh-cat::before { content: "● "; }
.wh-note { margin-top: 0.6rem; color: var(--ink); font-size: 0.98rem; line-height: 1.35; }
.wh-info-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.wh-pill { color: var(--white); border-bottom: 1px solid var(--cat); padding-bottom: 0.15rem; transition: color 0.25s; }
.wh-pill:hover { color: var(--cat); }

.wh-modes {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 4.9rem;
  translate: -50% 0;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.wh-modes button {
  border: 0;
  background: none;
  font: inherit;
  text-transform: inherit;
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.wh-modes button:hover { color: var(--white); }
.wh-modes button.on { background: rgba(255, 255, 255, 0.09); color: var(--white); }

@media (max-width: 760px) {
  .wh-hud span:nth-child(n + 4) { display: none; }
  .wh-head { top: 2.6rem; }
  .wh-head .dim { display: none; }
  .wh-item { font-size: 2rem; gap: 0.6rem; }
  .wh-chip { font-size: 0.7rem; }
  .wh-card { left: var(--gutter); right: var(--gutter); top: auto; bottom: 8rem; translate: none; width: auto; height: 31svh; }
  .wh-canvas { width: 42%; height: 100%; }
  .wh-grab { display: none; }
  .wh-info { left: 42%; top: 0; height: auto; border-top: 0; border-left: 1px solid var(--line); padding: 0.9rem; }
  .wh-note { font-size: 0.85rem; }
  .wh-wheel.grid { inset: 5rem var(--gutter) calc(31svh + 8.8rem) var(--gutter); grid-template-columns: 1fr 1fr; }
  .wh-wheel.grid .wh-item { font-size: 0.95rem; padding: 0.6rem; }
  .wh-wheel.grid .wh-chip { display: none; }
  .wh-modes { bottom: 4.6rem; }
}

.footnotes {
  margin-top: clamp(6rem, 12vw, 10rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  row-gap: 1.5rem;
}
.fn-item { grid-column: span 3; font-size: 0.85rem; color: var(--ink); line-height: 1.4; }
.fn-item .n { font-family: var(--mono); color: var(--green); margin-right: 0.4rem; }
.fn-item a { color: var(--white); display: inline-block; margin-top: 0.35rem; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; }
.fn-item a:hover { color: var(--green); }

.contact { padding: clamp(8rem, 18vw, 16rem) 0 clamp(4rem, 8vw, 6rem); }
.contact .statement { font-size: clamp(2.4rem, 7.5vw, 7.5rem); line-height: 0.95; text-indent: 0; }
.contact-actions { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--green);
  color: var(--black);
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 0 40px -8px var(--green-glow);
  transition: box-shadow 0.3s, translate 0.3s var(--ease);
}
.btn:hover { box-shadow: 0 0 60px -4px var(--green-glow); translate: 0 -2px; }
.socials { display: flex; gap: 1.4rem; }
.socials a { color: var(--ink); transition: color 0.25s; }
.socials a:hover { color: var(--white); }
.contact-mail { color: var(--ink); transition: color 0.25s; }
.contact-mail:hover { color: var(--green); }

footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 6.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink);
}

.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .hero { height: 220vh; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .ab-item, .ab-item:first-child, .ab-item:last-child { grid-column: 1 / -1; }
  .fn-item { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  .noise { animation: none; }
  .rv { opacity: 1; transform: none; }
}

:root { --nav: 5rem; }
.hud-strip { position: fixed; z-index: 61; top: 0.35rem; left: var(--gutter); display: flex; gap: 0.3rem; pointer-events: none; }
.hud-strip span { padding: 0.15rem 0.4rem; border-radius: 3px; background: rgba(28, 28, 28, 0.8); color: var(--ink); font-size: 0.6rem; }
.hud-strip b { color: #d8d8d8; font-weight: 400; }
.topnav {
  position: fixed;
  z-index: 60;
  top: 1.65rem;
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
  transform: translateY(-160%);
  transition: transform 1s var(--ease) 0.2s;
}
.ready .topnav { transform: none; }
.topnav > * { pointer-events: auto; }
.tn-logo { justify-self: start; display: flex; gap: 3px; }
.tn-logo span {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.35);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  transition: background 0.25s, color 0.25s;
}
.tn-logo span:first-child { border-radius: 50%; }
.tn-logo span:last-child { border-radius: 5px; }
.tn-logo:hover span { background: #fff; color: #000; }
.tn-center { display: flex; gap: 0.4rem; }
.tn-links, .tn-cmd, .lang {
  height: 2.9rem;
  border-radius: 10px;
  background: rgba(24, 24, 24, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--hair), 0 10px 30px -12px #000;
}
.tn-links { display: flex; align-items: center; gap: 2px; padding: 4px; }
.tn-links a { padding: 0.45rem 0.8rem; border-radius: 7px; font-size: 1rem; color: #e6e6e6; transition: background 0.2s, color 0.2s; }
.tn-links a:hover { background: rgba(255, 255, 255, 0.05); }
.tn-links a.on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tn-cmd { border: 0; padding: 0 0.95rem; color: #fff; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.tn-cmd:hover { background: rgba(40, 40, 40, 0.9); }
.tn-right { justify-self: end; display: flex; align-items: center; gap: 0.4rem; }
.tn-cta {
  height: 2.9rem;
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  border-radius: 10px;
  background: var(--green);
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 30px -8px var(--green-glow);
}

.lang { display: flex; align-items: center; gap: 0.65rem; padding: 0 0.8rem 0 0.55rem; }
.lang-knob {
  position: relative;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: grab;
  touch-action: none;
}
.lang-knob:focus-visible { outline: 1px solid var(--green); outline-offset: 4px; }
.lang-tick {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: #6a6a6a;
  transform: rotate(var(--a)) translateY(-1.32rem);
  transition: background 0.3s, box-shadow 0.3s;
}
.lang-tick.on { background: var(--green); box-shadow: 0 0 6px var(--green); }
.lang-cap {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22), transparent 45%),
    repeating-conic-gradient(#2c2c2c 0 5deg, #171717 5deg 10deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 3px 8px rgba(0, 0, 0, 0.7);
  transition: transform 0.55s cubic-bezier(0.3, 1.7, 0.5, 1);
}
.lang-cap.free { transition: none; }
.lang-cap i { position: absolute; left: 50%; top: 3px; width: 2px; height: 36%; translate: -50% 0; border-radius: 2px; background: var(--green); box-shadow: 0 0 6px var(--green); }
.lang-read { display: flex; flex-direction: column; line-height: 1.15; min-width: 4.2rem; }
.lang-freq { font-size: 0.58rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.lang-read b { font-weight: 400; color: #fff; }

body.tuning .noise { opacity: 0.4; }
body.tuning .content, body.tuning .hero-ui, body.tuning .topnav .tn-links { animation: tune 0.45s steps(5) both; }
@keyframes tune {
  0% { filter: none; transform: none; }
  20% { filter: blur(1.5px) contrast(1.4); transform: translateX(-3px) skewX(-1deg); }
  45% { filter: blur(0.5px) brightness(1.3); transform: translateX(4px); }
  70% { filter: blur(1px); transform: translateX(-2px) skewX(1deg); }
  100% { filter: none; transform: none; }
}

.cmd {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: grid;
  place-items: start center;
  padding-top: 14vh;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s;
}
.cmd.on { opacity: 1; }
.cmd[hidden] { display: none; }
.cmd-box {
  width: min(560px, calc(100vw - 2rem));
  border-radius: 14px;
  background: rgba(22, 22, 22, 0.96);
  box-shadow: inset 0 0 0 1px var(--hair), 0 40px 80px -20px #000;
  overflow: hidden;
  translate: 0 -10px;
  transition: translate 0.35s var(--ease);
}
.cmd.on .cmd-box { translate: none; }
.cmd-input {
  width: 100%;
  padding: 1.1rem 1.2rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  outline: none;
}
.cmd-list { list-style: none; max-height: min(52vh, 420px); overflow-y: auto; padding: 0.4rem; }
.cmd-group { padding: 0.7rem 0.8rem 0.3rem; color: var(--ink); }
.cmd-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.8rem; border-radius: 8px; cursor: pointer; }
.cmd-item:hover, .cmd-item.on { background: rgba(255, 255, 255, 0.07); }
.cmd-item.on span:first-child { color: var(--green); }
.cmd-foot { display: flex; gap: 1rem; padding: 0.6rem 1.2rem; border-top: 1px solid var(--line); color: var(--ink); }

.bd { position: relative; margin: clamp(4rem, 8vw, 7rem) calc(var(--gutter) * -1) 0; }
.bd-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1.4px) 0 0 / 16px 16px;
}
.bd-rail { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 8px; background: linear-gradient(#3c3c3c, #121212); box-shadow: 0 6px 14px -6px #000; }
.bd-head { position: absolute; z-index: 5; top: var(--nav); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; pointer-events: none; }
.bd-title {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  bottom: 3.5rem;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.05em;
  pointer-events: none;
}
.bd-track { position: absolute; z-index: 2; inset: 0; will-change: transform; }
.bd-item { position: absolute; top: 0; left: 0; width: var(--w, 260px); will-change: transform, opacity; }
.bd-swing { display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; perspective: 900px; will-change: transform; }
.bd-strap {
  width: 32px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: repeating-linear-gradient(0deg, #141414 0 2px, #191919 2px 4px);
  box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.04), inset -2px 0 0 rgba(0, 0, 0, 0.5);
}
.bd-strap span { writing-mode: vertical-rl; white-space: nowrap; font-family: var(--mono); font-size: 9px; letter-spacing: 0.25em; color: #6b6b6b; padding-top: 0.6rem; }
.bd-card.grab { cursor: grabbing; }
.bd-hook { position: relative; z-index: 2; width: 40px; height: 70px; margin-top: -1px; flex: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.6)); }
.bd-card {
  position: relative;
  z-index: 1;
  width: var(--w, 260px);
  aspect-ratio: 0.74;
  margin-top: -19px;
  transform-style: preserve-3d;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}
.bd-edge {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, #303030, #0e0e0e 45%, #222);
  transform: translateZ(calc(var(--z) * -1px));
}
.bd-face {
  position: absolute;
  inset: 0;
  padding: 7%;
  border-radius: 18px;
  background: linear-gradient(160deg, #1d1d1d, #0c0c0c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.bd-front { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 70px -24px #000; }
.bd-back { transform: translateZ(-8px) rotateY(180deg); }
.bd-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 45%, transparent 60%);
}
.bd-pass-back { color: #151515; }
.bd-back-title { display: block; margin-top: 9%; font-size: calc(var(--w, 260px) * 0.078); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.bd-about { margin-top: 0.6rem; font-size: calc(var(--w, 260px) * 0.05); line-height: 1.38; color: #383838; }
.bd-topics { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.bd-topics span { font-family: var(--mono); font-size: 0.56rem; text-transform: uppercase; padding: 0.22rem 0.42rem; border-radius: 3px; background: rgba(0, 0, 0, 0.08); }
.bd-topics span:first-child { box-shadow: inset 2px 0 0 var(--c); }
.bd-pass {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8% 7% 6%;
  border-radius: 5px;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1.2px) 0 0 / 4px 4px,
    linear-gradient(160deg, #eeede8, #d9d8d2);
  color: #111;
}
.bd-row { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.58rem; color: #555; }
.bd-icon {
  width: 46%;
  aspect-ratio: 1;
  margin: 11% auto 0;
  display: grid;
  place-items: center;
  border-radius: 24%;
  background: linear-gradient(160deg, #262626, #090909);
  box-shadow: 0 0 0 3px #a8a8a8, 0 0 0 4px #5a5a5a, 0 12px 20px -8px rgba(0, 0, 0, 0.55);
  color: var(--c);
}
.bd-icon svg { width: 58%; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 60%, transparent)); }
.bd-main { margin-top: auto; }
.bd-name { display: block; font-size: calc(var(--w, 260px) * 0.09); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.bd-school { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: #4d4d4d; }
.bd-foot { margin-top: 0.9rem; padding-top: 0.6rem; border-top: 1px solid rgba(0, 0, 0, 0.13); }
.bd-progress { position: absolute; z-index: 5; right: var(--gutter); bottom: 3.6rem; display: grid; grid-template-columns: auto 160px auto; align-items: center; gap: 0.6rem; }
.bd-bar { height: 2px; background: var(--line); }
.bd-bar span { display: block; height: 100%; width: 0; background: var(--green); box-shadow: 0 0 8px var(--green); }

.content { background-color: #0d0d0d; }
.wh-sticky {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 25% 100%,
    radial-gradient(ellipse at 30% 50%, rgba(30, 30, 30, 0.35), rgba(0, 0, 0, 0.35) 75%);
}

.hero-ui { padding-top: calc(var(--nav) + 0.2rem); }
.works-info { top: calc(var(--nav) + 0.4rem); }
.wh-head { top: var(--nav); }
.wh-wheel.grid { top: calc(var(--nav) + 2.6rem); }
.works-hint, .crate { bottom: 2rem; }
.wh-modes { bottom: 1.6rem; }
.toast { bottom: 2rem; }
footer { padding-bottom: 1.5rem; }

@media (max-width: 1100px) {
  .tn-links a { padding: 0.45rem 0.55rem; font-size: 0.92rem; }
  .lang-read { display: none; }
}
@media (max-width: 760px) {
  :root { --nav: 4.4rem; }
  .hud-strip span:nth-child(n + 4) { display: none; }
  .topnav { top: 1.55rem; grid-template-columns: auto 1fr auto; }
  .tn-links, .tn-cta { display: none; }
  .tn-logo { grid-row: 1; }
  .tn-center { grid-column: 3; grid-row: 1; justify-self: end; }
  .tn-right { grid-column: 2; grid-row: 1; justify-self: end; margin-right: 0.4rem; }
  .tn-logo span { width: 2.2rem; height: 2.2rem; font-size: 1.15rem; }
  .tn-links, .tn-cmd, .lang { height: 2.6rem; }
  .lang { padding: 0 0.55rem; }
  .works-sticky { padding-top: var(--nav); padding-bottom: 2rem; }
  .wh-head { top: var(--nav); }
  .wh-card { bottom: 4.6rem; }
  .wh-modes { bottom: 1rem; }
  .wh-wheel.grid { top: calc(var(--nav) + 2rem); bottom: calc(31svh + 5.4rem); }
  .bd-title { bottom: 4.5rem; font-size: 2.6rem; }
  .bd-progress { bottom: 1.4rem; left: var(--gutter); grid-template-columns: auto 1fr auto; }
  .bd-head .dim { display: none; }
}

.loader { position: fixed; inset: 0; z-index: 100; transition: visibility 0s linear 1.4s; }
.loader.done { visibility: hidden; pointer-events: none; }
.ld-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: #000;
  transition: transform 1.15s cubic-bezier(0.77, 0, 0.18, 1) 0.15s;
}
.ld-left { left: 0; box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05); }
.ld-right { right: 0; }
.loader.done .ld-left { transform: translateX(-100%); }
.loader.done .ld-right { transform: translateX(100%); }
.ld-slit {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  translate: -50% 0;
  background: #fff;
  box-shadow: 0 0 30px 6px rgba(255, 255, 255, 0.55), 0 0 140px 40px rgba(255, 255, 255, 0.22);
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s;
}
.loader.opening .ld-slit { transform: scaleY(1); opacity: 1; }
.loader.done .ld-slit { transform: scaleY(1); opacity: 0; transition: opacity 0.7s 0.45s; }
.ld-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(340px, 78vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.4s, scale 0.6s var(--ease);
}
.loader.opening .ld-center, .loader.done .ld-center { opacity: 0; scale: 0.9; }
.ld-logo { width: 132px; margin-bottom: 0.6rem; overflow: visible; }
.ld-stroke { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 200; stroke-dashoffset: 200; animation: ld-draw 1.1s var(--ease) forwards; }
.ld-logo rect.ld-stroke { animation-delay: 0.15s; }
.ld-logo text { font-family: var(--sans); font-size: 31px; font-weight: 600; fill: #fff; opacity: 0; animation: ld-fade 0.5s 0.75s forwards; }
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
@keyframes ld-fade { to { opacity: 1; } }
.ld-bar { width: 100%; height: 2px; background: var(--line); overflow: hidden; }
.ld-bar span { display: block; height: 100%; width: 0; background: var(--green); box-shadow: 0 0 10px var(--green); }
.ld-meta { width: 100%; display: flex; justify-content: space-between; color: var(--ink); }
.ld-meta #loader-count { color: #fff; font-variant-numeric: tabular-nums; }
.ld-log { list-style: none; width: 100%; min-height: 8.6em; font-size: 0.62rem; line-height: 1.75; color: var(--ink); }
.ld-log li { display: flex; gap: 0.4rem; opacity: 0; animation: ld-fade 0.25s forwards; }
.ld-log .dots { flex: 1; overflow: hidden; white-space: nowrap; color: #2e2e2e; }
.ld-log b { color: var(--green); font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
  .ld-door, .ld-slit { transition: none; }
}
