*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  --void: #0d0b14;
  --violet: #12081c;
  --violet-deep: #0d0b14;
  --neon: #00f3ff;
  --lime: #b8ff2a;
  --pink: #ff2da0;
  --metal: #b4bcc8;
  --neon-dim: rgba(0, 243, 255, 0.35);
  --ink: #eef6ff;
  --muted: #9aaccc;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: radial-gradient(ellipse 120% 90% at 70% 0%, #1a0f28 0%, var(--void) 42%, #08060e 100%);
  color: var(--ink);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 243, 255, 0.04), transparent 55%);
  opacity: 1;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 0% 30%, rgba(0, 243, 255, 0.06), transparent 50%);
}
a {
  color: var(--neon);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
  z-index: 9999;
}
.skip:focus {
  left: 0;
}

.dock {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(5.5rem, 13vw, 10.5rem);
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  padding: 0 0 0 10px;
}
.dock__rail {
  width: 2px;
  align-self: stretch;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, var(--neon) 12%, var(--neon) 88%, transparent 100%);
  opacity: 0.55;
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.35);
  pointer-events: none;
}
.dock__panel {
  pointer-events: auto;
  margin-top: 1.25rem;
  margin-left: 8px;
  width: calc(100% - 18px);
  max-width: 10.25rem;
  padding: 0.85rem 0.65rem 1rem;
  background: rgba(10, 4, 18, 0.94);
  border: 1px solid rgba(0, 243, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(0, 243, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  will-change: transform;
}
.dock__mark {
  display: block;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(0, 243, 255, 0.25);
}
.dock__mark:hover {
  color: var(--neon);
  text-decoration: none;
}
.dock__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.dock__idx {
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
  font-weight: 700;
}
.dock__slash {
  opacity: 0.25;
  margin: 0 0.1em;
}
.dock__lab {
  font-weight: 800;
  letter-spacing: 0.1em;
}
.dock__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: #c8d8f0;
  padding: 0.4rem 0.2rem;
  border-left: 2px solid transparent;
  text-decoration: none;
  transform-style: preserve-3d;
  perspective: 220px;
}
.dock__txt {
  display: block;
  flex: 1;
  min-width: 0;
}
.dock__glyph {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: #9aa8b8;
  transform-style: preserve-3d;
  transition: color 0.35s ease, filter 0.35s ease;
}
.dock__glyph svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
@keyframes dock_glyph_flip {
  0% {
    transform: perspective(140px) rotateX(0deg) translateZ(0);
  }
  100% {
    transform: perspective(140px) rotateX(360deg) translateZ(60px);
  }
}
.dock__link:hover .dock__glyph,
.dock__link:focus-visible .dock__glyph {
  color: var(--lime);
  filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.95)) drop-shadow(0 0 12px rgba(184, 255, 42, 0.55));
  animation: dock_glyph_flip 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.dock__link:hover,
.dock__link:focus-visible,
.dock__link[aria-current="page"] {
  color: var(--neon);
  border-left-color: var(--neon);
  text-decoration: none;
  background: rgba(0, 243, 255, 0.06);
}
.dock__link[aria-current="page"] .dock__glyph {
  color: var(--neon);
  filter: drop-shadow(0 0 4px rgba(0, 243, 255, 0.6));
}
.dock__branch {
  position: relative;
  outline: none;
}
.dock__branch:focus-within .dock__shutter,
.dock__branch:hover .dock__shutter {
  max-height: 22rem;
  opacity: 1;
  border-color: rgba(0, 243, 255, 0.45);
  pointer-events: auto;
}
.dock__shutter {
  max-height: 0;
  opacity: 0.85;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, border-color 0.35s ease;
  border-left: 1px solid rgba(0, 243, 255, 0.15);
  margin: 0.25rem 0 0 0.15rem;
  padding-left: 0.35rem;
}
.dock__sub {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #a8bcd8;
  padding: 0.45rem 0.15rem;
  border-bottom: 1px solid rgba(0, 243, 255, 0.08);
  text-decoration: none;
  font-weight: 700;
}
.dock__sub:last-child {
  border-bottom: none;
}
.dock__sub:hover {
  color: var(--neon);
  text-decoration: none;
  background: rgba(0, 243, 255, 0.08);
}

