/* The profile pages (/about/ and /ar/about/). */
/* hero: the profile as a frame on the canvas */
.ab-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: 140px var(--m) 0; }
.ab-hero__text { grid-column: 1 / span 7; }
.ab-hero__label { display: flex; gap: 12px; font-size: var(--step-small); font-weight: 700; color: var(--muted); }
.ab-hero__label b { color: var(--blue-ink); }
.ab-hero h1 { margin-top: 12px; font-size: var(--step-display); line-height: 0.86; letter-spacing: -0.06em; }
.ab-hero h1 span { display: block; }
.ab-hero__lead { margin-top: 28px; max-width: 30ch; font-size: var(--step-lead); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.ab-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ab-hero .spec { margin-top: 40px; max-width: 560px; }
.ab-hero__art { grid-column: 9 / span 4; position: relative; }
.ab-hero__art .frame__body { outline: 2px solid var(--blue); }
.ab-hero__art img { display: block; width: 100%; height: auto; }
.ab-hero__art .sticky { position: absolute; left: -64px; bottom: 56px; width: 200px; padding: 18px 20px; transform: rotate(-4deg); font-weight: 700; line-height: 1.2; }
.ab-cur { position: absolute; right: -18px; top: 30%; display: flex; align-items: flex-start; pointer-events: none; }
.ab-cur svg { width: 26px; height: 26px; color: var(--pink); }
.ab-cur span { margin: 20px 0 0 -4px; padding: 4px 9px; border-radius: 5px; background: #d4157f; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* in short: the letter */
.ab-short { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.ab-short__h { grid-column: 1 / span 4; font-size: var(--step-head); }
.ab-short .letter { grid-column: 5 / span 8; }

/* services as pinned notes */
.ab-services .shipped li { display: flex; align-items: flex-end; }

/* projects */
.ab-clients { margin-top: 48px; }
.ab-clients h3 { font-size: var(--step-body); margin-bottom: 14px; }
.ab-clients .tags li { background: var(--paper); }

/* certificates as small sheets */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.cert-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 190px; padding: 22px 22px 20px; background: var(--paper); border-top: 8px solid var(--c); border-radius: 4px; }
.cert-card__logos { display: flex; gap: 10px; align-items: center; height: 34px; margin-bottom: 10px; }
.cert-card__logos img { height: 28px; width: auto; }
.cert-card__logos--dark img:only-child { padding: 4px; border-radius: 6px; background: var(--ink); box-sizing: content-box; }
.cert-card h3 { margin-top: auto; font-size: var(--step-body); line-height: 1.25; letter-spacing: -0.01em; }
.cert-card p { font-size: var(--step-small); color: var(--muted); }
.cert-card__seal { position: absolute; right: 16px; top: 18px; padding: 4px 10px; border-radius: 999px; background: var(--c); font-size: 12px; font-weight: 800; }

/* FAQ as a comment thread */
.qa-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px var(--gap); align-items: start; }
.qa-item:nth-child(even) { margin-top: 48px; }
.qa-item { padding: clamp(20px, 2.4vw, 30px); background: var(--paper); border-radius: 18px 18px 18px 4px; }
.qa-msg { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.qa-msg + .qa-msg { margin-top: 18px; padding-top: 18px; border-top: 1px solid #ecebe6; } /* taste-skill-ignore: a reply divider in the comment thread */
.qa-ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 14px; }
.qa-ava--q { background: var(--green); }
.qa-ava--a { background: var(--ink); }
.qa-ava svg { width: 30px; height: 30px; }
.qa-who { font-weight: 700; font-size: var(--step-small); }
.qa-who span { font-weight: 400; color: var(--muted); margin-left: 6px; }
.qa-msg h3 { margin-top: 2px; font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.02em; }
.qa-msg p.a { margin-top: 4px; max-width: 66ch; }
.qa-points { display: grid; gap: 8px; margin-top: 14px; }
.qa-points li { position: relative; padding-left: 22px; line-height: 1.4; }
.qa-points li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.qa-points a, .qa-points b { font-weight: 700; color: var(--ink); }
.qa-points a { text-decoration: underline 2px; text-decoration-color: var(--st-blue); text-underline-offset: 4px; }
.qa-points a:hover { text-decoration-color: var(--blue); }
.qa-points span { display: block; font-size: var(--step-small); color: var(--muted); }
.qa-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qa-links .btn { background: var(--canvas); }

/* hire panel */
.ab-hire { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.ab-hire h2 { grid-column: 1 / span 7; font-size: var(--step-head); }
.ab-hire__side { grid-column: 9 / span 4; }
.ab-hire__side p { color: #c9c9c4; }
.ab-hire__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

@media (max-width: 1080px) {
  .ab-hero__text { grid-column: 1 / -1; }
  .ab-hero__art { grid-column: 3 / span 8; margin-top: 72px; }
  .ab-short__h, .ab-short .letter { grid-column: 1 / -1; }
  .ab-short .letter { margin-top: 28px; }
  .ab-hire h2, .ab-hire__side { grid-column: 1 / -1; }
  .qa-list { grid-template-columns: 1fr; } .qa-item:nth-child(even) { margin-top: 0; }
  .ab-hire__side { margin-top: 24px; }
}
@media (max-width: 720px) {
  .ab-hero { padding-top: 118px; }
  .ab-hero__art { grid-column: 1 / -1; margin: 64px 8px 0 40px; }
  .ab-hero__art .sticky { left: -32px; width: 170px; }
  .ab-cur { right: 0; }
}
