/* ==========================================================================
   Recycllux — main stylesheet
   1 Tokens · 2 Fonts/base · 3 Layout · 4 Type · 5 Buttons/forms · 6 Header/footer
   7 Components · 8 Page sections · 9 Utilities · 10 Motion/print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #00204A;
  --navy-900: #01284F;
  --navy-800: #06284A;
  --navy-700: #123869;
  --blue-500: #1E6BBF; /* darkened from #257AD5 so white text on it passes 4.5:1 */
  --blue-300: #7DAFFE;
  --blue-50: #E8F3FF;
  --cyan-500: #00BDEB;
  --teal-400: #1EDFCC;
  --teal-450: #17CDBB;
  --teal-700: #087D96;
  --foam: #F5FBFF;
  --ground: #F8F9FB;
  --paper: #FFFFFF;
  --line: #D8E3EE;
  --muted: #526479;
  --red: #E5484D;
  --amber: #F5A524;
  --green: #22C55E;

  --font-heading: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --r-control: 8px;
  --r-card: 12px;
  --r-media: 16px;
  --shadow-glass: 0 18px 45px rgba(5, 35, 66, .12);

  --container: 1280px;
  --gutter: 24px;
  --section: 96px;
  --gap: 24px;
  --header-h: 80px;
}
@media (max-width: 1024px) { :root { --section: 72px; } }
@media (max-width: 768px)  { :root { --section: 56px; --gutter: 16px; } }

/* 2. Fonts & base ---------------------------------------------------------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/manrope-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy-800);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
picture > img { width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; color: var(--navy-800); }
h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.15; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.icon { flex: none; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(30, 223, 204, .35); }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--ground { background: var(--ground); }
.section--foam { background: var(--foam); }
.section--paper { background: var(--paper); }
.section--ruled { border-block: 1px solid var(--line); }
.section--dark { position: relative; overflow: hidden; background: var(--navy-900); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lede, .section--dark .muted { color: rgba(255,255,255,.8); }
.section--dark .eyebrow { color: var(--teal-400); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: .06; pointer-events: none; }
.section--dark > .container { position: relative; }

.split { display: grid; gap: 48px var(--gap); align-items: center; }
.split--start { align-items: start; }
/* Image column matches the height of the copy column beside it. The picture is taken out of flow so it never
   drives the row height - the copy sets it - and then fills whatever height the copy needs. */
