/* =========================================================
   常乐 · 个人手账
   Palette sampled from the watercolor portrait:
   paper, caramel, ochre, sage green, ink brown.
   ========================================================= */

:root {
  --paper: #f6eddf;
  --paper-light: #fbf5ea;
  --paper-deep: #efe1ce;
  --ink: #3f2c25;
  --ink-soft: #70584a;
  --ink-faint: #86705f;
  --auburn: #9a5a3d;
  --rust: #b56b4c;
  --caramel: #d8ac82;
  --sand: #e9d2b4;
  --sage: #7d9d91;
  --sage-deep: #5f8177;
  --blush: #e7b5a1;
  --line: rgba(63, 44, 37, 0.15);
  --line-strong: rgba(63, 44, 37, 0.28);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --hand: "KaiTi", "STKaiti", "Kaiti SC", "Noto Serif SC", serif;
  --display-en: "Bodoni MT", "Didot", "Times New Roman", serif;
  --shadow-soft: 0 28px 60px -42px rgba(63, 44, 37, 0.42);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 300px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 5%, rgba(231, 181, 161, 0.18), transparent 24rem),
    radial-gradient(circle at 96% 22%, rgba(125, 157, 145, 0.12), transparent 28rem),
    radial-gradient(circle at 42% 74%, rgba(216, 172, 130, 0.12), transparent 32rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--paper-light);
  background: var(--auburn);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

p,
h1,
h2,
h3,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 5px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.shell {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}

/* ---------- shared type ---------- */