.stage {
  position: relative;
  z-index: 8;
  min-height: 100vh;
  padding-left: clamp(5.75rem, 14vw, 11.5rem);
  perspective: clamp(720px, 95vw, 1400px);
  perspective-origin: 52% 38%;
}
.stage__perspective {
  min-height: inherit;
  transform-style: preserve-3d;
}
.stage__volume {
  position: relative;
  min-height: inherit;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 0.15s ease-out;
}

.field {
  position: absolute;
  inset: -8%;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  transform-style: preserve-3d;
}
.field__svg {
  width: 118%;
  height: auto;
  opacity: 0.55;
  filter: drop-shadow(0 0 40px rgba(0, 243, 255, 0.14));
}

.stack-viewport {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  perspective: 1900px;
  perspective-origin: 48% 42%;
  z-index: 2;
}
.stack-rotor {
  display: flex;
  width: 300%;
  min-height: 100vh;
  transform-style: preserve-3d;
  transition: transform 0.92s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}
.stack-face {
  position: relative;
  flex: 0 0 33.333333%;
  width: 33.333333%;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(3.25rem, 8vh, 4.25rem) 1.35rem 3.5rem;
  box-sizing: border-box;
  border-right: 1px solid rgba(0, 243, 255, 0.16);
  background: linear-gradient(165deg, rgba(14, 6, 22, 0.5) 0%, rgba(6, 2, 10, 0.72) 100%);
}
.stack-face__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.42;
  transition: opacity 0.5s ease;
}
.stack-face:hover .stack-face__fx {
  opacity: 0.78;
}
.stack-face__fx .stack-kinetic-svg {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}
.stack-face__sheet {
  position: relative;
  z-index: 1;
}
.stk-aur--spatial {
  filter: url(#stk_sp_soft);
  transition: filter 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}
#spatial.stack-face:hover .stk-aur--spatial {
  filter: url(#stk_sp_hard);
}
.stk-aur--arch {
  filter: url(#stk_aw_soft);
  transition: filter 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}
#architecture.stack-face:hover .stk-aur--arch {
  filter: url(#stk_aw_hard);
}
.stk-aur--mobile {
  filter: url(#stk_mb_soft);
  transition: filter 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}
#mobile.stack-face:hover .stk-aur--mobile {
  filter: url(#stk_mb_hard);
}
.stack-face__kicker {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--neon);
  opacity: 0.9;
  margin: 0 0 0.65rem;
}
.stack-face__title {
  font-size: clamp(1.05rem, 2.1vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.22;
}
.stack-spec {
  font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-size: 0.7rem;
  line-height: 1.6;
  color: #7ee8f4;
  border: 1px solid rgba(0, 243, 255, 0.32);
  padding: 0.85rem 0.95rem;
  margin: 0 0 1.35rem;
  background: rgba(0, 243, 255, 0.05);
}
.stage--stack {
  padding-bottom: 0;
}
.stage--stack .field {
  z-index: 0;
}
.stage--stack .stack-viewport {
  z-index: 2;
}

.monolith {
  position: absolute;
  left: auto;
  right: clamp(0.5rem, 4vw, 2.5rem);
  top: 38%;
  width: min(46vmin, 300px);
  height: min(46vmin, 300px);
  margin: 0;
  transform: translate(0, -50%) translateZ(-160px);
  transform-style: preserve-3d;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}
.monolith__inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}
.monolith__svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.85);
}

@media (max-width: 720px) {
  .monolith {
    right: 50%;
    top: auto;
    bottom: 8%;
    width: min(70vmin, 260px);
    height: min(70vmin, 260px);
    transform: translate(50%, 0) translateZ(-220px);
    opacity: 0.22;
  }
}

.strata {
  position: relative;
  z-index: 6;
  min-height: 100vh;
  transform: translateZ(2px);
  transform-style: preserve-3d;
  isolation: isolate;
  padding: clamp(5rem, 12vh, 7rem) 1.5rem 28rem;
}