@media (min-width: 1025px) {
  .split--stretch { align-items: stretch; }
  /* 5px = the gap between the eyebrow's line box and the top of its capitals, so the picture's top edge
     lines up with the text rather than with the invisible line box. The bottom stays on the row. */
  .split--stretch > .media--fill,
  .split--stretch > .diagram,
  .split--stretch > .brief { margin-top: 5px; }
  /* Copy column fills the row too, so its last item ends level with the panel beside it. */
  .split--stretch > div:first-child { display: flex; flex-direction: column; }
  .split--stretch > div:first-child > .stack { flex: 1; justify-content: space-between; }
  .split--stretch > .media--fill { position: relative; }
  .split--stretch > .media--fill picture { position: absolute; inset: 0; display: block; }
  .split--stretch > .media--fill img { width: 100%; height: 100%; object-fit: cover; }
  /* A diagram panel is already a white card, so it matches the copy height by growing the card and
     centring the artwork inside - never by cropping it. */
  .split--stretch > .diagram { display: grid; align-content: center; }
}
@media (min-width: 1025px) {
  .split { gap: 64px; }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
  .split--7-5 { grid-template-columns: 7fr 5fr; }
  .split--6-6 { grid-template-columns: 1fr 1fr; }
  .split--4-8 { grid-template-columns: 4fr 8fr; }
}
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1024px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .grid--3, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3.grid--stack-md { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .grid--2.grid--keep-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 4. Type ------------------------------------------------------------------ */
.eyebrow { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }
.eyebrow--teal { color: var(--teal-400); }
.eyebrow--chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--foam); }
.eyebrow--rule::before { content: ""; display: inline-block; width: 24px; height: 2px; background: currentColor; margin-right: 12px; vertical-align: middle; }
.eyebrow--rules { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--rules::before, .eyebrow--rules::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-heading > h2, .section-heading > h1 { margin-top: 16px; }
.section-heading > .lede { margin-top: 20px; }
.section-heading--center { text-align: center; max-width: 52rem; margin-inline: auto; }
.section-heading--center .lede { margin-inline: auto; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
em.accent { font-style: italic; color: var(--teal-700); }
.section--dark em.accent, .cta em.accent { color: var(--teal-400); }
.text-teal { color: var(--teal-700); }

/* 5. Buttons & forms ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: var(--r-control); border: 1px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: .9375rem; line-height: 1.2; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--compact { min-height: 44px; padding: 8px 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal-400); color: var(--navy-900); }
.btn--primary:hover { background: var(--teal-450); }
.btn--secondary { border-color: var(--navy-700); color: var(--navy-800); background: transparent; }
.btn--secondary:hover { background: var(--foam); }
.btn--secondary-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--secondary-light:hover { background: rgba(255,255,255,.1); }
.btn--blue { background: var(--blue-500); color: #fff; }
.btn--blue:hover { background: #1F6BBD; }
.btn--outline-teal { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn--outline-teal:hover { background: var(--foam); }
.btn--link, .btn--link-light { min-height: 0; padding: 4px 0; border-radius: 4px; color: var(--navy-800); }
.btn--link:hover, .btn--link-light:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn--link-light { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
@media (max-width: 480px) { .actions .btn:not(.btn--link):not(.btn--link-light) { width: 100%; } }

.input, .select, .textarea { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper); font: inherit; color: var(--navy-800); }
.textarea { min-height: 160px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2306284A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 600; }
.field .req { color: var(--red); }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--red); }
.field__error { font-size: .8125rem; color: var(--red); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue-500); flex: none; }
.check a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 2px; }
.form-status { font-size: .875rem; margin-top: 12px; }
.form-status--ok { color: var(--teal-700); }
.form-status--error { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--foam); font-size: .9375rem; }
.notice--ok { border-color: var(--teal-400); }
.notice--error { border-color: var(--red); }

/* 6. Header & footer ------------------------------------------------------- */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--r-control); background: var(--paper); border: 1px solid var(--line); font-weight: 600; }
.skip-link:focus { top: 16px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--header-h); background: transparent; border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.site-header.is-scrolled, body.menu-open .site-header { background: rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
/* The drawer is a fixed child of the header. A backdrop-filter on the header would make it the containing
   block for that fixed child, collapsing the drawer to the header height - so drop the blur while it is open. */
body.menu-open .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--solid { background: #fff; border-bottom-color: var(--line); }
main > .section:first-child { padding-top: calc(var(--section) + var(--header-h)); }
.site-header__brand img + img { display: none; }
.site-header--on-dark:not(.is-scrolled) .site-header__brand img { display: none; }
.site-header--on-dark:not(.is-scrolled) .site-header__brand img + img { display: block; }
.site-header--on-dark:not(.is-scrolled) .nav__link { color: #fff; }
.site-header--on-dark:not(.is-scrolled) .nav__link:hover { color: var(--teal-400); }
.site-header--on-dark:not(.is-scrolled) .nav__link.is-active { color: var(--teal-400); }
.site-header--on-dark:not(.is-scrolled) .btn--secondary { border-color: rgba(255,255,255,.7); color: #fff; }
.site-header--on-dark:not(.is-scrolled) .btn--secondary:hover { background: rgba(255,255,255,.1); }
.site-header--on-dark:not(.is-scrolled) .menu-toggle { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-header__brand img { height: 40px; width: auto; }
.nav { display: none; align-items: center; gap: 32px; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 4px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--navy-800); cursor: pointer; }
.nav__link:hover { color: var(--teal-700); }
.nav__link.is-active { color: var(--teal-700); border-bottom-color: var(--teal-400); }
.nav__panel { position: absolute; top: calc(var(--header-h) - 10px); left: 50%; transform: translateX(-50%); min-width: 240px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: 0 14px 34px rgba(1, 40, 79, .12); display: none; }
.nav__item.is-open .nav__panel { display: block; }
.nav__panel-link { display: block; padding: 10px 12px; border-radius: 6px; font-size: .875rem; font-weight: 500; }
.nav__panel-link:hover { background: var(--foam); color: var(--teal-700); }
.site-header__actions { display: none; align-items: center; gap: 12px; }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--navy-700); border-radius: var(--r-control); background: var(--paper); color: var(--navy-800); cursor: pointer; }
@media (min-width: 1025px) {
  .nav, .site-header__actions { display: flex; }
  .menu-toggle { display: none; }
}
.mobile-nav { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--paper); padding: 16px var(--gutter) 24px; overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.mobile-nav__body { display: flex; flex-direction: column; margin-top: 24px; flex: 1; }
.mobile-nav__link { display: block; padding: 12px 0; font-weight: 500; font-size: 1rem; }
.mobile-nav__link--top { font-weight: 600; border-block: 1px solid var(--line); margin-top: 12px; }
.mobile-nav__group { margin: 24px 0 4px; }
.mobile-nav__foot { margin-top: 24px; }
body.menu-open { overflow: hidden; }

.site-footer { background: var(--navy-950); color: #fff; padding: 64px 0 24px; }
.site-footer__grid { display: grid; gap: 48px; }
@media (min-width: 769px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__brand img { height: 32px; width: auto; }
.site-footer__tagline { margin-top: 20px; max-width: 30ch; font-size: .9375rem; color: rgba(255,255,255,.75); }
.site-footer__social { display: flex; gap: 12px; margin-top: 20px; }
.site-footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }
.site-footer__social a:hover { border-color: #fff; }
.site-footer__heading { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__col ul { margin-top: 16px; display: grid; gap: 8px; }
.site-footer__col a { display: inline-block; padding: 4px 0; font-size: .9375rem; color: rgba(255,255,255,.8); }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .875rem; color: rgba(255,255,255,.7); }
.site-footer__legal { display: flex; gap: 12px; align-items: center; }
.site-footer__legal a { display: inline-block; padding: 6px 0; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }

/* 7. Components ------------------------------------------------------------ */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.card--compact { padding: 20px; }
.card--dark { background: var(--navy-900); border-color: rgba(0,189,235,.35); color: #fff; }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.8); }
.card--dark .icon-tile { background: rgba(255,255,255,.1); color: var(--cyan-500); }
.card--row { display: flex; gap: 16px; align-items: flex-start; }
.card h3 + p, .card .card__text { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.card--dark .card__text { color: rgba(255,255,255,.8); }
.card__num { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--navy-900); color: #fff; font-size: .75rem; font-weight: 600; }
.card--numbered { position: relative; }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--blue-50); color: var(--blue-500); flex: none; }
.icon-tile--navy { background: var(--navy-900); color: #fff; }
.icon-tile--sm { width: 40px; height: 40px; border-radius: 8px; }
.icon-tile--red { background: rgba(229,72,77,.1); color: var(--red); }
.icon-tile--amber { background: rgba(245,165,36,.15); color: var(--amber); }
.icon-tile--teal { background: rgba(30,223,204,.15); color: var(--teal-700); }
.icon-round { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: var(--blue-500); flex: none; }
.icon-round--teal { color: var(--teal-700); }
.icon-round--lg { width: 56px; height: 56px; }
.icon-round--foam { background: var(--foam); border-color: var(--foam); }
.icon-round--dark { border-color: var(--teal-400); color: var(--teal-400); }
.num-badge { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-500); color: #fff; font-size: .75rem; font-weight: 600; }
.num-badge--navy { background: var(--navy-900); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--foam); font-size: .75rem; font-weight: 600; color: var(--navy-800); }
.pill--outline { background: transparent; border: 1px solid rgba(0,189,235,.4); color: var(--cyan-500); }
.pill--line { background: transparent; border: 1px solid var(--line); color: var(--muted); text-transform: uppercase; font-size: .6875rem; }
.media { overflow: hidden; border-radius: var(--r-media); background: var(--navy-900); }
.media--line { border: 1px solid var(--line); background: var(--paper); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--contain img { object-fit: contain; }
.media--4-3 { aspect-ratio: 4 / 3; }
.media--3-2 { aspect-ratio: 3 / 2; }
.media--16-9 { aspect-ratio: 16 / 9; }
.media--16-10 { aspect-ratio: 16 / 10; }
.media--2-1 { aspect-ratio: 2 / 1; }
.media--3-1 { aspect-ratio: 3 / 1; }
.media--4-5 { aspect-ratio: 4 / 5; }
.media picture { height: 100%; }
.media--rel { position: relative; }
.glass { border-radius: var(--r-card); padding: 20px; background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.glass--dark { background: rgba(1,40,79,.85); border-color: rgba(0,189,235,.3); color: #fff; }
.glass__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.glass__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; margin-top: 6px; }
.glass__list { display: grid; gap: 10px; margin-top: 12px; font-size: .875rem; }
.glass__list li { display: flex; align-items: center; gap: 8px; }
.glass__list .icon { color: var(--teal-400); }
.glass:not(.glass--dark) .glass__list .icon { color: var(--teal-700); }
.glass--abs-bl { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); }
.glass--abs-br { position: absolute; right: 24px; bottom: 24px; max-width: calc(100% - 48px); }
.check-list { display: grid; gap: 8px; font-size: .8125rem; }
.check-list li { display: flex; align-items: center; gap: 8px; }
.check-list .icon { color: var(--teal-700); }
.checks { display: grid; gap: 12px; margin-top: 24px; font-size: .9375rem; font-weight: 500; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--teal-700); margin-top: 2px; }

/* Proof strip */
.proof { background: var(--paper); border-block: 1px solid var(--line); padding-block: 32px; }
.proof--bare { border: 0; padding-block: 32px 0; }
.proof__grid { display: grid; }
.proof__item { display: flex; gap: 16px; padding-block: 20px; }
.proof__item + .proof__item { border-top: 1px solid var(--line); }
.proof__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em; line-height: 1.3; }
.proof__text { margin-top: 4px; font-size: .875rem; color: var(--muted); }
@media (min-width: 769px) {
  .proof__grid { grid-template-columns: repeat(3, 1fr); }
  .proof__item { padding: 0 28px; }
  .proof__item:first-child { padding-left: 0; }
  .proof__item:last-child { padding-right: 0; }
  .proof__item + .proof__item { border-top: 0; border-left: 1px solid var(--line); }
}

/* Icon list */
.icon-list { margin-top: 28px; }
.icon-list__row { display: flex; gap: 16px; padding-block: 20px; }
.icon-list__row + .icon-list__row { border-top: 1px solid var(--line); }
.icon-list__row:first-child { padding-top: 0; }
.icon-list__title { font-size: 1rem; }
.icon-list__text { margin-top: 4px; font-size: .875rem; color: var(--muted); }

/* Numbered steps */
.steps { position: relative; display: grid; gap: 24px; margin-top: 32px; }
.steps::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; border-left: 1px dashed var(--blue-300); }
.steps__item { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 0 16px; }
.steps__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .6875rem; font-weight: 600; }
.steps__dot--blue { background: var(--blue-500); color: #fff; }
.steps__dot--teal { background: var(--teal-400); color: var(--navy-900); }
.steps__icon { color: var(--navy-800); margin-bottom: 12px; }
.steps__title { font-size: 1rem; }
.steps__text { margin-top: 4px; font-size: .875rem; color: var(--muted); }
@media (min-width: 769px) {
  .steps { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 12px; }
  .steps::before { left: calc(100% / var(--steps, 4) / 2); right: calc(100% / var(--steps, 4) / 2); top: 14px; bottom: auto; border-left: 0; border-top: 1px dashed var(--blue-300); }
  .steps__item { grid-template-columns: 1fr; text-align: center; }
  .steps__dot, .steps__icon { margin-inline: auto; }
  .steps__body { margin-top: 20px; }
  .steps--cards .steps__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 20px 24px; }
  .steps--cards .steps__dot { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
  .steps--cards .steps__body { margin-top: 0; }
  .steps--cards::before { top: 0; }
}
@media (max-width: 768px) {
  .steps--cards .steps__body { padding-bottom: 8px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--5::before { display: none; }
}

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; padding-block: 72px; }
.cta__photo { position: absolute; inset: 0; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.cta__photo::after { content: ""; position: absolute; inset: 0; background: rgba(1,40,79,.84); }
.cta__inner { position: relative; display: grid; gap: 32px; align-items: center; }
.cta__radar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(0,189,235,.4); color: var(--cyan-500); }
.cta__title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: #fff; max-width: 48rem; }
.cta__sub { margin-top: 16px; max-width: 40rem; color: rgba(255,255,255,.8); }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta__copy .eyebrow { margin-bottom: 16px; }
@media (min-width: 1025px) {
  .cta--row .cta__inner { grid-template-columns: 56px 1fr auto; }
  .cta--split .cta__inner { grid-template-columns: 1fr auto; }
  .cta--row .cta__actions { flex-direction: row; }
}
.cta--center .cta__inner { text-align: center; justify-items: center; max-width: 48rem; }
.cta--center .cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; }
.cta--center .cta__sub { margin-inline: auto; }
@media (max-width: 640px) { .cta__actions .btn:not(.btn--link-light) { width: 100%; } .cta--center .cta__actions { flex-direction: column; } }

/* Inquiry band */
.inquiry { display: grid; gap: 24px; align-items: center; padding: 40px; border-radius: var(--r-media); border: 1px solid var(--line); background: var(--foam); }
.inquiry__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--blue-500); }
.inquiry__title { font-size: 1.5rem; }
.inquiry__sub { margin-top: 8px; color: var(--muted); }
@media (min-width: 1025px) { .inquiry { grid-template-columns: 64px 1fr auto; } }
@media (max-width: 640px) { .inquiry { padding: 24px; } .inquiry__action .btn { width: 100%; } }

