/* ==========================================================================
   Company pages (About, Our approach, Careers) and the News Room.
   Builds on service.css (sx-* hero, sections, cards, process, FAQ, CTA).
   ========================================================================== */

/* ---------- Centred hero (News Room) ---------- */
.cp-hero { position: relative; overflow: hidden; padding: 28px 0 clamp(56px, 7vw, 88px); color: #C3CDE6; background: radial-gradient(900px 600px at 50% -20%, #1D4ED8 0%, transparent 65%), linear-gradient(160deg, var(--sx-navy, #0A1B4D), var(--sx-deep, #050F2C) 85%); }
.cp-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; }
.cp-hero h1 em { font-style: normal; background: linear-gradient(90deg, #3CCBF4, #7CC4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-hero__copy--center { max-width: 820px; margin: clamp(24px, 4vw, 44px) auto 0; text-align: center; }
.cp-hero__copy--center .sx-hero__lead { margin: 0 auto; }
.cp-hero__chips { justify-content: center; }

/* ---------- News cards ---------- */
.cp-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cp-news > [hidden] { display: none; }
.cp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.cp-filter button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; font: 600 .88rem/1 var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.cp-filter button span { padding: 2px 7px; font-size: .74rem; color: var(--muted); background: var(--tint); border-radius: 99px; }
.cp-filter button:hover { color: var(--blue-600); border-color: var(--blue-600); }
.cp-filter button[aria-pressed="true"] { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.cp-filter button[aria-pressed="true"] span { color: #fff; background: rgba(0, 0, 0, .2); }
.cp-prose .cp-related { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.cp-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cp-card:hover { color: var(--ink); transform: translateY(-4px); border-color: #BCD0FF; box-shadow: 0 24px 46px -26px rgba(0, 85, 255, .35); }
.cp-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.cp-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cp-card:hover .cp-card__img img { transform: scale(1.05); }
.cp-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.cp-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.cp-tag { padding: 3px 10px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--blue-600); background: var(--blue-50); border-radius: 99px; }
.cp-card h3 { margin: 12px 0 8px; font-size: 1.12rem; line-height: 1.35; }
.cp-card small { flex: 1; font-size: .92rem; line-height: 1.55; color: var(--text); }
.cp-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .88rem; font-weight: 700; color: var(--blue-600); }

.cp-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -36px rgba(10, 27, 77, .4); transition: transform .25s; }
.cp-feature:hover { color: var(--ink); transform: translateY(-3px); }
.cp-feature__img img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.cp-feature__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: clamp(24px, 4vw, 48px); }
.cp-feature h2 { margin: 10px 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.cp-feature p { color: var(--text); margin-bottom: 14px; }

.cp-topics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.cp-topics h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- Article ---------- */
.cp-article__head { padding: 28px 0 clamp(36px, 5vw, 56px); background: linear-gradient(180deg, #F3F6FF, #fff); }
.cp-article__head .crumbs a, .cp-article__head .crumbs li { color: var(--muted); }
.cp-article__head .crumbs [aria-current] { color: var(--ink); }
/* The header shares the page container with the image and body below (same left edge); only the text is kept to a readable width. */
.cp-article__headin > * { max-width: 960px; }
.cp-article__cat { margin: clamp(20px, 3vw, 32px) 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.cp-article__head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.025em; }
.cp-article__lead { max-width: 760px; font-size: 1.12rem; color: var(--text); }
.cp-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.cp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cp-meta .icon { color: var(--blue-600); }
.cp-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: var(--section); }
.cp-article__img { margin: 0 0 32px; }
.cp-article__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -36px rgba(10, 27, 77, .45); }
.cp-prose { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.cp-prose h2 { margin: 40px 0 12px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); color: var(--ink); scroll-margin-top: 100px; }
.cp-prose h3 { margin: 26px 0 8px; font-size: 1.18rem; color: var(--ink); }
.cp-prose p { margin: 0 0 16px; }
.cp-prose ul, .cp-prose ol { display: grid; gap: 8px; margin: 0 0 20px; padding-left: 22px; }
.cp-prose ul { list-style: disc; }
.cp-prose ol { list-style: decimal; }
.cp-prose li::marker { color: var(--blue-600); font-weight: 700; }
.cp-prose a { font-weight: 600; color: var(--blue-600); text-decoration: underline; text-decoration-color: rgba(0, 85, 255, .3); text-underline-offset: 3px; }
.cp-prose a:hover { text-decoration-color: currentColor; }
.cp-callout { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--blue-600); border-radius: 0 14px 14px 0; background: var(--blue-50); }
.cp-callout strong { display: block; margin-bottom: 4px; color: var(--ink); }
.cp-callout p { margin: 0; font-size: 1rem; }
.cp-article__faq { margin-top: 44px; }
.cp-article__faq h2 { margin-bottom: 18px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); scroll-margin-top: 100px; }
.cp-article__faq h3.acc__title { margin: 0; font-size: 1.02rem; line-height: 1.4; color: inherit; }
.cp-article__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.cp-toc, .cp-side-card { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.cp-toc__title { margin: 0 0 12px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cp-toc ol { display: grid; gap: 8px; counter-reset: toc; }
.cp-toc li { counter-increment: toc; display: flex; gap: 8px; font-size: .9rem; line-height: 1.4; }
.cp-toc li::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--blue-400); }
.cp-toc a { color: var(--text); }
.cp-toc a:hover { color: var(--blue-600); }
.cp-rel { display: grid; gap: 8px; }
.cp-rel a { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.cp-rel a:hover { color: var(--blue-600); }
.cp-side-card--navy { color: #C3CDE6; background: linear-gradient(160deg, #0A1B4D, #050F2C); border: 0; }
.cp-side-card--navy p { margin: 0 0 14px; font-size: .92rem; }
.cp-side-card--navy strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1.02rem; }

/* ---------- About: offices, products, timeline ---------- */
.cp-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cp-office { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.cp-office h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.12rem; }
.cp-office__tag { margin-left: auto; padding: 3px 10px; font-size: .7rem; font-weight: 700; color: var(--blue-600); background: var(--blue-50); border-radius: 99px; }
.cp-office address { font-style: normal; font-size: .94rem; line-height: 1.55; color: var(--text); }
.cp-office a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; }
.cp-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cp-shot { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .25s, box-shadow .25s; }
.cp-shot:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(10, 27, 77, .45); }
.cp-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.cp-shot span { padding: 14px 16px; font-size: .94rem; font-weight: 700; }
.cp-shot small { display: block; margin-top: 2px; font-weight: 500; font-size: .8rem; color: var(--muted); }
.cp-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: clamp(28px, 4vw, 44px); }
.cp-mv__card { padding: clamp(24px, 3vw, 34px); border-radius: 22px; color: #C3CDE6; background: linear-gradient(160deg, #0A1B4D, #050F2C); }
.cp-mv__card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: #fff; font-size: 1.25rem; }
.cp-mv__card .icon { color: #3CCBF4; }
.cp-mv__card p { margin: 0; }

/* ---------- Careers ---------- */
.cp-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px); gap: 14px; }
.cp-gallery figure { margin: 0; overflow: hidden; border-radius: 18px; }
.cp-gallery figure:first-child { grid-row: span 2; }
.cp-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cp-gallery figure:hover img { transform: scale(1.05); }
.cp-jobs { display: grid; gap: 14px; }
.cp-job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.cp-job h3 { margin: 0 0 6px; font-size: 1.12rem; }
.cp-job p { margin: 0; font-size: .94rem; color: var(--text); }
.cp-job__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cp-job__meta span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; font-size: .78rem; font-weight: 600; color: var(--text); background: var(--tint); border-radius: 99px; }
.cp-note { margin-top: 18px; font-size: .92rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .cp-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .cp-news, .cp-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cp-feature, .cp-topics, .cp-article__grid, .cp-mv { grid-template-columns: minmax(0, 1fr); }
    .cp-article__side { position: static; }
    .cp-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cp-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
    .cp-gallery figure:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
    .cp-news, .cp-offices, .cp-shots { grid-template-columns: minmax(0, 1fr); }
    .cp-job { grid-template-columns: minmax(0, 1fr); }
    .cp-job .icon-tile { display: none; }
}