.scroll-slot {
  position: relative;
  min-height: min(110vh, 920px);
  margin: 0 -1rem;
  padding: 0 1rem;
}
.depth-field {
  position: sticky;
  top: max(12vh, 5rem);
  margin: 0;
  font-size: clamp(3.5rem, 20vw, 14rem);
  font-weight: 100;
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: rgba(72, 110, 130, 0.07);
  text-align: right;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  transform: translateZ(0);
  mix-blend-mode: soft-light;
}
.depth-field--left {
  text-align: left;
  color: rgba(90, 130, 150, 0.06);
}
.depth-field--dense {
  font-size: clamp(2.2rem, 11vw, 7rem);
  font-weight: 200;
  letter-spacing: 0.02em;
  color: rgba(60, 90, 110, 0.09);
}
.prose-stack {
  position: relative;
  z-index: 4;
  max-width: 40rem;
}
.type-micro {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--neon);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.type-ledger {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #7a9aac;
  margin: 0 0 1rem;
  font-weight: 500;
}
.display--xl {
  font-size: clamp(2.1rem, 5.5vw, 4.2rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
}
.prose-dense p {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.82;
  color: #b8b2a8;
}
.prose-dense p:last-child {
  margin-bottom: 0;
}
.mono-ledger {
  font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #8aa8b8;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(111, 212, 255, 0.2);
  background: rgba(10, 14, 20, 0.65);
}
.strata__slab {
  max-width: 34rem;
  transform-style: preserve-3d;
}
.strata__slab--hero {
  margin-top: 6vh;
  margin-left: 4vw;
  transform: rotateY(4deg) translateZ(28px) skewY(-0.5deg);
}
.strata__slab--tight {
  max-width: 38rem;
  margin-left: auto;
  margin-right: 3vw;
  transform: rotateY(-5deg) translateZ(12px);
}
.strata__slab--floor {
  margin-top: 10vh;
  margin-left: 12vw;
  transform: rotateX(3deg) translateZ(8px);
}
.strata__slab--lean {
  margin-top: 4vh;
  margin-left: 2vw;
  transform: rotateY(7deg) translateZ(20px);
}
.strata__slab--aside {
  max-width: 14rem;
  margin-top: -2rem;
  margin-left: auto;
  padding-right: 2vw;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #9a9690;
  transform: translateZ(60px) rotateZ(-90deg);
  transform-origin: 100% 0;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0 0 1rem;
}
.display {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #c9c4bc;
  margin: 0 0 1.75rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(0, 243, 255, 0.5);
  background: rgba(12, 6, 22, 0.75);
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  font-family: inherit;
  transform: translateZ(4px);
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover {
  background: rgba(0, 243, 255, 0.12);
  border-color: var(--neon);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #dcd8d0;
}

.chapter {
  position: relative;
  z-index: 5;
  padding: clamp(5rem, 11vh, 6.5rem) 1.5rem 28rem;
  transform-style: preserve-3d;
}
.chapter__atlas {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  min-height: min(160vh, 2000px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}
.chapter__atlas-svg {
  position: absolute;
  left: -8%;
  bottom: -5%;
  width: min(140%, 2000px);
  height: auto;
  max-height: none;
  display: block;
}
.chapter__spread,
.chapter__body,
.chapter .scroll-slot {
  position: relative;
  z-index: 1;
}
.chapter__spread {
  display: block;
  max-width: 52rem;
  margin: 0 auto;
}
.chapter__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0 0 0.5rem;
}
.chapter__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 2rem;
  transform: rotateY(-3deg) translateZ(16px);
  transform-origin: 0 50%;
}
.chapter__body {
  columns: 1;
  gap: 2rem;
}
@media (min-width: 720px) {
  .chapter__body {
    columns: 2;
    column-gap: 2.5rem;
  }
}
.chapter__body p {
  margin: 0 0 1.1rem;
  line-height: 1.75;
  color: #c5c0b8;
  break-inside: avoid;
}
.pull {
  display: block;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid #6fd4ff;
  background: rgba(30, 40, 50, 0.4);
  font-size: 1.15rem;
  line-height: 1.55;
  color: #eef6fa;
  transform: rotateY(2deg) translateZ(10px);
}

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 5;
  transform-style: preserve-3d;
  padding: clamp(5rem, 11vh, 6.5rem) 1.25rem 28rem;
}
.process__item {
  max-width: 26rem;
  margin-bottom: 4.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(18, 22, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
}
.process__item:nth-child(1) {
  margin-left: 2vw;
  transform: rotateY(6deg) translateZ(20px);
}
.process__item:nth-child(2) {
  margin-left: auto;
  margin-right: 5vw;
  transform: rotateY(-8deg) translateZ(8px) rotateX(2deg);
}
.process__item:nth-child(3) {
  margin-left: 18vw;
  transform: rotateY(4deg) translateZ(14px) skewX(-1deg);
}
.process__item:nth-child(4) {
  margin-left: auto;
  margin-right: 12vw;
  transform: rotateY(-5deg) translateZ(22px);
}
.process__item:nth-child(5) {
  margin-left: 8vw;
  transform: rotateX(-2deg) translateZ(6px);
}
.process__tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #6fd4ff;
  margin-bottom: 0.5rem;
}
.process__title {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
}
.process__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #b8b3ab;
}
.process__body p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #aea8a0;
}
.process__body p:last-child {
  margin-bottom: 0;
}
.process__glyph {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.inquiry {
  position: relative;
  z-index: 5;
  padding: clamp(5.5rem, 12vh, 7rem) 1.5rem 28rem;
  transform-style: preserve-3d;
}
.connect-channels {
  position: relative;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.connect-channels__trace {
  position: absolute;
  left: -4%;
  right: -4%;
  top: -3.5rem;
  height: calc(100% + 5.5rem);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.connect-channels__trace svg {
  width: 100%;
  height: 100%;
  display: block;
}
.connect-channels .banner {
  position: relative;
  z-index: 1;
}
@keyframes connect_dash_a {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -520;
  }
}
@keyframes connect_dash_b {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 620;
  }
}
.connect-trace__a {
  fill: none;
  stroke: #ff4da6;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 22 6 18;
  animation: connect_dash_a 4.2s linear infinite;
  opacity: 0.85;
}
.connect-trace__b {
  fill: none;
  stroke: #c8ff3a;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 9 26 12 20;
  animation: connect_dash_b 5.1s linear infinite;
  opacity: 0.75;
}
.banner {
  max-width: 44rem;
  margin: 0 auto 3rem;
  transform-style: preserve-3d;
  perspective: 900px;
}
.banner__solid {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(4deg);
}
.banner__face {
  padding: 2rem 1.75rem;
  background: linear-gradient(135deg, #1a2430 0%, #0e141c 60%);
  border: 1px solid rgba(111, 212, 255, 0.35);
  transform: translateZ(36px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.banner__rib {
  position: absolute;
  top: 0;
  right: -3rem;
  width: 3rem;
  height: 100%;
  background: #12202c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-origin: 0 50%;
  transform: rotateY(90deg) translateZ(-1px);
}
.banner__note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #a39e96;
  line-height: 1.55;
}
.banner__icon {
  margin-bottom: 1rem;
}
.banner__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.banner__copy {
  margin: 0 0 1.25rem;
  color: #b5b0a8;
  line-height: 1.6;
  font-size: 0.95rem;
}

.legal {
  position: relative;
  z-index: 5;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 7rem) 1.5rem 28rem;
}
.legal--indexed {
  display: grid;
  grid-template-columns: minmax(3.25rem, 7vw) minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  align-items: start;
  max-width: min(58rem, 100%);
}
@media (max-width: 640px) {
  .legal--indexed {
    grid-template-columns: 1fr;
  }
  .legal__rail {
    display: none;
  }
}
.legal__rail {
  position: sticky;
  top: clamp(4rem, 12vh, 6rem);
  height: min(72vh, 720px);
  max-height: calc(100vh - 6rem);
  pointer-events: none;
  opacity: 0.92;
}
.legal__spec {
  width: 100%;
  height: 100%;
  display: block;
}
.legal__main {
  min-width: 0;
}
.legal__toc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotateY(3deg);
  transform-origin: 0 0;
}
.legal__toc a {
  font-size: 0.92rem;
}
.legal article {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.legal h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}
.legal p,
.legal li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #bdb8b0;
}
.legal ul {
  padding-left: 1.2rem;
}
.legal ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1rem;
}
.legal h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: #e8e4dc;
  letter-spacing: -0.02em;
}
.legal__foot {
  font-size: 0.85rem;
  color: #7a756d;
}

