@font-face {
  font-family: "Ma Shan Zheng";
  src: url(ma-shan-zheng.ttf) format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Caveat;
  src: url(caveat.ttf) format("truetype");
  font-weight: 600;
  font-display: swap;
}
.about-nav, .about-content {
  display: grid;
  padding-inline: 1vw;
  column-gap: .25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.about-content { align-items: start; }
.portrait-content {
  grid-column: 2;
  justify-self: center;
  width: min(28rem, calc(100% - clamp(1rem, 3vw, 3rem)));
  padding-block: .5rem 2rem;
}
.portrait-content img { display: block; width: 100%; height: auto; }
.about-nav {
  align-items: center;
  padding-block: clamp(1rem, 2.4vw, 2.5rem);
}
.about-nav a {
  --tilt: -2deg;
  position: relative;
  display: grid;
  justify-items: center;
  gap: .08em;
  min-height: 48px;
  padding: .25rem .45rem .65rem;
  background: transparent;
  box-shadow: none;
  border-radius: .25rem;
  text-decoration: none;
  color: #b81921;
  transform: rotate(var(--tilt));
}
.about-nav a:nth-child(2) { --tilt: -1deg; }
.ink-zh {
  font: 400 clamp(1.25rem, 2.35vw, 2.45rem)/1.1 "Ma Shan Zheng", KaiTi, cursive;
  white-space: nowrap;
}
.ink-en {
  font: 600 clamp(1.1rem, 1.8vw, 1.85rem)/1 Caveat, cursive;
  white-space: nowrap;
}
.about-nav a::after {
  content: "";
  position: absolute;
  inset: auto 1% 0;
  height: .34rem;
  background: currentColor;
  clip-path: polygon(0 70%, 15% 34%, 38% 15%, 69% 8%, 93% 21%, 100% 40%, 76% 49%, 56% 55%, 27% 71%, 4% 90%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease-out;
}
.about-nav a[aria-current="page"] { color: #d00019; }
@media (hover: hover) {
  .about-nav a:hover::after { transform: scaleX(.55); }
}
@media (hover: none) {
  .about-nav a[aria-current="page"]::after { transform: scaleX(1); }
}
.about-nav a:focus-visible::after { transform: scaleX(.55); }
@media (prefers-reduced-motion: reduce) {
  .about-nav a::after { transition: none; }
}
.about-nav a:focus-visible { outline: 2px dashed currentColor; outline-offset: 3px; }
@media (max-width:360px) {
  .about-nav a { padding-inline: .15rem; }
}
