:root {
  --bg: #080909;
  --bg-soft: #0c0d0d;
  --text: #f5f7fb;
  --muted: #a1a7b4;
  --faint: #60646f;
  --line: rgba(255, 255, 255, 0.08);
  --panel: #eff3ff;
  --green-panel: #eef7f0;
  --blue: #235cff;
  --green: #178945;
  --dock: rgba(28, 29, 30, 0.84);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 255, 255, 0.035), transparent 12rem),
    linear-gradient(180deg, #090a0a 0%, var(--bg) 46%, #060707 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

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

button {
  font: inherit;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  will-change: transform;
  z-index: 10000;
  opacity: 0;
  transition: opacity 200ms ease;
}

.page-shell {
  width: min(100% - 32px, 544px);
  margin: 0 auto;
  padding: 28px 0 96px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 524px);
  margin: 0 auto 38px;
  color: #aab7d1;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0;
}

.intro {
  margin-bottom: 40px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  background: #dfe7f7;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  animation: avatarGlow 4s ease-in-out infinite;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(90deg, #e8ecf5 0%, #fff 38%, #a3b4ff 65%, #e8ecf5 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nameShimmer 6s linear infinite;
}

.role {
  margin-bottom: 20px;
  color: #b7bdc9;
  font-size: 15px;
}

.intro p:not(.role) {
  max-width: 514px;
  margin-top: 17px;
  color: var(--muted);
}

.copy-mail {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  margin: 0 3px;
  border-radius: 5px;
  background: #2c2d2f;
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  line-height: 1;
}

.section {
  margin-top: 40px;
}

.section h2 {
  margin-bottom: 14px;
  color: #626670;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-copy {
  margin-bottom: 14px;
  color: var(--muted);
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding-left: 6px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 3px;
  border-radius: 7px;
  background: #f5f6f7;
  overflow: hidden;
}

.brand-mark.wide {
  width: 42px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark:not(.wide) img {
  border-radius: 4px;
}

.mark-blue {
  color: white;
  background: linear-gradient(135deg, #043e98, #2695ff);
  transform: skew(-10deg);
}

.mark-light {
  color: #101214;
  background: #f2f4f5;
}

.mark-red {
  color: #fff;
  background: #f31946;
}

.mark-purple {
  color: #fff;
  background: #6e15ff;
}

.mark-green {
  color: #ecfff1;
  background: #0f7b43;
}

.mark-dark {
  color: #d0d9ff;
  background: #20233a;
}

.moments {
  margin-top: 44px;
}

.moment-stage {
  position: relative;
  left: 50%;
  width: min(100vw, 1120px);
  height: 288px;
  margin-top: 8px;
  margin-left: -50vw;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #070808;
  background-size: 96px 96px;
  perspective: 980px;
  transform: translateX(calc((100vw - min(100vw, 1120px)) / 2));
}

.moment-stage::before,
.moment-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 120px;
  pointer-events: none;
}

.moment-stage::before {
  left: 0;
  background: linear-gradient(90deg, #070808 0%, transparent 100%);
}

.moment-stage::after {
  right: 0;
  background: linear-gradient(270deg, #070808 0%, transparent 100%);
}

.moment-badge {
  position: absolute;
  z-index: 6;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.34);
  transform: rotate(var(--badge-tilt));
}

.moment-badge::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -12px;
  border-top: 15px solid currentColor;
  border-right: 16px solid transparent;
  filter: brightness(0.68);
}

.badge-blue {
  --badge-tilt: -4deg;
  left: calc(50% - 432px);
  top: 42px;
  background: #1188ff;
  color: #fff;
}

.badge-blue::after {
  border-top-color: #1188ff;
}

.badge-dark {
  --badge-tilt: 5deg;
  right: calc(50% - 462px);
  top: 28px;
  background: #3b3b3c;
  color: #fff;
}

.badge-dark::after {
  left: auto;
  right: 30px;
  border-top-color: #3b3b3c;
  transform: rotate(-24deg);
}

.moment-card {
  position: absolute;
  left: 50%;
  top: 86px;
  z-index: calc(2 + var(--i));
  width: 210px;
  height: 158px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #111;
  box-shadow: 0 26px 38px rgba(0, 0, 0, 0.44);
  transform:
    translate3d(calc(var(--shift) + var(--mx, 0px)), calc(var(--rise) + var(--my, 0px)), 0)
    rotate(var(--tilt));
  transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
  animation: momentFloat 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -480ms);
  will-change: transform;
}

