/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root {
  --bg: #11151a;
  --ink: #eae7df;
  --muted: #8a93a1;
  --hairline: #262c35;
  --accent: #5fb8a6;

  --font-display: "Newsreader", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ---------------------------------------------
   Reset
--------------------------------------------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
}

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

/* ---------------------------------------------
   Layout
--------------------------------------------- */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 6vw;
}

.frame {
  width: 100%;
  max-width: 34rem;
}

/* ---------------------------------------------
   Type
--------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.name {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 1rem;
}

.tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 30rem;
  margin: 0 0 2.4rem;
}

.rule {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0 0 2.2rem;
}

/* ---------------------------------------------
   Links
--------------------------------------------- */
.links {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.links li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.links-label {
  color: var(--muted);
  min-width: 6.5rem;
  flex-shrink: 0;
}

.links-value {
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
  word-break: break-word;
}

.links-value:hover,
.links-value:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------------------------------------------
   Status signature
--------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(95, 184, 166, 0.55);
  animation: breathe 2.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(95, 184, 166, 0.5);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(95, 184, 166, 0);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot {
    animation: none;
  }
}

/* ---------------------------------------------
   Small screens
--------------------------------------------- */
@media (max-width: 420px) {
  .links li {
    flex-direction: column;
    gap: 0.15rem;
  }
  .links-label {
    min-width: 0;
  }
}