/* Metrics */
.metrics__layout { display: grid; gap: 40px; }
@media (min-width: 1025px) { .metrics__layout { grid-template-columns: 220px 1fr; } }
.metrics__big { font-family: var(--font-heading); font-weight: 700; font-size: 5.5rem; line-height: .9; color: var(--blue-500); margin-top: 16px; }
.metrics__label { margin-top: 20px; }
.metrics__sub { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.metrics__leaf { color: var(--teal-700); margin-top: 16px; }
.metrics__head { display: grid; gap: 32px; align-items: end; }
.metrics__head .metrics__big { margin-top: 0; }
.metrics__head .eyebrow { margin-top: 16px; }
.metrics__head .lede { margin-top: 16px; max-width: 48rem; }
@media (min-width: 1025px) { .metrics__head { grid-template-columns: 220px 1fr; } }
.metrics__head + .metrics__grid { margin-top: 40px; }
.metrics__grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .metrics__grid { grid-template-columns: 1fr; } }
.metric { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.metric__body { padding: 20px; }
.metric__row { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 8px; align-items: end; text-align: center; margin-top: 20px; }
.metric__cap { display: block; font-size: .6875rem; color: var(--muted); }
.metric__value { display: block; font-family: var(--font-heading); font-size: 1.75rem; line-height: 1.2; color: var(--navy-800); }
.metric__vs { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 50%; background: var(--foam); font-size: .625rem; color: var(--muted); }
.metric__unit { margin-top: 8px; text-align: center; font-size: .6875rem; color: var(--muted); }
.metric__footer { padding: 12px; text-align: center; background: var(--foam); font-size: .8125rem; font-weight: 600; color: var(--teal-700); }

/* Decision brief */
.brief { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-media); padding: 24px; }
.brief__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brief__title { font-size: 1.0625rem; }
.brief__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.brief__select { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .8125rem; }
.brief__grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 641px) { .brief__grid { grid-template-columns: 1.1fr .9fr; } }
.brief__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.brief__panel .brief__label { color: var(--navy-800); }
/* The map fills the rest of its column so its bottom sits level with the panels beside it.
   The <picture> needs an explicit height or the image cannot fill the box. */
