/* ============================================================================
   ADMEbio — /About page styles (ABOUT-DEV-1, approved V3.1 design)

   WHY THIS FILE EXISTS. basic.css is loaded by every page on the site, so a
   single-page design must not be built there. This file is loaded only by
   pages/About.php and every rule is nested under #sga-about, which appears
   exactly once, on this page. A bare element or utility selector here would
   repaint the catalogue, search, product, cart and ELK templates.

   NO font-family IS DECLARED. The page inherits the site stack, so it renders
   in the same face as the rest of the site. Declaring a face here is what made
   /Contact disagree with its own navigation before TYPOGRAPHY-1 corrected it:
   every chrome-sharing page declares "myriad-pro", which is loaded nowhere, so
   they all fall back to the platform default. Naming one picks a different font.

   NO @media RULE. The storefront has no viewport meta and .container is a fixed
   1008px, so a device-width query fires on a narrow phone while the box around
   this content is still 1008px wide. Reflow here is container-driven
   (flex-wrap), correct at 1008px today and self-correcting if a fluid container
   ever arrives. No negative margins anywhere.

   basic.css line 7 zeroes the margin on every heading, so each heading below
   states its own or it collapses against the next block.
   ========================================================================== */

/* FIREFOX ANDROID TEXT INFLATION, SCOPED TO THIS PAGE (MOBILE-FONT-03).
   Gecko enlarges text in proportion to how wide its container is relative to the
   screen, on any page that declares no viewport meta -- which is every page here,
   because .container is a fixed 1008px. On this page it rendered .sga-mission p at
   1.73x its declared size while the .sga-card p beside it, in a ~212px grid cell,
   stayed at 1.00x. Both are bare <p> one pixel apart in the stylesheet, so the
   cause is container width, not the cascade.

   PR262 already set -webkit-text-size-adjust/text-size-adjust to 100% on the root
   for Chromium, and that fixed Samsung Internet. It does nothing in Gecko: the
   Gecko property is keyword-only, taking auto or none, so a percentage is a parse
   error and BOTH declarations are discarded (measured in Firefox 158 -- the rule
   survives as the empty string). The -webkit- spelling is an alias for the same
   Gecko property, so it is discarded too.

   none is therefore not a preference, it is the only value Gecko offers that stops
   the algorithm. It is applied here rather than on the root so it reaches this page
   only, and with the -moz- prefix, which Blink and WebKit do not implement -- Chrome
   155 produces a byte-identical declaration with and without this line, so Samsung
   Internet cannot move. Pinch-zoom and the Android system font scale are separate
   mechanisms and keep working. See local-dev/tests/mobile_text_size_adjust_test.php. */
#sga-about{color:#333333;font-size:16px;line-height:1.6;-moz-text-size-adjust:none;}
#sga-about h1,#sga-about h2,#sga-about h3{color:#18334A;}

/* the V3 signature: a short gold rule beside a small uppercase navy label */
#sga-about .sga-eyebrow{display:flex;align-items:center;gap:12px;
  font-size:13px;line-height:18px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:#18334A;margin:0 0 10px;}
#sga-about .sga-eyebrow::before{content:"";display:block;width:28px;height:3px;
  background:#EEB800;flex:0 0 28px;}
#sga-about .sga-eyebrow-c{justify-content:center;}

/* ---- hero ---------------------------------------------------------------- */
#sga-about .sga-hero{display:flex;flex-wrap:wrap;gap:20px;align-items:center;
  background:#F8F8F8;border:1px solid #DDDDDD;border-radius:4px;padding:28px;margin:15px 0 40px;}
#sga-about .sga-hero-text{flex:1 1 400px;min-width:0;}
#sga-about .sga-hero-media{flex:0 1 225px;min-width:205px;align-self:stretch;}
/* The hero label renders in its written case, "About ADMEbio". Size, weight, colour,
   letter-spacing and position are unchanged; only the upper-casing is dropped, and only
   here. The three section eyebrows keep their own uppercase rule above. */
#sga-about .sga-h1{font-size:15px;line-height:20px;font-weight:700;letter-spacing:.08em;
  color:#18334A;margin:0;}
#sga-about .sga-tagline{font-size:34px;line-height:40px;font-weight:700;color:#18334A;margin:4px 0 14px;}
#sga-about .sga-support{font-size:17px;line-height:1.55;color:#333333;margin:0 0 22px;}
/* object-fit keeps the 3:2 original from distorting at any panel height.
   basic.css already sets a global img{display:block}, which is what we want. */
