
:root {
  --bg: #07090c;
  --text: #f5f7f8;
  --muted: #a6afb8;
  --line: rgba(255,255,255,.09);
  --accent: #91f39c;
  --mx: 50vw;
  --my: 50vh;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

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

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .025;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255,255,255,.35) 1px, transparent 1.3px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 30px 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mark {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b5bdc5;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #929ca6;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .67rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(145,243,156,.4);
}

/* Preserve the original composition on large displays: the hero belongs to
   the viewport, not inside a centered fixed-width card. */
main {
  align-self: center;
  width: 100%;
  max-width: none;
  margin: 0;
  transform: translateY(-2vh);
}

.name {
  margin: 0;
  font-size: clamp(4.8rem, 11vw, 14rem);
  line-height: .84;
  letter-spacing: -.075em;
  font-weight: 850;
  text-shadow: 0 0 22px rgba(255,255,255,.035);
}

.name span {
  display: block;
  color: #d9dee3;
}

.role {
  margin-top: clamp(24px, 3vh, 36px);
  color: #eef1f3;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 560;
  letter-spacing: -.015em;
}

.line {
  margin-top: 9px;
  max-width: min(62vw, 1040px);
  color: #b7c0c8;
  font-size: clamp(.98rem, 1.35vw, 1.45rem);
  line-height: 1.55;
  font-weight: 450;
}

.statement-shimmer {
  position: relative;
  display: inline-block;
}

.statement-shimmer::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  background:
    linear-gradient(
      105deg,
      transparent 0%,
      transparent 43%,
      rgba(255,255,255,.92) 48%,
      rgba(185,245,194,.96) 50%,
      rgba(255,255,255,.92) 52%,
      transparent 57%,
      transparent 100%
    );
  background-size: 330% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: statementSweep 14s cubic-bezier(.22,.61,.36,1) infinite;
}

@keyframes statementSweep {
  0%, 76% { background-position: 120% 0; }
  94%, 100% { background-position: -25% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .statement-shimmer::after {
    animation: none;
    display: none;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(26px, 2vw, 42px);
  margin-top: clamp(36px, 5vh, 54px);
  max-width: none;
}

.nav a {
  position: relative;
  padding: 7px 0;
  color: #b8c0c8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(.76rem, .82vw, 1rem);
  letter-spacing: .085em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 180ms ease;
}

.nav a::after {
  content: "↗";
  display: inline-block;
  margin-left: 7px;
  opacity: 0;
  transform: translate(-5px, 3px);
  color: var(--accent);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.nav a:hover::before { right: 0; }
.nav a:hover::after { opacity: 1; transform: translate(0, 0); }

footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  color: #7e8892;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hint { display: flex; align-items: center; gap: 8px; }
.mouse { width: 15px; height: 21px; border: 1px solid #47515a; border-radius: 9px; position: relative; }
.mouse::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: #717b85;
  left: calc(50% - 1px);
  top: 4px;
  animation: wheel 1.8s infinite ease;
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}

/* Keep the original desktop proportions while preventing vertical clipping on
   short displays. Width remains viewport-relative. */
@media (max-height: 720px) and (min-width: 721px) {
  body { overflow-y: auto; }
  .shell { min-height: 720px; }
  main { transform: none; padding: 42px 0; }
  .name { font-size: clamp(4.8rem, 10vw, 11rem); }
  .role { margin-top: 22px; }
  .nav { margin-top: 30px; }
}

@media (max-width: 720px) {
  body { overflow: auto; }

  .shell {
    padding: 24px 22px;
    min-height: 100svh;
  }

  .topbar .mark:last-child { display: none; }

  main {
    transform: none;
    padding: 80px 0 70px;
  }

  .name { font-size: clamp(4rem, 22vw, 7rem); }
  .role { font-size: 1rem; }
  .line { max-width: 100%; font-size: .98rem; }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .nav a { font-size: .76rem; }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
