/* =========================================================================
   CCell website, 2026 design system - page components
   -------------------------------------------------------------------------
   Load after ccell-chrome.css (fonts, colours, buttons, header, wave, footer).
   Token names match the v3 mockups so page markup carries over.
   ========================================================================= */

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 700; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font); color: inherit; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; margin-bottom: 20px; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 700; }

main { display: block; }
section { padding: var(--section) 0; position: relative; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Eyebrow with the style guide's short yellow dividing line */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--yellow); margin-bottom: 12px; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 760px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .eyebrow::before { margin-left: auto; margin-right: auto; }
.mtop { margin-top: 30px; }
.nw { white-space: nowrap; }
.small { font-size: 13px; color: var(--muted); margin-top: 12px; }
.u { text-decoration: underline; }

.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
/* white cards sitting on navy keep navy headings */
.bg-navy :is(.card, .engcard, .formbox, .calc, .ben, .pcard, .tile, .sdg, .timing > div, .dl a, .report) :is(h2, h3, h4) { color: var(--navy); }
.bg-navy .lede { color: var(--onnavy); }
.bg-navy .eyebrow { color: var(--yellow); }
.bg-navy .link { color: var(--yellow); }
.bg-navy .caption { color: #95A0BD; }

/* ---------- Heroes ---------- */

.hero { position: relative; min-height: 640px; color: #fff; overflow: hidden; background: var(--navy); padding-bottom: 70px; display: flex; flex-direction: column; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,48,.92) 0%, rgba(16,18,48,.7) 50%, rgba(16,18,48,.15) 100%); }
.hero .content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 70px var(--gutter) 0; }
.hero .content > * { max-width: 780px; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { color: #fff; }
.hero h1 .y { color: var(--yellow); }
.hero p.sub, .wavehero p.sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: #E6EAF4; margin-bottom: 30px; }
.hero .secondary-line { font-weight: 800; font-size: clamp(1.25rem, 2.1vw, 1.65rem); color: var(--yellow); margin: -6px 0 22px; line-height: 1.25; }
.crumb { font-size: 13px; opacity: .85; margin-bottom: 34px; }
.crumb a { text-decoration: underline; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #D6DDEA; }
.trust span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: 2px; }
/* The wave sits in a slot: bottom of photo heroes by default, or where the page places it (inline top) */
.hero-wave-slot { position: absolute; left: 0; right: 0; bottom: 40px; height: 200px; z-index: 1; pointer-events: none; }
.hero-wave-slot .ccwave { inset: 0; height: 100%; }
/* Home: the wave runs behind the buttons, as on the modelling page (desktop only; small screens keep the default) */
.hero .hero-wave-slot.behind-ctas { top: 440px; bottom: auto; height: 260px; }
@media (max-width: 900px) { .hero .hero-wave-slot.behind-ctas { top: auto; bottom: 70px; height: 150px; } }
.hero .photo-credit { position: absolute; right: 20px; top: 14px; font-size: 11px; opacity: .75; z-index: 2; }

.finder { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: rgba(9,10,31,.84); display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none;
  padding: 16px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.finder::-webkit-scrollbar { display: none; }
.finder b { font-size: 14px; white-space: nowrap; margin-right: 6px; }
.chip { font-size: 13.5px; padding: 8px 14px; white-space: nowrap; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.chip:hover { border-color: var(--yellow); color: var(--yellow); }
.chip.hl { background: var(--yellow); border-color: var(--yellow); color: var(--navy); font-weight: 800; }

.wavehero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 50% 120%, #1b3764 0%, var(--navy) 62%); min-height: 600px; }
.wavehero .hero-wave-slot { bottom: auto; height: 260px; }
.wavehero .content { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 90px var(--gutter) 260px; }
.wavehero .content > * { max-width: 860px; }
.wavehero h1 { color: #fff; }
.wavehero .eyebrow { color: var(--yellow); }

/* ---------- Grids ---------- */

.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.split-band { display: grid; grid-template-columns: 1fr 1fr; }

/* ---------- Cards and blocks ---------- */

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); font-size: 16px; }
.num { font-size: 40px; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand2); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--teal); margin-bottom: 16px; font-size: 20px; }
.photo { width: 100%; border-radius: 16px; object-fit: cover; display: block; }
.caption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

ul.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
ul.ticks li { padding: 11px 0 11px 34px; position: relative; border-bottom: 1px solid var(--line); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 21px; height: 21px; border-radius: 50%; background: var(--teal); }
ul.ticks li::after { content: ""; position: absolute; left: 7.5px; top: 18px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
ul.ticks b { display: block; }
ul.ticks span { color: var(--muted); font-size: 15.5px; }
.bg-navy ul.ticks li { border-bottom-color: rgba(255,255,255,.14); }
.bg-navy ul.ticks li::before { background: var(--yellow); }
.bg-navy ul.ticks li::after { border-color: var(--navy); }
.bg-navy ul.ticks span { color: var(--onnavy); }

.ladder { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.step { padding: 28px 24px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step .tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--sand2); color: var(--sea); margin-bottom: 14px; }
.step.first { background: var(--navy); color: #fff; }
.step.first .tag { background: var(--yellow); color: var(--navy); }
.step.first p { color: var(--onnavy); }
.step .n { font-weight: 800; font-size: 15px; color: var(--teal); margin-bottom: 6px; }
.step.first .n { color: var(--yellow); }
.step p { font-size: 15px; color: var(--muted); }
.step a.more { display: inline-block; margin-top: 14px; font-weight: 800; font-size: 14px; color: var(--teal); text-decoration: underline; }
.step.first a.more { color: var(--yellow); }

.quote { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.38; }
.quote small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 10px; }
.why { font-size: clamp(1.45rem, 2.7vw, 2.15rem); font-weight: 800; line-height: 1.3; max-width: 980px; }

.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.pcard { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.pcard img { width: 100%; height: 270px; object-fit: cover; display: block; }
.pcard .b { padding: 26px; flex: 1; }
.pcard .b > .link { display: inline-block; margin-top: 4px; }
.pcard .loc { font-size: 13px; font-weight: 800; color: var(--teal); letter-spacing: .06em; text-transform: uppercase; }
.pcard h3 { margin-top: 6px; }
.pcard p { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 16px 0 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { font-size: 13px; color: var(--muted); }
.facts b { display: block; font-size: 26px; font-weight: 800; color: var(--navy); }
.tagp { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--sand2); color: var(--sea); margin: 0 4px 8px 0; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 30px; }
.faq > div { padding: 20px 0; border-top: 1px solid var(--line); }
.faq b { display: block; font-size: 17px; margin-bottom: 6px; }
.faq p { color: var(--muted); font-size: 15.5px; }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 34px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16,18,48,.12); }
.tile img { width: 100%; height: 150px; object-fit: cover; }
.tile .b { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tile .who { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.tile h3 { font-size: 18px; margin: 6px 0 8px; line-height: 1.3; }
.tile p { font-size: 14px; color: var(--muted); flex: 1; }
.tile .go { margin-top: 14px; font-weight: 800; font-size: 14px; color: var(--navy); text-decoration: underline; }
.tile.lead { border: 2px solid var(--navy); }
.partnerline { margin-top: 22px; padding: 16px 22px; border: 1px dashed var(--line); border-radius: 12px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; background: #fff; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); margin-top: 34px; }
.stats > div { padding: 24px 22px; border-right: 1px solid rgba(255,255,255,.16); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-weight: 800; font-size: clamp(1.7rem, 2.7vw, 2.15rem); color: var(--yellow); line-height: 1.1; margin-bottom: 6px; }
.stats span { font-size: 14px; color: var(--onnavy); }
.translate { margin-top: 26px; background: var(--panel); border-left: 4px solid var(--yellow); padding: 18px 22px; border-radius: 10px; font-size: 17px; }
.engcard { background: #fff; color: var(--text); border-radius: 16px; padding: 26px; }
.engcard .eyebrow { color: var(--teal); }
.engcard p { color: var(--muted); font-size: 15px; }
.engcard .link { color: var(--teal); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
table.cmp { width: 100%; min-width: 720px; border-collapse: collapse; margin-top: 30px; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15px; }
table.cmp th, table.cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp th { background: var(--navy); color: #fff; font-weight: 700; }
table.cmp th.us { background: var(--teal); }
table.cmp td.us { background: #E9EEF7; font-weight: 700; color: var(--navy); }
table.cmp td:first-child { font-weight: 700; width: 22%; }
table.entry { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 15.5px; }
table.entry td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.entry td:first-child { font-weight: 700; width: 24%; }
table.entry td:nth-child(2) { width: 26%; font-weight: 800; font-size: 18px; color: var(--navy); }
table.entry td:last-child { text-align: right; width: 20%; }

.press { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 18px; align-items: center; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.logos .card h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.logos .card p { color: var(--text); font-size: 15.5px; }
h3.lg { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-top: 28px; }
.logostrip { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 38px; margin-top: 20px; }
.logostrip img { height: 38px; width: auto; }
.logostrip.press img { height: 30px; filter: grayscale(1); opacity: .8; }
.logostrip.press img[src$="telegraph.png"] { height: 22px; }
.logostrip.press img[src$="business-green.png"] { height: 48px; }
.logostrip.awards img { height: 56px; opacity: .9; }
.logostrip.sil img { filter: brightness(0); opacity: .55; }
.logostrip.panel { background: var(--navy); border-radius: 16px; padding: 26px 34px; }
.logostrip.tiles { display: flex; gap: 12px; margin-top: 20px; }
.logostrip.tiles span { display: flex; align-items: center; justify-content: center; width: 150px; height: 74px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.logostrip.tiles span.dk { background: var(--navy); border-color: var(--navy); }
.logostrip.tiles img { max-width: 124px; max-height: 46px; height: auto; width: auto; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.timeline figure { position: relative; margin: 0; }
.timeline img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; }
.timeline .when { position: absolute; left: 12px; top: 12px; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.timeline figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.arrowline { height: 4px; background: linear-gradient(90deg, var(--sand2), var(--teal)); border-radius: 2px; margin-top: 22px; position: relative; }
.arrowline::after { content: ""; position: absolute; right: -2px; top: -6px; border-left: 12px solid var(--teal); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.bigstat { font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--yellow); }
.src { font-size: 12.5px; color: #95A0BD; margin-top: 10px; }
.src a { text-decoration: underline; }
.bg-sand .src, .src.dark, section:not(.bg-navy) > .wrap > .src { color: var(--muted); }
.free { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; }

.ben { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; position: relative; }
.ben .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.ben p { color: var(--muted); font-size: 15.5px; }
.ben .for { font-size: 12px; font-weight: 800; color: var(--teal); letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--line); }
.principles > div { padding: 24px 26px 0 0; }
.principles b { font-weight: 800; font-size: 22px; display: block; margin-bottom: 8px; color: var(--navy); }
.principles p { color: var(--muted); font-size: 15.5px; }
.aud { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.aud a { display: block; border-top: 3px solid var(--yellow); padding-top: 14px; }
.aud b { display: block; color: #fff; margin-bottom: 6px; }
.aud span { font-size: 14.5px; color: var(--onnavy); }
.aud em { font-style: normal; display: block; margin-top: 10px; font-size: 13.5px; color: var(--yellow); text-decoration: underline; font-weight: 800; }

.dash { background: var(--panel); border: 1px solid #2b3a72; border-radius: 16px; padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.dhead { display: flex; justify-content: space-between; gap: 10px; color: var(--onnavy); font-size: 13.5px; margin-bottom: 12px; }
.dhead b { color: #fff; }
.dot { color: var(--yellow); font-weight: 800; }
.dot::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; margin-right: 7px; vertical-align: middle; }
.dcam { position: relative; }
.dcam img { width: 100%; height: 260px; object-fit: cover; border-radius: 10px; }
.stamp { position: absolute; left: 10px; bottom: 10px; background: rgba(9,10,31,.8); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.dtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.dtiles > div { background: var(--navy); border-radius: 10px; padding: 12px 14px; }
.dtiles small { display: block; color: #95A0BD; font-size: 12px; }
.dtiles b { display: block; font-weight: 800; font-size: 24px; color: var(--yellow); margin: 4px 0 2px; }
.dtiles em { font-style: normal; font-size: 12px; color: var(--onnavy); }

.extra { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: 18px; overflow: hidden; background: var(--navy); color: #fff; }
.extra img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.extra .b { padding: 40px 44px; }
.extra .eyebrow { color: var(--yellow); }
.extra h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.extra .items { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 22px; }
.extra .items > div { border-top: 2px solid var(--yellow); padding-top: 10px; }
.extra .items b { display: block; font-size: 16px; margin-bottom: 4px; }
.extra .items span { font-size: 14.5px; color: var(--onnavy); }
.extra .note { font-size: 14px; color: var(--onnavy); margin-top: 22px; }
.extra .note a { color: var(--yellow); text-decoration: underline; font-weight: 800; }

.sdgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.sdg { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.sdg .h { display: flex; align-items: center; gap: 16px; padding: 10px; color: #fff; min-height: 112px; }
.sdg .h img { width: 92px; height: 92px; flex: none; }
.sdg .h span { font-size: 17px; font-weight: 800; line-height: 1.2; padding-right: 8px; }
.sdg p { padding: 14px 16px 16px; font-size: 14.5px; color: var(--muted); flex: 1; display: flex; flex-direction: column; margin: 0; }
.sdg p i { font-style: normal; margin-top: auto; padding-top: 14px; font-size: 13px; color: #7b7f93; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.filters button, .filters span { font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.filters .on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.pgrid .pcard img { height: 210px; }
.pgrid .pcard .b { padding: 22px; }
.pgrid .pcard p { font-size: 14.5px; }
.pgrid .facts { gap: 18px; }
.pgrid .facts b { font-size: 22px; }
.psw { font-size: 14px; margin-top: 10px; }
.psw b { display: inline; font-size: 14px; color: var(--navy); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba figure { position: relative; margin: 0; }
.ba img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.ba .lbl { position: absolute; left: 10px; top: 10px; background: var(--navy); color: var(--yellow); font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; z-index: 1; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.team .m { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.team .m img { width: 100%; height: 230px; object-fit: cover; object-position: center 25%; }
.team .m .ph { height: 230px; background: var(--sand2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; text-align: center; padding: 20px; }
.team .m .t { padding: 16px 18px; }
.team .m b { display: block; font-size: 17px; }
.team .m span { font-size: 14px; color: var(--teal); font-weight: 800; }
.team .m p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.tl { margin-top: 34px; border-left: 3px solid var(--teal); padding-left: 30px; }
.tl > div { position: relative; padding: 0 0 22px; }
.tl > div::before { content: ""; position: absolute; left: -39px; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--teal); }
.tl b { font-weight: 800; font-size: 20px; color: var(--navy); display: inline-block; min-width: 96px; }
.tl span { font-size: 16px; }
.tl > div:has(ul) { display: grid; grid-template-columns: 96px 1fr; gap: 0 18px; }
.tl ul { margin: 2px 0 0; padding-left: 18px; font-size: 16px; }
.tl li { margin: 0 0 6px; }

.pc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.pc3 .card { overflow: hidden; }
.pc3 .card h3 { font-size: 22px; font-weight: 800; }
.pc3 .card .lab { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-top: 16px; margin-bottom: 4px; }
.pc3 .card img { width: calc(100% + 56px); max-width: none; margin: -28px -28px 20px; height: 190px; object-fit: cover; border-radius: 14px 14px 0 0; }
.calc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.calc .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.calc .row b { font-weight: 800; font-size: 20px; color: var(--navy); }
.calc .row.tot b { color: var(--teal); font-size: 26px; }
.dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.dl a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: 15px; }
.dl a:hover { border-color: var(--teal); }
.dl a b { display: block; margin-bottom: 4px; }
.dl a span { display: block; font-size: 13px; color: var(--muted); }
.dl a em { font-style: normal; display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--teal); letter-spacing: .06em; }

.chain { border-top: 1px solid var(--line); }
.chain .row { display: grid; grid-template-columns: 70px 1fr 400px; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.chain .n { font-weight: 800; font-size: 34px; color: var(--ocean); }
.chain h3 { font-size: 20px; margin-bottom: 4px; }
.chain p { color: var(--muted); font-size: 15px; }
.chain img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; background: #fff; }
/* A row whose image is a chart: show all of it, larger */
.chain .row.fig { grid-template-columns: 70px 1fr 400px; }
.chain .row.fig img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--line); }
.chain .row.tall figure { max-width: 300px; margin: 0 auto; }
.chain .row.tall img { height: auto; aspect-ratio: 700 / 848; object-fit: contain; }
.chain .row.tall img.real { aspect-ratio: 3 / 2; object-fit: cover; margin-top: 18px; }
.chain .row.gifs { grid-template-columns: 70px 1fr 560px; }
.chain .row.gifs.one { grid-template-columns: 70px 1fr 400px; }
.chain .row.gifs .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.chain .row figure { margin: 0; }
.pairfig { display: grid; grid-template-columns: 1.82fr 1fr; gap: 12px; align-items: end; }
.pairfig figure { margin: 0; }
.pairfig img { width: 100%; height: auto; }
.pairfig img[src$=".jpg"] { aspect-ratio: 3 / 2; }
.pairfig img[src$=".png"] { aspect-ratio: 700 / 848; }
.chain .row .caption { margin-top: 8px; font-size: 12.5px; line-height: 1.4; }
.chain .row.gifs img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #0C1530; }
.chain .tags span { display: inline-block; background: #E5ECF7; color: var(--teal); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; margin: 8px 6px 0 0; }
.timing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.timing > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.timing small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--teal); text-transform: uppercase; margin-bottom: 6px; }
.timing b { display: block; font-size: 17px; margin-bottom: 6px; }
.timing span { font-size: 14.5px; color: var(--muted); }

/* ---------- Forms ---------- */

.formbox { background: #fff; color: var(--text); border-radius: 18px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 24px 60px rgba(9,10,31,.25); }
.formbox h3 { font-size: 1.4rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.field { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #FBFAF7; transition: border-color .15s ease, box-shadow .15s ease; }
.field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,75,154,.15); }
.field > label, .field > .lbl { display: block; font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.field input, .field textarea, .field select { width: 100%; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--text); padding: 2px 0; outline: none; }
.field textarea { resize: vertical; min-height: 70px; }
.field input::placeholder, .field textarea::placeholder { color: #8b8fa3; }
.full { grid-column: 1 / -1; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks label span { display: inline-block; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; color: var(--text); transition: all .12s ease; }
.checks label:hover span { border-color: var(--teal); }
.checks input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.checks input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.formbox .btn { margin-top: 20px; width: 100%; }
.formbox .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 14px; }
.formbox .consent input { margin-top: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Image licence review marker ---------- */
/* Any image not from CCell's own library is wrapped or classed .review until it is licensed or replaced. */
img.review { outline: 5px solid var(--review); outline-offset: -5px; }
.review-note { position: absolute; z-index: 5; left: 10px; bottom: 10px; background: var(--review); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; pointer-events: none; }
.has-review { position: relative; }
.hero .review-note { bottom: auto; top: 10px; left: auto; right: 10px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .aud { grid-template-columns: repeat(3, 1fr); }
  .chain .row { grid-template-columns: 56px 1fr 320px; }
  .chain .row.fig { grid-template-columns: 56px 1fr 320px; }
  .chain .row.gifs { grid-template-columns: 56px 1fr 440px; }
  .chain .row.gifs.one { grid-template-columns: 56px 1fr 320px; }
}

@media (max-width: 900px) {
  .g2, .split-band, .extra, .proof { grid-template-columns: 1fr !important; gap: 32px; }
  .g3, .pgrid, .pc3, .principles { grid-template-columns: 1fr 1fr !important; }
  .g4, .timeline, .timing, .sdgs, .dl, .team, .ladder, .stats { grid-template-columns: 1fr 1fr !important; }
  .ladder .step:nth-child(2n) { border-right: 0; }
  .ladder .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .faq { grid-template-columns: 1fr; }
  .chain .row { grid-template-columns: 50px 1fr; }
  .chain .row img { grid-column: 1 / -1; height: 180px; }
  .chain .row.fig { grid-template-columns: 50px 1fr; }
  .chain .row.fig img { height: auto; }
  .chain .row.gifs, .chain .row.gifs.one { grid-template-columns: 50px 1fr; }
  .chain .row.gifs .pair, .chain .row > figure { grid-column: 1 / -1; }
  .chain .row.gifs img { height: auto; grid-column: auto; }
  .extra img { min-height: 260px; max-height: 340px; }
  .hero { min-height: 0 !important; padding-bottom: 150px; }
  .wavehero { height: auto !important; }
  .wavehero .content { padding-bottom: 230px; }
  .wavehero .hero-wave-slot { top: auto !important; bottom: 10px; height: 200px; }
  .hero h1, .wavehero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem) !important; }
  .photo { height: auto !important; max-height: 360px; }
  table.entry, table.entry tbody, table.entry tr, table.entry td { display: block; width: auto !important; text-align: left !important; }
  table.entry tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  table.entry td { border: 0; padding: 4px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .g3, .g4, .pgrid, .pc3, .principles, .timeline, .timing, .sdgs, .dl, .team, .ladder, .tiles, .aud, .fgrid, .extra .items, .ba, .dtiles, .logos { grid-template-columns: 1fr !important; }
  .stats { grid-template-columns: 1fr 1fr !important; }
  .ladder .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .ladder .step:last-child { border-bottom: 0; }
  .extra .b { padding: 28px 22px; }
  .ctas .btn { flex: 1 1 100%; }
  .hero .content, .wavehero .content { padding-top: 44px; }
  .wavehero .content { padding-bottom: 220px; }
  .logostrip.tiles span { width: calc(50% - 6px); }
  .team .m img, .team .m .ph { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
}

/* =========================================================================
   Landing pages (e.g. /barbados-2026NNNN)
   ========================================================================= */

.lp-hero { min-height: 640px; }
.lp-hero .content { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 90px; }
.lp-hero .content > * { max-width: none; }
.lp-chips { display: grid; gap: 14px; justify-items: end; }
.hchip { background: #fff; color: var(--text); border-radius: 14px; padding: 14px 18px; font-size: 14px; box-shadow: 0 16px 40px rgba(9,10,31,.3); min-width: 240px; }
.hchip b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.hchip em { color: var(--muted); font-style: normal; font-size: 12px; }
.dot-red { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--review); margin-right: 8px; vertical-align: 0; }

.pull { margin: 0; }
.pull-q { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800; line-height: 1.05; color: var(--navy); margin-bottom: 12px; }
.pull-by { color: var(--muted); max-width: 760px; }
.ref { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.bg-navy .ref { color: #A9C1E8; }
.lp-q { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.lp-q p { color: var(--navy) !important; font-weight: 700; font-size: 17px; }
.lp-q figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; }

.lp-stats { grid-template-columns: repeat(3, 1fr); }
.lp-stats > div span { display: block; color: var(--onnavy); margin-top: 4px; }
.lp-stats b { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.lp-stand { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; margin-top: 50px; }
.lp-stand h2 { margin: 0; }
.lp-stand p { border-left: 3px solid var(--yellow); padding-left: 22px; font-size: 1.15rem; color: #E6EAF4; margin: 0; }
.lp-note { font-size: 14px; color: var(--muted); align-self: center; }

.report { margin-top: 34px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(16,18,48,.12); }
.rep-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 18px 24px; }
.rep-hd span:not(.free) { color: var(--onnavy); font-size: 13px; }
.rep-ba { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }
.rep-ba figure { position: relative; margin: 0; }
.rep-ba img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.rep-ba .yr { position: absolute; top: 8px; right: 8px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 6px; }
.rep-body { display: grid; grid-template-columns: 1fr 1fr; }
.rep-cell { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.rep-cell:nth-child(odd):not(.full) { border-right: 1px solid var(--line); }
.rep-cell.full { grid-column: 1 / -1; border-bottom: 0; }
.rep-cell h4 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.rep-chart { width: 100%; max-width: 380px; height: auto; font-family: var(--font); font-size: 11px; fill: var(--muted); }
.rep-chart .bar { fill: var(--teal); }
.rep-chart .bar-bad { fill: #C4553A; }
.rep-chart .val { fill: var(--navy); font-weight: 800; }
.rep-waves { width: 100%; border-collapse: collapse; font-size: 15px; }
.rep-waves td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.rep-waves td:last-child { text-align: right; font-weight: 800; color: var(--navy); font-size: 17px; }
.rep-rating { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.rep-rating .scale { display: flex; gap: 8px; }
.rep-rating .scale i { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--sand2); color: var(--muted); font-style: normal; font-weight: 800; }
.rep-rating .scale i.on { background: #C4553A; color: #fff; }
.rep-rating p { flex: 1; min-width: 260px; margin: 0; color: var(--muted); }
.rep-rating p b { color: var(--navy); }

.lp-assess img.lp-surge { height: auto !important; max-height: none; aspect-ratio: 4 / 3; }
.lp-assess video { height: auto !important; max-height: 520px; aspect-ratio: 3 / 4; object-fit: cover; }
.lp-price { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--yellow); margin: -4px 0 18px; }
.lp-assess ul.ticks li::before { background: var(--yellow); }
.lp-assess ul.ticks li::after { border-color: var(--navy); }
.lp-contact { margin-top: 26px; color: var(--onnavy); }
.lp-contact b { color: #fff; }
.lp-contact a { color: #fff; text-decoration: underline; }
.extra figcaption.stamp { bottom: 12px; left: 12px; }

.lp-refs h2 { font-size: 1.6rem; }
.lp-refs ol { margin: 18px 0 0; padding-left: 22px; max-width: 980px; font-size: 14.5px; color: var(--muted); }
.lp-refs li { margin-bottom: 10px; }
.lp-refs li b { color: var(--navy); }
.lp-refs a { color: var(--teal); text-decoration: underline; font-weight: 700; }
:target { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  .lp-hero .content { grid-template-columns: 1fr; padding-top: 50px; }
  .lp-chips { justify-items: start; grid-auto-flow: column; overflow-x: auto; }
  .lp-stats, .lp-stand, .rep-body { grid-template-columns: 1fr !important; }
  .lp-stats > div { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.16); }
  .rep-cell:nth-child(odd):not(.full) { border-right: 0; }
  .rep-ba { grid-template-columns: 1fr 1fr 1fr; }
  .rep-ba img { height: 140px; }
}
@media (max-width: 640px) {
  .lp-chips { display: none; }
  .rep-ba { grid-template-columns: 1fr; }
  .rep-ba img { height: 200px; }
}

/* Navy panels that sit inside light sections */
.extra .lede { color: var(--onnavy); }
.extra .ref, .translate .ref { color: #A9C1E8; }
.pcard[hidden] { display: none; }
.filters button:hover { border-color: var(--navy); }
@media (max-width: 900px) {
  .hero { padding-bottom: 240px; }
  .hero .hero-wave-slot { bottom: 70px; height: 150px; }
  .lp-hero { padding-bottom: 170px; }
  .lp-hero .hero-wave-slot { bottom: 10px; }
}

/* =========================================================================
   Content pages: blog, posts, careers, legal, products
   ========================================================================= */

/* A plain navy page header for pages without a hero photo */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 70px 0 64px; }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 22ch; margin-bottom: 12px; }
.page-head .lede { color: var(--onnavy); }
.page-head .eyebrow { color: var(--yellow); }
.page-head .crumb a { color: #fff; }

/* Long-form text, including HTML stored in the database (blog posts, legal pages) */
.prose { max-width: 760px; font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0 0 1em; }
.prose p:empty { display: none; }
.prose h2 { font-size: 1.7rem; margin: 1.8em 0 .4em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .3em; }
.prose h4, .prose h5 { font-size: 1.1rem; margin: 1.4em 0 .2em; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img, .prose video, .prose iframe { max-width: 100%; border-radius: 12px; }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--yellow); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .lead-in { font-size: 1.25rem; font-weight: 500; color: var(--navy); }

/* Author / date line */
.byline { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline b { display: block; color: var(--navy); font-size: 15px; }
.page-head .byline { color: var(--onnavy); }
.page-head .byline b { color: #fff; }

/* Post/article layout: text plus a narrow side column */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article aside { position: sticky; top: 96px; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article aside { position: static; } }

/* Category tabs (blog) - same pill look as the project filters */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tabs a { font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); }
.tabs a:hover { border-color: var(--navy); }
.tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; }
.pager .on { background: var(--navy); color: #fff; border-color: var(--navy); }


/* =========================================================================
   Page extras: small helpers for specific page groups (scoped by body class)
   ========================================================================= */

/* Blog and project posts (/blogs/<id>) */

/* Byline sits on the dark hero photo */
.pg-post .hero .byline { color: var(--onnavy); }
.pg-post .hero .byline b { color: #fff; }
/* Keep the hero text clear of the wave, whatever the title length */
.pg-post .hero { min-height: 0; padding-bottom: 80px; }


/* Aside: location photo above the project facts */
.pg-post aside .photo { margin: 4px 0 4px; }
.pg-post aside .facts { gap: 12px 22px; }
.pg-post aside .facts b { font-size: 22px; }

/* Info pages (FAQ): answers come from faqs.xml and contain HTML lists and line breaks */
.pg-faq .faq .a { color: var(--muted); font-size: 15.5px; }
.pg-faq .faq .a ul { margin: .6em 0; padding-left: 1.2em; }
.pg-faq .faq .a li + li { margin-top: .25em; }

/* Careers: job cards in a row share the same height */
.pg-careers .g2 { align-items: stretch; }

/* Investor pages (/investment, /login_portal, /request_access, /portal/...).
   Only small helpers the shared components don't cover. Every selector is scoped to .pg-inv (body class). */

/* Two columns aligned to the top, with an optional sticky side */
.pg-inv .g2.top { align-items: start; }
.pg-inv .stick { position: sticky; top: 96px; }

/* FAQ answers that contain links and lists */
.pg-inv .faq a { color: var(--teal); text-decoration: underline; }
.pg-inv .faq ul { margin: 6px 0 0; padding-left: 1.2em; color: var(--muted); font-size: 15.5px; }
.pg-inv .faq li + li { margin-top: 4px; }
.pg-inv .faq .g3 { gap: 6px 28px; margin-top: 10px; }

/* 16:9 video embeds */
.pg-inv .video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy); }
.pg-inv .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Form messages shown after a failed submit (form_validation.js adds .was-validated-custom) */
.pg-inv .invalid-feedback { display: none; font-size: 13px; color: var(--review); margin-top: 6px; }
.pg-inv .was-validated-custom .field:has(:invalid) + .invalid-feedback { display: block; }

/* Investor portal: investment table, downloads and webinar picker */
.pg-inv table.cmp { min-width: 0; margin-top: 18px; }
.pg-inv .dl a { display: flex; gap: 12px; align-items: flex-start; }
.pg-inv .dl img { width: 26px; height: auto; flex: none; margin-top: 2px; }
.pg-inv .vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 20px; }
.pg-inv .vids button { font: inherit; text-align: left; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); }
.pg-inv .vids img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 2px solid transparent; }
.pg-inv .vids button:hover img, .pg-inv .vids button:focus-visible img { border-color: var(--teal); }
.pg-inv .vids span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.35; }

@media (max-width: 900px) {
  .pg-inv .stick { position: static; }
}

/* Product and research pages (/product/reef, /product/sense, /product/habitat, /research).
   Only small helpers the shared components don't cover. Every selector is scoped to .pg-prod. */

/* Pairs and trios of photos with a shared caption */
.pg-prod .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg-prod .pics.three { grid-template-columns: 1fr 1fr 1fr; }
.pg-prod .pics figure { margin: 0; }
.pg-prod .pics img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; background: #fff; }
.pg-prod .pics img.fit { object-fit: contain; }

/* Sub-labels inside feature cards */
.pg-prod .card .lab { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 18px 0 0; }
.pg-prod .card ul.ticks { margin-top: 6px; }
.pg-prod .card ul.ticks li { font-size: 15px; padding: 8px 0 8px 32px; }
.pg-prod .card ul.ticks li::before { top: 10px; }
.pg-prod .card ul.ticks li::after { top: 14px; }

/* Spec table: centred values, product illustrations, footnotes */
.pg-prod table.cmp td:not(:first-child) { text-align: center; }
.pg-prod table.cmp th:not(:first-child) { text-align: center; }
.pg-prod table.cmp td img { margin: 0 auto; width: auto; }

/* Row of UN SDG icons */
.pg-prod .sdgrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pg-prod .sdgrow img { width: 96px; height: 96px; }

@media (max-width: 640px) {
  .pg-prod .pics.three { grid-template-columns: 1fr 1fr; }
  .pg-prod .pics img { height: 180px; }
}

/* Centred buttons in the closing CTA band */
.pg-prod .ctas.mid { justify-content: center; margin-top: 28px; }


/* Before/after pair: show the whole image so the year printed on it stays visible */
.pg-prod .ba img { height: auto; aspect-ratio: 32 / 25; }

/* Team cards that link to a person's page */
a.m { display: block; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
a.m:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16,18,48,.12); }
.team .m .more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--teal); text-decoration: underline; }
.team .m .ph.initials { font-size: 54px; font-weight: 800; color: var(--navy); background: var(--sand2); }
.team + h3, h3.mtop { margin-top: 34px; }

/* Modelling case studies */
.cs-stats { grid-template-columns: repeat(3, 1fr) !important; }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 30px; }
.case { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.case[hidden] { display: none; }
.case > img { width: 100%; height: 260px; object-fit: cover; display: block; }
.case .b { padding: 26px; flex: 1; }
.case .loc { font-size: 13px; font-weight: 800; color: var(--teal); letter-spacing: .06em; text-transform: uppercase; }
.case h3 { margin-top: 6px; }
.case .who { font-size: 14px; color: var(--muted); margin: 2px 0 12px; }
.case .psw { font-size: 15.5px; }
.fig-needed { height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; font-size: 15px; color: var(--muted); background: var(--sand2); border: 3px dashed var(--review); }
.fig-needed span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--review); }
@media (max-width: 860px) { .cases, .cs-stats { grid-template-columns: 1fr !important; } }

/* Team page header when there is no photo yet */
.photo.ph-initials { height: 380px; display: flex; align-items: center; justify-content: center; font-size: 96px; font-weight: 800; color: var(--navy); background: var(--sand2); }
