/* Home entry and hero */
/* Entry key model canvas --------------------------------------------------- */
.entry-key-canvas {
  position: relative;
  width: 268px;
  height: 268px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
}

body.entry-key-ready .entry-key-canvas {
  opacity: 1;
}

/* Entry bottom progress bar */
.entry-progress-bar {
  position: absolute;
  left: 50%;
  top: calc(50% + 154px);
  z-index: 8;
  transform: translateX(-50%);
  width: min(220px, 42vw);
  height: 1px;
  background: rgba(238, 235, 225, 0.12);
  overflow: hidden;
}

.entry-progress-fill {
  width: 0%;
  height: 100%;
  background: rgba(238, 235, 225, 0.74);
  transition: width 60ms linear;
}

.hero-section {
  width: 100%;
  max-width: 100vw;
  margin-left: 0;
  margin-right: 0;
  display: block;
  /* 100vh hero + 32vh sticky scroll space.
     When the curtain reaches full coverage, the sticky stage releases
     and the next section's progress=0 is at the viewport top with no gap. */
  height: calc(100vh + 32vh);
  height: calc(100dvh + 32dvh);
  /* Stacking context above portrait (z-index: 2) so the portrait can't
     bleed black up into the hero spacer area. */
  position: relative;
  z-index: 3;
  /* Match the hero-stage cream background so the spacer below the sticky
     stage doesn't expose the next section bleeding through. */
  background: #f7f4ee;
  opacity: 1;
  transform: scale(1);
  transform-origin: center center;
  transition:
    opacity 760ms ease,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms ease;
}

.entry-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  perspective: 900px;
  background: #07080b;
  transform: scale(1);
  transform-origin: center center;
  transition:
    opacity 860ms ease,
    transform 1240ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 860ms ease;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.entry-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  gap: 0;
  justify-items: center;
  transform: translate(-50%, -50%);
  transition:
    transform 980ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 620ms ease,
    filter 620ms ease;
}

/* 3D box --------------------------------------------------------------- */
.entry-box-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
  animation: entryBoxFloat 5.2s ease-in-out infinite;
}


.hero-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  perspective: 1180px;
  perspective-origin: 50% 42%;
  background: #f7f4ee;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Paper-grain texture on white background */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.hero-footer-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3.8vw, 68px);
  min-height: 44px;
  padding: 0 clamp(28px, 5.2vw, 92px);
  color: rgba(20, 20, 20, 0.46);
  font-family: "Satoshi", "MiSans", system-ui, sans-serif;
  font-size: clamp(0.62rem, 0.64vw, 0.78rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  font-feature-settings: "tnum" 1, "case" 1;
  font-variant-numeric: tabular-nums;
}

.hero-footer-clock,
.hero-footer-time,
.hero-footer-date {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.hero-footer-clock {
  justify-content: flex-end;
  gap: clamp(10px, 1.05vw, 18px);
  text-align: right;
}

.hero-footer-separator {
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.26;
}

.hero-footer-time {
  min-width: 7.7ch;
  justify-content: flex-end;
}

.hero-footer-date {
  min-width: 9.4ch;
  justify-content: flex-end;
}

.hero-footer-meta .top-meta-period {
  margin-right: 0.42em;
  color: inherit;
  opacity: 1;
}

@media (max-width: 760px) {
  .hero-footer-meta {
    bottom: calc(18px + 44px + 10px);
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0 18px;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }

  .hero-footer-clock {
    gap: 7px;
  }

  .hero-footer-time {
    min-width: 7.1ch;
  }

  .hero-footer-date {
    min-width: 8.8ch;
  }
}

.hero-model-scene {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  isolation: isolate;
  --wordmark-hover: 0;
  --wordmark-hover-x: 0;
  --wordmark-hover-y: 0;
  --wordmark-hover-pos-x: 50%;
  --wordmark-hover-pos-y: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 420ms ease;
}

/* Soft radial halo behind the sculpture pulls the eye to the centre and
   anchors the model in space so it doesn't read as floating. */
.hero-model-scene::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 78vmin;
  height: 78vmin;
  z-index: 0;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92) 0%, rgba(247, 244, 238, 0) 58%),
    radial-gradient(circle at 50% 58%, rgba(20, 22, 26, 0.10) 0%, rgba(20, 22, 26, 0) 38%);
  filter: blur(2px);
  pointer-events: none;
}

