*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #0d0c0b;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: #0d0c0b;
  color: #f5efe5;
  font-family: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", monospace;
  -webkit-font-smoothing: antialiased;
}

.contact-dock {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  left: 50%;
  z-index: 120;
  display: flex;
  gap: 0.32rem;
  align-items: center;
  padding: 0.36rem;
  border: 1px solid rgba(245, 239, 229, 0.14);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.64);
  box-shadow:
    0 1.2rem 4rem rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.contact-dock a {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  min-height: 2.55rem;
  border-radius: 999px;
  padding: 0 0.86rem;
  color: rgba(245, 239, 229, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 220ms ease,
    background 220ms ease,
    box-shadow 280ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-dock a:hover,
.contact-dock a:focus-visible {
  color: #f5efe5;
  background:
    radial-gradient(circle at 30% 20%, rgba(148, 189, 251, 0.3), transparent 55%),
    radial-gradient(circle at 78% 72%, rgba(243, 168, 206, 0.24), transparent 55%),
    rgba(245, 239, 229, 0.08);
  box-shadow: 0 0 2.6rem rgba(148, 189, 251, 0.14);
  outline: none;
  transform: translateY(-0.08rem);
}

.contact-dock svg {
  width: 1.02rem;
  height: 1.02rem;
  fill: currentColor;
  flex: 0 0 auto;
}

body.is-button-hovering {
  --button-x: 50%;
  --button-y: 50%;
}

.button-hover-field,
.button-cursors,
.cursor-particle {
  display: none !important;
}

.launch-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(138, 43, 226, 0.12), transparent 28rem),
    #08080c;
  pointer-events: none;
  animation: launchScreenExit 5.35s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.launch-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 229, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 229, 0.026) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.launch-terminal {
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: 2;
  width: min(19rem, calc(100vw - 2rem));
  color: rgba(0, 255, 204, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.38);
  transform: translateX(-50%);
  animation: launchTerminalFade 4.7s ease forwards;
}

.launch-line {
  display: block;
  width: 0;
  overflow: hidden;
  margin-bottom: 0.28rem;
  white-space: nowrap;
}

.launch-line-one {
  animation: launchTyping 0.8s steps(20, end) 0.2s forwards;
}

.launch-line-two {
  animation: launchTyping 1s steps(30, end) 1.15s forwards;
}

.launch-line-three {
  animation: launchTyping 0.5s steps(15, end) 2.45s forwards;
}

.launch-logo-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(8.8rem, 16vw, 12.5rem);
  height: clamp(8.8rem, 16vw, 12.5rem);
  place-items: center;
  animation: launchLogoExit 5.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.launch-logo {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: launchLogoPulse 2s ease-in-out 3s infinite alternate;
}

.launch-bracket {
  fill: none;
  stroke: url(#launchLogoGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  opacity: 0;
}

.launch-core {
  fill: url(#launchLogoGradient);
  opacity: 0;
  transform: scale(0) rotate(-45deg);
  transform-box: fill-box;
  transform-origin: center;
}

.launch-bracket-left {
  animation:
    launchDrawPath 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1.45s forwards,
    launchSlideLeft 1s cubic-bezier(0.34, 1.56, 0.64, 1) 2.95s forwards;
}

.launch-bracket-right {
  animation:
    launchDrawPath 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1.45s forwards,
    launchSlideRight 1s cubic-bezier(0.34, 1.56, 0.64, 1) 2.95s forwards;
}

.launch-core {
  animation: launchPopCore 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 2.18s forwards;
}

.launch-bloom {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #ff00ff;
  box-shadow:
    0 0 50px 20px rgba(255, 0, 255, 0.85),
    0 0 100px 50px rgba(138, 43, 226, 0.72),
    0 0 150px 80px rgba(0, 191, 255, 0.55);
  opacity: 0;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(0.5);
  animation: launchBloom 3s cubic-bezier(0.25, 1, 0.5, 1) 2.95s forwards;
}

.topbar,
main,
.agent-companion {
  animation: siteReveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) 4.75s both;
}

@keyframes launchTyping {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes launchTerminalFade {
  0% { opacity: 0; }
  10%, 80% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes launchDrawPath {
  0% {
    stroke-dashoffset: 150;
    stroke: #fff;
    opacity: 1;
    filter: drop-shadow(0 0 2px #fff);
  }
  70% {
    stroke: url(#launchLogoGradient);
    filter: drop-shadow(0 0 7px rgba(255, 0, 255, 0.55));
  }
  100% {
    stroke-dashoffset: 0;
    stroke: url(#launchLogoGradient);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.68));
  }
}

@keyframes launchPopCore {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.2) rotate(50deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(45deg);
  }
}

@keyframes launchSlideLeft {
  to { transform: translateX(-8px); }
}

@keyframes launchSlideRight {
  to { transform: translateX(8px); }
}

@keyframes launchBloom {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 0.14;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes launchLogoPulse {
  0% { filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.42)); }
  100% {
    filter:
      drop-shadow(0 0 26px rgba(0, 191, 255, 0.62))
      drop-shadow(0 0 12px rgba(255, 140, 0, 0.42));
  }
}

@keyframes launchLogoExit {
  0%, 76% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 1;
    transform: scale(1.16);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.36) rotate(18deg);
    filter: blur(12px);
  }
}

@keyframes launchScreenExit {
  0%, 82% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes siteReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 1.1rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem;
}

.button-hover-field {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--button-x, 50%) var(--button-y, 50%), rgba(245, 239, 229, 0.12), transparent min(16rem, 32vw)),
    radial-gradient(circle at calc(var(--button-x, 50%) + 7rem) calc(var(--button-y, 50%) - 5rem), rgba(243, 168, 206, 0.2), transparent min(22rem, 42vw)),
    radial-gradient(circle at calc(var(--button-x, 50%) - 8rem) calc(var(--button-y, 50%) + 6rem), rgba(148, 189, 251, 0.2), transparent min(23rem, 44vw)),
    radial-gradient(circle at calc(var(--button-x, 50%) + 2rem) calc(var(--button-y, 50%) + 9rem), rgba(255, 140, 0, 0.12), transparent min(20rem, 40vw));
  filter: blur(20px) saturate(1.12);
  mix-blend-mode: screen;
  transition: opacity 0.38s ease;
}

.button-hover-field::after {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245, 239, 229, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 60%, rgba(245, 239, 229, 0.4) 0 1px, transparent 1.8px);
  background-size: 34px 34px, 47px 47px;
  transform: rotate(8deg);
}

