@charset "UTF-8";

/* About is the first archive surface. Its outer geometry belongs to chapters.css. */
.home-page .about-section {
  --about-unit: var(--chapter-content-unit, 1px);
  --about-code-size: clamp(10px, calc(10 * var(--about-unit)), 11px);
  --about-soft: light-dark(#4c555d, #89939c);
}
.home-page .about-section .chapter-panel {
  background: var(--chapter-panel-frame), linear-gradient(155deg, light-dark(rgb(9 11 14 / 2.5%), rgb(236 240 244 / 2.5%)), transparent 42%), var(--chapter-panel);
}
.home-page .about-section .connection-card:is(:hover, :focus-visible) {
  background-color: light-dark(rgb(216 218 220 / 90%), rgb(23 26 29 / 90%));
}
.home-page .about-section .about-panel-top {
  align-items: baseline;
  gap: 12px;
  margin-bottom: calc(12 * var(--about-unit));
}
.home-page .about-section .eyebrow {
  font-family: var(--chapter-mono);
  font-size: var(--about-code-size);
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: var(--chapter-muted);
}
.home-page .about-section .about-record-label {
  flex: none;
  color: light-dark(#272d31, #bbc2c8);
  font-size: var(--about-code-size);
  line-height: 1.5;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.home-page .about-section .about-record-label > span {
  margin-left: 5px;
  color: var(--about-soft);
  font-family: var(--chapter-mono);
  letter-spacing: 0.06em;
}
.home-page .about-section .about-calibration {
  position: relative;
  flex: none;
  height: 5px;
  margin-bottom: calc(18 * var(--about-unit));
  pointer-events: none;
}
.home-page .about-section .about-calibration::before {
  content: "";
  position: absolute;
  inset: 2px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--chapter-signal) 0 20px, var(--chapter-rule) 20px);
}
.home-page .about-section .about-calibration > span {
  position: absolute;
  top: 0;
  width: 1px;
  height: 5px;
  background: light-dark(#353b424f, #a8b0b84f);
}
.home-page .about-section .about-calibration > span:nth-child(1) { left: 0; background: var(--chapter-signal); }
.home-page .about-section .about-calibration > span:nth-child(2) { left: 50%; }
.home-page .about-section .about-calibration > span:nth-child(3) { right: 0; }

/* The original image stays intact. Only two short registration corners surround it. */
.home-page .about-section .about-portrait { width: 100%; min-width: 0; margin: 0; }
.home-page .about-section .portrait-registration { position: relative; }
.home-page .about-section .about-avatar { outline: none; box-shadow: none; }
.home-page .about-section .portrait-registration::before,
.home-page .about-section .portrait-registration::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: calc(14 * var(--about-unit));
  height: calc(14 * var(--about-unit));
  border-color: light-dark(#21252a80, #c5cbd180);
  border-style: solid;
  pointer-events: none;
}
.home-page .about-section .portrait-registration::before { top: -5px; left: -5px; border-width: 1px 0 0 1px; }
.home-page .about-section .portrait-registration::after { right: -5px; bottom: -5px; border-width: 0 1px 1px 0; }
.home-page .about-section .about-socials { margin-top: calc(18 * var(--about-unit)); }
.home-page .about-section .about-socials a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: calc(44 * var(--about-unit));
  padding: calc(11 * var(--about-unit)) 0;
  font-size: clamp(13px, calc(12 * var(--about-unit)), 16px);
  line-height: 1.5;
  border-bottom-color: var(--chapter-rule);
}
.home-page .about-section .about-link-index { color: light-dark(#515962, #858e97); font: var(--about-code-size)/1.5 var(--chapter-mono); letter-spacing: 0.05em; }
.home-page .about-section .about-link-name { color: inherit; }
.home-page .about-section .about-link-arrow { justify-self: end; font-size: 15px; transition: color 180ms ease, transform 180ms ease; }
.home-page .about-section .about-socials a:is(:hover, :focus-visible) .about-link-arrow { transform: translate(2px, -2px); }
.home-page .about-section .about-socials a:focus-visible { outline: 1px solid light-dark(#21252a8c, #c5cbd18c); outline-offset: 4px; }

/* Personal details read like an archive record, without turning facts into buttons. */
.home-page .about-section .about-copy { height: max-content; }
.home-page .about-section .about-body { flex: 1 0 auto; }
.home-page .about-section .about-copy h2 {
  font-size: clamp(24px, calc(27 * var(--about-unit)), 36px);
  line-height: 1.4;
}
.home-page .about-section .about-name {
  margin-top: 5px;
  font-size: clamp(54px, calc(62 * var(--about-unit)), 84px);
}
.home-page .about-section .about-text > .about-pronunciation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  max-width: none;
  margin: calc(10 * var(--about-unit)) 0 calc(19 * var(--about-unit));
  padding-top: 4px;
  color: light-dark(#333b41, #a8b1b9);
  font-size: clamp(13px, calc(12 * var(--about-unit)), 16px);
  line-height: 1.8;
}
.home-page .about-section .about-chinese-name {
  color: var(--chapter-text);
  font-size: clamp(21px, calc(21 * var(--about-unit)), 28px);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.home-page .about-section .about-chinese-name ruby { ruby-position: over; ruby-align: center; }
.home-page .about-section .about-chinese-name ruby + ruby { margin-left: 7px; }
.home-page .about-section .about-chinese-name rt {
  color: light-dark(#2f373e, #acb6bf);
  font: 500 clamp(10px, calc(10 * var(--about-unit)), 12px)/1.2 var(--chapter-mono);
  letter-spacing: 0.02em;
}
.home-page .about-section .about-dossier {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(13 * var(--about-unit)) 16px;
  margin: 0;
}
.home-page .about-section .about-fact { min-width: 0; }
.home-page .about-section .about-fact dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
  color: light-dark(#323a42, #a8b2bb);
  font-size: var(--about-code-size);
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.home-page .about-section .about-fact dt > span {
  color: light-dark(#555e67, #7f8993);
  font: 9px/1.5 var(--chapter-mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.home-page .about-section .about-fact dd {
  margin: 5px 0 0;
  color: light-dark(#191d22, #d0d6dc);
  font-size: clamp(14px, calc(13 * var(--about-unit)), 17px);
  line-height: 1.75;
  text-wrap: pretty;
}
.home-page .about-section .about-fact-wide {
  grid-column: 1 / -1;
  padding-top: calc(12 * var(--about-unit));
  border-top: 1px solid var(--chapter-rule);
}
.home-page .about-section .about-games ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page .about-section .about-games li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
}
.home-page .about-section .about-games li > span:first-child {
  color: light-dark(#555e67, #7f8993);
  font: 9px/1.5 var(--chapter-mono);
  letter-spacing: 0.06em;
}
.home-page .about-section .about-preference {
  gap: 10px;
  max-width: none;
  margin-top: calc(16 * var(--about-unit));
  padding-top: calc(13 * var(--about-unit));
}
.home-page .about-section .about-preference p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  font-size: var(--about-code-size);
  line-height: 1.8;
  color: light-dark(#323a42, #a8b2bb);
}
.home-page .about-section .about-preference strong {
  color: var(--chapter-text);
  font-size: clamp(14px, calc(14 * var(--about-unit)), 18px);
  font-weight: 500;
}

/* Number, title, description and action follow the same internal columns on every card. */
.home-page .about-section .connection-heading {
  font-size: var(--about-code-size);
  line-height: 1.5;
  color: light-dark(#24292e, #c0c6cd);
}
.home-page .about-section .connection-card { justify-content: center; }
.home-page .about-section .connection-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(10 * var(--about-unit));
  min-height: 18px;
}
.home-page .about-section .connection-number {
  color: light-dark(#181c1f, #d3d8dd);
  font: 500 clamp(13px, calc(13 * var(--about-unit)), 16px)/1 var(--chapter-mono);
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}
.home-page .about-section .connection-index { color: light-dark(#353d46, #a4aeb8); font-size: var(--about-code-size); line-height: 1.4; letter-spacing: 0.1em; white-space: nowrap; }
.home-page .about-section .connection-rule {
  position: relative;
  display: block;
  flex: none;
  height: 1px;
  margin: calc(10 * var(--about-unit)) 0 calc(12 * var(--about-unit));
  pointer-events: none;
}
.home-page .about-section .connection-rule::before { content: ""; position: absolute; inset: 0; background: var(--chapter-rule); }
.home-page .about-section .connection-rule::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 32px; max-width: 22%; background: var(--chapter-signal); opacity: 0.45; transform: scaleX(0.35); transform-origin: left; transition: opacity 180ms ease, transform 180ms ease; }
.home-page .about-section .connection-card h3 { margin: 0 0 calc(7 * var(--about-unit)); color: var(--chapter-text); font-size: clamp(18px, calc(19 * var(--about-unit)), 25px); line-height: 1.4; }
.home-page .about-section .connection-card p { font-size: clamp(13px, calc(11 * var(--about-unit)), 15px); line-height: 1.75; color: light-dark(#384148, #a0aab3); }
.home-page .about-section .connection-action { margin-top: 0; padding-top: calc(12 * var(--about-unit)); font-size: clamp(11px, calc(10 * var(--about-unit)), 13px); line-height: 1.4; letter-spacing: 0.04em; color: light-dark(#23292e, #c0c7ce); }
.home-page .about-section .connection-action > span:first-child { color: inherit; }
.home-page .about-section .connection-action > .connection-action-arrow { color: light-dark(#434c55, #939da7); transition: color 180ms ease, transform 180ms ease; }
.home-page .about-section .connection-card:is(:hover, :focus-visible) .connection-number,
.home-page .about-section .connection-card:is(:hover, :focus-visible) .connection-action-arrow { color: var(--chapter-signal); }
.home-page .about-section .connection-card:is(:hover, :focus-visible) .connection-action-arrow { transform: translateX(3px); }
.home-page .about-section .connection-card:is(:hover, :focus-visible) .connection-rule::after { opacity: 0.9; transform: scaleX(1); }
.home-page .about-section .rss-label { font-size: 10px; }
.home-page .about-section .connection-footnote { color: light-dark(#424a52, #959fa8); font-size: 10px; line-height: 1.6; letter-spacing: 0.05em; }

@media (max-width: 1200px) {
  .home-page .about-section .about-body { align-items: start; }
  .home-page .about-section .connection-card-head { gap: 8px; }
  .home-page .about-section .connection-card { padding-block: 22px; }
  .home-page .about-section .connection-action { margin-top: auto; }
}
@media (max-width: 720px) {
  .home-page .about-section .about-panel-top { flex-wrap: wrap; row-gap: 5px; margin-bottom: 13px; }
  .home-page .about-section .about-calibration { margin-bottom: 25px; }
  .home-page .about-section .about-socials a { min-height: 44px; }
  .home-page .about-section .about-text > .about-pronunciation { margin-block: 12px 22px; font-size: 14px; }
  .home-page .about-section .about-dossier { row-gap: 16px; }
  .home-page .about-section .about-preference { margin-top: 20px; padding-top: 16px; }
  .home-page .about-section .connection-card { padding-block: 24px; }
  .home-page .about-section .connection-card h3 { font-size: 20px; }
  .home-page .about-section .connection-action { padding-top: 15px; }
}
@media (max-width: 480px) {
  .home-page .about-section .about-record-label { font-size: 10px; }
  .home-page .about-section .connection-heading { flex-wrap: wrap; gap: 5px 12px; }
}
@media (max-height: 760px) and (min-width: 721px) {
  .home-page .about-section .about-panel-top { margin-bottom: 9px; }
  .home-page .about-section .about-calibration { margin-bottom: 17px; }
  .home-page .about-section .about-socials { margin-top: 13px; }
  .home-page .about-section .about-socials a { min-height: 44px; padding-block: 10px; }
  .home-page .about-section .about-copy h2 { font-size: 24px; }
  .home-page .about-section .about-name { font-size: 54px; }
  .home-page .about-section .about-text > .about-pronunciation { margin-block: 8px 13px; }
  .home-page .about-section .about-dossier { row-gap: 10px; }
  .home-page .about-section .about-fact-wide { padding-top: 9px; }
  .home-page .about-section .about-preference { margin-top: 13px; padding-top: 10px; }
  .home-page .about-section .connection-card { padding-block: 18px; }
  .home-page .about-section .connection-rule { margin-block: 7px 9px; }
  .home-page .about-section .connection-card h3 { margin-bottom: 6px; font-size: 17px; }
  .home-page .about-section .connection-card p { line-height: 1.7; }
  .home-page .about-section .connection-action { padding-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .about-section .about-link-arrow,
  .home-page .about-section .connection-number,
  .home-page .about-section .connection-action-arrow,
  .home-page .about-section .connection-rule::after { transition: none; }
  .home-page .about-section .about-calibration::before,
  .home-page .about-section .connection-rule::before { transform: none; transition: none; }
}
