/* Company profile page only. Kept out of site.css on purpose: /assets/* is
   served as immutable for a year, so a returning visitor may hold an older
   site.css. A separate file is a new URL and always arrives fresh. If this
   file changes after launch, rename it (profile-2.css) and update the
   `css:` line on the /profile/ page in src/pages.js. Tokens come from
   site.css, which every page loads first. */

.profile__acts { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

/* Procurement facts. Flex, not grid: the last row stretches to fill the
   width, so a count that does not divide evenly never leaves a hole. */
.pfile {
  display: flex; flex-wrap: wrap; margin: 1.5rem 0 1rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); overflow: hidden;
}
.pfile > div {
  flex: 1 1 14.5rem; min-width: min(14.5rem, 100%);
  padding: 1rem 1.2rem; box-shadow: inset -1px -1px 0 var(--line);
}
.pfile > .pfile__wide { flex: 2.2 1 20rem; }
.pfile dt {
  font-family: var(--display); font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .3rem;
}
.pfile dd { margin: 0; font-weight: 500; line-height: 1.45; overflow-wrap: break-word; }

/* Services with their full inclusion lists. */
.psvc {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr));
}
.psvc > li {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.35rem 1.45rem;
}
.psvc h3 { margin-bottom: .4rem; }
.psvc h3 a { color: inherit; text-decoration: none; }
.psvc h3 a:hover { color: var(--brand-text); }
.psvc > li > p { color: var(--ink-2); font-size: .96rem; }
.psvc .ticks {
  margin: .9rem 0 0; font-size: .93rem;
  grid-template-columns: repeat(auto-fit, minmax(min(11.5rem, 100%), 1fr));
}

/* All five jobs: flex so the second row stretches instead of orphaning one. */
.cases--all { display: flex; flex-wrap: wrap; margin-bottom: 1.75rem; }
.cases--all .case { flex: 1 1 19rem; }

.profile__who { gap: var(--gap); align-items: start; }
.profile__who .ticks { grid-template-columns: 1fr; }
.profile__cap { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }


/* Work photographs. The gallery slider is not reused here: it depends on
   -slide.webp variants that only the eight homepage photos have. */
.pshots {
  list-style: none; padding: 0; margin: 2rem 0 1.75rem;
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}
.pshots figure { margin: 0; }
.pshots__img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-sm); background: var(--paper-3);
}
.pshots figcaption { margin-top: .55rem; font-size: .88rem; color: var(--ink-2); }