#sga-about .sga-hero-photo{width:100%;height:100%;min-height:230px;max-height:300px;
  object-fit:cover;border-radius:4px;}

/* ---- buttons -------------------------------------------------------------- */
#sga-about .sga-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0;}
#sga-about .sga-actions-c{justify-content:center;}
#sga-about .sga-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:4px;
  font-size:16px;font-weight:700;line-height:20px;text-decoration:none;border:1px solid transparent;}
/* Gold fill with DARK ink. White on #EEB800 measures 1.83:1 and fails WCAG AA;
   #333 on the same gold measures 6.91:1. White-on-gold is never used. */
#sga-about .sga-btn-primary{background:#EEB800;border-color:#d9a800;color:#333333;}
#sga-about .sga-btn-primary:hover,#sga-about .sga-btn-primary:focus{background:#d9a800;color:#18334A;text-decoration:none;}
#sga-about .sga-btn-secondary{background:#FFFFFF;border-color:#18334A;color:#18334A;}
#sga-about .sga-btn-secondary:hover,#sga-about .sga-btn-secondary:focus{background:#F8F8F8;text-decoration:none;}
/* The three-rule focus shape basic.css already ships: a ring for keyboard and
   assistive technology, nothing on a mouse click. Restated so a later edit to
   this file cannot quietly drop it. */
#sga-about .sga-btn:focus{outline:2px solid #0071bb;outline-offset:2px;}
#sga-about .sga-btn:focus:not(:focus-visible){outline:none;}
#sga-about .sga-btn:focus-visible{outline:2px solid #0071bb;outline-offset:2px;}

/* ---- mission -------------------------------------------------------------- */
#sga-about .sga-mission{text-align:center;margin:0 0 44px;}
#sga-about .sga-h2{font-size:26px;line-height:32px;font-weight:700;margin:0 0 12px;}
#sga-about .sga-mission p{font-size:16px;line-height:1.7;color:#333333;margin:0 auto;max-width:48em;}

/* ---- six commitments ------------------------------------------------------ */
#sga-about .sga-band{background:#F5F8FA;border-top:1px solid #DDDDDD;border-bottom:1px solid #DDDDDD;
  padding:30px 22px;margin:0 0 44px;text-align:center;}
/* align-items:stretch is the flex default and is what makes the cards in each
   row equal height. It is stated explicitly so the behaviour is not accidental. */
#sga-about .sga-grid{display:flex;flex-wrap:wrap;gap:16px;margin-top:22px;text-align:left;
  align-items:stretch;}
/* ABOUT-DEV-1 refinement 1: horizontal padding reduced from 18px to 12px, which
   returns 12px of readable width to each card in a column that is only about
   225px wide. Vertical padding tightened from 20px to 16px to match.
   ABOUT-DEV-1 refinement 2: the card is a column flex container with NO fixed
   height and NO overflow clipping, so cards match their row's height by growing,
   never by cropping their own text. */
#sga-about .sga-card{flex:1 1 200px;display:flex;flex-direction:column;
  background:#FFFFFF;border:1px solid #E4E8EB;border-radius:6px;
  padding:16px 12px;box-sizing:border-box;box-shadow:0 1px 3px rgba(24,51,74,.06);}
/* refinement 2 again: the icon sat 14px from its heading, which read as a gap
   rather than a pairing. 10px binds the badge to the heading it belongs to. */
#sga-about .sga-badge{width:62px;height:62px;border-radius:50%;background:#FBF0D5;
  display:flex;align-items:center;justify-content:center;margin:0 0 10px;flex:0 0 auto;}
#sga-about .sga-badge img{width:34px;height:34px;display:block;}
/* ABOUT-DEV-1 refinement 3: long headings such as "Product Development &
   Testing" broke into a lonely final word. text-wrap:balance evens the lines out
   where the browser supports it and is simply ignored where it does not, so the
   type size stays at 18px either way. overflow-wrap is the safety net for a
   single word longer than the column; word-break:break-all is deliberately NOT
   used, because it would hyphenate ordinary words mid-syllable. */
#sga-about .sga-h3{font-size:18px;line-height:23px;font-weight:700;margin:0 0 6px;
  text-wrap:balance;overflow-wrap:break-word;hyphens:none;}
#sga-about .sga-card p{font-size:15px;line-height:1.6;color:#333333;margin:0;}

/* ---- final call to action ------------------------------------------------- */
#sga-about .sga-final{text-align:center;margin:0 0 48px;}
#sga-about .sga-final p{font-size:16px;line-height:1.6;color:#333333;margin:0 0 20px;}
