
    :root {
      --bg: #141414;
      --bg-soft: #191919;

      --text: #f4f4f1;
      --muted: #91918d;
      --muted-2: #62625f;

      --line: rgba(255, 255, 255, 0.085);
      --line-hover: rgba(255, 255, 255, 0.16);

      --accent: #d9ff68;

      --max-width: 1560px;
      --page-padding: clamp(24px, 4.5vw, 88px);

      --radius: 15px;

      --ease: cubic-bezier(.22, 1, .36, 1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;

      color: var(--text);
      background: var(--bg);

      font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Text",
        "SF Pro Display",
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;

      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      color: inherit;
      font: inherit;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .container {
      width: min(
        calc(100% - var(--page-padding) * 2),
        var(--max-width)
      );

      margin: 0 auto;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .header {
      position: sticky;
      top: 0;
      z-index: 100;

      height: 64px;

      background: rgba(20, 20, 20, 0.88);

      border-bottom: 1px solid var(--line);

      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .nav {
      height: 100%;

      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;

      font-size: 15px;
      font-weight: 650;

      letter-spacing: -0.025em;
    }

    .brand-dot {
      width: 5px;
      height: 5px;

      border-radius: 50%;

      background: var(--accent);
    }

    .nav-right {
      display: flex;
      align-items: center;

      gap: 28px;
    }

    .nav-links {
      display: flex;
      align-items: center;

      gap: 26px;
    }

    .nav-links a {
      color: #858581;

      font-size: 12px;

      transition: color .2s ease;
    }

    .nav-links a:hover {
      color: var(--text);
    }


    /* language */

    .language-switch {
      display: flex;

      padding: 3px;

      background: rgba(255, 255, 255, .025);

      border: 1px solid var(--line);
      border-radius: 999px;
    }

    .language-switch button {
      appearance: none;

      padding: 7px 11px;

      border: 0;
      border-radius: 999px;

      color: #777;
      background: transparent;

      cursor: pointer;

      font-size: 10px;
      font-weight: 650;

      transition:
        color .2s ease,
        background .2s ease;
    }

    .language-switch button:hover {
      color: #bbb;
    }

    .language-switch button.active {
      color: #fff;
      background: #2b2b2b;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .intro {
      padding:
        clamp(42px, 4vw, 62px)
        0
        clamp(34px, 3.2vw, 48px);
    }

    .intro-grid {
      display: grid;

      grid-template-columns:
        minmax(0, 1.65fr)
        minmax(300px, .55fr);

      align-items: end;

      gap: clamp(50px, 7vw, 118px);
    }

    .intro-label {
      margin: 0 0 15px;

      color: var(--muted);

      font-size: 10px;
      font-weight: 650;

      letter-spacing: .11em;
      text-transform: uppercase;
    }

    .intro h1 {
      margin: 0;

      max-width: 100%;

      font-size: clamp(48px, 4.8vw, 78px);
      line-height: .96;

      font-weight: 510;

      letter-spacing: -.06em;
    }

    html[lang="zh-CN"] .intro h1 {
      white-space: nowrap;
      letter-spacing: -.065em;
    }

    .intro-side {
      max-width: 405px;

      justify-self: end;

      padding-bottom: 3px;
    }

    .intro-description {
      margin: 0;

      color: var(--muted);

      font-size: clamp(13px, .92vw, 15px);
      line-height: 1.7;
    }

    .scroll-link {
      display: inline-flex;
      align-items: center;

      gap: 10px;

      margin-top: 24px;

      color: #c9c9c5;

      font-size: 10px;
      font-weight: 650;

      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .scroll-arrow {
      transition: transform .25s ease;
    }

    .scroll-link:hover .scroll-arrow {
      transform: translateY(4px);
    }


    /* =====================================================
       PROJECT TOOLBAR
    ===================================================== */

    .projects-toolbar {
      min-height: 56px;

      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 20px;

      border-top: 1px solid var(--line);
    }

    .filters {
      display: flex;
      align-items: center;

      gap: 3px;

      padding: 3px;

      border: 1px solid var(--line);
      border-radius: 999px;

      background: #191919;
    }

    .filter-btn {
      appearance: none;

      padding: 7px 14px;

      border: 0;
      border-radius: 999px;

      color: #989894;
      background: transparent;

      font-size: 10px;
      font-weight: 600;

      cursor: pointer;

      transition:
        color .2s ease,
        background .2s ease;
    }

    .filter-btn:hover {
      color: #fff;
    }

    .filter-btn.active {
      color: #fff;
      background: #292929;

      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .035);
    }

    .project-count {
      color: var(--muted-2);

      font-size: 10px;
    }


    /* =====================================================
       PROJECT GRID
    ===================================================== */

    .projects {
      display: grid;

      grid-template-columns:
        repeat(2, minmax(0, 1fr));

      gap: clamp(14px, 1.25vw, 20px);

      padding: 2px 0
        clamp(82px, 8vw, 130px);
    }

    .project {
      min-width: 0;
    }

    .project.hidden {
      display: none;
    }

    .project-cover {
      position: relative;

      overflow: hidden;

      aspect-ratio: 16 / 9;

      border: 1px solid var(--line);
      border-radius: var(--radius);

      background: #1d1d1d;

      transition:
        border-color .3s ease,
        transform .4s var(--ease);
    }

    .project:hover .project-cover {
      border-color: var(--line-hover);
    }

    .project-cover img {
      width: 100%;
      height: 100%;

      object-fit: cover;

      transition:
        transform .75s var(--ease),
        filter .4s ease;
    }

    .project:hover .project-cover img {
      transform: scale(1.012);
    }

    .project-cover::after {
      content: "";

      position: absolute;
      inset: 0;

      pointer-events: none;

      background:
        linear-gradient(
          to bottom,
          transparent 78%,
          rgba(0, 0, 0, .08)
        );
    }


    /* project info */

    .project-info {
      padding: 13px 3px 22px;

      display: flex;
      align-items: flex-start;
      justify-content: space-between;

      gap: 25px;
    }

    .project-index {
      margin-bottom: 5px;

      color: #555552;

      font-size: 8px;
      font-weight: 650;

      letter-spacing: .08em;
    }

    .project-name {
      margin: 0;

      font-size: 16px;
      font-weight: 620;

      letter-spacing: -.025em;
    }

    .project-description {
      max-width: 430px;

      margin: 5px 0 0;

      color: var(--muted);

      font-size: 10.5px;
      line-height: 1.5;
    }

    .project-meta {
      display: flex;

      gap: 5px;

      flex-shrink: 0;

      padding-top: 17px;
    }

    .project-meta span {
      padding: 6px 9px;

      border: 1px solid var(--line);
      border-radius: 999px;

      color: #888884;

      font-size: 8.5px;
      line-height: 1;
    }


    /* =====================================================
       ABOUT
    ===================================================== */

    .about {
      border-top: 1px solid var(--line);
    }

    .about-inner {
      display: grid;

      grid-template-columns:
        minmax(150px, .42fr)
        minmax(0, 1.58fr);

      gap: clamp(45px, 8vw, 145px);

      padding:
        clamp(78px, 8vw, 130px)
        0;
    }

    .about-label {
      color: var(--muted);

      font-size: 10px;
      font-weight: 650;

      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .about-content {
      max-width: 900px;
    }

    .about-lead {
      max-width: 860px;

      margin: 0;

      font-size: clamp(30px, 3.6vw, 56px);
      line-height: 1.08;

      font-weight: 480;

      letter-spacing: -.05em;
    }

    .about-detail {
      max-width: 680px;

      margin: 34px 0 0;

      color: var(--muted);

      font-size: clamp(13px, 1vw, 15px);
      line-height: 1.8;
    }

    .about-links {
      display: flex;
      flex-wrap: wrap;

      gap: 9px;

      margin-top: 34px;
    }

    .about-link {
      display: inline-flex;
      align-items: center;

      gap: 11px;

      padding: 10px 14px;

      color: #cececa;

      border: 1px solid var(--line);
      border-radius: 999px;

      font-size: 10px;

      transition:
        background .2s ease,
        border-color .2s ease;
    }

    .about-link:hover {
      background: rgba(255, 255, 255, .035);
      border-color: var(--line-hover);
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer {
      border-top: 1px solid var(--line);
    }

    .footer-inner {
      min-height: 94px;

      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 30px;

      color: #646460;

      font-size: 10px;
    }

    .footer-links {
      display: flex;
      align-items: center;

      gap: 26px;
    }

    .footer-links {
      flex-wrap: wrap;
    }

    .footer-icp {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.6;
      white-space: nowrap;
    }

    .footer a {
      transition: color .2s ease;
    }

    .footer a:hover {
      color: #ddd;
    }


    /* =====================================================
       TABLET
    ===================================================== */

    @media (max-width: 1100px) {

      .intro-grid {
        grid-template-columns:
          minmax(0, 1.3fr)
          minmax(270px, .7fr);

        gap: 45px;
      }

      .intro h1 {
        font-size: clamp(46px, 5vw, 66px);
      }

      .projects {
        gap: 12px;
      }
    }


    @media (max-width: 900px) {

      .intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .intro-side {
        justify-self: start;
        max-width: 500px;
      }

      .projects {
        grid-template-columns: 1fr;
      }

      .project-cover {
        aspect-ratio: 16 / 9;
      }

      .about-inner {
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }


    /* =====================================================
       MOBILE
    ===================================================== */

    @media (max-width: 720px) {

      :root {
        --page-padding: 16px;
      }

      .header {
        height: 62px;
      }

      .nav-links {
        display: none;
      }

      .nav-right {
        gap: 0;
      }

      .intro {
        padding:
          44px
          0
          34px;
      }

      html[lang="zh-CN"] .intro h1 {
        white-space: normal;
      }

      .intro h1 {
        max-width: 340px;

        font-size: clamp(42px, 12.5vw, 54px);
        line-height: .96;
      }

      .intro-grid {
        gap: 27px;
      }

      .intro-side {
        max-width: 92%;
      }

      .intro-description {
        font-size: 13px;
      }

      .scroll-link {
        margin-top: 20px;
      }

      .projects-toolbar {
        min-height: 58px;
      }

      .project-count {
        display: none;
      }

      .filter-btn {
        padding: 7px 12px;
      }

      .projects {
        grid-template-columns: 1fr;

        gap: 12px;

        padding-bottom: 80px;
      }

      .project-cover {
        aspect-ratio: 1.35;
        border-radius: 13px;
      }

      .project-info {
        padding:
          13px
          2px
          24px;
      }

      .project-name {
        font-size: 16px;
      }

      .project-description {
        max-width: 250px;

        font-size: 10px;
      }

      .project-meta {
        padding-top: 17px;
      }

      .about-inner {
        padding:
          78px
          0
          94px;
      }

      .about-lead {
        font-size: clamp(33px, 9vw, 44px);
      }

      .about-detail {
        margin-top: 27px;

        font-size: 13px;
      }

      .footer-inner {
        min-height: auto;

        padding: 25px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 16px;
      }
    }


    @media (max-width: 420px) {

      .intro h1 {
        font-size: 44px;
      }

      .project-meta span:nth-child(2) {
        display: none;
      }

      .footer-links {
        gap: 20px;
      }
    }


    /* =====================================================
       REDUCED MOTION
    ===================================================== */

    @media (prefers-reduced-motion: reduce) {

      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition: none !important;
      }
    }

  /* Extend the recovered portfolio, with a separate reading theme for LookOnce. */
:root{--site-focus:var(--accent);color-scheme:dark;}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--site-focus);outline-offset:5px;}
.skip-link{position:absolute;left:16px;top:-80px;padding:12px 16px;background:var(--accent);color:var(--bg);z-index:200;}.skip-link:focus{top:8px;}
[hidden]{display:none!important;}
.header{height:auto;min-height:72px;}.nav{min-height:72px;gap:24px;flex-wrap:wrap;padding-block:12px;}
.site-nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap;font-size:14px;}.site-nav a{display:inline-flex;align-items:center;min-height:44px;}.locale-link{border:1px solid var(--line);padding:0 14px;border-radius:8px;}
.portfolio .intro{padding-top:72px;padding-bottom:56px;}.portfolio .intro h1{font-size:clamp(42px,5vw,76px);}.intro-description{font-size:16px;}
.filters .filter-btn{font-size:14px;min-height:44px;padding-inline:20px;}.project-count{font-size:13px;}
.projects{padding-top:18px;}.project-wide{grid-column:1/-1;}.recovered-cover{display:flex;align-items:center;justify-content:center;gap:clamp(20px,5vw,72px);padding:24px;}
.recovered-cover .real-app-screen{width:auto;height:100%;max-width:65%;object-fit:contain;object-position:top;}.recovered-cover .real-app-icon{width:clamp(72px,10vw,132px);height:auto;aspect-ratio:1;object-fit:contain;border-radius:22%;}
.lookonce-cover{background:#e9eddf;}.allpic-cover{background:#e9f1fc;}.toolume-cover{background:#eef2f5;max-height:260px;}.project-cover::after{display:none;}
.project-name{font-size:22px;}.project-description{font-size:14px;max-width:530px;line-height:1.6;}.project-meta span{font-size:12px;}.project-info{padding-top:18px;padding-bottom:34px;}
.footer-inner{font-size:13px;min-height:96px;}.footer-links{gap:24px;}.footer-links a{display:inline-flex;align-items:center;min-height:44px;}
.lookonce{--bg:#fff;--text:#252b20;--muted:#626b59;--muted-2:#737a6d;--line:#e5e8df;--accent:#53603b;--site-focus:#53603b;color-scheme:light;background:var(--bg);color:var(--text);font-size:16px;line-height:1.75;}
.lookonce .header{background:#fff;border-bottom:1px solid var(--line);backdrop-filter:none;}.lookonce .container{max-width:1120px;width:calc(100% - 48px);}.lookonce .brand{font-size:18px;font-weight:600;}
.lookonce .footer a,.lookonce .site-nav a{color:var(--muted);}.lookonce a:hover{color:var(--accent);}
.product-hero{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:80px;padding-block:72px 88px;}.product-copy{max-width:540px;}.product-icon{width:88px;height:88px;border-radius:22%;margin-bottom:24px;}.product-copy h1{font-size:clamp(42px,5vw,64px);line-height:1.1;letter-spacing:-.035em;margin:0 0 24px;}.product-copy p{font-size:19px;color:var(--muted);line-height:1.7;}
.product-screen{max-height:580px;width:auto;max-width:100%;justify-self:center;border:1px solid var(--line);border-radius:24px;box-shadow:0 20px 40px rgba(45,55,31,.08),0 4px 12px rgba(45,55,31,.04);}
.product-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:28px;}.site-primary,.site-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border-radius:9px;font-size:15px;font-weight:500;}.site-primary{background:var(--accent);color:#fff;}.lookonce .site-primary:hover{background:#43512e;color:#fff;}.site-secondary{border:1px solid var(--line);color:var(--accent);}
.product-details{padding-bottom:88px;}.product-details h2{font-size:30px;letter-spacing:-.02em;margin:0 0 28px;}.product-details dl{margin:0;}.product-details dl>div{display:grid;grid-template-columns:210px 1fr;gap:32px;padding:24px 0;border-top:1px solid var(--line);}.product-details dt{font-weight:600;}.product-details dd{margin:0;color:var(--muted);}
.reading{max-width:760px;padding:56px 24px 80px;margin:auto;}.reading h1{font-size:clamp(32px,5vw,44px);line-height:1.25;letter-spacing:-.025em;margin:0 0 16px;}.document-meta{font-size:14px;color:var(--muted);}.document-lead{font-size:18px;color:var(--muted);}.reading a{color:var(--accent);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere;}.reading section{margin-top:36px;scroll-margin-top:108px;}.reading h2{font-size:22px;line-height:1.4;margin:0 0 12px;}.reading p{margin:12px 0 20px;}.document-toc{display:flex;flex-wrap:wrap;gap:6px 20px;padding:20px 0;border-block:1px solid var(--line);margin:28px 0;}.document-toc a{font-size:14px;line-height:2.2;}
.support-email{display:inline-flex;align-items:center;min-height:48px;font-size:20px;margin:12px 0 24px;}.faq-list details{border-top:1px solid var(--line);}.faq-list details:last-child{border-bottom:1px solid var(--line);}.faq-list summary{padding:22px 0;min-height:44px;font-size:17px;font-weight:500;cursor:pointer;}.faq-list details p{color:var(--muted);padding-bottom:16px;}
@media(max-width:720px){.site-nav{gap:8px 16px;font-size:13px;}.nav{gap:8px;}.brand{margin-right:auto;}.portfolio .intro{padding-top:40px;padding-bottom:36px;}.project-cover{aspect-ratio:1.2;}.project-wide .project-cover{aspect-ratio:1.7;}.project-meta{padding-top:6px;}.project-info{gap:16px;}.project-description{font-size:14px;}.project-name{font-size:20px;}.footer-inner{align-items:flex-start;flex-direction:column;gap:8px;padding-block:24px;}.footer-links{gap:12px 20px;}.product-hero{grid-template-columns:1fr;gap:36px;padding-block:40px 56px;}.product-copy p{font-size:17px;}.product-screen{max-height:480px;}.product-details dl>div{grid-template-columns:1fr;gap:8px;}.reading{padding-top:36px;}.reading section{scroll-margin-top:132px;}.lookonce .container{width:calc(100% - 40px);}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{transition:none!important;}}
