/* PW-292: /experience at tablet width (760 to 860px). Below 861px styles.css stacks every entry with a 16:9 image above the text,
   which made the page about 40% taller than at 1024. Here the entry keeps two columns with a narrow image column (the same
   structure as 1024 and up, no new elements, no copy change). 759px and below, and 861px and up, are untouched. Static layout, no motion. */
@media (min-width:760px) and (max-width:860.98px){
  .entries .entry,.entries .entry.wide{grid-template-columns:minmax(0,220px) minmax(0,1fr)}
  .entries .entry>.entry-img,.entries .entry.wide>.entry-img{aspect-ratio:auto;min-height:220px}
  /* The TimeTrade photo is two watches side by side; centred, the 220px column cuts both dials in half. 15% frames the whole green watch. */
  .entries .entry-img img[src*="watch"]{object-position:15% 50%}
}

/* PW-297: the first entry's summary wraps to 3 lines in Geist but 2 lines in the metric-matched fallback at 833 to 836px and 1023 to 1028px,
   so the font swap pushed the bullets down 26px (CLS 0.0045 at 1024). Geist sets it in 3 lines across 760 to 836px and 861 to 1028px, so the
   box reserves its final 3 lines in those ranges. Final height is unchanged; only the pre-swap state now matches it. Static layout, no motion. */
@media (min-width:760px) and (max-width:836.98px),(min-width:861px) and (max-width:1028.98px){
  .entries .entry:first-child .summary{min-height:3lh}
}

/* PW-300: at 951 to 953px the first entry's second bullet wraps to 3 lines in Geist but 2 lines in the metric-matched fallback, so the font
   swap pushed the next bullet, the entry foot and everything below it down 24px (CLS 0.0025 at 952, 944 and 954 clean). Geist sets it in
   3 lines in this range, so the box reserves its final 3 lines. Final height is unchanged; only the pre-swap state now matches it. Static layout, no motion. */
@media (min-width:951px) and (max-width:953.98px){
  .entries .entry:first-child .bullets li:nth-child(2){min-height:3lh}
}

/* PW-349: /experience at 320px was 788px taller than at 375 (8237 vs 7449). The text column is 55px narrower (viewport) and the entry body
   (28px side padding) and cards (24px) take another 56px, so every summary and bullet wraps onto more lines. On narrow phones only, trim those
   side paddings so the text column gets width back. Same elements, no copy or content change; vertical padding is untouched. Static layout, no motion. */
@media (max-width:374.98px){
  body[data-page="experience"] .wrap{padding-inline:max(14px,env(safe-area-inset-left,0px))}
  body[data-page="experience"] .entry-body{padding-inline:18px}
  body[data-page="experience"] .card{padding-inline:16px}
}