.moment-card:hover {
  z-index: 12;
  filter: saturate(1.15) contrast(1.05);
  box-shadow: 0 34px 54px rgba(0, 0, 0, 0.58);
  transform:
    translate3d(calc(var(--shift) + var(--mx, 0px)), calc(var(--rise) + var(--my, 0px) - 22px), 50px)
    rotate(0deg)
    scale(1.05);
}

.moment-card p {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(6, 7, 7, 0.66);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(8px);
}

.moment-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.moment-image {
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
}

.moment-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-card:hover .moment-image {
  transform: scale(1.08);
}

@keyframes momentFloat {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -8px;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  margin-top: 12px;
  perspective: 900px;
}

.project-card {
  position: relative;
  display: block;
  height: 316px;
  min-height: 316px;
  overflow: visible;
  color: #1a2435;
  transform-origin: 50% 100%;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  pointer-events: none;
  transition: transform 280ms ease, opacity 220ms ease;
}

.project-card::before {
  inset: 18px -8px 20px 48px;
  z-index: 0;
  background: var(--file-tab, #244dea);
  transform: rotate(2deg) translateX(-16px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
}

.project-card::after {
  content: attr(data-file-label);
  top: 104px;
  right: -27px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 98px;
  background: var(--file-tab, #244dea);
  color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(3deg) translateX(0);
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-10px) rotateX(2deg) rotateZ(-1deg);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.project-card:hover::before,
.project-card:focus-within::before {
  transform: rotate(4deg) translateX(10px) translateY(2px);
}

.project-card:hover::after,
.project-card:focus-within::after {
  transform: rotate(4deg) translateX(5px);
}

.project-face {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 316px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 28px 26px 22px;
  background: var(--card-bg);
}

.project-card > * {
  position: relative;
  z-index: 2;
}

.project-kicker {
  margin-bottom: 7px;
  color: rgba(40, 52, 70, 0.45);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 245px;
  font-family: "Space Mono", monospace;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
}

.project-card p:not(.project-kicker) {
  min-height: 42px;
  margin-top: 12px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.card-blue {
  --card-bg: var(--panel);
  --file-tab: #1744d4;
}

.card-blue h3,
.card-blue p:not(.project-kicker) {
  color: var(--blue);
}

.card-green {
  --card-bg: var(--green-panel);
  --file-tab: #086436;
}

.card-green h3,
.card-green p:not(.project-kicker) {
  color: var(--green);
}

.project-visual {
  flex: 0 0 104px;
  margin-top: 18px;
  border-radius: 6px;
  overflow: hidden;
  background: #111b57;
  transition: transform 260ms ease;
}

.project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-card:hover .project-visual,
.project-card:focus-within .project-visual {
  transform: translateY(-4px);
}

.visual-panels {
  background: #111b57;
}

.visual-vision {
  background: #064218;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.experiment {
  position: relative;
  min-height: 117px;
  overflow: hidden;
  background: #111;
}

.experiment img {
  display: block;
  width: 100%;
  height: 117px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 260ms ease, filter 260ms ease;
}

.experiment:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.08);
}

.experiment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.experiment span {
  position: absolute;
  left: 8px;
  bottom: 7px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.54);
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.side-projects {
  margin-top: 38px;
}

.side-link {
  display: grid;
  grid-template-columns: 33px 1fr 18px;
  gap: 14px;
  align-items: start;
  min-height: 66px;
  padding: 4px 0;
  color: var(--muted);
}

.side-link strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.side-link small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.side-link i {
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 23px;
}

.side-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 8px;
  background: #f7f7f7;
}

.icon-orbit::before,
.icon-dot::before,
.icon-key::before,
.icon-cloud::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
}

