/* ==========================================================================
   About Us page (in the layout of components/WhoWeAre.tsx, ValueSection.tsx, Metrics.tsx, GroupBrands.tsx)
   ========================================================================== */

/* ---------- Story: text and photos beside the years badge ---------- */
.story { padding-block: var(--section-y); }
.story-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; } }
.story-main > .eyebrow + p { font-size: 18px; line-height: 1.65; color: var(--slate-200); }
.story-main .eyebrow { margin-bottom: 20px; }
.story p { color: var(--slate-300); line-height: 1.7; }
.story-text p + p { margin-top: 16px; }
.story-mall, .story-plumber {
  width: 100%; margin: 28px 0; border-radius: var(--radius-lg); border: 1px solid var(--slate-700); object-fit: cover;
}
.story-mall { aspect-ratio: 660 / 464; }
.story-plumber { height: 260px; margin-bottom: 0; }

.story-side { position: relative; padding-top: 72px; }
.story-gloves { position: relative; width: 82%; max-width: 460px; margin-left: auto; }
.story-gloves::before {
  content: ""; position: absolute; left: -48px; top: 40px; width: 160px; height: 160px; opacity: .4; z-index: -1;
  background-image: radial-gradient(circle, var(--red) 1.5px, transparent 1.6px); background-size: 16px 16px;
}
.story-gloves img {
  width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--slate-700);
  box-shadow: var(--shadow-panel); transition: transform .5s var(--ease-out);
}
.story-gloves:hover img { transform: scale(1.015); }
.story-side-text { margin-top: 36px; }
.story-side-text p + p { margin-top: 16px; }
.story-badge {
  position: absolute; top: 0; right: -8px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 176px; height: 176px; border-radius: 50%; background: var(--signal); color: #fff; box-shadow: var(--shadow-glow);
}
.story-badge-number { font-size: 60px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.story-badge-label { margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1023px) {
  .story-side { max-width: 640px; }
}
@media (max-width: 639px) {
  .story-gloves { width: 88%; }
  .story-gloves img { height: 320px; }
  .story-badge { width: 136px; height: 136px; right: 0; }
  .story-badge-number { font-size: 46px; }
  .story-plumber { height: 200px; }
}

/* ---------- Corporate social responsibility ---------- */
.csr { padding-block: 0 var(--section-y); }
.csr-grid {
  display: grid; gap: 24px; padding-top: 48px; padding-bottom: 8px;
}
.csr-grid { position: relative; }
.csr-grid::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: linear-gradient(to right, var(--slate-800), rgba(43, 119, 187, .5), var(--slate-800)); }
@media (min-width: 1024px) { .csr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; } }
.csr-head h2 { margin: 0; }
.csr-text p { font-size: 17px; line-height: 1.75; color: var(--slate-300); }

/* ---------- Values card (shared .value-card) ---------- */
.about-values { padding-top: 0; }

/* ---------- Group of companies, brands, certifications (logo tiles) ---------- */
.about-group { padding-block: var(--section-y) 0; }
.about-brands-title { margin-top: 56px; }
.certs { padding-block: 56px var(--section-y); }
.cert-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cert-list .logo-tile-static { height: 168px; }
.cert-list img { max-height: 128px; }
@media (min-width: 768px) { .cert-list { max-width: 75%; margin-inline: auto; } }
@media (max-width: 639px) { .cert-list .logo-tile-static { height: 112px; padding: 12px; } .cert-list img { max-height: 84px; } }

/* ---------- Our team ---------- */
.team { padding-block: var(--section-y); border-top: 1px solid rgba(30, 41, 59, .6); background: linear-gradient(to bottom, rgba(13, 30, 70, .45), transparent 60%); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.team-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--slate-800);
  background: var(--ink-900); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.team-card:hover { border-color: rgba(77, 149, 214, .4); box-shadow: 0 18px 50px -24px rgba(43, 119, 187, .55); transform: translateY(-3px); }
.team-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--ink-700), var(--ink-800) 70%); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
/* the shared placeholder portrait (grey figure on white) drawn as a light figure on the dark tile */
.team-photo img[src$="sjdsjdk.jpg"] { filter: invert(1); mix-blend-mode: screen; opacity: .5; }
.team-info { flex: 1; padding: 18px 20px 20px; border-top: 1px solid var(--slate-800); }
.team-name { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: #fff; }
.team-role { margin: 6px 0 0; font-family: var(--f-mono); font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-400); }
@media (max-width: 1023px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .team-grid { gap: 12px; }
  .team-info { padding: 14px; }
  .team-name { font-size: 15px; }
  .team-role { font-size: 10px; letter-spacing: .1em; }
}

/* ---------- Find us (map) ---------- */
.find-us { padding-block: var(--section-y); }
.find-us .section-head { margin-bottom: 32px; }

/* Reduced motion: the hover lift and zoom stay still; the colour and shadow feedback remain. */
@media (prefers-reduced-motion: reduce) {
  .story-gloves:hover img, .team-card:hover { transform: none; }
}