body.is-button-hovering .button-hover-field {
  opacity: 0.54;
}

.brand,
.nav-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(245, 239, 229, 0.16);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: #f5efe5;
  background: rgba(13, 12, 11, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.brand img {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-meta {
  gap: 1.2rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 7rem 1.4rem 1.4rem;
}

.gradient-canvas {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 1;
}

.gradient-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(13, 12, 11, 0.1), rgba(13, 12, 11, 0.9) 48%),
    linear-gradient(90deg, rgba(13, 12, 11, 0.9), rgba(13, 12, 11, 0.2) 54%, rgba(13, 12, 11, 0.76));
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(245, 239, 229, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 229, 0.038) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 86%, transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 54rem;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: rgba(245, 239, 229, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.7rem;
  max-width: 58rem;
  font-size: 8rem;
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 0.86;
  text-wrap: balance;
}

h1 span {
  display: block;
  background: linear-gradient(112deg, #fff 0%, #dbeafe 32%, #94bdfb 52%, #f3a8ce 72%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(148, 189, 251, 0.24));
}

.hero-copy {
  max-width: 38rem;
  color: rgba(245, 239, 229, 0.68);
  font-size: 1.4rem;
  font-weight: 750;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.code-strip {
  width: min(34rem, 100%);
  display: grid;
  gap: 0.42rem;
  margin-top: 1.4rem;
  border-left: 1px solid rgba(148, 189, 251, 0.38);
  padding-left: 0.9rem;
  color: rgba(245, 239, 229, 0.62);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.38;
  text-transform: none;
}

.code-strip span {
  min-height: 1.08em;
  text-shadow: 0 0 22px rgba(148, 189, 251, 0.22);
}

.code-strip span:last-child {
  color: rgba(148, 189, 251, 0.86);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.8rem;
  border-radius: 999px;
  padding: 0 1.45rem;
  font-size: 0.96rem;
  font-weight: 850;
  isolation: isolate;
  overflow: visible;
  transition:
    border-color 0.26s ease,
    background 0.26s ease,
    box-shadow 0.26s ease,
    color 0.26s ease,
    transform 0.48s cubic-bezier(0.16, 1.34, 0.34, 1);
}

.button::before {
  content: "";
  position: absolute;
  inset: -0.18rem;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(148, 189, 251, 0.9), rgba(243, 168, 206, 0.78), rgba(255, 140, 0, 0.68));
  filter: blur(0.72rem);
  transition: opacity 0.28s ease;
}

.button:hover,
.button:focus-visible,
.button.is-cursor-active {
  transform: translateY(-0.1rem) scale(1.045);
}

.button:hover::before,
.button:focus-visible::before,
.button.is-cursor-active::before {
  opacity: 0.42;
}

.button-light {
  background: #f5efe5;
  color: #11100e;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
}

.button-light:hover,
.button-light:focus-visible,
.button-light.is-cursor-active {
  background: rgba(245, 239, 229, 0.68);
  color: #11100e;
  box-shadow:
    0 1.2rem 4.6rem rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px) saturate(1.24);
}

.button-ghost {
  border: 1px solid rgba(245, 239, 229, 0.18);
  color: #f5efe5;
  backdrop-filter: blur(16px);
}

.button-ghost:hover,
.button-ghost:focus-visible,
.button-ghost.is-cursor-active {
  border-color: rgba(245, 239, 229, 0.32);
  background: rgba(245, 239, 229, 0.1);
  box-shadow:
    0 1rem 4.2rem rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button-cursors {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.button:hover .button-cursors,
.button:focus-visible .button-cursors,
.button.is-cursor-active .button-cursors {
  opacity: 1;
}

.cursor-particle {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 0.9rem;
  height: 0.9rem;
  place-items: center;
  color: rgba(245, 239, 229, 0.86);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.12) rotate(18deg);
  filter:
    drop-shadow(0 0 7px rgba(245, 239, 229, 0.48))
    drop-shadow(0 0 12px rgba(148, 189, 251, 0.22));
}

.button:hover .cursor-particle,
.button:focus-visible .cursor-particle,
.button.is-cursor-active .cursor-particle {
  animation:
    cursorSpring 0.74s cubic-bezier(0.16, 1.34, 0.34, 1) var(--cursor-delay) forwards,
    cursorHoverFloat 2.4s ease-in-out calc(var(--cursor-delay) + 0.72s) infinite;
}

.cursor-particle svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes cursorSpring {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.12) rotate(18deg);
  }
  55% {
    opacity: 1;
    transform:
      translate(-50%, -50%)
      rotate(var(--cursor-angle))
      translateY(calc(var(--cursor-radius) * -1.08))
      rotate(-24deg)
      scale(1.08);
  }
  100% {
    opacity: 0.92;
    transform:
      translate(-50%, -50%)
      rotate(var(--cursor-angle))
      translateY(calc(var(--cursor-radius) * -1))
      rotate(-18deg)
      scale(1);
  }
}

@keyframes cursorHoverFloat {
  0%, 100% {
    transform:
      translate(-50%, -50%)
      rotate(var(--cursor-angle))
      translateY(calc(var(--cursor-radius) * -1))
      rotate(-18deg)
      scale(1);
  }
  50% {
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--cursor-angle) + 4deg))
      translateY(calc(var(--cursor-radius) * -1.04))
      rotate(-20deg)
      scale(1.03);
  }
}

.hero-pill {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(245, 239, 229, 0.12);
  border-radius: 999px;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.48);
  animation: float 8s ease-in-out infinite;
}

.hero-pill > img {
  overflow: hidden;
  border-radius: inherit;
}

.hero-founder {
  right: 19rem;
  bottom: 6rem;
  width: 16rem;
  height: 34rem;
}

.hero-logo {
  right: 4rem;
  bottom: 3.6rem;
  width: 17rem;
  height: 30rem;
  animation-direction: reverse;
}

.clone-tag {
  position: absolute;
  z-index: 8;
  top: 18%;
  left: -6.2rem;
  display: grid;
  grid-template-columns: auto 5.2rem;
  align-items: center;
  gap: 0.55rem;
  color: rgba(245, 239, 229, 0.82);
  pointer-events: none;
  transform: rotate(-7deg);
}

.clone-tag span {
  border: 1px solid rgba(245, 239, 229, 0.22);
  border-radius: 999px;
  background: rgba(13, 12, 11, 0.72);
  padding: 0.55rem 0.72rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.clone-tag svg {
  width: 5.2rem;
  height: 2.7rem;
  overflow: visible;
}

.clone-tag path {
  fill: none;
  stroke: rgba(245, 239, 229, 0.96);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, -1rem, 0) rotate(2deg);
  }
}

