/* ==========================================================================
   FAIQA RIAZ - ABOUT PAGE
   Builds on landing.css tokens, buttons, chips, nav, notches and footer.
   Profile hero, facts row, story + principles, timeline, grouped toolkit,
   profile link grid, orange closing band.
   ========================================================================== */

/* PROFILE HERO --------------------------------------------------------------- */
.ab-hero { padding: 7.25rem 0 clamp(2.5rem, 5vw, 4rem); }
.ab-hero__grid { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ab-hero__face { --nw: 34%; --nh: .7rem; --nd: 1rem; aspect-ratio: 1; border-radius: 1.75rem; overflow: hidden; background: var(--accent); }
.ab-hero__face img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero__text { display: grid; gap: 1.2rem; justify-items: start; }
.ab-hero__title { font-size: clamp(2.2rem, 1rem + 3vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; max-width: 20ch; }
.ab-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }

/* FACTS ROW --------------------------------------------------------------------- */
.ab-facts { padding-bottom: clamp(1rem, 3vw, 2rem); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts-row > div { padding: 1.4rem 1.5rem 1.5rem 0; }
.facts-row > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts-row dt { font-size: .88rem; color: var(--muted); margin-bottom: .3rem; }
.facts-row dd { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.avail { display: inline-flex; align-items: baseline; gap: .5rem; color: var(--hl); }
/* real status, so it earns its marker */
.avail::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: #3FB950; transform: translateY(-.1rem); }

/* HOW I WORK ---------------------------------------------------------------------- */
.ab-work { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.ab-work__story { display: grid; gap: 1.1rem; position: sticky; top: 7rem; }
.ab-work__story .h2 { margin-bottom: .4rem; }
.ab-work__story p { color: var(--text-2); font-size: 1.0625rem; max-width: 46ch; }
.ab-work__story p:first-of-type { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .8vw, 1.55rem); line-height: 1.4; letter-spacing: -.015em; }
.vows { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vows li { display: grid; gap: .55rem; align-content: start; padding: 1.6rem; border-radius: 1.5rem; background: var(--surface); border: 1px solid var(--line); }
.vows li:nth-child(1) { background: var(--ink-2); color: var(--ink-text); border-color: var(--ink-line); }
.vows li:nth-child(4) { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.vows i { font-size: 1.8rem; color: var(--hl); margin-bottom: .6rem; }
.vows li:nth-child(1) i { color: var(--accent); }
.vows li:nth-child(4) i { color: var(--on-accent); }
.vows h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.vows p { color: var(--text-2); }
.vows li:nth-child(1) p { color: var(--ink-muted); }
.vows li:nth-child(4) p { color: #2D2812; }
.vows li:nth-child(even) { transform: translateY(2rem); }

/* TIMELINE ------------------------------------------------------------------------- */
.ab-path { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.ab-path > .h2 { grid-column: 1 / -1; margin-bottom: 1.5rem; }
.path { position: relative; display: grid; gap: 2.5rem; padding-left: 2rem; border-left: 2px solid var(--line-2); }
.path li { position: relative; display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; }
.path li::before { content: ""; position: absolute; left: calc(-2rem - 8px); top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--line-2); }
.path li.path__now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.path__when { font-family: var(--font-display); font-weight: 700; color: var(--hl); padding-top: .1rem; }
.path h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); margin-bottom: .4rem; }
.path p { color: var(--text-2); max-width: 44ch; }
.learned { padding: 1.75rem; border-radius: 1.5rem; background: var(--ink); color: var(--ink-text); }
.learned h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.learned li { display: grid; gap: .15rem; padding-block: .8rem; }
.learned li + li { border-top: 1px solid var(--ink-line); }
.learned b { font-weight: 600; }
.learned span { font-size: .9rem; color: var(--accent); }

/* TOOLKIT ---------------------------------------------------------------------------- */
.ab-h2 { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.kit { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.kit__group { display: grid; gap: .9rem; align-content: start; padding: 1.75rem; border-radius: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.kit__group > i { font-size: 1.8rem; color: var(--hl); }
.kit__group h3 { font-size: 1.35rem; }
.kit__group .chips li { color: var(--text-2); }
.kit__group--lead { grid-row: span 2; background: var(--ink-2); color: var(--ink-text); border-color: var(--ink-line); }
.kit__group--lead > i { color: var(--accent); }
.kit__group--lead h3 { font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); }
.kit__group--lead .chips li { color: var(--ink-text); font-size: 1rem; min-height: 40px; }
.kit__group:last-child { grid-column: 2 / -1; }

/* ELSEWHERE ----------------------------------------------------------------------------- */
.elsewhere { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.elsewhere a {
  display: flex; align-items: center; gap: .85rem; min-height: 76px; padding: .9rem 1rem; border-radius: 1.25rem;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease);
}
.elsewhere a > i:first-child { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--hl); font-size: 1.3rem; transition: background-color .25s, color .25s; }
.elsewhere span { display: grid; min-width: 0; flex: 1; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; line-height: 1.35; }
.elsewhere b { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); }
.elsewhere .go { color: var(--muted); transition: transform .3s var(--ease), color .25s; }
.elsewhere a:hover { border-color: var(--accent); transform: translateY(-2px); }
.elsewhere a:hover > i:first-child { background: var(--accent); color: var(--on-accent); }
.elsewhere a:hover .go { color: var(--hl); transform: rotate(45deg); }

/* CLOSING BAND ---------------------------------------------------------------------------- */
.ab-close { background: var(--accent); color: var(--on-accent); padding-block: clamp(3.5rem, 8vw, 6rem); }
.ab-close__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.ab-close h2 { font-size: clamp(2.1rem, 1rem + 3.4vw, 4rem); letter-spacing: -.04em; max-width: 14ch; }

/* MOTION ------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .ab-hero__face { animation: rise .9s var(--ease) both; }
  .ab-hero__text { animation: rise .9s var(--ease) .1s both; }
}

/* RESPONSIVE -------------------------------------------------------------------------------- */
@media (max-width: 62rem) {
  .ab-hero { padding-top: 6.5rem; }
  .ab-hero__grid { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ab-work, .ab-path { grid-template-columns: 1fr; }
  .ab-work__story { position: static; }
  .vows li:nth-child(even) { transform: none; }
  .kit { grid-template-columns: 1fr 1fr; }
  .kit__group--lead { grid-row: auto; grid-column: 1 / -1; }
  .kit__group:last-child { grid-column: auto; }
  .elsewhere { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 48rem) {
  .ab-hero__grid { grid-template-columns: 1fr; }
  .ab-hero__face { width: min(100%, 14rem); }
  .ab-hero__cta .btn { flex: 1 1 auto; }
  .facts-row { grid-template-columns: 1fr; }
  .facts-row > div, .facts-row > div + div { padding: 1rem 0; border-left: 0; }
  .facts-row > div + div { border-top: 1px solid var(--line); }
  .vows, .kit, .elsewhere { grid-template-columns: 1fr; }
  .path li { grid-template-columns: 1fr; gap: .4rem; }
  .ab-close__inner { flex-direction: column; align-items: flex-start; }
}
