:root {
  --background: #f2f2f2;
  --ink: #171717;
  --muted: #737373;
  --font: "Helvetica Neue", "Helvetica", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gutter: clamp(24px, 3.6vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0 var(--gutter); min-height: 100svh; display: flex; flex-direction: column; background: var(--background); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: #dedede; color: #111; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.header { display: flex; align-items: center; justify-content: space-between; padding: clamp(22px, 4.5dvh, 42px) 0 0; }
.brand { font-size: 27px; line-height: 1.2; font-weight: 650; letter-spacing: -1.3px; }
.main { display: grid; grid-template-columns: 26% minmax(0, 1fr); gap: 3%; padding-top: 110px; padding-bottom: 120px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(30px, 3.25vw, 48px); font-weight: 550; line-height: 1.35; letter-spacing: -.055em; padding-top: 61px; white-space: nowrap; }
.project-cover { display: block; aspect-ratio: 1.68; overflow: hidden; background: #f5f5f5; }
.project-cover picture { display: block; width: 100%; height: 100%; }
.project-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s cubic-bezier(.2,.6,.3,1); }
.project-cover:hover img { transform: scale(1.025); }
.project-details { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; }
.project-details h2 { font-size: 20px; font-weight: 500; letter-spacing: -.5px; }
.project-details h2 a { display: inline-flex; align-items: center; gap: 7px; }
.project-details p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-bottom: 40px; gap: 20px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.back-top { display: inline-flex; align-items: center; gap: 5px; }
.back-top:hover { color: var(--ink); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
@media (min-width: 1700px) {
  .main { grid-template-columns: 28% minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .main { grid-template-columns: 27% minmax(0, 1fr); gap: 4%; padding-top: 100px; }
  h1 { font-size: 29px; padding-top: 40px; }
  .project-details h2 { font-size: 18px; }
  .project-details p { font-size: 13px; }
}
@media (max-width: 680px) {
  .header { padding-top: 26px; }
  .brand { font-size: 25px; }
  .main { grid-template-columns: 1fr; gap: 43px; padding-top: 76px; padding-bottom: 94px; }
  h1 { padding-top: 0; font-size: 35px; letter-spacing: -.06em; }
  .project-cover { aspect-ratio: 1.12; }
  .project-cover img { object-fit: cover; }
  .project-details { padding-top: 17px; gap: 10px; }
  .project-details h2 { font-size: 17px; }
  .project-details h2 a { gap: 5px; }
  .project-details h2 svg { width: 14px; }
  .project-details p { font-size: 12px; }
  .footer { font-size: 12px; padding-bottom: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Independent about page, sharing the home page's typography and spacing. */
.page-nav { display: flex; gap: 30px; align-items: center; font-size: 16px; }
.page-nav a { padding-block: 8px; color: var(--muted); }
.page-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.page-nav a:hover, .about-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.about-page { display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: 8%; padding: 108px 0 112px; }
.about-identity { align-self: start; padding-top: 34px; }
.about-avatar { width: clamp(160px, 17vw, 230px); aspect-ratio: 1; overflow: hidden; }
.about-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.48); transform-origin: 45% 39%; }
.about-identity h1 { font-size: clamp(32px, 3vw, 43px); font-weight: 500; line-height: 1.15; letter-spacing: -.055em; padding-top: 0; margin-top: 30px; white-space: normal; }
.about-roles { margin-top: 16px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.about-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 29px; font-size: 13px; line-height: 1.6; }
.about-content { max-width: 720px; }
.about-biography { font-size: 16px; line-height: 1.9; color: #656565; }
.about-biography p:first-child { color: var(--ink); }
.about-biography p + p { margin-top: 24px; }
.about-experience { margin-top: 38px; }
.about-experience h2 { font-size: 18px; font-weight: 500; letter-spacing: -.3px; }
.about-experience ol { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 18px; }
.about-experience li p { font-size: 14px; line-height: 1.5; }
.about-experience li span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .about-page { grid-template-columns: 31% minmax(0, 1fr); gap: 8%; padding-top: 90px; }
  .about-biography { font-size: 15px; }
}
@media (max-width: 680px) {
  .page-nav { font-size: 14px; gap: 23px; }
  .about-page { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; }
  .about-identity { padding-top: 0; }
  .about-avatar { width: 170px; }
  .about-identity h1 { font-size: 34px; margin-top: 25px; }
  .about-roles { margin-top: 12px; }
  .about-contact { margin-top: 22px; }
  .about-biography { font-size: 15px; line-height: 1.9; }
  .about-experience { margin-top: 34px; }
}

.main > h1 { white-space: normal; letter-spacing: -.055em; }
.project-details a svg { transition: transform .2s ease; }
.project-details a:hover svg { transform: translate(2px, -2px); }
@media (max-width: 380px) { .page-nav { gap: 17px; font-size: 13px; } .brand { font-size: 23px; } }

/* Work: artwork first, with a compact name and category underneath. */
.work-page { padding: 84px 0 110px; }
.work-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.work-heading h1 { padding: 0; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -1px; }
.work-heading > p { color: var(--muted); font-size: 13px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.gallery-item { margin: 0; min-width: 0; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: #f3f3f3; text-align: left; overflow: hidden; cursor: zoom-in; }
.artwork { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; }
.artwork img { position: absolute; display: block; max-width: none; left: var(--x, 0%); top: var(--y, 0%); }
.atlas-quad img { width: 200%; height: 200%; }
.atlas-pair img { width: 200%; height: 100%; }
.gallery-open .artwork { transition: transform .45s cubic-bezier(.2,.6,.3,1); }
.gallery-open:hover .artwork { transform: scale(1.035); }
.gallery-item figcaption { padding-top: 14px; }
.gallery-item h2 { font-size: 16px; font-weight: 450; line-height: 1.4; letter-spacing: -.3px; }
.gallery-item figcaption p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.gallery-dialog { width: min(1000px, calc(100% - 36px), calc((100svh - 170px) * 4 / 3)); max-height: calc(100svh - 30px); padding: 20px; border: 0; color: var(--ink); background: white; }
.gallery-dialog::backdrop { background: rgb(0 0 0 / 65%); }
body:has(.gallery-dialog[open]) { overflow: hidden; }
.viewer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; }
.viewer-heading h2 { font-size: 17px; font-weight: 500; line-height: 1.4; }
.viewer-heading p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.viewer-close { display: grid; place-items: center; padding: 10px; border: 0; background: none; }
.viewer-controls { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; font-size: 13px; color: var(--muted); }
.viewer-controls button { border: 0; background: none; padding: 8px 0; font-size: 13px; }
.viewer-controls button:hover { color: var(--ink); }
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .work-page { padding-top: 62px; padding-bottom: 80px; }
  .work-heading { margin-bottom: 25px; }
  .work-heading h1 { font-size: 28px; }
  .work-heading > p { font-size: 11px; }
  .gallery { grid-template-columns: 1fr; gap: 32px; }
  .gallery-item figcaption { padding-top: 12px; }
  .gallery-dialog { padding: 14px; }
  .viewer-heading h2 { font-size: 15px; }
  .viewer-close { padding: 6px; }
}

/* Content managed through the local admin. */
.home-products { display: grid; gap: 48px; align-content: start; }
.content-art img { width: calc(var(--cols, 1) * 100%); height: calc(var(--rows, 1) * 100%); object-fit: cover; }
.content-blocks { display: grid; gap: 58px; padding-bottom: 100px; max-width: 1000px; margin-inline: auto; }
.work-page .content-blocks { padding: 70px 0 0; }
.content-block h2 { font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -.6px; margin-bottom: 18px; }
.block-copy { font-size: 16px; color: #656565; line-height: 1.9; max-width: 720px; }
.block-copy p + p { margin-top: 20px; }
.content-block .artwork { margin-top: 24px; }
@media (max-width: 680px) { .content-blocks { padding-bottom: 65px; gap: 40px; } .content-block h2 { font-size: 23px; } }
.content-block .content-art { aspect-ratio: auto; }
.content-block .content-art img { position: static; width: 100%; height: auto; }

/* Keep the single-product desktop landing page within the viewport.
   Additional CMS products/modules retain their natural scrolling layout. */
@media (min-width: 681px) and (min-height: 460px) {
  body:has(.home-products > .project:only-child):not(:has(.content-block)) {
    min-height: 100dvh;
  }
  body:has(.home-products > .project:only-child):not(:has(.content-block)) #main {
    flex: 1;
    display: flex;
    align-items: center;
  }
  body:has(.home-products > .project:only-child):not(:has(.content-block)) .main {
    width: 100%;
    align-items: center;
    padding-block: clamp(24px, 5dvh, 60px);
  }
  body:has(.home-products > .project:only-child):not(:has(.content-block)) .main > h1 {
    padding-top: 0;
  }
  body:has(.home-products > .project:only-child):not(:has(.content-block)) .project {
    width: min(100%, calc((100dvh - 260px) * 1.68));
    justify-self: end;
    min-width: 0;
  }
  body:has(.home-products > .project:only-child):not(:has(.content-block)) .project-cover img {
    object-fit: cover;
  }
  body:has(.home-products > .project:only-child):not(:has(.content-block)) .footer {
    padding-bottom: clamp(20px, 4dvh, 40px);
  }
  body:has(.home-products > .project:only-child):not(:has(.content-block)) .back-top {
    display: none;
  }
}

[data-language][hidden] { display: none !important; }
/* The head script selects the language before body parsing. Override the
   generated English-first hidden attributes until DOM initialization finishes. */
html[lang="zh-CN"] [data-language="en"],
html[lang="en"] [data-language="zh"] { display: none !important; }
html[lang="zh-CN"] [data-language="zh"],
html[lang="en"] [data-language="en"] { display: inline !important; }
.language-switch { display: flex; align-items: center; gap: 7px; margin-left: 8px; font-size: 13px; color: var(--muted); }
.language-switch button { border: 0; padding: 8px 2px; background: none; font: inherit; color: var(--muted); }
.language-switch button[aria-pressed="true"] { color: var(--ink); }
html[lang="zh-CN"] .main > h1 { letter-spacing: -.035em; }
@media (max-width: 680px) { .page-nav:has(.language-switch) { gap: 14px; } .language-switch { margin-left: 0; gap: 4px; } }
@media (max-width: 380px) { .page-nav:has(.language-switch) { gap: 10px; font-size: 12px; } .language-switch { font-size: 12px; } }

/* News: a quiet chronological journal, with dates in a separate column. */
.news-page { width: min(100%, 1040px); margin-inline: auto; padding: 88px 0 110px; }
.news-page > h1 { padding: 0; font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 72px; white-space: normal; }
.news-post { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 48px; padding: 42px 0 48px; border-top: 1px solid #e9e9e9; }
.news-post time { color: var(--muted); font-size: 13px; line-height: 1.8; padding-top: 3px; font-variant-numeric: tabular-nums; }
.news-category { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.news-post h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.5; letter-spacing: -.035em; margin-bottom: 22px; }
.news-copy { font-size: 15px; line-height: 1.95; color: #666; }
.news-link, .news-more summary { display: inline-block; font-size: 13px; margin-top: 22px; cursor: pointer; }
.news-link:hover, .news-more summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.news-more .news-copy { margin-top: 18px; }
.news-images { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; margin-top: 26px; }
.news-images .artwork { aspect-ratio: 4 / 3; }
@media (max-width:680px) { .news-page { padding: 58px 0 72px; } .news-page > h1 { margin-bottom: 38px; } .news-post { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 34px; } .news-post h2 { font-size: 22px; } .news-images { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.gallery-link { cursor: pointer; }

/* Keep navigation available throughout the public pages. */
body > .header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  padding-block: 22px;
  background: var(--background);
  flex-shrink: 0;
}
html { scroll-padding-top: 100px; }
.about-contact a { overflow-wrap: anywhere; }
@media (min-width: 901px) {
  body:has(.about-page) { height: 100dvh; overflow: hidden; }
  body:has(.about-page) > #main { flex: 1; min-height: 0; }
  .about-page {
    height: 100%;
    padding: 0;
    grid-template-rows: minmax(0, 1fr);
  }
  .about-identity {
    align-self: stretch;
    min-height: 0;
    overflow-y: auto;
    padding: 52px 12px 90px 0;
    scrollbar-width: thin;
  }
  .about-content {
    max-width: none;
    overflow-y: auto;
    min-height: 0;
    padding: 52px 12px 80px 0;
    scrollbar-width: thin;
  }
  body:has(.about-page) > .footer {
    position: fixed;
    left: var(--gutter);
    bottom: 0;
    width: calc((100vw - 2 * var(--gutter)) * .34);
    padding: 20px 0 28px;
    background: var(--background);
    z-index: 10;
  }
  body:has(.about-page) .footer .back-top { display: none; }
  .about-content .content-blocks { margin-top: 58px; padding-bottom: 0; }
}
@media (max-width: 680px) {
  body > .header { min-height: 76px; padding-block: 18px; }
}

/* Whole elements fade and rise gently. No masks or image-transform overrides. */
html.motion-boot main { visibility: hidden; }
.reveal-pending { opacity: 0; }
.gallery > div { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  html.motion-boot main { visibility: visible; }
  .reveal-pending { opacity: 1; }
}

/* A full-window field of ideas, with a drawing surface behind real controls. */
body:has(.nest-home) { background: var(--background); }
.nest-home { flex: 1; display: flex; flex-direction: column; }
.nest-stage { position: relative; flex: 1; min-height: 620px; isolation: isolate; user-select: none; }
.nest-stage h1 { position: absolute; z-index: 2; left: 1%; top: 43%; transform: translateY(-50%); padding: 0; font-size: clamp(44px, 5.25vw, 80px); line-height: 1.13; letter-spacing: -.065em; font-weight: 400; pointer-events: none; }
html[lang="zh-CN"] .nest-stage h1 { font-size: clamp(32px, 3.7vw, 57px); line-height: 1.4; letter-spacing: -.045em; }
.nest-atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.nest-canvas { display: block; width: 100%; height: 100%; }
.nest-products { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.idea-node { position: absolute; left: var(--node-x); top: var(--node-y); translate: -50% -50%; pointer-events: auto; text-align: center; --idea-color: 96,145,202; }
.idea-trigger { display: flex; flex-direction: column; align-items: center; gap: 18px; border: 0; padding: 22px; background: none; border-radius: 50%; font-size: 14px; letter-spacing: .025em; }
.idea-core { width: 17px; height: 17px; border-radius: 50%; background: rgb(var(--idea-color)); box-shadow: 0 0 0 8px rgba(var(--idea-color),.07),0 0 0 19px rgba(var(--idea-color),.035),0 0 30px rgba(var(--idea-color),.22); transition: scale .45s, box-shadow .45s; }
.idea-name { color: #4f5864; }
.idea-node:hover .idea-core,.idea-node:focus-within .idea-core,.idea-node.is-open .idea-core { scale: 1.22; box-shadow: 0 0 0 12px rgba(var(--idea-color),.10),0 0 0 26px rgba(var(--idea-color),.04),0 0 38px rgba(var(--idea-color),.3); }
.idea-bubble { position: absolute; bottom: calc(100% + 9px); left: 50%; translate: -50% 7px; width: max-content; max-width: min(240px,70vw); padding: 16px 22px; border-radius: 16px; background: #ffffffed; border: 1px solid #e9ebef; box-shadow: 0 8px 32px #2334490a; opacity: 0; visibility: hidden; transition: opacity .22s, translate .22s, visibility .22s; font-size: 12px; color: #7a8089; line-height: 1.7; }
.idea-bubble::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 14px; }
.idea-bubble-title { display: block; color: #333b45; font-size: 14px; letter-spacing: .02em; }
.idea-bubble p { margin-top: 3px; }
.idea-bubble a { text-decoration: underline; text-underline-offset: 3px; }
.idea-node:hover .idea-bubble,.idea-node:focus-within .idea-bubble,.idea-node.is-open .idea-bubble { opacity: 1; visibility: visible; translate: -50% 0; }
.idea-node.is-dismissed .idea-bubble { opacity: 0; visibility: hidden; }
.nest-hint { position: absolute; left: 1%; bottom: 40px; color: #969ba3; font-size: 12px; letter-spacing: .02em; pointer-events: none; }
.motion-toggle { position: absolute; right: 0; bottom: -31px; border: 0; padding: 6px 0 6px 12px; background: none; color: #737373; font-size: 12px; z-index: 4; }
body:has(.nest-home) .footer { padding-bottom: 28px; font-size: 12px; }
body:has(.nest-home) .back-top { visibility: hidden; }
.nest-home:has(.content-blocks) .nest-stage { flex: none; min-height: 740px; margin-bottom: 70px; }
@media (min-width:681px) and (max-height:780px) { .nest-stage { min-height: 500px; } }
@media (max-width:680px) {
  .nest-stage { min-height: 630px; }
  .nest-stage h1 { left: 0; top: 65px; transform: none; font-size: clamp(45px,9vw,61px); }
  html[lang="zh-CN"] .nest-stage h1 { font-size: 35px; }
  .idea-node { left: clamp(20%,var(--node-x),78%); top: calc(var(--node-y) + 13%); }
  .idea-trigger { padding: 20px 14px; font-size: 13px; }
  .nest-hint { left: 0; bottom: 35px; font-size: 11px; }
  .motion-toggle { bottom: -25px; }
  body:has(.nest-home) .footer { padding-bottom: 23px; }
}

/* Homepage: an astronomical sketchbook. All rules stay on this page. */
.ascii-home { --background:#f2f2f2; --ink:#242424; padding:0; overflow-x:clip; }
.ascii-home > .header { height:13.4svh; min-height:90px; padding:0 3.5%; border-bottom:1px solid #24242430; background:transparent; position:relative; }
.ascii-home .brand { position:relative; display:flex; align-items:center; gap:18px; font-family:monospace; font-weight:400; text-transform:uppercase; letter-spacing:1px; font-size:28px; }
.ascii-home .brand::before { content:'✳'; font-family:serif; font-size:43px; line-height:1; }
.ascii-home .page-nav { gap:clamp(24px,4vw,80px); font:400 16px/1.2 var(--font); }
.ascii-home .page-nav a { color:var(--ink); }
.ascii-home .language-switch { font:400 13px/1.2 var(--font); gap:14px; margin-left:30px; }
.ascii-home .language-switch span { display:none; }
.ascii-home .language-switch button { color:#777; }
.ascii-home .language-switch [data-set-language=zh] { order:-1; }
.ascii-home .nest-stage { min-height:580px; height:76svh; flex:none; }
.ascii-home .nest-stage h1 { left:3.5%; top:54%; font:400 clamp(42px,4.65vw,91px)/1.2 monospace; letter-spacing:-.055em; max-width:39%; }
.ascii-home .nest-stage h1 > span { white-space:pre-line; }
.ascii-home .nest-stage h1.dot-ready > [data-language=en] { position:absolute; opacity:0; pointer-events:none; }
.dot-heading { display:block; width:min(34vw,680px); height:auto; overflow:visible; }
html[lang=zh-CN] .dot-heading { display:none; }
.ascii-home .brand.dot-ready { font-size:0; gap:17px; }
.dot-brand { width:clamp(130px,10vw,200px); height:auto; }
.ascii-home .brand.dot-ready::before { font-size:40px; }
.ascii-home .nest-atmosphere { position:absolute; inset:0; z-index:0; }
.orbit-grid { position:absolute; inset:0; pointer-events:none; z-index:0; border-bottom:1px solid #24242430; background:linear-gradient(to bottom,transparent 26%,#24242425 26%,#24242425 calc(26% + 1px),transparent calc(26% + 1px)); }
.orbit-grid i { position:absolute; top:-18%; bottom:-15%; width:1px; background:#24242430; left:26.7%; }
.orbit-grid i:nth-child(2) { left:40.2%; }
.orbit-grid i:nth-child(3) { left:93.8%; }
.orbit-grid::after { content:''; position:absolute; left:0; right:60.5%; top:74%; height:1px; background:#24242430; }
.orbit-gallery { position:absolute; inset:0; pointer-events:none; z-index:2; }
.orbit-art { position:absolute; display:block; pointer-events:none; background:#18191c; }
.orbit-art--0 { width:7.8%; aspect-ratio:2/3; left:74.2%; top:10%; }
.orbit-art--1 { width:10%; aspect-ratio: .86; left:54%; top:62%; }
.orbit-art--2 { width:15.5%; aspect-ratio:1.6; left:78.2%; top:47%; }
.scene-art { display:block; width:100%; height:100%; }
.ascii-home .nest-products { z-index:3; inset:auto; left:4%; bottom:7%; width:30%; display:flex; gap:16px; flex-wrap:wrap; }
.ascii-home .idea-node { position:relative; left:auto; top:auto; translate:none; }
.ascii-home .idea-trigger { flex-direction:row; padding:6px 0; gap:8px; border-radius:0; font:11px monospace; }
.ascii-home .idea-core { width:5px; height:5px; background:#f96618; box-shadow:none; }
.ascii-home .idea-name { color:#686868; }
.ascii-home .idea-bubble { border-radius:0; box-shadow:none; text-align:left; }
.ascii-home .motion-toggle { right:auto; left:41%; bottom:14px; font:10px monospace; color:#767676; padding:6px; }
.ascii-home > .footer { padding:24px 3.5% 28px; min-height:10svh; color:#292929; font-size:13px; position:relative; z-index:2; }
.ascii-home .home-email:hover { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:680px) {
 .ascii-home > .header { min-height:92px; height:auto; padding:22px 6%; flex-wrap:wrap; gap:22px; }
 .ascii-home .brand.dot-ready::before { font-size:29px; }
 .ascii-home .brand { gap:10px; }
 .dot-brand { width:126px; }
 .ascii-home .page-nav { width:100%; justify-content:space-between; gap:12px; font-size:14px; }
 .ascii-home .language-switch { margin-left:0; gap:10px; }
 .ascii-home .nest-stage { height:760px; min-height:760px; }
 .ascii-home .nest-stage h1 { left:6%; top:55px; transform:none; max-width:88%; }
 .dot-heading { width:80vw; }
 html[lang=zh-CN] .ascii-home .nest-stage h1 { font-size:35px; }
 .orbit-grid i:first-child { left:6%; }
 .orbit-grid i:nth-child(2) { left:50%; }
 .orbit-grid::after { display:none; }
 .orbit-art--0 { width:19%; left:66%; top:31%; }
 .orbit-art--1 { width:25%; left:20%; top:65%; }
 .orbit-art--2 { width:34%; left:61%; top:58%; }
 .ascii-home .nest-products { left:6%; bottom:3%; width:65%; }
 .ascii-home .motion-toggle { left:auto; right:6%; bottom:20px; }
 .ascii-home > .footer { padding:25px 6%; font-size:11px; align-items:flex-start; flex-direction:column; gap:10px; }
}
.ascii-home:has(.nest-home) { background:#f2f2f2; }
.ascii-home .nest-stage h1.dot-ready > [data-language=en] { width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ascii-home .nest-stage { overflow:clip; }

/* One shared header geometry and font across every public route. */
@font-face { font-family:'Anonymous Pro'; src:url('/assets/AnonymousPro-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
body { overflow-x:clip; }
body > .header.site-header { width:100vw; height:13.4svh; min-height:90px; margin-left:calc(-1 * var(--gutter)); padding:0 3.5vw; position:sticky; top:0; background:#f2f2f2; border-bottom:1px solid #24242430; flex-shrink:0; }
.ascii-home > .header.site-header { margin-left:0; }
.site-header .brand { position:relative; display:flex; align-items:center; gap:17px; color:#242424; font-size:28px; font-family:monospace; font-weight:400; letter-spacing:1px; text-transform:uppercase; }
.site-header .brand::before { content:'✳'; font-family:serif; font-size:40px; line-height:1; }
.shared-wordmark { display:block; width:clamp(130px,10vw,200px); height:auto; }
.site-header .page-nav,.ascii-home .site-header .page-nav { gap:clamp(24px,4vw,80px); font:400 16px/1.2 'Anonymous Pro',monospace; }
.site-header .page-nav a { color:#242424; }
.site-header .page-nav a[aria-current=page] { color:#242424; text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }
.site-header .language-switch,.ascii-home .site-header .language-switch { font:400 13px/1.2 'Anonymous Pro',monospace; gap:14px; margin-left:30px; }
.site-header .language-switch span { display:none; }
.site-header .language-switch [data-set-language=zh] { order:-1; }
.site-header .language-switch button { color:#777; }
.site-header .language-switch button[aria-pressed=true] { color:#242424; }
@media(max-width:680px) {
 body > .header.site-header { min-height:92px; height:auto; padding:22px 6vw; flex-wrap:wrap; gap:22px; }
 .site-header .brand,.ascii-home .site-header .brand { gap:10px; }
 .site-header .brand::before,.ascii-home .site-header .brand::before { font-size:29px; }
 .shared-wordmark { width:126px; }
 .site-header .page-nav,.ascii-home .site-header .page-nav { width:100%; justify-content:space-between; gap:12px; font-size:14px; }
 .site-header .language-switch,.ascii-home .site-header .language-switch { margin-left:0; gap:10px; }
}

.nest-products[hidden], .motion-toggle[hidden] { display:none !important; }

/* The frame belongs to the viewport; it is independent from the clipped canvas. */
.ascii-home > .orbit-grid { position:fixed; inset:0; z-index:1; border:0; background:none; pointer-events:none; }
.ascii-home > .orbit-grid i { top:0; bottom:0; }
.ascii-home > .orbit-grid i:nth-child(2) { left:var(--frame-left,40.2%); }
.ascii-home > .orbit-grid i:nth-child(3) { left:var(--frame-right,93.8%); }
.ascii-home > .orbit-grid::before,.ascii-home > .orbit-grid::after { content:''; display:block; position:absolute; left:0; right:0; height:1px; background:#24242425; }
.ascii-home > .orbit-grid::before { top:var(--frame-top,32%); }
.ascii-home > .orbit-grid::after { top:var(--frame-bottom,86%); }
.ascii-home > .site-header { background:transparent !important; }
.ascii-home .orbit-art,.ascii-home .nest-stage h1 { will-change:translate; }

/* Registration marks share the moving frame's exact intersection coordinates. */
.frame-cross { position:absolute; width:17px; height:17px; translate:-50% -50%; pointer-events:none; }
.frame-cross::before,.frame-cross::after { content:''; position:absolute; background:#444; }
.frame-cross::before { width:17px; height:1px; left:0; top:8px; }
.frame-cross::after { width:1px; height:17px; left:8px; top:0; }
.frame-cross--top-left { left:var(--frame-left,40.2%); top:var(--frame-top,32%); }
.frame-cross--bottom-right { left:var(--frame-right,93.8%); top:var(--frame-bottom,86%); }

/* Quiet full-page dot paper: pitch matches the galaxy's 13px character grid. */
.ascii-home:has(.nest-home) {
  background-color:#f2f2f2;
  background-image:radial-gradient(circle,rgba(36,36,36,.12) .65px,transparent .85px);
  background-size:13px 13px;
  background-position:0 0;
  background-attachment:fixed;
}