.brief__grid > div:first-child { display: flex; flex-direction: column; }
.brief__map { flex: 1; min-height: 240px; margin-top: 8px; border-radius: var(--r-card); overflow: hidden; }
.brief__map picture { display: block; height: 100%; }
.brief__map img { width: 100%; height: 100%; object-fit: cover; }
.brief__panels { display: grid; gap: 12px; }
.brief__panel { background: var(--foam); border-radius: var(--r-card); padding: 16px; }
.brief__panel .check-list { margin-top: 12px; }
/* Label and status size to their text so they stay on one line; the track takes what is left. */
.brief__bar { display: grid; grid-template-columns: max-content minmax(36px, 1fr) max-content; align-items: center; gap: 8px; margin-top: 12px; font-size: .75rem; }
.brief__bar > span:first-child, .brief__bar > strong { white-space: nowrap; }
.brief__track { display: block; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.brief__fill { display: block; height: 100%; border-radius: 999px; background: var(--blue-500); }
.brief__fill--teal { background: var(--teal-400); }
.brief__bar strong { font-weight: 600; }

/* News */
.news-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--navy-900); display: grid; place-items: center; padding: 24px; }
.news-card__ph { font-size: .75rem; color: rgba(255,255,255,.7); text-align: center; }
.news-card__pill { position: absolute; top: 16px; left: 16px; padding: 4px 12px; border-radius: 999px; background: var(--blue-500); color: #fff; font-size: .75rem; font-weight: 600; }
.news-card__date { position: absolute; left: 16px; bottom: -16px; display: grid; width: 60px; padding: 8px 4px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); text-align: center; line-height: 1.1; }
.news-card__date strong { font-family: var(--font-heading); font-size: 1.25rem; color: var(--navy-800); }
.news-card__date span { font-size: .6875rem; color: var(--muted); text-transform: uppercase; }
.news-card__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 32px 24px 24px; }
.news-card__cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-500); }
.news-card__title { font-size: 1.125rem; flex: 1; }
.filter-bar { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); overflow-x: auto; }
.filter-bar__row { display: flex; gap: 12px; min-width: max-content; scroll-snap-type: x mandatory; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: .875rem; font-weight: 600; color: var(--navy-800); cursor: pointer; scroll-snap-align: start; }
.filter[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }
.news-group + .news-group { margin-top: 64px; }
.news-group[hidden] { display: none; }
.triptych { display: grid; gap: 8px; overflow: hidden; border-radius: var(--r-media); }
.triptych__panel { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 24px; background: var(--navy-900); color: rgba(255,255,255,.7); font-size: .75rem; text-align: center; }
@media (min-width: 769px) {
  .triptych { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .triptych__panel { aspect-ratio: auto; min-height: 300px; }
  .triptych__panel:nth-child(1) { clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
  .triptych__panel:nth-child(2) { margin-left: -28px; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
  .triptych__panel:nth-child(3) { margin-left: -28px; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
}

/* Newsletter */
.newsletter { display: grid; gap: 24px; align-items: center; padding: 40px; border-radius: var(--r-media); border: 1px solid var(--line); background: var(--foam); }
@media (min-width: 1025px) { .newsletter { grid-template-columns: 64px 1fr minmax(320px, 40%); } }
.newsletter__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--blue-500); }
.newsletter__title { font-size: 1.5rem; margin-top: 12px; }
.newsletter__sub { margin-top: 8px; color: var(--muted); }
.newsletter__row { display: flex; gap: 12px; }
.newsletter__row .input { flex: 1; min-width: 0; }
.newsletter__note { margin-top: 12px; font-size: .75rem; color: var(--muted); }
.newsletter__note a { color: var(--blue-500); text-decoration: underline; }
@media (max-width: 640px) { .newsletter { padding: 24px; } .newsletter__row { flex-direction: column; } }
.newsletter--wide { padding-block: 72px; background: var(--foam); }
.newsletter--wide .container { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1025px) { .newsletter--wide .container { grid-template-columns: 1fr 1fr; } }

/* People */
.person { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.person__portrait { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; border: 1px solid var(--line); background: var(--foam); font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--navy-800); }
.person__portrait--photo { overflow: hidden; }
.person__portrait picture, .person__portrait img, .portrait-cluster span.is-photo picture, .portrait-cluster span.is-photo img { display: block; width: 100%; height: 100%; }
.person__portrait img, .portrait-cluster span.is-photo img { object-fit: cover; border-radius: 50%; }
.person--medium .person__portrait img, .person--small .person__portrait img { filter: grayscale(1); }
.person__name { margin-top: 20px; }
.person__role { margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--teal-700); }
.person__bio { margin-top: 16px; flex: 1; display: grid; gap: 4px; font-size: .875rem; color: var(--muted); }
.person__linkedin { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 24px; border-radius: 50%; border: 1px solid var(--navy-700); color: var(--navy-800); }
.person__linkedin:hover { background: var(--foam); }
.person--medium .person__portrait { width: 96px; height: 96px; font-size: 1.25rem; }
.person--medium .person__name { font-size: 1.0625rem; }
.person--medium .person__role, .person--medium .person__bio { font-size: .8125rem; }
.person--small { padding: 20px; }
.person--small .person__portrait { width: 88px; height: 88px; font-size: 1.125rem; }
.person--small .person__name { font-size: 1rem; margin-top: 16px; }
.person--small .person__role { font-size: .8125rem; flex: 1; }
.person--preview { padding: 0; background: none; border: 0; }
.person--preview .person__portrait { width: 112px; height: 112px; background: var(--paper); }
.people-9 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 641px) and (max-width: 1024px) {
  .people-9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people-9 > :last-child:nth-child(3n+1) { grid-column: 2; }   /* centre a lone last card */
}
@media (min-width: 1025px) {
  .people-9 { grid-template-columns: repeat(10, minmax(0, 1fr)); max-width: 72rem; margin-inline: auto; }
  .people-9 > * { grid-column: span 2; }
  .people-9 > :nth-child(6):nth-last-child(4) { grid-column: 2 / span 2; }   /* 9 people: centre the row of 4 */
}
.portrait-cluster { position: relative; width: 100%; height: 330px; max-width: 540px; margin-inline: auto; overflow: hidden; border-radius: 24px; }
.portrait-cluster > picture { position: absolute; inset: 0; opacity: .12; }
.portrait-cluster > picture img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.portrait-cluster span { position: absolute; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--foam); font-family: var(--font-heading); font-weight: 700; font-size: 1.75rem; color: var(--navy-800); }
.portrait-cluster span.is-photo { overflow: hidden; border-color: var(--paper); box-shadow: 0 18px 45px rgba(5, 35, 66, .12); }
.portrait-cluster span:nth-of-type(1) { top: 20px; left: 16%; width: 176px; height: 176px; }
.portrait-cluster span:nth-of-type(2) { top: 30%; right: 8%; width: 160px; height: 160px; }
.portrait-cluster span:nth-of-type(3) { bottom: 12px; left: 32%; width: 152px; height: 152px; }
@media (max-width: 768px) {
  .portrait-cluster { height: 260px; }
  .portrait-cluster span:nth-of-type(1) { width: 120px; height: 120px; }
  .portrait-cluster span:nth-of-type(2) { width: 112px; height: 112px; }
  .portrait-cluster span:nth-of-type(3) { width: 104px; height: 104px; }
}

/* Logo wall */
/* Logo walls: one wrapping grid. --cols is the desktop count; narrower screens reflow so the page never
   scrolls sideways inside a row. */
.logo-grid { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.logo-tile { display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); text-align: center; font-size: .875rem; font-weight: 600; color: var(--muted); filter: grayscale(1); transition: filter .2s, border-color .2s; }
.logo-tile picture { display: contents; }
.logo-tile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; }
.logo-tile--link:hover, .logo-tile--link:focus-visible { filter: none; border-color: var(--navy-700); }
@media (max-width: 1024px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .logo-grid { gap: 8px; }
  .logo-tile { min-height: 68px; padding: 10px 8px; }
  .logo-tile img { max-height: 40px; }
}
.logo-wall + .eyebrow { margin-top: 56px; }