/* Painterly contact shadow: three stacked radial gradients of decreasing
   opacity and increasing radius produce the near-sharp / far-melt falloff
   that real cast shadows have. Heavy CSS blur softens any banding. */
.hero-model-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15%;
  width: 42vmin;
  height: 10vmin;
  z-index: 0;
  transform: translateX(-50%);
  background:
    /* core: small, dense, just under the chin */
    radial-gradient(ellipse 24% 54% at 50% 42%, rgba(18, 20, 24, 0.15) 0%, rgba(18, 20, 24, 0) 72%),
    /* mid: wider, half opacity, fills the body of the shadow */
    radial-gradient(ellipse 62% 92% at 50% 56%, rgba(18, 20, 24, 0.075) 0%, rgba(18, 20, 24, 0) 78%),
    /* halo: very wide, very faint, melts into the water */
    radial-gradient(ellipse 90% 100% at 50% 58%, rgba(20, 22, 26, 0.035) 0%, rgba(20, 22, 26, 0) 82%);
  filter: blur(18px);
  pointer-events: none;
}

body.hero-model-ready .hero-model-scene {
  opacity: 1;
}

.hero-model-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

body.hero-model-orbiting .hero-model-canvas {
  cursor: grabbing;
}

.hero-model-wordmark {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 3;
  width: max-content;
  max-width: none;
  margin: 0;
  color: rgba(4, 5, 5, 0.94);
  font-family: "Trench Slab", "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
  font-size: clamp(4rem, 9.6vw, 10.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.18);
  transform:
    translate3d(
      calc(-50% + var(--wordmark-hover-x) * var(--wordmark-hover) * -7px),
      calc(-50% + var(--wordmark-hover-y) * var(--wordmark-hover) * 3px),
      0
    )
    skewX(calc(var(--wordmark-hover-x) * var(--wordmark-hover) * -2.4deg))
    scaleX(calc(0.86 + var(--wordmark-hover) * 0.035))
    scaleY(calc(1 - var(--wordmark-hover) * 0.025));
  transform-origin: 50% 52%;
  mix-blend-mode: normal;
  opacity: 0.96;
  animation: heroModelWordmarkBreathe 7.2s ease-in-out infinite;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-model-wordmark::before,
.hero-model-wordmark::after {
  content: "LUCIAN J. YANG";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: inherit;
  white-space: inherit;
  text-transform: inherit;
  opacity: 0;
  transform-origin: var(--wordmark-hover-pos-x) var(--wordmark-hover-pos-y);
  -webkit-mask-image:
    radial-gradient(
      ellipse 18% 86% at var(--wordmark-hover-pos-x) var(--wordmark-hover-pos-y),
      #000 0 26%,
      rgba(0, 0, 0, 0.78) 42%,
      rgba(0, 0, 0, 0.30) 62%,
      transparent 78%
    );
  mask-image:
    radial-gradient(
      ellipse 18% 86% at var(--wordmark-hover-pos-x) var(--wordmark-hover-pos-y),
      #000 0 26%,
      rgba(0, 0, 0, 0.78) 42%,
      rgba(0, 0, 0, 0.30) 62%,
      transparent 78%
    );
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 180ms ease;
  will-change: opacity, transform, filter;
}

.hero-model-wordmark::before {
  color: rgba(0, 0, 0, 0.84);
  transform:
    translate3d(
      calc(var(--wordmark-hover-x) * var(--wordmark-hover) * -20px),
      calc(var(--wordmark-hover-y) * var(--wordmark-hover) * 4px),
      0
    )
    skewX(calc(var(--wordmark-hover-x) * var(--wordmark-hover) * -9deg))
    scaleX(calc(1 + var(--wordmark-hover) * 0.08))
    scaleY(calc(1 - var(--wordmark-hover) * 0.08));
  filter: blur(calc(var(--wordmark-hover) * 0.22px));
  mix-blend-mode: multiply;
}

.hero-model-wordmark::after {
  color: rgba(226, 246, 246, 0.18);
  transform:
    translate3d(
      calc(var(--wordmark-hover-x) * var(--wordmark-hover) * 13px),
      calc(var(--wordmark-hover-y) * var(--wordmark-hover) * -3px),
      0
    )
    skewX(calc(var(--wordmark-hover-x) * var(--wordmark-hover) * 6deg))
    scaleX(calc(1 - var(--wordmark-hover) * 0.055))
    scaleY(calc(1 + var(--wordmark-hover) * 0.035));
  filter: blur(calc(0.12px + var(--wordmark-hover) * 0.18px));
  mix-blend-mode: soft-light;
}

.hero-model-scene.is-wordmark-hovering .hero-model-wordmark:not(.hero-model-wordmark-intersection) {
  color: rgba(0, 0, 0, 0.98);
  letter-spacing: 0;
}

.hero-model-scene.is-wordmark-rippling .hero-model-wordmark:not(.hero-model-wordmark-intersection) {
  -webkit-mask-image:
    radial-gradient(
      ellipse 18% 78% at var(--wordmark-hover-pos-x) var(--wordmark-hover-pos-y),
      rgba(0, 0, 0, 0.10) 0 28%,
      rgba(0, 0, 0, 0.38) 45%,
      rgba(0, 0, 0, 0.78) 64%,
      #000 82%
    );
  mask-image:
    radial-gradient(
      ellipse 18% 78% at var(--wordmark-hover-pos-x) var(--wordmark-hover-pos-y),
      rgba(0, 0, 0, 0.10) 0 28%,
      rgba(0, 0, 0, 0.38) 45%,
      rgba(0, 0, 0, 0.78) 64%,
      #000 82%
    );
}

.hero-model-scene.is-wordmark-hovering .hero-model-wordmark:not(.hero-model-wordmark-intersection)::before {
  opacity: 0;
}

.hero-model-scene.is-wordmark-hovering .hero-model-wordmark:not(.hero-model-wordmark-intersection)::after {
  opacity: 0;
}

.hero-wordmark-ripple-canvas {
  position: absolute;
  z-index: 4;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: normal;
  filter: contrast(1.1);
  transition: opacity 180ms ease;
  will-change: opacity;
}

.hero-model-scene.is-wordmark-rippling .hero-wordmark-ripple-canvas {
  opacity: 0.96;
}

@media (prefers-reduced-motion: reduce) {
  .hero-wordmark-ripple-canvas {
    display: none;
  }
}

.hero-model-wordmark-intersection {
  z-index: 4;
  color: rgba(17, 25, 27, 0.54);
  -webkit-text-fill-color: rgba(17, 25, 27, 0.50);
  -webkit-text-stroke: 0.24px rgba(238, 252, 252, 0.20);
  clip-path: none;
  filter: blur(0.08px);
  mix-blend-mode: multiply;
  opacity: 0.84;
  -webkit-mask-image:
    radial-gradient(ellipse 35% 70% at 50% 51%, #000 0 44%, rgba(0, 0, 0, 0.74) 57%, rgba(0, 0, 0, 0.30) 70%, transparent 86%);
  mask-image:
    radial-gradient(ellipse 35% 70% at 50% 51%, #000 0 44%, rgba(0, 0, 0, 0.74) 57%, rgba(0, 0, 0, 0.30) 70%, transparent 86%);
}

.hero-model-wordmark-intersection::before,
.hero-model-wordmark-intersection::after {
  display: none;
}

.hero-model-scene.is-wordmark-hovering .hero-model-wordmark-intersection {
  color: rgba(12, 18, 20, 0.56);
  -webkit-text-fill-color: rgba(12, 18, 20, 0.52);
  -webkit-text-stroke-color: rgba(244, 255, 255, 0.18);
  letter-spacing: 0;
  opacity: 0.84;
  filter: blur(0.08px);
}

@keyframes heroModelWordmarkBreathe {
  0%,
  100% {
    transform:
      translate3d(
        calc(-50% + var(--wordmark-hover-x) * var(--wordmark-hover) * -7px),
        calc(-50% + 2px + var(--wordmark-hover-y) * var(--wordmark-hover) * 3px),
        0
      )
      skewX(calc(var(--wordmark-hover-x) * var(--wordmark-hover) * -2.4deg))
      scaleX(calc(0.86 + var(--wordmark-hover) * 0.035))
      scaleY(calc(1 - var(--wordmark-hover) * 0.025));
  }

  50% {
    transform:
      translate3d(
        calc(-50% + var(--wordmark-hover-x) * var(--wordmark-hover) * -7px),
        calc(-50% - 3px + var(--wordmark-hover-y) * var(--wordmark-hover) * 3px),
        0
      )
      skewX(calc(var(--wordmark-hover-x) * var(--wordmark-hover) * -2.4deg))
      scaleX(calc(0.86 + var(--wordmark-hover) * 0.035))
      scaleY(calc(1 - var(--wordmark-hover) * 0.025));
  }
}

.hero-kinetic-mark {
  position: absolute;
  left: -60vw;
  right: -60vw;
  bottom: -1vh;
  z-index: 4;
  height: clamp(560px, 82vh, 940px);
  --hero-water-plane-transform: perspective(1180px) rotateX(61deg) translate3d(0, 9vh, 0);
  transform: var(--hero-water-plane-transform);
  transform-origin: 50% 100%;
  overflow: hidden;
  pointer-events: none;
  filter: saturate(0.94) brightness(1.0) contrast(1.10);
  opacity: 0.94;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 8%,
    rgba(0, 0, 0, 0.28) 20%,
    rgba(0, 0, 0, 0.56) 36%,
    rgba(0, 0, 0, 0.82) 52%,
    #000 65%,
    rgba(0, 0, 0, 0.72) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 8%,
    rgba(0, 0, 0, 0.28) 20%,
    rgba(0, 0, 0, 0.56) 36%,
    rgba(0, 0, 0, 0.82) 52%,
    #000 65%,
    rgba(0, 0, 0, 0.72) 82%,
    transparent 100%
  );
}

.hero-kinetic-mark::before,
.hero-kinetic-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-kinetic-mark::before {
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 18%, transparent 34%, rgba(255, 255, 255, 0.14) 54%, transparent 82%),
    repeating-linear-gradient(
      178deg,
      rgba(255, 255, 255, 0.1) 0px,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 46%, rgba(255, 255, 255, 0.08) 100%);
  filter: blur(0.4px);
  opacity: 0.48;
  mix-blend-mode: screen;
}

.hero-kinetic-mark::after {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.26), transparent 48%),
    radial-gradient(ellipse at 18% 76%, rgba(255, 255, 255, 0.2), transparent 46%),
    radial-gradient(ellipse at 78% 80%, rgba(255, 255, 255, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 48%, rgba(160, 150, 132, 0.08) 100%);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.hero-kinetic-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.96;
}

