/* About shares Home’s column and page chrome. Brand marks carry the color. */
.ab-content { padding-top: 64px; }
.ab-intro-heading { display: flex; align-items: center; gap: 24px; }
.ab-portrait { width: 96px; height: 120px; object-fit: cover; object-position: center 35%; border-radius: 6px; }
.about-profile h1 { font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -.035em; }
.ab-intro-role { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 8px; }
.ab-bio { margin-top: 28px; font-size: 16px; line-height: 1.7; color: #515151; }
.ab-bio p + p { margin-top: 18px; }
.ab-section { margin-top: 56px; }
.ab-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.ab-section-heading h2 { font-family: var(--font-body); font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.ab-section-heading > a { color: var(--ink-2); font-size: 13px; line-height: 1.5; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b5b5b5; }
.ab-section-heading > a:hover { color: var(--ink); text-decoration-color: currentColor; }
.ab-history, .ab-tools { list-style: none; padding: 0; margin: 0; }
.ab-history-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid #e8e8e8; }
.ab-org-icon { width: 44px; height: 44px; display: grid; place-items: center; background: #f6f6f6; border-radius: 50%; }
.ab-org-icon img { width: 30px; height: 30px; object-fit: contain; }
.ab-history-detail { min-width: 0; }
.ab-history-detail h3 { font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 1.45; letter-spacing: -.02em; }
.ab-history-detail p { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 3px; }
.ab-date { font-size: 13px; line-height: 1.5; color: var(--ink-2); white-space: nowrap; text-align: right; }
.ab-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.ab-tool { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 18px; min-height: 112px; padding: 24px 0; border-bottom: 1px solid #e8e8e8; }
.ab-tool-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #2c2c2c; }
.ab-tool-icon svg { display: block; width: 27px; height: 27px; }
.ab-tool-figma svg { width: 22px; height: 32px; }
.ab-tool-slack { background: #4a154b; }
.ab-tool-claude { background: #d97757; }
.ab-tool-claude svg { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.ab-tool-codex { background: #171717; }
.ab-tool-codex svg { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.ab-tool h3 { font-family: var(--font-body); font-size: 16px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.ab-tool p { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 5px; }
.ab-section-intro { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin-top: -8px; }
/* Paired portrait anchors and landscape drawings share one aligned grid. */
.ab-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); grid-template-areas: "cloak bleach" "cloak itachi" "might eren" "rengoku eren"; aspect-ratio: 700 / 744; gap: 16px; margin-top: 24px; }
.ab-gallery > figure { min-width: 0; min-height: 0; margin: 0; }
.ab-art-cloak { grid-area: cloak; }
.ab-art-bleach { grid-area: bleach; }
.ab-art-itachi { grid-area: itachi; }
.ab-art-might { grid-area: might; }
.ab-art-eren { grid-area: eren; }
.ab-art-rengoku { grid-area: rengoku; }
.ab-drawing { height: 100%; overflow: hidden; background: #f8f8f8; border: 1px solid #dedede; border-radius: 14px; }
.ab-drawing img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 599px) {
  .ab-content { padding-top: 44px; }
  .ab-intro-heading { gap: 20px; }
  .ab-portrait { width: 80px; height: 100px; }
  .about-profile h1 { font-size: 26px; }
  .ab-intro-role { font-size: 13px; margin-top: 6px; }
  .ab-bio { margin-top: 24px; line-height: 1.65; }
  .ab-section { margin-top: 40px; }
  .ab-section-heading { margin-bottom: 14px; }
  .ab-history-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 20px 0; }
  .ab-org-icon { width: 40px; height: 40px; }
  .ab-org-icon img { width: 28px; height: 28px; }
  .ab-history-detail h3 { font-size: 15px; }
  .ab-history-detail p { font-size: 13px; }
  .ab-date { font-size: 12px; }
  .ab-tools { grid-template-columns: minmax(0, 1fr); }
  .ab-tool { min-height: 96px; padding: 20px 0; gap: 18px; }
  .ab-tool-icon { width: 44px; height: 44px; }
  .ab-gallery { gap: 10px; }
  .ab-drawing { border-radius: 12px; }
}
@media (max-width: 359px) {
  .ab-intro-heading { gap: 16px; }
  .about-profile h1 { font-size: 24px; }
  .ab-portrait { width: 68px; height: 88px; }
  .ab-history-row { gap: 10px; }
  .ab-history-detail h3 { font-size: 14px; }
  .ab-date { font-size: 11px; }
}

.about-profile .ab-content { padding-top: 80px; }
.about-profile h1 { font-size: 32px; }
.about-profile .ab-bio { margin-top: 36px; }
.about-profile .ab-bio p + p { margin-top: 24px; }
.about-profile .ab-section { margin-top: 88px; }
.about-profile .ab-section-heading { margin-bottom: 32px; }
.about-profile .ab-section-heading h2 { font-family: var(--font-heading); font-size: 28px; line-height: 1.25; letter-spacing: -.03em; }
.about-profile .ab-section-intro { font-size: 15px; margin-top: -16px; }
.about-profile .ab-gallery { margin-top: 32px; }
@media (max-width: 539px) {
  .about-profile .ab-content { padding-top: 56px; }
  .about-profile h1 { font-size: 28px; }
  .about-profile .ab-section { margin-top: 64px; }
  .about-profile .ab-section-heading h2 { font-size: 26px; }
  .about-profile .ab-section-heading { margin-bottom: 28px; }
}

.ab-drawing { display: block; width: 100%; cursor: zoom-in; padding: 0; }
.ab-drawing:focus-visible { outline: 2px solid #242424; outline-offset: 5px; }
/* A single native overlay opens the full, uncropped drawing. */
.ab-gallery-intro .ab-section-intro { margin: 0; }
.about-profile .ab-section:has(.ab-gallery) .ab-section-heading { margin-bottom: 12px; }
.art-viewer { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 76px 24px 32px; border: 0; background: transparent; color: #242424; overflow: hidden; overscroll-behavior: contain; }
.art-viewer[open] { display: flex; align-items: center; justify-content: center; }
.art-viewer::backdrop { background: #24242459; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--duration-art-expand) var(--ease-out); }
.art-viewer[data-state="open"]::backdrop { opacity: 1; }
.art-stage { display: flex; width: 100%; max-width: 700px; height: 100%; min-height: 0; align-items: center; justify-content: center; }
.art-full { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; opacity: 0; transform: scale(.96); transition: opacity var(--duration-art-expand) var(--ease-out), transform var(--duration-art-expand) var(--ease-out); }
.art-viewer[data-state="open"] .art-full { opacity: 1; transform: scale(1); }
.art-close { position: absolute; right: max(24px, env(safe-area-inset-right)); top: max(20px, env(safe-area-inset-top)); z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d1d5d1; border-radius: 50%; background: #fafafa; color: #242424; cursor: pointer; }
.art-close:focus-visible { outline: 2px solid #242424; outline-offset: 4px; }
.ab-drawing, .art-close { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media(prefers-reduced-motion:reduce) {
  .art-full { transform: none !important; transition: none; }
  .art-viewer::backdrop { transition: none; }
}
@media(max-width:599px) {
  .art-viewer { padding: 76px 20px max(20px, env(safe-area-inset-bottom)); }
  .art-close { right: max(16px, env(safe-area-inset-right)); }
}
.about-profile .ab-content { padding-top: 40px; }
@media(max-width:539px) { .about-profile .ab-content { padding-top: 32px; } }

/* About opens directly with the profile, without a banner-sized gap. */
.home-page.about-profile.ascii-home .hp-header {padding-top:48px;}
.home-page.about-profile .ab-content {padding-top:32px;}
@media(max-width:1199px) {
  .home-page.about-profile.ascii-home .hp-header {padding:16px 24px;margin-bottom:24px;}
  .home-page.about-profile .ab-content {padding-top:24px;}
}
@media(max-width:539px) {
  .home-page.about-profile.ascii-home .hp-header {padding:16px 20px;margin-bottom:16px;}
  .home-page.about-profile .ab-content {padding-top:24px;}
}