/* Comparison cards (home) */
.compare { display: grid; gap: 24px; }
@media (min-width: 641px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__head { display: flex; align-items: center; gap: 12px; }
.compare__head .icon--red { color: var(--red); }
.compare__head .icon--teal { color: var(--teal-400); }
.compare dl { margin: 20px 0 0; }
.compare dl div { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding-block: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.compare dt { color: rgba(255,255,255,.7); }
.compare dd { margin: 0; text-align: right; font-weight: 600; color: #fff; }

/* Key/value panel (use cases) */
.kv { margin-top: 28px; padding: 20px; border-radius: var(--r-card); background: var(--foam); }
.kv div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; align-items: center; padding-block: 12px; }
.kv--icons div { grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1.5fr); }
.kv div + div { border-top: 1px solid var(--line); }
.kv div:first-child { padding-top: 0; }
.kv div:last-child { padding-bottom: 0; }
.kv dt { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.kv dd { margin: 0; font-size: .9375rem; }
.kv .icon { color: var(--navy-800); }
.footnote { margin-top: 8px; font-size: .75rem; font-style: italic; color: var(--muted); }

/* Progression rows (adoption) */
.progression { display: grid; gap: 12px; margin-top: 32px; }
.progression__caps { display: grid; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.progression__row { display: grid; gap: 12px; align-items: center; }
.progression__state { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-card); font-size: .875rem; font-weight: 600; color: #fff; }
.progression__state--from { background: var(--navy-900); }
.progression__state--to { background: var(--blue-500); }
.progression__arrow { color: var(--blue-500); margin-inline: auto; transform: rotate(90deg); }
/* Stacked layout: no columns for the headings to sit over, so each card carries its own state label. */
.progression__text { display: flex; flex-direction: column; gap: 2px; }
.progression__cap { display: none; }
@media (max-width: 640px) {
  .progression__caps { display: none; }
  /* Each pair becomes its own card so the two halves read as one step. */
  .progression { gap: 20px; }
  .progression__row { gap: 8px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-media); }
  .progression__cap { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.9); }
  .progression__arrow { margin-block: 2px; }
}
@media (min-width: 641px) {
  .progression__caps, .progression__row { grid-template-columns: 1fr 32px 1fr; }
  /* The middle spacer is hidden above 1024px, so pin the second caption to the third column
     instead of letting it fall into the 32px arrow column. */
  .progression__caps > :first-child { grid-column: 1; }
  .progression__caps > :last-child { grid-column: 3; }
  .progression__arrow { transform: none; }
}

/* Phase cards (adoption) */
.phases { position: relative; display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 769px) { .phases { grid-template-columns: 1fr 1fr; } }
.phase { position: relative; padding: 32px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper); }
.phase__head { display: flex; align-items: center; gap: 16px; }
.phase__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--foam); font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--navy-800); flex: none; }
.phase__text { margin-top: 20px; font-size: .875rem; color: var(--muted); }
.phase__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.phase--dark { background: var(--navy-900); border-color: rgba(0,189,235,.35); color: #fff; }
.phase--dark h3 { color: #fff; }
.phase--dark .phase__num { background: rgba(255,255,255,.1); color: #fff; }
.phase--dark .phase__text { color: rgba(255,255,255,.8); }
.phase--dark .icon-tile { background: rgba(255,255,255,.1); color: var(--cyan-500); }

/* Evidence workflow row (impact dark section) */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 8px; margin-top: 32px; }
@media (min-width: 641px) { .flow { grid-template-columns: repeat(5, 1fr); } }
.flow__step { position: relative; text-align: center; }
.flow__step span { display: grid; place-items: center; width: 48px; height: 48px; margin-inline: auto; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); color: #fff; position: relative; z-index: 1; background: var(--navy-900); }
.flow__step p { margin-top: 8px; font-size: .8125rem; color: #fff; }
@media (min-width: 641px) { .flow__step:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: calc(50% + 24px); width: calc(100% - 48px); border-top: 1px solid rgba(255,255,255,.2); } }
.record { border-radius: var(--r-media); border: 1px solid rgba(0,189,235,.3); background: rgba(0,32,74,.6); padding: 24px; backdrop-filter: blur(12px); }
.record__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.record__title { font-size: 1.125rem; color: #fff; }
.record__status { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--teal-400); color: var(--teal-400); font-size: .75rem; }
.record__grid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 641px) { .record__grid { grid-template-columns: 1fr 1fr; } }
.record__map { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; }
.record__map img { width: 100%; height: 100%; object-fit: cover; object-position: left; }
.record__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: 12px 16px; margin-top: 16px; }
.record__facts dt { font-size: .6875rem; text-transform: uppercase; color: rgba(255,255,255,.6); }
.record__facts dd { margin: 4px 0 0; font-size: .8125rem; line-height: 1.3; color: #fff; }
.record__facts .pill--ready { background: var(--teal-400); color: var(--navy-900); font-size: .6875rem; padding: 4px 10px; white-space: nowrap; }
.record__label { font-size: .75rem; text-transform: uppercase; color: rgba(255,255,255,.7); }
.timeline { display: grid; gap: 0; margin-top: 16px; }
.timeline li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(30,223,204,.5); color: var(--teal-400); flex: none; position: relative; z-index: 1; background: var(--navy-900); }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 32px; bottom: 0; border-left: 1px solid rgba(30,223,204,.4); }
.timeline li p { padding-top: 4px; font-size: .9375rem; color: #fff; }

/* Contact */
.route-card { display: flex; flex-direction: column; }
.route-card h3 { margin-top: 20px; }
.route-card .card__text { flex: 1; margin-bottom: 24px; }
.route-card .btn { width: 100%; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1025px) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: start; } .contact-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.form-card { margin-top: 24px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-media); }
@media (max-width: 640px) { .form-card { padding: 20px; } }
.form-row { display: grid; gap: 20px; }
@media (min-width: 641px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-card .field + .field, .form-card .form-row + .field, .form-card .field + .form-row, .form-card .form-row + .form-row { margin-top: 20px; }
.form-card .form-row > .field + .field { margin-top: 0; }
.form-card .checks { margin-top: 20px; font-weight: 400; }
.steps-next { margin-top: 20px; }
.steps-next__row { display: flex; gap: 16px; padding-block: 20px; }
.steps-next__row + .steps-next__row { border-top: 1px solid var(--line); }
.steps-next__row:first-child { padding-top: 0; }
.steps-next__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--foam); font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: var(--blue-500); flex: none; }
.steps-next__title { font-weight: 600; }
.steps-next__text { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.company { margin-top: 24px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-media); }
.company__name { margin-top: 16px; font-weight: 600; }
.company p.small { color: var(--muted); }
.company__rule { height: 1px; background: var(--line); margin-block: 20px; }
.company__social { display: flex; gap: 12px; margin-top: 20px; }
.company__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy-800); }
.company__social a:hover { border-color: var(--navy-700); }

