/* Homepage vault-corridor hero + opt-in walkthrough — centered copy, indigo/violet */

.wt-page {
  background: var(--au-bg);
  color: var(--au-text);
  font-family: var(--au-font-body);
}

/* Hero: shorter than the viewport so the next section peeks — scroll is obvious. */
.wt-walk {
  position: relative;
  height: 86vh;
  height: 86dvh;
  min-height: 540px;
  max-height: 860px;
  overflow: hidden;
  background: #070b16;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wt-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}
body.wt-touring .wt-canvas,
body.wt-touring .wt-vignette {
  display: none;
}

.wt-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, transparent 18%, transparent 62%, rgba(11, 18, 32, 0.82) 100%),
    radial-gradient(70% 70% at 50% 45%, transparent 40%, rgba(7, 11, 22, 0.55) 100%);
}

/* Scroll lock + header hide while touring */
body.wt-touring {
  overflow: hidden;
}
body.wt-touring .kimss-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Hero content — in-flow so the gate can sit in the leftover band */
.wt-hero {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: min(56rem, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(1.35rem, 3.8vh, 2.6rem) 1.25rem 0;
  transition: opacity 0.35s ease;
}
body.wt-touring .wt-hero {
  opacity: 0;
  pointer-events: none;
}
.wt-hero .wt-kicker {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  margin: 0 0 1.05rem;
}
.wt-hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--au-font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-size: clamp(3.05rem, 7.4vw, 5.15rem);
  color: var(--au-text);
  text-align: center;
}
.wt-hero .wt-lede {
  margin: 0 auto 1.7rem;
  max-width: 42rem;
  font-size: clamp(1.18rem, 2.15vw, 1.42rem);
  line-height: 1.6;
  text-align: center;
}
.wt-paths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  pointer-events: auto;
}
.wt-hero .au-btn {
  font-size: 1.05rem;
  padding: 0.85rem 1.55rem;
}
.wt-enter-btn {
  cursor: pointer;
}
.wt-enter-btn .ti {
  font-size: 0.85em;
}
.wt-path-hint {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-family: var(--au-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--au-dim);
  text-align: center;
}

.wt-gate-dock {
  position: relative;
  z-index: 6;
  flex: 1 1 auto;
  min-height: 11rem;
  width: min(44rem, calc(100% - 1.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.7rem 0;
  pointer-events: none;
}
.wt-gate-dock > * {
  pointer-events: auto;
}
body.wt-touring .wt-gate-dock {
  visibility: hidden;
  pointer-events: none;
}
body.kimss-gate-open .wt-hero {
  opacity: 0.14;
  pointer-events: none;
}
/* Fullscreen tour — one composed slide, not floating layers */
.wt-tour {
  display: none;
}
body.wt-touring {
  overflow: hidden;
}
body.wt-touring .wt-tour {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #070b16;
  align-items: stretch;
  justify-content: center;
}
body.wt-touring .kimss-header,
body.wt-touring .kimss-footer,
body.wt-touring .wt-section {
  visibility: hidden;
}

.wt-tour-shell {
  width: min(92rem, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem 1rem;
}

.wt-tour-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.wt-hud {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #c4b5fd;
}
.wt-hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 10px #6366f1;
}
.wt-hud-bar {
  width: 88px;
  height: 2px;
  background: rgba(99, 102, 241, 0.25);
  display: block;
  overflow: hidden;
}
.wt-hud-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.5s var(--au-ease);
}

.wt-exit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--au-line-strong);
  background: rgba(11, 18, 32, 0.7);
  color: var(--au-muted);
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  flex-shrink: 0;
}
.wt-exit:hover {
  color: var(--au-text);
  border-color: #818cf8;
}

.wt-tour-hint {
  margin: 0;
  font-family: var(--au-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--au-dim);
  flex: 1;
}
.wt-tour-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.wt-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--au-line-strong);
  background: rgba(11, 18, 32, 0.7);
  color: var(--au-muted);
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.wt-ctrl:hover,
.wt-ctrl[aria-pressed="true"] {
  color: var(--au-text);
  border-color: #818cf8;
}
.wt-ctrl .ti { font-size: 0.95rem; }

.wt-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background:
    radial-gradient(70% 80% at 50% 40%, rgba(99, 102, 241, 0.16), transparent 62%),
    linear-gradient(180deg, #0c1428, #070b16);
  overflow: hidden;
}
.wt-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070b16;
}