.hero-footer {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 4;
  display: flex;
  gap: 0.8rem;
  color: rgba(245, 239, 229, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal-section {
  min-height: 110svh;
  display: grid;
  align-content: center;
  padding: 10rem 1.4rem;
}

.reveal-section.compact {
  min-height: 86svh;
}

.animate-text {
  position: relative;
  width: min(80rem, 100%);
  margin: 0 auto;
  color: rgba(245, 239, 229, 0.18);
  font-size: 4.95rem;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.04;
  text-align: center;
  text-wrap: balance;
  --clip-value: 100%;
}

.animate-text::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #f5efe5;
  clip-path: inset(0 0 var(--clip-value) 0);
  text-wrap: balance;
  will-change: clip-path;
}

.word-lock {
  position: relative;
  height: 180svh;
  min-height: 180svh;
  overflow: visible;
  border-top: 1px solid rgba(245, 239, 229, 0.1);
  border-bottom: 1px solid rgba(245, 239, 229, 0.1);
}

.word-lock-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.word-lock-stage::before,
.word-lock-stage::after {
  content: "";
  position: absolute;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 18vh;
  pointer-events: none;
}

.word-lock-stage::before {
  top: 0;
  background: linear-gradient(180deg, #0d0c0b, rgba(13, 12, 11, 0) 82%);
}

.word-lock-stage::after {
  bottom: 0;
  background: linear-gradient(0deg, #0d0c0b, rgba(13, 12, 11, 0) 82%);
}

.word-row {
  position: absolute;
  left: 0;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: #f5efe5;
  font-size: clamp(5.8rem, 13.4vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.088em;
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  transform: translate3d(0, -50%, 0) scale(0.58);
  transform-origin: center center;
  text-shadow: 0 0 48px rgba(148, 189, 251, 0.12);
  will-change: transform, opacity;
}

.word-row span {
  display: inline-block;
  -webkit-box-reflect: below -0.12em linear-gradient(transparent 0%, rgba(245, 239, 229, 0.16) 36%, transparent 78%);
}

.word-row-one {
  top: 40%;
  color: rgba(245, 239, 229, 0.72);
  opacity: 0.72;
}

.word-row-two {
  top: 50%;
  z-index: 2;
  color: rgba(245, 239, 229, 0.96);
  opacity: 0.9;
}

.word-row-three {
  top: 60%;
  color: rgba(245, 239, 229, 0.5);
  opacity: 0.5;
}

.word-follow {
  margin-top: 0;
}

.score-section {
  min-height: 108svh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(24rem, 1fr);
  align-items: center;
  gap: 1.4rem;
  padding: 8rem 1.4rem;
  border-bottom: 1px solid rgba(245, 239, 229, 0.1);
}

.score-copy h2 {
  max-width: 44rem;
  margin-bottom: 1.2rem;
  font-size: clamp(4rem, 7vw, 8.6rem);
  font-weight: 740;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.score-copy p:not(.eyebrow) {
  max-width: 35rem;
  color: rgba(245, 239, 229, 0.62);
  font-size: 1.55rem;
  font-weight: 720;
  line-height: 1.08;
}

.score-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 229, 0.14);
  border-radius: 2.2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(18, 17, 16, 0.82);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 55px 160px rgba(0, 0, 0, 0.42);
}

.score-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 229, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 54% 36%, black, transparent 72%);
  pointer-events: none;
}

.score-topline,
.game-hud,
.agent-stage,
.score-rows,
.score-value,
.score-bar {
  position: relative;
  z-index: 1;
}

.score-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.1rem;
  color: rgba(245, 239, 229, 0.48);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.agent-stage {
  height: clamp(11rem, 19vw, 15rem);
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 229, 0.86);
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 64% 58%, rgba(255, 140, 0, 0.11), transparent 28%),
    radial-gradient(circle at 72% 44%, rgba(148, 189, 251, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 229, 0.92));
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.22);
}

.agent-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 12, 11, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 12, 11, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.agent-toggle {
  position: absolute;
  top: 1.2rem;
  right: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ff8c00;
  font-family: inherit;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.agent-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 2.7rem;
  height: 1.42rem;
  border-radius: 999px;
  background: #ff8c00;
  box-shadow: 0 0 1.2rem rgba(255, 140, 0, 0.34);
}

.agent-switch span {
  position: absolute;
  right: 0.24rem;
  width: 0.96rem;
  height: 0.96rem;
  border-radius: 999px;
  background: #fff;
}

.agent-toggle:focus-visible {
  outline: 2px solid rgba(255, 140, 0, 0.78);
  outline-offset: 0.35rem;
  border-radius: 999px;
}

.agent-terminal {
  position: absolute;
  top: 1.45rem;
  left: 1.55rem;
  z-index: 2;
  display: grid;
  gap: 0.42rem;
  color: rgba(41, 48, 62, 0.78);
  font-size: clamp(0.62rem, 0.92vw, 0.82rem);
  font-weight: 700;
  line-height: 1.22;
}

.agent-terminal span {
  display: block;
  opacity: 0;
  transform: translateY(0.25rem);
  white-space: nowrap;
  animation: terminalFade 6s ease-in-out infinite;
}

.agent-terminal span:nth-child(2) {
  color: rgba(54, 62, 80, 0.78);
  animation-delay: 0.6s;
}

.agent-terminal span:nth-child(3) {
  color: rgba(54, 62, 80, 0.78);
  animation-delay: 1.2s;
}

.agent-terminal span:nth-child(3)::after {
  content: "";
  display: inline-block;
  width: 0.46rem;
  height: 0.86rem;
  margin-left: 0.34rem;
  background: #ff8c00;
  transform: translateY(0.12rem);
  animation: cursorBlink 0.9s steps(1, end) infinite;
}

.agent-orbit {
  position: absolute;
  right: clamp(3.7rem, 11vw, 8.2rem);
  top: 52%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 5.8rem;
  height: 5.8rem;
  transform: translateY(-50%);
  animation: agentPatrol 5.8s ease-in-out infinite alternate;
}

.agent-orbit::after {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.16), transparent 64%);
  filter: blur(0.45rem);
}

.agent-hover {
  display: grid;
  place-items: center;
  animation: agentFloat 2.1s ease-in-out infinite alternate;
}