.section {
  position: relative;
  padding: 128px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.label-num {
  color: var(--auburn);
  font-family: var(--display-en);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.label-en {
  font-weight: 500;
}

.label-rule {
  width: 46px;
  height: 1px;
  background: var(--line-strong);
}

.label-cn {
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.section-title {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.4vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.accent {
  color: var(--auburn);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--auburn);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 4px rgba(181, 107, 76, 0.12);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(246, 237, 223, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px 17px 12px 15px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--auburn);
  box-shadow: 0 8px 18px -12px rgba(63, 44, 37, 0.7);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  transform: rotate(-3deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--display-en);
  font-size: 16px;
  letter-spacing: 0.2em;
  line-height: 1;
}

.brand-sub {
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}

.site-nav a span {
  color: var(--auburn);
  font-family: var(--display-en);
  font-size: 9px;
  opacity: 0.7;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  padding: 11px 17px 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.header-cta span {
  font-size: 13px;
  transition: transform 0.25s var(--ease);
}

.header-cta:hover {
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-2px);
}

.header-cta:hover span {
  transform: translate(2px, -2px);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 30px;
  min-height: calc(100svh - 86px);
  padding-top: 42px;
  padding-bottom: 76px;
}

.hero::before {
  position: absolute;
  top: 9%;
  right: -9%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(63, 44, 37, 0.07);
  border-radius: 47% 53% 44% 56%;
  content: "";
  transform: rotate(24deg);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero-name {
  display: block;
  font-size: clamp(7rem, 12.5vw, 10.8rem);
}

.hero-name-en {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  color: var(--auburn);
  font-family: var(--display-en);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.3em;
}

.hero-name-en i {
  color: var(--ink-faint);
  font-family: var(--display-en);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.hero-name-en::after {
  width: 68px;
  height: 1px;
  content: "";
  background: var(--line-strong);
}

.hero-tagline {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.38;
}

.highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--auburn);
  font-weight: 600;
}

.highlight::before {
  position: absolute;
  right: -8px;
  bottom: 4px;
  left: -6px;
  z-index: -1;
  height: 30%;
  border-radius: 42% 58% 47% 53%;
  content: "";
  background: rgba(216, 172, 130, 0.55);
  transform: rotate(-1.4deg);
}

.hero-intro {
  max-width: 530px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.button span {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.28s var(--ease);
}

.button-primary {
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: 0 14px 26px -18px rgba(63, 44, 37, 0.85);
}

.button-primary:hover {
  background: var(--auburn);
  transform: translateY(-3px);
  box-shadow: 0 19px 30px -20px rgba(63, 44, 37, 0.8);
}

.button-primary:hover span {
  transform: translate(2px, 2px);
}

.button-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(251, 245, 234, 0.22);
}

.button-ghost:hover {
  border-color: var(--auburn);
  background: rgba(251, 245, 234, 0.7);
  transform: translateY(-3px);
}

.button-ghost:hover span {
  transform: translate(2px, -2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  max-width: 560px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.025em;
}

.hero-meta li span {
  color: var(--auburn);
  font-family: var(--display-en);
  font-size: 9px;
  letter-spacing: 0.04em;
}

/* hero art */

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 680px;
  z-index: 2;
}

.hero-wash {
  position: absolute;
  top: 8%;
  left: 3%;
  width: 93%;
  height: 78%;
  border-radius: 46% 54% 53% 47% / 48% 43% 57% 52%;
  background:
    radial-gradient(circle at 38% 38%, rgba(125, 157, 145, 0.34), transparent 62%),
    radial-gradient(circle at 72% 72%, rgba(216, 172, 130, 0.3), transparent 64%);
  filter: blur(8px);
  transform: rotate(8deg);
  opacity: 0.72;
  pointer-events: none;
}

.art-frame {
  position: relative;
  z-index: 2;
  width: min(430px, 83%);
  padding: 16px 16px 68px;
  border: 1px solid rgba(94, 62, 45, 0.18);
  border-radius: 46% 46% 27px 27px / 31% 31% 27px 27px;
  background: #f9f0e1;
  box-shadow:
    22px 28px 0 rgba(154, 90, 61, 0.055),
    0 42px 75px -38px rgba(63, 44, 37, 0.5);
  transform: rotate(1.4deg);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.art-frame::before {
  position: absolute;
  inset: 8px;
  z-index: 3;
  border: 1px dashed rgba(94, 62, 45, 0.2);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.art-frame img {
  width: 100%;
  border-radius: 44% 44% 20px 20px / 29% 29% 20px 20px;
  mix-blend-mode: multiply;
  filter: contrast(1.025) saturate(1.03);
}

.tape {
  position: absolute;
  z-index: 6;
  background: rgba(207, 169, 124, 0.48);
  box-shadow: 0 2px 5px rgba(63, 44, 37, 0.07);
}

.tape-a {
  top: -13px;
  left: 36px;
  width: 112px;
  height: 27px;
  clip-path: polygon(2% 5%, 98% 0, 95% 94%, 1% 100%);
  transform: rotate(-5deg);
}

.tape-b {
  top: 84px;
  right: -23px;
  width: 92px;
  height: 25px;
  background: rgba(125, 157, 145, 0.32);
  clip-path: polygon(4% 0, 100% 4%, 96% 95%, 0 100%);
  transform: rotate(78deg);
}

.art-caption {
  position: absolute;
  right: 29px;
  bottom: 21px;
  left: 29px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.art-caption strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.art-status {
  position: absolute;
  top: 3%;
  left: 0;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(63, 44, 37, 0.18);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(251, 245, 234, 0.72);
  box-shadow: 0 10px 25px -20px rgba(63, 44, 37, 0.6);
  font-size: 9px;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.status-pulse {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
}

.status-pulse::after {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  content: "";
  animation: pulse-ring 2.6s ease-out infinite;
}

.art-sticker {
  position: absolute;
  top: 4%;
  right: 4%;
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: 6px 7px 0 rgba(154, 90, 61, 0.13);
  font-family: var(--display-en);
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.1;
  transform: rotate(6deg);
}

.art-sticker span:last-child {
  color: rgba(251, 245, 234, 0.55);
  font-size: 7px;
}

.art-note {
  position: absolute;
  bottom: 3%;
  left: -5px;
  z-index: 5;
  width: 158px;
  padding: 25px 18px 16px;
  border: 1px solid rgba(94, 62, 45, 0.16);
  background:
    linear-gradient(100deg, transparent 15%, rgba(255, 255, 255, 0.23) 16%, transparent 17%),
    #fbf4e9;
  box-shadow: 0 18px 35px -25px rgba(63, 44, 37, 0.65);
  transform: rotate(-3.5deg);
}

.art-note::before {
  position: absolute;
  top: -9px;
  left: 41px;
  width: 74px;
  height: 18px;
  content: "";
  background: rgba(125, 157, 145, 0.32);
  transform: rotate(-3deg);
}

.note-star {
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--rust);
  font-size: 10px;
}

.art-note p {
  font-family: var(--hand);
  font-size: 20px;
  line-height: 1.45;
}

.note-sign {
  display: block;
  margin-top: 8px;
  color: var(--ink-faint);
  font-family: var(--hand);
  font-size: 11px;
  text-align: right;
}

.round-stamp {
  position: absolute;
  right: -1%;
  bottom: 6%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
}

.stamp-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
}

.stamp-ring text {
  fill: var(--auburn);
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 2.6px;
}

.stamp-center {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(154, 90, 61, 0.36);
  border-radius: 50%;
  color: var(--auburn);
  background: rgba(246, 237, 223, 0.86);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  transform: rotate(-8deg);
}

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 245, 234, 0.46);
  transform: rotate(-0.28deg);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 44s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker-group span {
  padding: 14px 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.ticker-group i {
  color: var(--auburn);
  font-size: 8px;
  font-style: normal;
}

/* ---------- about ---------- */

.about {
  overflow-x: clip;
  padding-top: 142px;
}

.about::before {
  position: absolute;
  top: 12%;
  right: -14%;
  width: 380px;
  height: 380px;
  border-radius: 53% 47% 61% 39%;
  content: "";
  background: radial-gradient(circle, rgba(231, 181, 161, 0.17), transparent 67%);
  filter: blur(8px);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  margin-top: 56px;
}

.about-title {
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 3.9vw, 3.95rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.36;
}

.about-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.quote-card {
  position: relative;
  width: min(320px, 92%);
  margin: 24px 0 2px 24px;
  padding: 28px 28px 24px;
  border: 1px solid rgba(94, 62, 45, 0.15);
  background: #fbf4e9;
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}

.tape-note {
  top: -11px;
  left: 84px;
  width: 90px;
  height: 22px;
  background: rgba(125, 157, 145, 0.34);
  transform: rotate(2deg);
}

.quote-card blockquote {
  font-family: var(--hand);
  font-size: 25px;
  line-height: 1.55;
}

.quote-card figcaption {
  margin-top: 14px;
  color: var(--ink-faint);
  font-family: var(--hand);
  font-size: 12px;
  text-align: right;
}

.palette-card {
  width: min(330px, 100%);
  margin-left: 58px;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(251, 245, 234, 0.56);
  transform: rotate(1deg);
}

.palette-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-faint);
  font-family: var(--display-en);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.swatches {
  display: flex;
  gap: 6px;
  margin: 13px 0 11px;
}

.swatches i {
  width: 35px;
  height: 18px;
  border-radius: 50% 43% 52% 47%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(63, 44, 37, 0.08);
  transform: rotate(-4deg);
}

.swatches i:nth-child(2n) {
  transform: rotate(3deg);
}

.swatches i:nth-child(3) {
  width: 45px;
}

.palette-card p {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.about-body {
  padding-top: 8px;
}

.about-lead {
  max-width: 590px;
  margin-bottom: 24px !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(1.45rem, 2.15vw, 1.9rem) !important;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.65 !important;
}

.about-body > p:not(.about-lead) {
  max-width: 600px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2.05;
}

.facts {
  max-width: 600px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--auburn);
  font-family: var(--display-en);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.facts dd {
  color: var(--ink);
  font-size: 13px;
}

.facts strong {
  color: var(--auburn);
  font-weight: 600;
}

.about-sign {
  max-width: 600px;
  margin-top: 24px !important;
  color: var(--ink-faint) !important;
  font-family: var(--hand);
  font-size: 13px !important;
  text-align: right;
}

/* ---------- interests ---------- */

.interests {
  overflow-x: clip;
  padding-top: 94px;
  padding-bottom: 150px;
}

.interests::before {
  position: absolute;
  top: 0;
  left: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(125, 157, 145, 0.12), transparent 68%);
  pointer-events: none;
}

.interests-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 58px;
}

.interests-head > p {
  max-width: 260px;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.95;
  text-align: right;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding-bottom: 34px;
}

.interest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 406px;
  overflow: hidden;
  padding: 28px 27px 27px;
  border: 1px solid var(--line);
  border-radius: 23px 27px 24px 21px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 42%),
    rgba(251, 245, 234, 0.63);
  box-shadow: 0 26px 55px -48px rgba(63, 44, 37, 0.66);
  transform: translateY(var(--lift)) rotate(var(--rot));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.interest-card::before {
  position: absolute;
  top: -95px;
  right: -75px;
  width: 220px;
  height: 220px;
  border-radius: 48% 52% 43% 57%;
  content: "";
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  filter: blur(4px);
  transform: rotate(12deg);
  pointer-events: none;
}

.interest-card:hover {
  border-color: rgba(154, 90, 61, 0.32);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.28), transparent 42%),
    rgba(252, 247, 238, 0.84);
  box-shadow: 0 36px 65px -44px rgba(63, 44, 37, 0.54);
  transform: translateY(calc(var(--lift) - 8px)) rotate(0deg);
}

