:root {
  --bg: #fafcfd;
  --surface: #fff;
  --soft: #f0f5f6;
  --ink: #203047;
  --muted: #63748a;
  --accent: #087f86;
  --accent-soft: #e3f4f2;
  --line: #e1e9ee;
  --code: #182b3b;
  --shadow: 0 15px 50px #2030470a;
}
:root[data-theme="dark"] {
  --bg: #101b29;
  --surface: #172535;
  --soft: #132230;
  --ink: #e7edf6;
  --muted: #a1b1c4;
  --accent: #68d5ca;
  --accent-soft: #183a3c;
  --line: #293e51;
  --code: #0b1621;
  --shadow: 0 15px 50px #0002;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.container {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-symbol {
  font-family: monospace;
  font-size: 19px;
  margin-right: 5px;
  color: var(--accent);
}
.brand-dot {
  color: var(--accent);
}
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 13px;
  font-weight: 600;
}
nav a:hover,
.text-link:hover {
  color: var(--accent);
}
.terminal-link {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: monospace;
}
.nav-tools {
  display: flex;
  gap: 12px;
}
.theme-button,
.menu-button {
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 23px;
  padding: 2px 5px;
  line-height: 1.5;
}
.menu-button {
  display: none;
}
.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 65px 0 80px;
}
.eyebrow,
.section-kicker,
.project-type {
  font: 600 10px/1.6 ui-monospace, monospace;
  letter-spacing: 0.17em;
  color: var(--accent);
}
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hello {
  margin: 26px 0 10px;
  font-size: 20px;
}
.hello strong {
  font-weight: 700;
}
.wave {
  margin-left: 12px;
  color: var(--accent);
}
h1 {
  font-size: clamp(2.5rem, 4.7vw, 3.9rem);
  line-height: 1.3;
  letter-spacing: -0.055em;
  margin: 0;
  font-weight: 800;
}
.highlight {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.highlight:after {
  content: "";
  position: absolute;
  height: 10px;
  background: #9edbd06b;
  bottom: 4px;
  left: 0;
  right: 0;
  z-index: -1;
}
.hero-description {
  font-size: 15px;
  color: var(--muted);
  margin: 24px 0 0;
  line-height: 1.95;
}
.hero-actions,
.contact-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 11px 19px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 5px 12px #087f8618;
}
.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px #087f8630;
}
:root[data-theme="dark"] .primary {
  color: #10292c;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
}
.text-link span {
  margin-left: 11px;
}
.hero-caption {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 42px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.07em;
}
.caption-line {
  width: 28px;
  height: 1px;
  background: var(--line);
}
.hero-art {
  position: relative;
  align-self: center;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
}
.art-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 5px;
  font: 10px/1.6 monospace;
  box-shadow: var(--shadow);
  color: var(--muted);
}
.art-note span {
  margin-right: 7px;
}
.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 28px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  gap: 9px;
}
.scroll-cue span {
  color: var(--accent);
}
.section {
  padding: 90px 0;
}
.about-section,
.notes-section {
  background: var(--soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: center;
}
.section-kicker {
  margin: 0 0 14px;
}
h2 {
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  font-weight: 750;
}
.about-copy > p:not(.section-kicker) {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}
.about-window {
  border-radius: 9px;
  background: var(--code);
  color: #dce9ee;
  box-shadow: 0 20px 40px #1d31421a;
  overflow: hidden;
  transform: rotate(-2deg);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 17px;
  border-bottom: 1px solid #ffffff10;
}
.window-bar > span {
  width: 7px;
  height: 7px;
  background: #f19385;
  border-radius: 50%;
}
.window-bar > span:nth-child(2) {
  background: #e8c274;
}
.window-bar > span:nth-child(3) {
  background: #7ac5a2;
}
.window-bar small {
  margin-left: auto;
  color: #8195a5;
  font: 10px monospace;
}
pre {
  font: 12px/2 ui-monospace, SFMono-Regular, Consolas, monospace;
  padding: 21px 25px;
  margin: 0;
  overflow: auto;
}
.code-muted {
  color: #7d91a6;
}
.code-purple {
  color: #c2a5e4;
}
.code-green {
  color: #b0d9ac;
}
.code-cursor {
  color: #8ce6ce;
}
.visual-caption {
  font: 9px monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 23px;
  text-align: center;
}
.visual-caption span {
  font-size: 15px;
  color: var(--accent);
  margin-right: 7px;
}
.interest-list {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.interest-list span {
  font-size: 10px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--surface);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
  gap: 25px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 4px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.project-cover {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.terminal-cover {
  background: #dbe9e9;
}
.mini-terminal {
  width: 80%;
  height: 142px;
  border-radius: 6px;
  background: #203047;
  color: #d6e3ed;
  padding: 12px 17px;
  transform: rotate(-5deg);
  box-shadow: 8px 10px 0 #becfd5;
}
.mini-dots {
  font: 9px/1 monospace;
  color: #87c6b0;
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.mini-terminal p {
  font: 9px monospace;
  margin: 8px 0;
}
.mini-terminal p span {
  color: #a2ddce;
}
.mini-terminal strong {
  display: block;
  font: 600 18px/1.5 monospace;
}
.mini-terminal .terminal-muted {
  color: #9aaabc;
}
.cover-number {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #20304766;
  font: 10px monospace;
}
.project-body {
  padding: 22px;
}
.project-type {
  font-size: 8px;
  margin: 0 0 9px;
}
h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}
h3 a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
h3 a span {
  color: var(--accent);
  font-size: 15px;
}
.project-body > p:not(.project-type) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  min-height: 68px;
  margin: 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.tags > span {
  background: var(--soft);
  font: 9px/1.8 monospace;
  padding: 2px 7px;
  border-radius: 3px;
  color: var(--muted);
}
.notes-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 23px 0;
  display: flex;
  align-items: center;
  gap: 25px;
}
summary::-webkit-details-marker {
  display: none;
}
.note-number {
  font: 11px monospace;
  color: var(--accent);
}
.note-title {
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}
.note-title small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.expand-icon {
  color: var(--accent);
  font-size: 22px;
  transition: transform 0.2s;
}
details[open] .expand-icon {
  transform: rotate(45deg);
}
details > p {
  font-size: 13px;
  color: var(--muted);
  max-width: 740px;
  padding: 0 30px 24px 42px;
  margin: 0;
  line-height: 2;
}
.contact-section {
  text-align: center;
  padding: 100px 0 75px;
}
.contact-section h2 {
  font-size: 38px;
  margin-bottom: 15px;
}
.contact-section h2 > span {
  color: var(--accent);
}
.contact-section > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 13px;
}
.contact-actions {
  justify-content: center;
}
.contact-section .contact-placeholder {
  margin: 27px 0 0;
  font-size: 10px;
  color: var(--muted);
}
footer {
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer .brand {
  font-size: 18px;
}
footer > span,
footer > a:last-child {
  font-size: 10px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero {
    min-height: 720px;
  }
}
@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }
  .nav-wrap {
    gap: 15px;
  }
  nav {
    gap: 18px;
  }
  .hero {
    min-height: 560px;
  }
  .hero-art {
    margin-left: -15px;
  }
  .about-grid {
    gap: 45px;
  }
  h1 {
    font-size: 42px;
  }
  .project-grid {
    gap: 15px;
  }
  .project-body {
    padding: 17px;
  }
  .project-cover {
    height: 175px;
  }
  .flow {
    gap: 4px;
  }
  .flow-node {
    width: 50px;
  }
  .flow i {
    width: 8px;
  }
}
@media (max-width: 650px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav-wrap {
    height: 66px;
  }
  .nav-tools {
    margin-left: auto;
  }
  .menu-button {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    padding: 20px 26px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  nav[data-open] {
    display: flex;
  }
  .terminal-link {
    align-self: start;
  }
  .hero {
    padding: 45px 0 65px;
    grid-template-columns: 1fr;
    gap: 15px;
    min-height: unset;
  }
  .hero-copy {
    padding-top: 5px;
  }
  .hero .hello {
    font-size: 18px;
    margin-top: 22px;
  }
  h1 {
    font-size: 43px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-caption {
    margin-top: 27px;
  }
  .hero-art {
    max-width: 410px;
    margin: 0 auto;
  }
  .art-note {
    bottom: 20px;
    right: 0;
  }
  .scroll-cue {
    bottom: 22px;
  }
  .section {
    padding: 57px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .about-visual {
    max-width: 440px;
    width: 100%;
    margin: auto;
  }
  .about-copy {
    order: -1;
  }
  h2 {
    font-size: 29px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }
  .section-heading > p br {
    display: none;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-cover {
    height: 225px;
  }
  .mini-terminal {
    max-width: 270px;
    height: 150px;
  }
  .memo-paper {
    width: 220px;
  }
  .flow-node {
    width: 70px;
    height: 80px;
  }
  .flow {
    gap: 12px;
  }
  .flow i {
    width: 20px;
  }
  .project-body {
    padding: 22px;
  }
  .project-body > p:not(.project-type) {
    min-height: unset;
    font-size: 13px;
  }
  .project-type {
    font-size: 9px;
  }
  .project-body h3 {
    font-size: 21px;
  }
  .contact-section h2 {
    font-size: 30px;
  }
  .note-title {
    font-size: 14px;
  }
  summary {
    gap: 14px;
  }
  .note-number {
    font-size: 10px;
  }
  details > p {
    padding-left: 28px;
  }
  footer {
    flex-wrap: wrap;
    padding: 22px 0;
  }
  footer > span {
    order: 3;
    width: 100%;
  }
  footer .brand {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

.fde-cover {
  background: #e5efea;
  color: #225b50;
}
.fde-art {
  width: 80%;
}
.fde-art strong {
  font-size: 82px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
}
.fde-art > span {
  display: block;
  font: 9px/2 monospace;
  letter-spacing: 0.23em;
  margin-top: 8px;
}
.fde-art p {
  margin: 12px 0 0;
  font-size: 13px;
}
.international-cover {
  background: #dfe6f0;
  color: #3e5b7d;
}
.world-art {
  position: relative;
  width: 80%;
}
.world-art strong {
  position: relative;
  font-size: 39px;
  line-height: 1;
  letter-spacing: -0.055em;
}
.world-art small {
  display: block;
  position: relative;
  font: 7px/1.5 monospace;
  letter-spacing: 0.1em;
  margin-top: 18px;
}
.world-orbit {
  position: absolute;
  right: -12px;
  top: -18px;
  width: 130px;
  height: 130px;
  border: 1px solid #a5b8d1;
  border-radius: 50%;
}
.world-orbit:before,
.world-orbit:after {
  content: "";
  position: absolute;
  inset: 0 30px;
  border: 1px solid #a5b8d1;
  border-radius: 50%;
}
.world-orbit:after {
  inset: 35px 0;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.ai-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.ai-media {
  height: 245px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}
.ai-art-icon {
  font-size: 65px;
  line-height: 1;
}
.ai-art-label {
  font: 10px/1.5 monospace;
  letter-spacing: 0.26em;
}
.ai-meeting {
  color: #476d64;
  background: #e0eee7;
}
.ai-compute {
  color: #516b88;
  background: #e1e8f2;
}
.ai-design {
  color: #8a6b50;
  background: #efe6da;
}
.ai-sales {
  color: #6d6388;
  background: #e9e3f0;
}
.ai-media img,
.ai-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ai-media video {
  background: #101b29;
}
.ai-body {
  padding: 23px;
}
.ai-body p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 18px;
}
@media (max-width: 650px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
  .ai-media {
    height: 220px;
  }
}
