@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope/Manrope-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --panel: #111214;
  --panel-soft: #15171a;
  --line: rgba(226, 235, 247, 0.09);
  --line-strong: rgba(226, 235, 247, 0.16);
  --text: #f3f7fb;
  --muted: rgba(226, 235, 247, 0.58);
  --quiet: rgba(226, 235, 247, 0.32);
  --accent: #9ec8ff;
  --accent-2: #dbe8f8;
  --accent-soft: rgba(158, 200, 255, 0.11);
  --danger: #f87171;
  --warn: #fbbf24;
  --ok: #4ade80;
  --mono: "IBM Plex Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --sans: "Manrope", "Inter", "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(158, 200, 255, 0.1), transparent 22rem),
    linear-gradient(120deg, rgba(158, 200, 255, 0.055), transparent 34rem),
    linear-gradient(180deg, #0f1012 0%, #0b0b0c 58%, #080809 100%);
  color: var(--text);
  font-family: var(--sans);
  font-feature-settings: "zero" 0, "ss01" 1;
  cursor: default;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid rgba(158, 200, 255, 0.8);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10;
  transform: translateY(-140%);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--panel);
  padding: 8px 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.lang-switch {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(226, 235, 247, 0.24);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
}

.lang-option {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(226, 235, 247, 0.34);
  cursor: pointer;
  font: inherit;
  padding: 4px 0;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

.lang-option:hover,
.lang-option.active {
  color: rgba(204, 225, 255, 0.9);
  text-shadow: 0 0 12px rgba(158, 200, 255, 0.16);
}

.page {
  width: min(100%, 980px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px clamp(20px, 5vw, 48px) 56px;
}

.hero {
  max-width: 980px;
  margin-bottom: 8px;
  padding-top: clamp(8px, 2.5vh, 24px);
}

.hero h1 {
  max-width: 450px;
  margin: 0 0 6px;
  color: var(--text);
  font-size: clamp(54px, 11vw, 124px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.9;
}

.identity,
.role {
  display: block;
}

.identity {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--accent-2);
  text-shadow: 0 0 28px rgba(255, 158, 158, 0.08);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.glitch::before {
  color: rgba(158, 200, 255, 0.54);
  transform: translate(2px, 0);
}

.glitch::after {
  color: rgba(255, 255, 255, 0.38);
  transform: translate(-2px, 0);
}

.glitch:hover::before {
  animation: glitch-shift 680ms steps(2, end) 1;
}

.glitch:hover::after {
  animation: glitch-shift 680ms steps(2, end) reverse 1;
}

.role {
  display: inline-block;
  margin-top: 29px;
  color: rgba(226, 235, 247, 0.87);
  font-size: clamp(19px, 1.4vw, 25px);
  font-weight: 460;
  line-height: 1.2;
  white-space: nowrap;
}

.timeline {
  max-width: 980px;
  margin-bottom: 42px;
  --rail-pad: 10%;
  --active-rail-progress: 0%;
  --node-size: 48px;
  --node-slot: 58px;
  --active-tier: var(--accent);
  --active-tier-soft: rgba(255, 158, 158, 0.16);
}

.tl-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  min-height: 138px;
  padding: 4px 0 18px;
}

.tl-line,
.tl-fill {
  position: absolute;
  left: var(--rail-pad);
  top: 52px;
  height: 1px;
  border-radius: 2px;
}

.tl-line {
  right: var(--rail-pad);
  z-index: 0;
  background: rgba(226, 235, 247, 0.055);
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.18) calc(var(--active-rail-progress) - 34%),
    #000 var(--active-rail-progress),
    rgba(0, 0, 0, 0.18) calc(var(--active-rail-progress) + 34%),
    rgba(0, 0, 0, 0.12) 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.18) calc(var(--active-rail-progress) - 34%),
    #000 var(--active-rail-progress),
    rgba(0, 0, 0, 0.18) calc(var(--active-rail-progress) + 34%),
    rgba(0, 0, 0, 0.12) 100%
  );
}

