/* About page: all styles stay inside this page. */
#about > .article-meta#top { display: none; }
#about { padding: clamp(18px, 4vw, 54px); }
#about #post-body { margin: 0; }
.about-me { --am-ink: #e9edf1; --am-muted: #a9b4bf; --am-line: #ffffff20; --am-accent: #9be4d2; color: var(--am-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif; }
#about.article { background: #202830; border: 1px solid #ffffff12; }
#about .about-me :is(h1, h2, h3, p) { padding: 0; border: 0; }
#about .about-me :is(h1, h2, h3)::before { display: none; }
#about .about-me h1 { margin: 18px 0 24px; font-size: clamp(38px, 5vw, 66px); line-height: 1.17; letter-spacing: -2px; color: var(--am-ink); }
#about .about-me h1 > span { color: var(--am-accent); }
.about-dot { color: #e7bf86; }
.about-hero { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 48px; padding: 12px 0 42px; }
.about-eyebrow, .about-kicker { font-size: 11px; font-weight: 650; letter-spacing: 2px; color: var(--am-accent); }
#about .about-lead { margin: 0 0 16px; font-size: 21px; line-height: 1.8; color: #e4e7ea; }
#about .about-description { max-width: 450px; color: var(--am-muted); line-height: 1.95; font-size: 14px; }
.about-location { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 12px; color: var(--am-muted); }
.about-status-dot { width: 7px; height: 7px; background: var(--am-accent); border-radius: 50%; box-shadow: 0 0 0 4px #9be4d212; }
.about-id-card { padding: 24px; background: #29353c; border: 1px solid #9be4d24a; border-radius: 18px; transform: rotate(3deg); display: flex; flex-direction: column; align-items: center; box-shadow: 8px 12px 0 #111a2160; }
.about-id-top, .about-id-bottom { display: flex; width: 100%; justify-content: space-between; color: var(--am-muted); font-size: 10px; letter-spacing: 1.5px; }
.about-id-top { padding-bottom: 20px; border-bottom: 1px solid var(--am-line); }
#about .about-avatar { width: 96px; height: 96px; margin: 26px 0 16px; border-radius: 50%; object-fit: cover; background: #fff; }
.about-id-card > strong { font-size: 23px; letter-spacing: -.5px; }
.about-id-caption { margin: 8px 0 26px; color: var(--am-muted); font-size: 11px; }
.about-id-bottom { padding-top: 18px; border-top: 1px solid var(--am-line); }
.about-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-top: 1px solid var(--am-line); border-bottom: 1px solid var(--am-line); }
#about .about-nav a { color: var(--am-muted); border: 0; padding: 7px 14px; border-radius: 6px; font-size: 12px; text-decoration: none; }
#about .about-nav a:hover { background: #ffffff09; color: var(--am-accent); }
.about-section { margin-top: 48px; scroll-margin-top: 95px; }
.about-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.about-number { font-family: monospace; color: var(--am-accent); font-size: 12px; }
#about .about-section-heading h2 { color: var(--am-ink); font-size: 21px; margin: 0; line-height: 1.5; letter-spacing: -.3px; }
.about-section-en { margin-left: auto; font-size: 9px; letter-spacing: 1.4px; color: #7f929f; }
.about-study-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; }
.about-panel { background: #29323b; border: 1px solid var(--am-line); border-radius: 12px; padding: 26px; min-width: 0; transition: border-color .2s, transform .2s; }
.about-panel:hover { border-color: #9be4d266; transform: translateY(-2px); }
#about .about-panel h3 { color: var(--am-ink); font-size: 20px; line-height: 1.55; margin: 16px 0 12px; }
#about .about-panel p { color: var(--am-muted); line-height: 1.95; font-size: 13px; margin: 0 0 20px; }
#about .about-research h3 { font-size: 27px; }
.about-path { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0; font-size: 11px; color: #c7d1d8; }
.about-path span { padding: 5px 8px; background: #ffffff07; border-radius: 4px; }
.about-path b { font-weight: 400; color: var(--am-accent); }
#about .about-link { display: inline-flex; align-items: center; gap: 18px; color: var(--am-accent); text-decoration: none; border: 0; font-size: 12px; font-weight: 600; }
#about .about-link:hover { color: #fff; }
.about-code-mark { font-size: 48px; font-family: monospace; color: #e7bf86; margin: 18px 0; }
.about-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.about-tags span { font-size: 10px; padding: 5px 9px; color: #ccd6df; border: 1px solid #ffffff20; border-radius: 5px; }
.about-interest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-wide { grid-column: span 2; }
.about-interest-top { display: flex; justify-content: space-between; align-items: center; }
.about-symbol { font-size: 28px; color: #93b5c4; line-height: 1; }
.about-games { background: #2b3b3b; }
.about-games .about-symbol { color: #9be4d2; font-size: 38px; }
.about-games .about-link { margin-top: 24px; }
.about-reading { background: #3b3632; }
.about-reading .about-kicker { color: #e7bf86; }
.about-footnote { color: #c8b59b; font-size: 11px; }
.about-japan { background: #303845; }
.about-video-games { background: #303445; }
.about-personality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-pair { padding: 28px; border: 1px solid var(--am-line); border-radius: 12px; font-size: 20px; color: var(--am-ink); }
.about-pair-and { font-size: 12px; color: var(--am-muted); margin: 0 10px; }
#about .about-pair p { color: var(--am-muted); font-size: 12px; margin: 16px 0 0; line-height: 1.9; }
.about-blog-section { padding: 36px; border: 1px solid #9be4d240; border-radius: 14px; background: linear-gradient(120deg, #293d3d, #29343b); }
#about .about-blog-section h2 { color: var(--am-ink); font-size: clamp(24px, 3.5vw, 34px); line-height: 1.5; margin: 18px 0; letter-spacing: -.6px; }
#about .about-blog-section p { max-width: 510px; color: var(--am-muted); font-size: 13px; line-height: 1.95; }
.about-blog-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 36px; }
#about .about-blog-links a { display: flex; gap: 20px; padding: 10px 14px; border: 1px solid #9be4d240; border-radius: 6px; text-decoration: none; color: var(--am-accent); font-size: 12px; }
#about .about-blog-links a:hover { background: #9be4d211; border-color: var(--am-accent); }
.about-signoff { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid var(--am-line); }
.about-signoff > span { max-width: 350px; font-size: 12px; color: var(--am-muted); line-height: 1.9; }
.about-signoff strong { color: var(--am-accent); font-family: Georgia, serif; font-style: italic; font-size: 25px; }
.about-me a:focus-visible { outline: 2px solid var(--am-accent); outline-offset: 4px; }
@media (max-width: 850px) {
  .about-hero { gap: 28px; }
  .about-study-grid { grid-template-columns: 1fr; }
  .about-interest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-personality-grid { grid-template-columns: 1fr; }
  .about-section-en { display: none; }
}
@media (max-width: 560px) {
  .about-hero { grid-template-columns: 1fr; padding-bottom: 30px; }
  .about-id-card { max-width: 270px; width: calc(100% - 48px); margin: 8px auto; transform: rotate(2deg); }
  .about-interest-grid { grid-template-columns: 1fr; }
  .about-wide { grid-column: auto; }
  .about-section { margin-top: 34px; }
  .about-panel, .about-pair { padding: 22px; }
  .about-blog-section { padding: 24px; }
  #about .about-section-heading h2 { font-size: 19px; }
  #about .about-me h1 { letter-spacing: -1px; }
  #about .about-nav a { padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .about-panel { transition: none; } .about-panel:hover { transform: none; } }
