/* ABOUT: photo left; bio, industries and quote card right; tools strip below (deep sky) */
/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about > * { min-width: 0; }
.photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: 18px; background: rgba(255,255,255,.16); border: 2px dashed rgba(255,255,255,.6); display: grid; place-items: center; }
.photo-ph { display: grid; justify-items: center; gap: 10px; color: #FFFFFF; font: 600 14px var(--body); }
.photo-ph svg { width: 48px; height: 48px; }
.about-right { display: grid; gap: 18px; justify-items: start; }
.about-right > p { font: 500 clamp(16.5px, 1.3vw, 18.5px)/1.65 "Poppins", system-ui, sans-serif; color: var(--cloud); max-width: 58ch; }
.inds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-label { margin-top: 6px; margin-bottom: -6px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cloud); opacity: .85; }
#about.light .ab-label { color: #1A6E9F; }
.inds li { font: 600 13px/1 var(--body); color: #FFFFFF; border: 1.5px solid rgba(255,255,255,.7); padding: 8px 12px; border-radius: 999px; }
.rule { margin: 8px 0 0; background: #FFFFFF; color: #141B24; border-radius: 14px; padding: 22px 24px 22px 60px; position: relative; max-width: 58ch; box-shadow: 0 24px 50px -30px rgba(10,50,80,.55); }
.rule .q { position: absolute; left: 18px; top: 6px; font: 400 64px/1 var(--display); color: var(--scarlet); }
.rule p { font: 600 clamp(16.5px, 1.35vw, 19px)/1.5 "Poppins", system-ui, sans-serif; }


/* About on a light section (it is deep now; kept so it can switch back) */
#about .about { align-items: center; }
#about .rule { margin-top: 14px; }
.about-left { display: grid; gap: 22px; justify-items: start; }
#about.light .photo-ph { color: #1A6E9F; }
#about.light .about-right > p { color: #3E4955; }
#about.light .inds li { color: #1A6E9F; border-color: rgba(26,110,159,.55); background: rgba(255,255,255,.45); }

@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; }
  .photo { max-width: 320px; }
}
@media (max-width: 560px) { .rule { padding-left: 52px; } }

/* Profile photo: fills a rounded white-framed panel.
   object-position sets how high or low the face sits in the frame. */
#about .photo { position: relative; overflow: hidden; border: 0; background: linear-gradient(180deg, #FFFFFF 0%, #E3F3FD 100%); box-shadow: 0 24px 50px -30px rgba(10,50,80,.55); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

/* Tools I use: two rows of logo chips that scroll in opposite directions, like a GIF.
   Each row holds its list twice so the loop is seamless. Hover pauses; reduced motion stops it and wraps. */
.tools { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: 18px; justify-items: center; }
.tools .ab-label { margin: 0; font-size: 14px; opacity: 1; }
.tool-rows { width: 100%; display: grid; gap: 14px; }
.tool-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tool-track { display: flex; width: max-content; }
.tool-set { list-style: none; margin: 0; padding: 0 14px 0 0; display: flex; gap: 14px; }
.tool-set li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: #FFFFFF; color: #141B24; border-radius: 12px; padding: 10px 16px 10px 10px;
  font: 600 15px/1 var(--body); box-shadow: 0 14px 30px -18px rgba(10,50,80,.6); }
.tool-set img { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .go-left .tool-track { animation: toolsLeft 45s linear infinite; }
  .go-right .tool-track { animation: toolsRight 45s linear infinite; }
  .tool-row:hover .tool-track { animation-play-state: paused; }
}
@keyframes toolsLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes toolsRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .tool-row { -webkit-mask-image: none; mask-image: none; }
  .tool-track { width: auto; justify-content: center; }
  .tool-set { flex-wrap: wrap; justify-content: center; padding: 0; }
  .tool-set[aria-hidden="true"] { display: none; }
}
