/* Set --about-background-animation to none to disable flickering. */
body:has(.block__about) { --about-background-animation: about-light-flicker 15s steps(1, end) infinite; isolation: isolate; background: #24303a; }
body:has(.block__about)::before { content: ""; position: fixed; inset: -12px; z-index: -1; pointer-events: none; background: url("../media/images/about-server-corridor.png") center / cover no-repeat; filter: blur(6px) brightness(.5); animation: var(--about-background-animation); }
@keyframes about-light-flicker {
  0%, 90%, 94%, 98%, 100% { filter: blur(6px) brightness(.5); }
  91%, 96% { filter: blur(6px) brightness(.44); }
  92%, 97% { filter: blur(6px) brightness(.53); }
  93% { filter: blur(6px) brightness(.47); }
}
@media (prefers-reduced-motion: reduce) {
  body:has(.block__about)::before { animation: none; }
}
.block__about { padding: var(--page-top-space) 0 56px; color: #e4edfc; }
.b_about--profile { display: grid; grid-template-columns: 324px minmax(0, 1fr); align-items: start; gap: 34px; padding: 28px; border-radius: 12px; }
.b_about--profile, .b_about--panel, .block__about .service-card { background: rgb(200 214 246 / 7%); border: 1px solid rgb(161 181 223 / 21%); box-shadow: 0 14px 40px rgb(0 0 0 / 9%); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.b_about--photo { display: block; width: 100%; height: auto; aspect-ratio: 32 / 25; object-fit: cover; object-position: 25% center; border-radius: 9px; }
.b_about--photo-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 9px; background: transparent; cursor: zoom-in; }
.b_about--photo-full { display: block; width: 100%; max-height: 70dvh; object-fit: contain; }
.b_about--role { margin: 0 0 9px; font-size: 14px; }
.b_about--name, .b_about--navigation { background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .4) 12%, rgba(0, 0, 0, .4) 88%, transparent); color: #fff; text-align: center; }
.b_about--name { margin: 0 0 var(--page-heading-space); padding: 18px 12%; font-family: Calibri; font-size: clamp(25px, 3vw, 34px); line-height: 1.22; text-wrap: balance; }
.b_about--name > i { margin-right: 8px; font-size: .75em; }
.b_about--panel h3 > i { margin-right: 7px; font-size: .9em; }
.b_about--meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; font-size: 14px; }
.b_about--role, .b_about--meta, .b_about--job .b_about--period { color: #fff; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 6px rgba(0, 0, 0, .45); }
.b_about--meta i { margin-right: 5px; }
.b_about--intro { max-width: 790px; margin: 0 0 12px; color: #e2e8f0; font-size: 15px; line-height: 1.75; }
.b_about--actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.b_about--navigation { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin: 18px 0; padding: 18px 12%; font-size: 14px; }
.b_about--navigation a { --filter-shine-ink: #acbad0; display: inline-flex; align-items: center; gap: 7px; }
.b_about--navigation :where(a:hover) { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.b_about--layout, .block__about .services-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); align-items: start; gap: 24px; }
.block__about .services-layout { align-items: stretch; }
.block__about .b_calculator--disclaimer { font-size: 10px; opacity: .6; }
.block__about > .services-section { margin-bottom: 24px; scroll-margin-top: 105px; background: none; }
.block__about > .services-section::before,
.block__about > .services-section::after { content: none; animation: none; }
.block__about .service-card,
.block__about .service-card:hover,
.block__about .service-card:has(.service-select[aria-pressed='true']) { background: rgb(200 214 246 / 7%); }
.block__about .service-description { color: #e2e8f0; font-size: 13px; }
.block__about .service-select { color: #fff; font-size: 12px; }
.b_about--panel { padding: 24px; margin-bottom: 24px; border-radius: 10px; }
.b_about--panel h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #e4edfc; font-size: 21px; line-height: 1.35; }
.b_about--panel h2 i { font-size: 18px; }
.b_about--job { padding-bottom: 22px; margin-bottom: 23px; border-bottom: 1px solid rgb(161 181 223 / 21%); }
.b_about--job:last-child { padding-bottom: 0; margin-bottom: 0; border: 0; }
.b_about--job-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 15px; margin-bottom: 6px; }
.b_about--job-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
.b_about--job h3 { margin: 0; color: #e4edfc; font-size: 17px; }
.b_about--period { color: #b6c7e1; font-size: 13px; }
.b_about--job .b_about--position { margin: 0; color: #a3c0ed; font-size: 14px; }
.b_about--text, .b_about--panel p, .b_about--panel li { color: #e2e8f0; font-size: 15px; line-height: 1.75; }
.b_about--job p { margin: 0 0 10px; }
.b_about--result strong { color: #e4edfc; font-weight: 600; }
.b_about--details { margin-top: 10px; }
.b_about--details summary { padding: 6px 0; color: #b6c7e1; font-size: 13px; line-height: 1.6; cursor: pointer; }
.b_about--details summary:hover { color: #fff; }
.b_about--details summary:focus-visible { outline: 2px solid #77a1dd; outline-offset: 3px; border-radius: 3px; }
.b_about--details ul { margin: 12px 0; padding-left: 20px; }
.b_about--tags { display: flex; flex-wrap: wrap; gap: 6px; }
.b_about--tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 4px; color: #d9e8ff; background: rgb(9 20 38 / 35%); font-size: 12px; line-height: 1.4; }
.b_about--tag img { flex: 0 0 17px; width: 17px; height: 17px; object-fit: contain; }
.b_about--tag > i { flex: 0 0 17px; width: 17px; font-size: 15px; text-align: center; }
.b_about--stack-title { display: flex; align-items: center; gap: 7px; margin: 14px 0 8px; color: #e4edfc; font-size: 14px; line-height: 1.5; }
.b_about--tag.__primary { color: #e4edfc; background: rgb(123 165 221 / 20%); font-weight: 600; }
.b_about--technology-groups { display: grid; gap: 12px; }
.b_about--technology-group { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.b_about--technology-group h3 { margin: 0 6px 0 0; color: #e4edfc; font-size: 14px; line-height: 1.5; }
.b_about--technology-group .b_about--tags { display: contents; }
.b_about--panel .b_about--subheading { margin: 20px 0 10px; color: #e4edfc; font-size: 16px; line-height: 1.5; }
.b_about--facts { margin: 0; }
.b_about--facts div { padding: 0 0 15px; }
.b_about--facts div:last-child { padding-bottom: 0; }
.b_about--facts dt { margin-bottom: 4px; color: #b6c7e1; font-size: 12px; }
.b_about--facts dd { margin: 0; color: #e4edfc; font-size: 14px; line-height: 1.6; }
.b_about--school + .b_about--school { padding-top: 15px; margin-top: 15px; border-top: 1px solid rgb(161 181 223 / 21%); }
.b_about--school h3 { margin: 0 0 6px; font-size: 14px; line-height: 1.5; }
.b_about--school p { margin: 4px 0; }
.b_about--list { margin: 0; padding-left: 18px; }
.b_about--panel, #profile { scroll-margin-top: 105px; }
@media (max-width: 900px) {
  .b_about--profile { grid-template-columns: 247px minmax(0, 1fr); gap: 24px; padding: 22px; }
  .b_about--layout, .block__about .services-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .b_about--profile { grid-template-columns: 1fr; padding: 20px; }
  .b_about--photo-open { width: 260px; max-width: 100%; margin: 0 auto; }
  .b_about--name, .b_about--role { text-align: center; }
  .b_about--meta, .b_about--actions, .b_about--navigation { justify-content: center; }
  .b_about--panel { padding: 20px; }
  .b_about--panel h2 { justify-content: center; }
}
