:root {
  --navy-900: #071a2b;
  --navy-800: #0d2a40;
  --blue-700: #2b3f7e;
  --teal-400: #4dbcc2; /* brand color, taken from the logo */
  --teal-700: #0f7076; /* accessible teal for text on light backgrounds */
  --ink: #12222f;
  --muted: #4d606d;
  --surface: #f3f7f8;
  --line: #dde7ea;
  --radius: 20px;
  --font-heading: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  /* single type scale */
  --fs-h1: clamp(2rem, 4vw, 2.75rem);
  --fs-h2: clamp(1.625rem, 3vw, 2.25rem);
  --fs-h3: 1.125rem;
  --fs-p: 1rem;
  --fs-small: .875rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: var(--fs-p)/1.65 var(--font-body); color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); }
p { font-size: var(--fs-p); }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; }
.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 50; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }

/* Header: sits inside the banner, edge to edge */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; width: 100%; border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(7,26,43,.93); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(7,26,43,.25); }
.header-inner { display: flex; align-items: center; gap: 2rem; width: min(1200px, 100% - 3rem); height: 86px; margin-inline: auto; }
.brand img { width: 180px; filter: brightness(0) invert(1); transition: opacity .3s; }
#main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-size: var(--fs-small); }
.nav-list > li > a { display: inline-block; padding: .55rem 1rem; border-radius: 99px; transition: background .2s; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { background: rgba(255,255,255,.16); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { border: 0; background: none; cursor: pointer; padding: .25rem; color: inherit; }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; padding: .6rem; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 18px 45px rgba(7,26,43,.25); visibility: hidden; opacity: 0; transition: .2s; }
.sub-menu a { display: block; padding: .5rem .8rem; border-radius: 10px; }
.sub-menu a:hover, .sub-menu a[aria-current] { background: var(--surface); color: var(--teal-700); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { visibility: visible; opacity: 1; }
.menu-toggle { display: none; }
.social-list { display: flex; gap: .5rem; }
.header-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); transition: background .2s; }
.header-social a:hover { background: var(--teal-700); border-color: var(--teal-400); }
.header-social img { width: 15px; height: 15px; filter: brightness(0) invert(1); }