.colophon {
  position: relative;
  z-index: 4;
  margin-top: -14rem;
  padding: 8rem 1rem 4rem;
  min-height: 22rem;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  perspective-origin: 50% 80%;
  pointer-events: none;
}
.colophon a,
.colophon address {
  pointer-events: auto;
}
.colophon__wordmark {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(3.5rem, 18vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.82;
  color: rgba(30, 34, 40, 0.95);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.04);
  user-select: none;
  pointer-events: none;
  transform: rotateX(12deg) scale(1.05);
  transform-origin: 50% 100%;
}
.colophon__depth {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin: -4rem auto 0;
  padding: 1.5rem 1.25rem;
  transform: translateZ(-60px) rotateX(6deg);
  transform-style: preserve-3d;
  transform-origin: 50% 0;
  background: rgba(12, 14, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.colophon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
}
.colophon__links a {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.colophon__biz {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.75;
  color: #8a8580;
  font-style: normal;
}

@media (max-width: 640px) {
  .strata__slab--aside {
    transform: none;
    max-width: 100%;
    margin-top: 2rem;
    padding-right: 0;
    font-size: 0.88rem;
  }
  .banner__solid {
    transform: rotateY(-6deg) rotateX(3deg);
  }
}

.strata__actions {
  margin-top: 2rem;
}

.display--sm {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
}
.display--md {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
}
.services-lede {
  margin-bottom: 1rem;
}
.services-strata {
  padding-bottom: 6rem;
}
.services-hero {
  margin-bottom: 2rem;
}
.inquiry-lede {
  max-width: 36rem;
}
.connect__stack {
  max-width: 42rem;
}

.dock--rd-sync .dock__panel {
  border-color: rgba(0, 243, 255, 0.85);
  box-shadow: 0 0 28px rgba(0, 243, 255, 0.35), 0 0 0 1px rgba(0, 243, 255, 0.2);
}
.dock--rd-sync .dock__rail {
  opacity: 1;
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.55);
}

.rd-portfolio {
  position: relative;
  z-index: 6;
  padding: clamp(3rem, 8vh, 5rem) 1.25rem 22rem;
  margin: 0 -0.5rem;
  isolation: isolate;
}
body > .rd-portfolio--shell {
  padding-left: clamp(5.75rem, 14vw, 11.5rem);
  padding-right: 1rem;
}

.rd-portfolio--stack {
  padding-bottom: clamp(2rem, 5vh, 3rem);
}
.rd-portfolio__title {
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.rd-portfolio__sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--neon);
  margin: 0 0 2rem;
  text-transform: uppercase;
}
.rd-portfolio__grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.portfolio-card {
  border: 1px solid rgba(0, 243, 255, 0.22);
  background: rgba(8, 2, 16, 0.72);
  padding: 1rem 1rem 1.15rem;
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.portfolio-card:hover {
  border-color: rgba(0, 243, 255, 0.65);
  box-shadow: 0 0 32px rgba(0, 243, 255, 0.12);
}
.portfolio-card__layout {
  display: grid;
  grid-template-columns: minmax(160px, 38%) 1fr;
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 720px) {
  .portfolio-card__layout {
    grid-template-columns: 1fr;
  }
}
.portfolio-visual {
  position: relative;
  min-height: 200px;
  border: 1px solid rgba(0, 243, 255, 0.15);
  background: #05020a;
  overflow: hidden;
  filter: grayscale(1);
  opacity: 0.4;
  transform: perspective(1100px) rotateY(0deg);
  transform-origin: 50% 50%;
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
}
.portfolio-card:hover .portfolio-visual {
  filter: grayscale(0);
  opacity: 1;
  transform: perspective(1100px) rotateY(15deg);
}
.portfolio-visual svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.service-showcase {
  margin-top: 1.75rem;
  border: 1px solid rgba(0, 243, 255, 0.28);
  background: linear-gradient(165deg, rgba(8, 2, 18, 0.9) 0%, rgba(3, 5, 12, 0.96) 100%);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(0, 243, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.38);
  transition: border-color 0.35s, box-shadow 0.35s;
}
.stack-face:hover .service-showcase {
  border-color: rgba(0, 243, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(0, 243, 255, 0.14),
    0 20px 56px rgba(0, 243, 255, 0.08);
}
.service-showcase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(0, 243, 255, 0.12);
}
.service-showcase__tag {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--neon);
}
.service-showcase__name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0;
}
.service-showcase__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 18 / 10;
}
.service-showcase__cap {
  margin: 0;
  padding: 0.75rem 1rem 0.95rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  border-top: 1px solid rgba(0, 243, 255, 0.08);
}