.interest-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 38px;
}

.interest-icon {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  border-radius: 20px 25px 18px 23px;
  color: var(--accent);
  background: var(--accent-soft);
  transform: rotate(-3deg);
  transition: transform 0.4s var(--ease);
}

.interest-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

.interest-card:hover .interest-icon {
  transform: rotate(4deg) scale(1.04);
}

.interest-num {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.interest-title {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.interest-en {
  margin-top: 5px;
  color: var(--accent);
  font-family: var(--display-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.interest-copy {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
}

.tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

.card-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
  color: var(--accent);
  font-family: var(--hand);
  font-size: 15px;
}

.card-note::after {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.35;
}

/* ---------- skill band ---------- */

.skill-band {
  position: relative;
  overflow: hidden;
  width: min(1400px, calc(100% - 40px));
  margin: 22px auto 0;
  border-radius: 42px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 84% 10%, rgba(181, 107, 76, 0.24), transparent 26rem),
    radial-gradient(circle at 15% 86%, rgba(125, 157, 145, 0.18), transparent 25rem),
    linear-gradient(135deg, #3b2821 0%, #4a3229 57%, #38241e 100%);
  box-shadow: 0 50px 90px -65px rgba(63, 44, 37, 0.8);
}

.skill-band::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 239, 226, 0.07);
  border-radius: 33px;
  content: "";
  pointer-events: none;
}

.skill-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.glow-a {
  top: -14%;
  left: 43%;
  width: 370px;
  height: 370px;
  background: radial-gradient(circle, rgba(216, 172, 130, 0.12), transparent 67%);
}

.glow-b {
  right: -6%;
  bottom: -18%;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(125, 157, 145, 0.13), transparent 68%);
}

.skill-inner {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 88px;
}

.section-label-light {
  color: rgba(247, 239, 226, 0.62);
}

.section-label-light .label-num,
.section-label-light .label-cn {
  color: var(--caramel);
}

.section-label-light .label-en {
  color: rgba(247, 239, 226, 0.72);
}

.section-label-light .label-rule {
  background: rgba(247, 239, 226, 0.25);
}

.skill-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 58px;
}

.skill-title-main {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.7vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.24;
}

.skill-title-main span {
  color: var(--caramel);
}

.skill-head > p {
  max-width: 290px;
  margin-bottom: 7px;
  color: rgba(247, 239, 226, 0.57);
  font-size: 12px;
  line-height: 1.95;
  text-align: right;
}

.skill-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.skill-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 20px 22px;
  border: 1px solid rgba(247, 239, 226, 0.12);
  border-radius: 17px;
  color: inherit;
  background: rgba(250, 242, 230, 0.035);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.skill-item::before {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 2px;
  border-radius: 2px;
  content: "";
  background: var(--caramel);
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.skill-item:hover,
.skill-item:focus-visible {
  background: rgba(250, 242, 230, 0.06);
  border-color: rgba(247, 239, 226, 0.22);
}

.skill-item.is-active {
  border-color: rgba(216, 172, 130, 0.46);
  background: rgba(250, 242, 230, 0.078);
  box-shadow: 0 20px 40px -36px rgba(0, 0, 0, 0.9);
}

.skill-item.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}