@keyframes heroWaterReceive {
  0% {
    opacity: 0.8;
    filter: blur(2px) brightness(0.95) saturate(0.95);
    transform: var(--hero-water-plane-transform) scale(1.01);
  }

  58% {
    opacity: 0.92;
    filter: blur(1px) brightness(0.98) saturate(0.98);
  }

  100% {
    opacity: 1;
    filter: blur(0) brightness(1) saturate(1);
    transform: var(--hero-water-plane-transform) scale(1);
  }
}

.hero-ripple-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-stage::before {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(255, 255, 255, 0.46), transparent 34%),
    radial-gradient(ellipse at 50% 78%, rgba(149, 181, 184, 0.11), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 40%, rgba(225, 222, 214, 0.16) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.84' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='0.58'/%3E%3C/svg%3E");
  background-size: auto, auto, auto, 260px 260px;
  background-position: center;
  opacity: 0.34;
  mix-blend-mode: multiply;
}

.hero-stage::after {
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 52%, transparent 24%, rgba(17, 28, 31, 0.028) 72%, rgba(17, 28, 31, 0.05) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(13, 57, 65, 0.012) 0px,
      rgba(13, 57, 65, 0.012) 1px,
      transparent 1px,
      transparent 34px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(13, 57, 65, 0.009) 0px,
      rgba(13, 57, 65, 0.009) 1px,
      transparent 1px,
      transparent 28px
    );
  opacity: 0.56;
  mix-blend-mode: multiply;
}

