/* Client references share the homepage's light waves and restrained brand accents. */
#references .references-section{display:block;padding-block:76px 80px;border-bottom:0}
.references-heading{max-width:760px;margin-bottom:34px}
#references h2{font-size:clamp(2rem,3.3vw,3rem);margin-bottom:16px}
.references-heading>p:last-child{color:var(--muted);margin-bottom:0}
.client-reference-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 36px}
.client-reference{min-width:0;padding:0 8px 20px;position:relative}
.client-reference::after{content:"";position:absolute;bottom:0;left:8px;right:8px;height:2px;background:linear-gradient(90deg,var(--purple),var(--pink),transparent);opacity:.45}
.client-reference-mark{height:150px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 90% 15%,#f4e8f1 0,transparent 65%),#fff;border-radius:48% 52% 40% 60% / 24% 34% 66% 76%;padding:12px 24px;margin-bottom:12px;overflow:hidden}
.client-reference-mark img{max-width:100%;width:auto;height:126px;object-fit:contain;mix-blend-mode:multiply}
.client-reference-mark--paxocean img{width:100%;height:auto;max-height:126px}
.client-name-mark{font-size:clamp(1.4rem,2.5vw,2.1rem);font-weight:600;letter-spacing:-.04em;text-align:center;line-height:1.2;color:var(--deep)}
.client-reference-caption{text-align:center;min-height:55px;padding-inline:6px}
.client-reference-caption h3{font-size:1rem;font-weight:600;margin:0 0 4px;line-height:1.35}
.client-reference-caption p{font-size:.875rem;color:var(--muted);margin:0}
@media(max-width:700px){#references .references-section{padding-block:64px 80px}.client-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.client-reference{padding-inline:0}.client-reference-mark{height:120px;padding:12px;margin-bottom:10px}.client-reference-mark img{height:96px}.client-reference-mark--paxocean img{height:auto;max-height:96px}.client-name-mark{font-size:1.3rem}.client-reference-caption h3{font-size:.9375rem}.client-reference-caption p{font-size:.8125rem}}
@media(max-width:340px){.client-reference-grid{grid-template-columns:1fr}}

.client-reference--text .client-reference-caption h3{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.client-reference-mark--archirodon img{height:180px;max-width:100%}
@media(max-width:700px){.client-reference-mark--archirodon img{height:140px}}

/* Preserve original client artwork inside the existing curved logo surfaces. */
.client-reference-mark--official img{width:auto;height:auto;max-width:82%;max-height:110px;object-fit:contain;mix-blend-mode:normal}
.client-reference[data-client="mazagon-dock"] .client-reference-mark--official{background:linear-gradient(120deg,var(--deep),var(--purple))}
@media(max-width:700px){.client-reference-mark--official img{max-width:88%;max-height:82px}}

/* Original white NMDC wordmark, on the existing brand background. */
.client-reference[data-client="nmdc"] .client-reference-mark--official{background:linear-gradient(120deg,var(--deep),var(--purple))}
