/*
  The speaking page of 2026-11-16 (Jose's design: docs/rebrand/v2/approved/speaking-2026-11.html, served at /speaking by
  src/rebrand/v2/speaking/document.ts). Every look of the page is the design's own inline style; this file holds only:
  - the seven rules of the design's <style> block (APPROVALS "Speaking page (2026-11-16)", Head), scoped to this page's
    body and its <main id="main">, so nothing here reaches the site chrome (.pi-*), its header, its footer or its button.
    His html rule (smooth scrolling to "See the talks") can only sit on <html>: it is scoped to the <html> that holds this
    page's body (html:has), and, as on the site's other pages (styles.css, service-pages.css), it is off for a visitor
    who asks for reduced motion;
  - images keep the design's proportions: edit group S3 gave every image its width and height (no layout shift), and an
    HTML height wins over a CSS aspect-ratio, which would draw the 4:3 photos at their files' height (as the new home
    found on 2026-11-11, home-2026.css). height:auto keeps the reserved space and the design's sizes; an image whose
    inline style sets its height keeps it (inline wins);
  - the keynote card's two photos stay inside the card's padding at phone widths (the last rule, below).
  The book buttons' look is their inline orange: it wins over the lime pill site-chrome.css gives every .cta-call, and
  on hover the design's own a:hover (opacity .88) applies to them as to every link of the page.
  Fonts: the design's stacks ('Funnel Display', 'Albert Sans', system-ui, sans-serif) are its inline styles; the
  self-hosted files and their @font-face rules are the site chrome's (site-chrome.css), never Google Fonts. The page uses
  Albert Sans 400 to 700 and Funnel Display 700 only, which those files cover.
*/
html:has(body.speaking-2026){scroll-behavior:smooth}
body.speaking-2026{margin:0;background:#FBFAF6}
main#main img{max-width:100%}
main#main a:hover{opacity:.88}
main#main :focus-visible{outline:3px solid #2D5BFF;outline-offset:3px}
main#main ::selection{background:#FFE2D3;color:#0B1020}
main#main #talks{scroll-margin-top:96px}

main#main img{height:auto}

@media (prefers-reduced-motion:reduce){
  html:has(body.speaking-2026){scroll-behavior:auto}
}

/* The keynote card's two photos at phone widths: his grid is 7:4 and at least 220 px tall, and below about 476 px of
   viewport that minimum, carried across the ratio, made the grid 385 px wide, wider than the card's padding box (the
   card hides what overflows: the HYROX photo lost the card's right padding, and at 320 px most of the photo). max-width
   keeps the grid inside the padding, the photos still 220 px tall; from about 476 px up nothing changes. */
main#main section[aria-labelledby="featured-title"] article > div:first-child > div{max-width:100%}
