/* About, round 4. Loaded after g22.css and home-r5.css.
   1. References use the Home typography (home-r5.css is scoped to .rcs, nothing else to add).
   2. "Four rules I keep": the diagonal plate becomes a flat rail. Paper in light, a dark field in dark. The fan of two screens goes,
      because the rule switcher beside it already shows whole screens.
   3. "On stage and on GitHub": talks on the left, the two repositories as cards on the right, the photo small and black and white. */

/* ---------- 2. rules rail ---------- */
.abk .lh-cv{display:block;min-height:0;padding:clamp(24px,3vw,40px) clamp(22px,3vw,44px);border-radius:16px;background:rgba(244,244,237,.06);box-shadow:0 0 0 1px rgba(221,225,210,.18)}
.abk .lh-cv::after,.abk .lh-cv__plus,.abk .lh-cv__art{display:none}
.abk .lh-cv__t h2{font-size:clamp(40px,5vw,72px)}
html[data-mode="light"] .abk .lh-cv{background:#E4E7D6;box-shadow:none}
html[data-mode="light"] .abk .lh-cv .lh-cv__t h2{color:#111112}
html[data-mode="light"] .abk .lh-cv .lh-cv__t h2 span,html[data-mode="light"] .abk .lh-cv .lh-cv__t .eyebrow{color:#4D5C00}
@media (max-width:767px){.abk .lh-cv{padding:22px 20px;border-radius:12px}}

/* ---------- 3. talks and repositories ---------- */
.abt__hd{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.abt__t h2{font-size:clamp(40px,5.4vw,80px)}
.abt__t h2 span{display:block;color:var(--lt,#D2FF00)}
.abt__ph{flex:none;width:min(28%,320px);margin:0;border-radius:12px;overflow:hidden;aspect-ratio:4/3;box-shadow:0 0 0 1px rgba(221,225,210,.2)}
.abt__ph img{width:100%;height:100%;object-fit:cover;object-position:30% 40%;filter:grayscale(1) contrast(1.05)}
.abt__g{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-top:clamp(32px,4vw,56px)}
.abt__g>div>h3{margin-bottom:6px}
.abt__ls{margin-top:12px}
.abt__rp{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:14px}
.abt__rp a{display:grid;gap:8px;padding:20px 22px;border-radius:14px;color:inherit;text-decoration:none;background:rgba(244,244,237,.06);box-shadow:0 0 0 1px rgba(221,225,210,.2);transition:box-shadow .2s}
.abt__rp a:hover,.abt__rp a:focus-visible{box-shadow:0 0 0 1.5px var(--lt,#D2FF00)}
.abt__rp b{font:700 clamp(20px,1.7vw,24px)/1.2 var(--sans)}
.abt__rp b::after{content:" \2197";color:var(--lt,#D2FF00)}
.abt__rp span{font:400 16px/1.45 var(--sans);opacity:.85}
.abt__st{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;font-style:normal}
.abt__st em{font:600 12px/1 var(--sans);font-style:normal;letter-spacing:.03em;padding:8px 10px;border-radius:6px;box-shadow:inset 0 0 0 1px rgba(221,225,210,.3)}
.abt__st em+em::before{content:"";}
html[data-mode="light"] .abt__ph{box-shadow:0 0 0 1px rgba(17,17,18,.14)}
html[data-mode="light"] .abt__t h2 span,html[data-mode="light"] .abt__rp b::after{color:#4D5C00}
html[data-mode="light"] .abt__rp a{background:#FFFFFF;box-shadow:0 0 0 1px rgba(17,17,18,.14)}
html[data-mode="light"] .abt__rp a:hover,html[data-mode="light"] .abt__rp a:focus-visible{box-shadow:0 0 0 1.5px #4D5C00}
html[data-mode="light"] .abt__st em{box-shadow:inset 0 0 0 1px rgba(17,17,18,.25)}
@media (max-width:767px){
  .abt__hd{align-items:flex-start;flex-direction:column}
  .abt__ph{width:44%;max-width:200px}
  .abt__g{grid-template-columns:1fr}
  .abt__ls a,.abt__rp a{min-height:44px}
}
@media (prefers-reduced-motion:reduce){.abt__rp a{transition:none}}
.abk>.abw:first-child{margin-bottom:clamp(24px,3vw,44px)}