.tl-fill {
  z-index: 1;
  width: 0%;
  background: linear-gradient(90deg, rgba(126, 150, 174, 0.12), color-mix(in srgb, var(--active-tier, #9ec8ff) 70%, rgba(226, 235, 247, 0.2)));
  box-shadow: 0 0 8px var(--active-tier-soft, rgba(158, 200, 255, 0.12));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 18%, rgba(0, 0, 0, 0.46) 58%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 18%, rgba(0, 0, 0, 0.46) 58%, #000 100%);
  transition: width 0.28s ease;
}

.tl-node {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 18px var(--node-slot) auto;
  justify-items: center;
  align-items: start;
  row-gap: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  min-width: 0;
  padding: 0 4px;
  text-align: center;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.tl-node.distance-1 {
  opacity: 0.78;
}

.tl-node.distance-2 {
  opacity: 0.46;
}

.tl-node.distance-3 {
  opacity: 0.24;
}

.tl-node.distance-far {
  opacity: 0.12;
}

.tl-node:hover,
.tl-node:focus-visible,
.tl-node.active {
  opacity: 1;
}

.tl-year {
  color: rgba(226, 235, 247, 0.24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.tl-dot {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  width: var(--node-size);
  height: var(--node-size);
  border: 1px solid rgba(226, 235, 247, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(226, 235, 247, 0.035), transparent 48%),
    #0d0e10;
  box-shadow: 0 0 0 7px var(--bg);
  color: rgba(226, 235, 247, 0.28);
  font-family: var(--sans);
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 850;
  letter-spacing: 0;
  opacity: 0.72;
  filter: saturate(0.2);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, opacity 0.16s ease, filter 0.16s ease, transform 0.16s ease;
}

.tl-node .tl-dot {
  border-color: rgba(226, 235, 247, 0.13);
}

.tl-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 92px;
  padding-top: 9px;
}

.tl-card strong {
  color: rgba(226, 235, 247, 0.46);
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 730;
  line-height: 1.1;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.tl-node.active .tl-dot {
  border-color: var(--tier, rgba(158, 200, 255, 0.9));
  box-shadow:
    0 0 0 7px var(--bg),
    0 0 0 1px color-mix(in srgb, var(--tier, #9ec8ff) 42%, transparent),
    0 0 0 9px color-mix(in srgb, var(--tier, #9ec8ff) 13%, transparent),
    0 0 22px var(--tier-glow, rgba(158, 200, 255, 0.18));
  color: rgba(243, 247, 251, 0.95);
  opacity: 1;
  filter: saturate(1);
  transform: scale(1.03);
}

.tl-node.active .tl-year {
  color: color-mix(in srgb, var(--tier, #9ec8ff) 72%, rgba(243, 247, 251, 0.78));
}

.tl-node.active .tl-card strong {
  color: var(--tier, var(--accent));
}

.tl-node.active .tl-card {
  opacity: 1;
}

.tl-node.active .tl-year {
  opacity: 1;
}

.tl-node.visited .tl-dot {
  border-color: color-mix(in srgb, var(--tier, #9ec8ff) 44%, transparent);
  color: color-mix(in srgb, var(--tier, #9ec8ff) 72%, rgba(226, 235, 247, 0.3));
  background:
    radial-gradient(circle at 50% 48%, var(--tier-soft, rgba(158, 200, 255, 0.1)), transparent 48%),
    #0d0e10;
  opacity: 0.9;
  filter: saturate(0.85);
}

.tl-node.visited .tl-year {
  color: color-mix(in srgb, var(--tier, #9ec8ff) 48%, rgba(226, 235, 247, 0.34));
}

.tl-node.visited .tl-card strong {
  color: rgba(243, 247, 251, 0.68);
}

.tl-node:hover .tl-dot {
  border-color: color-mix(in srgb, var(--tier, #9ec8ff) 62%, rgba(226, 235, 247, 0.24));
  color: color-mix(in srgb, var(--tier, #9ec8ff) 55%, rgba(226, 235, 247, 0.38));
  filter: saturate(0.9);
  opacity: 0.95;
  transform: scale(1.02);
}

.tl-panel {
  position: relative;
  display: grid;
  min-height: 170px;
  border: 1px solid color-mix(in srgb, var(--active-tier, #9ec8ff) 18%, rgba(226, 235, 247, 0.08));
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(226, 235, 247, 0.03), transparent 44%),
    rgba(17, 18, 20, 0.58);
  padding: 20px;
  overflow: clip;
}

.tl-pane {
  position: relative;
  grid-area: 1 / 1;
  margin: 0;
  max-width: 850px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 0.22s, transform 0.22s;
  visibility: hidden;
}

.tl-pane.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.tl-title {
  margin: 0 0 8px;
  color: rgba(243, 247, 251, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 690;
  letter-spacing: 0;
  line-height: 1.3;
}

.tl-body {
  margin: 0;
  color: rgba(226, 235, 247, 0.56);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
}

.tl-body em {
  color: rgba(226, 235, 247, 0.64);
  font-style: normal;
}

.tl-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tl-skills span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid color-mix(in srgb, var(--active-tier, #9ec8ff) 24%, rgba(226, 235, 247, 0.08));
  border-radius: 2px;
  background: color-mix(in srgb, var(--active-tier, #9ec8ff) 9%, transparent);
  color: var(--active-tier, rgba(158, 200, 255, 0.58));
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1;
  padding: 0 8px;
  text-transform: uppercase;
}

.section {
  border-top: 1px solid var(--line);
  padding: 32px 0 0;
}

.section + .section {
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  font-family: var(--mono);
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 2px;
}

.about-speaker {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 13px;
  min-width: 0;
  padding-top: 6px;
}

.about-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(158, 200, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 35%, rgba(185, 156, 255, 0.24), transparent 40%),
    radial-gradient(circle at 62% 70%, rgba(110, 198, 255, 0.14), transparent 44%),
    rgba(17, 18, 20, 0.92);
  box-shadow:
    0 0 0 7px rgba(8, 8, 9, 0.95),
    0 0 34px rgba(158, 200, 255, 0.12);
  overflow: hidden;
}

.about-avatar-img {
  position: relative;
  z-index: 0;
  width: 90%;
  height: 90%;
  object-fit: cover;
  object-position: center;
}

.about-avatar-img.avatar-fallback {
  width: 38px;
  height: 38px;
  object-fit: contain;
  opacity: 0.72;
}

.about-speaker-meta {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.about-speaker-meta h2 {
  margin: 0;
  color: rgba(243, 247, 251, 0.84);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
}

.about-speaker-meta span {
  color: rgba(226, 235, 247, 0.34);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-dialogue {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(226, 235, 247, 0.1);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(226, 235, 247, 0.035), transparent 38%),
    rgba(17, 18, 20, 0.62);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  padding: 20px 24px 24px;
}

.about-dialogue::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 38px;
  width: 16px;
  height: 16px;
  border-left: 1px solid rgba(226, 235, 247, 0.1);
  border-bottom: 1px solid rgba(226, 235, 247, 0.1);
  background: #111214;
  transform: rotate(45deg);
}

.about-dialogue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 235, 247, 0.08);
}

.about-dialogue-head h2,
.section-head h2,
.section-head span {
  margin: 0;
  color: var(--quiet);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.about-speed {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 94px;
  min-height: 32px;
  border: 1px solid rgba(110, 198, 255, 0.42);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(158, 200, 255, 0.12), rgba(110, 198, 255, 0.045)),
    rgba(13, 14, 16, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(243, 247, 251, 0.07),
    0 0 14px rgba(110, 198, 255, 0.07);
  color: rgba(220, 238, 255, 0.92);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1;
  padding: 7px 11px;
  text-transform: uppercase;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease, color 0.14s ease, transform 0.1s ease;
  user-select: none;
}

.about-speed-icon {
  display: inline-block;
  width: 18px;
  color: rgba(110, 198, 255, 0.95);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  text-align: center;
  transform: translateY(-0.5px);
}

.about-speed-label {
  display: inline-block;
  min-width: 44px;
  text-align: left;
}

.about-speed:hover {
  border-color: rgba(110, 198, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(158, 200, 255, 0.24), rgba(110, 198, 255, 0.1)),
    rgba(13, 14, 16, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(243, 247, 251, 0.12),
    0 0 24px rgba(110, 198, 255, 0.16);
  color: rgba(243, 247, 251, 0.96);
  transform: translateY(-1px);
}

.about-speed.held,
.about-speed:active {
  border-color: rgba(142, 230, 200, 0.8);
  background:
    linear-gradient(180deg, rgba(142, 230, 200, 0.24), rgba(110, 198, 255, 0.12)),
    rgba(13, 14, 16, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(142, 230, 200, 0.14),
    0 0 26px rgba(142, 230, 200, 0.18);
  color: rgba(235, 255, 249, 0.98);
  transform: translateY(0) scale(0.97);
}

.about-speed.held .about-speed-icon,
.about-speed:active .about-speed-icon {
  color: rgba(235, 255, 249, 1);
}

.about-speed.rewind {
  border-color: rgba(185, 156, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(185, 156, 255, 0.12), rgba(158, 200, 255, 0.04)),
    rgba(13, 14, 16, 0.88);
  color: rgba(232, 224, 255, 0.92);
}

.about-speed.rewind .about-speed-icon {
  color: rgba(185, 156, 255, 0.98);
}

.about-speed.rewind.held,
.about-speed.rewind:active {
  border-color: rgba(185, 156, 255, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(185, 156, 255, 0.14),
    0 0 26px rgba(185, 156, 255, 0.18);
  color: rgba(246, 242, 255, 0.98);
}

.about-copy {
  position: relative;
  max-width: 780px;
  min-height: 336px;
}

.about-copy p {
  min-height: 1.8em;
  margin: 0 0 1.25rem;
  color: rgba(226, 235, 247, 0.72);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.76;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 1px;
  animation: blink 0.53s steps(1) infinite;
  background: rgba(158, 200, 255, 0.55);
  vertical-align: text-bottom;
}

.about-copy.boosting .typing-cursor {
  background: rgba(142, 230, 200, 0.95);
  box-shadow: 0 0 12px rgba(142, 230, 200, 0.58);
}

.about-copy.rewinding .typing-cursor {
  background: rgba(248, 113, 113, 0.95);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.58);
}

.contact {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.contact-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  color: rgba(226, 235, 247, 0.34);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-head small {
  color: rgba(226, 235, 247, 0.24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.contact-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.contact-item-copy-only {
  grid-template-columns: 1fr;
}

.contact-link,
.contact-copy {
  appearance: none;
  position: relative;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(243, 247, 251, 0.82);
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.contact-link {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  align-items: center;
  column-gap: 8px;
  min-height: 40px;
  min-width: 0;
  padding: 6px 7px;
  text-align: left;
}

.contact-link::before {
  content: none;
}

.contact-copy {
  display: inline-grid;
  place-items: center;
  min-height: 0;
  width: 24px;
  height: 28px;
  padding: 0;
  color: rgba(158, 200, 255, 0.48);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: rgba(158, 200, 255, 0.68);
  box-shadow: none;
}

.contact-icon svg,
.contact-open svg,
.contact-copy svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.contact-meta {
  display: block;
  min-width: 0;
}

.contact-open {
  display: inline-grid;
  place-items: center;
  color: rgba(158, 200, 255, 0.36);
}

.contact-link:hover,
.contact-copy:hover {
  background: rgba(158, 200, 255, 0.055);
  transform: translateY(-1px);
}

.contact-link:hover .contact-icon {
  color: rgba(204, 225, 255, 0.92);
}

.contact-link:hover .contact-open,
.contact-copy:hover {
  color: rgba(204, 225, 255, 0.9);
}

.contact-links strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.contact-toast {
  min-height: 18px;
  margin: 0;
  color: rgba(158, 200, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

@keyframes glitch-shift {
  0% {
    clip-path: inset(8% 0 72% 0);
    opacity: 0;
  }

  18% {
    clip-path: inset(8% 0 72% 0);
    opacity: 0.85;
  }

  36% {
    clip-path: inset(62% 0 14% 0);
    opacity: 0.55;
  }

  54% {
    clip-path: inset(28% 0 46% 0);
    opacity: 0.75;
  }

  72% {
    clip-path: inset(80% 0 4% 0);
    opacity: 0.45;
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .page {
    padding-top: 26px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 92px);
    line-height: 0.88;
  }

  .about-avatar {
    width: 68px;
    height: 68px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 16px;
  }

  .about-speaker {
    display: flex;
    justify-items: start;
    justify-content: flex-start;
    text-align: left;
    padding-top: 0;
  }

  .about-speaker-meta {
    justify-items: start;
    text-align: left;
  }

  .about-dialogue::before {
    display: none;
  }

  .about-copy {
    min-height: 460px;
  }

  .contact {
    padding-top: 22px;
  }

  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 680px) {
  .timeline {
    margin-bottom: 34px;
    padding-bottom: 0;
    --node-size: 40px;
    --node-slot: 48px;
  }

  .tl-track {
    display: grid;
    grid-auto-columns: 88px;
    grid-auto-flow: column;
    grid-template-columns: none !important;
    min-height: 112px;
    gap: 0;
    margin: 0 calc(clamp(20px, 5vw, 48px) * -1);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px clamp(20px, 5vw, 48px) 16px;
    scroll-padding-inline: clamp(20px, 5vw, 48px);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tl-track::-webkit-scrollbar {
    display: none;
  }

  .tl-line,
  .tl-fill {
    display: block;
    left: clamp(20px, 5vw, 48px);
    right: auto;
    top: 47px;
    width: calc(8 * 88px - 88px);
    min-width: 616px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .tl-line {
    background: rgba(226, 235, 247, 0.045);
  }

  .tl-fill {
    opacity: 0.72;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 18%, rgba(0, 0, 0, 0.64) 58%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 18%, rgba(0, 0, 0, 0.64) 58%, #000 100%);
  }

  .tl-node {
    grid-template-columns: auto;
    grid-template-rows: 14px var(--node-slot) auto;
    align-items: start;
    justify-items: center;
    min-width: 88px;
    min-height: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    padding: 0 4px;
    scroll-snap-align: center;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.16s ease;
  }

  .tl-year {
    grid-column: auto;
    grid-row: auto;
    align-self: start;
    font-size: 9px;
  }

  .tl-dot {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    box-shadow: 0 0 0 6px var(--bg);
    font-size: 10px;
  }

  .tl-card {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    justify-items: center;
    padding-top: 5px;
    text-align: center;
  }

  .tl-card strong {
    max-width: 76px;
    font-size: 12px;
    line-height: 1.05;
    white-space: normal;
  }

  .tl-node.active {
    transform: translateY(-1px);
  }

  .tl-node.active .tl-dot {
    box-shadow:
      0 0 0 6px var(--bg),
      0 0 0 1px color-mix(in srgb, var(--tier, #9ec8ff) 42%, transparent),
      0 0 14px var(--tier-glow, rgba(158, 200, 255, 0.16));
  }

  .tl-panel {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 0;
    margin-top: 2px;
    padding: 16px;
    transform: none;
  }

  .tl-panel::before {
    display: none;
  }

  .tl-title {
    font-size: 17px;
    line-height: 1.28;
  }

  .tl-body {
    font-size: 13px;
    line-height: 1.62;
  }

  .tl-skills {
    gap: 6px;
    margin-top: 14px;
  }

  .tl-skills span {
    min-height: 21px;
    font-size: 9px;
    padding: 0 7px;
  }

}

@media (max-width: 460px) {
  .role {
    margin-top: 8px;
    white-space: normal;
  }

  .about-dialogue {
    padding: 18px;
  }

  .about-dialogue-head {
    align-items: flex-start;
  }

  .about-speaker {
    gap: 12px;
  }

  .contact-links {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .contact-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-item-copy-only {
    grid-template-columns: 1fr;
  }
}
