/* ============================================================
   Brucebat · Neo-brutal 个人主页
   仿 creem.io 风格：厚黑边 + 硬投影 + 鲜艳点缀 + 轻微歪斜
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:         #F5F2F0;
  --bg-2:       #ECE5DC;
  --paper:      #FFFFFF;
  --ink:        #151617;
  --text:       #2D2E2F;
  --muted:      #6F6A66;

  --peach:      #FFBE98;
  --peach-2:    #FFD2B8;
  --green:      #4ECB71;
  --green-2:    #7DE093;
  --violet:     #B09CFB;
  --violet-2:   #C9BDFE;
  --gold:       #FFD700;
  --coral:      #FF6B6B;
  --yellow-2:   #FFBE0B;

  --bw:         3px;           /* global border width */
  --bw-2:       4px;
  --sh:         6px 6px 0 0 var(--ink);     /* hard offset shadow */
  --sh-sm:      4px 4px 0 0 var(--ink);
  --sh-press:   2px 2px 0 0 var(--ink);

  --r:          18px;          /* corner radius */
  --r-sm:       12px;

  --maxw:       1200px;

  --font-disp:  "Archivo Black", "Inter", "Helvetica Neue",
                "PingFang SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-body:  "Inter", "Helvetica Neue",
                "PingFang SC", "Source Han Sans SC", "Microsoft YaHei",
                system-ui, -apple-system, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, SFMono-Regular,
                Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: .5rem 1rem; border-radius: 8px;
  z-index: 9999;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--bw) solid var(--ink);
}
.hdr__inner {
  display: flex; align-items: center;
  gap: 24px;
  height: 68px;
}
.hdr__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-disp);
  font-size: 17px;
  color: var(--ink);
}
.hdr__mark {
  width: 38px; height: 38px;
  display: block;
  padding: 0;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.hdr__mark img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.hdr__name { letter-spacing: -.01em; }
.hdr__slash { color: var(--muted); padding: 0 2px; }
.hdr__sub {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}
.hdr__nav {
  display: none;
  margin-left: auto;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 500;
}
.hdr__nav a { padding: 6px 8px; }
.hdr__nav a:hover { color: var(--coral); }
.hdr__cta { margin-left: auto; display: inline-flex; align-items: center; }
@media (min-width: 760px) {
  .hdr__nav { display: flex; }
  .hdr__cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--sh-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--ink);
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--ink); }
.btn--ghost {
  background: var(--paper);
}
.btn--cheeky {
  background: var(--peach);
}
.btn--cheeky:hover { background: var(--peach-2); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(60px, 9vw, 120px) clamp(40px, 6vw, 80px);
  border-bottom: var(--bw) solid var(--ink);
  overflow: hidden;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 clamp(28px, 4vw, 48px);
  box-shadow: var(--sh-sm);
}
.badge__dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(78,203,113,.25);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(78,203,113,.25); }
  50%      { box-shadow: 0 0 0 8px rgba(78,203,113,.10); }
}

.display {
  font-family: var(--font-disp);
  font-size: clamp(56px, 12vw, 180px);
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 0 0 28px;
  font-weight: 900;
  /* 让高亮行的"上下间隔"看起来更舒展 */
}
.display__hl {
  background: var(--peach);
  padding: 0 .15em;
  border-radius: 10px;
  box-shadow: 0 6px 0 0 var(--ink);
  display: inline-block;
  transform: rotate(-2deg);
}
.display__dot { color: var(--coral); }

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text);
  max-width: 620px;
  margin: 0 0 36px;
}
.lede b { color: var(--ink); }

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 60px;
}