.icon-orbit::before {
  border: 2px solid #111;
  border-radius: 50%;
  box-shadow: inset 5px 0 0 transparent;
}

.icon-dot::before {
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 22%, #7c7cff 24% 100%);
}

.icon-key::before {
  border-radius: 50%;
  background: #f7b20b;
  box-shadow: 8px 2px 0 -4px #f7b20b, 13px 2px 0 -5px #f7b20b;
}

.icon-cloud::before {
  border-radius: 12px 12px 8px 8px;
  border: 2px solid #111;
  border-top-color: transparent;
}

.archive {
  margin-top: 48px;
}

.archive-board {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  cursor: grab;
  touch-action: none;
}

.archive-board:active {
  cursor: grabbing;
}

.drag-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #9fb0bd;
  font-family: "Space Mono", monospace;
  font-size: 14px;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.drag-hint span {
  position: relative;
  width: 15px;
  height: 15px;
}

.drag-hint span::before,
.drag-hint span::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.drag-hint span::before {
  left: 0;
  top: 7px;
  width: 15px;
  height: 1px;
  box-shadow: 0 -4px 0 -3px currentColor, 0 4px 0 -3px currentColor;
}

.drag-hint span::after {
  left: 7px;
  top: 0;
  width: 1px;
  height: 15px;
  box-shadow: -4px 0 0 -3px currentColor, 4px 0 0 -3px currentColor;
}

.archive-tile {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 0 14px 0;
  background: #0b0c0c;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.36);
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  user-select: none;
  touch-action: none;
}

.photo-tile {
  border-radius: 14px;
  background: #0f1010;
  padding: 6px;
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  pointer-events: none;
}

.photo-tall {
  width: 168px;
  height: 204px;
}

.photo-wide {
  width: 202px;
  height: 128px;
}

.photo-card {
  width: 156px;
  height: 188px;
}

.photo-small {
  width: 128px;
  height: 118px;
}

.archive-tile.is-dragging {
  z-index: 5;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.52);
}

.journey {
  margin-top: 58px;
  padding-bottom: 18px;
}

.journey h2 {
  margin-bottom: 30px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
}

.journey-list {
  position: relative;
  display: grid;
  gap: 27px;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.journey-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 10px;
  width: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.journey-list li {
  position: relative;
}

.journey-list li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 5px;
  height: 5px;
  border: 1px solid #d7dde8;
  border-radius: 999px;
  background: var(--bg);
}

.journey-list li:first-child::after {
  content: "";
  position: absolute;
  left: -43px;
  top: 45px;
  width: 15px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.journey-list time {
  display: block;
  margin-bottom: 7px;
  color: #858891;
  font-size: 13px;
}

.journey-list p {
  max-width: 410px;
  color: #f3f6fb;
  font-size: 13px;
  line-height: 1.45;
}

.journey-more {
  display: inline-block;
  margin: 22px 0 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: #858891;
  font-size: 13px;
  font-weight: 700;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--dock);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.dock a,
.dock button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9da2ab;
  cursor: pointer;
}

.dock a:hover,
.dock button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.dock span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.dock-grid {
  background:
    radial-gradient(circle, currentColor 2px, transparent 3px) 0 0 / 8px 8px;
}

.dock-briefcase {
  border: 1.7px solid currentColor;
  border-radius: 3px;
}

.dock-briefcase::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -4px;
  width: 6px;
  height: 4px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.dock-bulb {
  border: 1.7px solid currentColor;
  border-radius: 50% 50% 45% 45%;
}

.dock-bulb::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -4px;
  width: 6px;
  height: 4px;
  border-top: 1.7px solid currentColor;
}

.dock-nodes::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-top: 1.5px solid currentColor;
  transform: rotate(-25deg);
}

.dock-nodes {
  background:
    radial-gradient(circle, currentColor 2px, transparent 3px) 1px 2px / 13px 11px;
}

.dock-folder {
  border: 1.7px solid currentColor;
  border-radius: 3px;
}

.dock-folder::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 1px;
  width: 7px;
  height: 4px;
  border: 1.7px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}

