@font-face {
  font-family: PortalFallback;
  src: local("Arial");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101210;
  --surface: #181b18;
  --text: #f1f3ec;
  --muted: #999f96;
  --line: #30352e;
  --lime: #c1f56b;
  --cyan: #91c9e8;
  --coral: #f4ac90;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: PortalFallback, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
label + select {
  margin-top: 7px;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
::selection {
  background: var(--lime);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
h2 {
  font-size: 36px;
  line-height: 1.4;
}
button[hidden],
a[hidden],
[hidden] {
  display: none !important;
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin: auto;
}
.section {
  padding: 100px 0;
  scroll-margin-top: 0;
}
.eyebrow {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.accent {
  color: var(--lime);
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--lime);
}
button.text-link {
  padding: 0;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border-radius: 4px;
  min-height: 52px;
  padding: 12px 23px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.25s var(--ease);
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--lime);
  color: #17200f;
}
.primary:hover {
  background: #d0fa91;
}
.secondary {
  border: 1px solid #525b49;
  background: transparent;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.icon-button:hover {
  color: var(--lime);
  border-color: #8caa61;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--lime);
  color: #111;
  padding: 10px 20px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 88px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 18, 16, 0.94);
  border-bottom: 1px solid #252922;
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 24px;
  font-weight: 700;
}
.brand-mark {
  color: var(--lime);
  font-size: 36px;
  margin-left: 2px;
  transform: translateY(6px);
}
.brand-caption {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--muted);
  margin-left: 16px;
  border-left: 1px solid #4b5244;
  padding-left: 16px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
}
.nav-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #444b41;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s,
    transform 0.25s var(--ease);
}
.nav-contact:hover {
  color: var(--lime);
  border-color: #789653;
  background: var(--surface);
  transform: translateY(-1px);
}
.nav-contact svg {
  width: 16px;
  height: 16px;
  color: var(--lime);
}
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
#idea-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  min-height: 520px;
  height: min(740px, calc(100svh - 250px));
  padding: 60px 0 84px;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.hero-copy .eyebrow {
  color: #bec6b4;
  margin-bottom: 25px;
}
.hero h1 {
  font-size: 76px;
  line-height: 1.15;
  font-weight: 650;
  position: relative;
}
.title-star {
  color: var(--lime);
  display: inline-block;
  font-size: 96px;
  font-weight: 400;
  line-height: 0.4;
  vertical-align: middle;
  margin-left: 25px;
  transform: translateY(10px);
}
.hero-statement {
  font-size: 22px;
  line-height: 1.6;
  margin-top: 26px;
}
.hero-statement br {
  display: none;
}
.hero-description {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.8;
}
.hero-description br {
  display: none;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}