/* Buttons: pill with a circular icon that turns on hover */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 6px 6px 6px 1.5rem; border-radius: 99px; border: 1px solid transparent; font: 700 var(--fs-small) var(--font-body); cursor: pointer; transition: transform .25s, box-shadow .25s, background-color .25s; }
.button-icon { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 1.05rem; transition: transform .25s; }
.button:hover { transform: translateY(-2px); }
.button:hover .button-icon { transform: rotate(-45deg); }
.button-primary { color: var(--navy-900); background: linear-gradient(120deg, #8ce8da, var(--teal-400)); box-shadow: 0 12px 30px rgba(77,188,194,.38); }
.button-primary .button-icon, .button-light .button-icon { background: var(--navy-900); color: #fff; }
.button-light { background: #fff; color: var(--navy-900); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.button-ghost .button-icon { background: #fff; color: var(--navy-900); }
.button-ghost:hover { background: rgba(255,255,255,.2); }
.button-outline { color: var(--navy-900); border-color: var(--line); background: #fff; box-shadow: 0 8px 24px rgba(7,26,43,.08); }
.button-outline .button-icon { background: var(--teal-700); color: #fff; }

/* Hero */
.hero { position: relative; isolation: isolate; width: 100%; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; gap: 1.5rem; padding: 86px 0 1.5rem; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(7,26,43,.95) 15%, rgba(13,42,64,.78) 50%, rgba(15,112,118,.55)); }
.hero-inner { display: grid; flex: 1; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-content: center; align-items: center; }
.hero-main { display: grid; gap: clamp(1.25rem, 4vh, 2.5rem); justify-items: start; }
.hero h1 img { width: min(440px, 80vw, 56vh); }
.hero-affiliations { display: grid; gap: 1rem; }
.glass-card { display: grid; justify-items: center; gap: .9rem; padding: clamp(1rem, 3vh, 1.75rem); border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); font-weight: 700; transition: background .2s; }
.glass-card:hover { background: rgba(255,255,255,.16); }
.glass-card img { height: clamp(44px, 8vh, 64px); width: auto; max-width: 100%; }

/* Quick bar */
.quick-bar { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr 1fr; color: var(--ink); background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(7,26,43,.14); overflow: hidden; }
.quick-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.75rem; font-family: var(--font-heading); font-weight: 600; border-left: 1px solid var(--line); transition: background .2s; }
.quick-item:first-child { border: 0; background: linear-gradient(100deg, var(--blue-700), var(--teal-700)); color: #fff; }
.quick-item:not(:first-child):hover { background: var(--surface); }
.quick-item .button-icon { background: var(--teal-700); color: #fff; }
.quick-item:first-child .button-icon { background: #fff; color: var(--navy-900); }
.quick-item:hover .button-icon { transform: rotate(-45deg); }

/* Sections */
.section { padding: 6.5rem 0; }
.section > .container > h2, .section-head h2 { margin-bottom: 3rem; }
.section > .container > h2::before, .section-head h2::before { content: ""; display: block; width: 44px; height: 5px; margin-bottom: 1rem; border-radius: 5px; background: var(--teal-400); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.section-head .button { margin-bottom: 3rem; }
.section-dark { background: radial-gradient(circle at 85% 0, #145a68, transparent 55%), var(--navy-900); color: #fff; }

/* Services: two columns */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.service-card { position: relative; display: flex; flex-direction: column; gap: 1.25rem; padding: 2.25rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(7,26,43,.05); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(7,26,43,.12); }
.service-top { display: flex; align-items: center; gap: 1.1rem; }
.service-number { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border-radius: 16px; font: 700 1rem var(--font-heading); color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--teal-700)); }
.service-top h3, .service-top .card-title { font-size: var(--fs-h3); }
.service-text { color: var(--muted); display: grid; gap: .85rem; overflow-wrap: anywhere; }
.service-text ul { padding-left: 1.25rem; list-style: disc; }
.service-text ol { padding-left: 1.25rem; list-style: decimal; }
.service-text a { color: var(--teal-700); font-weight: 700; }
.service-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; margin-top: auto; padding: 1rem 1.25rem; border-radius: 14px; background: var(--surface); font-size: var(--fs-small); overflow-wrap: anywhere; }
.service-meta strong { display: block; }
.service-meta a { color: var(--teal-700); font-weight: 700; }

/* Success cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.case-media { height: 210px; background: center / cover; }
.case-body { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 1rem; padding: 1.75rem; color: #c9d8df; }
.case-body strong { color: #fff; }
.case-body h4 { font: 700 var(--fs-p)/1.5 var(--font-body); color: var(--teal-400); }
.case-body .button { margin-top: auto; }

/* Partners */
.marquee { overflow: hidden; margin-bottom: 1rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll-logos 160s linear infinite; }
.is-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee li { width: 190px; height: 104px; margin-right: 1rem; }
.marquee li > * { display: grid; place-items: center; width: 100%; height: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.marquee img { max-height: 68px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .2s; }
.marquee li > *:hover img { filter: none; opacity: 1; }
@keyframes scroll-logos { to { transform: translateX(-50%); } }

/* Institutional supporters: floating panel overlapping the footer */
.funders { position: relative; z-index: 2; margin-bottom: -64px; padding-top: 1.5rem; }
.funder-list { display: grid; grid-template-columns: 1fr .8fr 1.5fr .85fr .85fr 1.35fr 1.5fr; padding: 1rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(7,26,43,.2); }
.funder-list li { position: relative; min-width: 0; }
.funder-list li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.funder-list li > * { display: grid; place-items: center; height: 96px; margin: 0 .3rem; padding: 0 .65rem; border-radius: 16px; transition: background-color .25s, transform .25s; }
.funder-list li > a:hover { background: var(--surface); transform: translateY(-3px); }
.funder-list img { width: 100%; height: 52px; object-fit: contain; }
.funder-list img[src$="startup-ole.webp"] { height: 72px; object-fit: cover; }

/* Footer */
.site-footer { position: relative; padding-top: 9rem; color: #e2eef2; background: radial-gradient(circle at 92% 100%, rgba(77,188,194,.45), transparent 55%), linear-gradient(125deg, var(--navy-900) 0%, #18285c 45%, #0d5663 100%); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.1fr 1.3fr; gap: 2.5rem; padding-bottom: 4rem; }
.footer-about { display: grid; gap: 2rem; justify-items: start; align-content: start; }
.footer-logo { width: 180px; }
.site-footer .footer-title { font-size: var(--fs-h3); color: #fff; margin-bottom: 1.5rem; }
.footer-title::after { content: ""; display: block; width: 28px; height: 3px; margin-top: .6rem; border-radius: 3px; background: var(--teal-400); }
.site-footer li { margin-bottom: .65rem; }
.site-footer a:not(.button):hover { color: #8ce8da; }
address { font-style: normal; margin-bottom: 1.5rem; }
.footer-social { flex-direction: column; gap: 0; }
.footer-social a { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-small); }
.footer-social img { box-sizing: content-box; width: 16px; height: 16px; padding: 11px; border-radius: 12px; background: rgba(0,0,0,.25); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 4rem 1.5rem 0; border-top: 1px solid rgba(255,255,255,.18); font-size: var(--fs-small); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer-bottom li { margin: 0; }
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 15; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); border: 1px solid rgba(255,255,255,.3); color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* Inner pages */
.page-banner { width: 100%; padding: 108px 0 1.75rem; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(77,188,194,.6), transparent 45%), linear-gradient(115deg, var(--navy-900), #1c2f66 55%, #0f6670); }
.page-banner.is-long h1 { font-size: var(--fs-h2); max-width: 32ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .35rem; font-size: var(--fs-small); color: #c4e4e9; }
.page-content { min-height: 300px; padding-top: 3.5rem; }

/* Vision */
.vision-intro { font-size: var(--fs-p); max-width: 900px; }
.topic-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .75rem; margin: 2.5rem 0; padding: 2rem; border-radius: var(--radius); background: var(--surface); }
.topic-list li { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: var(--fs-small); }
.topic-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 3px; background: var(--teal-400); }
.vision-outro { max-width: 900px; }

/* Welcome message */
.welcome-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.profile-card { display: grid; gap: .75rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); text-align: center; }
.profile-card img { width: 100%; height: auto; border-radius: 14px; }
.profile-card h2 { font-size: var(--fs-h3); margin-top: .5rem; }
.profile-card p { color: var(--muted); }
.profile-card a { display: block; width: 150px; margin: .75rem auto 0; }
.profile-card a img { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 25px rgba(7,26,43,.12); }

.external-link span { margin-left: .35rem; color: var(--teal-700); }
.content-block + .content-block { margin-top: 4.5rem; }
.content-block > h2 { margin-bottom: 2rem; }
.content-block > h2::before { content: none; }
.prose { overflow-wrap: break-word; }
.prose > * + *, .card-body > * + *, .column > * + * { margin-top: 1.1rem; }
.prose h2, .prose h3 { margin: 2.25rem 0 .75rem; }
.prose h2::before { content: none; }
.prose > h2:first-child { margin-top: 0; }
.prose h4, .card-body h4 { font: 700 var(--fs-p)/1.5 var(--font-heading); }
.prose h5, .prose h6 { font-size: var(--fs-p); }
.prose a, .card-body a { color: var(--teal-700); font-weight: 700; overflow-wrap: anywhere; }
.prose ul, .card-body ul { list-style: disc; padding-left: 1.35rem; }
.prose ol, .card-body ol { padding-left: 1.35rem; }
.prose img, .card-body img { height: auto; }
.prose iframe { max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { padding: .75rem; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose:has(> .column) { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.prose:has(> .column) > :not(.column) { grid-column: 1 / -1; margin-top: 0; }
.prose > .column { margin-top: 0; padding: 2rem; border-radius: var(--radius); background: var(--surface); }
.prose.centered { text-align: center; max-width: 820px; margin-inline: auto; }

.card-list { display: grid; gap: 1.5rem; }
.card-list.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-list.small-columns { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.view-intro + .card-list { margin-top: 2rem; }
.card { min-width: 0; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(7,26,43,.05); }
.card-body { min-width: 0; overflow-wrap: break-word; }
.card-body table { display: block; overflow-x: auto; }
.card-body h2, .card-body h3 { font-size: var(--fs-h3); }
.newsletter-card, .newsletter-card p { font-size: var(--fs-small); }
.event-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 2rem; }
.event-date { align-self: start; padding: 1rem .5rem; border-radius: 14px; text-align: center; text-transform: uppercase; font: 700 var(--fs-p)/1.5 var(--font-heading); color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--teal-700)); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pager a, .pager span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; }
.pager a:hover { background: var(--surface); }
.pager [aria-current] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.logo-grid li > * { display: block; height: 210px; padding: .75rem; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, transform .2s; }
.logo-grid li > a:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(7,26,43,.12); }
.logo-grid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.logo-grid li > *:hover img { filter: none; opacity: 1; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; margin-bottom: 3.5rem; }
.person { display: flex; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.person > img { flex: none; width: 96px; height: 96px; object-fit: cover; border-radius: 18px; }
.person > div { min-width: 0; overflow-wrap: break-word; }
.person div, .person p { font-size: var(--fs-small); }
.person a { color: var(--teal-700); }

.wallet-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; max-width: 900px; margin: 3rem auto 0; }
.wallet { padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 16px; }
.wallet summary { display: flex; align-items: center; gap: 1rem; cursor: pointer; font-weight: 700; }
.wallet summary img { width: 36px; height: 36px; }
.wallet-address { margin: 1.25rem 0; padding: .9rem 1rem; border-radius: 10px; background: var(--surface); font-family: ui-monospace, monospace; overflow-wrap: anywhere; }

.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .6s, translate .6s, transform .25s, box-shadow .25s, background .25s; }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (max-width: 1050px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .header-social { display: none; }
  .card-list.two-columns { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; margin-left: auto; padding: .5rem 1.1rem; border-radius: 99px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font: 700 var(--fs-small) var(--font-body); }
  #main-nav { display: none; position: absolute; inset: 86px 0 auto; max-height: calc(100vh - 86px); overflow: auto; padding: 1.5rem; background: var(--navy-900); }
  #main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .5rem; }
  .has-sub { display: block; }
  .sub-toggle { display: none; }
  .sub-menu { position: static; visibility: visible; opacity: 1; box-shadow: none; padding: .25rem 0 0 1rem; background: none; color: #fff; }
  .sub-menu a:hover, .sub-menu a[aria-current] { background: rgba(255,255,255,.1); color: #fff; }
  .card, .service-card { padding: 1.5rem; }
  .event-card, .wallet-list, .people, .prose:has(> .column) { grid-template-columns: 1fr; }
  .person { flex-direction: column; }
  .hero-inner, .quick-bar, .service-grid, .footer-grid { grid-template-columns: 1fr; }
  .quick-item { border-left: 0; border-top: 1px solid var(--line); padding: 1.35rem 1.5rem; }
  .section { padding: 4.5rem 0; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 760px) {
  .welcome-layout { grid-template-columns: 1fr; gap: 2rem; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .logo-grid li > * { height: 140px; padding: .4rem; }
  .topic-list { grid-template-columns: 1fr; padding: 1rem; }
  .hero { gap: 1rem; padding-bottom: 1rem; }
  .hero-inner { gap: 1.25rem; justify-items: center; }
  .hero-main { justify-items: center; gap: 1.25rem; }
  .hero h1 img { width: min(240px, 62vw, 26vh); }
  .hero-affiliations { grid-template-columns: 1fr 1fr; gap: .75rem; width: 100%; }
  .glass-card { gap: .5rem; padding: .75rem; font-size: var(--fs-small); }
  .glass-card img { height: 36px; object-fit: contain; }
  .quick-item { padding: .6rem 1rem; font-size: var(--fs-small); }
  .quick-item .button-icon { width: 30px; height: 30px; }
}
@media (max-width: 1050px) {
  .funder-list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: .5rem; }
  .funder-list li + li::before { content: none; }
}
@media (max-width: 600px) {
  .funder-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funder-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .funder-list li > * { height: 84px; }
}
/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.legal-aside { position: sticky; top: 106px; display: grid; gap: 1rem; max-height: calc(100vh - 126px); overflow: auto; }
.legal-box { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); font-size: var(--fs-small); }
.legal-box-title { margin-bottom: .6rem; font: 700 var(--fs-small) var(--font-heading); }
.legal-box a { display: block; padding: .4rem .7rem; border-radius: 10px; }
.legal-box a:hover { background: #fff; color: var(--teal-700); }
.legal-box a[aria-current] { background: var(--navy-800); color: #fff; }
.legal-text { max-width: 820px; }
.legal-text.is-single { margin-inline: auto; }
.legal-text h2 { font-size: var(--fs-h3); margin: 2.75rem 0 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-text > h2:first-child { padding-top: 0; border: 0; }
.legal-text h3 { font-size: var(--fs-p); margin: 1.5rem 0 .5rem; }
.legal-text li { margin-bottom: .5rem; }
.legal-text table { font-size: var(--fs-small); }
.legal-text th { background: var(--surface); }
.legal-text td, .legal-text th { overflow-wrap: normal; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .legal-aside { position: static; max-height: none; }
}

/* Graphic identity */
.asset-section + .asset-section { margin-top: 4rem; }
.asset-section > h2 { margin-bottom: 1.5rem; }
.asset-grid { display: grid; gap: 1.25rem; }
.asset-grid.is-files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asset-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(7,26,43,.06); transition: transform .25s, box-shadow .25s; }
.asset-card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(7,26,43,.12); }
.logo-preview { display: grid; grid-template-columns: 1fr 1fr; }
.logo-preview span { display: grid; place-items: center; min-height: 240px; padding: 2rem; background: var(--surface); }
.logo-preview .is-dark { background: linear-gradient(135deg, var(--navy-900), #1c2f66 55%, #0f6670); }
.logo-preview img { width: min(320px, 100%); }
.logo-preview .is-dark img { filter: brightness(0) invert(1); }
.wallpaper-preview { width: 100%; height: 360px; object-fit: cover; }
.file-icon { display: grid; place-items: center; width: 76px; height: 88px; margin: 2rem auto .5rem; border-radius: 10px 26px 10px 10px; color: #fff; font: 700 var(--fs-h2) var(--font-heading); background: #185abd; box-shadow: 0 14px 28px rgba(24,90,189,.3); }
.file-icon.is-pptx { background: #b7472a; box-shadow: 0 14px 28px rgba(183,71,42,.3); }
.asset-info { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; }
.asset-info p { margin-top: .25rem; font-size: var(--fs-small); color: var(--muted); }
.asset-card.is-file .asset-info { flex-direction: column; justify-content: space-between; text-align: center; }
@media (max-width: 900px) {
  .asset-grid.is-files { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo-preview { grid-template-columns: 1fr; }
  .logo-preview span { min-height: 150px; }
  .wallpaper-preview { height: 220px; }
}

/* Newsletters */
.issue-year + .issue-year { margin-top: 3.5rem; }
.issue-year > h2 { margin-bottom: 1.5rem; }
.issue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.issue-card { display: flex; align-items: center; gap: 1.1rem; height: 100%; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(7,26,43,.06); transition: transform .25s, box-shadow .25s; }
.issue-card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(7,26,43,.12); }
.issue-card:hover .button-icon { transform: rotate(-45deg); }
.issue-card .button-icon { margin-left: auto; background: var(--surface); color: var(--teal-700); }
.issue-month { display: grid; flex: none; place-items: center; align-content: center; width: 66px; height: 66px; border-radius: 18px; font: 700 var(--fs-h3)/1.1 var(--font-heading); color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--teal-700)); }
.issue-month small { font-size: .7rem; font-weight: 500; }
.issue-info { display: grid; min-width: 0; }
.issue-info span { font-size: var(--fs-small); color: var(--muted); }

@media (max-width: 1050px) {
  .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .issue-grid { grid-template-columns: 1fr; }
}

/* Cookie consent */
.consent { width: min(560px, 100% - 2rem); max-height: calc(100vh - 2rem); margin: auto; padding: 2rem; overflow: auto; border: 0; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 90px rgba(7,26,43,.45); }
.consent[open] { animation: consent-in .35s ease-out; }
.consent::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, #8ce8da, var(--teal-400), var(--blue-700)); }
.consent::backdrop { background: rgba(7,26,43,.62); backdrop-filter: blur(5px); }
.consent.is-docked { position: fixed; inset: auto 1rem 1rem auto; z-index: 60; margin: 0; max-height: 70vh; border: 1px solid var(--line); }
.consent-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.consent-head h2 { font-size: var(--fs-h3); outline: none; }
.consent-icon { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 16px; font-size: 1.5rem; background: var(--surface); }
.consent-close { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface); font-size: 1.35rem; cursor: pointer; }
.consent p, .consent-detail { font-size: var(--fs-small); color: var(--muted); }
.consent p a { color: var(--teal-700); font-weight: 700; text-decoration: underline; }
.consent-options { display: grid; gap: .75rem; margin-top: 1.25rem; }
.consent-options[hidden], .consent [hidden] { display: none; }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 16px; font-size: var(--fs-small); }
.consent-detail { display: block; }
.consent-always { flex: none; font-weight: 700; color: var(--teal-700); }
.consent-switch { appearance: none; position: relative; flex: none; width: 52px; height: 30px; border-radius: 99px; background: #8499a5; cursor: pointer; transition: background-color .2s; }
.consent-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.consent-switch:checked { background: var(--teal-700); }
.consent-switch:checked::after { transform: translateX(22px); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
.consent-button { min-height: 50px; padding: .75rem 1.25rem; border: 0; border-radius: 99px; background: var(--navy-800); color: #fff; font: 700 var(--fs-small) var(--font-body); cursor: pointer; transition: background-color .2s; }
.consent-button:hover { background: var(--teal-700); }
.consent-link { display: block; margin: .9rem auto 0; padding: .35rem; border: 0; background: none; color: var(--ink); font: 700 var(--fs-small) var(--font-body); text-decoration: underline; cursor: pointer; }
.consent-inline { min-height: 46px; }
.footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-link:hover { color: #8ce8da; }
@keyframes consent-in { from { opacity: 0; translate: 0 20px; } }
@media (max-width: 600px) {
  .consent { padding: 1.5rem 1.25rem; }
  .consent.is-docked { inset: auto .5rem .5rem; width: auto; max-height: 65vh; }
}
@media (prefers-reduced-motion: reduce) {
  .consent[open] { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
  .marquee .is-clone { display: none; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
}

/* Accessibility fixes */
/* Two-tone focus ring: visible on light and dark backgrounds */
:focus-visible { outline: 3px solid #0b5d63; outline-offset: 2px; box-shadow: 0 0 0 7px #fff; }
.consent-head h2:focus-visible { outline: none; box-shadow: none; }

/* While a logo has keyboard focus the carousel becomes a static grid */
.marquee:has(:focus-visible) { mask-image: none; }
.marquee:has(:focus-visible) .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
.marquee:has(:focus-visible) .is-clone { display: none; }
.is-motion-paused .marquee-track { animation-play-state: paused; }

.motion-toggle { min-height: 36px; padding: .4rem 1rem; border: 1px solid var(--navy-900); border-radius: 99px; background: #fff; color: var(--navy-900); font: 700 var(--fs-small) var(--font-body); cursor: pointer; }
.hero .motion-toggle { position: absolute; top: 96px; right: 1rem; z-index: 2; }
.partners .motion-toggle { display: block; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

@media (min-width: 761px) { .sub-toggle { min-width: 24px; min-height: 24px; } }
.footer-bottom li > a, .footer-bottom .footer-link { display: inline-block; min-height: 24px; line-height: 24px; }
.footer-bottom { margin-bottom: 0; }
.site-footer .footer-bottom { color: #fff; text-shadow: 0 0 6px rgba(7,26,43,.9); }
.site-footer .footer-bottom .footer-link { padding: 0 .5rem; border-radius: 6px; background: rgba(7,26,43,.45); }

.has-sub.is-dismissed .sub-menu { visibility: hidden; opacity: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The floating button must not sit behind the docked cookie panel */
body:has(.consent.is-docked[open]) .to-top { display: none; }
.table-wrap:focus-visible { outline-offset: -3px; }
