/* Content pages (About, Team, Responsibility, services, careers, contact).
   Pages use the "Full width (no title)" template and normal editor blocks with these section classes. */
/* Every section is a full-width colour band (like the industry pages); its content stays on the 1360 px grid. */
.has-global-padding > .cc-pg { max-width: none !important; margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1) !important; margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1) !important; }
.cc-pg { padding-block: clamp(44px, 6vw, 88px); padding-inline: clamp(20px, 4vw, 40px); margin-block: 0 !important; }
.cc-pg > * { max-width: 1360px; margin-inline: auto !important; }
/* Left-align every element to the 1360 px grid (not centre it), so narrower elements such as the 68-character intro text line up with the headings.
   Sections with their own grid (brand hero, process ring) are excluded. */
.cc-pg:not(.cc-pg-hero--brand):not(.cc-pg-dark--ring):not(.cc-pg-media) > * { margin-left: max(0px, calc((100% - 1360px) / 2)) !important; margin-right: auto !important; }

/* Section with an image beside its intro (e.g. Responsibility › Quality): eyebrow, heading and intro left, image right; everything after the image spans both columns. */
@media (min-width: 1024px) {
	.cc-pg-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 680px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
	.cc-pg-media > * { grid-column: 2 / 4; max-width: none; margin-inline: 0 !important; }
	.cc-pg-media > :nth-child(-n+3) { grid-column: 2; padding-right: clamp(32px, 4vw, 64px); }
	.cc-pg-media > .cc-lead { align-self: start; }
	.cc-pg-media > .cc-brand-art { grid-column: 3; grid-row: 1 / 4; min-height: 340px; margin-bottom: 32px !important; }
}
.cc-pg-media > .cc-brand-art { border-radius: 16px; }
@media (max-width: 1023px) {
	.cc-pg-media > .cc-brand-art { min-height: 0; aspect-ratio: 3 / 2; margin-block: 24px !important; }
}
.wp-site-blocks main .cc-pg + .cc-pg { margin-top: 0; }
.cc-pg .cc-eyebrow { color: var(--wp--preset--color--text-muted); margin-bottom: 4px; }
.cc-pg h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -0.01em; text-transform: uppercase; color: var(--wp--preset--color--yale-blue); margin-top: 8px; }
.cc-pg h2 { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.06; text-transform: uppercase; color: var(--wp--preset--color--yale-blue); margin-top: 8px; }
.cc-pg h3 { font-size: var(--wp--preset--font-size--large); font-weight: 500; color: var(--wp--preset--color--black); text-transform: none; }
.cc-pg .cc-lead { max-width: 68ch; }
.cc-pg-crumbs { font-size: 15px; color: var(--wp--preset--color--text-muted); margin-bottom: 28px !important; }
.cc-pg-crumbs a { color: var(--wp--preset--color--yale-blue); }

/* Hero */
.cc-pg-hero { padding-top: 36px; }

/* Hero with brand graphic (Applications; reusable on other overview pages).
   Same split as the industry hero: text left, graphic fills the right half to the screen edge; on phones the graphic sits above the text (16:9). */
