:root {
  --bg: #faf9fb;
  --ink: #0c0c0d;
  --muted: #a7a5ad;
  --line: #e9e9ec;
  --blue: #0073ec;
  --blue-rgb: 0, 115, 236;
  --panel: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Raleway", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease-out, opacity 180ms ease-out, transform 220ms ease-out, box-shadow 220ms ease-out, filter 220ms ease-out;
}

button {
  font: inherit;
}

.top-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 251, 0.82);
  backdrop-filter: blur(18px);
}

.nav-link {
  position: relative;
  font-size: 20px;
  font-weight: 500;
  color: rgba(12, 12, 13, 0.6);
  opacity: 0.7;
  line-height: 1;
  letter-spacing: 0;
  transition: color 180ms ease-out, opacity 180ms ease-out, letter-spacing 180ms ease-out;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.nav-link:hover {
  color: rgba(12, 12, 13, 0.88);
  opacity: 1;
  letter-spacing: 0.02em;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: #000;
  opacity: 1;
}

.nav-portrait {
  position: absolute;
  right: 202px;
  top: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(8px) scale(0.72);
  pointer-events: none;
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.hero-collapsed .nav-portrait {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  transition-delay: 520ms;
}

.nav-portrait-ghost {
  position: fixed;
  right: 202px;
  top: 10px;
  width: 44px;
  height: 44px;
  z-index: 31;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 44px rgba(0, 115, 236, 0.14);
  will-change: transform, opacity, filter, border-radius;
}

body.hero-collapsing .nav-portrait-ghost {
  animation: portraitCollect 1280ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section {
  position: relative;
  width: 1920px;
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
}

.hero-section,
.experiences-section,
.moments-section {
  height: 1080px;
}

.hero-section {
  --portrait-parallax-x: 0px;
  --portrait-parallax-y: 0px;
  --hero-dot-x: 0px;
  --hero-dot-y: 0px;
  --hero-glow-x: 0px;
  --hero-glow-y: 0px;
  --hero-ambient-x: 0px;
  --hero-ambient-y: 0px;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 948px;
  top: 122px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), 0.12) 0%, rgba(var(--blue-rgb), 0.055) 34%, rgba(250, 249, 251, 0) 72%);
  opacity: 0.35;
  pointer-events: none;
  transform: translate(var(--hero-glow-x), var(--hero-glow-y));
  animation: heroGlowBreath 7s ease-in-out infinite alternate;
}

.hero-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 120px;
  top: 220px;
  width: 760px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(var(--blue-rgb), 0.035) 48%, rgba(250, 249, 251, 0) 76%);
  opacity: 0.24;
  pointer-events: none;
  transform: translate(var(--hero-ambient-x), var(--hero-ambient-y));
  animation: heroAmbientDrift 9s ease-in-out infinite alternate;
}

.eyebrow {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.eyebrow span {
  width: 12px;
  height: 12px;
  display: block;
  border-radius: 999px;
  background: var(--blue);
}

.hero-eyebrow {
  left: 205px;
  top: 337px;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  filter: blur(10px);
  animation: heroRevealShifted 820ms ease-out 80ms forwards;
}

.hero-eyebrow::after {
  content: "";
  position: absolute;
  inset: -8px -34px;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 62%, transparent 100%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: eyebrowSheen 5.8s ease-in-out 1.2s infinite;
}

.hero-eyebrow span {
  transform: translate(var(--hero-dot-x), var(--hero-dot-y));
  transition: transform 180ms ease-out;
}

.hero-eyebrow,
.hero-copy,
.portrait-wrap {
  transform: translateY(-72px);
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: 200px;
  top: 394px;
  width: 594px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 90px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
  opacity: 0;
  filter: blur(12px);
  animation: heroTitleReveal 900ms ease-out 180ms forwards;
}

.hero-copy .typewriter-heading {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 1;
  filter: none;
  animation: none;
  letter-spacing: -0.03em;
}

.typewriter-line {
  display: inline-block;
  max-width: max-content;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(18px);
  animation: heroTypewriterReveal 1.75s cubic-bezier(0.22, 1, 0.36, 1) 1120ms forwards;
}

.typewriter-cursor {
  display: inline-block;
  width: 5px;
  height: 82px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0;
  animation:
    heroCursorAppear 260ms ease-out 1120ms forwards,
    heroCursorBlink 800ms ease-in-out 1420ms infinite alternate;
}

.hero-copy p {
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 300;
  line-height: 48px;
  opacity: 0;
  animation: heroTextReveal 760ms ease-out 300ms forwards;
}

.hero-copy strong {
  color: #3b3a3e;
  font-weight: 700;
}

.hero-actions {
  margin-top: 57px;
  display: flex;
  align-items: center;
  gap: 62px;
  opacity: 0;
  filter: blur(10px);
  animation: heroReveal 840ms ease-out 380ms forwards;
}

.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-weight: 500;
}