.hero-actions .text-link {
  color: #bfc6b5;
}
.scene-caption {
  position: absolute;
  right: 0;
  bottom: 115px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: #a2b68c;
}
.scene-cross {
  font-size: 24px;
  color: var(--lime);
}
.caption-line {
  width: 55px;
  height: 1px;
  background: #6b8253;
}
.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  gap: 20px;
}
.hero-bottom > a {
  margin-left: auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bottom .icon-button {
  width: 34px;
  height: 34px;
}
.hero-bottom svg {
  width: 16px;
  height: 16px;
}
.projects.section {
  padding-top: 64px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}
.section-index {
  margin-bottom: 19px;
  color: #b0b9a5;
}
.section-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  flex-shrink: 0;
  padding-bottom: 5px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.project {
  min-width: 0;
}
.project-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.18;
  overflow: hidden;
  border-radius: 6px;
  text-align: left;
  padding: 0;
  isolation: isolate;
  transition: transform 0.4s var(--ease);
}
.project-visual:hover {
  transform: translateY(-4px);
}
.project-visual:hover .visual-arrow {
  background: #101210;
  color: var(--project-accent);
  transform: rotate(45deg);
}
.visual-label {
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 11px;
  z-index: 3;
  font-weight: 600;
}
.visual-arrow {
  position: absolute;
  right: 19px;
  bottom: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #23321f55;
  color: #223221;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  z-index: 5;
  transition:
    transform 0.35s var(--ease),
    background 0.2s;
}
.qingning-visual {
  background: #d9e7c8;
  color: #293c24;
}
.qingning-ip {
  position: absolute;
  width: 56%;
  right: -9%;
  bottom: -5%;
  border-radius: 8px;
  transform: rotate(-12deg);
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}
.project-visual:hover .qingning-ip {
  transform: rotate(-7deg) translateY(-5px);
}
.schedule-preview {
  position: absolute;
  left: 7%;
  top: 24%;
  width: 78%;
  padding: 20px 18px;
  background: #fbfcf4;
  border: 1px solid #ffffffd9;
  border-radius: 6px;
  box-shadow: 0 16px 35px #355b2722;
  transform: rotate(-5deg);
  transition: transform 0.6s var(--ease);
}
.project-visual:hover .schedule-preview {
  transform: rotate(-2deg) translateY(-4px);
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 650;
}
.preview-header svg {
  color: #72924b;
}
.preview-date {
  font-size: 10px;
  color: #92988a;
  margin: 4px 0 14px;
}
.schedule-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  border-top: 1px solid #e5eadf;
  padding-top: 12px;
  margin-top: 12px;
}
.schedule-item > span:first-child {
  font-size: 10px;
  color: #749057;
}
.schedule-item strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.schedule-item small {
  display: block;
  color: #989e8d;
  font-size: 9px;
  margin-top: 3px;
}
.mini-status {
  font-size: 8px;
  margin-left: auto;
  background: #e1efcf;
  color: #668240;
  padding: 1px 5px;
  border-radius: 3px;
}
.baihua-visual {
  background: #bacdec;
  color: #243c66;
}
.baihua-ip {
  position: absolute;
  width: 82%;
  left: 9%;
  bottom: -14%;
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--ease);
}
.project-visual:hover .baihua-ip {
  transform: translateY(-7px) rotate(-3deg);
}
.tool-tile {
  position: absolute;
  z-index: 2;
  background: #f7f8f3;
  box-shadow: 0 8px 20px #25467715;
  border: 1px solid #ffffff;
  color: #445c6c;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.tool-tile svg {
  width: 18px;
  height: 18px;
}
.tool-photo {
  left: 7%;
  top: 32%;
  transform: rotate(-10deg);
}
.tool-date {
  right: 7%;
  top: 20%;
  transform: rotate(8deg);
  color: #876581;
}
.tool-book {
  right: 5%;
  bottom: 23%;
  transform: rotate(-5deg);
  color: #498165;
}
.relay-visual {
  background: #edb69c;
  color: #593e32;
}
.relay-brand {
  position: absolute;
  left: 8%;
  top: 24%;
  display: flex;
  align-items: center;
  gap: 11px;
}
.relay-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.relay-brand > span {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
}
.relay-brand > span > span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 4px;
}
.relay-terminal {
  position: absolute;
  left: 7%;
  top: 50%;
  width: 88%;
  padding: 12px 15px 18px;
  background: #232725;
  color: #cdd7cb;
  border-radius: 6px;
  box-shadow: 0 16px 30px #815a3f22;
  transform: rotate(3deg);
  transition: transform 0.5s var(--ease);
}
.project-visual:hover .relay-terminal {
  transform: rotate(0) translateY(-4px);
}
.terminal-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #3d443c;
  padding-bottom: 9px;
}
.terminal-dots b {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fcac92;
}
.terminal-dots b:nth-child(2) {
  background: #e6d587;
}
.terminal-dots b:nth-child(3) {
  background: #a9d189;
}
.terminal-dots > span {
  margin-left: auto;
  font-size: 8px;
  color: #929d8d;
}
.terminal-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 13px;
}
.terminal-line svg {
  width: 14px;
  color: #718467;
}
.terminal-line strong {
  color: var(--lime);
  font-weight: 500;
}
.terminal-output {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 9px;
  color: #919c8c;
}
.terminal-output .status-dot {
  width: 4px;
  height: 4px;
}
.terminal-cursor {
  width: 4px;
  height: 10px;
  background: var(--lime);
  margin-left: 2px;
}
.relay-domain {
  position: absolute;
  left: 24px;
  bottom: 19px;
  font-size: 11px;
  color: #795341;
}
.project-meta {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.project-number {
  color: #63735b;
}
.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin-top: 10px;
  font-size: 21px;
  font-weight: 600;
  background: none;
  text-align: left;
  line-height: 1.5;
  gap: 8px;
}
.project-title svg {
  width: 19px;
  height: 19px;
  color: #a7afa0;
}
.project-title:hover {
  color: var(--project-accent);
}
.project-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-top: 12px;
}
.project-description br {
  display: none;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}
