/*
 * Sara Agliocchi — About page layout · v1.5 · 2026-11-19
 * Approved design. Everything is scoped to .sa-about so it cannot clash with the rest of the site.
 * Layout source: Sara's mockup "bio about7" (A4 landscape). Measurements are % of that page.
 */
.sa-about{
  --sa-pink:#F3A7C9;
  --sa-blue:#22388F;
  --sa-font:"Helvetica Neue",Helvetica,Arial,sans-serif;
  /* Height of the site header (logo/nav) IF it sits in the normal flow above .sa-about.
     Set it on the site, e.g. .sa-about{--sa-offset:120px}. Leave 0 if the header is fixed/overlaid. */
  --sa-offset:0px;
  /* the "A4 page" fitted to the screen, and its 1% unit */
  --sa-pw:min(100vw,141.4vh);
  --sa-u:calc(var(--sa-pw) / 100);
  /* collage width: always fully visible on screen */
  --sa-cw:min(92vw,1180px,calc((100svh - 12vh) * 4479 / 3239));
  display:block;background:transparent;color:var(--sa-blue);  /* inherits the site background (#fbfaf8) */
 font-family:var(--sa-font);
  -webkit-font-smoothing:antialiased;
}
.sa-about *,.sa-about *::before,.sa-about *::after{box-sizing:border-box}
.sa-about a{color:inherit}

/* ── 1. Bio ──
   (Bio): top 13.8% of the screen, left 6.5u, size 3.4u
   text : top 21.7%, left 5u, width 83u, size 1.01u (min 13px), line-height 1.26
   the collage must start at 82% of the screen height (and at least 9vh below the text) */
.sa-about__bio{
  position:relative;width:var(--sa-pw);margin:0 auto;
  min-height:calc(82svh - var(--sa-offset));
  padding:max(4vh,calc(13.8vh - var(--sa-offset))) calc(var(--sa-u) * 12) 9vh calc(var(--sa-u) * 5);
}
.sa-about__title{
  margin:0 0 0 calc(var(--sa-u) * 1.5);
  font-size:clamp(40px,calc(3.4 * var(--sa-u)),96px);line-height:.95;font-weight:500;letter-spacing:-.01em;
  color:var(--sa-pink);
}
.sa-about__text{
  margin-top:calc(21.7vh - 13.8vh - clamp(40px,calc(3.4 * var(--sa-u)),96px) * .95);
  font-size:clamp(13px,calc(1.01 * var(--sa-u)),26px);line-height:1.26;
  letter-spacing:-.018em;word-spacing:-.04em;
}
.sa-about__text p{margin:0 0 1.26em}
.sa-about__text p:last-child{margin-bottom:0}
.sa-about__text strong{font-weight:700}

/* ── 2. Interactive board ── */
.sa-about__board{display:grid;place-items:start center;padding:0 4vw 6vh;scroll-margin-top:4vh}
.sa-about .sa-about__collage{width:var(--sa-cw)}  /* two classes: must win over .ac{width:100%} of the board module */
.sa-about__fallback{display:block;width:100%;height:auto}  /* shown only if JavaScript is off */
.sa-about__ui{
  width:var(--sa-cw);display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-top:14px;
  font-size:clamp(11px,calc(.9 * var(--sa-u)),16px);line-height:1.3;
}
.sa-about__hint{margin:0}
.sa-about__hint--touch{display:none}
@media (hover:none){.sa-about__hint--pointer{display:none}.sa-about__hint--touch{display:block}}
.sa-about__actions{display:flex;gap:.35em;white-space:nowrap}
.sa-about__actions button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-underline-offset:.25em}
.sa-about__actions button:hover,.sa-about__actions button:focus-visible{text-decoration:underline}

/* ── 3. Services / Contact / Clients ── */
.sa-about__info{
  width:var(--sa-pw);margin:0 auto;padding:6vh calc(var(--sa-u) * 12) 12vh calc(var(--sa-u) * 5);
  font-size:clamp(13px,calc(.85 * var(--sa-u)),18px);line-height:1.5;
}
.sa-about__info-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3vw}
.sa-about__label{font-size:inherit;font-weight:700;margin:0 0 .6em}
.sa-about__info p{margin:0}
.sa-about__info a{text-underline-offset:3px}

/* snap to the board when scrolling down — only while the About page is on screen */
@media (min-width:768px){
  html:has(.sa-about){scroll-snap-type:y proximity}
  .sa-about__board{scroll-snap-align:start}
}

/* ── Mobile ── */
@media (max-width:767px){
  .sa-about__bio{width:auto;min-height:0;padding:72px 20px 48px}
  .sa-about__title{margin:0 0 22px;font-size:44px}
  .sa-about__text{margin-top:0;font-size:15px;line-height:1.38}
  .sa-about__board{padding:0 6px 40px}
  .sa-about .sa-about__collage,.sa-about__ui{width:100%}
  .sa-about__ui{padding:0 14px;flex-direction:column;gap:6px}
  .sa-about__info{width:auto;padding:24px 20px 70px;font-size:14px}
  .sa-about__info-grid{grid-template-columns:1fr 1fr;gap:28px 20px}
}