.skill-no {
  color: rgba(247, 239, 226, 0.4);
  font-family: var(--display-en);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.skill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.skill-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.skill-status.is-lit {
  color: #e9c095;
  background: rgba(216, 172, 130, 0.13);
}

.skill-status.is-lit i {
  box-shadow: 0 0 0 3px rgba(216, 172, 130, 0.1), 0 0 9px rgba(216, 172, 130, 0.8);
}

.skill-status.is-growing {
  color: #b8ccba;
  background: rgba(125, 157, 145, 0.15);
}

.skill-status.is-growing i {
  animation: pulse-opacity 2.4s ease-in-out infinite;
}

.skill-title {
  display: block;
  margin-bottom: 6px;
  color: #fbf2e4;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.skill-title > span {
  margin-left: 6px;
  color: rgba(247, 239, 226, 0.43);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.skill-desc {
  display: block;
  max-width: 420px;
  margin-bottom: 13px;
  color: rgba(247, 239, 226, 0.58);
  font-size: 12px;
  line-height: 1.8;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(247, 239, 226, 0.11);
  border-radius: 999px;
  color: rgba(247, 239, 226, 0.43);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

/* tree */

.tree-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.tree-wrap {
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 700 / 640;
}

.tree-halo {
  position: absolute;
  inset: 2% 2% 3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 172, 130, 0.11), rgba(125, 157, 145, 0.035) 46%, transparent 68%);
  filter: blur(10px);
}

.tree-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tree-roots path {
  stroke: rgba(247, 239, 226, 0.19);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.tree-trunk {
  stroke: rgba(247, 239, 226, 0.56);
  stroke-width: 1.55;
  stroke-linecap: round;
}

.tree-branch {
  stroke: rgba(247, 239, 226, 0.43);
  stroke-width: 1.25;
  stroke-linecap: round;
}

.tree-twig {
  stroke: rgba(247, 239, 226, 0.27);
  stroke-width: 1;
  stroke-linecap: round;
}

.tree-leaves path {
  fill: rgba(125, 157, 145, 0.27);
  stroke: rgba(125, 157, 145, 0.35);
  stroke-width: 0.65;
  transform-origin: center;
}

.tree-leaves .leaf-amber {
  fill: rgba(216, 172, 130, 0.2);
  stroke: rgba(216, 172, 130, 0.33);
}

.tree-sparkles {
  fill: rgba(216, 172, 130, 0.52);
  stroke: rgba(216, 172, 130, 0.42);
  stroke-width: 0.8;
  stroke-linecap: round;
}

.tree-orbit {
  stroke: rgba(247, 239, 226, 0.08);
  stroke-width: 0.7;
}

.tree-node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid rgba(216, 172, 130, 0.7);
  border-radius: 50%;
  color: #f3d2a8;
  background: #3d2a23;
  box-shadow:
    0 0 0 7px rgba(216, 172, 130, 0.055),
    0 0 30px rgba(216, 172, 130, 0.22);
  font-family: var(--display-en);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.tree-node::after {
  position: absolute;
  inset: -11px;
  border: 1px solid rgba(216, 172, 130, 0.16);
  border-radius: 50%;
  content: "";
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.tree-node:hover,
.tree-node.is-active {
  color: #392720;
  background: #d8ac82;
  border-color: #e9c8a4;
  box-shadow:
    0 0 0 8px rgba(216, 172, 130, 0.08),
    0 0 42px rgba(216, 172, 130, 0.42);
  transform: translate(-50%, -50%) scale(1.06);
}

.tree-node:hover::after,
.tree-node.is-active::after {
  border-color: rgba(216, 172, 130, 0.4);
  transform: scale(1.08);
}

.tree-node.is-growing {
  border-style: dashed;
  border-color: rgba(151, 180, 162, 0.8);
  color: #c6d7c7;
  background: #3a2c25;
  box-shadow:
    0 0 0 7px rgba(125, 157, 145, 0.055),
    0 0 30px rgba(125, 157, 145, 0.19);
}

.tree-node.is-growing::after {
  border-color: rgba(125, 157, 145, 0.22);
  animation: slow-pulse 4s ease-in-out infinite;
}

.tree-node.is-growing:hover,
.tree-node.is-growing.is-active {
  color: #2d2821;
  background: #9ab3a3;
  border-color: #c1d1c5;
  box-shadow:
    0 0 0 8px rgba(125, 157, 145, 0.08),
    0 0 42px rgba(125, 157, 145, 0.33);
}

.node-a {
  --x: 31.14%;
  --y: 43.75%;
}

.node-b {
  --x: 70%;
  --y: 34.06%;
}

.node-c {
  --x: 59.14%;
  --y: 20%;
}

.tree-caption {
  position: absolute;
  z-index: 3;
  color: rgba(247, 239, 226, 0.38);
  font-size: 8px;
  letter-spacing: 0.15em;
  pointer-events: none;
}

.caption-a {
  top: 48%;
  left: 16%;
}

.caption-b {
  top: 38.2%;
  left: 77%;
}

.caption-c {
  top: 15.5%;
  left: 64%;
  color: rgba(178, 199, 181, 0.45);
}

.tree-root-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  color: rgba(247, 239, 226, 0.27);
  font-family: var(--display-en);
  font-size: 8px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.tree-legend {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 4px;
  color: rgba(247, 239, 226, 0.42);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.tree-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tree-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-lit {
  background: var(--caramel);
  box-shadow: 0 0 8px rgba(216, 172, 130, 0.5);
}

.legend-growing {
  border: 1px solid #9ab3a3;
  background: transparent;
}

/* ---------- hello / chat ---------- */

.hello {
  position: relative;
  overflow-x: clip;
  padding-top: 138px;
  padding-bottom: 136px;
}

.hello::before {
  position: absolute;
  top: 14%;
  right: -16%;
  width: 430px;
  height: 430px;
  border-radius: 58% 42% 47% 53%;
  content: "";
  background: radial-gradient(circle, rgba(125, 157, 145, 0.11), transparent 68%);
  pointer-events: none;
}

.hello-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}

.hello-copy {
  position: relative;
}

.hello-copy > p {
  max-width: 430px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2.05;
}

.hello-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hello-points span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(251, 245, 234, 0.3);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.hello-doodle {
  width: 168px;
  margin: 35px 0 0 4px;
  color: rgba(154, 90, 61, 0.55);
}

.chat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 62, 45, 0.19);
  border-radius: 25px;
  background: #fbf4e9;
  box-shadow:
    18px 22px 0 rgba(154, 90, 61, 0.05),
    0 36px 78px -50px rgba(63, 44, 37, 0.58);
  transform: rotate(0.55deg);
}

.chat-card::before {
  position: absolute;
  top: -75px;
  right: -55px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(231, 181, 161, 0.24), transparent 68%);
  pointer-events: none;
}

.chat-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 21px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 244, 233, 0.73);
}

.chat-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 48% 44% 52% 46%;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 43%),
    var(--auburn);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  transform: rotate(-3deg);
}

.chat-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-id strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.chat-id span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.chat-id i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(125, 157, 145, 0.12);
}

.chat-demo {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-faint);
  font-family: var(--display-en);
  font-size: 7px;
  letter-spacing: 0.11em;
  white-space: nowrap;
}

