/* Motion recovered from the Framer component variants. */
@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.shell {
  animation: page-enter 0.4s cubic-bezier(0.27, 0, 0.51, 1) both;
}
.project-caption > span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.12, 0.23, 0.5, 1) 0.15s;
}
.project:is(:hover, :focus-visible) .project-caption > span {
  transform: rotate(45deg);
}
.about,
.resources {
  transition:
    background var(--card-spring-duration, 0.7s) var(--card-spring, ease),
    box-shadow var(--card-spring-duration, 0.7s) var(--card-spring, ease);
}
.about:is(:hover, :focus-visible),
.resources:is(:hover, :focus-visible) {
  background: #1f1f1f;
  box-shadow: 0 4px 24px #64646f1a;
}
html[data-theme="light"] :is(.about, .resources):is(:hover, :focus-visible) {
  background: #fff;
}
.arrow {
  overflow: hidden;
  transform: none !important;
}
.arrow > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform var(--card-spring-duration, 0.7s)
    var(--card-spring, ease);
}
.arrow > span:nth-child(2) {
  transform: translate(-48px, 48px);
}
:is(.about, .resources):is(:hover, :focus-visible) .arrow > span:first-child {
  transform: translate(48px, -48px);
}
:is(.about, .resources):is(:hover, :focus-visible) .arrow > span:nth-child(2) {
  transform: none;
}
.tool-strip {
  display: block;
  width: 100%;
  height: 72px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 25%,
    #000 75%,
    transparent
  );
}
.tool-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.tool {
  place-items: center;
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  background: var(--inner);
  border-radius: 16px;
}
.tool img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.tool:nth-child(8n + 1) img,
.tool:nth-child(8n + 2) img {
  width: 36px;
  height: 36px;
}
.theme-knob {
  position: relative;
  background: #090909;
  color: #ccc;
}
.theme-knob svg,
.theme-knob:after {
  transition:
    opacity 0.5s cubic-bezier(0.44, 0, 0.56, 1),
    transform 0.5s cubic-bezier(0.44, 0, 0.56, 1);
}
.theme-knob:after {
  content: "☼";
  position: absolute;
  font-size: 28px;
  opacity: 0;
  transform: scale(0.08) rotate(90deg);
}
html[data-theme="light"] .theme-knob svg {
  opacity: 0;
  transform: scale(0.08) rotate(-90deg);
}
html[data-theme="light"] .theme-knob:after {
  opacity: 1;
  transform: none;
}
.social {
  transition:
    background var(--social-spring-duration, 0.7s) var(--social-spring, ease),
    border-color var(--social-spring-duration, 0.7s) var(--social-spring, ease),
    color 0.25s;
}
.social:nth-child(1) {
  --brand: #1da1f2;
}
.social:nth-child(2) {
  --brand: #c4479b;
}
.social:nth-child(3) {
  --brand: #833ab4;
}
.social:nth-child(4) {
  --brand: #0a66c2;
}
.social:nth-child(5) {
  --brand: #1769ff;
}
.social:nth-child(6) {
  --brand: #ea4335;
}
.social:is(:hover, :focus-visible) {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.contact button {
  transition: background var(--social-spring-duration, 0.7s)
    var(--social-spring, ease);
}
.contact button:hover {
  filter: none;
  background: var(--border);
}
.contact button.copied .copy-icon {
  color: #5dd59c;
}
.form-note.notice {
  animation: page-enter 0.4s cubic-bezier(0.27, 0, 0.51, 1);
}
.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff3d;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  will-change: transform;
}
html[data-theme="light"] .custom-cursor {
  background: #0000003d;
}
@media (max-width: 809px) {
  .tool-strip {
    height: 64px;
  }
  .tool {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .tool img {
    width: 38px;
    height: 38px;
  }
  .tool:nth-child(8n + 1) img,
  .tool:nth-child(8n + 2) img {
    width: 32px;
    height: 32px;
  }
  .tool-track {
    gap: 16px;
  }
}
@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
  .project img {
    transform: none;
  }
  .project-caption,
  .project:after {
    opacity: 1;
  }
  .project-caption {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .custom-cursor {
    display: none;
  }
  .tool-track {
    will-change: auto;
  }
  .shell {
    animation: none;
  }
  .project-caption {
    transform: none;
  }
}
.theme-knob:after {
  display: none;
}
.theme-knob .sun-icon {
  opacity: 0;
  transform: scale(0.08) rotate(90deg);
}
html[data-theme="light"] .theme-knob .sun-icon {
  opacity: 1;
  transform: none;
}