.portfolio-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #dce8ff;
}
.portfolio-card__body .mono-ledger {
  margin-bottom: 0.75rem;
}

.form-page {
  position: relative;
  z-index: 12;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 7rem) 1.5rem 28rem;
  transform-style: preserve-3d;
  pointer-events: auto;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button[type="submit"] {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  touch-action: manipulation;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 243, 255, 0.22);
  background: rgba(6, 4, 12, 0.65);
  color: var(--ink);
  font: inherit;
  border-radius: 0;
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition:
    border-color 0.32s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.32s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.32s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.32s ease;
}
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover,
.contact-form button[type="submit"]:hover {
  border-color: rgba(0, 243, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 243, 255, 0.2),
    0 0 20px rgba(0, 243, 255, 0.28),
    0 0 40px rgba(0, 243, 255, 0.12),
    0 10px 26px rgba(0, 0, 0, 0.42);
  transform: perspective(720px) translateY(-2px) translateZ(4px);
  filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.25));
}
.contact-form input:focus,
.contact-form input:focus-visible,
.contact-form select:focus,
.contact-form select:focus-visible,
.contact-form textarea:focus,
.contact-form textarea:focus-visible,
.contact-form button[type="submit"]:focus,
.contact-form button[type="submit"]:focus-visible {
  outline: none;
  border-color: #00f3ff;
  box-shadow:
    0 0 0 1px #00f3ff,
    0 0 24px rgba(0, 243, 255, 0.45),
    0 0 48px rgba(0, 243, 255, 0.22),
    0 14px 32px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(720px) translateY(-1px) translateZ(6px);
  filter: drop-shadow(0 0 12px rgba(0, 243, 255, 0.35));
}
.form-page__lede strong {
  font-weight: 600;
  color: #b8e8ff;
}
.contact-form {
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  min-width: 0;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.contact-form__label {
  display: block;
  flex: 0 0 auto;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0;
  pointer-events: none;
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.contact-form__field--full {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}
.contact-form__req {
  color: #f472b6;
}
.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-form .contact-form__submit {
  position: relative;
  z-index: 50;
  margin-top: 1.25rem;
  width: 100%;
  max-width: none;
  pointer-events: auto;
}

.admin-gate,
.admin-dashboard {
  position: relative;
  z-index: 5;
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 7rem) 1.5rem 28rem;
}
.admin-gate__copy code {
  font-size: 0.85em;
  color: #7ee8f4;
}
.admin-gate__row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.25rem;
}
.admin-gate__input {
  flex: 1;
  min-width: 12rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 243, 255, 0.25);
  background: rgba(4, 2, 10, 0.72);
  color: var(--ink);
  font: inherit;
}
.admin-gate__error {
  color: #fb7185;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}
.admin-dashboard__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.admin-dashboard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}
.admin-dashboard__count {
  font-size: 0.85rem;
  color: var(--muted);
  margin-right: 0.35rem;
}
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.admin-empty {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.admin-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 4, 16, 0.55);
  padding: 1rem 1.15rem;
}
.admin-card__time {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #6a7a8c;
  margin-bottom: 0.35rem;
}
.admin-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.admin-card__meta {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.admin-card__body {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #c4cfdc;
  white-space: pre-wrap;
}

.admin-body {
  min-height: 100vh;
  background: #0d0b14;
}
.admin-topbar {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: rgba(13, 11, 20, 0.92);
  border-bottom: 1px solid rgba(0, 243, 255, 0.22);
  backdrop-filter: blur(12px);
}
.admin-topbar__back {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--neon);
}
.admin-topbar__meta {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: #7a8a9c;
}
.admin-wrap {
  position: relative;
  min-height: 100vh;
  padding-top: 3.25rem;
}
.admin-wrap__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.admin-wrap__svg {
  width: 100%;
  height: 100%;
  display: block;
}
.admin-wrap .admin-gate,
.admin-wrap .admin-dashboard {
  position: relative;
  z-index: 2;
}

