:root {
  --void: #04060f;
  --navy: #0a0e24;
  --mist: #e8f4ff;
  --steel: #9bb0c9;
  --teal: #2ef5d0;
  --teal-dim: #0ea89a;
  --purple: #b026ff;
  --purple-soft: #7a1fc9;
  --orb-glow: rgba(46, 245, 208, 0.45);
  --display: "Orbitron", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--mist);
  font-family: var(--body);
  background: var(--void);
  overflow-x: hidden;
  min-height: 100dvh;
}

.nebula,
.nebula-mist,
.stars {
  pointer-events: none;
}

.nebula {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background-color: #02040c;
}

.nebula::before {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    url("/img/nebula-landing.png") center / cover no-repeat,
    radial-gradient(ellipse 90% 70% at 50% 55%, rgba(20, 80, 90, 0.45), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(140, 30, 160, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 40%, rgba(0, 200, 180, 0.28), transparent 55%);
  filter: blur(28px) saturate(1.55) brightness(0.85) contrast(1.15);
  transform: scale(1.15);
}

.nebula::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 45% 60%, rgba(0, 220, 200, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 45% at 65% 50%, rgba(180, 40, 220, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(2, 4, 12, 0.25) 0%, rgba(2, 4, 12, 0.55) 100%);
}

.nebula-mist {
  position: fixed;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 40% at 35% 60%, rgba(46, 245, 208, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 45% at 70% 55%, rgba(176, 38, 255, 0.2), transparent 62%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(0, 180, 220, 0.12), transparent 55%);
  animation: nebula-drift 22s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes nebula-drift {
  from {
    transform: translate(-2%, -1%) scale(1);
  }
  to {
    transform: translate(3%, 2%) scale(1.06);
  }
}

.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 28% 68%, rgba(180, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 48% 18%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 62% 42%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(2px 2px at 78% 28%, rgba(200, 160, 255, 0.55), transparent),
    radial-gradient(1px 1px at 88% 72%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 18% 88%, rgba(46, 245, 208, 0.5), transparent),
    radial-gradient(1px 1px at 55% 78%, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.8;
  animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.85;
  }
}

/* ── Landing ─────────────────────────────────────────── */

.screen-landing {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  gap: 2.5rem;
  padding: 2rem 1.25rem 4rem;
  text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body:not([data-screen="landing"]):not([data-screen="transition"]) .screen-landing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
}

/* Kill residual title glow so "INTERACTIVE" never peeks under the app chrome */
body[data-screen="app"] .hero-title,
body[data-screen="app"] .title-piece {
  opacity: 0 !important;
  transform: none !important;
  text-shadow: none !important;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.65rem, 7vw, 2.9rem);
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f2fbff;
  text-shadow:
    0 0 12px rgba(80, 230, 255, 0.85),
    0 0 28px rgba(46, 245, 208, 0.55),
    0 0 48px rgba(100, 180, 255, 0.35);
  display: grid;
  justify-items: center;
  gap: 0.2em;
  max-width: 16ch;
  margin-inline: auto;
}

.title-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em 0.45em;
}