body.has-entered .hero-stage::before {
  opacity: 0.34;
}

body.has-entered .hero-stage::after {
  opacity: 0.56;
}

body.has-entered .hero-kinetic-mark::after {
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255, 255, 255, 0.28), transparent 50%),
    radial-gradient(ellipse at 18% 78%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(ellipse at 82% 80%, rgba(255, 255, 255, 0.14), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 52%, rgba(150, 142, 126, 0.08));
  opacity: 0.44;
}

body.has-entered .hero-stage {
  background: #faf8f4;
  border-bottom: 0;
}

body.has-entered .hero-kinetic-mark {
  opacity: 0.94;
}

.hero-wireframe {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58) 58%, transparent 94%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58) 58%, transparent 94%);
}

.hero-wireframe-line {
  fill: none;
  stroke: rgba(29, 86, 94, 0.22);
  stroke-width: 1;
  stroke-linecap: round;
}

.hero-wireframe-line.is-depth {
  stroke: rgba(29, 86, 94, 0.15);
}

/* Poster hero: water surface background with a stable sculpture lockup. */
body.has-entered .hero-section {
  /* hero (100vh) + curtain scroll spacer (32vh), sticky stage pinned across */
  min-height: calc(100vh + 32vh);
  min-height: calc(100dvh + 32dvh);
  display: block;
}