.dock__sub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dock__sub-ico {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  color: #7a8a9c;
  transform: translateY(0.05rem);
}
.dock__sub-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-atlas,
.page-atlas * {
  pointer-events: none !important;
}
.page-contact .page-atlas {
  inset: 0;
}
/* 문의 폼: 3D 회전·원근 끄고 클릭 가능하게 평면 고정 */
.page-contact .stage__perspective {
  perspective: none;
}
.page-contact .stage__volume,
.page-contact .stage__volume:hover {
  transform: none !important;
  transform-style: flat;
}
.page-contact .field {
  transform: none !important;
}
.page-contact .stage__volume:hover .page-atlas__svg,
.page-contact .page-atlas__svg {
  transform: none !important;
  filter: none;
}
.page-contact .colophon__wordmark,
.page-contact .colophon__depth {
  transform: none !important;
  perspective: none;
}
.page-contact .contact-form input:hover,
.page-contact .contact-form select:hover,
.page-contact .contact-form textarea:hover,
.page-contact .contact-form button[type="submit"]:hover,
.page-contact .contact-form input:focus,
.page-contact .contact-form input:focus-visible,
.page-contact .contact-form select:focus,
.page-contact .contact-form select:focus-visible,
.page-contact .contact-form textarea:focus,
.page-contact .contact-form textarea:focus-visible,
.page-contact .contact-form button[type="submit"]:focus,
.page-contact .contact-form button[type="submit"]:focus-visible {
  transform: none;
}
/* 도킹(fixed z-index 100) 아래로 폼·버튼이 들어가 클릭이 씹히지 않도록 여백 확보 */
.page-contact .stage {
  position: relative;
  z-index: 30;
  isolation: isolate;
  padding-left: max(
    calc(clamp(5.5rem, 13vw, 10.5rem) + 3.25rem),
    clamp(7rem, 18vw, 14rem),
    min(42vw, 18rem)
  );
}
.page-contact .form-page {
  position: relative;
  z-index: 40;
}
.page-contact .colophon {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
}
.page-contact .colophon__depth {
  pointer-events: none;
}
.page-contact .colophon__links a,
.page-contact .colophon__biz a {
  pointer-events: auto;
}

