/* About page. Shares tokens and components with /styles.css; only the page-specific pieces live here. */

/* Intro: headline on the left, three quick facts in a card on the right */
.about-hero { padding: 170px 0 80px; border-bottom: 2px solid var(--border); }
.about-hero__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .about-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; } }
.about-hero__side { display: grid; gap: var(--s-5); }
.about-intro { margin: 0 0 var(--s-5); font: 400 clamp(1.6rem, 1.8vw + 1rem, 2.3rem)/1.2 var(--f-display); color: #fff; max-width: 26ch; }
/* Photo slot. Until a real photo is added it shows the JS mark on a sunset gradient. */
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 380px; overflow: hidden; display: grid; place-items: center; border: 2px solid var(--border-strong); border-radius: var(--radius); background: linear-gradient(170deg, #1a0d33 0%, #6D28D9 55%, #E4568F 82%, #F97316 100%); box-shadow: var(--shadow-lg) var(--shadow-lg) 0 var(--purple-dark); }
.portrait__img { width: 100%; height: 100%; object-fit: cover; }
.portrait__mark { display: grid; place-items: center; width: 96px; height: 96px; border: 3px solid #fff; border-radius: var(--r-btn); color: #fff; font: 700 1.8rem/1 var(--f-mono); box-shadow: 6px 6px 0 rgba(0, 0, 0, .35); }
@media (max-width: 959px) { .about-hero__side { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 300px; } }
.about-title {
  max-width: 15ch; margin: 0 0 22px; font-family: var(--f-display); font-weight: 400; color: #fff;
  font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: .98; letter-spacing: -.025em;
  overflow-wrap: anywhere; min-width: 0;
}
.about-hero .lead { margin-bottom: var(--s-4); }

.quick {
  display: grid; margin: 0; background: var(--surface);
  border: 2px solid var(--border); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--purple-dark);
}
.quick div { display: flex; align-items: baseline; gap: 14px; padding: 18px 22px; }
.quick div + div { border-top: 2px solid var(--border); }
.quick dt { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--purple-text); }
.quick div:nth-child(2) dt { color: var(--orange); }
.quick div:nth-child(3) dt { color: #fff; }
.quick dd { margin: 0; font: 400 .8rem/1.35 var(--f-mono); color: var(--muted); }

/* The path and the "good at" list sit side by side on wide screens; the list sticks while you read */
.path-grid { display: grid; gap: 56px; margin-top: 48px; }
@media (min-width: 960px) { .path-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.toolkit {
  padding: 24px 26px; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--purple-dark);
}
@media (min-width: 960px) { .toolkit { position: sticky; top: 108px; } }
.toolkit__label { margin: 0 0 14px; font: 700 .76rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--purple-text); }
.toolkit ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.toolkit li { padding: 11px 0; border-top: 1px solid var(--border); color: var(--text); }
.toolkit li:first-child { border-top: 0; padding-top: 0; }

/* The path: a rail down the left with one dot per step. Each dot fills in as its step scrolls into view. */
.timeline { position: relative; max-width: 46rem; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.step-row { --c: var(--purple-text); position: relative; padding: 0 0 56px 48px; }
.step-row:nth-child(2) { --c: var(--orange); }
.step-row:nth-child(3) { --c: var(--purple-text); }
.step-row:nth-child(4) { --c: var(--text); }
.step-row:last-child { padding-bottom: 0; }
.step-row::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--c); background: var(--bg);
  transition: background .5s var(--ease) .25s, box-shadow .5s var(--ease) .25s;
}
.step-row.is-in::before { background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent); }
.step-row__role { display: block; margin-bottom: 10px; font: 700 .76rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.step-row__body h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; color: #fff; }
.step-row__body p { max-width: 40rem; margin: 0 0 16px; color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: var(--r-btn); font: 700 .7rem/1 var(--f-mono); letter-spacing: .04em; color: var(--text-2); }

.text-link {
  display: inline-block; margin-top: 20px; font: 700 .82rem/1 var(--f-mono); letter-spacing: .05em; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--purple); text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: color .15s;
}
.text-link:hover { color: var(--purple-text); }

/* What that means for you */
.ways { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 760px) { .ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; } }
.way { padding: 26px 26px 24px; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); }
.way h3 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1.05; color: #fff; }
.way p { margin: 0; color: var(--text-2); }

/* Closing call to action */
.about-cta { padding-block: clamp(72px, 11vw, 140px); }
.about-cta .h2 { max-width: 16ch; }
.about-cta__row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
