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

:root {
  --portfolio-content-max: 1180px;
  --portfolio-gutter: clamp(20px, 5.4vw, 88px);
  --portfolio-space-section: clamp(64px, 8vw, 112px);
  --portfolio-space-block: clamp(28px, 4vw, 56px);
  --portfolio-space-control: 12px;
  --portfolio-line: rgba(23, 24, 23, .14);
  --portfolio-radius-card: 6px;
  --portfolio-radius-modal: 8px;
  --portfolio-shadow-card: 0 8px 26px rgba(23, 24, 23, .10);
  --portfolio-shadow-modal: 0 24px 70px rgba(23, 24, 23, .24);
  --portfolio-modal-layer: 1000;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #f6f4ef;
  color: #171817;
  font-family: "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.portfolio-block {
  display: block;
  position: relative;
  overflow: visible;
}

html.hero-universe-open,
html.ds-modal-open,
html.ppt-modal-open,
html.vc-modal-open,
html.ai-modal-open {
  overflow: hidden;
}

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

html.portfolio-motion-enabled .motion-surface {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 620ms cubic-bezier(.16, 1, .3, 1),
    transform 620ms cubic-bezier(.16, 1, .3, 1);
}

html.portfolio-motion-enabled .motion-surface.is-motion-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.portfolio-motion-enabled .motion-surface,
  html.portfolio-motion-enabled .motion-surface.is-motion-visible {
    opacity: 1;
    transform: none;
  }
}

.portfolio-block + .portfolio-block {
  border-top: 1px solid rgba(23, 24, 23, 0.12);
}
