:root {
  --bg: #f5f3ec;
  --surface: #eeece4;
  --card: #faf9f5;
  --ink: #242921;
  --muted: #686d62;
  --line: #d6d8ce;
  --accent: #b84425;
  --orange: #d75531;
  --shadow: 0 25px 55px #24292118;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #171c18;
  --surface: #202720;
  --card: #242d25;
  --ink: #f1f0e7;
  --muted: #b6beaf;
  --line: #394239;
  --accent: #f89874;
  --shadow: 0 25px 55px #0004;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.055em;
}
h1,
h2 {
  font-weight: 500;
}
button:disabled {
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}
::selection {
  background: var(--orange);
  color: white;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 48px;
  letter-spacing: -0.1em;
  font-weight: 700;
  line-height: 1;
}
.brand-dot {
  color: var(--accent);
}
.brand-name {
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  margin-left: 17px;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
}
.navigation > a {
  transition: color 0.2s;
}
.navigation > a:hover {
  color: var(--accent);
}
.nav-contact {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  padding: 5px 0;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.language-control {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 17px;
}
.language-control select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  max-width: 100px;
  cursor: pointer;
  padding: 8px 2px;
}
.language-control option {
  background: var(--bg);
}
.icon-button {
  border: 1px solid var(--line);
  background: transparent;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 22px;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--surface);
}
.menu-toggle {
  display: none;
}
.hero {
  padding-top: 37px;
}
.hero-top,
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.eyebrow,
.edition,
.hero-bottom,
.visual-caption,
.project-meta,
.experiments-heading > span,
.portrait-caption,
.skill-number,
.skill-note,
.code-kicker {
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  line-height: 1.5;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: #6b8060;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #6b806013;
}
.edition {
  color: var(--muted);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: 26px;
  align-items: center;
  padding: 61px 0 67px;
  min-height: 540px;
}
.hero h1 {
  font-size: clamp(68px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.075em;
}
.hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.065em;
}
.hero-description {
  max-width: 435px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 27px;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 22px;
  border: 0;
  border-radius: 4px;
  line-height: 1.6;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.primary {
  background: var(--ink);
  color: var(--bg);
}
.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 5px 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.hero-art {
  position: relative;
  height: 410px;
  min-width: 0;
}
.art-grid {
  position: absolute;
  inset: 9px 12px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse, #000 40%, transparent 75%);
}
.art-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 50%;
  right: 5%;
  top: 20px;
}
.browser-frame {
  border: 1px solid #24292135;
  background: #f8f6f0;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: var(--shadow);
}
.browser-bar {
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: #eeece6;
  color: #6d7068;
  font:
    9px Consolas,
    monospace;
  border-bottom: 1px solid #24292118;
}
.browser-dots {
  font-size: 7px;
  color: #adaba1;
  letter-spacing: 2px;
}
.hero-browser {
  position: absolute;
  top: 80px;
  left: 3%;
  width: 94%;
  transform: rotate(-5deg);
  box-shadow: 0 30px 45px #24292130;
}
.hero-browser img {
  width: 100%;
}
.floating-label {
  position: absolute;
  top: 21px;
  right: 20px;
  transform: rotate(5deg);
  background: #d4dcbc;
  color: #333c29;
  border-radius: 4px;
  padding: 11px 16px;
  font:
    10px Consolas,
    monospace;
  display: flex;
  gap: 15px;
  box-shadow: 0 6px 15px #24292110;
}
.floating-label > span:first-child {
  font-size: 22px;
  line-height: 0.8;
}
.code-note {
  position: absolute;
  bottom: 9px;
  left: 1%;
  width: 280px;
  transform: rotate(3deg);
  padding: 21px 24px;
  background: #29332a;
  color: #f3f3e7;
  border-radius: 5px;
  box-shadow: 0 20px 30px #24292120;
}
.code-kicker {
  display: block;
  color: #afbba3;
  font-size: 9px;
  margin-bottom: 11px;
}
.code-note code {
  font-size: 11px;
  line-height: 1.9;
}
.code-note code span {
  color: #c9d69b;
}
.code-note code b {
  color: #e6a87f;
  font-weight: 400;
}
.code-line {
  display: block;
  width: 35px;
  height: 2px;
  background: #c9d69b;
  margin-top: 11px;
}
.hero-star {
  position: absolute;
  right: 1%;
  bottom: 4px;
  width: 96px;
  height: 96px;
  color: var(--orange);
  transform: rotate(12deg);
}
.hero-bottom {
  padding: 18px 0 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.hero-bottom > a {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 10px;
}
.hero-bottom > a > span:last-child {
  font-size: 21px;
  color: var(--ink);
}
.stack-band {
  background: #29332a;
  color: #edeedf;
  padding: 22px 0;
}
.stack-band > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.stack-band span:nth-child(even) {
  font-size: 18px;
  color: #c4d198;
}
.section {
  padding-top: 92px;
  padding-bottom: 90px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: clamp(36px, 4vw, 55px);
  margin-top: 17px;
}
.section-heading > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.heading-dot {
  display: inline-block;
  font-size: 34px;
  margin-left: 20px;
  color: var(--accent);
  vertical-align: middle;
}
.project {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}
.project-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
  margin-bottom: 32px;
}
.project-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 330px;
  padding: 44px 35px 26px;
  isolation: isolate;
}
.project-visual > .browser-frame {
  width: 100%;
  transition: transform 0.35s;
}
.project-visual:hover > .browser-frame {
  transform: translateY(-6px) rotate(-1deg);
}
.interior-visual {
  background: #dedfd3;
}
.ashen-visual {
  background: #343a2c;
}
.soberu-visual {
  background: #e1e3d8;
}
.visual-caption {
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 9px;
  color: #434d38;
}
.ashen-visual .visual-caption {
  color: #c4c9b5;
}
.visual-index {
  position: absolute;
  right: 20px;
  bottom: 10px;
  font:
    64px Georgia,
    serif;
  color: #24292114;
  z-index: -1;
}
.ashen-visual .visual-index {
  color: #ebf0d91a;
}
.project-featured > .project-visual {
  height: auto;
  min-height: 380px;
  padding-inline: 38px;
}
.project-content {
  padding: 29px 0 32px;
}
.project-featured > .project-content {
  padding: 42px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 16px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.live-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: #829769;
  border-radius: 50%;
}
.project h3 {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 17px;
}
.project p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 20px 0 23px;
}
.tags li {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 9px;
  font-size: 10px;
  line-height: 1.5;
}
.project-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.subtle {
  color: var(--muted);
  border-color: var(--line);
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.project-grid .project-visual {
  border-radius: 7px;
}
.soberu-preview {
  width: 85%;
  height: 265px;
  background: #12171b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  transition: transform 0.35s;
}
.soberu-visual:hover .soberu-preview {
  transform: rotate(0);
}
.soberu-preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  color: #f1f0e7;
  font-size: 17px;
  font-weight: 700;
}
.soberu-dot {
  color: #b6fb44;
}
.preview-beta {
  font:
    8px Consolas,
    monospace;
  color: #b6fb44;
  border: 1px solid #b6fb4430;
  padding: 2px 5px;
}
.soberu-preview img {
  width: 100%;
  height: auto;
  object-position: top;
}
.experiments-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 58px 0 23px;
}
.experiments-heading h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.experiments-heading > span {
  font-size: 9px;
  color: var(--muted);
}
.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.experiment {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s;
  background: var(--card);
}
.experiment:hover {
  transform: translateY(-5px);
}
.experiment > img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
}
.experiment > div {
  padding: 22px;
}
.experiment .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.experiment h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.experiment h3 > span {
  font-size: 20px;
  color: var(--accent);
}
.experiment p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.about-section {
  background: var(--surface);
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}
.portrait-wrap {
  position: relative;
  padding: 13px 13px 0;
  background: var(--bg);
  border: 1px solid var(--line);
  transform: rotate(-3deg);
}
.portrait-wrap > img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.6);
}
.portrait-caption {
  display: block;
  text-align: center;
  font-size: 9px;
  padding: 18px 5px;
}
.portrait-star {
  position: absolute;
  right: -35px;
  top: -40px;
  font:
    100px Georgia,
    serif;
  color: var(--accent);
}
.about-copy h2 {
  font-size: clamp(35px, 4vw, 51px);
  line-height: 1.13;
  margin: 20px 0 26px;
}
.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-copy > .large-copy {
  font-size: 19px !important;
  color: var(--ink) !important;
}
.about-copy .text-link {
  margin-top: 5px;
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.skill-grid article {
  padding: 26px 25px 20px 0;
  border-right: 1px solid var(--line);
  margin-right: 25px;
}
.skill-grid article:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.skill-number {
  color: var(--accent);
}
.skill-grid h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 17px 0;
}
.skill-grid p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
.skill-note {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 17px;
}
.contact-section {
  padding: 65px 0 50px;
  background: #b84425;
  color: #fff5e8;
}
.contact-section .eyebrow {
  color: #ffe2cf;
}
.contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 27px 0 40px;
}
.contact-heading h2 {
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.02;
  max-width: 900px;
}
.contact-arrow {
  display: grid;
  place-items: center;
  border: 1px solid #fff5e880;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  font-size: 75px;
  flex-shrink: 0;
  line-height: 1;
  transition:
    background 0.2s,
    transform 0.2s;
}
.contact-arrow:hover {
  background: #ffffff15;
  transform: rotate(8deg);
}
.contact-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #fff5e840;
  padding-top: 30px;
}
.contact-bottom > p {
  max-width: 290px;
  font-size: 15px;
  color: #ffe2cf;
}
.email-link {
  font-size: clamp(18px, 2.5vw, 29px);
  letter-spacing: -0.035em;
  border-bottom: 1px solid #fff5e8;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
  margin-top: 17px;
  color: #ffe2cf;
}
.contact-links a:hover,
.copy-email:hover {
  text-decoration: underline;
}
.copy-email {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 11px;
}
.copy-status {
  font-size: 11px;
  min-height: 18px;
  margin-top: 7px;
  color: #ffe2cf;
}
.footer {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-brand {
  font-size: 19px;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.footer-brand > span {
  color: var(--accent);
}
.footer p {
  font-size: 10px;
  color: var(--muted);
}
.back-top {
  font-size: 11px;
  display: flex;
  gap: 15px;
}
.footer-actions {
  display: flex;
  gap: 24px;
}
.privacy-button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 10px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  max-width: 680px;
  width: calc(100% - 40px);
  max-height: calc(100dvh - 50px);
  padding: 32px 38px;
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #141a16aa;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
dialog h2 {
  font-size: 43px;
  margin-bottom: 20px;
}
dialog .large-copy {
  font-size: 18px;
  line-height: 1.6;
}
dialog h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
  margin: 25px 0 10px;
}
dialog p,
dialog li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
dialog ul {
  padding-left: 20px;
}
dialog li {
  margin-bottom: 8px;
}
.case-status {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin: 22px 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.analytics-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, calc(100% - 40px));
  background: var(--card);
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 15;
  display: flex;
  gap: 25px;
  align-items: center;
}
.analytics-banner h2 {
  font-size: 23px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.analytics-banner p {
  font-size: 12px;
  color: var(--muted);
}
.analytics-actions {
  display: flex;
  flex-shrink: 0;
  gap: 9px;
}
.analytics-actions .button {
  font-size: 11px;
  padding: 11px 13px;
}
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3 {
  letter-spacing: 0;
}
html[lang="zh-Hans"] .hero h1 {
  font-size: clamp(62px, 6.8vw, 90px);
  line-height: 1.18;
}
html[lang="vi"] .hero h1,
html[lang="ru"] .hero h1 {
  font-size: clamp(60px, 6.6vw, 90px);
  line-height: 1.08;
}
@media (min-width: 1500px) {
  .hero-grid {
    padding-block: 85px;
  }
  .hero-art {
    height: 450px;
  }
  .hero-browser {
    top: 85px;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 56px);
  }
  .navigation {
    gap: 19px;
  }
  .brand-name {
    display: none;
  }
  .hero h1 {
    font-size: clamp(63px, 8vw, 85px);
  }
  .hero-art {
    height: 370px;
  }
  .hero-browser {
    top: 70px;
  }
  .code-note {
    width: 240px;
    padding: 18px;
  }
  .hero-star {
    width: 70px;
    height: 70px;
  }
  .about-grid {
    gap: 60px;
  }
  .project-featured {
    grid-template-columns: 1.2fr 1fr;
  }
  .project-featured > .project-content {
    padding: 30px;
  }
  .project-visual {
    padding-inline: 25px;
    height: 290px;
  }
  .project-featured > .project-visual {
    padding-inline: 25px;
  }
  .soberu-preview {
    height: 240px;
  }
  .skill-grid {
    grid-template-columns: 1fr 1fr;
  }
  .skill-grid article {
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 25px;
  }
  .skill-grid article:nth-child(even) {
    border-right: 0;
  }
  .skill-grid article:last-child {
    padding: 25px;
  }
  .contact-links {
    max-width: 410px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 86px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 74px;
    gap: 14px;
  }
  .brand {
    font-size: 41px;
  }
  .header-controls {
    gap: 8px;
    margin-left: auto;
  }
  .menu-toggle {
    display: grid;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    box-shadow: 0 15px 30px #0001;
    margin: 0;
  }
  .navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .navigation > a {
    padding: 13px 0;
    font-size: 16px;
  }
  .nav-contact {
    justify-content: space-between;
  }
  .hero {
    padding-top: 27px;
  }
  .hero-top {
    align-items: flex-start;
  }
  .hero-top .eyebrow {
    font-size: 9px;
    max-width: 270px;
  }
  .edition {
    font-size: 8px;
    white-space: nowrap;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 39px 0 30px;
    gap: 20px;
  }
  .hero h1 {
    font-size: clamp(60px, 12vw, 87px);
  }
  .hero-description {
    max-width: 490px;
    margin-top: 24px;
  }
  .hero-art {
    height: 350px;
    max-width: 540px;
    width: 100%;
    margin: 12px auto 0;
  }
  .hero-browser {
    width: 87%;
    left: 8%;
    top: 60px;
  }
  .floating-label {
    top: 5px;
    right: 16px;
  }
  .code-note {
    bottom: 9px;
    left: 2%;
    width: 245px;
  }
  .hero-star {
    right: 4%;
    bottom: 10px;
  }
  .hero-bottom {
    font-size: 9px;
    align-items: flex-start;
  }
  .hero-bottom > span {
    max-width: 180px;
  }
  .hero-bottom > a {
    gap: 12px;
    font-size: 8px;
    white-space: nowrap;
  }
  .stack-band {
    padding: 17px 0;
  }
  .stack-band > .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    font-size: 13px;
  }
  .stack-band span:nth-child(even) {
    font-size: 13px;
  }
  .stack-band span:last-child {
    width: 100%;
    text-align: center;
    font-size: 11px;
  }
  .stack-band span:nth-last-child(2) {
    display: none;
  }
  .section {
    padding-top: 62px;
    padding-bottom: 58px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 41px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 480px;
  }
  .heading-dot {
    font-size: 27px;
    margin-left: 13px;
  }
  .project-featured {
    grid-template-columns: 1fr;
    margin-bottom: 27px;
  }
  .project-featured > .project-visual {
    min-height: 0;
    height: 310px;
    padding: 44px 26px 24px;
  }
  .project-featured > .project-content {
    padding: 28px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .project-visual {
    height: 310px;
    padding: 44px 28px 24px;
  }
  .project-content {
    padding: 24px 0 27px;
  }
  .project h3 {
    font-size: 32px;
  }
  .soberu-preview {
    height: 260px;
    width: 85%;
  }
  .experiments-heading {
    margin-top: 39px;
    display: block;
  }
  .experiments-heading > span {
    display: block;
    margin-top: 9px;
  }
  .experiment-grid {
    grid-template-columns: 1fr;
  }
  .experiment {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: stretch;
  }
  .experiment > img {
    height: 100%;
    min-height: 140px;
    border: 0;
    border-right: 1px solid var(--line);
    object-fit: cover;
    object-position: top left;
  }
  .experiment > div {
    padding: 20px;
  }
  .experiment h3 {
    font-size: 21px;
  }
  .about-section {
    padding: 56px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .portrait-wrap {
    max-width: 310px;
    margin-left: 6px;
  }
  .portrait-wrap > img {
    height: 300px;
  }
  .portrait-star {
    font-size: 82px;
    right: -27px;
    top: -32px;
  }
  .about-copy h2 {
    font-size: 40px;
  }
  .skill-grid article {
    padding: 22px 17px 22px 0;
  }
  .skill-grid article:nth-child(even) {
    padding-left: 20px;
  }
  .skill-grid h3 {
    font-size: 18px;
  }
  .contact-section {
    padding: 45px 0 30px;
  }
  .contact-heading {
    gap: 18px;
    padding-bottom: 28px;
  }
  .contact-heading h2 {
    font-size: 58px;
  }
  .contact-arrow {
    width: 68px;
    height: 68px;
    font-size: 45px;
  }
  .contact-bottom {
    display: block;
    padding-top: 24px;
  }
  .contact-bottom > p {
    max-width: 340px;
    margin-bottom: 22px;
  }
  .email-link {
    font-size: 23px;
  }
  .contact-links {
    gap: 14px;
  }
  .footer {
    flex-wrap: wrap;
    padding-block: 24px;
    gap: 16px;
  }
  .footer p {
    order: 3;
    width: 100%;
  }
  .footer .footer-actions {
    margin-left: auto;
  }
  dialog {
    padding: 24px;
  }
  dialog h2 {
    font-size: 35px;
  }
  .analytics-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .analytics-actions {
    flex-wrap: wrap;
  }
  html[lang="ru"] .hero h1,
  html[lang="vi"] .hero h1 {
    font-size: clamp(50px, 10.5vw, 78px);
  }
  html[lang="zh-Hans"] .hero h1 {
    font-size: clamp(55px, 12vw, 85px);
  }
}
@media (max-width: 380px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-top .eyebrow {
    font-size: 8px;
  }
  .hero-art {
    height: 290px;
  }
  .hero-browser {
    top: 53px;
  }
  .code-note {
    width: 210px;
    padding: 15px;
  }
  .code-note code {
    font-size: 9px;
  }
  .hero-star {
    width: 60px;
    height: 60px;
  }
  .hero-actions {
    gap: 20px;
  }
  .button {
    gap: 18px;
    padding: 13px 17px;
  }
  .project-visual,
  .project-featured > .project-visual {
    height: 260px;
    padding-inline: 20px;
  }
  .soberu-preview {
    height: 210px;
  }
  .contact-heading h2 {
    font-size: 47px;
  }
  .contact-arrow {
    width: 54px;
    height: 54px;
    font-size: 37px;
  }
  .experiment {
    grid-template-columns: 92px 1fr;
  }
  .experiment > div {
    padding: 16px;
  }
  .language-control {
    gap: 3px;
  }
  .icon-button {
    width: 32px;
    height: 32px;
  }
  .language-control select {
    max-width: 85px;
  }
}
@media (max-width: 380px) {
  .portrait-wrap {
    max-width: calc(100% - 30px);
  }
  .portrait-star {
    right: -18px;
    font-size: 72px;
  }
}
/* Restrained typography and a uniform project collection. */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.hero-grid {
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  min-height: 490px;
}
.hero h1,
html[lang="ru"] .hero h1,
html[lang="vi"] .hero h1,
html[lang="zh-Hans"] .hero h1 {
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.hero h1 > span {
  display: block;
}
.hero h1 > span:last-child {
  color: var(--muted);
}
.hero-description {
  max-width: 510px;
}
.hero-art {
  height: auto;
  min-width: 0;
  padding: 0;
}
.hero-browser {
  position: static;
  width: 100%;
  transform: none;
  box-shadow: var(--shadow);
}
.hero-browser img {
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top;
}
.hero-preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.hero-preview-caption a {
  border-bottom: 1px solid var(--line);
}
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.project {
  display: flex;
  flex-direction: column;
}
.project-grid .project-visual {
  display: block;
  height: auto;
  aspect-ratio: auto;
  padding: 44px 15px 20px;
}
.project-visual .browser-frame {
  box-shadow: 0 12px 25px #0002;
}
.project-visual .browser-frame img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top;
}
.project-visual:hover > .browser-frame {
  transform: translateY(-3px);
}
.visual-caption {
  top: 15px;
  left: 16px;
  right: 16px;
  font-size: 8px;
}
.visual-index,
.ashen-visual .visual-index {
  display: grid;
  place-items: center;
  top: 10px;
  right: 12px;
  bottom: auto;
  width: 28px;
  height: 25px;
  border-radius: 3px;
  background: #f5f3ec;
  color: #242921;
  font:
    600 11px Arial,
    sans-serif;
  z-index: 1;
}
.visual-caption {
  right: 48px;
}
.project-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 24px;
}
.project h3 {
  font-size: 30px;
  letter-spacing: -0.04em;
}
.project-meta {
  align-items: flex-start;
  min-height: 28px;
}
.project-actions {
  margin-top: auto;
  gap: 18px;
  font-size: 12px;
}
.portrait-wrap {
  transform: none;
}
.experiment img {
  object-position: top;
}
@media (max-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  .brand {
    font-size: 15px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 36px;
    padding-block: 38px;
  }
  .hero h1,
  html[lang="ru"] .hero h1,
  html[lang="vi"] .hero h1,
  html[lang="zh-Hans"] .hero h1 {
    font-size: clamp(32px, 7vw, 48px);
  }
  .hero-art {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .project-meta {
    min-height: 0;
  }
}
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.network-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.network-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.network-grid .project-visual {
  display: block;
  height: auto;
  padding: 44px 15px 20px;
  border-radius: 7px;
}
.network-grid .visual-index {
  display: none;
}
.network-grid .project-actions {
  padding-top: 24px;
}
.network-grid .project h3 {
  font-size: 28px;
}
.zzz-visual {
  background: #29313d;
}
.zzz-visual .visual-caption {
  color: #e7edf4;
}
.elden-visual {
  background: #25281f;
}
.elden-visual .visual-caption {
  color: #d9cba3;
}
.network-footer {
  margin-top: 32px;
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
}
.upcoming-visual {
  min-height: 220px;
  height: 100%;
  max-height: 320px;
  position: relative;
  display: grid;
  place-content: center;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--muted);
  font:
    28px Georgia,
    serif;
  letter-spacing: 0.1em;
}
.upcoming-orbit {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 50%;
  left: calc(50% - 75px);
  top: calc(50% - 75px);
}
.upcoming-caption {
  font: 9px monospace;
  letter-spacing: 0.12em;
  margin-top: 25px;
}
.development-badge {
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--ink);
}
.approach-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 720px;
  margin: 20px 0 40px;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.usp-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.usp-number {
  color: var(--accent);
  font: 12px monospace;
}
.usp-grid h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 24px 0 18px;
}
.usp-grid p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.scroll-reveal {
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}
@media (max-width: 1100px) {
  .navigation {
    gap: 16px;
  }
  .network-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .network-grid {
    grid-template-columns: 1fr;
  }
  .network-grid .project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .network-grid .project-content {
    padding-top: 0;
  }
  .upcoming-visual {
    min-height: 240px;
  }
}
@media (max-width: 760px) {
  .project-grid,
  .usp-grid {
    grid-template-columns: 1fr;
  }
  .network-grid .project {
    display: flex;
    gap: 0;
  }
  .network-grid .project-content {
    padding-top: 24px;
  }
  .network-heading {
    flex-wrap: wrap;
  }
  .upcoming-visual {
    height: 240px;
  }
}
.network-grid .project > :first-child {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1.15;
}
.lines-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.35;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(140deg, #e4e0d3, #f2eee4 65%, #e4d6c6);
  color: #2b3027;
}
.lines-visual::before,
.lines-visual::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 1px;
  background: #a69a8666;
  transform: rotate(-26deg);
}
.lines-visual::before {
  top: 31%;
}
.lines-visual::after {
  top: 66%;
}
.lines-wordmark {
  position: relative;
  z-index: 1;
  font:
    500 clamp(29px, 4vw, 54px)/0.95 Georgia,
    serif;
  letter-spacing: -0.055em;
  text-align: center;
}
.lines-wordmark em {
  font-size: 0.5em;
  font-weight: 400;
}
.lines-visual .visual-caption {
  color: #535a4d;
}
.lines-visual .visual-index {
  z-index: 2;
}
.lines-project .development-badge {
  font-size: 9px;
  line-height: 1.4;
}
.project-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--bg);
}
.project-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .scroll-reveal, .reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.preview-hitbox {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.lines-visual.project-visual {
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  padding: 44px 15px 20px;
}
.lines-visual .browser-frame { width: 100%; }
.lines-visual .browser-bar { position: relative; z-index: 1; }
@media print {
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Hide the injected Netlify promotional badge and its card. */
#nl-badge, .nl-badge, #nl-card { display: none !important; }
