:root {
  --bg: #121212;
  --ink: #efefea;
  --ink-soft: #8a8a84;
  --line: #262626;
  --accent: #86e08a;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(134, 224, 138, 0.07), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  scrollbar-color: var(--line) var(--bg);
}

::selection { background: var(--accent); color: #0f1a10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 clamp(24px, 6vw, 96px);
}

.hero { align-self: center; padding: 15vh 0 10vh; }

.name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 6.6vw, 100px);
  line-height: 1;
  letter-spacing: -0.012em;
  white-space: nowrap;
  margin: 0;
  animation: rise 1.1s var(--ease) both;
}

.rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: clamp(20px, 3vw, 36px) 0 clamp(16px, 2vw, 24px);
  background: linear-gradient(90deg, var(--accent) 0 72px, var(--line) 72px);
  transform-origin: left;
  animation: draw 1.3s 0.25s var(--ease) both;
}

.line {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(13px, 1.3vw, 16px);
  animation: rise 1.1s 0.2s var(--ease) both;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  animation: rise 1.1s 0.4s var(--ease) both;
}

.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.dim { color: var(--ink-soft); }

.out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s ease;
}

.out svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.5;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.out:hover { color: var(--accent); }
.out:hover svg { transform: translate(2px, -2px); opacity: 1; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .name, .rule, .line, .foot { animation: none; }
  .out svg { transition: none; }
}