.dock-mail {
  border: 1.7px solid currentColor;
  border-radius: 3px;
}

.dock-mail::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 10px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 76px;
  z-index: 12;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #18191b;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  margin-top: 48px;
  padding-bottom: 88px;
  background: #030303;
  color: #fff;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 236px;
  padding: 44px max(28px, calc((100vw - 1480px) / 2 + 42px));
  border-top: 6px solid #000;
  border-bottom: 6px solid #000;
  background: #ffcc82;
  color: #000;
}

.footer-cta p {
  margin-bottom: 22px;
  font-size: 13px;
}

.footer-cta h2 {
  max-width: 980px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.footer-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 41px;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.social-marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: #777;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  min-width: 200%;
  padding: 16px 0;
  animation: marqueeSlide 24s linear infinite;
}

.marquee-track span,
.marquee-track strong {
  font-size: 13px;
  line-height: 1;
}

.marquee-track i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #8a8a8a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) repeat(2, minmax(240px, 1fr));
  gap: 5px;
  padding: 0 5px 5px;
  background: #fff;
  border-bottom: 1px solid #fff;
}

.footer-grid > * {
  background: #000;
  outline: 1px solid #fff;
}

.footer-profile {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 388px;
  padding: 20px 18px;
}

.footer-profile h2 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.93;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 #185bff;
}

.footer-profile p {
  max-width: 520px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.footer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 266px;
  padding: 20px 18px 78px;
  transition: background 180ms ease, transform 180ms ease;
}

.footer-card:hover {
  background: #080808;
  transform: translateY(-3px);
}

.footer-card-icon {
  position: absolute;
  left: 18px;
  top: 18px;
}

.linkedin-icon {
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.github-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 999px;
}

.github-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 5px;
  height: 5px;
  border: 2px solid #fff;
  border-radius: 999px;
}

.github-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 8px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0 0 0 4px;
}

.footer-card-arrow {
  position: absolute;
  right: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
}

.footer-card strong {
  margin-bottom: 12px;
  font-size: 17px;
}

.footer-card small {
  max-width: 520px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.footer-pages,
.footer-credit {
  grid-column: 2 / 4;
  display: grid;
  align-items: center;
  min-height: 55px;
  padding: 0 16px;
}

.footer-pages {
  grid-template-columns: 1fr repeat(4, auto);
  gap: clamp(20px, 7vw, 100px);
}

.footer-pages strong,
.footer-credit strong {
  font-size: 18px;
}

.footer-pages a {
  font-size: 12px;
  font-weight: 700;
}

.footer-credit {
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.footer-credit span {
  padding: 9px 12px;
  border-radius: 7px;
  background: #fff;
  color: #111;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
}

@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════
   DESIGN UPGRADE LAYER
═══════════════════════════════════════════════════════ */

/* Spotlight overlay — moved by JS transform, not CSS vars, so no repaint */
.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 92, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
  opacity: 0;
  transition: opacity 400ms ease;
  contain: layout paint style;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #235cff, #7c3aed);
  border-radius: 999px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #235cff 0%, #7c3aed 55%, #06b6d4 100%);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  z-index: 200;
  pointer-events: none;
}

/* Cursor ring */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  pointer-events: none;
  will-change: transform;
  z-index: 9998;
  opacity: 0;
  transition: width 260ms ease, height 260ms ease, border-color 260ms ease, opacity 200ms ease;
  contain: layout paint style;
}

.cursor-ring.is-active {
  width: 52px;
  height: 52px;
  border-color: rgba(35, 92, 255, 0.65);
}

/* Name shimmer keyframe */
@keyframes nameShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* Avatar glow pulse */
@keyframes avatarGlow {
  0%,  100% {
    box-shadow: inset 0 0 18px rgba(0,0,0,.16), 0 0 0 0 rgba(35,92,255,0);
  }
  50% {
    box-shadow: inset 0 0 18px rgba(0,0,0,.16), 0 0 0 5px rgba(35,92,255,.12), 0 0 22px rgba(35,92,255,.07);
  }
}

