/* Styles of /about/ only (moved out of its <style> block on 2026-11-10).
   Loaded after the shared sheets, at the same place the block was, so the
   cascade is unchanged. Rules shared by several pages go in /css. */

/* About-only hero image. Set directly on .hero__bar so the url resolves
   against this HTML doc, not against the shared /css/hero.css. */
.hero__bar { background-image: url('../img/hero-gonzalo.jpg'); }

/* The solid figure of the triple exposure sits left of centre, so the
   portrait crop of the intro collage has to pull left to keep it. */
:root { --hero-focus: 29%; }

/* /about/ hero: the collage persists (no fade-out), the intro name is
   skipped and the headline appears right after the bars finish forming. */
.hero__bar {
  animation: heroBarIn var(--bar-duration) var(--bar-ease) forwards !important;
  animation-delay: calc(var(--bars-start) + var(--i) * var(--bar-stagger)) !important;
}
.hero__intro-name { display: none; }
/* Whole entrance in 1.8 s (was 2.3 s): every step scaled by about 0.78.
   Bars end at 1.47 s, menu 1.3 s, headline 0.9 to 1.6 s, blurb 1.1 to 1.8 s. */
:root { --bar-stagger: 55ms; --bar-duration: 860ms; }
body { --side-delay: 600ms; }
.hero__headline { animation-duration: 700ms; animation-delay: calc(var(--side-delay) + 300ms); }
.hero__blurb    { animation-duration: 700ms; animation-delay: calc(var(--side-delay) + 500ms); }

/* ---------- About text: ONE column on the last 3 grid columns ----------
   The rule and the text are stacked in a single
   column three columns wide: 10 to 12 of 12 on desktop, 6 to 8 of 8 on
   tablet, and all 4 on a phone, where there is no room to move. Nothing sits beside it. The pieces
   come from the case template (css/case-page.css); here its two column
   layout (sticky side + pair) is turned into one flow. */
body.case-page article.ab {
  /* 100% here is the article's content box, which is exactly the grid width. */
  --ab-w: calc(3 * (100% - (var(--g-cols) - 1) * var(--g-gutter)) / var(--g-cols) + 2 * var(--g-gutter));
  --ab-off: calc(100% - var(--ab-w));   /* the last three columns */
  display: block;
  box-sizing: border-box;
  padding: calc(2 * var(--cp-gap)) var(--cp-inset);
}
body.case-page .ab .cp-side {
  position: static;
  display: block;
  width: var(--ab-w);
  height: auto;
  margin: 0 0 var(--v-pitch) var(--ab-off);   /* rule, one row, text */
  padding: 0;
}
body.case-page .ab .cp-rule { position: static; margin: 0; }
body.case-page .ab .cp-stage {
  display: block;
  width: var(--ab-w);
  min-height: 0;
  margin-left: var(--ab-off);
  padding: 0;
}
@media (max-width: 37.49em) {
  body.case-page article.ab { --ab-off: 0px; }
}
body.case-page .ab .cp-pair { display: block; }
body.case-page .ab .cp-block { margin: 0; }
body.case-page .ab .cp-block + .cp-block { margin-top: 1.3em; }   /* one blank line, like between paragraphs */
/* Kerning on, ligatures on, and a balanced rag (the tracking per paragraph
   is tuned by the script at the end of the page). */
body.case-page .ab .cp-block p {
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}
/* Pull quote between the two paragraphs: italic, 14 px, grey. */
body.case-page .ab .ab-quote p {
  font-size: 14px;
  font-style: italic;
  color: rgba(31, 31, 41, 0.6);
}

/* Phone and tablet: the hero text sits on the bottom-left corner, where the
   accessibility button is. It ends above it (--a11y-clear, css/cases.css;
   2026-11-11). */
@media (max-width: 820px) {
  .hero__content { padding-bottom: var(--a11y-clear); }
}
