/* About us (about.html; Prompt 20): Our story (#story), then Leadership (#leadership, css/leadership.css and
   js/leadership.js unchanged in look). Uses tokens.css and home.css. Theme variables only; light and dark. */

/* ---------- the hero: ink with the glow, under the translucent nav ---------- */
.ab-hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--nav-h) - 1px); padding: calc(var(--nav-h) + 1px + 96px) 0 96px; scroll-margin-top: 0; }
.ab-hero-in { position: relative; z-index: 1; }
.ab-hero-h { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.ab-hero-sub { margin-top: var(--g-sub); font-size: var(--fs-sub); line-height: 1.5; color: var(--ink-2); max-width: var(--measure); text-wrap: pretty; }
@media (max-width: 599.98px) { .ab-hero { padding: calc(var(--nav-h) + 1px + 64px) 0 64px; } }

/* ---------- five statements, keynote style: large, centred, one at a time as each reaches the middle of the screen
   (js/about.js; a 16px rise and a fade, once; never pinned) ---------- */
.ab-list { display: grid; }
.ab-say { padding-block: 96px; text-align: center; }
.ab-say + .ab-say { border-top: 1px solid var(--line); }
.ab-say > p:first-child {
  max-width: 19em; margin: 0 auto; font-size: clamp(30px, 4vw, 56px); font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.12; text-wrap: balance; color: var(--ink);
}
@media (max-width: 599.98px) { .ab-say { padding-block: 64px; } }
.ab-says.is-armed .ab-say { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }   /* Prompt 28E: within 700ms */
.ab-says.is-armed .ab-say.is-in { opacity: 1; transform: none; }
/* the two numbers in statement 2 follow the number rules: on light, a crisp blue gradient fill with a soft coloured shadow
   (good results); on dark, light blue with its glow */
.ab-n { color: #071B53; }   /* Prompt 23: no gradient text */
[data-theme="dark"] .ab-n { background: none; color: #6CC4FE; text-shadow: 0 0 10px rgba(108, 196, 254, .5), 0 0 28px rgba(108, 196, 254, .28); filter: none; }

/* ---------- Leadership on this page: arriving at #leadership puts its header 48px under the nav ---------- */
#leadership { scroll-margin-top: var(--nav-h); }

/* the hero fills the first screen, centred (keynote style), so the statements begin below the fold: the font swap can never
   re-wrap one in view (that cost a layout shift of 0.045 at 1440 x 900) */
.ab-hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.ab-hero-sub { margin-inline: auto; }

/* Prompt 29, the final pass: Our story's opener is as tall as its content (it was a whole empty screen for one line):
   generous padding, still centred */
.ab-hero { min-height: 0; padding: calc(var(--nav-h) + 1px + 160px) 0 144px; }
@media (max-width: 599.98px) { .ab-hero { padding: calc(var(--nav-h) + 1px + 96px) 0 80px; } }