.dark-button.small {
  --cv-magnet-x: 0px;
  --cv-magnet-y: 0px;
  width: 235px;
  height: 67px;
  gap: 12px;
  font-size: 25.197px;
  box-shadow: 0 12px 26px rgba(12, 12, 13, 0.12);
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}

.dark-button.small .button-label,
.dark-button.small img {
  transition: transform 220ms ease-out;
}

.dark-button.small:hover {
  transform: translate(var(--cv-magnet-x), calc(-2px + var(--cv-magnet-y)));
  box-shadow: 0 16px 34px rgba(12, 12, 13, 0.16);
}

.dark-button.small:hover .button-label,
.dark-button.small:hover img {
  transform: translateX(2px);
}

.dark-button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.dark-button .resume-icon {
  flex: 0 0 auto;
}

.dark-button .down-symbol,
.dark-button.large span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.dark-button.large span {
  width: 26.877px;
  height: 26.877px;
  font-size: 20px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--blue);
  font-family: "Nunito", sans-serif;
  font-size: 25.2px;
  font-weight: 500;
  opacity: 0.92;
  transition: opacity 220ms ease-out, color 220ms ease-out;
}

.text-button:hover {
  opacity: 1;
}

.text-button:hover .enter-icon {
  transform: translateX(3px);
}

.text-button .enter-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: transform 220ms ease-out;
}

.portrait-wrap {
  position: absolute;
  left: 1041px;
  top: 185px;
  width: 641px;
  height: 895px;
  z-index: 1;
  opacity: 0;
  filter: blur(10px);
  transform: translate(var(--portrait-parallax-x), calc(-72px + var(--portrait-parallax-y)));
  transition:
    opacity 860ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1120ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 820ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: heroRevealPortrait 900ms ease-out 500ms forwards;
  will-change: transform;
}

body.hero-collapsed .portrait-wrap {
  opacity: 0;
  filter: blur(8px);
  transform: translate(calc(360px + var(--portrait-parallax-x)), calc(-560px + var(--portrait-parallax-y))) scale(0.12);
  pointer-events: none;
  animation: none;
}