.chat-window {
  display: flex;
  flex-direction: column;
  gap: 13px;
  height: 282px;
  overflow-y: auto;
  padding: 23px 21px 18px;
  scrollbar-color: rgba(154, 90, 61, 0.24) transparent;
  scrollbar-width: thin;
  background:
    linear-gradient(rgba(251, 244, 233, 0.66), rgba(251, 244, 233, 0.66)),
    repeating-linear-gradient(0deg, transparent 0, transparent 30px, rgba(63, 44, 37, 0.04) 31px);
}

.chat-window::-webkit-scrollbar {
  width: 5px;
}

.chat-window::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(154, 90, 61, 0.22);
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: bubble-in 0.42s var(--ease) both;
}

.chat-row.user {
  flex-direction: row-reverse;
}

.chat-mini {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--auburn);
  background: rgba(154, 90, 61, 0.12);
  font-family: var(--serif);
  font-size: 10px;
}

.chat-row.user .chat-mini {
  color: var(--sage-deep);
  background: rgba(125, 157, 145, 0.14);
}

.bubble {
  max-width: 82%;
  padding: 11px 14px;
  border: 1px solid rgba(94, 62, 45, 0.13);
  border-radius: 4px 15px 15px 15px;
  color: var(--ink);
  background: #fffaf2;
  box-shadow: 0 8px 15px -15px rgba(63, 44, 37, 0.35);
  font-size: 13px;
  line-height: 1.85;
}

.chat-row.user .bubble {
  border-color: transparent;
  border-radius: 15px 4px 15px 15px;
  color: var(--paper-light);
  background: var(--ink);
}

.bubble.typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 15px;
}

.bubble.typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--auburn);
  animation: typing-dot 1.1s ease-in-out infinite;
}

.bubble.typing i:nth-child(2) {
  animation-delay: 0.14s;
}

.bubble.typing i:nth-child(3) {
  animation-delay: 0.28s;
}

.chat-prompt-wrap {
  padding: 0 21px 18px;
}

.chat-prompt-label {
  margin-bottom: 9px;
  color: var(--ink-faint);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chat-chip {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.24s var(--ease), background 0.24s var(--ease), border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.chat-chip:hover {
  border-color: var(--ink);
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-2px);
}

.chat-chip:disabled {
  opacity: 0.43;
  cursor: wait;
  transform: none;
}

.chat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 21px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.chat-foot span:last-child {
  font-family: var(--display-en);
  letter-spacing: 0.09em;
}

/* ---------- outro / footer ---------- */

.outro {
  padding-top: 50px;
}

.outro-inner {
  position: relative;
  overflow: hidden;
  padding: 94px 0 72px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.outro-inner::before,
.outro-inner::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.outro-inner::before {
  top: -170px;
  left: 4%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(231, 181, 161, 0.16), transparent 66%);
}

.outro-inner::after {
  right: 1%;
  bottom: -230px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(125, 157, 145, 0.12), transparent 68%);
}

.outro-eyebrow {
  justify-content: center;
}

.outro h2 {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.7vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.36;
}

