:root {
  --bg: #050607;
  --bg-soft: #0b0c0e;
  --panel: rgba(10, 11, 13, 0.9);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f2f3f5;
  --text-muted: #9a9ca1;
  --accent: #d6d8dd;
  --accent-soft: rgba(255, 255, 255, 0.05);
  --warning: #c3c6cc;
  --prompt-identity: #68db82;
  --prompt-path: #7ea5ff;
  --prompt-symbol: #f2f3f5;
  --prompt-separator: #d6d8dd;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --radius: 24px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 28rem),
    radial-gradient(circle at top right, rgba(132, 136, 145, 0.08), transparent 24rem),
    linear-gradient(180deg, #050607 0%, #020303 100%);
  color: var(--text);
  font-family:
    "IBM Plex Mono",
    "SFMono-Regular",
    "SF Mono",
    ui-monospace,
    Menlo,
    Consolas,
    monospace;
  font-variant-ligatures: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
  pointer-events: none;
}

.page-glow {
  position: fixed;
  top: 0;
  width: 30rem;
  height: 30rem;
  filter: blur(120px);
  opacity: 0.24;
  pointer-events: none;
}

.page-glow--left {
  left: -8rem;
  background: rgba(255, 255, 255, 0.16);
}

.page-glow--right {
  right: -8rem;
  background: rgba(116, 121, 129, 0.14);
}

.workspace {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  display: grid;
  place-items: center;
}

.intro {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: transparent;
  transition:
    opacity 420ms ease,
    visibility 420ms ease,
    transform 420ms ease;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro::before {
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(40% 30% at 20% 80%, rgba(120, 140, 200, 0.06), transparent 70%),
    radial-gradient(35% 28% at 85% 20%, rgba(200, 170, 140, 0.05), transparent 70%),
    linear-gradient(180deg, #07070a 0%, #0a0a0d 50%, #050506 100%);
}

.intro::after {
  mix-blend-mode: overlay;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.intro--dismissed {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.75rem);
  pointer-events: none;
}

.intro__inner {
  position: relative;
  z-index: 1;
  width: min(96rem, calc(100vw - 4rem));
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(18rem, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  padding: 5rem 3.5rem;
}

.meta-top {
  position: absolute;
  top: 1.75rem;
  left: 2rem;
  right: 2rem;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-family: "Geist Mono", "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-top__dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #6ee7a3;
  box-shadow: 0 0 12px rgba(110, 231, 163, 0.7);
  animation: pulse 2.2s ease-in-out infinite;
  vertical-align: middle;
}

.hero-left {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
  overflow: hidden;
}

.welcome {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  width: 100%;
  color: #fff;
  font-family: "Bagel Fat One", "Inter", sans-serif;
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 40px rgba(255, 255, 255, 0.08),
    0 0 120px rgba(255, 255, 255, 0.04);
}

.typed {
  white-space: pre;
}

.intro__cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.06em;
  border-radius: 999px;
  background: #fff;
  transform: translateY(0.06em);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  animation: intro-blink 1s steps(1, end) infinite;
}

.tagline {
  margin: -2rem 0 0;
  color: var(--text-muted);
  font-family: "Geist Mono", "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 360ms ease;
}

.tagline--visible {
  opacity: 1;
}

.intro__reveal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.intro__reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.launcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.app-launcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  user-select: none;
}

.app-icon {
  position: relative;
  width: 12.25rem;
  height: 12.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2.75rem;
  background: linear-gradient(180deg, #2a2a2e 0%, #141416 55%, #0a0a0c 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 20px 40px -12px rgba(0, 0, 0, 0.8),
    0 8px 20px -6px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2),
    box-shadow 0.3s ease;
}

.app-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 2.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
}

.app-icon:hover,
.app-icon:focus-visible {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 30px 60px -10px rgba(0, 0, 0, 0.9),
    0 14px 28px -6px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px rgba(255, 255, 255, 0.06);
  outline: 0;
}

.app-icon:active {
  transform: translateY(-2px) scale(0.99);
}

.dots {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  display: flex;
  gap: 0.4rem;
}

.dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3a3a3f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset;
}

.dots span:nth-child(1) {
  background: #4a4a4f;
}