.wt-kicker {
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin: 0 0 0.45rem;
}
.wt-grad {
  background: var(--au-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wt-lede {
  margin: 0 0 0.75rem;
  max-width: 40rem;
  color: var(--au-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.wt-hero .wt-lede {
  margin: 0 auto 1.7rem;
  font-size: clamp(1.18rem, 2.15vw, 1.42rem);
  line-height: 1.6;
  text-align: center;
}

.wt-tour-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.wt-finish {
  visibility: hidden;
}
.wt-finish.is-on { visibility: visible; }
.wt-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.wt-section {
  position: relative;
  z-index: 5;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: var(--au-bg);
  border-top: 1px solid var(--au-line);
}
.wt-h2 {
  margin: 0 0 1.25rem;
  font-family: var(--au-font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.12;
}
.wt-h2 em {
  font-style: normal;
  background: var(--au-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wt-section-lede {
  max-width: 40rem;
  color: var(--au-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 2rem;
}

.wt-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}
.wt-pillars article {
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--au-line);
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.1), transparent 55%), rgba(255, 255, 255, 0.03);
}
.wt-pillars span {
  font-family: var(--au-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #a5b4fc;
}
.wt-pillars h3 {
  margin: 0.7rem 0 0.55rem;
  font-family: var(--au-font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.wt-pillars p {
  margin: 0;
  color: var(--au-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.wt-arch { background: var(--au-bg-2); }
.wt-shield {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(99, 102, 241, 0.28), transparent 55%),
    #0a0c1d;
  border-top: 1px solid rgba(129, 140, 248, 0.45);
  border-bottom: 1px solid rgba(129, 140, 248, 0.35);
}
.wt-shield .wt-section-lede { color: #c8cee8; }
.wt-shield-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}
.wt-shield-list li {
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(165, 180, 252, 0.28);
  background: rgba(11, 18, 32, 0.55);
  color: var(--au-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.wt-shield-list strong { color: var(--au-text); }
.wt-shield-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(120deg, #6366f1, #a5b4fc);
  color: #05060f;
}
.wt-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}
.wt-split-col {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--au-line);
  background: rgba(11, 18, 32, 0.55);
}
.wt-split-col h3 {
  margin: 0 0 0.35rem;
  font-family: var(--au-font-display);
  font-size: 1.25rem;
}
.wt-split-col p {
  margin: 0 0 1.1rem;
  color: var(--au-dim);
  font-size: 0.92rem;
}
.wt-split-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.wt-split-col li {
  color: var(--au-muted);
  border-bottom: 1px solid var(--au-line);
  padding-bottom: 0.45rem;
}
.wt-split-gap {
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.1rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.5);
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(99, 102, 241, 0.28), transparent 70%),
    #0b1220;
  text-align: center;
}
.wt-split-gap strong {
  font-family: var(--au-font-display);
  margin-bottom: 0.25rem;
}
.wt-split-gap span {
  font-family: var(--au-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.wt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 2rem;
}
.wt-badges span {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--au-line);
  background: rgba(99, 102, 241, 0.08);
  font-size: 0.82rem;
  color: var(--au-muted);
}
.wt-comp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.wt-comp article {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--au-line);
  background: rgba(255, 255, 255, 0.03);
}
.wt-comp h3 {
  margin: 0 0 0.5rem;
  font-family: var(--au-font-display);
  font-size: 1.05rem;
}
.wt-comp p {
  margin: 0;
  color: var(--au-muted);
  font-size: 0.95rem;
}

.wt-price-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--au-line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1.5rem;
}
.wt-price-row a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.1rem;
  text-decoration: none;
  color: var(--au-text);
  border-right: 1px solid var(--au-line);
  transition: background 0.2s ease;
}
.wt-price-row a:last-child { border-right: 0; }
.wt-price-row a:hover { background: rgba(99, 102, 241, 0.1); }
.wt-price-row a.is-hot { background: rgba(99, 102, 241, 0.16); }
.wt-price-row b { font-family: var(--au-font-display); }
.wt-price-row span {
  font-family: var(--au-font-mono);
  font-size: 0.75rem;
  color: var(--au-dim);
}

.wt-final { text-align: center; }
.wt-final .wt-ctas { justify-content: center; }
.wt-trust {
  margin: 1.25rem 0 0;
  font-family: var(--au-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--au-dim);
}

@media (max-width: 900px) {
  .wt-pillars,
  .wt-comp,
  .wt-split,
  .wt-price-row { grid-template-columns: 1fr; }
  .wt-split-gap {
    flex-direction: row;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
  }
  .wt-price-row a { border-right: 0; border-bottom: 1px solid var(--au-line); }

  .wt-tour-hint { display: none; }
  .wt-ctrl { padding: 0.4rem 0.65rem; }
  .wt-finish { font-size: 0.85rem; padding: 0.55rem 0.9rem; }

  /* In-flow hero: copy, CTAs, gate, and scroll cue stack and stay centered. */
  .wt-walk {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .wt-canvas,
  .wt-vignette {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .wt-hero {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(36rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.35rem 0.5rem 0.75rem;
    flex: 0 0 auto;
    justify-content: flex-start;
  }
  .wt-hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    margin-bottom: 0.85rem;
  }
  .wt-hero .wt-lede {
    font-size: 1.02rem;
    margin-bottom: 1.1rem;
  }
  .wt-paths {
    flex-direction: column;
    align-items: stretch;
    width: min(22rem, 100%);
  }
  .wt-hero .au-btn {
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    width: 100%;
  }
  .wt-path-hint {
    font-size: 0.74rem;
  }
  .wt-gate-dock {
    width: min(36rem, calc(100% - 1.5rem));
    margin: 0 auto;
  }
  .wt-section .wt-h2,
  .wt-section-lede {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .wt-badges,
  .wt-ctas {
    justify-content: center;
  }
  .wt-ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(22rem, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .wt-tour-bar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .wt-tour-shell {
    padding: 0.65rem 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .wt-walk { height: auto; min-height: 0; overflow: visible; }
  .wt-canvas { position: relative; height: 42vh; }
  .wt-hero { position: relative; left: auto; transform: none; width: auto; padding: 2.25rem clamp(1.25rem, 5vw, 3rem) 1rem; }
  .wt-vignette { display: none; }
  .wt-gate-dock {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 0.5rem auto 2rem;
    width: min(44rem, calc(100% - 1.5rem));
  }
}