.agent-svg {
  width: 4.1rem;
  height: 4.1rem;
  overflow: visible;
}

.agent-bracket {
  filter: drop-shadow(0 0 7px rgba(148, 189, 251, 0.42));
}

.agent-core {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 16px rgba(255, 140, 0, 0.72));
  animation: pulseCore 1.9s ease-in-out infinite alternate;
}

.agent-stage.is-paused {
  background:
    radial-gradient(circle at 64% 58%, rgba(13, 12, 11, 0.035), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 246, 0.94));
}

.agent-stage.is-paused .agent-toggle {
  color: rgba(13, 12, 11, 0.54);
}

.agent-stage.is-paused .agent-switch {
  background: #dedede;
  box-shadow: none;
}

.agent-stage.is-paused .agent-switch span {
  right: calc(100% - 1.2rem);
}

.agent-stage.is-paused .agent-terminal {
  opacity: 0;
}

.agent-stage.is-paused .agent-svg {
  filter: grayscale(1) brightness(0.22);
}

.agent-stage.is-paused .agent-orbit,
.agent-stage.is-paused .agent-hover,
.agent-stage.is-paused .agent-core,
.agent-stage.is-paused .agent-terminal span,
.agent-stage.is-paused .agent-terminal span::after {
  animation-play-state: paused;
}

@keyframes terminalFade {
  0%, 12% {
    opacity: 0;
    transform: translateY(0.25rem);
  }
  24%, 76% {
    opacity: 1;
    transform: translateY(0);
  }
  92%, 100% {
    opacity: 0;
    transform: translateY(-0.18rem);
  }
}

@keyframes agentPatrol {
  0% {
    transform: translate3d(-0.55rem, calc(-50% + 0.18rem), 0);
  }
  100% {
    transform: translate3d(0.55rem, calc(-50% - 0.18rem), 0);
  }
}

@keyframes agentFloat {
  0% {
    transform: translateY(0.42rem);
  }
  100% {
    transform: translateY(-0.42rem);
  }
}

@keyframes pulseCore {
  0% {
    transform: scale(0.84);
    opacity: 0.78;
  }
  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.agent-companion {
  position: fixed;
  right: max(1.4rem, env(safe-area-inset-right));
  bottom: max(1.4rem, env(safe-area-inset-bottom));
  z-index: 30;
  width: clamp(3rem, 5.2vw, 4.4rem);
  height: clamp(3rem, 5.2vw, 4.4rem);
  pointer-events: none;
  opacity: 0.82;
  transform: translate3d(0, 0, 0);
  animation: companionIdle 4.2s ease-in-out infinite;
  transition:
    opacity 0.24s ease,
    filter 0.24s ease,
    transform 0.24s cubic-bezier(0.25, 1, 0.5, 1);
}

.companion-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter:
    drop-shadow(0 0 10px rgba(255, 0, 255, 0.22))
    drop-shadow(0 0 18px rgba(0, 191, 255, 0.12));
  transition: filter 0.24s ease;
}

.companion-bracket {
  fill: none;
  stroke: url(#fixedAgentGradient);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.companion-core {
  fill: url(#fixedAgentGradient);
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(45deg);
  transition: transform 0.1s linear;
}

.agent-companion.is-scrolling {
  opacity: 1;
  animation: none;
  transform: scale(1.12);
}

.agent-companion.is-scrolling .companion-svg {
  filter:
    drop-shadow(0 0 16px rgba(255, 140, 0, 0.56))
    drop-shadow(0 0 24px rgba(148, 189, 251, 0.22));
}

.agent-companion.is-scrolling .companion-bracket-left {
  transform: translateX(-12px);
}

.agent-companion.is-scrolling .companion-bracket-right {
  transform: translateX(12px);
}

@keyframes companionIdle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.7rem);
  }
}

.game-hud {
  height: clamp(12rem, 21vw, 17rem);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 229, 0.1);
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at 62% 44%, rgba(148, 189, 251, 0.2), transparent 34%),
    radial-gradient(circle at 34% 62%, rgba(243, 168, 206, 0.16), transparent 32%),
    rgba(4, 4, 4, 0.36);
}

.game-map {
  position: relative;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(245, 239, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 229, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-path,
.map-node,
.map-player,
.map-pop {
  position: absolute;
  display: block;
}

.map-path {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 239, 229, 0), rgba(245, 239, 229, 0.72), rgba(148, 189, 251, 0));
  transform-origin: left;
  animation: pathPulse 2.8s ease-in-out infinite;
}

.map-path-one {
  top: 62%;
  left: 14%;
  width: 34%;
  transform: rotate(-16deg);
}

.map-path-two {
  top: 39%;
  left: 43%;
  width: 29%;
  transform: rotate(18deg);
  animation-delay: 0.32s;
}

.map-path-three {
  top: 57%;
  left: 60%;
  width: 25%;
  transform: rotate(-24deg);
  animation-delay: 0.62s;
}

.map-node {
  width: 0.72rem;
  height: 0.72rem;
  border: 1px solid rgba(245, 239, 229, 0.8);
  border-radius: 999px;
  background: #0d0c0b;
  box-shadow: 0 0 24px rgba(148, 189, 251, 0.42);
}

.map-node-one {
  left: 14%;
  top: 60%;
}

.map-node-two {
  left: 47%;
  top: 34%;
}

.map-node-three {
  left: 82%;
  top: 49%;
}

