:root{--ink:#191b20;--blue:#3e4ae7;--line:#d6d7dc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0 auto;padding:0 clamp(20px,6vw,96px);max-width:1560px;color:var(--ink);background:#fafafa;font:1rem/1.65 Inter,"Microsoft YaHei",sans-serif}header,footer{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line)}a{color:inherit;text-underline-offset:5px}header a,.card{text-decoration:none}.brand{font-size:1.65rem;font-weight:800;letter-spacing:-.06em}span{color:var(--blue)}nav{display:flex;gap:26px}a:hover,a:focus-visible{color:var(--blue)}.intro,article{padding:clamp(32px,5vw,80px) 0}.intro p:first-child,article>p:first-child,.card p{color:#505565;font-weight:600}.intro p{margin:0}.intro h1,article h1{font-size:clamp(2.75rem,7vw,7rem);line-height:1.1;letter-spacing:-.06em;margin:12px 0 24px}h2{font-size:1.5rem}.grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px}.art{overflow:hidden;height:clamp(205px,25vw,370px);display:grid;place-content:center;position:relative;isolation:isolate}.campus{background:repeating-linear-gradient(0deg,transparent 0 31px,#ffffff22 31px 32px),#515de5}.screen{background:white;color:#212439;transform:rotate(-5deg);padding:18px 22px;width:220px;border:6px solid #232537;border-radius:20px;box-shadow:12px 15px 0 #303bad}.screen strong{display:block;font-size:1.5rem}.slots{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:10px}.slots i{font-style:normal;background:#f0f1fa;padding:4px;text-align:center}.slots i:first-child{background:#414cce;color:white}.type{background:#c1ec79;color:#17231a}.type b{font:italic  clamp(8rem,16vw,17rem)/.9 Georgia,serif;letter-spacing:-.15em;transform:rotate(-7deg);padding-right:.15em}.type em{text-align:center;letter-spacing:.45em;font-style:normal}.card p{font-size:.9rem;margin:14px 0 2px}.card h3{margin:0;font-size:1.55rem}#about{margin-top:60px;padding:30px 0 52px;border-top:1px solid var(--line)}footer{border-top:1px solid var(--line);border-bottom:0;color:#505565}.story{max-width:670px;margin:auto}.story h2{margin:38px 0 6px}.story p{margin-top:0}.story a{display:inline-block;margin-top:24px}@media(max-width:650px){.grid{grid-template-columns:1fr;gap:30px}nav{gap:16px}.art{height:230px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Portfolio motion follows the visitor's system preference. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes title-entrance {
    from { opacity: 0; transform: translateY(.24em); clip-path: inset(0 0 65% 0); }
    to { opacity: 1; transform: none; clip-path: inset(0); }
  }

  @keyframes caption-entrance {
    from { opacity: .4; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }

  .intro h1, article h1 {
    animation: title-entrance 620ms cubic-bezier(.2,.75,.25,1) both;
  }

  .intro h1 + p, article h1 + p {
    animation: caption-entrance 460ms 90ms ease-out backwards;
  }

  header nav a {
    position: relative;
  }

  header nav a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease-out;
  }

  header nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }

  .eve-feature .eve-phones img {
    transition: translate 350ms cubic-bezier(.2,.75,.25,1);
  }

  .eve-feature .eve-phones img:nth-child(2) { transition-delay: 35ms; }
  .eve-feature .eve-phones img:nth-child(3) { transition-delay: 70ms; }

  .aurora-feature .aurora-cover {
    isolation: isolate;
    position: relative;
  }

  .aurora-feature .aurora-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(90deg, #367bff30 1px, transparent 1px),
                      linear-gradient(#367bff30 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(105deg, transparent 10%, black 85%);
    opacity: 0;
    transition: opacity 300ms ease-out;
  }

  .eve-feature:focus-visible .eve-phones img { translate: 0 -6px; }
  .eve-feature:focus-visible .eve-phones img:nth-child(2) { translate: 0 -12px; }
  .aurora-feature:focus-visible .aurora-cover::before { opacity: 1; }

  @media (hover: hover) and (pointer: fine) {
    .eve-feature:hover .eve-phones img { translate: 0 -6px; }
    .eve-feature:hover .eve-phones img:nth-child(2) { translate: 0 -12px; }
    .aurora-feature:hover .aurora-cover::before { opacity: 1; }
  }

  @supports (animation-timeline: view()) and (animation-range: entry 0% entry 70%) {
    @keyframes figure-entrance {
      from { opacity: .72; translate: 0 12px; }
      to { opacity: 1; translate: 0 0; }
    }

    .eve-layout figure, .aurora-case figure {
      animation: figure-entrance linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