.dots span:nth-child(2) {
  background: #3a3a3f;
}

.dots span:nth-child(3) {
  background: #2a2a2f;
}

.prompt {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  transform: translateY(-2px);
  color: #fff;
  font-family: "Geist Mono", "IBM Plex Mono", monospace;
  font-size: 4.5rem;
  font-weight: 500;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.prompt .gt {
  transform: translateY(-5px);
}

.prompt .under {
  width: 1.9rem;
  height: 0.5rem;
  display: inline-block;
  margin-left: 0.15rem;
  border-radius: 3px;
  background: #fff;
  transform: translateY(-8px);
}

.app-label {
  color: #e8e8ec;
  font-family: "Inter", sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.app-hint {
  margin-top: -0.65rem;
  color: var(--text-muted);
  font-family: "Geist Mono", "IBM Plex Mono", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-right {
  position: relative;
  width: 100%;
  height: min(40rem, 80vh);
  min-height: 32.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.hero-right--visible {
  opacity: 1;
  transform: translateY(0);
}

.char-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(50% 45% at 50% 55%, rgba(255, 255, 255, 0.05), transparent 70%);
}

.char-canvas canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.floor-glow {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 0;
  width: 60%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18), transparent 70%);
  filter: blur(6px);
  transform: translateX(-50%);
  pointer-events: none;
}

.char-meta {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  max-width: 90%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.9rem;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(12px);
  z-index: 2;
  transform: translateX(-50%);
}

.kicker,
.tag {
  font-family: "Geist Mono", "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker {
  color: var(--text-muted);
}

.name {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.tag {
  color: #6ee7a3;
}

.tag::before {
  content: "● ";
  color: #6ee7a3;
}

.sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.char-canvas--fallback {
  isolation: isolate;
}

.char-canvas__fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-family: "Geist Mono", "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.terminal {
  position: relative;
  width: min(72rem, 100%);
  height: min(46rem, calc(100dvh - 4rem));
  max-height: calc(100dvh - 4rem);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition:
    opacity 480ms ease,
    transform 480ms ease;
}

.terminal--hidden {
  opacity: 0;
  transform: translateY(1.2rem) scale(0.985);
  pointer-events: none;
}

.terminal--active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.terminal__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.terminal__close {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 0 12px rgba(255, 95, 87, 0.16);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.terminal__close:hover,
.terminal__close:focus-visible {
  transform: scale(1.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.26) inset,
    0 0 16px rgba(255, 95, 87, 0.26);
  filter: brightness(1.02);
  outline: 0;
}

.terminal__close:active {
  transform: scale(0.95);
}

.terminal__title-group {
  min-width: 0;
}

.terminal__title,
.terminal__subtitle,
.terminal__status,
.terminal__hint,
.entry__title,
.entry__label,
.entry__line,
.entry__command {
  margin: 0;
}

.terminal__title {
  font-size: 0.95rem;
  color: var(--text);
}

.terminal__subtitle,
.terminal__status,
.terminal__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.24);
}

.terminal__body {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  overflow: hidden;
}

.terminal__output {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.5rem;
}

.terminal__output::-webkit-scrollbar {
  width: 0.6rem;
}

.terminal__output::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.entry {
  margin-bottom: 1.25rem;
}

.experience-list {
  display: grid;
  gap: 1rem;
  margin-top: 0.8rem;
}

.experience-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.experience-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.experience-card__company {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.experience-card__company-copy,
.tech-chip,
.logo-badge {
  min-width: 0;
}

.experience-card__role,
.experience-card__company-line,
.experience-card__dates {
  margin: 0;
}

.experience-card__role {
  color: var(--text);
  font-weight: 700;
}

.experience-card__company-line,
.experience-card__dates {
  color: var(--text-muted);
}

.experience-card__dates {
  white-space: nowrap;
}

.experience-card__tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.experience-card__bullets {
  margin: 0.95rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--text);
}

.experience-card__bullets li {
  margin: 0 0 0.55rem;
  line-height: 1.6;
}

.experience-card__bullets li:last-child {
  margin-bottom: 0;
}

.logo-badge {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--accent);
  flex-shrink: 0;
}

.logo-badge--company {
  width: 6rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  border-color: rgba(255, 255, 255, 0.06);
  background: transparent;
}

