/* CLN — Clean Lifecycle Network
   Brand: navy #0C1C33, blue #195BA6, light blue #4E83C2,
   dark blue #123F7A, mist #ACC2DC, ice #F1F5FA, yellow #F4E900 */

:root {
  --navy: #0C1C33;
  --blue: #195BA6;
  --blue-light: #4E83C2;
  --blue-dark: #123F7A;
  --mist: #ACC2DC;
  --ice: #F1F5FA;
  --yellow: #F4E900;
  --white: #fff;
  --text: #0C1C33;
  --muted: #4A5A70;
  --line: #DCE5F0;

  --font: "Roboto", "Aptos", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --radius: 6px;
  --radius-lg: 8px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 12vw, 184px);
  --header-h: 120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { left: 8px; }

.eyebrow { display: inline-block; margin: 0 0 1.25rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.lede--wide { max-width: 64ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.6em; border-radius: 6px; border: 2px solid transparent; font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; color: var(--blue); }
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Notification bar (src/partials/announcement.html) ---------- */
.announce { background: var(--blue-dark); color: #fff; font-size: .92rem; line-height: 1.4; }
.announce[hidden] { display: none; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.announce p { margin: 0; }
.announce a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--yellow); }
.announce__close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-right: -8px; border: 0; border-radius: 0; background: none; color: #fff; cursor: pointer; }
.announce__close:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ----------
   Starts tall with the tagline logo; main.js sets data-size="compact"
   once the hero scrolls out of view, swapping to the no-tagline logo. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s; }
.site-header[data-size="compact"] { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(12,28,51,.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header[data-size="compact"] .site-header__inner { height: 72px; }

.brand { position: relative; display: block; flex-shrink: 0; width: 220px; height: 84px; transition: width .35s var(--ease), height .35s var(--ease); }
.brand img { position: absolute; left: 0; top: 50%; width: auto; transform: translateY(-50%); transition: opacity .3s, height .35s var(--ease); }
.brand__full { height: 84px; opacity: 1; }
.brand__compact { height: 36px; opacity: 0; }
.site-header[data-size="compact"] .brand { width: 134px; height: 36px; }
.site-header[data-size="compact"] .brand__full { height: 36px; opacity: 0; }
.site-header[data-size="compact"] .brand__compact { opacity: 1; }

.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }
.site-nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; background: none; border-radius: 6px; font: 500 1rem/1 var(--font); color: var(--navy); text-decoration: none; cursor: pointer; }
.site-nav__link:hover, .site-nav__item.is-open > .site-nav__link { background: var(--ice); color: var(--navy); }
.site-nav__item[data-current] > .site-nav__link { color: var(--blue); }
.site-nav__item--cta { margin-left: 12px; }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.is-open > .site-nav__link .chev { transform: translateY(1px) rotate(-135deg); }
.subnav { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: 4px; box-shadow: 0 20px 48px -12px rgba(12,28,51,.28), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.subnav a { display: block; padding: 10px 14px; border-radius: 4px; color: var(--navy); text-decoration: none; font-weight: 500; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--ice); color: var(--blue); }
.is-open > .subnav { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1121px) {
  .has-sub:hover > .subnav { opacity: 1; visibility: visible; transform: none; }
}