.title-piece {
  display: inline-block;
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.title-piece--block {
  display: block;
}

.start-btn {
  appearance: none;
  position: relative;
  border: none;
  background:
    linear-gradient(var(--void), var(--void)) padding-box,
    linear-gradient(120deg, #2ef5d0, #5ad0ff 40%, #b026ff 100%) border-box;
  border: 2px solid transparent;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.28em;
  padding: 0.95rem 2.6rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    0 0 22px rgba(46, 245, 208, 0.35),
    0 0 36px rgba(176, 38, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.6s ease;
  z-index: 2;
}

.start-btn:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 28px rgba(46, 245, 208, 0.5),
    0 0 44px rgba(176, 38, 255, 0.4);
}

.start-btn:active {
  transform: scale(0.98);
}

.start-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.landing-wave {
  color: var(--purple);
  opacity: 0.55;
  width: min(280px, 70vw);
  margin-inline: auto;
  margin-top: 1rem;
}

.landing-wave svg {
  width: 100%;
  height: 36px;
  display: block;
}

/* Transition motion */
body[data-screen="transition"] .start-btn {
  opacity: 0;
  pointer-events: none;
}

body[data-screen="transition"] .title-piece[data-piece="dr"] {
  transform: translate(-42vw, 8vh) scale(0.7);
  opacity: 0;
}

body[data-screen="transition"] .title-piece[data-piece="dude"] {
  transform: translate(42vw, 6vh) scale(0.7);
  opacity: 0;
}

body[data-screen="transition"] .title-piece[data-piece="data"] {
  transform: translateY(-28vh) scale(0.85);
  opacity: 0.15;
}

body[data-screen="transition"] .title-piece[data-piece="interactive"],
body[data-screen="transition"] .title-piece[data-piece="resume"] {
  opacity: 0;
  transform: scale(0.9) translateY(12px);
}

/* ── App shell ───────────────────────────────────────── */

.app-shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease 0.15s, transform 0.55s ease 0.15s;
}

body[data-screen="app"] .app-shell {
  opacity: 1;
  transform: none;
}

.app-shell[hidden] {
  display: none;
}

body[data-screen="app"] .app-shell[hidden] {
  display: grid;
}

.mode-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1rem 0.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(4, 6, 15, 0.92), rgba(4, 6, 15, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
}

.mode-btn {
  appearance: none;
  border: 1.5px solid rgba(176, 38, 255, 0.55);
  background: rgba(10, 14, 36, 0.7);
  color: var(--mist);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mode-btn.is-active {
  border-color: transparent;
  background: linear-gradient(120deg, #1ad4b0, #3cffd0 55%, #7dffb0);
  color: #041018;
  box-shadow: 0 0 18px rgba(46, 245, 208, 0.45);
}

/* ── Voice (mobile-first) ────────────────────────────── */

.screen-voice {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.85rem;
  padding: 0.75rem 1rem max(1.5rem, env(safe-area-inset-bottom));
  width: min(720px, 100%);
  margin-inline: auto;
}

body[data-mode="timeline"] .screen-voice {
  display: none;
}

/* Soft glow needs room — paint on the whole viewport, not a clipped stage box. */
.voice-viz {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 1;
  display: block;
  pointer-events: none;
  background: transparent;
  border: none;
  filter: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body[data-screen="app"][data-mode="voice"] .voice-viz {
  opacity: 1;
}

/* Reserves column space + receives taps. Orb is drawn on .voice-viz at this rect. */
.voice-orb-stage {
  position: relative;
  z-index: 2;
  width: min(420px, 88vw);
  aspect-ratio: 1 / 1;
  margin-top: 0.5rem;
}

.voice-viz-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Transparent auto-scroll transcript — scrollbar only on hover / tap / focus */
.caption-scroll {
  --scroll-fade: rgba(4, 6, 15, 0.55);
  position: relative;
  z-index: 2;
  width: min(100%, 40ch);
  max-height: min(26vh, 9.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0.65rem;
  padding: 0.35rem 0.55rem;
  outline: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 100%
  );

  /* Hide scrollbar by default */
  scrollbar-width: none;
}

.caption-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.caption-scroll:hover,
.caption-scroll:focus-within,
.caption-scroll.is-interacting {
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 245, 208, 0.55) transparent;
}

.caption-scroll:hover::-webkit-scrollbar,
.caption-scroll:focus-within::-webkit-scrollbar,
.caption-scroll.is-interacting::-webkit-scrollbar {
  width: 4px;
}

.caption-scroll:hover::-webkit-scrollbar-thumb,
.caption-scroll:focus-within::-webkit-scrollbar-thumb,
.caption-scroll.is-interacting::-webkit-scrollbar-thumb {
  background: rgba(46, 245, 208, 0.5);
  border-radius: 999px;
}

.caption-scroll:hover::-webkit-scrollbar-track,
.caption-scroll:focus-within::-webkit-scrollbar-track,
.caption-scroll.is-interacting::-webkit-scrollbar-track {
  background: transparent;
}

.caption {
  margin: 0;
  max-width: none;
  text-align: center;
  line-height: 1.45;
  font-size: 0.9rem;
  color: var(--steel);
  min-height: 0;
}

.caption--rez {
  color: var(--teal);
}

.caption--you {
  color: #e6c8ff;
  font-size: 0.82rem;
  min-height: 1.35em;
  max-width: 34ch;
  padding-inline: 0.5rem;
}

.user-dock {
  margin-top: 0.35rem;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  width: 100%;
  z-index: 2;
}

.mic-fab {
  --mic-level: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(176, 38, 255, 0.7);
  background: rgba(176, 38, 255, 0.15);
  color: #f3e8ff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: scale(calc(1 + (var(--mic-level) * 0.14)));
  box-shadow:
    0 0 calc(10px + var(--mic-level) * 34px) rgba(176, 38, 255, calc(0.28 + var(--mic-level) * 0.55)),
    0 0 calc(2px + var(--mic-level) * 18px) rgba(46, 245, 208, calc(var(--mic-level) * 0.7));
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  will-change: transform, box-shadow;
}

.mic-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: currentColor;
}

body[data-call="live"] .mic-fab {
  background: rgba(46, 245, 208, 0.18);
  border-color: rgba(46, 245, 208, calc(0.55 + var(--mic-level) * 0.45));
  color: var(--teal);
  box-shadow:
    0 0 calc(12px + var(--mic-level) * 36px) rgba(46, 245, 208, calc(0.3 + var(--mic-level) * 0.55)),
    0 0 calc(4px + var(--mic-level) * 22px) rgba(176, 38, 255, calc(0.15 + var(--mic-level) * 0.45));
}

.call-status {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-transform: uppercase;
  min-height: 1.2em;
  text-align: center;
  z-index: 2;
}

@media (min-width: 640px) {
  .screen-voice {
    gap: 0.9rem;
    padding: 1rem 1.25rem 2.5rem;
  }

  .voice-orb-stage {
    width: min(420px, 70vw);
    margin-top: 0.75rem;
  }

  .caption-scroll {
    max-height: min(28vh, 11rem);
    width: min(100%, 42ch);
  }

  .caption {
    font-size: 0.95rem;
  }

  .mic-fab {
    width: 52px;
    height: 52px;
  }
}

/* ── Timeline ────────────────────────────────────────── */

.screen-timeline {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: 0.75rem 1.15rem 3rem;
  display: grid;
  gap: 1.5rem;
}

body[data-mode="voice"] .screen-timeline {
  display: none;
}

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 1.1rem;
  border: 1.5px solid rgba(46, 245, 208, 0.35);
  background: rgba(10, 14, 36, 0.65);
  box-shadow: 0 0 24px rgba(46, 245, 208, 0.12);
}

.profile-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  background: rgba(46, 245, 208, 0.08);
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 245, 208, 0.3);
  overflow: hidden;
  box-shadow: 0 0 16px rgba(46, 245, 208, 0.2);
}

.profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.profile-card__copy h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.profile-card__copy p {
  margin: 0;
  color: var(--steel);
  font-size: 0.88rem;
  line-height: 1.4;
}

.profile-card__meta {
  margin-top: 0.35rem !important;
  font-size: 0.78rem !important;
  opacity: 0.85;
}

.tl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  justify-content: center;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.75rem;
  padding: 0.5rem 0 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(176, 38, 255, 0.6));
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4.5rem;
  align-items: start;
  padding-top: 2.1rem; /* clear the year pill above the cards */
}

.tl-item--no-year {
  padding-top: 0;
}

.tl-item__spacer {
  min-height: 1px;
}

.tl-card {
  --tl-accent: var(--teal);
  --tl-accent-soft: rgba(46, 245, 208, 0.12);
  --tl-accent-border: rgba(46, 245, 208, 0.45);
  --tl-accent-glow: rgba(46, 245, 208, 0.14);

  width: 100%;
  max-width: 28rem;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background:
    linear-gradient(160deg, var(--tl-accent-soft), transparent 42%),
    rgba(8, 12, 28, 0.86);
  border: 1.5px solid var(--tl-accent-border);
  box-shadow: 0 0 18px var(--tl-accent-glow);
}

.tl-card--position {
  --tl-accent: #2ef5d0;
  --tl-accent-soft: rgba(46, 245, 208, 0.14);
  --tl-accent-border: rgba(46, 245, 208, 0.55);
  --tl-accent-glow: rgba(46, 245, 208, 0.16);
}

.tl-card--project {
  --tl-accent: #e0a8ff;
  --tl-accent-soft: rgba(176, 38, 255, 0.16);
  --tl-accent-border: rgba(176, 38, 255, 0.55);
  --tl-accent-glow: rgba(176, 38, 255, 0.16);
}

.tl-card--education {
  --tl-accent: #f0c674;
  --tl-accent-soft: rgba(240, 198, 116, 0.14);
  --tl-accent-border: rgba(240, 198, 116, 0.55);
  --tl-accent-glow: rgba(240, 198, 116, 0.14);
}