.project-tags span {
  font-size: 10px;
  color: #b4bca9;
  border: 1px solid #343b2e;
  border-radius: 3px;
  padding: 2px 8px;
}
.live-link {
  color: #bbccac;
  display: flex;
  align-items: center;
  gap: 5px;
}
.live-link svg {
  width: 11px;
  height: 11px;
}
.live-link .status-dot {
  width: 4px;
  height: 4px;
}
.possibilities {
  background: #171a16;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.idea-workspace {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
}
.idea-tabs {
  align-self: start;
  display: flex;
  flex-direction: column;
}
.idea-tabs button {
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
  background: transparent;
  border-bottom: 1px solid #343a2e;
  min-height: 84px;
  padding: 18px 0;
  font-size: 17px;
  transition: color 0.2s;
}
.idea-tabs button span {
  font-size: 11px;
  color: #777f6c;
}
.idea-tabs button svg {
  margin-left: auto;
  width: 19px;
  height: 19px;
  color: #6f7864;
  transition: transform 0.2s;
}
.idea-tabs button[aria-selected="true"] {
  color: var(--lime);
}
.idea-tabs button[aria-selected="true"] svg {
  color: var(--lime);
  transform: rotate(45deg);
}
.idea-panel {
  padding: 28px 0 15px;
  min-height: 352px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.idea-panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #a8b798;
  margin-bottom: 20px;
}
.idea-panel-top svg {
  color: var(--lime);
  width: 18px;
  height: 18px;
}
.idea-panel h3 {
  font-size: 30px;
  line-height: 1.5;
}
.idea-panel > p {
  max-width: 470px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.95;
  margin-top: 17px;
  min-height: 76px;
}
.idea-result {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.idea-result > span {
  font-size: 10px;
  color: #7f8974;
}
.idea-result strong {
  font-size: 12px;
  color: #c2cdb6;
  font-weight: 400;
}
.idea-panel > .text-link {
  margin-top: 26px;
  font-size: 12px;
  color: var(--lime);
}
.process-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #343b2e;
}
.process-line > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #b8c2ac;
}
.process-line > svg {
  width: 16px;
  height: 16px;
  color: #525e47;
}
.process-line > span:last-child {
  color: var(--lime);
}
.process-line > span svg {
  width: 16px;
  height: 16px;
}
.contact {
  border-top: 1px solid var(--line);
  background: #1b2117;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 120px;
  margin-top: 32px;
}
.contact h2 {
  font-size: 52px;
  line-height: 1.45;
}
.contact h2 span {
  color: var(--lime);
}
.contact-description {
  font-size: 12px;
  color: var(--muted);
  margin-top: 21px;
}
.contact .primary {
  margin-top: 28px;
}
.contact-details {
  padding-top: 20px;
}
.contact-small {
  font-size: 11px;
  color: #a6b596;
}
.contact-details > p {
  font-size: 22px;
  line-height: 1.65;
  margin-top: 20px;
  color: #d0dac6;
}
#contact-channels {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #3c4631;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-pending {
  font-size: 12px;
  color: #919e82;
}
.contact-channel {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  background: none;
  text-align: left;
  padding: 0;
  overflow-wrap: anywhere;
}
.contact-channel svg {
  width: 17px;
  color: var(--lime);
}
.contact-footer-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #809171;
  margin-top: 28px;
}
.contact-footer-note svg {
  width: 16px;
}
.site-footer {
  padding: 30px 0;
  color: #89947e;
}
.site-footer > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer .wordmark {
  font-size: 20px;
  color: var(--text);
}
.site-footer .brand-mark {
  font-size: 30px;
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 10px;
}
.record-link {
  color: inherit;
  transition: color 0.2s;
}
.record-link:hover {
  color: var(--text);
}
.site-footer .text-link {
  font-size: 11px;
}
.site-footer svg {
  width: 14px;
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.project-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.project-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
dialog {
  padding: 0;
  color: var(--text);
  background: #1a1e18;
  border: 1px solid #49543b;
  border-radius: 8px;
  width: min(760px, calc(100% - 36px));
  max-height: calc(100svh - 48px);
  overflow: auto;
  box-shadow: 0 30px 90px #0008;
}
dialog::backdrop {
  background: #050805b8;
  backdrop-filter: blur(9px);
}
dialog[open] {
  animation: dialog-in 0.25s var(--ease);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  background: #101210cc;
  border-color: #ffffff45;
}
.dialog-visual {
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  background: #d9e7c8;
  color: #253c25;
}
.dialog-visual > img {
  height: 160px;
  width: 160px;
  object-fit: cover;
  border-radius: 6px;
}
.dialog-visual > span {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}
.dialog-content {
  padding: 34px 38px;
}
.dialog-content h2 {
  font-size: 30px;
  margin-top: 12px;
}
.dialog-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.9;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.detail-list > div {
  border-top: 1px solid #45503a;
  padding-top: 15px;
}
.detail-list strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.detail-list p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.entry-note {
  color: #a0ad92;
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.experience-entry {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.experience-entry img {
  display: block;
  width: 210px;
  height: 210px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
.experience-entry strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}
.experience-entry p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.detail-screenshot {
  margin-top: 25px;
}
.detail-screenshot summary {
  cursor: pointer;
  color: #bac9ab;
  font-size: 13px;
}
.detail-screenshot img {
  width: min(300px, 100%);
  margin: 20px auto;
  border-radius: 4px;
}
.detail-screenshot p {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.brief-dialog {
  width: min(620px, calc(100% - 36px));
}
.brief-dialog .dialog-content {
  padding-top: 42px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #bbc8af;
  margin-top: 20px;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #48533c;
  border-radius: 4px;
  background: #12170f;
  color: var(--text);
  padding: 11px 13px;
  font-size: 14px;
  outline-offset: 2px;
}
textarea {
  resize: vertical;
  line-height: 1.75;
}
input::placeholder,
textarea::placeholder {
  color: #67745c;
}
.form-note {
  font-size: 11px;
  color: #929f83;
  margin: 18px 0;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submission-status {
  min-height: 24px;
  margin-top: 18px;
  color: #bbc8af;
  font-size: 12px;
  line-height: 1.7;
}
.submission-status[data-state="success"] {
  color: var(--lime);
}
.submission-status[data-state="error"] {
  color: #f0b8a1;
}
.form-submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.form-submit-row .button {
  gap: 12px;
}
.form-submit-row .text-link {
  font-size: 12px;
}
#email-brief {
  color: var(--lime);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 100;
  color: #17200f;
  background: var(--lime);
  padding: 12px 22px;
  border-radius: 4px;
  max-width: calc(100% - 40px);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.dialog-open {
  overflow: hidden;
}
.noscript-note {
  padding: 20px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .hero-inner {
    min-height: 520px;
  }
  .hero h1 {
    font-size: 86px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 72px);
  }
  .brand-caption {
    display: none;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-inner {
    min-height: 520px;
  }
  .section {
    padding: 78px 0;
  }
  h2 {
    font-size: 30px;
  }
  .section-note {
    font-size: 12px;
  }
  .project-grid {
    gap: 20px;
  }
  .project-title {
    font-size: 18px;
  }
  .visual-label {
    left: 18px;
    top: 16px;
  }
  .schedule-preview {
    padding: 15px 12px;
  }
  .preview-header {
    font-size: 15px;
  }
  .schedule-item {
    gap: 6px;
  }
  .schedule-item strong {
    font-size: 9px;
  }
  .tool-tile {
    padding: 9px;
    font-size: 9px;
    gap: 5px;
  }
  .relay-brand > span {
    font-size: 17px;
  }
  .relay-brand img {
    width: 34px;
    height: 34px;
  }
  .terminal-line {
    margin-top: 12px;
  }
  .terminal-output {
    font-size: 8px;
    margin-top: 10px;
  }
  .relay-terminal {
    padding: 10px 12px 12px;
  }
  .idea-workspace {
    gap: 40px;
  }
  .idea-tabs button {
    font-size: 15px;
  }
  .idea-panel h3 {
    font-size: 27px;
  }
  .contact-layout {
    gap: 70px;
  }
  .contact h2 {
    font-size: 44px;
  }
  .scene-caption {
    right: 0;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 70px;
  }
  .header-inner {
    gap: 12px;
  }
  .wordmark {
    font-size: 20px;
  }
  .brand-mark {
    font-size: 30px;
  }
  .nav-contact {
    width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
  }
  .nav-contact span,
  .header-divider {
    display: none;
  }
  .nav-contact svg {
    width: 17px;
    height: 17px;
  }
  .header-actions {
    gap: 8px;
  }
  .hero-inner {
    height: min(600px, calc(100svh - 210px));
    min-height: 460px;
    align-items: flex-start;
    padding: 38px 0 80px;
  }
  .hero h1 {
    font-size: 54px;
    line-height: 1.2;
  }
  .title-star {
    font-size: 75px;
    margin-left: 16px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .hero-statement {
    font-size: 20px;
    margin-top: 25px;
  }
  .hero-statement br {
    display: block;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 15px;
    max-width: 255px;
  }
  .hero-description br {
    display: block;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 26px;
  }
  .hero-actions .button {
    font-size: 12px;
    min-height: 48px;
    padding: 10px 16px;
    gap: 14px;
  }
  .hero-actions .text-link {
    font-size: 11px;
    gap: 7px;
  }
  .hero-actions svg {
    width: 17px;
  }
  .scene-caption {
    display: none;
  }
  .hero-bottom {
    bottom: 18px;
  }
  .hero-bottom > span {
    font-size: 10px;
  }
  .section {
    padding: 62px 0;
  }
  .projects.section {
    padding-top: 40px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  h2 {
    font-size: 28px;
  }
  .section-index {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .section-note {
    margin-top: 18px;
    font-size: 12px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .project-visual {
    aspect-ratio: 1.22;
    max-height: 365px;
  }
  .project-meta {
    margin-top: 18px;
    font-size: 11px;
  }
  .project-title {
    font-size: 23px;
  }
  .project-description {
    font-size: 13px;
    margin-top: 9px;
  }
  .project-tags {
    margin-top: 15px;
  }
  .project-tags span {
    font-size: 10px;
  }
  .visual-label {
    left: 24px;
    top: 20px;
  }
  .schedule-preview {
    padding: 22px 20px;
    width: 78%;
  }
  .preview-header {
    font-size: 21px;
  }
  .preview-date {
    font-size: 11px;
  }
  .schedule-item {
    gap: 14px;
  }
  .schedule-item strong {
    font-size: 12px;
  }
  .schedule-item > span:first-child {
    font-size: 11px;
  }
  .schedule-item small {
    font-size: 10px;
  }
  .mini-status {
    font-size: 9px;
  }
  .tool-tile {
    padding: 14px;
    font-size: 12px;
    gap: 9px;
  }
  .tool-tile svg {
    width: 22px;
    height: 22px;
  }
  .relay-brand > span {
    font-size: 25px;
  }
  .relay-brand > span > span {
    font-size: 12px;
  }
  .relay-brand img {
    width: 48px;
    height: 48px;
  }
  .relay-terminal {
    padding: 14px 17px 20px;
  }
  .terminal-line {
    font-size: 16px;
    margin-top: 18px;
  }
  .terminal-output {
    font-size: 10px;
    margin-top: 14px;
  }
  .terminal-dots > span {
    font-size: 9px;
  }
  .idea-workspace {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .idea-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .idea-tabs button {
    font-size: 12px;
    min-height: 72px;
    gap: 8px;
  }
  .idea-tabs button span {
    font-size: 9px;
  }
  .idea-tabs button svg {
    width: 14px;
    height: 14px;
  }
  .idea-panel {
    min-height: 350px;
    padding-top: 24px;
  }
  .idea-panel h3 {
    font-size: 26px;
  }
  .idea-panel > p {
    font-size: 13px;
    min-height: 85px;
  }
  .process-line {
    margin-top: 30px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .process-line > span {
    font-size: 10px;
    gap: 4px;
  }
  .process-line > svg {
    width: 12px;
  }
  .process-line > span svg {
    width: 13px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 25px;
  }
  .contact h2 {
    font-size: 37px;
  }
  .contact-description {
    font-size: 10px;
  }
  .contact-details {
    padding-top: 24px;
    border-top: 1px solid #3c4631;
  }
  .contact-details > p {
    font-size: 19px;
    margin-top: 13px;
  }
  .contact-details > p br {
    display: none;
  }
  .site-footer {
    padding: 25px 0;
  }
  .site-footer > .container {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-meta {
    order: 3;
    flex-basis: 100%;
    font-size: 9px;
    text-align: center;
  }
  .site-footer .text-link {
    margin-left: auto;
  }
  .dialog-content {
    padding: 26px 23px;
  }
  .dialog-content h2 {
    font-size: 25px;
  }
  .dialog-visual {
    height: 170px;
    gap: 20px;
  }
  .dialog-visual > img {
    width: 115px;
    height: 115px;
  }
  .dialog-visual > span {
    font-size: 20px;
  }
  .detail-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .detail-list > div {
    padding-top: 12px;
  }
  .experience-entry {
    grid-template-columns: 150px 1fr;
    gap: 18px;
  }
  .experience-entry img {
    width: 150px;
    height: 150px;
  }
  .experience-entry strong {
    font-size: 16px;
  }
  .brief-dialog .dialog-content {
    padding-top: 40px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: 48px;
  }
  .title-star {
    font-size: 64px;
    margin-left: 12px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions .button {
    padding: 10px 12px;
    gap: 8px;
  }
  .hero-actions .text-link {
    gap: 4px;
  }
  .schedule-item strong {
    font-size: 10px;
  }
  .schedule-preview {
    padding: 17px 14px;
  }
  .tool-tile {
    font-size: 10px;
    padding: 12px;
  }
  .terminal-output {
    font-size: 9px;
  }
  .idea-tabs {
    gap: 0 12px;
  }
  .idea-tabs button {
    font-size: 11px;
    gap: 6px;
  }
  .contact h2 {
    font-size: 34px;
  }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero-inner {
    padding-top: 24px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 16px;
  }
  .hero-statement {
    font-size: 18px;
    margin-top: 16px;
  }
  .hero-statement br {
    display: none;
  }
  .hero-description {
    margin-top: 10px;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .projects.section {
    padding-top: 14px;
  }
}
@media (min-width: 761px) and (max-height: 700px) {
  .hero-inner {
    height: calc(100svh - 180px);
    min-height: 400px;
    padding-top: 26px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 12px;
  }
  .hero-statement {
    font-size: 18px;
    margin-top: 14px;
  }
  .hero-description {
    margin-top: 8px;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .projects.section {
    padding-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
  .button:hover,
  .project-visual:hover {
    transform: none;
  }
}

/* 外观模式 */
.theme-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, 30px);
  gap: 2px;
  padding: 3px;
  flex-shrink: 0;
  border: 1px solid #343a31;
  border-radius: 7px;
  background: #171a17;
}
.theme-option {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 4px;
  color: #8e978a;
  transition:
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.theme-option:hover {
  color: var(--text);
  background: #252a24;
}
.theme-option[aria-checked="true"] {
  color: #17200f;
  background: var(--lime);
  box-shadow: 0 2px 8px #0003;
}
.theme-option svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
body,
.site-header,
.possibilities,
.contact,
.site-footer,
dialog,
input,
textarea,
select {
  transition:
    color 0.25s,
    background-color 0.25s,
    border-color 0.25s;
}

/* 白天主题以纸白、墨绿和冷灰绿构成，项目卡片保留各自的品牌颜色。 */
html[data-theme="light"] {
  --bg: #fbfcf9;
  --surface: #f3f6f1;
  --text: #172019;
  --muted: #657067;
  --line: #dce3da;
  --lime: #5a871f;
  --cyan: #347c94;
  --coral: #bd674b;
}
html[data-theme="light"] body {
  background: #fbfcf9;
}
html[data-theme="light"] ::selection {
  color: #fff;
  background: #5a871f;
}
html[data-theme="light"] .primary {
  color: #fff;
  background: #5a871f;
  box-shadow: 0 7px 20px #405e1d20;
}
html[data-theme="light"] .primary:hover {
  background: #496f18;
}
html[data-theme="light"] .secondary {
  border-color: #aeb9ab;
}
html[data-theme="light"] .icon-button:hover {
  border-color: #6f9446;
}
html[data-theme="light"] .skip-link {
  color: #fff;
}
html[data-theme="light"] .site-header {
  background: #fbfcf9eb;
  border-bottom-color: #dfe5dc;
  box-shadow: 0 1px 0 #ffffffa6;
}
html[data-theme="light"] .brand-caption {
  border-left-color: #cfd7cc;
}
html[data-theme="light"] .nav-contact {
  border-color: #cbd4c8;
}
html[data-theme="light"] .nav-contact:hover {
  color: #496f18;
  border-color: #769450;
  background: #f1f5ee;
}
html[data-theme="light"] .hero-copy .eyebrow,
html[data-theme="light"] .hero-actions .text-link {
  color: #566457;
}
html[data-theme="light"] .scene-caption {
  color: #718163;
}
html[data-theme="light"] .caption-line {
  background: #9aab8b;
}
html[data-theme="light"] .section-index {
  color: #71806d;
}
html[data-theme="light"] .project-number {
  color: #71806d;
}
html[data-theme="light"] .project-title svg {
  color: #79847a;
}
html[data-theme="light"] .project-title:hover {
  color: #496f18;
}
html[data-theme="light"] .project-tags span {
  color: #566259;
  border-color: #d6ddd3;
  background: #fff;
}
html[data-theme="light"] .live-link {
  color: #4c6c37;
}
html[data-theme="light"] .possibilities {
  background: #f2f5f0;
}
html[data-theme="light"] .idea-tabs button {
  border-bottom-color: #d4ddd1;
}
html[data-theme="light"] .idea-tabs button span,
html[data-theme="light"] .idea-tabs button svg {
  color: #7b867b;
}
html[data-theme="light"] .idea-panel-top {
  color: #64745c;
}
html[data-theme="light"] .idea-result > span {
  color: #748073;
}
html[data-theme="light"] .idea-result strong {
  color: #4c5d4b;
}
html[data-theme="light"] .process-line {
  border-top-color: #d4ddd1;
}
html[data-theme="light"] .process-line > span {
  color: #566357;
}
html[data-theme="light"] .process-line > svg {
  color: #9ba69a;
}
html[data-theme="light"] .contact {
  background: #eaf1e5;
}
html[data-theme="light"] .contact-small {
  color: #62725c;
}
html[data-theme="light"] .contact-details > p {
  color: #2b392d;
}
html[data-theme="light"] #contact-channels,
html[data-theme="light"] .contact-details {
  border-color: #cad6c3;
}
html[data-theme="light"] .contact-pending,
html[data-theme="light"] .contact-footer-note {
  color: #65785e;
}
html[data-theme="light"] .site-footer {
  color: #687369;
  background: #fbfcf9;
}
html[data-theme="light"] dialog {
  color: var(--text);
  background: #fff;
  border-color: #d6ddd3;
  box-shadow: 0 30px 90px #26302324;
}
html[data-theme="light"] dialog::backdrop {
  background: #17201966;
}
html[data-theme="light"] .dialog-close {
  color: #263229;
  background: #ffffffdc;
  border-color: #45504740;
}
html[data-theme="light"] .detail-list > div {
  border-top-color: #d8dfd5;
}
html[data-theme="light"] .entry-note {
  color: #677463;
}
html[data-theme="light"] .detail-screenshot summary,
html[data-theme="light"] label,
html[data-theme="light"] .submission-status {
  color: #50604e;
}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  color: var(--text);
  background: #fbfcf9;
  border-color: #cbd5c8;
  box-shadow: inset 0 1px 2px #1d2e1908;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #8a9589;
}
html[data-theme="light"] .form-note {
  color: #6d796b;
}
html[data-theme="light"] .submission-status[data-state="error"] {
  color: #a34f35;
}
html[data-theme="light"] .toast {
  color: #fff;
}
html[data-theme="light"] .theme-switcher {
  border-color: #d9e0d6;
  background: #f0f3ee;
  box-shadow: inset 0 1px 2px #24331f0a;
}
html[data-theme="light"] .theme-option {
  color: #748074;
}
html[data-theme="light"] .theme-option:hover {
  color: #253127;
  background: #fff;
}
html[data-theme="light"] .theme-option[aria-checked="true"] {
  color: #fff;
  background: #5a871f;
  box-shadow: 0 2px 8px #466a1d2b;
}

@media (max-width: 760px) {
  .theme-switcher {
    grid-template-columns: repeat(3, 28px);
  }
  .theme-option {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 370px) {
  .header-inner {
    gap: 8px;
  }
  .wordmark {
    font-size: 18px;
  }
  .brand-mark {
    font-size: 27px;
  }
  .theme-switcher {
    grid-template-columns: repeat(3, 26px);
    padding: 2px;
  }
  .theme-option {
    width: 26px;
    height: 28px;
  }
}