/* ---------- Floaters ---------- */
.floaters {
  position: relative;
  height: 200px;
  margin-top: 12px;
}
@media (min-width: 760px) {
  .floaters { height: 240px; }
}
.floater {
  position: absolute;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  box-shadow: var(--sh-sm);
  display: inline-flex; align-items: center; gap: 10px;
  animation: wobble 4s ease-in-out infinite;
}
.floater__chip {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-size: 14px;
}
.floater--a { top: 0;   left: 4%;   background: var(--peach); transform: rotate(-3deg); animation-delay: 0s; }
.floater--b { top: 20%; right: 6%;  background: var(--green-2); transform: rotate(2deg);  animation-delay: .4s; }
.floater--c { top: 55%; left: 14%;  background: var(--violet); transform: rotate(-2deg); animation-delay: .8s; }
.floater--d { top: 65%; right: 12%; background: var(--gold); transform: rotate(3deg);  animation-delay: 1.2s; }

.floater--a { animation-name: wobbleA; }
.floater--b { animation-name: wobbleB; }
.floater--c { animation-name: wobbleC; }
.floater--d { animation-name: wobbleD; }
@keyframes wobbleA { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-6px); } }
@keyframes wobbleB { 0%,100% { transform: rotate(2deg)  translateY(0); } 50% { transform: rotate(2deg)  translateY(-8px); } }
@keyframes wobbleC { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-5px); } }
@keyframes wobbleD { 0%,100% { transform: rotate(3deg)  translateY(0); } 50% { transform: rotate(3deg)  translateY(-7px); } }
@keyframes wobble { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  margin-top: clamp(40px, 6vw, 60px);
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  padding-block: 14px;
  animation: scroll 28s linear infinite;
  gap: 28px;
}
.marquee__track span { white-space: nowrap; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section ---------- */
.section {
  padding-block: clamp(64px, 9vw, 120px);
  border-bottom: var(--bw) solid var(--ink);
}
.section--alt { background: var(--bg-2); }

.sect-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
}
.sect-head__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .12em;
}
.sect-head__title {
  font-family: var(--font-disp);
  font-size: clamp(40px, 6vw, 76px);
  margin: 0;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1;
}
.sect-head__sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 clamp(40px, 5vw, 56px);
  color: var(--text);
}

/* ---------- Tile grid (About) ---------- */
.grid-3 {
  display: grid;
  gap: clamp(20px, 2.5vw, 28px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.tile {
  position: relative;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--sh);
  transition: transform .25s ease;
}
.tile:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--ink); }
.tile--lift { background: var(--peach-2); }

.tile__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--ink);
  background: var(--paper);
}
.tile__icon--peach  { background: var(--peach); }
.tile__icon--green  { background: var(--green); }
.tile__icon--violet { background: var(--violet); }

.tile__title {
  font-family: var(--font-disp);
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -.01em;
  color: var(--ink);
}
.tile__body {
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.6;
}
.tile__body b { color: var(--ink); }

.tile__chip {
  display: inline-block;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
}

.tile__badge {
  position: absolute;
  top: -14px; right: -10px;
  background: var(--gold);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(6deg);
  box-shadow: var(--sh-sm);
}

/* ---------- Bars (Stack) ---------- */
.grid-stack {
  display: grid;
  gap: 22px;
  max-width: 800px;
}
.bar {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  box-shadow: var(--sh-sm);
}
.bar__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}
.bar__name {
  font-family: var(--font-disp);
  font-size: 18px;
  color: var(--ink);
}
.bar__tag {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: .08em;
}
.bar__rail {
  position: relative;
  height: 14px;
  background: var(--bg-2);
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.bar__fill {
  position: absolute; inset: 0;
  width: var(--w, 0);
  border-radius: inherit;
  transform-origin: left;
  animation: barIn 1s cubic-bezier(.4,.8,.25,1) both;
}
.bar__fill--green  { background: var(--green); }
.bar__fill--peach  { background: var(--peach); }
.bar__fill--violet { background: var(--violet); }
.bar__fill--dark   { background: var(--ink); }
@keyframes barIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- Honest cards ---------- */
.honest {
  display: grid;
  gap: clamp(20px, 2.5vw, 28px);
  grid-template-columns: 1fr;
  margin-top: clamp(40px, 5vw, 56px);
}
@media (min-width: 760px) {
  .honest { grid-template-columns: repeat(2, 1fr); }
}
.honest__card {
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--sh);
}
.honest__card--bad  { background: var(--paper); }
.honest__card--good { background: var(--green-2); }
.honest__title {
  font-family: var(--font-disp);
  margin: 0 0 16px;
  font-size: 22px;
  color: var(--ink);
}
.honest__list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--text);
}
.honest__list li {
  padding-left: 22px;
  position: relative;
}
.honest__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Works ---------- */
.grid-2 {
  display: grid;
  gap: clamp(24px, 3vw, 32px);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--ink); }