/* ── Status row ── */
.status-row {
  position: relative;
}

/* ── Copy-mail underline sweep ── */
.copy-mail {
  position: relative;
  display: inline-block;
  transition: color 200ms ease;
}
.copy-mail::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: rgba(255, 255, 255, 0.3);
  transition: width 340ms ease;
}
.copy-mail:hover::after {
  width: 100%;
}

/* ── Project card glow on hover ── */
.project-face {
  transition: box-shadow 300ms ease;
}
.card-blue:hover .project-face,
.card-blue:focus-within .project-face {
  box-shadow: 0 0 48px rgba(35, 92, 255, 0.18), 0 20px 44px rgba(0,0,0,.28);
}
.card-green:hover .project-face,
.card-green:focus-within .project-face {
  box-shadow: 0 0 48px rgba(23, 137, 69, 0.18), 0 20px 44px rgba(0,0,0,.28);
}

/* ── Dock macOS magnification ── */
.dock a,
.dock button {
  transform: scale(var(--dock-scale, 1)) translateY(calc((var(--dock-scale, 1) - 1) * -9px));
  transition: transform 120ms ease, background 150ms ease, color 150ms ease;
}

/* ── Side-link hover ── */
.side-link {
  transition: color 200ms ease;
}
.side-link:hover {
  color: var(--text);
}
.side-link:hover strong {
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
}

/* ── Archive tile hover lift ── */
.archive-tile {
  transition: box-shadow 220ms ease;
}
.archive-tile:not(.is-dragging):hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  z-index: 4;
}

/* ── Footer CTA button fill sweep ── */
.footer-cta a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer-cta a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #235cff;
  transform: translateX(-100%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.footer-cta a:hover::before {
  transform: translateX(0);
}

/* ── Journey line reveal ── */
.journey.anim-ready .journey-list::before {
  animation: lineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top;
  transform: scaleY(0);
}
@keyframes lineGrow {
  to { transform: scaleY(1); }
}

/* ── SplitType character wrapper ── */
.char {
  display: inline-block;
}

/* ── Experiment border radius ── */
.experiment {
  border-radius: 6px;
}

/* ── Moment badge improved ── */
.moment-badge {
  backdrop-filter: blur(8px);
  will-change: transform;
}

/* ── Footer profile large heading glow ── */
.footer-profile h2 {
  text-shadow: 3px 3px 0 #185bff, 0 0 40px rgba(35, 92, 255, 0.22);
}

@media (hover: none), (pointer: coarse), (max-width: 860px) {
  .spotlight,
  .cursor-ring,
  .cursor-dot {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 544px);
    padding-top: 22px;
  }

  .status-row {
    margin-bottom: 34px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-card {
    height: 296px;
    min-height: 296px;
    overflow: hidden;
  }

  .project-face {
    height: 296px;
    padding: 24px 22px 20px;
  }

  .project-card h3 {
    max-width: 260px;
    font-size: 24px;
  }

  .project-card p:not(.project-kicker) {
    min-height: 34px;
  }

  .project-visual {
    flex-basis: 96px;
  }

  .project-card::before {
    inset: 14px 14px auto auto;
    width: 74px;
    height: 120px;
    opacity: 0.16;
  }

  .project-card::after {
    right: 12px;
    top: 18px;
    width: auto;
    height: auto;
    padding: 6px 8px;
    border-radius: 6px;
    opacity: 0.88;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .project-card:hover::before,
  .project-card:focus-within::before,
  .project-card:hover::after,
  .project-card:focus-within::after {
    transform: none;
  }

  .experiment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-link {
    grid-template-columns: 33px 1fr 16px;
  }

  .dock {
    bottom: 15px;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 860px) {
  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
    min-height: 250px;
  }

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

  .footer-profile,
  .footer-card,
  .footer-pages,
  .footer-credit {
    grid-column: auto;
  }

  .footer-profile {
    grid-row: auto;
  }

  .footer-pages {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 18px;
  }

  .footer-pages strong {
    grid-column: 1 / -1;
  }

  .footer-credit {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}