body.has-entered .hero-stage {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  opacity: 1;
  filter: none;
  transform: none;
}

@media (max-width: 760px) {
  body.has-entered .hero-section {
    min-height: calc(100vh + 40vh);
    min-height: calc(100dvh + 40dvh);
  }

  .hero-stage {
    perspective-origin: 50% 44%;
  }

  .hero-model-wordmark {
    top: 51%;
    font-size: clamp(2.4rem, 12vw, 5.1rem);
  }

  .hero-kinetic-mark {
    left: -56vw;
    right: -56vw;
    bottom: 0;
    height: 66vh;
    --hero-water-plane-transform: perspective(860px) rotateX(65deg) translate3d(0, 8vh, 0);
  }
}

/* 2026-04-25 GO entry restoration: keep existing site, replace only the entry layer. */
.entry-screen {
  position: relative;
  --entry-pad-x: clamp(40px, 6.25vw, 96px);
  --entry-pad-y: clamp(42px, 7vh, 88px);
  height: 100vh;
  min-height: 100svh;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #020202;
}

.entry-center {
  z-index: 6;
}

.entry-box-wrap {
  animation: entryBoxFloat 5.2s ease-in-out infinite;
}

@keyframes entryBoxFloat { 0%, 100% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-9px) scale(1.008); } }

/* Entry 2026-05-06: packaging seal, dieline, and print-registration direction. */
body:not(.has-entered) {
  overflow: hidden;
  scrollbar-width: none;
}

body:not(.has-entered)::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body:not(.has-entered) .precision-guides::before,
body:not(.has-entered) .precision-guides::after {
  opacity: 0.36;
  background: rgba(225, 232, 228, 0.16);
}