.tl-card--further-education {
  --tl-accent: #7ec8ff;
  --tl-accent-soft: rgba(126, 200, 255, 0.14);
  --tl-accent-border: rgba(126, 200, 255, 0.55);
  --tl-accent-glow: rgba(126, 200, 255, 0.14);
}

.tl-item--left .tl-card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.tl-item--right .tl-card {
  grid-column: 2;
  justify-self: start;
}

.tl-card__kind {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tl-accent);
  text-align: left;
}

.tl-item--left .tl-item__spacer {
  grid-column: 2;
}

.tl-item--right .tl-item__spacer {
  grid-column: 1;
  grid-row: 1;
}

.tl-year {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #06141a;
  border: 1px solid var(--teal);
  color: var(--teal);
  white-space: nowrap;
}

.tl-card__title {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.tl-card__meta {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--tl-accent);
  font-family: var(--display);
  line-height: 1.35;
  opacity: 0.9;
}

.tl-card__summary-wrap {
  margin: 0 0 0.15rem;
}

.tl-card__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px dashed rgba(155, 176, 201, 0.35);
  background: rgba(155, 176, 201, 0.06);
  color: var(--mist);
  font: inherit;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: inherit;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.tl-card__summary:hover,
.tl-card__summary:focus-visible {
  border-color: color-mix(in srgb, var(--tl-accent) 70%, transparent);
  background: color-mix(in srgb, var(--tl-accent) 12%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--tl-accent) 20%, transparent);
  outline: none;
}

.tl-card__summary--static {
  display: block;
  cursor: default;
}

.tl-card__summary--static:hover {
  border-color: rgba(155, 176, 201, 0.35);
  background: rgba(155, 176, 201, 0.06);
  box-shadow: none;
}

.tl-card.is-open .tl-card__summary {
  border-style: solid;
  border-color: color-mix(in srgb, var(--tl-accent) 55%, transparent);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.tl-item--left .tl-card__summary {
  grid-template-columns: auto 1fr;
}

.tl-item--left .tl-card__summary-hint {
  order: -1;
}

.tl-card__summary-text {
  color: var(--mist);
}

.tl-card__summary-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-family: var(--display);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tl-accent);
  opacity: 0.85;
}

.tl-card__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  margin-top: -0.1rem;
}

.tl-card.is-open .tl-card__chevron {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.tl-card__bullets {
  margin: 0;
  padding: 0.65rem 0.75rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--tl-accent) 40%, transparent);
  border-top: none;
  border-radius: 0 0 0.65rem 0.65rem;
  background: rgba(4, 10, 20, 0.55);
}

.tl-card__bullets ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--steel);
  font-size: 0.8rem;
  line-height: 1.4;
}

.tl-item--left .tl-card__bullets ul {
  padding-left: 0;
  padding-right: 1.1rem;
  list-style-position: inside;
}

.tl-card__bullets li::marker {
  color: var(--tl-accent);
}

.tl-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.tl-item--left .tl-card__tags {
  justify-content: flex-end;
}

.tl-tag {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.tl-tag--skill,
.tl-tag--soft {
  border-color: rgba(46, 245, 208, 0.5);
  color: var(--teal);
  background: rgba(46, 245, 208, 0.08);
}

.tl-tag--hard {
  border-color: rgba(240, 198, 116, 0.55);
  color: #f0c674;
  background: rgba(240, 198, 116, 0.08);
}

.tl-tag--tech {
  border-color: rgba(176, 38, 255, 0.55);
  color: #e0a8ff;
  background: rgba(176, 38, 255, 0.1);
}

.download-cta {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #041018;
  background: linear-gradient(120deg, #1ad4b0, #3cffd0 55%, #b8ff7a);
  box-shadow: 0 0 22px rgba(46, 245, 208, 0.4);
}

.download-cta:hover {
  filter: brightness(1.08);
}

@media (max-width: 640px) {
  .timeline::before {
    left: 1rem;
  }

  .tl-item {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 2.25rem;
    padding-top: 2.1rem;
  }

  .tl-item--no-year {
    padding-top: 0;
  }

  .tl-item--left .tl-card,
  .tl-item--right .tl-card {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
    text-align: left;
  }

  .tl-item__spacer {
    display: none;
  }

  .tl-year {
    left: 1rem;
    top: 0;
  }

  .tl-item--left .tl-card__tags {
    justify-content: flex-start;
  }

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