.map-player {
  left: 12%;
  top: 58%;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.28rem;
  background: linear-gradient(135deg, #f5efe5, #94bdfb 48%, #f3a8ce);
  box-shadow: 0 0 34px rgba(148, 189, 251, 0.78);
  animation: playerRun 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.map-pop {
  color: rgba(245, 239, 229, 0.86);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  text-shadow: 0 0 26px rgba(148, 189, 251, 0.62);
  animation: popScore 4.8s ease-in-out infinite;
}

.map-pop-one {
  left: 22%;
  top: 42%;
  animation-delay: 0.5s;
}

.map-pop-two {
  left: 51%;
  top: 21%;
  animation-delay: 1.6s;
}

.map-pop-three {
  left: 72%;
  top: 35%;
  animation-delay: 2.8s;
}

@keyframes pathPulse {
  0%, 100% {
    opacity: 0.18;
    scale: 0.82 1;
  }
  50% {
    opacity: 0.8;
    scale: 1 1;
  }
}

@keyframes playerRun {
  0% {
    left: 12%;
    top: 58%;
    transform: rotate(0deg);
  }
  28% {
    left: 38%;
    top: 34%;
    transform: rotate(64deg);
  }
  58% {
    left: 62%;
    top: 57%;
    transform: rotate(128deg);
  }
  84% {
    left: 82%;
    top: 45%;
    transform: rotate(190deg);
  }
  100% {
    left: 82%;
    top: 45%;
    transform: rotate(190deg);
  }
}

@keyframes popScore {
  0%, 18%, 100% {
    opacity: 0;
    transform: translate3d(0, 0.45rem, 0) scale(0.92);
  }
  26%, 42% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  52% {
    opacity: 0;
    transform: translate3d(0, -0.65rem, 0) scale(1.04);
  }
}

.score-value {
  margin-bottom: 1.2rem;
  color: #f5efe5;
  font-variant-numeric: tabular-nums;
  font-size: clamp(4.2rem, 10vw, 9.4rem);
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 0.8;
  text-shadow: 0 0 42px rgba(148, 189, 251, 0.2);
}

.score-bar {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 239, 229, 0.1);
}

.score-bar span {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5efe5, #94bdfb, #f3a8ce);
  box-shadow: 0 0 38px rgba(148, 189, 251, 0.48);
  transform-origin: left;
}

.score-rows {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
}

.score-rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(245, 239, 229, 0.1);
  padding-top: 0.8rem;
}

.score-rows span {
  color: rgba(245, 239, 229, 0.42);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.score-rows strong {
  color: rgba(245, 239, 229, 0.82);
  font-size: 1.05rem;
  text-align: right;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
}

.proof-grid article {
  min-height: 33rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(245, 239, 229, 0.1);
  border-radius: 2.2rem;
  background: #1d1a17;
  padding: 1.4rem;
}

.proof-grid span {
  color: rgba(245, 239, 229, 0.42);
  font-size: 4rem;
  font-weight: 750;
  letter-spacing: -0.08em;
}

.proof-grid h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 3.3vw, 3.8rem);
  font-weight: 720;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.proof-grid p {
  color: rgba(245, 239, 229, 0.62);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.12;
}

.close {
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 8rem 1.4rem 6rem;
}

