/* index.profile.css — public terminal site (index.html): hero / profile. One of the index.*.css files, linked in order from index.html. */
/* Two layers, so it is never a question of which rule wins: "page" holds the normal stylesheet rules, "element" holds exact
   styles for single elements. Anything in "element" beats anything in "page", whatever the selectors look like. */
@layer page, element;

@layer page {
/* ─────────────────────────────────────────
   HERO / PROFILE
   ───────────────────────────────────────── */
.hero {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border: 2px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  display: block;
}

/* CRT flicker on profile pic */
.profile-pic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
}

.profile-pic.talking {
  border-color: var(--accent-dim);
  box-shadow: 0 0 12px rgba(139, 154, 60, 0.15);
}

.hero-text h1 {
  font-size: 24px;
  color: var(--text-bright);
  font-weight: normal;
  margin-bottom: 4px;
}

.hero-text .title { color: var(--accent); font-size: 13px; margin-bottom: 12px; }
.hero-text .tagline { color: var(--text-dim); font-size: 13px; max-width: 480px; }
}