.outro h2 span {
  display: inline-block;
  margin-top: 8px;
  color: var(--auburn);
  font-family: var(--hand);
  font-size: 0.76em;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.outro-note {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.outro-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 30px;
}

.outro-mark {
  position: absolute;
  right: 5%;
  bottom: -42px;
  color: rgba(154, 90, 61, 0.055);
  font-family: var(--serif);
  font-size: clamp(12rem, 25vw, 22rem);
  font-weight: 700;
  line-height: 1;
  transform: rotate(-7deg);
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.footer-middle {
  color: var(--ink-soft);
}

/* ---------- animations ---------- */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse-ring {
  0% {
    opacity: 0.7;
    transform: scale(0.75);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes pulse-opacity {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes slow-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typing-dot {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .interest-card.reveal {
  opacity: 0;
  transform: translateY(calc(var(--lift) + 26px)) rotate(var(--rot));
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.js .interest-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(var(--lift)) rotate(var(--rot));
}

.js .interest-card.reveal.is-visible:hover {
  transform: translateY(calc(var(--lift) - 8px)) rotate(0deg);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise-in 0.9s var(--ease) 0.08s both;
  }

  .hero-art {
    animation: rise-in 1.05s var(--ease) 0.23s both;
  }

  .tree-node.is-active::after {
    animation: slow-pulse 3.8s ease-in-out infinite;
  }
}

@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .interest-card.reveal {
    opacity: 1;
    transform: translateY(var(--lift)) rotate(var(--rot));
  }

  .js .interest-card.reveal.is-visible:hover {
    transform: translateY(calc(var(--lift) - 8px)) rotate(0deg);
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  }

  .hero-name {
    font-size: clamp(6.5rem, 12vw, 9.4rem);
  }

  .hero-art {
    min-height: 630px;
  }

  .art-frame {
    width: min(400px, 84%);
  }

  .art-note {
    left: -6px;
    width: 146px;
  }

  .round-stamp {
    right: -2%;
    width: 100px;
    height: 100px;
  }

  .stamp-center {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .about-grid {
    gap: 54px;
  }

  .skill-layout {
    gap: 32px;
  }

  .skill-desc {
    font-size: 11.5px;
  }
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 8px;
  }

  .hero-name {
    font-size: clamp(6.2rem, 12vw, 8.5rem);
  }

  .hero-tagline {
    font-size: clamp(1.8rem, 3.7vw, 2.6rem);
  }

  .hero-art {
    min-height: 590px;
  }

  .art-frame {
    width: min(360px, 86%);
  }

  .art-note {
    bottom: 2%;
    width: 136px;
    padding: 23px 15px 13px;
  }

  .art-note p {
    font-size: 18px;
  }

  .round-stamp {
    bottom: 3%;
    width: 88px;
    height: 88px;
  }

  .stamp-center {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .stamp-ring text {
    font-size: 7px;
    letter-spacing: 2.25px;
  }

  .interest-card {
    min-height: 420px;
    padding: 24px 22px;
  }

  .interest-title {
    font-size: 26px;
  }

  .skill-band {
    border-radius: 34px;
  }

  .skill-head {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 48px, 720px);
  }

  .site-nav {
    display: none;
  }

  .header-inner {
    min-height: 78px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 62px;
  }

  .hero::before {
    top: 42%;
    right: -28%;
    width: 400px;
    height: 400px;
  }

  .hero-copy {
    max-width: 630px;
  }

  .hero-name {
    font-size: clamp(6.4rem, 20vw, 9.2rem);
  }

  .hero-intro {
    max-width: 560px;
  }

  .hero-art {
    width: min(100%, 580px);
    min-height: 610px;
    margin: 30px auto 0;
  }

  .art-frame {
    width: min(400px, 78%);
  }

  .art-note {
    left: 4%;
    bottom: 4%;
  }

  .round-stamp {
    right: 5%;
    bottom: 4%;
  }

  .about {
    padding-top: 104px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 24px 30px;
  }

  .about-title {
    grid-column: 1 / -1;
    max-width: 620px;
  }

  .quote-card {
    margin: 12px 0 0 16px;
  }

  .palette-card {
    margin: 8px 0 0;
  }

  .about-body {
    padding-top: 0;
  }

  .about-body > p,
  .facts,
  .about-sign {
    max-width: none;
  }

  .interests {
    padding-top: 74px;
    padding-bottom: 110px;
  }

  .interests-head {
    display: block;
  }

  .interests-head > p {
    margin-top: 22px;
    text-align: left;
  }

  .interest-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 620px;
  }

  .interest-card {
    min-height: 0;
    padding: 28px;
    --lift: 0px !important;
  }

  .interest-copy {
    max-width: 520px;
  }

  .skill-band {
    width: calc(100% - 24px);
    margin-top: 10px;
    border-radius: 30px;
  }

  .skill-inner {
    padding-top: 74px;
    padding-bottom: 70px;
  }

  .skill-head {
    display: block;
  }

  .skill-head > p {
    margin-top: 22px;
    text-align: left;
  }

  .skill-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tree-stage {
    order: -1;
  }

  .tree-wrap {
    width: min(100%, 620px);
  }

  .skill-list {
    max-width: 640px;
  }

  .hello {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .hello-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hello-copy {
    max-width: 620px;
  }

  .hello-doodle {
    display: none;
  }

  .chat-card {
    max-width: 640px;
    transform: none;
  }

  .chat-window {
    height: 300px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 8px 22px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .footer-middle {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 36px);
  }

  .brand-sub {
    display: none;
  }

  .brand-seal {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .brand-name {
    font-size: 14px;
  }

  .header-cta {
    padding: 9px 13px 9px 15px;
    font-size: 10px;
  }

  .header-cta span {
    font-size: 11px;
  }

  .header-inner {
    min-height: 70px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .hero h1 {
    margin-top: 17px;
  }

  .hero-name {
    font-size: clamp(5.8rem, 24vw, 8.2rem);
  }

  .hero-name-en {
    margin-top: 13px;
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  .hero-name-en::after {
    width: 42px;
  }

  .hero-tagline {
    margin-top: 22px;
    font-size: clamp(1.85rem, 8.7vw, 2.45rem);
  }

  .hero-intro {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.95;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 26px;
  }

  .button {
    padding: 12px 18px;
    font-size: 11px;
  }

  .hero-meta {
    gap: 13px 20px;
    margin-top: 28px;
    padding-top: 15px;
  }

  .hero-meta li {
    font-size: 10px;
  }

  .hero-art {
    min-height: 510px;
    margin-top: 12px;
  }

  .art-frame {
    width: min(360px, 80%);
    padding: 12px 12px 58px;
  }

  .art-caption {
    right: 20px;
    bottom: 17px;
    left: 20px;
    font-size: 7px;
  }

  .art-caption strong {
    font-size: 10px;
  }

  .art-status {
    top: 1%;
    left: -1%;
    padding: 8px 10px;
    font-size: 8px;
  }

  .art-sticker {
    top: 2%;
    right: 0;
    padding: 8px 9px;
    font-size: 7px;
  }

  .art-note {
    bottom: 0;
    left: 0;
    width: 118px;
    padding: 21px 13px 11px;
  }

  .art-note p {
    font-size: 16px;
  }

  .note-sign {
    font-size: 10px;
  }

  .art-note::before {
    left: 28px;
    width: 58px;
  }

  .round-stamp {
    right: 0;
    bottom: 1%;
    width: 76px;
    height: 76px;
  }

  .stamp-center {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .stamp-ring text {
    font-size: 6px;
    letter-spacing: 2px;
  }

  .ticker-group span {
    padding: 12px 18px;
    font-size: 11px;
  }

  .section {
    padding: 86px 0;
  }

  .section-label {
    gap: 9px;
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .label-rule {
    width: 28px;
  }

  .label-cn {
    font-size: 10px;
  }

  .section-title {
    margin-top: 18px;
    font-size: clamp(2.25rem, 9.3vw, 3.1rem);
    line-height: 1.32;
  }

  .about {
    padding-top: 84px;
  }

  .about-grid {
    gap: 36px;
    margin-top: 34px;
  }

  .about-title {
    font-size: clamp(2rem, 8.6vw, 2.8rem);
    line-height: 1.45;
  }

  .about-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .quote-card {
    width: min(300px, 88%);
    margin: 8px 0 0 5%;
    padding: 24px;
  }

  .quote-card blockquote {
    font-size: 22px;
  }

  .palette-card {
    width: min(310px, 92%);
    margin: 0 0 0 auto;
  }

  .about-lead {
    font-size: 1.35rem !important;
    line-height: 1.7 !important;
  }

  .about-body > p:not(.about-lead) {
    font-size: 13px;
    line-height: 2;
  }

  .facts > div {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .facts dd {
    font-size: 12px;
  }

  .interests {
    padding-top: 64px;
    padding-bottom: 86px;
  }

  .interests-head {
    margin-bottom: 34px;
  }

  .interests-head > p {
    margin-top: 18px;
    font-size: 11px;
  }

  .interest-grid {
    gap: 14px;
  }

  .interest-card {
    padding: 24px 21px;
    border-radius: 20px;
  }

  .interest-top {
    margin-bottom: 27px;
  }

  .interest-icon {
    width: 52px;
    height: 52px;
    border-radius: 17px 21px 15px 19px;
  }

  .interest-icon svg {
    width: 27px;
    height: 27px;
  }

  .interest-title {
    font-size: 25px;
  }

  .interest-copy {
    margin-top: 15px;
    font-size: 12.5px;
  }

  .card-note {
    font-size: 14px;
  }

  .skill-band {
    width: calc(100% - 16px);
    border-radius: 25px;
  }

  .skill-band::after {
    inset: 7px;
    border-radius: 20px;
  }

  .skill-inner {
    padding-top: 58px;
    padding-bottom: 56px;
  }

  .skill-title-main {
    margin-top: 18px;
    font-size: clamp(2.3rem, 9.8vw, 3.2rem);
  }

  .skill-head > p {
    margin-top: 18px;
    font-size: 11px;
  }

  .skill-head {
    margin-bottom: 34px;
  }

  .tree-stage {
    margin-inline: -7px;
  }

  .tree-wrap {
    width: 100%;
  }

  .tree-node {
    width: 39px;
    height: 39px;
    font-size: 10px;
    border-width: 1.2px;
    box-shadow:
      0 0 0 5px rgba(216, 172, 130, 0.055),
      0 0 24px rgba(216, 172, 130, 0.2);
  }

  .tree-node::after {
    inset: -8px;
  }

  .tree-caption {
    font-size: 6.5px;
    letter-spacing: 0.1em;
  }

  .caption-a {
    left: 12%;
  }

  .caption-b {
    left: 79%;
  }

  .caption-c {
    left: 64%;
  }

  .tree-legend {
    margin-top: 7px;
    font-size: 8px;
  }

  .skill-item {
    padding: 17px 17px;
  }

  .skill-title {
    font-size: 19px;
  }

  .skill-desc {
    font-size: 11px;
  }

  .skill-tags span {
    font-size: 8px;
  }

  .hello {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .hello-grid {
    gap: 34px;
  }

  .hello-copy > p {
    margin-top: 18px;
    font-size: 13px;
  }

  .hello-points {
    margin-top: 20px;
  }

  .chat-head {
    padding: 14px 15px;
  }

  .chat-demo {
    display: none;
  }

  .chat-window {
    height: 286px;
    padding: 19px 15px 15px;
  }

  .chat-prompt-wrap {
    padding: 0 15px 15px;
  }

  .chat-chips {
    gap: 6px;
  }

  .chat-chip {
    padding: 8px 10px;
    font-size: 10.5px;
  }

  .chat-foot {
    padding: 10px 15px;
    font-size: 7.5px;
  }

  .chat-foot span:last-child {
    display: none;
  }

  .bubble {
    max-width: 87%;
    font-size: 12px;
  }

  .outro {
    padding-top: 34px;
  }

  .outro-inner {
    padding: 70px 0 58px;
  }

  .outro h2 {
    margin-top: 20px;
    font-size: clamp(2.05rem, 8.7vw, 2.8rem);
  }

  .outro-note {
    margin-top: 18px;
    font-size: 11px;
    line-height: 1.85;
  }

  .outro-actions {
    gap: 8px;
    margin-top: 24px;
  }

  .outro-mark {
    right: -4%;
    bottom: -20px;
    font-size: 11rem;
  }

  .footer-inner {
    font-size: 8px;
    line-height: 1.7;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 390px) {
  .hero-name {
    font-size: 5.4rem;
  }

  .hero-tagline {
    font-size: 1.8rem;
  }

  .art-note {
    width: 108px;
  }

  .art-note p {
    font-size: 15px;
  }

  .round-stamp {
    width: 68px;
    height: 68px;
  }

  .stamp-center {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .chat-chip {
    font-size: 9.5px;
  }

  .outro-actions .button {
    width: 100%;
  }
}

/* =========================================================
   作品区 WORKS —— 由 content.js 的 works 数组驱动
   ========================================================= */

.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.works-head > p {
  max-width: 260px;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.95;
  text-align: right;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 6px;
  border: 1px solid var(--line);
  border-radius: 20px 24px 21px 19px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.34), transparent 46%),
    rgba(251, 245, 234, 0.72);
  box-shadow: 0 26px 52px -46px rgba(63, 44, 37, 0.6);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.work-card:hover {
  border-color: rgba(154, 90, 61, 0.3);
  box-shadow: 0 34px 62px -44px rgba(63, 44, 37, 0.5);
  transform: translateY(-8px) rotate(0deg);
}

.work-media {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 15px 18px 14px 16px;
  background: var(--paper-deep);
  cursor: pointer;
}

.work-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-media img {
  transform: scale(1.035);
}

.work-media:focus-visible {
  outline: 2px solid var(--auburn);
  outline-offset: 3px;
}

.work-meta {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fbf2e4;
  background: rgba(63, 44, 37, 0.55);
  font-size: 9px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

.work-body {
  padding: 15px 6px 8px;
}

.work-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.work-body .tags {
  padding-top: 12px;
}

/* 空状态：还没挂作品时的一张便签 */
.work-empty {
  position: relative;
  grid-column: 1 / -1;
  padding: 46px 34px 42px;
  border: 1.5px dashed rgba(154, 90, 61, 0.26);
  border-radius: 24px;
  background: rgba(251, 245, 234, 0.5);
  text-align: center;
}

.work-empty .tape {
  top: -11px;
  left: 50%;
  width: 90px;
  height: 22px;
  margin-left: -45px;
  background: rgba(207, 169, 124, 0.42);
  transform: rotate(-1.5deg);
}

.work-empty-title {
  color: var(--auburn);
  font-family: var(--hand);
  font-size: 23px;
}

.work-empty-copy {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.9;
}

.work-empty-copy code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(154, 90, 61, 0.1);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
}

/* 点击放大 */
body.is-locked {
  overflow: hidden;
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
  background: rgba(38, 26, 21, 0.72);
  opacity: 0;
  transition: opacity 0.26s var(--ease);
}

.work-lightbox.is-open {
  opacity: 1;
}

.work-lightbox-figure {
  max-width: min(880px, 92vw);
  margin: 0;
  padding: 14px 14px 0;
  border-radius: 18px;
  background: var(--paper-light);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.work-lightbox.is-open .work-lightbox-figure {
  transform: none;
}

.work-lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
}

.work-lightbox figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 6px 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.work-lightbox figcaption strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.work-lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(251, 242, 228, 0.3);
  border-radius: 50%;
  color: var(--paper-light);
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.work-lightbox-close:hover {
  border-color: rgba(251, 242, 228, 0.7);
  background: rgba(251, 242, 228, 0.12);
}

/* 入场动画与卡片保持一致 */
.js .work-card.reveal {
  opacity: 0;
  transform: translateY(26px) rotate(var(--rot, 0deg));
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.js .work-card.reveal.is-visible {
  opacity: 1;
  transform: rotate(var(--rot, 0deg));
}

.js .work-card.reveal.is-visible:hover {
  transform: translateY(-8px) rotate(0deg);
}

/* ---------- 新增：第三种技能状态「还没发芽」 ---------- */
.skill-status.is-planned {
  color: rgba(247, 239, 226, 0.4);
  background: rgba(247, 239, 226, 0.06);
}

.skill-status.is-planned i {
  opacity: 0.45;
}

.tree-node.is-planned {
  border-style: dotted;
  border-color: rgba(247, 239, 226, 0.22);
  color: rgba(247, 239, 226, 0.42);
  background: #35251f;
  box-shadow: 0 0 0 7px rgba(247, 239, 226, 0.03);
}

.tree-node.is-planned::after {
  border-color: rgba(247, 239, 226, 0.08);
}

.tree-node.is-planned:hover,
.tree-node.is-planned.is-active {
  color: #392720;
  border-color: rgba(216, 172, 130, 0.7);
  background: rgba(216, 172, 130, 0.72);
  box-shadow: 0 0 0 8px rgba(216, 172, 130, 0.06);
}

.legend-planned {
  border: 1px solid rgba(247, 239, 226, 0.28);
  background: transparent;
}

/* ---------- 作品区响应式 ---------- */
@media (max-width: 1020px) {
  .site-nav {
    gap: 17px;
  }

  .work-grid {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .works-head {
    display: block;
    margin-bottom: 40px;
  }

  .works-head > p {
    max-width: 420px;
    margin-top: 18px;
    text-align: left;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-media img {
    aspect-ratio: 4 / 3;
  }

  .work-empty {
    padding: 38px 20px 34px;
  }

  .work-lightbox-close {
    top: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .work-card.reveal {
    opacity: 1;
    transform: rotate(var(--rot, 0deg));
  }
}

/* =========================================================
   作品卡 v2 —— 支持项目型作品（描述 / 外链 / 封面比例 / 无图封面）
   ========================================================= */

.work-media {
  aspect-ratio: var(--work-ratio, 4 / 5);
}

.work-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.work-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 172, 130, 0.25), transparent 60%),
    var(--paper-deep);
}

.work-cover i {
  color: var(--auburn);
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-style: normal;
  opacity: 0.8;
}

.work-cover em {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  color: var(--ink-faint);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-align: center;
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-desc {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.85;
}

.work-body .tags {
  margin-top: auto;
  padding-top: 14px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--auburn);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}

.work-link span {
  transition: transform 0.25s var(--ease);
}

.work-link:hover {
  color: var(--rust);
}

.work-link:hover span {
  transform: translate(2px, -2px);
}

/* =========================================================
   第 4 个技能挂点（本地小模型 · 已点亮）
   ========================================================= */

.node-d {
  --x: 26.4%;
  --y: 26.6%;
}

.caption-d {
  top: 25.5%;
  left: 6.5%;
}

/* 多行回复保留换行 */
.chat-window .bubble {
  white-space: pre-line;
}

/* 作品协同者 */
.work-people {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-family: var(--hand);
  font-size: 14px;
}

.work-people span {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.work-lightbox-people {
  margin-left: auto;
  color: var(--ink-faint);
  font-size: 11px;
}

/* =========================================================
   结尾的一句——「这一页，随时间成长与更新」
   ========================================================= */

.outro-growth {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 42px;
  color: var(--ink-faint);
  font-family: var(--hand);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.outro-growth::before,
.outro-growth::after {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
  content: "";
}

.outro-growth::after {
  background: linear-gradient(270deg, transparent, var(--line-strong));
}

@media (max-width: 640px) {
  .outro-growth {
    gap: 9px;
    margin-top: 34px;
    font-size: 15px;
    letter-spacing: 0.05em;
  }

  .outro-growth::before,
  .outro-growth::after {
    width: 18px;
  }
}

/* =========================================================
   建设中的作品卡（status: "building"）与题辞行
   ========================================================= */

.work-card.is-building {
  border-style: dashed;
  border-color: rgba(125, 157, 145, 0.42);
}

.work-quote {
  margin-top: 8px;
  color: var(--auburn);
  font-family: var(--hand);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.work-meta.is-building::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: rgba(196, 228, 202, 0.95);
  box-shadow: 0 0 6px rgba(196, 228, 202, 0.8);
  vertical-align: 1px;
  content: "";
  animation: buildingPulse 1.6s ease-in-out infinite;
}

@keyframes buildingPulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-meta.is-building::before {
    animation: none;
  }
}