/* 홈·소개·문의: 도킹·3D 장식이 버튼 클릭을 가리지 않도록 */
.page-home .strata__slab--aside,
.page-story .chapter__atlas,
.page-inquiry .connect-channels__trace {
  pointer-events: none;
}
.page-home #main,
.page-home .strata .actions,
.page-home .strata .actions .btn,
.page-story .chapter__actions,
.page-story .chapter__actions .btn,
.page-inquiry .connect__stack,
.page-inquiry .connect__stack .actions,
.page-inquiry .connect__stack .actions .btn,
.page-inquiry .banner,
.page-inquiry .banner__face,
.page-inquiry .banner__face .btn,
.page-inquiry .banner__face a {
  position: relative;
  z-index: 40;
  pointer-events: auto;
}
.page-home .strata__slab--hero,
.page-home .strata .actions .btn,
.page-story .chapter__actions .btn,
.page-inquiry .connect__stack .actions .btn,
.page-inquiry .banner__face .btn {
  transform: none;
}
.page-home .strata__slab--hero {
  transform: none;
}
.page-home .stage,
.page-story .stage,
.page-inquiry .stage {
  position: relative;
  z-index: 30;
  isolation: isolate;
}
.page-home .studio-triptych,
.page-story .studio-triptych,
.page-inquiry .studio-triptych,
.page-home .ambient-banner,
.page-story .ambient-banner,
.page-inquiry .ambient-banner {
  pointer-events: none;
}
.page-home .stage {
  padding-left: max(
    calc(clamp(5.5rem, 13vw, 10.5rem) + 2rem),
    clamp(6.5rem, 16vw, 12rem)
  );
}

