/* Visual pass v2, round 2 (11-17): the About page, on top of look-base + look-a|b|c. Colours are only the
   look palette (her Canva kit: teal, cream, orange, coral, and look B's deep teal). Orange stays on the Map
   button only. Dark mode: the OS setting or data-theme="dark" on <html>; look B is a dark page already. */

/* Hero: the words left, the headshot slot right. Not full height: About opens straight into the story. */
.pg-about .ab-hero { min-height: 0; }
.pg-about .ab-hero .h-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 72px; align-items: start; }
.look-a.pg-about .ab-hero .h-wrap { grid-template-columns: 220px minmax(0, 7fr) minmax(0, 4fr); column-gap: 56px; }
.look-a.pg-about .ab-hero__text { grid-column: 2; }
.look-a.pg-about .ab-hero__img { grid-column: 3; }
.look-c.pg-about .ab-hero { text-align: left; }
.look-c.pg-about .ab-hero .h-wrap { max-width: 1180px; }
.look-c.pg-about .ab-hero .h-lede { margin: 0 0 1em; }
.pg-about .ab-hero .h-h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 14ch; }
.pg-about .ab-hero .h-lede { font-style: italic; }
.pg-about .ab-intro { margin-top: 28px; max-width: 36em; }
.pg-about .ab-intro p { margin: 0; }

/* Image slot: a placeholder for a Canva export. Never a drawing. */
.ab-slot { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 24px; border: 2px dashed currentColor;
  border-radius: 18px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }

/* My story: two parallel lines in type. Each line is a rule with its stops spaced on its own, so the two
   never read as one clock; only the endings meet, on one row. */
.ms-lines { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; column-gap: 40px; }
.ms-line { display: grid; grid-template-rows: subgrid; grid-row: 1 / span 3; }
.ms-label { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.ms-stops { list-style: none; margin: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--rule); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.ms-stops li { line-height: 1.35; }
.ms-line--i .ms-stops { padding-top: 34px; padding-bottom: 30px; }
.ms-now { margin: 0; padding: 22px 0 0 22px; border-left: 2px solid var(--rule); font-weight: 600; line-height: 1.35; color: var(--teal); }
.ms-arrow { color: var(--coral); margin-right: 4px; }

/* Credentials: one group per heading, quiet lists with rules. */
.ab-cred-groups { display: grid; gap: 40px; }
.ab-cred h3 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.ab-cred ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ab-cred li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .92em; line-height: 1.45; }
.pg-about .h-text a { text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* Look B tones: cream type on deep teal. */
.look-b.pg-about { --rule: var(--line); --soft: var(--mute); }
.look-b .ms-stops li, .look-b .ab-cred li { color: var(--ink); }
.look-b .ms-now { color: var(--ink); }
.look-b .ab-hero .h-lede { color: var(--mute); }
.look-b .ab-intro { color: var(--ink); }
.look-b .h-text p { color: var(--mute); }
.look-b .h-text p:first-child { color: var(--ink); }
/* Look C: the story stays light; the credentials sit on paper. */
.look-c .ab-creds { background: var(--paper); }

/* Dark mode for looks A and C (B is already dark). Only the page body turns: the header is teal in every
   look, and the footer keeps the cream Sang picked. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.look-a.pg-about, :root:not([data-theme="light"]) body.look-c.pg-about { background: #0f3943; }
  :root:not([data-theme="light"]) .look-a.pg-about main, :root:not([data-theme="light"]) .look-c.pg-about main {
    --teal: var(--cream); --ink: var(--cream); --soft: #a9c1c4; --rule: rgba(243,240,232,.16); --paper: #0e3640; color: var(--cream); }
  :root:not([data-theme="light"]) .look-c.pg-about .ab-hero { background: none; }
  :root:not([data-theme="light"]) .look-c.pg-about .h-ask { background: var(--paper); }
}
[data-theme="dark"] body.look-a.pg-about, [data-theme="dark"] body.look-c.pg-about { background: #0f3943; }
[data-theme="dark"] .look-a.pg-about main, [data-theme="dark"] .look-c.pg-about main {
  --teal: var(--cream); --ink: var(--cream); --soft: #a9c1c4; --rule: rgba(243,240,232,.16); --paper: #0e3640; color: var(--cream); }
[data-theme="dark"] .look-c.pg-about .ab-hero { background: none; }
[data-theme="dark"] .look-c.pg-about .h-ask { background: var(--paper); }

@media (max-width: 860px) {
  .pg-about .ab-hero .h-wrap, .look-a.pg-about .ab-hero .h-wrap { grid-template-columns: 1fr; row-gap: 36px; }
  .look-a.pg-about .ab-hero__text, .look-a.pg-about .ab-hero__img { grid-column: 1; }
  .pg-about .ab-hero__img { max-width: 260px; }
}
@media (max-width: 520px) {
  /* Phones: still two lines side by side, the parallel is the point. */
  .ms-lines { column-gap: 16px; }
  .ms-stops, .ms-now { padding-left: 14px; }
  .ms-stops { gap: 14px; font-size: 15px; }
  .ms-now { font-size: 15px; }
  .ms-label { font-size: 12px; letter-spacing: .12em; }
}

/* Author links under the credentials (Sang 25 Nov, "go authorship"): LinkedIn, and the SE International
   directory once she sends it. */
.ab-links { margin: 8px 0 0; font-size: 15px; }