.card--lift { transform: rotate(-1deg); }
.card--lift:hover { transform: rotate(-1deg) translate(-2px, -2px); }

.card__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  border-bottom: var(--bw) solid var(--ink);
  background: var(--bg-2);
  overflow: hidden;
}
.card__visual--peach  { background: var(--peach); }
.card__visual--violet { background: var(--violet); }

.card__chip {
  font-family: var(--font-disp);
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -.04em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.card__visual--peach  .card__chip { color: var(--ink); }
.card__visual--violet .card__chip { color: var(--ink); }

.card__doodle {
  position: absolute;
  inset: 0;
  opacity: .55;
  color: var(--ink);
}

.card__body {
  padding: clamp(20px, 2.6vw, 28px);
  display: flex; flex-direction: column; flex: 1;
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.card__title {
  font-family: var(--font-disp);
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.card__body-text {
  margin: 0 0 20px;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}
.card__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.card__hash {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* Phone mockup in works */
.phone {
  width: 60%;
  max-width: 220px;
  aspect-ratio: 9 / 19;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 28px;
  padding: 14px 10px 10px;
  position: relative;
  box-shadow: var(--sh);
}
.phone__notch {
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 14px;
  background: var(--ink);
  border-radius: 999px;
}
.phone__screen {
  display: flex; flex-direction: column;
  gap: 8px;
  padding-top: 12px;
}
.phone__hd {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-disp);
  font-size: 13px;
  color: var(--ink);
  padding: 4px 4px 8px;
  border-bottom: 1px dashed var(--ink);
}
.phone__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px;
}
.phone__row--today {
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
}
.phone__day { font-family: var(--font-mono); font-size: 10px; }
.phone__big { font-family: var(--font-disp); font-size: 14px; }
.phone__card {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.phone__card--green { background: var(--green-2); }
.phone__time {
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
}
.phone__title {
  font-family: var(--font-disp); font-size: 12px; color: var(--ink);
  line-height: 1.2;
}
.phone__chip-row {
  display: flex; gap: 4px;
}
.phone__chip-row span {
  font-family: var(--font-mono); font-size: 9px;
  background: var(--ink); color: var(--bg);
  padding: 2px 5px; border-radius: 999px;
}

.phone__bar { position: relative; height: 6px; background: var(--bg); border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; margin-top: 2px; }
.phone__bar > span { display: block; height: 100%; width: var(--w, 0); background: var(--green); border-radius: inherit; }

/* ---------- Notes ---------- */
.notes {
  display: flex; flex-direction: column;
  border-top: var(--bw) solid var(--ink);
}
.note {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 22px 12px;
  border-bottom: var(--bw) solid var(--ink);
  font-family: var(--font-disp);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--paper);
  transition: background .15s ease, padding .2s ease;
}
.note:hover {
  background: var(--peach-2);
  padding-left: 24px;
}
.note__no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.note__title { color: var(--ink); }
.note__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  border: 2px solid var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg);
}
.note__arrow {
  font-size: 22px; font-weight: 700;
  transition: transform .2s ease;
}
.note:hover .note__arrow { transform: translate(4px, -4px); }

@media (max-width: 760px) {
  .note { grid-template-columns: 40px 1fr auto; }
  .note__tag { display: none; }
}