.cc-pg-hero--brand { padding: 0 !important; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(var(--cc-hero-auto, 3), auto) 1fr; }
.cc-pg-hero--mcm { --cc-hero-auto: 4; } /* crumbs, eyebrow, h1, lead; buttons take the last row */
.cc-pg-hero--brand > * { grid-column: 1; max-width: none; margin: 0 !important; padding-left: max(clamp(20px, 4vw, 40px), calc((100vw - 1360px) / 2)); padding-right: clamp(32px, 4vw, 64px); }
.cc-pg-hero--brand > :first-child { padding-top: 36px; }
.cc-pg-hero--brand > .cc-pg-crumbs { margin-bottom: 28px !important; }
.cc-pg-hero--brand > h1 { margin-block: 8px 20px !important; font-size: clamp(34px, 3.8vw, 60px); overflow-wrap: break-word; hyphens: auto; }
.cc-pg-hero--brand > .cc-lead:nth-last-child(2) { align-self: start; padding-bottom: clamp(40px, 5vw, 56px); }
.cc-pg-hero--brand > .wp-block-buttons { align-self: start; margin-top: 32px !important; padding-bottom: clamp(40px, 5vw, 56px); }
.cc-pg-hero--brand > .cc-pg-facts { grid-column: 1 / -1; margin: 0 !important; padding: clamp(40px, 5vw, 56px) max(clamp(20px, 4vw, 40px), calc((100vw - 1360px) / 2)) clamp(56px, 7vw, 96px) !important; }
/* The hero grows with the screen width so photos keep close to their 3:2 format on wide monitors (440 px on laptops, up to 900 px on ultra-wide screens). */
@media (min-width: 1024px) { .cc-pg-hero--brand > .cc-brand-art { min-height: clamp(440px, 36vw, 900px); } }
.cc-pg-hero--brand > .cc-brand-art { grid-column: 2; grid-row: 1 / -1; padding: 0; }
.cc-brand-art { position: relative; overflow: hidden; min-height: 440px; background: linear-gradient(115deg, rgba(12, 188, 240, .28) 0%, #fff 55%, var(--wp--preset--color--powder-petal) 100%); }
.cc-brand-art__sphere { position: absolute; width: min(88%, 640px); height: auto; right: -16%; bottom: -24%; }
.cc-brand-art__dot { position: absolute; width: 17%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--yale-blue); left: 18%; top: 20%; }
.cc-brand-art--image { background: var(--wp--preset--color--yale-blue); }
.cc-brand-art--svg { background: #fff; }
.cc-brand-art--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) {
	.cc-pg-hero--brand { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.cc-pg-hero--brand > * { padding-inline: clamp(20px, 4vw, 40px); }
	.cc-pg-hero--brand > :first-child { padding-top: 28px; }
	.cc-pg-hero--brand > .cc-brand-art { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; padding: 0; }
	.cc-pg-hero--brand > .cc-pg-crumbs { padding-top: 28px; }
	.cc-brand-art__sphere { width: 62%; right: -8%; bottom: -30%; }
	.cc-brand-art__dot { width: 13%; left: 14%; top: 22%; }
}

/* "How it works" with process ring (Custom manufacturing).
   ≥1024 px: ring left (wider), text right. 640–1023 px: ring on top, full width. <640 px: ring hidden, numbered list of the seven stages instead. */
@media (min-width: 1024px) {
	.cc-pg-dark--ring { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 520px) minmax(0, 1fr); grid-template-rows: 1fr repeat(5, auto) 1fr; column-gap: 0; }
	.cc-pg-dark--ring > * { grid-column: 3; max-width: none; margin-inline: 0 !important; }
	.cc-pg-dark--ring > .cc-ring { grid-column: 2; grid-row: 1 / -1; align-self: center; margin: 0 !important; padding-right: clamp(32px, 4vw, 64px); }
	.cc-pg-dark--ring > :nth-child(2) { grid-row: 2; }
	.cc-pg-dark--ring > :nth-child(3) { grid-row: 3; }
	.cc-pg-dark--ring > :nth-child(4) { grid-row: 4; }
	.cc-pg-dark--ring > :nth-child(5) { grid-row: 5; }
	.cc-pg-dark--ring > :nth-child(6) { grid-row: 6; }
}
.cc-ring { margin: 0 auto 40px; max-width: 760px; }
.cc-ring__stage { position: relative; }
.cc-ring svg { display: block; width: 100%; height: auto; }
.cc-ring__list { display: none; }
@media (max-width: 639px) {
	.cc-ring__stage { display: none; }
	.cc-ring { margin: 0 0 32px; }
	.cc-ring__list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
	.cc-ring__list li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: #fff; }
	.cc-ring__list span { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--wp--preset--color--bright-sky); color: var(--wp--preset--color--yale-blue); font-weight: 600; font-size: 15px; }
}
@keyframes ccRingRun { to { stroke-dashoffset: -1319.5; } }
@keyframes ccRingPulse { 0%, 8% { transform: scale(1.18); } 16%, 100% { transform: scale(1); } }
.cc-ring__run { animation: ccRingRun 14s linear infinite; }
.cc-ring__node { animation: ccRingPulse 14s ease-in-out infinite; }
.cc-ring.is-paused .cc-ring__run, .cc-ring.is-paused .cc-ring__node { animation-play-state: paused; }
.cc-ring__pause { position: absolute; right: 0; bottom: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; cursor: pointer; }
.cc-ring__pause:hover { background: rgba(255, 255, 255, .12); }
.cc-ring__pause:focus-visible { outline: 2px solid var(--wp--preset--color--bright-sky); outline-offset: 3px; }
.cc-ring__i-play { display: none; }
.cc-ring.is-paused .cc-ring__i-pause { display: none; }
.cc-ring.is-paused .cc-ring__i-play { display: inline; }
@media (prefers-reduced-motion: reduce) {
	.cc-ring__run, .cc-ring__node { animation: none; }
	.cc-ring__pause { display: none; }
}