body:not(.has-entered) .precision-cursor {
  width: 30px;
  height: 30px;
  color: rgba(226, 234, 230, 0.62);
  filter: none;
  transform: translate(-50%, -50%);
}

body:not(.has-entered) .precision-cursor::before {
  background:
    linear-gradient(currentColor 0 0) left 0 top 0 / 9px 1px no-repeat,
    linear-gradient(currentColor 0 0) left 0 top 0 / 1px 9px no-repeat,
    linear-gradient(currentColor 0 0) right 0 top 0 / 9px 1px no-repeat,
    linear-gradient(currentColor 0 0) right 0 top 0 / 1px 9px no-repeat,
    linear-gradient(currentColor 0 0) left 0 bottom 0 / 9px 1px no-repeat,
    linear-gradient(currentColor 0 0) left 0 bottom 0 / 1px 9px no-repeat,
    linear-gradient(currentColor 0 0) right 0 bottom 0 / 9px 1px no-repeat,
    linear-gradient(currentColor 0 0) right 0 bottom 0 / 1px 9px no-repeat;
  border: 0;
  box-shadow: none;
}

body:not(.has-entered) .precision-cursor::after {
  width: 3px;
  height: 3px;
  background: rgba(190, 205, 198, 0.78);
  box-shadow: 0 0 0 5px rgba(190, 205, 198, 0.055);
}

body:not(.has-entered) .entry-box-wrap {
  filter: none;
}

/* Entry surface: flat black archive cover. */
body:not(.has-entered) .entry-screen {
  background: #020202;
}

.entry-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.entry-year-lockup {
  position: absolute;
  left: var(--entry-pad-x);
  bottom: var(--entry-pad-y);
  z-index: 2;
  display: grid;
  gap: 18px;
  color: rgba(238, 235, 225, 0.72);
  font-family: "Satoshi", "MiSans", system-ui, sans-serif;
  pointer-events: none;
}

.entry-year {
  display: block;
  color: rgba(238, 235, 225, 0.13);
  font-family: "Satoshi", "Outfit", "MiSans", system-ui, sans-serif;
  font-size: clamp(4.7rem, 7vw, 6.2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 0.82;
}

.entry-year-label {
  display: block;
  width: 24ch;
  color: rgba(238, 235, 225, 0.52);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.entry-system-readout {
  position: absolute;
  z-index: 7;
  display: grid;
  gap: 0.58em;
  max-width: 30ch;
  font-family: "Satoshi", "MiSans", system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.04em;
  color: rgba(218, 222, 216, 0.58);
  text-transform: uppercase;
}

.entry-system-readout strong,
.entry-system-readout b {
  color: rgba(238, 235, 225, 0.82);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.entry-system-readout-loading {
  left: var(--entry-pad-x);
  top: clamp(58px, 10vh, 112px);
  align-items: flex-start;
}

.entry-system-readout-loading b {
  font-variant-numeric: tabular-nums;
}

.entry-system-readout-note {
  right: var(--entry-pad-x);
  bottom: var(--entry-pad-y);
  text-align: right;
}

@media (max-width: 760px) {
  .entry-screen {
    --entry-pad-x: 28px;
    --entry-pad-y: 44px;
  }

  .entry-key-canvas {
    width: 218px;
    height: 218px;
  }

  .entry-progress-bar {
    top: calc(50% + 130px);
    width: min(190px, 54vw);
  }

  .entry-year-lockup {
    left: var(--entry-pad-x);
    right: var(--entry-pad-x);
    bottom: var(--entry-pad-y);
    gap: 12px;
  }

  .entry-year {
    font-size: clamp(3.15rem, 14vw, 3.65rem);
  }

  .entry-year-label {
    width: 22ch;
    font-size: 0.66rem;
  }

  .entry-system-readout-note {
    display: none;
  }

  .entry-system-readout-loading {
    left: var(--entry-pad-x);
    top: 74px;
    font-size: 0.68rem;
  }
}