/* ---------- Terminal ---------- */
.terminal {
  background: var(--ink);
  color: var(--bg);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
  max-width: 760px;
}
.terminal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--ink);
  border-bottom: 1px solid #2a2b2c;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #989795;
}
.terminal__dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}
.terminal__dot--r { background: #FF5F57; }
.terminal__dot--y { background: #FEBC2E; }
.terminal__dot--g { background: #28C840; }
.terminal__name { margin-left: 12px; }
.terminal__body {
  margin: 0;
  padding: 20px 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
}
.c-pr      { color: #FF6B6B; font-weight: 600; }
.c-cmd     { color: #FFBE0B; }
.c-comment { color: #6F6A66; font-style: italic; }
.c-k       { color: #4ECB71; }
.c-v       { color: var(--bg); }
.c-link    { color: #B09CFB; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 32px;
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
.contact-card--dark {
  background: var(--ink);
  color: var(--bg);
}
.contact-card--dark .contact-card__label { color: #989795; }
.contact-card--dark .contact-card__hint { color: #BDBAB6; }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.contact-card__value {
  font-family: var(--font-disp);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  color: inherit;
}
.contact-card__hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
.link-light { color: var(--peach); border-bottom: 2px solid var(--peach); padding-bottom: 1px; }
.qr {
  width: 140px; height: 140px;
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}

/* ---------- Footer ---------- */
.ftr {
  background: var(--bg);
  border-top: var(--bw) solid var(--ink);
  padding-block: 56px;
}
.ftr__inner {
  display: flex; flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.ftr__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-disp);
  font-size: 18px;
  color: var(--ink);
}
.ftr__mark {
  width: 36px; height: 36px;
  display: block;
  padding: 0;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}
.ftr__mark img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.ftr__nav {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 14px;
  color: var(--text);
}
.ftr__nav a:hover { color: var(--coral); }
.ftr__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}

/* ---------- Live chat pill ---------- */
.chat-pill {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-disp);
  font-size: 14px;
  box-shadow: var(--sh);
  cursor: pointer;
  transition: transform .2s ease;
}
.chat-pill:hover { transform: translate(-2px, -2px); }
.chat-pill__dot {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(78,203,113,.25);
  animation: pulse 1.8s ease-in-out infinite;
}
.chat-pill__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #989795;
  border-left: 1px solid #2a2b2c;
  padding-left: 12px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 90px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--peach);
  color: var(--ink);
  padding: 10px 18px;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--sh-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 200;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .hdr, .floater, .badge, .marquee, .chat-pill, .floaters, .toast { display: none !important; }
  .section { border-top: 1px solid #ccc; }
  body { background: white; color: black; }
}

/* ---------- Contact solo (single-card layout) ---------- */
.contact-card--solo {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: 40px clamp(20px, 4vw, 56px) 32px;
}
.contact-card--solo .contact-card__label { margin-bottom: 14px; }
.contact-card--solo .contact-card__value {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 14px;
  /* font-weight inherited from base .contact-card__value */
}
.contact-card--solo .contact-card__hint { margin-bottom: 28px; }

.wechat-promo {
  display: flex; justify-content: center;
  margin-top: 16px;
}
.wechat-promo img {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 14px;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--sh);
  background: white;
}

/* ---------- Blog scene (richer card visual) ---------- */
.card__visual--scene {
  /* override default grid centering */
  display: block;
  position: relative;
  padding: 0;
}
.card__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.card__pin {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  background: var(--paper);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-disp);
  font-size: 13px;
  letter-spacing: -.02em;
  box-shadow: var(--sh-sm);
  transform: rotate(-3deg);
}

/* ---------- Contact grid (WeChat + Bilibili) ---------- */
.contact-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin-inline: auto;
}
@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* Bilibili mini profile card link */
.bili-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: left;
}
.bili-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--ink);
}
.bili-card__tv {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.bili-card__tv img {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
}
.bili-card__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.bili-card__name {
  font-family: var(--font-disp);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.bili-card__url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.bili-card__arrow {
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--ink);
  transition: transform .2s ease;
}
.bili-card:hover .bili-card__arrow {
  transform: translate(3px, -3px);
}

/* ---------- Contact card brand icon (square at top) ---------- */
.contact-card__brand {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin: -8px auto 18px;
  padding: 0;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.contact-card__brand img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
}