.nav-toggle { display: none; align-items: center; gap: 10px; padding: 12px 16px; border: 0; background: var(--ice); border-radius: 6px; font: 500 1rem/1 var(--font); color: var(--navy); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, background .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  :root { --header-h: 92px; }
  .brand { width: 158px; height: 60px; }
  .brand__full { height: 60px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 92px); background: #fff; overflow-y: auto; padding: 8px var(--gutter) 40px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px solid var(--line); }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 20px 4px; font-size: 1.25rem; border-radius: 6px; }
  .site-nav__link:hover, .site-nav__item.is-open > .site-nav__link { background: none; }
  .subnav { position: static; display: none; min-width: 0; padding: 0 0 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .subnav::before { display: none; }
  .is-open > .subnav { display: block; }
  .subnav a { padding: 12px 4px; font-size: 1.05rem; }
  .site-nav__item--cta { margin: 24px 0 0; border: 0; }
  .site-nav__item--cta .btn { width: 100%; justify-content: center; padding: 1.1em; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lede, .section--navy .muted { color: var(--mist); }
.section--navy .eyebrow { color: var(--yellow); }
.section-head { max-width: 860px; margin-bottom: clamp(48px, 7vw, 104px); }
.section-head > :last-child { margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.section-head--split h2 { margin: 0; }
.section-head--split .lede { margin: 0; }
.section-head--split > p:last-child:has(.arrow-link) { justify-self: end; margin: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 5vw, 72px) 0 0; }
.hero__copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.hero__copy h1 { margin: 0; }
.hero:not(.hero--page) .hero__copy h1 { font-size: clamp(2rem, 4.8vw, 4rem); }
.hero__copy .lede { margin: 0 0 .25rem; }
.hero__copy .btn-row { margin-top: 1.5rem; }
.hero__media { position: relative; height: clamp(360px, 72vh, 760px); border-radius: var(--radius-lg); overflow: hidden; }
.hero__media > img, .hero__media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero--page { padding-bottom: clamp(40px, 6vw, 80px); }
.hero--page .hero__copy { margin-bottom: 0; }
.hero--page .hero__media { height: clamp(300px, 56vh, 600px); margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 860px) { .hero__copy { grid-template-columns: 1fr; } }

/* Full-bleed background video behind the hero (build.py adds .hero--video
   and .hero__bg from the page's front matter), under a bright white veil. */
.hero--video { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(560px, calc(100vh - var(--header-h) - 44px), 900px); padding: clamp(104px, 13vw, 200px) 0 clamp(56px, 7vw, 104px); }
.hero--page.hero--video { min-height: clamp(440px, 62vh, 680px); }
.hero--video > .wrap { position: relative; }
.hero--video .hero__copy { margin-bottom: 0; }
.hero--video .lede { color: var(--navy); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--ice); }
.hero__bg > video, .hero__bg > img, .hero__bg > .ph { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 0; }
/* Light-blue veil from the brand palette (ice #F1F5FA to mist #ACC2DC) */
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(236,242,250,.88) 0%, rgba(214,227,242,.76) 55%, rgba(172,194,220,.62) 100%); }
/* Homepage video: a lighter veil so the footage reads, still strong enough behind the headline */
.hero:not(.hero--page) .hero__bg::after { background: linear-gradient(100deg, rgba(236,242,250,.82) 0%, rgba(214,227,242,.62) 55%, rgba(172,194,220,.45) 100%); }
.hero__bg .ph::after { content: "Video · " attr(data-shot); z-index: 1; left: auto; right: 16px; top: 16px; bottom: auto; }
@media (max-width: 860px) { .hero__bg .ph::after { display: none; } }
.hero__bg .ph--plain::after { display: none; }
/* Pattern-only hero (Contact): lighter veil and a more visible diamond pattern */
.hero__bg--pattern::after { background: linear-gradient(100deg, rgba(255,255,255,.84) 0%, rgba(255,255,255,.68) 55%, rgba(255,255,255,.55) 100%); }
.hero__bg--pattern .ph--plain { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect x='38' y='38' width='44' height='44' rx='13' transform='rotate(45 60 60)' fill='%23ffffff' fill-opacity='.16'/%3E%3C/svg%3E") 0 0 / 120px 120px,
    radial-gradient(120% 90% at 85% 10%, rgba(78,131,194,.55), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(25,91,166,.6), transparent 60%),
    linear-gradient(135deg, #123F7A, #0C1C33); }

/* Brand motif: rounded diamonds from the logo */
.motif { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10%; width: 100%; max-width: 360px; aspect-ratio: 1; }
.motif span { border-radius: 0; transform: rotate(45deg) scale(.7); background: var(--blue); }
.motif .n { background: var(--navy); } .motif .l { background: var(--blue-light); } .motif .d { background: var(--blue-dark); } .motif .y { background: var(--yellow); } .motif .o { visibility: hidden; }

/* ---------- Photo placeholders ----------
   Swap each .ph for an <img> once photography is ready.
   data-shot describes the photo needed. */
.ph { position: relative; display: block; width: 100%; height: 100%; min-height: 240px; border-radius: var(--radius); overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect x='38' y='38' width='44' height='44' rx='13' transform='rotate(45 60 60)' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E") 0 0 / 120px 120px,
    radial-gradient(120% 90% at 85% 10%, rgba(78,131,194,.55), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(25,91,166,.6), transparent 60%),
    linear-gradient(135deg, #123F7A, #0C1C33); }
.ph::after { content: "Photo · " attr(data-shot); position: absolute; left: 16px; bottom: 16px; max-width: min(52ch, calc(100% - 32px)); padding: 8px 12px; border-radius: 4px; background: rgba(12,28,51,.55); color: rgba(255,255,255,.9); font: 500 .8rem/1.4 var(--font); backdrop-filter: blur(4px); }
.ph--card { min-height: 0; border-radius: 0; }
.ph--light { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect x='38' y='38' width='44' height='44' rx='13' transform='rotate(45 60 60)' fill='%23195BA6' fill-opacity='.07'/%3E%3C/svg%3E") 0 0 / 120px 120px, linear-gradient(135deg, #DCE7F4, #ACC2DC); }
.ph--light::after { background: rgba(255,255,255,.8); color: var(--navy); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.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 .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .grid .span-2 { grid-column: auto; } }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--ice); }
.card--white { background: #fff; }
a.card { display: block; color: inherit; text-decoration: none; transition: background .2s; }
a.card:hover { background: var(--mist); }
.card--navy { background: var(--navy); color: #fff; }
.card--navy h3 { color: #fff; }
.card--navy p { color: var(--mist); }
.card h3 { margin-bottom: .6em; }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 8px; background: #fff; color: var(--blue); }
.card__icon svg { width: 22px; height: 22px; }
.card--white .card__icon { background: var(--ice); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card--navy p { color: var(--mist); }
.num { display: block; margin-bottom: 28px; font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.card--navy .num { color: var(--yellow); }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
/* bullet centred on the first line's lowercase text, scaled with font size */
.ticks li::before { content: ""; position: absolute; left: 3px; top: calc(5px + .945em); width: 10px; height: 10px; border-radius: 0; transform: rotate(45deg); background: var(--blue); }
.section--navy .ticks li, .card--navy .ticks li { border-color: rgba(172,194,220,.2); }
.section--navy .ticks li::before, .card--navy .ticks li::before { background: var(--yellow); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--wide-media { grid-template-columns: 7fr 5fr; }
.split__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.split__media--landscape { aspect-ratio: 4 / 3; }
.split__media > img, .split__media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split, .split--wide-media { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .split__media { aspect-ratio: 4 / 3; } }

/* ---------- Statement / stat ---------- */
.statement { margin: 0; font-size: clamp(1.6rem, 3.1vw, 2.6rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 500; color: var(--navy); max-width: 28ch; }
.statement em { font-style: normal; color: var(--blue); }
.section--navy .statement { color: #fff; }
.section--navy .statement em { color: var(--yellow); }
.stat-feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.stat-feature__num { font-size: clamp(5rem, 13vw, 11rem); font-weight: 900; line-height: 1.05; letter-spacing: -.05em; color: var(--yellow); }
.stat-feature__label { margin-top: 24px; font-size: 1.2rem; color: var(--mist); max-width: 30ch; }
@media (max-width: 860px) { .stat-feature { grid-template-columns: 1fr; } }
.driver { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(172,194,220,.22); }
.driver:last-child { border-bottom: 1px solid rgba(172,194,220,.22); }
.driver__n { font-weight: 700; color: var(--yellow); font-size: .95rem; letter-spacing: .1em; padding-top: 4px; }
.driver h3 { color: #fff; font-size: 1.35rem; margin-bottom: .35em; }
.driver p { margin: 0; color: var(--mist); }

/* ---------- Cradle to gate to cradle ---------- */
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); counter-reset: loop; }
.loop__step { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: #fff; }
.loop__step::before { counter-increment: loop; content: "0" counter(loop); display: block; margin-bottom: 40px; font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.loop__step h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.loop__step p { margin: 0; color: var(--muted); }
.loop__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -26px; z-index: 1; width: 24px; height: 24px; border-radius: 4px; transform: translate(-50%, -50%) rotate(45deg); background: var(--yellow); box-shadow: 0 0 0 6px var(--ice); }
.loop__step--gate { background: var(--blue); }
.loop__step--gate::before { color: var(--yellow); }
.loop__step--gate h3, .loop__step--gate p { color: #fff; }
.loop__return { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-weight: 500; color: var(--blue-dark); text-align: center; }
.loop__return::before, .loop__return::after { content: ""; flex: 1; min-width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-light) 0 10px, transparent 10px 18px); }
@media (max-width: 860px) {
  .loop { grid-template-columns: 1fr; }
  .loop__step:not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: -26px; transform: translate(-50%, 50%) rotate(45deg); }
}

/* ---------- Verticals ---------- */
.vertical { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--ice); }
.vertical__media { position: relative; aspect-ratio: 16 / 10; }
.vertical__media > .ph, .vertical__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.vertical__body { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; flex: 1; }
.vertical__body .ticks { margin: 20px 0 28px; }
.vertical__body .arrow-link { margin-top: auto; }

/* ---------- Network / companies ---------- */
.companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 860px) { .companies { grid-template-columns: 1fr; } }
.company { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.section--ice .company { box-shadow: none; }
.section--navy .company { background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(172,194,220,.2); }
.company__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ice); }
.company__media img { width: 100%; height: 100%; object-fit: cover; }
.company__body { padding: 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.company__logo { width: auto; max-width: 150px; height: 40px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
.company__body h3 { margin: 0; }
.company__loc { margin: 0; font-size: .9rem; font-weight: 500; letter-spacing: .04em; color: var(--blue); }
.section--navy .company__loc { color: var(--yellow); }
.company__body p { margin: 8px 0 0; color: var(--muted); }
.section--navy .company__body p:not(.company__loc) { color: var(--mist); }
.company__body .arrow-link { margin-top: auto; padding-top: 16px; }
.section--navy .company__body .arrow-link { color: #fff; }

.hub { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.hub__item { padding: 28px 20px; border-radius: var(--radius); background: #fff; text-align: center; }
.hub__item svg { display: block; width: 32px; height: 32px; margin: 0 auto 14px; color: var(--blue); }
.hub__item h3 { font-size: 1.1rem; margin-bottom: .4em; }
.hub__item p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .hub { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hub { grid-template-columns: 1fr; } }

/* Who we serve: compact entry per industry / group, with what-we-handle tags */
.segment { display: flex; flex-direction: column; scroll-margin-top: 140px; }
.segment h3 { margin-bottom: .5em; }
.segment p { flex: 1; }
.segment__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
.segment__tags li { padding: 5px 10px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .8rem; font-weight: 500; color: var(--blue-dark); }
.card--white .segment__tags li, .segment.card--white .segment__tags li { background: var(--ice); box-shadow: none; }
section[id] { scroll-margin-top: 110px; }

/* Company logos (home + facilities): /assets/img/logos/<slug>.webp */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.logos a { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: clamp(16px, 2vw, 28px); border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .2s, transform .3s var(--ease); }
.logos a:hover { box-shadow: 0 0 0 2px var(--blue-light); transform: translateY(-3px); }
.logos img { width: 100%; max-height: 64px; object-fit: contain; }
@media (max-width: 960px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-bottom: clamp(40px, 5vw, 64px); }
.benefit { padding-top: 24px; border-top: 2px solid var(--blue); }
.benefit h3 { font-size: 1.3rem; }
.benefit p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

.section--navy .loop__step { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(172,194,220,.2); }
.section--navy .loop__step p { color: var(--mist); }
.section--navy .loop__step::before { color: var(--yellow); }
.section--navy .loop__step--gate { background: var(--blue); box-shadow: none; }
.section--navy .loop__step--gate p { color: #fff; }
.section--navy .loop__step:not(:last-child)::after { box-shadow: 0 0 0 6px var(--navy); }
.section--navy .loop__return { color: var(--mist); }

/* Secure destruction: chain-of-custody track (what-we-recover/hazardous-materials) */
.custody { --node: 64px; --gap: clamp(16px, 2vw, 28px); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.custody__span { position: relative; width: calc(100% - (100% - 4 * var(--gap)) / 5 - var(--gap)); margin: 0 0 28px; padding-top: 14px; border-top: 2px solid var(--yellow); text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.custody__span::before, .custody__span::after { content: ""; position: absolute; top: -2px; width: 2px; height: 12px; background: var(--yellow); }
.custody__span::before { left: 0; } .custody__span::after { right: 0; }
.custody__track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
/* the line runs through the node centres: solid yellow through the custody steps, dashed into recovery */
.custody__track::before { content: ""; position: absolute; top: calc(var(--node) / 2 - 1px); left: calc(var(--node) / 2); right: calc((100% - 4 * var(--gap)) / 5 - var(--node) / 2); height: 2px;
  z-index: 1; background: linear-gradient(90deg, var(--yellow) 0 75%, transparent 75%); }
/* Return loop: a dashed rounded rectangle whose top edge sits on the track line (hidden under
   the yellow custody line), so the line runs on past Recovered, curves under the steps and
   travels back to Collected. */
.custody__flow { position: relative; margin-bottom: 72px; }
.custody__return { position: absolute; z-index: 0; left: -24px; right: -24px; top: calc(var(--node) / 2 - 1px); bottom: -44px; border: 2px dashed var(--blue-light); border-radius: 8px; pointer-events: none; }
.custody__return > span { position: absolute; left: 50%; bottom: -2px; transform: translate(-50%, 50%); padding: 0 14px 0 30px; background: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5A8CC8; white-space: nowrap; }
/* arrowhead pointing left: the loop travels backward toward step 01 */
.custody__return > span::before { content: ""; position: absolute; left: 6px; top: 50%; width: 10px; height: 10px; border-left: 2px solid var(--blue-light); border-bottom: 2px solid var(--blue-light); transform: translateY(-50%) rotate(45deg); }
.custody__step { position: relative; z-index: 1; }
.custody__node { position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); margin-bottom: 24px; }
.custody__node::before { content: ""; position: absolute; inset: 9px; border-radius: 0; transform: rotate(45deg); background: var(--yellow); box-shadow: 0 0 0 8px var(--navy); }
.custody__node svg { position: relative; width: 26px; height: 26px; color: var(--navy); }
.custody__step:last-child .custody__node::before { background: var(--blue); }
.custody__step:last-child .custody__node svg { color: #fff; }
.custody__n { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--yellow); }
.custody__step:last-child .custody__n { color: #5A8CC8; } /* --blue-light, nudged lighter for AA contrast on navy */
.custody__step h3 { color: #fff; font-size: 1.3rem; margin-bottom: .4em; }
.custody__step p { margin: 0; font-size: .98rem; color: var(--mist); }
@media (max-width: 960px) {
  .custody__span { width: auto; margin-bottom: 24px; text-align: left; padding: 0 0 0 16px; border-top: 0; border-left: 2px solid var(--yellow); }
  .custody__span::before, .custody__span::after { display: none; }
  .custody__track { grid-template-columns: 1fr; gap: 28px; }
  .custody__track::before { top: calc(var(--node) / 2); bottom: calc(var(--node) / 2); left: calc(var(--node) / 2 - 1px); right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--yellow) 0 75%, transparent 75%), repeating-linear-gradient(180deg, var(--blue-light) 0 8px, transparent 8px 14px); }
  .custody__flow { margin-bottom: 0; }
  .custody__return { display: none; }
  .custody__step { display: grid; grid-template-columns: var(--node) 1fr; column-gap: 20px; }
  .custody__node { grid-row: span 3; margin: 0; }
}

/* ---------- Our story ---------- */
/* Company previews: small photo tiles in a row */
.previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.previews__tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ice); }
.previews__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.previews__tile:hover img { transform: scale(1.04); }
.previews__tile span { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 6px; background: rgba(12,28,51,.72); color: #fff; font-size: .8rem; font-weight: 500; backdrop-filter: blur(4px); }
@media (max-width: 760px) { .previews { grid-template-columns: 1fr 1fr; } }

/* At-a-glance facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; }
.facts > div { padding-left: 20px; border-left: 3px solid var(--yellow); }
.facts dt { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; color: var(--navy); }
.facts dd { margin: 10px 0 0; color: var(--muted); max-width: 22ch; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Framed photo with diamond accents (Sustainability people block) */
.framed { position: relative; }
.framed::before { content: ""; position: absolute; left: -22px; top: -22px; width: 88px; height: 88px; border-radius: 0; transform: rotate(45deg); background: var(--yellow); }
.framed::after { content: ""; position: absolute; right: -16px; bottom: -16px; width: 52px; height: 52px; border-radius: 0; transform: rotate(45deg); background: var(--blue); }
.framed img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 860px) { .framed::before { left: -10px; top: -10px; width: 56px; height: 56px; } }

/* Vision / mission: two adjoining brand panels joined by a yellow diamond */
.mv { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: visible; }
.mv__panel { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px); min-height: 420px; display: flex; flex-direction: column; color: #fff; }
.mv__panel--vision { background: var(--navy); border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.mv__panel--mission { background: var(--blue); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.mv__mark { position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; fill: #fff; opacity: .06; }
.mv__panel--mission .mv__mark { opacity: .1; }
.mv__label { margin: auto 0 20px; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.mv__text { position: relative; margin: 0; max-width: 34ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: rgba(255,255,255,.88); }
.mv__join { position: absolute; left: 50%; top: 50%; z-index: 2; width: 44px; height: 44px; transform: translate(-50%, -50%) rotate(45deg); background: var(--yellow); box-shadow: 0 0 0 8px var(--ice); }
@media (max-width: 860px) {
  .mv { grid-template-columns: 1fr; }
  .mv__panel { min-height: 0; }
  .mv__panel--vision { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .mv__panel--mission { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .mv__join { width: 32px; height: 32px; }
}

/* Waste to worth: before/after photos joined by a yellow arrow */
.worth { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px); max-width: 980px; margin: 0 auto clamp(48px, 6vw, 80px); }
.worth__side { margin: 0; }
.worth__side img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.worth__side:first-child img { filter: grayscale(1) contrast(.95); }
.worth figcaption { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.worth figcaption strong { display: block; margin-bottom: 2px; font-size: 1.4rem; color: var(--navy); }
.worth__arrow { position: relative; display: grid; place-items: center; width: 84px; height: 84px; }
.worth__arrow::before { content: ""; position: absolute; inset: 10px; border-radius: 0; transform: rotate(45deg); background: var(--yellow); }
.worth__arrow span { position: relative; font-weight: 900; font-size: .95rem; letter-spacing: .04em; color: var(--navy); }
.worth__arrow span::after { content: "→"; display: block; text-align: center; font-size: 1.1rem; line-height: 1; }
@media (max-width: 700px) { .worth { grid-template-columns: 1fr; justify-items: center; } .worth__arrow span::after { content: "↓"; } }

/* CEO quote */
.quote { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin: 0; }
.quote__photo { position: relative; }
.quote__photo::before { content: ""; position: absolute; right: -18px; bottom: -18px; width: 56%; aspect-ratio: 1; border-radius: 0; transform: rotate(45deg); background: var(--yellow); }
.quote__photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); filter: grayscale(1); }
.quote__text { position: relative; margin: 0 0 28px; padding-top: 56px; }
.quote__text::before { content: "\201C"; position: absolute; top: -24px; left: -6px; font-size: 7rem; font-weight: 900; line-height: 1; color: var(--blue); }
.quote__text p { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 500; color: var(--navy); }
.quote__text[data-todo] p { color: var(--muted); font-style: italic; }
.quote figcaption { color: var(--muted); }
.quote figcaption strong { display: block; font-size: 1.15rem; color: var(--navy); }
@media (max-width: 760px) { .quote { grid-template-columns: 1fr; } .quote__photo { max-width: 240px; } }

/* Our journey timeline: diamonds on a line, yellow for milestones, outlined for what's next */
.journey { --node: 22px; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.journey::before { content: ""; position: absolute; top: calc(var(--node) / 2 - 1px); left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--navy) 0 86%, transparent 86%), repeating-linear-gradient(90deg, var(--blue-light) 0 8px, transparent 8px 14px); }
.journey__item { position: relative; }
.journey__node { display: block; width: var(--node); height: var(--node); margin-bottom: 24px; border-radius: 0; transform: rotate(45deg); background: var(--yellow); box-shadow: 0 0 0 6px var(--ice), inset 0 0 0 2px var(--navy); }
.journey__item--next .journey__node { background: var(--ice); box-shadow: 0 0 0 6px var(--ice), inset 0 0 0 2px var(--blue-light); }
.journey__year { margin: 0 0 8px; font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.journey__item[data-todo] .journey__year { color: var(--mist); }
.journey__item h3 { font-size: 1.15rem; margin-bottom: .4em; }
.journey__item p:last-child { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 1080px) {
  .journey { grid-auto-flow: row; grid-auto-columns: auto; gap: 28px; padding-left: 44px; }
  .journey::before { top: 0; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--navy) 0 86%, transparent 86%), repeating-linear-gradient(180deg, var(--blue-light) 0 8px, transparent 8px 14px); }
  .journey__node { position: absolute; left: -44px; top: 2px; margin: 0; }
}

/* Overlapping headshots in the leadership CTA */
.faces { display: flex; margin-bottom: 8px; }
.faces img { width: 56px; height: 56px; border-radius: 0; object-fit: cover; border: 3px solid var(--blue); filter: grayscale(1); }
.faces img + img { margin-left: -10px; }

/* Investor newsletter sign-up (src/partials/investor-signup.html) */
.signup { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--blue); color: #fff; }
.signup .eyebrow { color: var(--yellow); }
.signup h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.signup__copy p:last-child { margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 36ch; }
.signup .field label { color: #fff; }
.signup .field input { border-color: transparent; }
.signup .field input:focus { box-shadow: 0 0 0 4px rgba(244,233,0,.45); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .72rem; line-height: 1.45; color: #fff; cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--yellow); }
.signup a { color: #fff; }
.signup a:hover { color: var(--yellow); }
.signup__note { margin: 0; font-size: .68rem; line-height: 1.45; color: rgba(255,255,255,.88); }
@media (max-width: 960px) { .signup { grid-template-columns: 1fr; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.4vw, 32px); }
.person__photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--ice); margin-bottom: 20px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.person h3 { margin: 0 0 4px; font-size: 1.3rem; }
.person__role { margin: 0 0 12px; font-weight: 500; color: var(--blue); }
.person details { color: var(--muted); font-size: .98rem; }
.person summary { cursor: pointer; font-weight: 500; color: var(--navy); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 0; background: var(--ice); color: var(--blue); line-height: 1; }
.person details[open] summary::after { content: "–"; }
.person details p { margin-top: 12px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; }
.news-card[hidden] { display: none; }
.news-card__media { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.news-card__media img, .news-card__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card__media:hover img, .news-card__media:hover .ph { transform: scale(1.03); }
.news-card__media .ph::after { font-size: .72rem; }
.news-card__meta { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.news-card h3 { font-size: 1.3rem; margin-bottom: .5em; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a:hover { color: var(--blue); }
.news-card p { color: var(--muted); font-size: 1rem; margin: 0; }
.tag { display: inline-block; padding: 5px 10px; border-radius: 6px; font-size: .7rem; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.tag--announcement { background: var(--navy); color: var(--yellow); }
.tag--story { background: var(--ice); color: var(--blue); box-shadow: inset 0 0 0 1px var(--mist); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter { padding: 10px 18px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font: 500 .95rem/1 var(--font); color: var(--navy); cursor: pointer; }
.filter:hover { border-color: var(--blue-light); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.post { padding: clamp(32px, 5vw, 72px) 0 var(--section); }
.post__back { display: inline-block; margin-bottom: 32px; font-weight: 500; text-decoration: none; }
.post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--muted); font-size: .95rem; }
.post h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.post__media { position: relative; aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden; margin: 48px 0; }
.post__media > .ph, .post__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.post__figure { margin: 48px 0; }
.post__figure .post__media { margin: 0; }
.post__figure figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.post__figure figcaption strong { color: var(--navy); }
.post__body { font-size: 1.15rem; line-height: 1.7; }
.post__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.post__body blockquote { margin: 2em 0; padding-left: 24px; border-left: 4px solid var(--yellow); font-size: 1.35rem; line-height: 1.45; color: var(--navy); font-weight: 500; }
.draft-note { margin: 0 0 32px; padding: 14px 18px; border-radius: 6px; background: #FFFBD6; border: 1px solid #EDE27A; font-size: .95rem; color: #5A5200; }

/* ---------- CTA ---------- */
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.cta-pair a { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 280px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); text-decoration: none; color: #fff; transition: transform .3s var(--ease); }
.cta-pair a:hover { transform: translateY(-4px); color: #fff; }
.cta-pair a:first-child { background: var(--blue); }
.cta-pair a:last-child { background: var(--navy); }
.cta-pair h3 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.cta-pair p { color: rgba(255,255,255,.82); max-width: 38ch; margin: 0; }
.cta-pair .arrow-link { color: var(--yellow); }
@media (max-width: 760px) { .cta-pair { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.map { height: clamp(360px, 50vw, 540px); border-radius: var(--radius-lg); overflow: hidden; background: var(--ice); position: relative; z-index: 0; }
.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.location { padding: 24px; border-radius: var(--radius); background: var(--ice); }
.location h3 { font-size: 1.15rem; margin-bottom: 4px; }
.location p { margin: 0; color: var(--muted); font-size: .98rem; }
.location .location__city { font-weight: 500; color: var(--blue); }
.locations--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.location__logo { display: block; width: auto; max-width: 140px; height: 36px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
@media (max-width: 1080px) { .locations--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .locations--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .locations--5 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .locations { grid-template-columns: 1fr; } }
.map-pin { width: 22px; height: 22px; border-radius: 0; transform: rotate(45deg); background: var(--blue); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(12,28,51,.35); }

.speaker { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.speaker__media { position: relative; min-height: 440px; }
.speaker__media > .ph { position: absolute; inset: 0; border-radius: 0; }
.speaker__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.speaker__body { padding: clamp(32px, 5vw, 72px); }
.speaker__body h2 { color: #fff; }
.speaker__body p { color: var(--mist); }
.speaker__topics { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.speaker__topics li { padding: 8px 14px; border-radius: 6px; background: rgba(255,255,255,.08); font-size: .92rem; }
@media (max-width: 860px) { .speaker { grid-template-columns: 1fr; } .speaker__media { min-height: 260px; } }

.contact-card { padding: 32px; border-radius: var(--radius); background: var(--ice); }
.contact-card h3 { margin-bottom: 4px; }
.contact-card p { margin: 0 0 4px; color: var(--muted); }
.contact-card a { font-weight: 500; }
.contact-card .btn { margin-top: 20px; }
/* Contact: "Start a conversation" heading stacked above a centred form */
.contact-form { max-width: 860px; margin: 0 auto; }
.contact-form h2 { margin-bottom: clamp(24px, 3vw, 40px); }
/* General Inquiries: cards stack on the left; the form panel stretches to the same height */
.contact-split { align-items: stretch; }
.contact-split__info { display: flex; flex-direction: column; }
.inquiries { margin-top: 2rem; border-bottom: 1px solid var(--line); }
.inquiry { padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.inquiry h3 { margin: 0 0 4px; font-size: 1.1rem; }
.inquiry p { margin: 0 0 8px; color: var(--muted); font-size: 1rem; }
.contact-split .form-panel { display: flex; flex-direction: column; }
.contact-split .form { flex: 1; grid-template-rows: auto auto auto 1fr auto; }
.field--grow { display: flex; flex-direction: column; }
.field--grow textarea { flex: 1; }
.media-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.media-row .contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 48px); }
.media-row .contact-card .btn { margin-top: auto; white-space: nowrap; }
.media-row .contact-card p { margin-bottom: 24px; }
@media (max-width: 760px) { .media-row { grid-template-columns: 1fr; } .media-row .contact-card .btn { white-space: normal; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: .92rem; font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: 400 1rem/1.4 var(--font); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(25,91,166,.15); }
.form__note { font-size: .88rem; color: var(--muted); margin: 0; }
.req { color: #B3261E; font-weight: 700; }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: 6px; background: #fff; color: var(--navy); font-weight: 500; box-shadow: inset 0 0 0 1px var(--mist); }
.form__status[hidden] { display: none; }
.form-panel { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--ice); }
/* HubSpot embedded forms (main.js loadHubSpotForms), restyled to match .form / .field */
.hs-embed { min-height: 420px; }
.hs-embed .hs-form fieldset { max-width: none !important; margin: 0; padding: 0; border: 0; }
.hs-embed .hs-form fieldset.form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.hs-embed .hs-form fieldset .hs-form-field { width: auto !important; float: none !important; padding: 0 !important; }
.hs-embed .hs-form fieldset .input { margin: 0 !important; }
.hs-embed .hs-form-field { margin-bottom: 20px; }
.hs-embed .hs-form-field > label { display: block; margin-bottom: 8px; font-size: .92rem; font-weight: 500; color: var(--navy); }
.hs-embed .hs-form-required { margin-left: 2px; color: #B3261E; font-weight: 700; }
.hs-embed .hs-input:not([type="checkbox"]):not([type="radio"]) { width: 100% !important; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: 400 1rem/1.4 var(--font); color: var(--text); }
.hs-embed select.hs-input { appearance: auto; }
.hs-embed textarea.hs-input { min-height: 140px; resize: vertical; }
.hs-embed .hs-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(25,91,166,.15); }
.hs-embed .hs-input.invalid.error { border-color: #B3261E; }
.hs-embed .hs-error-msgs { list-style: none; margin: 6px 0 0; padding: 0; }
.hs-embed .hs-error-msgs label, .hs-embed .hs_error_rollup label { color: #B3261E; font-size: .82rem; font-weight: 500; }
.hs-embed .hs_error_rollup { display: none; }
.hs-embed .hs-richtext, .hs-embed .legal-consent-container { font-size: .82rem; line-height: 1.5; color: var(--muted); }
.hs-embed .hs-form-booleancheckbox-display { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; cursor: pointer; }
.hs-embed .hs-form-booleancheckbox-display input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; }
.hs-embed .hs-form-booleancheckbox-display > span { margin: 0 !important; font-weight: 400; }
.hs-embed .legal-consent-container .hs-form-booleancheckbox-display { font-weight: 400; }
.hs-embed .inputs-list { list-style: none; margin: 0; padding: 0; }
.hs-embed .hs-submit { margin-top: 8px; }
.hs-embed .hs-button { display: inline-flex; align-items: center; justify-content: center; padding: .85em 1.6em; border: 2px solid transparent; border-radius: 6px; background: var(--blue); color: #fff; font: 500 1rem/1 var(--font); cursor: pointer; transition: background .2s, transform .2s; }
.hs-embed .hs-button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.hs-embed .submitted-message { padding: 18px 20px; border-radius: 6px; background: #fff; color: var(--navy); font-weight: 500; box-shadow: inset 0 0 0 1px var(--mist); }
.hs-embed:has(.submitted-message) { min-height: 0; }
.hs-embed .legal-consent-container, .hs-embed fieldset:has(> .hs-richtext) { margin-bottom: 20px; }
.hs-embed .hs-richtext p { margin: 0; }
@media (max-width: 640px) { .hs-embed .hs-form fieldset.form-columns-2 { grid-template-columns: 1fr; } }
/* Investor sign-up: the HubSpot form on the blue panel */
.signup .hs-embed { min-height: 300px; }
.signup .hs-embed .hs-form-field > label, .signup .hs-embed .hs-form-booleancheckbox-display { color: #fff; }
.signup .hs-embed .hs-form-required { color: var(--yellow); }
.signup .hs-embed .hs-input:not([type="checkbox"]) { border-color: transparent; }
.signup .hs-embed .hs-input:focus { box-shadow: 0 0 0 4px rgba(244,233,0,.45); }
.signup .hs-embed .hs-form-booleancheckbox-display { font-size: .72rem; line-height: 1.45; }
.signup .hs-embed .hs-form-booleancheckbox-display input { accent-color: var(--yellow); }
.signup .hs-embed .hs-richtext, .signup .hs-embed .legal-consent-container { font-size: .68rem; line-height: 1.45; color: rgba(255,255,255,.88); }
.signup .hs-embed .hs-richtext em { font-style: normal; }
.hs-embed .hs-richtext br:last-child { display: none; }
.signup .hs-embed .hs-error-msgs label, .signup .hs-embed .hs-error-msg { color: var(--yellow); }
.signup .hs-embed .hs-button { background: var(--yellow); color: var(--navy); }
.signup .hs-embed .hs-button:hover { background: #fff; color: var(--navy); }
.signup .hs-embed .submitted-message { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); counter-reset: step; }
.steps li { padding-top: 24px; border-top: 2px solid var(--navy); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 16px; font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--mist); padding: clamp(64px, 8vw, 112px) 0 32px; }
.site-footer__top { display: grid; grid-template-columns: 3fr 8fr; gap: clamp(40px, 6vw, 96px); padding-bottom: 64px; border-bottom: 1px solid rgba(172,194,220,.18); }
.site-footer__brand img { width: 200px; margin-bottom: 24px; }
.site-footer__brand p { max-width: 34ch; margin: 0; }
.site-footer__member { display: flex; align-items: center; gap: 16px; margin-top: 32px; max-width: 440px; }
.site-footer__member img { flex-shrink: 0; width: 192px; margin: 0; padding: 8px 10px; border-radius: 6px; background: #fff; }
.site-footer__member p { font-size: .85rem; line-height: 1.5; }
.site-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1120px) { .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer h2 { margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__cols li { margin-bottom: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer__bottom a { color: var(--mist); }
@media (max-width: 1120px) { .site-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Cookie consent (assets/js/consent.js) ---------- */
.cookie-consent { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1000; display: flex; justify-content: flex-start; pointer-events: none; }
.cookie-consent[hidden] { display: none; }
.cookie-consent__panel { position: relative; overflow: hidden; pointer-events: auto; width: 100%; max-width: 560px; padding: 28px 28px 24px; border-radius: var(--radius-lg); background: var(--navy); color: var(--mist); box-shadow: 0 24px 60px -16px rgba(12,28,51,.55); animation: cookie-in .4s var(--ease); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-consent__title { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -.01em; color: #fff; }
.cookie-consent__text { margin: 0 0 18px; font-size: .92rem; line-height: 1.55; }
.cookie-consent__text a { color: #fff; font-weight: 500; }
.cookie-consent__text a:hover { color: var(--yellow); }
.cookie-consent__prefs { display: grid; gap: 8px; margin: 0 0 18px; }
.cookie-consent__prefs[hidden] { display: none; }
.cookie-consent__option { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 6px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(172,194,220,.2); font-size: .86rem; line-height: 1.45; cursor: pointer; }
.cookie-consent__option input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--yellow); }
.cookie-consent__option strong { display: block; color: #fff; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-consent__actions .btn { padding: .75em 1.2em; font-size: .92rem; }
.cookie-consent__actions [hidden] { display: none; }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 520px) {
  .cookie-consent { left: 8px; right: 8px; bottom: 8px; }
  .cookie-consent__panel { padding: 22px 18px 18px; }
  .cookie-consent__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent__panel { animation: none; } }

/* Footer "Cookie settings" is a button styled like the links beside it */
.site-footer__link { padding: 0; border: 0; background: none; font: inherit; color: var(--mist); cursor: pointer; }
.site-footer__link:hover { color: var(--yellow); }

/* ---------- Reveal on scroll (main.js adds .js to <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .88rem; line-height: 1.45; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--navy); font-weight: 700; background: var(--ice); }
.prose td:first-child { width: 22%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; overflow-wrap: anywhere; }
.prose th:nth-child(4) { width: 36%; }
.mt-lg { margin-top: clamp(56px, 7vw, 112px); }

/* Map popups and zoom controls match the site's slight rounding */
.map .leaflet-popup-content-wrapper, .map .leaflet-bar { border-radius: var(--radius); }

/* Grayscale OSM tiles to sit quietly in the brand palette */
.map .leaflet-control-attribution a { color: var(--blue); }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(.9) brightness(1.05); }
