:root {
  --bg: #0a0a0a;
  --bg-card: #111;
  --border: #1a1a1a;
  --text: #fff;
  --text-2: #999;
  --text-3: #828282;
  --accent: #5b4bfb;
  --accent-glow: rgba(91, 75, 251, 0.18);
  --ease: cubic-bezier(.25, 1, .5, 1);
  --fast: .2s;
  --normal: .4s;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

.page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: 48px 24px calc(48px + env(safe-area-inset-bottom));
}
.scanlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(rgba(255, 255, 255, .027) 0, rgba(255, 255, 255, .027) 1px, transparent 1px, transparent 3px);
  animation: scan 9s linear infinite;
}
@keyframes scan { to { background-position-y: 24px; } }

.column {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo: "JCA" solid, "Creative" ghosted, blinking caret */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.5px;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
}
.logo-soft { opacity: .12; transition: opacity var(--normal) var(--ease); }
.logo:hover .logo-soft { opacity: .42; }
.logo-cursor {
  display: inline-block;
  width: 2px;
  height: .78em;
  margin-left: 3px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.avatar-wrap { margin-top: 32px; }
.avatar {
  width: 144px;
  height: 144px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, #1f1d33 0%, #121117 55%, #0d0d0f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.avatar img { width: 84px; height: 84px; }

.name {
  margin: 20px 0 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.handle {
  margin: 4px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-3);
}
.lead {
  margin: 16px 0 0;
  max-width: 34ch;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
}

.cards {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--bg-card);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.card:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-icon--light { background: #fff; }
.card-body { flex: 1 1 0%; min-width: 0; display: flex; flex-direction: column; }
.card-title { font-weight: 600; line-height: 1.3; }
.card-desc {
  margin-top: .15rem;
  color: var(--text-2);
  font-size: .8125rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-arrow {
  flex-shrink: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--text-3);
  transition: transform var(--fast) var(--ease), color var(--fast) var(--ease);
}
@media (hover: hover) {
  .card:hover { border-color: var(--text); transform: scale(1.02); box-shadow: 0 0 18px var(--accent-glow); }
  .card:hover .card-arrow { color: var(--accent); transform: translateX(3px); }
}
.card:active { transform: scale(.99); }

.foot {
  margin-top: 48px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .04em;
  color: #444;
}

/* Centered single-screen layout (home, 404) */
.column--center { min-height: calc(100svh - 96px); justify-content: center; }
.logo--big { font-size: 34px; }
.home-mark { width: 72px; height: 72px; }
.home-word { margin-top: 20px; }
.name--spaced { margin-top: 28px; }
.name--tight { margin-top: 8px; }
.cards--narrow { max-width: 360px; }

/* Entrance: content is visible without JS or animation support */
.reveal { animation: reveal var(--normal) var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
/* Stagger (classes, not inline styles: the CSP forbids inline styles) */
.d0 { animation-delay: 0ms; }
.d80 { animation-delay: 80ms; }
.d120 { animation-delay: 120ms; }
.d160 { animation-delay: 160ms; }
.d200 { animation-delay: 200ms; }
.d240 { animation-delay: 240ms; }
.d280 { animation-delay: 280ms; }
.d320 { animation-delay: 320ms; }
.d400 { animation-delay: 400ms; }
.d480 { animation-delay: 480ms; }
.d560 { animation-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .scanlines, .logo-cursor { animation: none; }
  .card, .card-arrow { transition: none; }
}