.close h2 {
  max-width: 70rem;
  margin-bottom: 1.3rem;
  font-size: 8.4rem;
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.close p:not(.eyebrow) {
  max-width: 40rem;
  color: rgba(245, 239, 229, 0.62);
  font-size: 2rem;
  font-weight: 720;
  line-height: 1.04;
}

.close-code {
  margin: 1.8rem 0 2rem;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 5.7rem;
  }

  .hero-founder {
    right: 13rem;
    bottom: 5.5rem;
    width: 12rem;
    height: 26rem;
  }

  .clone-tag {
    top: 20%;
    left: -4.7rem;
    grid-template-columns: auto 3.8rem;
  }

  .clone-tag svg {
    width: 3.8rem;
  }

  .hero-logo {
    right: 1.6rem;
    width: 13rem;
    height: 24rem;
  }

  .animate-text {
    font-size: 4.2rem;
  }

  .word-row {
    font-size: clamp(3.7rem, 11vw, 5.8rem);
  }

  .score-section {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid article {
    min-height: 24rem;
  }

  .close h2 {
    font-size: 5.6rem;
  }
}

@media (max-width: 1450px) and (min-width: 1101px) {
  .hero-content {
    max-width: 49rem;
  }

  h1 {
    font-size: 6.8rem;
  }

  .hero-founder {
    right: 16rem;
    bottom: 6.2rem;
    width: 14rem;
    height: 30rem;
  }

  .hero-logo {
    right: 1.5rem;
    bottom: 4rem;
    width: 15.5rem;
    height: 27.5rem;
  }
}

@media (max-width: 760px) {
  .launch-terminal {
    top: 18%;
    font-size: 0.68rem;
  }

  .launch-logo-wrap {
    width: 8.3rem;
    height: 8.3rem;
  }

  body.is-button-hovering .button-hover-field {
    opacity: 0.34;
  }

  .button:hover,
  .button:focus-visible,
  .button.is-cursor-active {
    transform: none;
  }

  .topbar {
    padding: 1rem;
  }

  .nav-meta {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 6.2rem 1rem 1rem;
  }

  h1 {
    max-width: 21rem;
    font-size: clamp(3rem, 13.6vw, 3.68rem);
    letter-spacing: -0.105em;
    line-height: 0.92;
  }

  .hero-content {
    max-width: min(100%, 26rem);
  }

  .hero-copy {
    max-width: 18.5rem;
    font-size: 1.05rem;
  }

  .code-strip {
    width: 18.5rem;
    margin-top: 1.15rem;
    font-size: 0.66rem;
  }

  .hero-pill > img {
    opacity: 0.42;
  }

  .hero-founder > img {
    opacity: 0.58;
  }

  .hero-founder {
    right: 5.8rem;
    bottom: 6.8rem;
    width: 6.9rem;
    height: 14.2rem;
  }

  .clone-tag {
    top: 10%;
    left: -3.05rem;
    gap: 0.25rem;
    grid-template-columns: auto 2.2rem;
    transform: rotate(-8deg) scale(0.92);
  }

  .clone-tag span {
    background: rgba(13, 12, 11, 0.86);
    padding: 0.46rem 0.56rem;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .clone-tag svg {
    width: 2.35rem;
    height: 1.65rem;
  }

  .clone-tag path {
    stroke-width: 4.5;
  }

  .hero-logo {
    right: -0.8rem;
    bottom: 5.6rem;
    width: 7.7rem;
    height: 13.7rem;
    opacity: 0.58;
  }

  .hero-footer {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.62rem;
  }

  .animate-text {
    font-size: 2.65rem;
    letter-spacing: -0.035em;
    line-height: 1.12;
    text-align: left;
  }

  .reveal-section {
    min-height: 72svh;
    align-content: center;
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .reveal-section.compact {
    min-height: 68svh;
  }

  .word-lock {
    height: 155svh;
    min-height: 155svh;
  }

  .word-lock-stage {
    position: sticky;
    top: 0;
    height: 100svh;
  }

  .word-row {
    left: 0;
    width: 100%;
    max-width: none;
    font-size: clamp(3.3rem, 18vw, 5.7rem);
    letter-spacing: -0.075em;
    line-height: 0.78;
    transform: translate3d(0, -50%, 0) scale(0.58);
  }

  .word-follow {
    margin-top: 0;
  }

  .word-row-one {
    top: 39%;
  }

  .word-row-two {
    top: 50%;
    font-size: clamp(2.75rem, 14.6vw, 4.7rem);
  }

  .word-row-three {
    top: 61%;
    font-size: clamp(2.25rem, 12vw, 3.85rem);
  }

  .score-section {
    min-height: auto;
    padding: 6rem 1rem;
  }

  .score-copy h2 {
    font-size: 3.15rem;
    letter-spacing: -0.09em;
  }

  .score-copy p:not(.eyebrow) {
    font-size: 1.18rem;
  }

  .score-card {
    border-radius: 1.4rem;
    padding: 1rem;
  }

  .score-topline {
    margin-bottom: 1rem;
    font-size: 0.62rem;
  }

  .game-hud {
    height: 11.4rem;
    margin-bottom: 1.05rem;
  }

  .agent-stage {
    height: 12.4rem;
    margin-bottom: 1.05rem;
  }

  .agent-toggle {
    top: 0.82rem;
    right: 0.84rem;
    gap: 0.5rem;
    font-size: 0.52rem;
  }

  .agent-switch {
    width: 2.2rem;
    height: 1.12rem;
  }

  .agent-switch span {
    width: 0.74rem;
    height: 0.74rem;
    right: 0.2rem;
  }

  .agent-terminal {
    top: 1rem;
    left: 1rem;
    padding: 0;
    font-size: 0.58rem;
  }

  .agent-orbit {
    right: 1.55rem;
    top: 66%;
    width: 4.7rem;
    height: 4.7rem;
    opacity: 0.9;
  }

  .agent-svg {
    width: 3.15rem;
    height: 3.15rem;
  }

  .agent-companion {
    right: max(0.82rem, env(safe-area-inset-right));
    bottom: max(0.82rem, env(safe-area-inset-bottom));
    width: 2.7rem;
    height: 2.7rem;
    opacity: 0.76;
  }

  .score-value {
    font-size: clamp(3.5rem, 17vw, 4.6rem);
  }

  .score-rows div {
    display: grid;
  }

  .score-rows strong {
    text-align: left;
  }

  .proof-grid article {
    grid-column: auto;
    min-height: 20rem;
    border-radius: 1.4rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid h3 {
    font-size: 2.9rem;
  }

  .close h2 {
    font-size: 4rem;
  }

  .close p:not(.eyebrow) {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-screen {
    display: none;
  }

  .topbar,
  main,
  .agent-companion {
    animation: none;
  }

  .cursor-particle,
  .button.is-cursor-active .cursor-particle {
    animation: none;
  }
}

/* Quiet legal navigation. */
.footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.footer-minimal .footer-brand {
  position: relative;
  z-index: 1;
  color: rgba(245, 239, 229, 0.9);
  font-size: clamp(2rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.105em;
  line-height: 0.82;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: rgba(245, 239, 229, 0.46);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #f5efe5;
}

/* Minimal reset for the stripped LUC-AI draft. */
.topbar,
.minimal-site {
  animation: none;
}

.minimal-site .hero.minimal-hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(5rem, 9vh, 7rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 5vh, 3rem);
  isolation: isolate;
}

.minimal-site .minimal-hero::after {
  background:
    radial-gradient(circle at 50% 48%, transparent 14%, rgba(8, 8, 12, 0.08) 62%, rgba(8, 8, 12, 0.56) 100%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.02), rgba(8, 8, 12, 0.18));
}

.minimal-site .minimal-hero .hero-noise {
  opacity: 0.22;
}

.hero-wordmark {
  position: relative;
  z-index: 4;
  width: min(100%, 96rem);
  max-width: none;
  margin: 0;
  font-size: clamp(9.2rem, 38vw, 34rem);
  font-weight: 900;
  letter-spacing: -0.145em;
  line-height: 0.66;
  text-align: center;
  text-transform: uppercase;
}

.hero-wordmark span {
  display: block;
  padding-right: 0.12em;
  background: linear-gradient(105deg, #fff 0%, #dbeafe 34%, #94bdfb 54%, #f3a8ce 76%, #f6efe2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 44px rgba(148, 189, 251, 0.18));
}

.hero-wordmark span:nth-child(2) {
  opacity: 0.74;
  transform: translate(0.02em, -0.035em);
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 4;
  color: rgba(245, 239, 229, 0.42);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.access-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  align-content: center;
  gap: 1.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(245, 239, 229, 0.08);
  padding: clamp(5rem, 10vw, 9rem) 1.4rem;
}

.access-section::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  z-index: -1;
  background:
    radial-gradient(circle at 48% 40%, rgba(148, 189, 251, 0.14), transparent 24rem),
    radial-gradient(circle at 58% 56%, rgba(243, 168, 206, 0.11), transparent 28rem);
  filter: blur(18px);
  opacity: 0.8;
}

.access-section .eyebrow {
  margin: 0;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.access-code {
  width: min(33rem, calc(100vw - 2rem));
  margin-top: 0.25rem;
}

.footer-minimal {
  position: relative;
  display: grid;
  min-height: 78svh;
  align-content: center;
  justify-items: start;
  border-top: 1px solid rgba(245, 239, 229, 0.1);
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 4rem);
  overflow: hidden;
}

.footer-minimal::before {
  content: "";
  position: absolute;
  right: -18rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(148, 189, 251, 0.12), rgba(243, 168, 206, 0.08), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.footer-minimal h2 {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin-bottom: 1.2rem;
  color: #f5efe5;
  font-size: clamp(4rem, 10.4vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.82;
  text-wrap: balance;
}

.footer-minimal p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 35rem;
  margin-bottom: 1.7rem;
  color: rgba(245, 239, 229, 0.58);
  font-size: clamp(1.1rem, 2.1vw, 1.65rem);
  font-weight: 700;
  line-height: 1.22;
}

.footer-minimal .button,
.footer-minimal .code-strip {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .minimal-site .hero.minimal-hero {
    padding: 5.4rem 0.75rem 2rem;
  }

  .hero-wordmark {
    font-size: clamp(5.8rem, 31vw, 10.4rem);
    letter-spacing: -0.13em;
    line-height: 0.7;
  }

  .access-section {
    min-height: 92svh;
    padding: 5.5rem 1rem;
  }

  .access-actions {
    width: min(100%, 22rem);
  }

  .access-actions .button {
    width: 100%;
    min-height: 3.55rem;
  }

  .access-code {
    width: min(100%, 22rem);
    font-size: 0.62rem;
  }

  .footer-minimal {
    min-height: 72svh;
    padding: 5rem 1rem;
  }
}

/* Ultra-minimal mystery pass. */
.topbar,
.hero-scroll-hint,
.eyebrow,
.code-strip,
.word-lock {
  display: none !important;
}

.minimal-site .hero.minimal-hero {
  min-height: 100svh;
  padding: clamp(2rem, 4vw, 4rem);
}

.hero-wordmark {
  width: min(100%, 112rem);
  font-size: clamp(3.4rem, 17vw, 19rem);
  letter-spacing: -0.115em;
  line-height: 0.82;
  white-space: nowrap;
}

.hero-wordmark span {
  display: inline-block;
  padding: 0 0.1em 0 0;
}

.access-section {
  min-height: 74svh;
  padding: clamp(5rem, 11vw, 10rem) 1.25rem;
  border-top-color: rgba(245, 239, 229, 0.055);
}

.access-section::before {
  inset: 14% 18%;
  opacity: 0.48;
}

.access-actions {
  width: min(100%, 24rem);
}

.access-actions .button {
  width: 100%;
  cursor: pointer;
}

.footer-minimal {
  min-height: 42svh;
  place-items: center;
  padding: clamp(4rem, 9vw, 8rem) 1rem;
}

.footer-minimal::before {
  opacity: 0.72;
}

.footer-minimal p,
.footer-minimal p:not(.eyebrow) {
  max-width: none;
  margin: 0;
  color: rgba(245, 239, 229, 0.86);
  font-size: clamp(2rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.105em;
  line-height: 0.82;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero-wordmark {
    font-size: clamp(3rem, 15.5vw, 5.8rem);
    letter-spacing: -0.105em;
  }

  .access-section {
    min-height: 66svh;
    padding: 4.5rem 1rem;
  }

  .footer-minimal {
    min-height: 36svh;
  }
}

.entry-reveal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #08080c;
  pointer-events: none;
  animation: entryRevealExit 3.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.entry-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 229, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 229, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black 0 44%, transparent 74%);
  opacity: 0;
  animation: entryGrid 3.2s ease forwards;
}

.entry-reveal__glow {
  position: absolute;
  width: min(52rem, 78vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 44%, rgba(246, 239, 226, 0.2), transparent 26%),
    radial-gradient(circle at 58% 48%, rgba(243, 168, 206, 0.32), transparent 34%),
    radial-gradient(circle at 72% 46%, rgba(111, 157, 255, 0.34), transparent 38%);
  filter: blur(34px);
  opacity: 0;
  transform: scale(0.42);
  animation: entryGlow 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.entry-reveal__mark {
  position: relative;
  z-index: 2;
  padding-right: 0.08em;
  background: linear-gradient(104deg, #fff 0%, #dbeafe 34%, #94bdfb 54%, #f3a8ce 76%, #f6efe2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 34px rgba(148, 189, 251, 0.2));
  font-size: clamp(2.6rem, 12vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.115em;
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.84);
  animation: entryMark 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.entry-reveal__line {
  position: absolute;
  z-index: 3;
  width: min(44rem, 68vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 239, 226, 0.88), transparent);
  opacity: 0;
  transform: scaleX(0);
  animation: entryLine 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes entryRevealExit {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes entryGrid {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  28% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes entryGlow {
  0% {
    opacity: 0;
    transform: scale(0.42) rotate(-12deg);
  }

  34% {
    opacity: 0.72;
    transform: scale(0.82) rotate(0deg);
  }

  76% {
    opacity: 0.46;
    transform: scale(1.05) rotate(4deg);
  }

  100% {
    opacity: 0;
    transform: scale(1.45) rotate(8deg);
  }
}

@keyframes entryMark {
  0% {
    opacity: 0;
    letter-spacing: -0.04em;
    transform: scale(0.84) translateY(0.18em);
  }

  24% {
    opacity: 1;
  }

  52% {
    letter-spacing: -0.115em;
    transform: scale(1) translateY(0);
  }

  80% {
    opacity: 1;
    transform: scale(1.12) translateY(-0.01em);
  }

  100% {
    opacity: 0;
    transform: scale(1.42) translateY(-0.02em);
  }
}

@keyframes entryLine {
  0%,
  20% {
    opacity: 0;
    transform: scaleX(0);
  }

  42% {
    opacity: 0.82;
    transform: scaleX(1);
  }

  68% {
    opacity: 0.36;
    transform: scaleX(0.62);
  }

  100% {
    opacity: 0;
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-reveal {
    display: none;
  }
}

.portfolio-section {
  position: relative;
  display: grid;
  min-height: 150svh;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(22rem, 42rem);
  gap: clamp(4rem, 9vw, 11rem);
  align-items: start;
  align-content: start;
  overflow: clip;
  padding: clamp(7rem, 12vw, 10rem) clamp(1rem, 5vw, 4rem);
  border-top: 1px solid rgba(245, 239, 229, 0.06);
  border-bottom: 1px solid rgba(245, 239, 229, 0.06);
  background:
    radial-gradient(circle at 74% 34%, rgba(148, 189, 251, 0.09), transparent 25rem),
    radial-gradient(circle at 88% 72%, rgba(243, 168, 206, 0.06), transparent 22rem),
    #08080c;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 229, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 229, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 42%, black 0 44%, transparent 75%);
  opacity: 0.72;
  pointer-events: none;
}

.portfolio-pin {
  position: sticky;
  top: 50svh;
  z-index: 1;
  align-self: start;
  min-width: 0;
  transform: translateY(-50%);
}

.portfolio-pin h2 {
  max-width: 100%;
  margin: 0;
  color: #f5efe5;
  font-size: clamp(3rem, 6.6vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
}

.portfolio-track {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(7rem, 18vh, 13rem);
  width: min(100%, 42rem);
  justify-self: end;
  padding: 27svh 0 34svh;
}

.portfolio-project {
  display: grid;
  gap: 1.15rem;
  justify-items: start;
}

.portfolio-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.32;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 229, 0.16);
  border-radius: clamp(1rem, 2.2vw, 1.6rem);
  background: rgba(245, 239, 229, 0.04);
  box-shadow:
    0 2.2rem 5rem rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  text-decoration: none;
  transform: translateY(0);
  transform-origin: center;
  transition:
    border-color 260ms ease,
    box-shadow 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-preview:hover,
.portfolio-preview:focus-visible {
  border-color: rgba(245, 239, 229, 0.32);
  box-shadow:
    0 2.8rem 6rem rgba(0, 0, 0, 0.5),
    0 0 3.6rem rgba(148, 189, 251, 0.12);
  outline: none;
  transform: translateY(-0.28rem) scale(1.008);
}

.portfolio-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.94) contrast(1.04) brightness(0.82);
  transform: scale(1);
  transition:
    filter 520ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-preview:hover img,
.portfolio-preview:focus-visible img {
  filter: saturate(1) contrast(1.06) brightness(0.94);
  transform: scale(1.028);
}

.browser-chrome {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  height: 2.05rem;
  align-items: center;
  gap: 0.38rem;
  padding: 0 0.8rem;
  border-bottom: 1px solid rgba(245, 239, 229, 0.08);
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.72), rgba(8, 8, 12, 0.24));
  backdrop-filter: blur(14px);
}

.browser-chrome span {
  width: 0.47rem;
  height: 0.47rem;
  border-radius: 999px;
  background: rgba(245, 239, 229, 0.46);
}

.portfolio-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.12rem 0.9rem;
  color: #f5efe5;
}

.portfolio-meta span {
  padding-top: 0.34rem;
  color: rgba(245, 239, 229, 0.44);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.portfolio-meta h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.88;
}

.portfolio-meta p {
  grid-column: 2;
  margin: 0;
  color: rgba(245, 239, 229, 0.54);
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 700;
}

.card-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 18%, rgba(148, 189, 251, 0.13), transparent 28rem),
    radial-gradient(circle at 80% 70%, rgba(243, 168, 206, 0.16), transparent 26rem),
    #08080c;
}

.card-page main {
  animation: none;
  opacity: 1;
  transform: none;
}

.card-stage {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.digital-card {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  width: min(100%, 47rem);
  overflow: hidden;
  border: 1px solid rgba(245, 239, 229, 0.14);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(245, 239, 229, 0.1), rgba(245, 239, 229, 0.035)),
    rgba(13, 12, 11, 0.86);
  box-shadow:
    0 2.4rem 7rem rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.digital-card__media {
  min-height: 20rem;
  background: rgba(245, 239, 229, 0.04);
}

.digital-card__media img {
  filter: saturate(0.94) contrast(1.03);
  object-position: 50% 30%;
}

.digital-card__body {
  display: grid;
  align-content: center;
  padding: clamp(1.4rem, 4vw, 2.6rem);
}

.digital-card__label {
  margin: 0 0 0.9rem;
  color: rgba(245, 239, 229, 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.digital-card h1 {
  max-width: 100%;
  margin: 0;
  color: #f5efe5;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.105em;
  line-height: 0.86;
}

.digital-card__line {
  max-width: 31rem;
  margin: 1rem 0 1.35rem;
  color: rgba(245, 239, 229, 0.62);
  font-size: clamp(0.92rem, 1.7vw, 1.12rem);
  font-weight: 760;
  line-height: 1.25;
}

.digital-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.digital-card__actions a,
.digital-card__footer a {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 239, 229, 0.16);
  border-radius: 999px;
  padding: 0 0.9rem;
  color: rgba(245, 239, 229, 0.8);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.digital-card__actions a:first-child {
  color: #08080c;
  background: #f5efe5;
}

.digital-card__actions a:hover,
.digital-card__actions a:focus-visible,
.digital-card__footer a:hover,
.digital-card__footer a:focus-visible {
  border-color: rgba(245, 239, 229, 0.34);
  outline: none;
}

.digital-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
  margin-top: 1.5rem;
}

.digital-card__footer .digital-card__download {
  width: 2.65rem;
  min-width: 2.65rem;
  padding: 0;
}

.digital-card__download svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

  @media (max-width: 860px) {
  .contact-dock {
    top: auto;
    right: 0.76rem;
    bottom: max(0.76rem, env(safe-area-inset-bottom));
    left: 0.76rem;
    justify-content: space-between;
    transform: none;
  }

  .contact-dock a {
    flex: 1;
    justify-content: center;
    padding: 0 0.4rem;
  }

  .contact-dock span {
    display: none;
  }

  .portfolio-section {
    display: block;
    min-height: auto;
    overflow: hidden;
    padding: clamp(4.5rem, 18vw, 7rem) 1rem;
  }

  .portfolio-section::before {
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 35%, black 0 44%, transparent 78%);
  }

  .portfolio-pin {
    position: relative;
    top: auto;
    transform: none;
    margin-bottom: clamp(2rem, 10vw, 3.4rem);
  }

  .portfolio-pin h2 {
    max-width: 100%;
    font-size: clamp(2.7rem, 15.5vw, 5rem);
    letter-spacing: -0.085em;
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .portfolio-track {
    padding: 0;
  }

  .portfolio-preview {
    width: 100%;
    aspect-ratio: 0.86;
    border-radius: 1rem;
    transform: none;
  }

  .portfolio-preview:hover,
  .portfolio-preview:focus-visible {
    transform: translateY(-0.2rem);
  }

  .portfolio-meta {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .portfolio-meta p {
    grid-column: auto;
  }

  .digital-card {
    grid-template-columns: 1fr;
    width: min(100%, 24rem);
    border-radius: 1.2rem;
  }

  .digital-card__media {
    min-height: 18rem;
  }

  .digital-card__body {
    padding: 1.25rem;
  }

  .digital-card__actions a,
  .digital-card__footer a {
    flex: 1 1 9rem;
  }

  .digital-card__footer .digital-card__download {
    flex: 0 0 2.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-preview,
  .portfolio-preview img {
    transition: none;
  }
}

/* Final footer layout: brand first, legal links deliberately quiet. */
.footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.footer-minimal .footer-brand {
  position: relative;
  z-index: 1;
  color: rgba(245, 239, 229, 0.9);
  font-size: clamp(2rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.105em;
  line-height: 0.82;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-minimal .footer-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.footer-minimal .footer-actions a {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 239, 229, 0.16);
  border-radius: 999px;
  padding: 0 1.35rem;
  color: rgba(245, 239, 229, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-minimal .footer-actions a:hover,
.footer-minimal .footer-actions a:focus-visible {
  border-color: rgba(245, 239, 229, 0.34);
  color: #f5efe5;
  outline: none;
  transform: translateY(-0.08rem);
}

.footer-minimal .footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.25rem;
}

.footer-minimal .footer-legal a {
  color: rgba(245, 239, 229, 0.46);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-minimal .footer-legal a:hover,
.footer-minimal .footer-legal a:focus-visible {
  color: #f5efe5;
}
