:root {
  color-scheme: dark;
  --background: #171429;
  --background-deep: #110f20;
  --surface: rgba(35, 30, 63, 0.72);
  --surface-strong: #211d3b;
  --primary: #a99af5;
  --primary-bright: #c9bfff;
  --text: #f6f3ff;
  --text-muted: #b7b0ca;
  --line: rgba(214, 205, 255, 0.15);
  --container: 1180px;
  --section-title-offset: 144px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--background-deep);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(720px, 100svh);
  padding: 72px 0;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 26%;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--background));
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-glow-left {
  top: 4%;
  left: -19%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(102, 78, 206, 0.2), transparent 68%);
}

.hero-glow-right {
  top: 9%;
  right: -12%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(169, 154, 245, 0.2), transparent 64%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding-bottom: 16px;
}

.hero h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: 0 0 48px rgba(169, 154, 245, 0.16);
}

.hero-role {
  margin: clamp(32px, 4vw, 48px) 0 0;
  color: var(--text);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.hero-role span {
  color: var(--primary-bright);
  font-weight: 400;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: clamp(28px, 3.4vw, 40px) 0 0;
  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(169, 154, 245, 0.3);
  border-radius: 999px;
  background: rgba(21, 22, 43, 0.36);
  color: #aaa8bd;
  font-size: 14px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.scroll-cue:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  display: grid;
  width: min(100%, 460px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
}

.signal-ring {
  position: absolute;
  border: 1px solid rgba(169, 154, 245, 0.16);
  border-radius: 50%;
}

.signal-ring::before {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px var(--primary);
  content: "";
}

.signal-ring-outer {
  inset: 2%;
  animation: spin 28s linear infinite;
}

.signal-ring-inner {
  inset: 14%;
  border-style: dashed;
  opacity: 0.7;
  animation: spin 20s linear infinite reverse;
}

.practice-card {
  position: relative;
  z-index: 2;
  width: 76%;
  overflow: hidden;
  border: 1px solid rgba(201, 191, 255, 0.23);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(46, 39, 83, 0.93), rgba(26, 22, 48, 0.9));
  box-shadow: 0 34px 80px rgba(4, 2, 16, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(2.5deg);
  backdrop-filter: blur(18px);
}

.card-topline,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.card-topline {
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.live-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.code-window {
  display: grid;
  gap: 13px;
  padding: 28px 22px;
  background: rgba(9, 7, 22, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(11px, 1.05vw, 13px);
}

.code-line {
  color: #dcd6f2;
  line-height: 1.4;
  white-space: nowrap;
}

.code-line i {
  display: inline-block;
  width: 34px;
  color: #69617f;
  font-style: normal;
}

.code-line b {
  color: var(--primary-bright);
  font-weight: 500;
}

.code-string {
  color: #f1edff;
}

.card-footer {
  color: var(--text);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--background-deep);
}

.floating-tag {
  position: absolute;
  z-index: 3;
  display: grid;
  height: 32px;
  min-width: 54px;
  padding: 0 12px;
  place-items: center;
  border: 1px solid rgba(201, 191, 255, 0.2);
  border-radius: 999px;
  background: rgba(25, 21, 46, 0.82);
  color: var(--primary-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 26px rgba(7, 4, 24, 0.3);
  backdrop-filter: blur(12px);
}

.tag-hope {
  top: 16%;
  right: 1%;
}

.tag-build {
  bottom: 20%;
  left: -2%;
}

.tag-grow {
  right: 7%;
  bottom: 8%;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #79718e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-cue i::after {
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: var(--primary);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

.section-shell {
  min-height: 56vh;
  scroll-margin-top: 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--background), var(--background-deep));
}

.section-shell:nth-of-type(3) {
  background: var(--background-deep);
}

.section-shell h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(28px, 3.5vw, 36px);
  letter-spacing: -0.04em;
}

.about-section {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 88%, rgba(169, 154, 245, 0.11), transparent 34%),
    linear-gradient(180deg, var(--background), var(--background-deep));
}

.about-inner {
  position: relative;
  z-index: 1;
  padding: var(--section-title-offset) 0 clamp(96px, 12vw, 160px);
}

.about-heading {
  text-align: center;
}

.about-intro {
  width: min(100%, 680px);
  margin: 42px auto 0;
  color: var(--text-muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.about-highlights {
  display: grid;
  width: min(100%, 980px);
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: clamp(72px, 8vw, 96px) auto 0;
}

.about-highlights > li {
  display: flex;
  min-width: 0;
  min-height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(16px, 3vw, 40px);
  text-align: center;
}

.about-highlights strong {
  color: var(--primary-bright);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 0 42px rgba(169, 154, 245, 0.18);
}

.about-highlights span {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.about-closing {
  display: grid;
  justify-items: center;
  margin-top: clamp(72px, 8vw, 96px);
  text-align: center;
}

.about-closing p {
  margin: 0;
  color: var(--primary);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-shell.work-section {
  position: relative;
  height: 100svh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 88% 12%, rgba(169, 154, 245, 0.12), transparent 30%),
    var(--background-deep);
}

.work-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100%;
  align-content: start;
  padding: var(--section-title-offset) 0 clamp(32px, 5svh, 56px);
}

.work-heading {
  text-align: center;
}

.work-map {
  position: relative;
  width: min(100%, 1040px);
  margin: clamp(24px, 4svh, 38px) auto 0;
}

.work-focus {
  position: relative;
  min-width: 0;
  text-align: center;
}

.work-focus-primary {
  width: min(100%, 640px);
  margin-inline: auto;
}

.work-focus h3 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(26px, 3.5svh, 34px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.work-description {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.work-connector {
  position: relative;
  width: min(88%, 900px);
  height: 130.91px;
  margin: clamp(18px, 2.5svh, 24px) auto 0;
  pointer-events: none;
}

.work-connector svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.work-connector path {
  fill: none;
  stroke: rgba(169, 154, 245, 0.32);
  stroke-dasharray: 7 9;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.work-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--background-deep);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px rgba(169, 154, 245, 0.8);
}

.work-node-primary {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.work-node-content,
.work-node-parenting {
  top: 45%;
  transform: translate(-50%, -50%);
}

.work-node-content {
  left: 25%;
}

.work-node-parenting {
  left: 75%;
}

.work-branches {
  display: grid;
  width: min(88%, 900px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 12px auto 0;
}

.work-focus-secondary {
  width: 100%;
}

.work-focus-secondary:first-child {
  justify-self: stretch;
}

.work-focus-secondary:last-child {
  justify-self: stretch;
}

@media (min-width: 681px) {
  .work-focus-secondary h3 {
    display: inline-block;
    padding-inline: 16px;
    background: var(--background-deep);
    line-height: 40px;
  }
}

.contact-shell {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 100%, rgba(169, 154, 245, 0.13), transparent 45%), var(--background-deep);
}

.contact-inner {
  position: relative;
  z-index: 1;
  padding: var(--section-title-offset) 0 clamp(84px, 12vw, 150px);
}

.contact-heading {
  text-align: center;
}

.site-footer {
  position: absolute;
  right: 24px;
  bottom: 96px;
  left: 24px;
  z-index: 1;
  color: rgba(169, 154, 245, 0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
}

.site-footer p {
  margin: 0;
}

.contact-actions {
  display: grid;
  width: min(100%, 280px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin: clamp(88px, calc(8vw + 24px), 112px) auto 0;
}

.contact-action {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #817991;
  font: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.contact-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(169, 154, 245, 0.2);
  border-radius: 50%;
  background: rgba(20, 18, 39, 0.58);
  color: #817991;
  box-shadow: 0 0 0 5px rgba(169, 154, 245, 0.018);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-icon svg {
  width: 36px;
  height: 36px;
  overflow: visible;
}

.contact-label {
  font-size: 18px;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.contact-action:focus-visible .contact-icon {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow:
    0 0 0 5px rgba(169, 154, 245, 0.06),
    0 0 34px rgba(169, 154, 245, 0.18);
}

.contact-action:focus-visible .contact-label {
  color: var(--primary);
}

.contact-action:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 8px;
  border-radius: 10px;
}

body.dialog-open {
  overflow: hidden;
}

.wechat-dialog {
  width: min(360px, calc(100% - 36px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.wechat-dialog::backdrop {
  background: rgba(7, 5, 18, 0.76);
  backdrop-filter: blur(8px);
}

.wechat-dialog[open] {
  animation: dialog-in 180ms ease-out;
}

.wechat-dialog-panel {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(169, 154, 245, 0.35);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(39, 33, 70, 0.98), rgba(20, 17, 38, 0.98));
  box-shadow: 0 28px 80px rgba(4, 2, 16, 0.56);
  text-align: center;
}

.wechat-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(169, 154, 245, 0.24);
  border-radius: 50%;
  background: rgba(17, 15, 32, 0.55);
  color: var(--text-muted);
  cursor: pointer;
}

.wechat-dialog-close:focus-visible {
  border-color: var(--primary);
  color: var(--primary-bright);
}

.wechat-dialog-close:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 3px;
}

.wechat-dialog-close svg {
  width: 18px;
  height: 18px;
}

.wechat-dialog-kicker {
  margin: 0;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.wechat-dialog h3 {
  margin: 10px 0 24px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.wechat-qr-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 1px dashed rgba(169, 154, 245, 0.38);
  border-radius: 18px;
  background: rgba(11, 9, 23, 0.55);
  color: var(--primary);
}

.wechat-qr-placeholder svg {
  width: 76px;
  height: 76px;
}

.wechat-qr-placeholder span {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.wechat-dialog-panel > p:last-child {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.error-body {
  min-height: 100svh;
  overflow: hidden;
}

.error-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 96px 24px 72px;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.error-page::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 42%, rgba(169, 154, 245, 0.15), transparent 31%),
    linear-gradient(180deg, var(--background), var(--background-deep));
  content: "";
}

.error-brand {
  position: absolute;
  top: 32px;
  left: max(24px, calc((100% - var(--container)) / 2));
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.error-brand:focus-visible,
.error-home:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 5px;
}

.error-visual {
  position: relative;
  display: grid;
  width: clamp(180px, 30vw, 280px);
  aspect-ratio: 1;
  place-items: center;
}

.error-visual::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 18px var(--primary);
  content: "";
  transform: translate(710%, -780%);
}

.error-orbit {
  position: absolute;
  border: 1px solid rgba(169, 154, 245, 0.22);
  border-radius: 50%;
}

.error-orbit-outer {
  inset: 5%;
  animation: spin 28s linear infinite;
}

.error-orbit-inner {
  inset: 20%;
  border-style: dashed;
  opacity: 0.62;
  transform: rotate(-12deg);
}

.error-visual strong {
  color: var(--primary-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(58px, 10vw, 92px);
  font-weight: 600;
  letter-spacing: -0.08em;
  text-shadow: 0 0 42px rgba(169, 154, 245, 0.23);
}

.error-kicker {
  margin: 24px 0 0;
  color: rgba(169, 154, 245, 0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.error-page h1 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.error-description {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.error-home {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  margin-top: 36px;
  border: 1px solid rgba(169, 154, 245, 0.42);
  border-radius: 999px;
  background: rgba(35, 30, 63, 0.5);
  color: var(--primary-bright);
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .error-home:hover {
    border-color: var(--primary);
    background: rgba(51, 43, 88, 0.62);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(300%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@media (hover: hover) and (pointer: fine) {
  .contact-action:hover .contact-icon {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow:
      0 0 0 5px rgba(169, 154, 245, 0.06),
      0 0 34px rgba(169, 154, 245, 0.18);
  }

  .contact-action:hover .contact-label {
    color: var(--primary);
  }

  .wechat-dialog-close:hover {
    border-color: var(--primary);
    color: var(--primary-bright);
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  html {
    scroll-snap-type: y mandatory;
  }

  .hero,
  .section-shell {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hero,
  .about-section,
  .contact-shell {
    min-height: 100svh;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 84px 0 110px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 430px);
    justify-self: center;
  }

}

@media (max-width: 680px) {
  :root {
    --section-title-offset: 80px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    display: grid;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-role {
    max-width: 310px;
    margin-top: 32px;
    font-size: 21px;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .hero-tags {
    max-width: 350px;
    gap: 9px;
    margin-top: 28px;
  }

  .hero-tags li {
    min-height: 36px;
    padding-inline: 15px;
    font-size: 12px;
  }

  .hero-visual {
    width: min(94vw, 380px);
  }

  .practice-card {
    width: 78%;
    border-radius: 20px;
  }

  .floating-tag {
    height: 28px;
    min-width: 48px;
    padding-inline: 10px;
    font-size: 9px;
  }

  .scroll-cue {
    display: none;
  }

  .section-shell {
    min-height: 48vh;
  }

  .site-footer {
    bottom: 20px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .about-inner,
  .contact-inner {
    padding-bottom: 96px;
  }

  .work-inner {
    padding-bottom: 26px;
  }

  .about-highlights {
    margin-top: 60px;
  }

  .about-highlights > li {
    min-height: 88px;
    padding-inline: 5px;
  }

  .about-highlights strong {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  .about-highlights span {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .about-closing {
    margin-top: 64px;
  }

  .about-closing p {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .work-map {
    width: 100%;
    margin-top: 34px;
  }

  .work-map::before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 4px;
    width: 1px;
    background: linear-gradient(
      to bottom,
      rgba(169, 154, 245, 0.58),
      rgba(169, 154, 245, 0.16)
    );
    content: "";
  }

  .work-focus,
  .work-focus-primary,
  .work-focus-secondary {
    width: 100%;
    padding-left: 30px;
    text-align: left;
  }

  .work-focus::before {
    position: absolute;
    top: 6px;
    left: 0;
    width: 9px;
    height: 9px;
    border: 2px solid var(--background-deep);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 14px rgba(169, 154, 245, 0.72);
    content: "";
    transform: translateX(-1px);
  }

  .work-focus h3,
  .work-focus-primary h3 {
    font-size: clamp(25px, 7.5vw, 30px);
  }

  .work-description {
    max-width: none;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
  }

  .work-connector {
    display: none;
  }

  .work-branches {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }

  .work-focus-secondary:first-child,
  .work-focus-secondary:last-child {
    justify-self: stretch;
  }

  .contact-actions {
    width: min(100%, 168px);
    gap: 16px;
    margin-top: 76px;
  }

  .contact-icon {
    width: 64px;
    height: 64px;
  }

  .contact-icon svg {
    width: 32px;
    height: 32px;
  }

  .contact-label {
    font-size: 16px;
  }
}

@media (max-height: 620px) {
  :root {
    --section-title-offset: 60px;
  }

  .about-inner {
    padding-bottom: 60px;
  }

  .about-intro {
    margin-top: 30px;
    line-height: 1.65;
  }

  .about-highlights {
    margin-top: 46px;
  }

  .about-highlights > li {
    min-height: 90px;
  }

  .about-closing {
    margin-top: 48px;
  }

  .contact-shell {
    min-height: 480px;
  }

  .work-inner {
    padding-bottom: 20px;
  }

  .work-map {
    margin-top: 16px;
  }

  .work-focus h3,
  .work-focus-primary h3 {
    font-size: 28px;
  }

  .work-description {
    margin-top: 7px;
    line-height: 1.45;
  }

}

@media (min-width: 681px) and (max-height: 620px) {
  .work-connector {
    margin-top: 12px;
  }
}

@media (max-width: 680px) and (max-height: 620px) {
  .work-branches {
    gap: 20px;
    margin-top: 20px;
  }
}

@media (max-width: 420px) {
  .wechat-dialog-panel {
    padding: 28px 22px 24px;
  }

  .hero-visual {
    margin-inline: -4px;
  }

  .code-window {
    gap: 10px;
    padding: 22px 16px;
    font-size: 11px;
  }

  .card-topline,
  .card-footer {
    padding: 15px 16px;
  }
}

@media (hover: none), (pointer: coarse) {
  .contact-icon,
  .contact-label {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