.logo-badge--surface-light {
  background: #f7f7f8;
  border-color: rgba(20, 22, 26, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.logo-badge--surface-light .logo-badge__fallback {
  color: #111317;
}

.logo-badge--tech {
  width: 2.2rem;
  height: 1.45rem;
  border-radius: 0.45rem;
  border-color: transparent;
}

.logo-badge--tech-wordmark {
  width: var(--badge-width, 4.3rem);
  height: 1.82rem;
  border-radius: 0.45rem;
  border-color: transparent;
}

.logo-badge__fallback {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-badge__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.16rem;
  background: transparent;
  transform: scale(var(--badge-scale, 1));
  transform-origin: center;
}

.logo-badge--tech .logo-badge__image {
  padding: 0.04rem 0.08rem;
}

.logo-badge--tech-wordmark .logo-badge__image {
  padding: 0;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.7rem 0.42rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.tech-chip--wordmark {
  padding: 0.24rem 0.4rem;
}

.tech-chip__label {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.text-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.text-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.2;
}

.education-card__label {
  margin: 0.95rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.entry__title {
  max-width: 20ch;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.entry__command {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  line-height: 1.6;
}

.entry__command-text {
  color: var(--text);
}

.entry__label {
  margin-top: 0.35rem;
  color: var(--warning);
  line-height: 1.6;
}

.entry__title + .entry__label {
  margin-top: 0.75rem;
}

.entry__line {
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
}

.entry__line--muted {
  color: var(--text-muted);
}

.entry__line a {
  color: var(--accent);
}

.spotify-card {
  margin-top: 0.85rem;
  padding: 0.9rem 0.9rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.spotify-card__top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.spotify-card__cover {
  width: 5.75rem;
  height: 5.75rem;
  flex-shrink: 0;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.spotify-card__copy {
  min-width: 0;
}

.spotify-card__status {
  margin: 0;
  color: #79d06c;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotify-card__title {
  margin: 0.38rem 0 0;
  color: #f3f4f6;
  font-size: clamp(1.35rem, 1.6vw, 1.8rem);
  line-height: 1.05;
}

.spotify-card__artists {
  margin: 0.34rem 0 0;
  color: #f3f4f6;
  font-size: 0.98rem;
  font-weight: 600;
}

.spotify-card__album,
.spotify-card__played-at {
  margin: 0.22rem 0 0;
  color: rgba(243, 244, 246, 0.62);
}

.spotify-card__link {
  display: inline-flex;
  margin-top: 0.72rem;
  color: #8bdd77;
  white-space: nowrap;
}

.spotify-card__embed {
  width: 100%;
  margin-top: 0.7rem;
  border: 0;
  border-radius: 12px;
}

.spotify-card__embed--compact {
  height: 80px;
}

.strava-card {
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.strava-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.strava-card__copy {
  min-width: 0;
}

.strava-card__status {
  margin: 0;
  color: #fc6d26;
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.strava-card__title {
  margin: 0.38rem 0 0;
  color: #f3f4f6;
  font-size: clamp(1.3rem, 1.5vw, 1.72rem);
  line-height: 1.08;
}

.strava-card__date,
.strava-card__social {
  margin: 0.3rem 0 0;
  color: rgba(243, 244, 246, 0.62);
}

.strava-card__link {
  display: inline-flex;
  flex-shrink: 0;
  color: #ff8a45;
  white-space: nowrap;
}

.strava-card__body {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(16rem, 1fr);
  gap: 0.95rem;
  align-items: stretch;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.strava-card__body--stats-only {
  grid-template-columns: 1fr;
}

.strava-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-content: center;
  margin-top: 0;
}

.strava-card__metric {
  min-width: 0;
}

.strava-card__metric-label {
  display: block;
  color: rgba(243, 244, 246, 0.56);
  font-size: 0.75rem;
}

.strava-card__metric-value {
  display: block;
  margin-top: 0.18rem;
  color: #f3f4f6;
  font-size: 1.05rem;
  line-height: 1.2;
}

.strava-card__map {
  overflow: hidden;
  height: 12rem;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(135deg, rgba(24, 27, 31, 0.96), rgba(11, 13, 17, 0.98));
}

.strava-card__leaflet {
  width: 100%;
  height: 100%;
  background: #111418;
}

.strava-card__leaflet .leaflet-tile {
  filter: grayscale(0.82) invert(0.92) brightness(0.68) contrast(0.92);
}

.strava-card__leaflet .leaflet-control-attribution {
  background: rgba(8, 10, 13, 0.68);
  color: rgba(243, 244, 246, 0.58);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.strava-card__leaflet .leaflet-control-attribution a {
  color: rgba(255, 138, 69, 0.86);
}

.strava-card__map-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.terminal__input-row {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(6, 7, 8, 0.78);
}

.terminal__prompt {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.prompt-inline {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.prompt-inline__identity {
  color: var(--prompt-identity);
}

.prompt-inline__path {
  color: var(--prompt-path);
}

.prompt-inline__symbol {
  color: var(--prompt-symbol);
}

.prompt-inline__separator {
  color: var(--prompt-separator);
}

.terminal__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  caret-color: var(--accent);
}

.terminal__input::placeholder {
  color: rgba(242, 243, 245, 0.32);
}

.terminal__footer {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.terminal__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.terminal__chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  background: var(--accent-soft);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.terminal__chip:hover,
.terminal__chip:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.terminal__hint span {
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript-message {
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: var(--warning);
}

@keyframes intro-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (min-width: 1500px) {
  .intro__inner {
    width: min(112rem, calc(100vw - 5rem));
    grid-template-columns: minmax(0, 2.35fr) minmax(24rem, 1fr);
    gap: clamp(2rem, 4vw, 5rem);
    padding-inline: 2.25rem;
  }

  .hero-left {
    gap: 3rem;
  }

  .welcome {
    font-size: clamp(6rem, 10.25vw, 15rem);
  }

  .tagline {
    margin-top: -2.35rem;
    font-size: 0.8rem;
  }

  .app-icon {
    width: 13.5rem;
    height: 13.5rem;
  }

  .prompt {
    font-size: 5rem;
  }

  .app-label {
    font-size: 1.18rem;
  }

  .hero-right {
    height: min(46rem, 88vh);
    min-height: 36rem;
  }

  .char-meta {
    bottom: 1rem;
  }
}

@media (max-width: 900px) {
  .workspace {
    padding: 1rem;
  }

  .meta-top {
    top: 1.75rem;
    left: 2rem;
    right: 2rem;
  }

  .intro__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 6.25rem 2rem 3rem;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .welcome {
    justify-content: center;
    text-align: center;
  }

  .tagline {
    text-align: center;
  }

  .launcher-wrap {
    justify-content: center;
  }

  .hero-right {
    height: 26.25rem;
    min-height: 0;
  }

  .char-meta {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .terminal {
    height: calc(100dvh - 2rem);
    max-height: calc(100dvh - 2rem);
  }

  .terminal__header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .terminal__body {
    padding: 1.25rem;
  }

  .terminal__footer {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .terminal__body {
    gap: 0.9rem;
  }

  .terminal__input-row {
    flex-wrap: wrap;
    align-items: center;
  }

  .terminal__input {
    width: 100%;
  }

  .spotify-card__top {
    flex-wrap: wrap;
    align-items: center;
  }

  .strava-card__top {
    flex-wrap: wrap;
    align-items: center;
  }

  .strava-card__body {
    grid-template-columns: 1fr;
  }

  .strava-card__map {
    height: 11rem;
  }

  .experience-card {
    padding: 0.9rem;
  }

  .experience-card__top {
    gap: 0.75rem;
  }

  .experience-card__company {
    align-items: flex-start;
  }

  .experience-card__dates {
    white-space: normal;
  }

  .welcome {
    font-size: clamp(4rem, 18vw, 5.25rem);
  }

  .app-icon {
    width: 10.5rem;
    height: 10.5rem;
  }

  .prompt {
    font-size: 3.9rem;
  }

  .app-label {
    font-size: 1.35rem;
  }

  .app-hint {
    margin-top: -0.4rem;
  }

  .hero-right {
    height: 20rem;
  }

  .char-meta {
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
  }

  .kicker,
  .tag {
    font-size: 0.5rem;
  }

  .name {
    font-size: 0.82rem;
  }
}