.portrait-wrap:hover {
  filter: saturate(1.025) contrast(1.01);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  animation: portraitFloat 6s ease-in-out 1.2s infinite alternate;
  transition: filter 240ms ease-out;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes heroTitleReveal {
  from {
    opacity: 0;
    filter: blur(12px);
    letter-spacing: 0.08em;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    letter-spacing: -0.03em;
    transform: translateY(0);
  }
}

@keyframes heroTypewriterReveal {
  0% {
    width: 0;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(18px);
  }

  18% {
    opacity: 1;
  }

  100% {
    width: 100%;
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes heroCursorAppear {
  to {
    opacity: 1;
  }
}

@keyframes heroCursorBlink {
  from {
    opacity: 0.28;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRevealShifted {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-52px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-72px);
  }
}

@keyframes heroRevealPortrait {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translate(var(--portrait-parallax-x), calc(-52px + var(--portrait-parallax-y)));
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate(var(--portrait-parallax-x), calc(-72px + var(--portrait-parallax-y)));
  }
}

@keyframes portraitCollect {
  0% {
    opacity: 0;
    filter: blur(12px);
    border-radius: 34px;
    transform: translate(-340px, 510px) scale(8.2);
  }

  18% {
    opacity: 0.54;
  }

  72% {
    opacity: 0.34;
    filter: blur(2px);
  }

  100% {
    opacity: 0;
    filter: blur(0);
    border-radius: 50%;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes portraitFloat {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(5px);
  }
}

@keyframes heroGlowBreath {
  from {
    opacity: 0.26;
  }
  to {
    opacity: 0.42;
  }
}

@keyframes heroAmbientDrift {
  from {
    opacity: 0.18;
    transform: translate(calc(var(--hero-ambient-x) - 8px), calc(var(--hero-ambient-y) + 4px));
  }
  to {
    opacity: 0.28;
    transform: translate(calc(var(--hero-ambient-x) + 8px), calc(var(--hero-ambient-y) - 4px));
  }
}

@keyframes eyebrowSheen {
  0%,
  62% {
    transform: translateX(-120%);
    opacity: 0;
  }
  72% {
    opacity: 0.55;
  }
  86%,
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

.exp-eyebrow,
.projects-eyebrow {
  left: 205px;
  top: 229px;
}

.section-title {
  position: absolute;
  margin: 0;
  color: var(--ink);
  font-size: 90px;
  font-weight: 400;
  line-height: 1.18;
}

.exp-title {
  left: 200px;
  top: 286px;
}

.section-intro {
  position: absolute;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 300;
  line-height: 48px;
}

.exp-intro {
  left: 776px;
  top: 297px;
  width: 716px;
}

.experience-grid {
  position: absolute;
  left: 216px;
  top: 518px;
  display: grid;
  grid-template-columns: repeat(3, 416px);
  grid-auto-rows: 421px;
  column-gap: 120px;
  align-items: stretch;
}

.experience-card {
  position: relative;
  width: 416px;
  height: 100%;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.2));
  box-shadow:
    0 22px 46px rgba(17, 24, 39, 0.035),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.experience-card::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 30px;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
  pointer-events: none;
}

.experience-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

body.js-ready .experience-card {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(80px) scale(0.96);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, filter, transform;
}

body.js-ready .experience-grid.is-revealed .experience-card {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

body.js-ready .experience-grid.is-revealed .experience-card:hover {
  transform: translateY(-10px) scale(1);
  transition-duration: 280ms, 280ms, 360ms;
}

body.js-ready .experience-grid.is-revealed .experience-card:nth-child(1) {
  z-index: 1;
  transition-delay: 0ms;
}

body.js-ready .experience-grid.is-revealed .experience-card:nth-child(2) {
  z-index: 2;
  transition-delay: 120ms;
}

body.js-ready .experience-grid.is-revealed .experience-card:nth-child(3) {
  z-index: 3;
  transition-delay: 240ms;
}

body.js-ready .experience-grid.is-revealed.is-settled .experience-card {
  z-index: auto;
  will-change: auto;
}

.experience-card h3 {
  margin: 44px 0 0 37px;
  color: var(--muted);
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
}

.card-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 261px;
}

.stack-layer {
  position: absolute;
  border-radius: 35px;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), opacity 380ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.layer-one {
  left: 42px;
  top: 0;
  width: 328px;
  height: 261px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.experience-card:hover .layer-one {
  opacity: 0.64;
  transform: translateY(-28px);
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.035);
}

.layer-two {
  left: 26px;
  top: 48px;
  width: 369px;
  height: 185px;
  background: #ececec;
}

.experience-card:hover .layer-two {
  opacity: 0.92;
  transform: translateY(-14px);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.04);
}

.stack-front {
  position: absolute;
  left: -2px;
  bottom: -1px;
  width: 416px;
  height: 185px;
  border-radius: 35px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 34px rgba(17, 24, 39, 0.045),
    0 1px 0 rgba(255, 255, 255, 0.96) inset;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stack-front::before {
  content: "";
  position: absolute;
  left: 48px;
  top: -56px;
  width: 324px;
  height: 185px;
  border-radius: 35px;
  background: #f1f1f1;
  box-shadow: inset 0 4px 8.4px rgba(0, 0, 0, 0.01);
  z-index: -1;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), background-color 380ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-card:hover .stack-front::before {
  transform: translateY(-28px);
  background: #f6f6f6;
  box-shadow: inset 0 4px 8.4px rgba(0, 0, 0, 0.012), 0 14px 26px rgba(17, 24, 39, 0.035);
}

.logo-jdh {
  position: absolute;
  left: 48px;
  top: 87px;
  width: 62px;
  height: 27px;
  object-fit: contain;
}

.logo-mark {
  position: absolute;
  left: 62px;
  top: 87px;
  width: 50px;
  height: 26px;
  object-fit: contain;
}

.logo-research {
  position: absolute;
  left: 46px;
  top: 84px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.circle-button {
  position: absolute;
  right: 44px;
  top: 72px;
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #505055;
  font-family: "Nunito", sans-serif;
  font-size: 21px;
  line-height: 1;
  border: 1px solid rgba(233, 233, 236, 0.62);
  box-shadow:
    0 12px 24px rgba(17, 24, 39, 0.085),
    0 1px 0 rgba(255, 255, 255, 0.96) inset;
  cursor: pointer;
}

.projects-section {
  height: 3127px;
  --projects-page-margin: 81px;
  width: 100%;
}

.projects-heading {
  position: absolute;
  left: 200px;
  top: 286px;
  margin: 0;
  color: var(--ink);
  font-size: 90px;
  font-weight: 400;
  line-height: 106px;
}

.projects-intro {
  position: absolute;
  left: 1196px;
  top: 402px;
  width: 562px;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 500;
  line-height: 48px;
}

.filters {
  position: absolute;
  left: 200px;
  top: 624px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.filter {
  height: 74px;
  padding: 0 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.68px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: rgba(12, 12, 13, 0.6);
  font-family: "Nunito", sans-serif;
  font-size: 25.197px;
  font-weight: 500;
  line-height: 37.795px;
  white-space: nowrap;
  cursor: pointer;
}

.filter.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.project-grid {
  position: absolute;
  left: 50%;
  right: auto;
  top: 816px;
  display: grid;
  grid-template-columns: repeat(2, 681.6px);
  column-gap: 93.2px;
  row-gap: 132.96px;
  transform: translateX(-50%);
}

.project-card {
  position: relative;
  width: 100%;
  height: 645.039px;
  padding: 53.752px 53.752px 62.4px;
  display: flex;
  flex-direction: column;
  border: 2.688px solid rgba(255, 255, 255, 0.6);
  border-radius: 47.034px;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  cursor: pointer;
  transform-origin: 45% 50%;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-card:hover {
  z-index: 4;
  transform: translate(18px, -18px);
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 28px rgba(17, 24, 39, 0.055),
    0 6px 10px rgba(17, 24, 39, 0.028);
}

.project-card:active {
  transform: translate(23px, -22px) scale(0.995);
}

.project-card::after {
  content: "";
  position: absolute;
  top: 67px;
  right: 54px;
  width: 14px;
  height: 14px;
  z-index: 2;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
  pointer-events: none;
}

.project-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.project-card:nth-child(3) {
  width: 100%;
  height: 644.8px;
  max-width: none;
  min-width: 0;
  max-height: 644.8px;
  min-height: 644.8px;
}

.project-card:nth-child(3),
.project-card:nth-child(4) {
  margin-top: -40px;
}

.project-card:nth-child(5),
.project-card:nth-child(6) {
  margin-top: -40px;
}

.project-meta {
  color: var(--muted);
  font-family: "Nunito", sans-serif;
  font-size: 18.814px;
  font-weight: 500;
  line-height: 28.221px;
}

.project-type {
  margin-top: 10.72px;
  color: var(--muted);
  font-size: 37.627px;
  font-weight: 500;
  line-height: 56.441px;
  letter-spacing: 0;
}

.project-card h3 {
  margin: 41.6px 0 0;
  color: var(--ink);
  font-size: 48.378px;
  font-weight: 400;
  line-height: 58.054px;
  letter-spacing: 0;
}

.project-card p {
  margin: 20.8px 0 0;
  width: min(575.16px, 100%);
  color: var(--muted);
  font-size: 24.189px;
  font-weight: 300;
  line-height: 43.002px;
}

.tags {
  position: static;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10.4px;
}

.tags span {
  height: 45.6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22.4px;
  border: 1.344px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  color: rgba(12, 12, 13, 0.6);
  font-family: "Nunito", sans-serif;
  font-size: 17.47px;
  font-weight: 500;
  line-height: 26.205px;
  white-space: nowrap;
}

.project-link {
  position: static;
  margin-top: 54.4px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10.72px;
  color: var(--blue);
  font-family: "Nunito", sans-serif;
  font-size: 21.502px;
  font-weight: 500;
  line-height: 32.252px;
}

.project-link img {
  width: 21.502px;
  height: 21.502px;
  object-fit: contain;
}

.moments-panel {
  position: absolute;
  left: 554px;
  top: -1px;
  width: 812px;
  height: 291px;
  padding: 36px 45px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  transition: opacity 420ms ease-out, transform 420ms ease-out, filter 420ms ease-out;
}

.moments-panel p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 400;
  line-height: 68px;
  white-space: nowrap;
}

.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 69px;
  padding: 0 21px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-weight: 500;
  line-height: 54.6px;
  overflow: hidden;
}

.pill.purple {
  background: rgba(167, 139, 250, 0.9);
  cursor: pointer;
}

.pill.orange {
  background: #f9c291;
}

.pill.green {
  background: #a7dfad;
}

.polaroid-wrap {
  position: absolute;
  left: 794px;
  top: 350px;
  width: 266px;
  cursor: pointer;
  transition: opacity 420ms ease-out, transform 420ms ease-out, filter 420ms ease-out;
}

.moments-gallery-stage {
  position: absolute;
  left: 0;
  top: -340px;
  width: 1920px;
  height: 1080px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease-out;
}

.gallery-card {
  position: absolute;
  background-image: url("./images/moments-gallery.png");
  background-size: 1920px 1097.5px;
  background-repeat: no-repeat;
  opacity: 0;
  transform:
    translate(var(--start-x), var(--start-y))
    scale(0.78)
    rotateY(-32deg)
    rotate(var(--start-rotate));
  transform-origin: center bottom;
  filter: blur(10px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1080ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.gallery-card-1 {
  left: 392px;
  top: 742px;
  width: 246px;
  height: 338px;
  background-position: -392px -742px;
  --start-x: 435px;
  --start-y: -190px;
  --start-rotate: -8deg;
  transition-delay: 340ms;
}

.gallery-card-2 {
  left: 626px;
  top: 626px;
  width: 240px;
  height: 340px;
  background-position: -626px -626px;
  --start-x: 202px;
  --start-y: -74px;
  --start-rotate: -5deg;
  transition-delay: 210ms;
}

.gallery-card-3 {
  left: 827px;
  top: 552px;
  width: 268px;
  height: 376px;
  background-position: -827px -552px;
  --start-x: 0px;
  --start-y: 0px;
  --start-rotate: 0deg;
  transition-delay: 80ms;
}

.gallery-card-4 {
  left: 1058px;
  top: 626px;
  width: 242px;
  height: 340px;
  background-position: -1058px -626px;
  --start-x: -231px;
  --start-y: -74px;
  --start-rotate: 5deg;
  transition-delay: 260ms;
}

.gallery-card-5 {
  left: 1255px;
  top: 742px;
  width: 241px;
  height: 338px;
  background-position: -1255px -742px;
  --start-x: -428px;
  --start-y: -190px;
  --start-rotate: 8deg;
  transition-delay: 390ms;
}

.moments-section.gallery-open .moments-panel,
.moments-section.gallery-open .polaroid-wrap {
  opacity: 0;
  transform: translateY(-24px) scale(0.985);
  filter: blur(8px);
  pointer-events: none;
}

.moments-section.gallery-open .moments-gallery-stage {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.moments-section.gallery-open .gallery-card {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotateY(0deg) rotate(0deg);
  filter: blur(0);
}

.polaroid {
  position: relative;
  width: 266px;
  height: 378px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 26.523px;
  background: #9fd4fd;
}

.polaroid::before {
  content: "";
  position: absolute;
  inset: 11px 12px;
  border-radius: 21.996px;
  background: #fff;
  box-shadow: 0 13.747px 20.621px -4.124px rgba(0, 0, 0, 0.1), 0 5.499px 8.248px -5.499px rgba(0, 0, 0, 0.1);
}

.polaroid img {
  position: relative;
  z-index: 1;
  display: block;
  width: 242px;
  height: 295px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px 14px 0 0;
}

.polaroid h3 {
  position: relative;
  z-index: 1;
  margin: 2px 0 0;
  color: var(--ink);
  text-align: center;
  font-size: 19.246px;
  font-weight: 500;
  line-height: 28.87px;
}

.polaroid p {
  position: relative;
  z-index: 1;
  margin: -1px 0 0;
  color: #99a1af;
  text-align: center;
  font-size: 13.747px;
  font-weight: 300;
  line-height: 20.621px;
}

.gradient-dot {
  position: absolute;
  left: 112px;
  top: 367px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.3), rgba(245, 158, 11, 0.3));
  cursor: pointer;
  animation: moment-dot-halo 2.2s ease-in-out infinite;
  will-change: transform, opacity, box-shadow;
}

.gradient-dot::after {
  content: "";
  position: absolute;
  left: 8.44px;
  top: 8.44px;
  width: 28.125px;
  height: 28.125px;
  border-radius: 50%;
  background: linear-gradient(90deg, #a78bfa 0%, #b392df 16.6%, #bf97c3 33.3%, #cc9ba6 50%, #da9d85 66.6%, #e79e5d 83.3%, #f59e0b 100%);
  box-shadow: 0 35.156px 35.156px rgba(0, 0, 0, 0.25);
  animation: moment-dot-pulse 2.2s ease-in-out infinite;
}

.gradient-dot::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 14.06px;
  top: 14.06px;
  width: 16.875px;
  height: 16.875px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

@keyframes moment-dot-halo {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
    box-shadow: 0 0 0 18px rgba(167, 139, 250, 0.14);
  }
}

@keyframes moment-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.12);
    filter: brightness(1.08);
  }
}

.contact-section {
  width: 1920px;
  height: 826px;
  margin: 0 auto;
  padding-top: 62px;
  background: var(--bg);
}

.contact-card {
  width: 1318.5px;
  height: 520.5px;
  margin: 0 auto;
  border: 2.52px solid rgba(255, 255, 255, 0.6);
  border-radius: 44.096px;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
  text-align: center;
  overflow: hidden;
}

.contact-card h2 {
  margin: 100.5px 0 0;
  color: var(--ink);
  font-size: 70.551px;
  font-weight: 400;
  line-height: 84.662px;
  letter-spacing: 0;
}

.contact-card p {
  margin: 25.5px 0 0;
  color: var(--muted);
  font-size: 27.716px;
  font-weight: 300;
  line-height: 41.576px;
}

.dark-button.large {
  width: 269.972px;
  height: 70.551px;
  margin-top: 49.5px;
  gap: 15px;
  font-size: 20.158px;
}

.dark-button.large img {
  width: 20.158px;
  height: 20.158px;
}

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease-out;
}

.wechat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wechat-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(250, 249, 251, 0.72);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.wechat-card {
  position: relative;
  z-index: 1;
  width: 430px;
  height: 430px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 26px 52px rgba(17, 24, 39, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  transform: translateY(18px) scale(0.96);
  filter: blur(8px);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wechat-modal.is-open .wechat-card {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.wechat-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.footer {
  width: 1920px;
  height: 254.488px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1.68px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 23.517px;
  font-weight: 300;
  line-height: 35.276px;
}
