/* ABOUT — you work with me: a lit list, and the cutout standing out of its card */
.ab-with-grid{display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,.4fr);column-gap:80px;align-items:start}

/* rows: the cursor lights the row it is on */
.ab-rows{list-style:none;border-top:1px solid oklch(1 0 0 / .13)}
.ab-rows li{position:relative;isolation:isolate;display:grid;grid-template-columns:11px minmax(0,1fr);column-gap:22px;padding:23px 24px 23px 14px;border-bottom:1px solid oklch(1 0 0 / .13);font-size:18px;line-height:28px;color:var(--dim);text-wrap:pretty;transition:color .35s var(--ease-out)}
.ab-rows b{font-weight:500;color:var(--text);transition:text-shadow .5s var(--ease-out)}
/* the mark */
.ab-rows li::before{content:"";width:7px;height:7px;margin:10.5px 0 0 2px;border-radius:50%;background:rgb(var(--L) / .34);transition:background-color .3s var(--ease-out),box-shadow .5s var(--ease-out),scale .5s var(--ease-out)}
/* the light on the row, and the bright part of its lower edge */
.ab-rows li::after{content:"";position:absolute;z-index:-1;inset:0 0 -1px;pointer-events:none;opacity:0;transition:opacity .45s var(--ease-out);
  background:
    radial-gradient(11em 1px at var(--mx,30%) 100%,rgb(var(--L) / .95),transparent) 0 100% / 100% 1px no-repeat,
    radial-gradient(11em 1px at var(--mx,30%) 0%,rgb(var(--L) / .5),transparent) 0 0 / 100% 1px no-repeat,
    radial-gradient(24em 9em at var(--mx,30%) 50%,rgb(var(--L) / .14),transparent 70%)}
.ab-rows li:is(:hover,.is-hover){color:oklch(0.86 0.005 75)}
.ab-rows li:is(:hover,.is-hover)::after{opacity:1}
.ab-rows li:is(:hover,.is-hover) b{text-shadow:0 0 28px rgb(var(--L) / .45)}
.ab-rows li:is(:hover,.is-hover)::before{background:#fff;scale:1.15;box-shadow:0 0 8px rgb(var(--L) / .95),0 0 22px rgb(var(--L) / .6)}

/* the cutout: head and shoulders rise above the card, the bottom fades into it */
.ab-me{position:sticky;top:56px;padding-top:176px}
.ab-me-glow{position:absolute;left:50%;top:4px;width:400px;height:330px;translate:-50% 0;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgb(var(--L) / .22),rgb(var(--L) / .07) 52%,transparent);filter:blur(8px);transition:opacity .7s var(--ease-out);opacity:.8}
.ab-me-pic{position:absolute;z-index:2;left:50%;top:0;width:330px;height:auto;max-width:none;translate:-50% 0;pointer-events:none;transform-origin:50% 100%;
  filter:contrast(1.08) brightness(1.08) drop-shadow(0 0 26px rgb(0 0 0 / .55));
  mask-image:linear-gradient(180deg,#000 62%,transparent 98%);transition:scale 1s var(--ease-out)}
.ab-me-card{display:flex;flex-direction:column;gap:22px;padding:172px 30px 30px}
/* the card's top edge is the brightest line here: the light sits right above it */
.ab-me-card{box-shadow:inset 0 1px 0 oklch(1 0 0 / .32),inset 0 0 0 1px oklch(1 0 0 / .07),inset 0 -40px 60px -40px rgb(0 0 0 / .55),0 40px 80px -40px #000}
.ab-me-txt{display:flex;flex-direction:column;gap:6px;font-size:16px;line-height:25px;color:var(--dim)}
.ab-me-txt strong{font-size:22px;line-height:28px;font-weight:500;letter-spacing:-.02em;color:var(--text)}
.ab-me:has(.ab-me-card:is(:hover,.is-hover)) .ab-me-pic{scale:1.035}
.ab-me:has(.ab-me-card:is(:hover,.is-hover)) .ab-me-glow{opacity:1}

@media (max-width:960px){
  .ab-with-grid{grid-template-columns:minmax(0,1fr);row-gap:56px}
  .ab-rows li{column-gap:16px;padding:19px 8px 19px 4px;font-size:17px;line-height:27px}
  .ab-me{position:relative;top:auto;order:-1;padding-top:150px;max-width:420px}
  .ab-me-pic{width:290px}
  .ab-me-glow{width:340px;height:290px}
  .ab-me-card{padding:150px 24px 26px}
}