/* 8. Page sections (heroes) ------------------------------------------------ */
.hero { background: var(--ground); padding-top: var(--header-h); }
.hero--full { min-height: 100vh; min-height: 100svh; }
.hero--full .hero__grid { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); align-content: center; row-gap: 32px; }
@media (min-width: 1025px) {
  .hero--full .hero__grid { padding-block: 24px; }
  .hero--full h1 { font-size: clamp(2rem, min(3.6vw, 6vh), 3.25rem); }
  .hero--full .lede { font-size: clamp(.95rem, 2vh, 1.125rem); }
  .hero--full .risk { max-height: calc(100svh - var(--header-h) - 48px); overflow: hidden; }
}
@media (min-width: 1025px) and (max-height: 840px) {
  .hero--full .hero__grid { padding-block: 12px; row-gap: 16px; }
  .hero--full .hero__copy h1 { margin-top: 10px; }
  .hero--full .hero__copy .lede { margin-top: 12px; }
  .hero--full .actions { margin-top: 18px; gap: 12px 20px; }
  .hero--full .chip { min-height: 52px; padding: 8px 12px; font-size: .8125rem; }
  .hero--full .risk { padding: 16px; }
  .hero--full .risk dl div { padding-block: 8px; }
}
@media (min-width: 1025px) and (max-height: 700px) {
  .hero--full .hero__chips { display: none; }
}
.hero__grid { display: grid; gap: 40px; align-items: center; padding-block: 56px; min-height: 520px; }
@media (min-width: 1025px) { .hero__grid { grid-template-columns: 5fr 7fr; gap: 48px; padding-block: 64px; } .hero__grid--6-6 { grid-template-columns: 1fr 1fr; } }
.hero__copy h1 { margin-top: 16px; }
.hero__copy .lede { margin-top: 20px; }
.hero__media { position: relative; }
.hero--dark { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.hero--dark h1 { color: #fff; }
.hero--dark .lede { color: rgba(255,255,255,.85); }
.hero--dark .eyebrow { color: var(--teal-400); }
/* Dark hero: dimmed photo texture across the band (starting below the header) + the diagram as an in-flow image on the right. */
.hero--dark .hero__bg { position: absolute; inset: var(--header-h) 0 0 0; }
.hero--dark .hero__bg { overflow: hidden; }
.hero--dark .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; filter: blur(14px) saturate(.85); transform: scale(1.1); }
.hero--dark .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,40,79,.9) 0%, rgba(1,40,79,.78) 45%, rgba(1,40,79,.66) 100%); }
.hero--dark .hero__grid { position: relative; align-items: center; }
.hero__diagram { display: grid; place-items: center; }
.hero__diagram picture, .hero__diagram img { display: block; width: 100%; height: auto; }
.hero__diagram img { border-radius: var(--r-media); box-shadow: 0 24px 60px rgba(0, 12, 32, .45); }
@media (min-width: 1025px) {
  .hero--dark .hero__grid { min-height: 600px; }
  .hero__diagram { justify-self: end; width: 116%; max-width: 780px; margin-right: -6%; }
}
.hero--bleed { position: relative; overflow: hidden; }
.hero__bleed { display: none; }
@media (min-width: 1025px) {
  .hero__bleed { display: block; position: absolute; inset: 0 0 0 auto; width: 60%; }
  .hero__bleed picture { height: 100%; }
  .hero__bleed::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; background: linear-gradient(to bottom, rgba(248,249,251,.9), rgba(248,249,251,0)); pointer-events: none; }
  .hero__bleed img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%); mask-image: linear-gradient(to right, transparent 0%, #000 35%); }
  .hero__bleed-card--contact { left: 51%; top: 50%; transform: translateY(-50%); }
  .hero__bleed--contact { width: 55%; }
  .hero__bleed--contact img { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 35%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-composite: intersect; }
  .hero__bleed-card { position: absolute; }
  /* Home: the photo has a dashboard panel baked into it. The image is cover-fit, right-aligned and exactly
     as tall as the hero, so the panel sits at fixed fractions of the hero height - anchor the live card over it. */
  .hero__bleed-card--home { z-index: 2; right: 2.4vh; bottom: 9.5vh; min-width: 40vh; }
  .hero__bleed-card--home .risk { min-height: 36.2vh; }
  @supports (height: 1svh) {
    .hero__bleed-card--home { right: 2.4svh; bottom: 9.5svh; min-width: 40svh; }
    .hero__bleed-card--home .risk { min-height: 36.2svh; }
  }
  .hero--bleed:not(.hero--full) .hero__grid { min-height: 620px; }
  .hero__mobile-media { display: none; }
}
.hero__mobile-media { margin-top: 8px; }
.hero__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
@media (min-width: 1025px) { .hero__chips { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; } }
.chip { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); font-size: .875rem; font-weight: 600; line-height: 1.25; }
.chip .icon { color: var(--teal-700); }
.risk { border-radius: var(--r-card); border: 1px solid rgba(0,189,235,.3); background: rgba(1,40,79,.96); color: #fff; padding: 24px; box-shadow: var(--shadow-glass); backdrop-filter: blur(12px); }
.risk__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.risk__head .icon { color: var(--cyan-500); }
.risk dl { margin: 0; }
.risk dl div { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.risk dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.risk dt { display: contents; }
.risk dt .icon { color: rgba(255,255,255,.8); }
.risk dd { margin: 0; text-align: right; font-weight: 600; }
.val--red { color: #FF9598; }
.val--teal { color: var(--teal-400); }
@media (min-width: 1025px) { .risk--hero { position: absolute; right: 24px; bottom: 24px; z-index: 2; min-width: 380px; } }
.hero-cards { position: absolute; inset: 0 20px 0 auto; display: none; flex-direction: column; justify-content: center; gap: 16px; }
.hero-cards .glass { display: flex; align-items: center; gap: 12px; width: 200px; padding: 12px; font-size: .9375rem; font-weight: 600; }
.hero-cards .glass .icon { color: var(--blue-500); }
.hero-cards .glass:nth-child(2) { margin-right: 12px; }
.hero-cards .glass:nth-child(3) { margin-right: 24px; }
.hero-cards__mobile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hero-cards__mobile span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .875rem; font-weight: 600; }
.hero-cards__mobile .icon { color: var(--blue-500); }
@media (min-width: 769px) { .hero-cards { display: flex; } .hero-cards__mobile { display: none; } }
.outlook { margin-top: 16px; }
@media (min-width: 769px) { .outlook { position: absolute; left: -16px; bottom: -16px; margin: 0; min-width: 320px; } }
.outlook__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; margin-top: 8px; }
.outlook__sub { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.discovery { width: min(300px, 100%); }
.discovery__head { display: flex; align-items: center; gap: 12px; }
.discovery__head h2 { font-size: 1.125rem; }
.discovery__rule { height: 1px; background: var(--line); margin-block: 16px; }
.priority-panel { display: grid; gap: 24px; margin-top: 32px; }
.priority-panel .card { display: flex; flex-direction: column; }
.priority-panel .card + .card { margin-top: 24px; }
@media (min-width: 1025px) {
  .priority-panel { grid-template-columns: 2fr 1fr; align-items: stretch; }
  /* The map is a 2.33:1 panorama. Give its card a near-identical ratio so the picture fills it edge to edge
     (about 1.5% is trimmed each side, clear of the legend and of the impact-score scale), and let the two
     cards beside it share exactly that height. */
  .priority-panel .media--map { aspect-ratio: 2.335; max-width: 100%; }
  .priority-panel > div:last-child { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
  .priority-panel .card + .card { margin-top: 0; }
  .priority-panel .card { padding: 14px 20px; justify-content: center; }
  .priority-panel .card h3 { font-size: 1rem; }
  .priority-panel .card .mt-4 { margin-top: 8px; }
  .priority-panel .card__text { font-size: .875rem; line-height: 1.45; }
  .priority-panel .icon-tile { width: 32px; height: 32px; border-radius: 8px; }
}
.stack { display: grid; gap: 24px; }
.evidence-card { position: relative; padding-top: 56px; }
.evidence-card .num-badge { position: absolute; top: 20px; left: 20px; }
.evidence-card__icon { display: grid; place-items: center; height: 96px; color: var(--navy-800); }
.reason-card .num-badge { margin-bottom: 8px; }
.reason-card__icon { display: grid; place-items: center; height: 80px; color: var(--navy-800); }
.pathway-card { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; }
.pathway-card__num { font-family: var(--font-heading); font-weight: 700; font-size: 1.75rem; color: var(--navy-800); }
.pathway-card__icon { margin-top: 16px; color: var(--navy-800); }
.dark-note { display: flex; justify-content: center; gap: 12px; margin-top: 36px; text-align: center; font-size: .9375rem; }
.dark-note strong { display: block; font-weight: 600; }
.dark-note span { color: rgba(255,255,255,.8); }
.cards-2 { display: grid; gap: 24px; }
@media (min-width: 1025px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.invest { position: relative; overflow: hidden; border-radius: var(--r-media); padding: 32px; color: #fff; }
.invest picture { position: absolute; inset: 0; }
.invest picture img { width: 100%; height: 100%; object-fit: cover; object-position: right; }
.invest::before { content: ""; position: absolute; inset: 0; background: rgba(1,40,79,.55); }
.invest > * { position: relative; }
.invest h2 { color: #fff; font-size: 1.5rem; }
.invest__panel { margin-top: 24px; padding: 20px; border-radius: var(--r-card); background: rgba(255,255,255,.85); backdrop-filter: blur(12px); color: var(--navy-800); }
.invest__panel li { display: flex; gap: 12px; }
.invest__panel li + li { margin-top: 16px; }
.invest__panel li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--foam); color: var(--blue-500); flex: none; }
.invest__panel strong { display: block; font-size: .875rem; font-weight: 600; }
.invest__panel small { display: block; margin-top: 4px; font-size: .8125rem; color: var(--muted); }
.card--accountable h2 { font-size: 1.5rem; }
.card--accountable .icon-list { margin-top: 20px; }
/* Side by side with the accountable-programmes card: the glass panel fills the card so both lists
   span the same height and their four rows line up. */
@media (min-width: 1025px) {
  .invest { display: flex; flex-direction: column; }
  .invest__panel { flex: 1; display: grid; align-content: space-between; margin-top: 4px; margin-bottom: 18px; padding: 16px 20px; }
  .invest__panel li + li { margin-top: 0; }
}
.cap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.cap-card { display: flex; flex-direction: column; }
.gap-card { overflow: hidden; padding: 0; }
.gap-card__body { padding: 20px; }
.gap-card__body h3 { font-size: 1rem; }
.gap-card__body p { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.caption { margin-top: 8px; text-align: right; font-size: .75rem; color: var(--muted); }
.diagram { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-media); }
.diagram img { max-height: 560px; width: 100%; object-fit: contain; }
.role-card .icon { color: var(--blue-500); }
.role-card .icon--teal { color: var(--teal-700); }
.role-card__label { margin-top: 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; color: var(--blue-500); }
.role-card--dark .role-card__label { color: var(--teal-400); }
.role-card--dark img { height: 24px; width: auto; }

/* 9. Utilities ------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Legal / policy pages */
.legal { max-width: 64rem; }
.legal__updated { margin-top: 12px; font-size: .9375rem; color: var(--muted); }
.legal h2 { margin-top: 40px; font-size: clamp(1.375rem, 2vw, 1.75rem); }
.legal p { margin-top: 16px; color: var(--muted); line-height: 1.7; }
.legal ul { margin-top: 16px; padding-left: 24px; list-style: disc; color: var(--muted); line-height: 1.7; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }
.legal__table { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; color: var(--navy-800); background: var(--foam); }
.legal td { color: var(--muted); line-height: 1.6; }
.legal td:first-child { color: var(--navy-800); font-weight: 600; white-space: nowrap; }
.legal tbody tr:last-child td { border-bottom: 0; }

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-14 { margin-top: 56px; }
.text-center { text-align: center; }
.center { display: flex; justify-content: center; }
.max-w-prose { max-width: 60ch; }
.hide-md { display: none; }
@media (max-width: 1024px) { .hide-md { display: block; } .show-md-up { display: none !important; } }

/* 10. Motion & print ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
@media print { .site-header, .site-footer, .cta, .skip-link, .menu-toggle { display: none !important; } }

/* Cookie choice banner --------------------------------------------------- */
/* Hidden by the [hidden] attribute until the script decides it is needed, so it
   never flashes for visitors who have already chosen. */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(1, 40, 79, .10); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: 16px; align-items: center; width: 100%; max-width: var(--container); margin-inline: auto; padding: 18px var(--gutter); }
.cookie-banner__title { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--navy-800); }
.cookie-banner__text { margin: 4px 0 0; font-size: .875rem; line-height: 1.55; color: var(--muted); max-width: 70ch; }
.cookie-banner__text a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Both buttons are the same size: refusing must be as easy as agreeing. */
.cookie-banner__actions .btn { flex: 1 1 auto; justify-content: center; min-width: 120px; }
@media (min-width: 761px) {
  .cookie-banner__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
  .cookie-banner__actions .btn { flex: 0 0 auto; }
}

/* Contact: compact hero so the enquiry form is visible on first load */
.hero--compact .hero__grid, .hero--bleed.hero--compact:not(.hero--full) .hero__grid { min-height: 0; padding-block: 40px 24px; }
.hero--compact h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
.hero--compact .lede { margin-top: 16px; }
.section--enquiry { padding-top: 32px; }
@media (min-width: 1025px) {
  .hero--compact .hero__grid { padding-block: 48px 32px; }
  .hero--compact .hero__bleed-card--contact { top: calc(50% + var(--header-h) / 2); }
}
@media (max-width: 1024px) {
  .hero--compact .hero__mobile-media { display: none; }
}

/* Closing-band photo on narrow screens: the band is nearly square there, so the whole
   source image shows, including the dashboard panel baked into its bottom-right corner.
   Zoom into the top-left (coastline and marina) so the panel stays out of frame. */
@media (max-width: 900px) {
  .cta__photo img { transform: scale(1.7); transform-origin: 0 0; object-position: 0 0 !important; }
}

/* 404 page */
.notfound { padding-top: calc(var(--header-h) + 56px); min-height: 70vh; }
.notfound__head { max-width: 44rem; }
.notfound__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 641px) { .notfound__links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .notfound__links { grid-template-columns: repeat(3, 1fr); } }
.notfound__link { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); color: var(--navy-800); font-weight: 600; text-decoration: none; transition: border-color .2s; }
.notfound__link > span:nth-child(2) { flex: 1; }
.notfound__link > svg:last-child { color: var(--muted); }
.notfound__link:hover, .notfound__link:focus-visible { border-color: var(--teal-700); }