/* Key figures */
.cc-pg-facts { list-style: none; padding: 0 !important; margin-top: 40px !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.cc-pg-facts li { display: flex; flex-direction: column; gap: 6px; padding-left: 14px; border-left: 2px solid var(--wp--preset--color--bright-sky); font-size: 15px; color: var(--wp--preset--color--text-muted); }
.cc-pg-facts strong { order: -1; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; font-weight: 500; color: var(--wp--preset--color--yale-blue); }

/* Dark section */
.cc-pg-dark { background: var(--wp--preset--color--yale-blue); color: #fff; }
.cc-pg-dark h2, .cc-pg-dark h3 { color: #fff; }
.cc-pg-dark .cc-eyebrow { color: var(--wp--preset--color--bright-sky); }
.cc-pg-dark p { color: rgba(255,255,255,.9); }
.cc-pg-dark a { color: #fff; }

/* Light section */
.cc-pg-tint { background: var(--wp--preset--color--sky-tint); }

/* Numbered steps */
.cc-pg-steps { list-style: none; counter-reset: s; padding: 0 !important; margin-top: 40px !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.cc-pg-steps li { counter-increment: s; padding-top: 18px; border-top: 2px solid rgba(12,188,240,.7); font-size: 17px; line-height: 1.5; }
.cc-pg-steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--wp--preset--color--bright-sky); }
.cc-pg:not(.cc-pg-dark) .cc-pg-steps li::before { color: var(--wp--preset--color--yale-blue); }

/* Timeline */
.cc-pg-timeline { list-style: none; padding: 0 !important; margin-top: 40px !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 32px; }
.cc-pg-timeline li { padding: 16px 0 16px 18px; border-left: 2px solid var(--wp--preset--color--hairline); position: relative; font-size: 16px; }
.cc-pg-timeline li::before { content: ""; position: absolute; left: -6px; top: 22px; width: 10px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #0994bd, #074064); }
.cc-pg-timeline strong { display: block; font-size: 22px; font-weight: 500; color: var(--wp--preset--color--yale-blue); }

/* Columns of facts (locations etc.) */
.cc-pg-cols { gap: 32px !important; margin-top: 36px !important; }
.cc-pg-cols h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--text-muted); }
.cc-pg-cols p { margin: 0; font-size: 17px; line-height: 1.6; }

/* Cards */
.cc-pg-cards { gap: 16px !important; }
.cc-pg-cards > .wp-block-column { background: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.cc-pg-tint .cc-pg-cards > .wp-block-column, .cc-pg-cards.is-white > .wp-block-column { background: #fff; }
.cc-pg:not(.cc-pg-tint):not(.cc-pg-dark) .cc-pg-cards > .wp-block-column { background: var(--wp--preset--color--sky-tint); }
.cc-pg-cards h3 { margin: 0; color: var(--wp--preset--color--yale-blue); }
.cc-pg-cards p { margin: 0; }
.cc-pg-cards .cc-eyebrow { margin: 0; }
.cc-pg-cards a { font-weight: 500; }
.cc-pg-cards > .wp-block-column > :last-child { margin-top: auto; padding-top: 8px; }

/* CTA */
.cc-pg-cta { background: var(--wp--preset--color--bright-sky); }
.cc-pg-cta h2 { color: var(--wp--preset--color--navy-deep); margin-top: 0; }
.cc-pg-cta p { color: var(--wp--preset--color--navy-deep); font-size: var(--wp--preset--font-size--lead); }
.cc-pg-cta .wp-block-button__link { background: var(--wp--preset--color--navy-deep); }
.cc-pg-cta .wp-block-button__link:hover { background: var(--wp--preset--color--black); }
.cc-pg-dark .wp-block-button__link { background: #fff; color: var(--wp--preset--color--yale-blue); }

/* Chips (reaction types, frameworks, equipment) */
.cc-pg-chips { list-style: none; padding: 0 !important; margin: 16px 0 28px !important; display: flex; flex-wrap: wrap; gap: 8px; }
.cc-pg-chips li { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--wp--preset--color--sky-tint); color: var(--wp--preset--color--yale-blue); font-size: 16px; font-weight: 500; }
.cc-pg-tint .cc-pg-chips li { background: #fff; }
.cc-pg-dark .cc-pg-chips li { background: rgba(255,255,255,.1); color: #fff; }
.cc-pg h3 + .cc-pg-chips { margin-top: 8px !important; }

/* Tables */
.cc-pg-table { margin-top: 28px !important; overflow-x: auto; }
.cc-pg-table table { border-collapse: collapse; width: 100%; min-width: 520px; border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--sky-tint); }
.cc-pg-table th, .cc-pg-table td { padding: 14px 20px; border: 0; border-bottom: 1px solid rgba(7,64,100,.12); text-align: left; font-size: 16px; }
.cc-pg-table thead th { background: var(--wp--preset--color--yale-blue); color: #fff; font-weight: 500; }
.cc-pg-table tbody td:first-child { font-weight: 500; color: var(--wp--preset--color--yale-blue); white-space: nowrap; }
.cc-pg-table tbody tr:last-child td { border-bottom: 0; }

/* Term overviews (Industries, Applications, Product groups) */
.cc-ti__h { margin-top: 40px !important; font-size: var(--wp--preset--font-size--x-large) !important; text-transform: none !important; color: var(--wp--preset--color--black) !important; }
.cc-ti__h:first-child { margin-top: 0 !important; }
.cc-ti-inds { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.cc-ti-inds.is-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cc-ti-inds a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--wp--preset--color--black); height: 100%; }
.cc-ti-inds__img { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; margin-bottom: 8px; background: linear-gradient(135deg, var(--wp--preset--color--sky-tint) 0%, #9fdcf2 100%); }
.cc-ti-inds__img.is-cosm { background: linear-gradient(135deg, #fbefe9 0%, var(--wp--preset--color--powder-petal) 100%); }
.cc-ti-inds__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-ti-inds__name { font-size: var(--wp--preset--font-size--large); font-weight: 500; color: var(--wp--preset--color--yale-blue); }
.cc-ti-inds a:hover .cc-ti-inds__name { text-decoration: underline; text-underline-offset: 4px; }
.cc-ti-inds__n { font-size: 15px; color: var(--wp--preset--color--text-muted); }
.cc-ti-inds__intro { font-size: 16px; line-height: 1.55; }
.cc-ti-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cc-ti-group { padding: 24px 28px; border-radius: 16px; background: var(--wp--preset--color--sky-tint); }
.cc-ti-group__h { margin: 0 0 12px !important; font-size: var(--wp--preset--font-size--large) !important; text-transform: none !important; }
.cc-ti-group__h a { color: var(--wp--preset--color--yale-blue); text-decoration: none; }
.cc-ti-group__h a:hover { text-decoration: underline; }
.cc-ti-group ul { list-style: none; margin: 0; padding: 0; }
.cc-ti-group li a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(7,64,100,.1); color: var(--wp--preset--color--black); text-decoration: none; font-size: 16px; }
.cc-ti-group li a:hover span:first-child { color: var(--wp--preset--color--yale-blue); text-decoration: underline; }
.cc-ti-group__n { color: var(--wp--preset--color--text-muted); font-size: 14px; }
@media (max-width: 1023px) { .cc-ti-inds, .cc-ti-inds.is-small, .cc-ti-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cc-ti-inds, .cc-ti-inds.is-small, .cc-ti-groups { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 781px) {
	.cc-pg-cards > .wp-block-column { padding: 22px; }
}