.studio-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.5rem 0 0;
}
@media (max-width: 720px) {
  .studio-triptych {
    grid-template-columns: 1fr;
  }
}
.studio-triptych__cell {
  border: 1px solid rgba(0, 243, 255, 0.24);
  background: linear-gradient(160deg, rgba(10, 4, 20, 0.82), rgba(4, 6, 12, 0.92));
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.studio-triptych__cell:hover {
  border-color: rgba(0, 243, 255, 0.5);
  box-shadow: 0 8px 28px rgba(0, 243, 255, 0.1);
}
.studio-triptych__label {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: var(--neon);
  padding: 0.5rem 0.6rem 0.15rem;
  text-transform: uppercase;
}
.studio-triptych__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  pointer-events: none;
}
.ambient-banner {
  margin-top: 1.75rem;
  border: 1px solid rgba(0, 243, 255, 0.2);
  background: rgba(6, 4, 14, 0.55);
  overflow: hidden;
  pointer-events: none;
}
.ambient-banner__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 7;
}

.page-atlas {
  position: absolute;
  inset: -5%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.page-atlas__svg {
  width: 100%;
  height: 100%;
  display: block;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1), filter 0.55s ease;
}
.stage__volume:hover .page-atlas__svg {
  transform: perspective(1000px) rotateX(2.5deg) translateZ(36px);
  filter: drop-shadow(0 0 18px rgba(0, 243, 255, 0.16)) drop-shadow(0 0 26px rgba(255, 45, 160, 0.09));
}
.stack-face:hover .stack-face__wire svg {
  transform: perspective(900px) rotateY(-1.5deg) translateZ(24px);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.stack-face__wire svg {
  transform-style: preserve-3d;
}
.stack-face__wire {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.38;
}
.stack-face__wire .wire-shift {
  transform: translate3d(calc(var(--awx, 0) * 14px), calc(var(--awy, 0) * 12px), 0);
  transition: transform 0.12s ease-out;
}
.stack-face__wire svg {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}
#architecture .stack-face__wire {
  opacity: 0.32;
}
#mobile .stack-face__wire {
  opacity: 0.42;
}
.liquid-morph {
  animation: liquid_pulse 7s ease-in-out infinite;
}
@keyframes liquid_pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dock__panel,
  .strata,
  .strata__slab,
  .chapter__title,
  .pull,
  .process__item,
  .legal__toc,
  .banner__solid,
  .depth-field {
    transform: none;
  }
  .depth-field {
    position: relative;
    top: auto;
    font-size: clamp(2rem, 8vw, 4rem);
    mix-blend-mode: normal;
    color: rgba(90, 120, 140, 0.15);
  }
  .portfolio-visual {
    filter: none;
    opacity: 1;
    transform: none;
  }
  .rd-portfolio__blob,
  .rd-portfolio__blob--lag {
    animation: none !important;
  }
  .connect-trace__a,
  .connect-trace__b {
    animation: none;
  }
  .stk-aur--spatial,
  .stk-aur--arch,
  .stk-aur--mobile {
    filter: none;
  }
  .dock__link:hover .dock__glyph,
  .dock__link:focus-visible .dock__glyph {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
  .liquid-morph {
    animation: none !important;
  }
  .stage__volume:hover .page-atlas__svg,
  .stack-face:hover .stack-face__wire svg {
    transform: none !important;
    filter: none !important;
    transition: none;
  }
  .colophon__wordmark {
    transform: none;
  }
  .colophon__depth {
    transform: none;
  }
}