/* Home logo walls: collapsed to the first rows until "Show all" (main.js adds .is-collapsed) */
.logo-grid.is-collapsed .logo-tile--more { display: none; }
@media (max-width: 1024px) { .logo-grid.is-collapsed .logo-tile--more-sm { display: none; } }
.logo-more { display: flex; justify-content: center; margin-top: 20px; }

/* News system (content/news folders) */
.news-card__media { text-decoration: none; } /* stays overflow-visible: the date badge hangs below it */
.news-card__media picture { position: absolute; inset: 0; display: block; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__date { z-index: 1; }
.news-card__pill { z-index: 1; }
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover, .news-card__title a:focus-visible { color: var(--blue-500); text-decoration: underline; }
.news-empty { margin-top: 32px; }
.triptych__panel--photo { padding: 0; position: relative; overflow: hidden; }
.triptych__panel--photo picture, .triptych__panel--photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.triptych__panel--photo img { object-fit: cover; }

.article__container { max-width: 52rem; }
.article__head { padding-top: calc(var(--header-h) + 48px); padding-bottom: 32px; }
.article__crumbs { font-size: .875rem; color: var(--muted); }
.article__crumbs a { color: var(--teal-700); font-weight: 600; text-decoration: none; }
.article__crumbs a:hover { text-decoration: underline; }
.article__title { margin-top: 16px; font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.15; }
.article__meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: .9375rem; }
.article__hero { margin: 0; border-radius: var(--r-media); overflow: hidden; background: var(--navy-900); }
.article__hero img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.article__body { margin-top: 40px; font-size: 1.0625rem; line-height: 1.75; color: var(--navy-800); }
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 { font-size: 1.5rem; margin-top: 1.8em; }
.article__body h3, .article__body h4 { font-size: 1.1875rem; margin-top: 1.6em; }
.article__body a { color: var(--blue-500); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.article__body ul, .article__body ol { padding-left: 1.4em; }
.article__body li + li { margin-top: .4em; }
.article__figure { margin: 2em 0; }
.article__figure img { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
.article__figure figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.article__back { margin-top: 48px; padding-bottom: 72px; }
.article__back .btn svg { margin-right: 6px; }
@media (max-width: 640px) { .article__head { padding-top: calc(var(--header-h) + 32px); } .article__body { margin-top: 28px; font-size: 1rem; } .article__back { padding-bottom: 48px; } }
/* Flag images for flag emoji in news (news_flags) */
.flag { display: inline-block; width: 1.1em; height: auto; aspect-ratio: 4 / 3; vertical-align: -0.08em; margin: 0 .12em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(1, 40, 79, .12); }

/* Whole news photos, never cropped: the photo is contained and a blurred copy of it
   (--backdrop, set by news_backdrop()) fills the space around it. */
.news-media--fit picture, .article__hero.news-media--fit { isolation: isolate; }
.news-media--fit picture::before, .article__hero.news-media--fit::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--backdrop) center / cover no-repeat; filter: blur(18px) brightness(.85); }
.news-media--fit img { object-fit: contain !important; }
.news-card:hover .news-media--fit img { transform: none; }
.article__hero.news-media--fit { position: relative; display: flex; justify-content: center; }
.article__hero.news-media--fit picture { position: relative; z-index: 0; width: 100%; }
.article__hero.news-media--fit picture::before { content: none; }
.article__hero.news-media--fit img { width: 100%; height: auto; max-height: 640px; }
/* Filtered-out / not-yet-shown news cards: .news-card sets display:flex, which would beat the hidden attribute */
.news-card[hidden] { display: none; }
.news-group[hidden] + .news-group { margin-top: 0; }
h2.eyebrow { font-size: .75rem; line-height: 1.4; }

/* Card backdrop as a lazy image (news_backdrop_img); clip-path keeps the blur inside the card */
.news-card__media .news-media__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.85); clip-path: inset(0); pointer-events: none; }
.news-card__media.news-media--fit picture { background: transparent; }
.news-card__media.news-media--fit picture::before { content: none; }
.news-card__media .news-media__bg { object-fit: cover !important; transition: none; }
.news-card:hover .news-card__media .news-media__bg { transform: none; }

/* Content Credentials badge for AI-made images (ai_badge() in helpers.php), similar to LinkedIn's CR mark.
   Hidden until main.js has anchored it to the image's container. */
.ai-badge { position: absolute; z-index: 4; display: none; font-family: var(--font-body, inherit); }
.ai-badge.is-ready { display: block; }
.ai-badge--top-left { top: 12px; left: 12px; }
.ai-badge--top-right { top: 12px; right: 12px; }
.ai-badge--bottom-left { bottom: 12px; left: 12px; }
.ai-badge--bottom-right { bottom: 12px; right: 12px; }
.ai-badge__btn, span.ai-badge > .ai-badge__mark:only-child { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(1, 20, 40, .62); color: #fff; font-family: inherit; font-size: .6875rem; font-weight: 600; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ai-badge__mark { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 3px; border: 1.5px solid currentColor; border-radius: 6px; font-size: .5625rem; font-weight: 800; letter-spacing: .03em; line-height: 1; }
span.ai-badge > .ai-badge__mark:only-child { min-width: 0; height: auto; padding: 5px 7px; border-radius: 8px; font-size: .5625rem; cursor: default; }
.ai-badge__text { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s ease, padding .25s ease; }
.ai-badge__btn:hover .ai-badge__text, .ai-badge__btn:focus-visible .ai-badge__text, .ai-badge__btn[aria-expanded="true"] .ai-badge__text { max-width: 140px; padding-right: 6px; }
.ai-badge__note { position: absolute; top: calc(100% + 8px); left: 0; width: max-content; max-width: min(260px, 70vw); padding: 12px 14px; border-radius: 10px; background: var(--paper); color: var(--navy-800); box-shadow: 0 12px 32px rgba(1, 20, 40, .25); font-size: .8125rem; line-height: 1.45; }
.ai-badge__note strong { display: block; margin-bottom: 4px; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-700); }
.ai-badge--top-right .ai-badge__note, .ai-badge--bottom-right .ai-badge__note { left: auto; right: 0; }
.ai-badge--bottom-left .ai-badge__note, .ai-badge--bottom-right .ai-badge__note { top: auto; bottom: calc(100% + 8px); }
@media (prefers-reduced-motion: reduce) { .ai-badge__text { transition: none; } }/* Full-bleed hero photos run under the fixed header: keep their badge below it */
.hero__bleed > .ai-badge--top-right { top: calc(var(--header-h) + 16px); right: 16px; }
