/* CHORUS website styles.
   Fonts are self-hosted (Rubik and Inter, SIL Open Font License): no request leaves for Google Fonts. */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/rubik-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/rubik-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: a two-page slice of chorus-tre.ch (Home, Pricing & Deployment) built from the live theme's TYPO3
   content elements and theme.css values, inside a thin proposal chrome (top bar, optional element labels and
   build notes). Light only, like the live site. No raster images. */
:root {
  color-scheme: only light; /* the site has one theme; stop browsers from force-darkening it */
  /* site theme tokens, as defined in the live theme.css */
  --lime: #b6ff12;
  --lime-hover: #99e600;
  --blue: #1240ff;
  --blue-deep: #0630cd;
  --ink: #000;
  --slate: #475569;
  --slate-soft: #94a3b8;
  --ground: #f2f2f2;
  --white: #fff;
  --line: #e2e8f0;
  --mist: #f8fafc;
  /* proposal chrome only */
  --chrome: #0f172a;
  --chrome-text: #f8fafc;
  --chrome-muted: #94a3b8;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--slate);
  font-family: var(--font-body); font-weight: 300; font-size: 1rem; line-height: 1.5rem;
}
@media (min-width: 992px) { body { font-size: 1.25rem; line-height: 1.75rem; } }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 500; color: var(--ink); margin-top: 0; text-wrap: balance; }
h2 { font-size: 2rem; line-height: 2.5rem; margin-bottom: 30px; }
@media (min-width: 992px) { h2 { font-size: 2.3125rem; line-height: 2.8125rem; } }
h3 { font-size: 2rem; line-height: 2.5rem; margin-bottom: 30px; }
p { margin: 0 0 1rem; }

/* ---------- site header: white sticky bar over the page, like the live site ---------- */
.site-header {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 50;
  margin: 10px 10px -96px; background: var(--white); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 10px 30px rgba(15,23,42,.08);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 86px; padding-inline: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 50px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-block; font-size: 1rem; line-height: 1.5rem; font-weight: 400; color: var(--slate);
  text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--lime); }
.header-cta { font-size: 1rem !important; line-height: 1.725rem !important; padding: 12px 20px !important; }
.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 20px; height: 20px; }
@media (max-width: 1080px) { .main-nav ul { gap: 20px; } .header-inner { gap: 20px; } }
@media (max-width: 991px) {
  .site-header { margin-bottom: -82px; }
  .header-inner { min-height: 72px; gap: 12px; padding-inline: 16px; }
  .brand img { height: 42px; }
  .burger { display: inline-flex; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .header-cta { padding: 10px 16px !important; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--white);
    border-radius: 18px; padding: 10px 16px 16px; margin: 0; box-shadow: 0 10px 30px rgba(15,23,42,.12); }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .nav-link { padding-block: 10px; }
}
@media (max-width: 420px) { .header-cta { display: none !important; } .burger { margin-left: auto; } }

/* ---------- page frame ---------- */
.container { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 991px) { .container { padding-inline: 16px; } }
.frame { padding-block: 64px; }
@media (min-width: 992px) { .frame { padding-block: 100px; } }
.frame.space-before-none { padding-top: 0; }
.frame.space-before-small { padding-top: 30px; }
.frame.space-after-small { padding-bottom: 30px; }
.frame-background-light { background: var(--white); }
.frame-background-dark { background: var(--ink); }
.frame-background-dark h2, .frame-background-dark p { color: var(--white); }
.frame-header { margin-bottom: 30px; }
.over-title, .element-subtitle {
  display: block; color: var(--blue);
  font-family: var(--font-label); font-size: .8125rem; line-height: 1.25rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .875rem;
}

/* ---------- page intro: default layout (inner pages) ---------- */
.intro.default {
  background: var(--blue); color: var(--white); text-align: center;
  border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; padding-block: 124px 0;
}
.intro.default h1 {
  font-family: var(--font-label); font-size: .8125rem; line-height: 1.25rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0;
}

/* ---------- page intro: home layout ---------- */
.intro.home {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--blue); color: var(--white);
  border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; overflow: hidden;
}
.intro.home .intro-container { padding: 160px 48px 80px max(24px, calc((100vw - 1240px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.intro.home .element-subtitle { color: var(--lime); } /* proposed fix: today this is forced to the band's own blue */
.intro.home h1 { font-size: 2.8125rem; line-height: 3.125rem; font-weight: 300; color: var(--white); margin-bottom: 0; text-wrap: pretty; }
.intro.home h1 strong { font-weight: 500; }
.intro.home .abstract { margin-top: 1.5rem; }
.intro.home .abstract p { color: rgba(255,255,255,.85); max-width: 34rem; }
.intro.home .abstract .actions { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 2rem; }
.frame-backgroundimage-container {
  background: var(--blue-deep); min-height: 34rem;
  display: flex; align-items: center; justify-content: center; padding: 136px 32px 48px; min-width: 0;
}
.frame-backgroundimage-container svg { width: 100%; max-width: 540px; height: auto; display: block; }
@media (max-width: 991px) {
  .intro.home { grid-template-columns: 1fr; }
  .intro.home .intro-container { padding: 124px 16px 48px; }
  .intro.home h1 { font-size: 2.25rem; line-height: 2.75rem; }
  .frame-backgroundimage-container { min-height: 20rem; padding: 32px 16px; }
  .intro.default { padding-block: 108px 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .575rem;
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.75rem; font-weight: 500;
  padding: 14px 21px; border-radius: 35px; text-decoration: none; cursor: pointer;
  transition: all .3s cubic-bezier(.455,.03,.515,.955);
}
.btn-primary { background: var(--lime); border: 1px solid var(--lime); color: var(--ink);
  --icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none' viewBox='0 0 16 17'%3E%3Cg stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M3.333 8.5h9.333M8 3.833 12.667 8.5 8 13.167'/%3E%3C/g%3E%3C/svg%3E"); }
.btn-primary:hover { background: var(--lime-hover); border-color: var(--lime-hover); }
.btn-primary::before, .intro .btn-secondary::before {
  content: ""; display: inline-block; width: 1.15rem; height: 1.15rem; background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  transition: transform .3s ease-in-out;
}
.btn-primary:hover::before { transform: translateX(.2rem); }
.btn-primary.has-letter-icon { --icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none' viewBox='0 0 16 17'%3E%3Cg stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.333'%3E%3Cpath d='M13.333 3.198H2.666c-.736 0-1.333.597-1.333 1.333v8c0 .737.597 1.334 1.333 1.334h10.667c.736 0 1.333-.597 1.333-1.334v-8c0-.736-.597-1.333-1.333-1.333'/%3E%3Cpath d='m14.666 5.198-5.98 3.8a1.29 1.29 0 0 1-1.373 0l-5.98-3.8'/%3E%3C/g%3E%3C/svg%3E"); }
.btn-primary.has-letter-icon:hover::before { transform: none; }
.btn-secondary { background: var(--white); border: 1px solid var(--white); color: var(--ink); }
.btn-secondary:hover { background: var(--mist); border-color: var(--mist); }
.intro .btn-secondary { border-color: var(--ink); --icon: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cg stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M6.667 2H2v6h4.667zM14 2H9.333v3.333H14zM14 8H9.333v6H14zM6.667 10.667H2V14h4.667z'/%3E%3C/g%3E%3C/svg%3E"); }
.frame-background-dark .btn-secondary { border-color: var(--white); }
.btn-outline { background: transparent; border: 1px solid var(--lime); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::before { transition: none; } }

/* ---------- icon group (partners) ---------- */
.frame-type-icon_group .frame-header h2 { font-size: 1.875rem; line-height: 2.375rem; text-align: center; }
/* Small screens: an even 4 + 3 split. From 1024 px: one row across the full width, logos shrinking to fit. */
.partner__container { --gap: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px var(--gap); }
.partner__item { display: flex; align-items: center; justify-content: center; height: 64px; min-width: 0; flex: 0 0 calc((100% - 3 * var(--gap)) / 4); }
.partner__item img { display: block; max-width: 100%; height: auto; filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease; }
@media (max-width: 600px) { .partner__container { --gap: 20px; } .partner__item { height: 52px; } }
@media (min-width: 1024px) {
  .partner__container { --gap: 32px; flex-wrap: nowrap; justify-content: space-between; }
  .partner__item { flex: 0 1 auto; }
}
.partner__item:hover img, .partner__item:focus-visible img { filter: none; opacity: 1; }
.partner__item:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .partner__item img { transition: none; } }

/* ---------- text & media ---------- */
.textmedia-centered { width: 83.333%; margin-left: 8.333%; text-align: center; }
.textmedia-centered p { max-width: 46rem; margin-inline: auto; }
.textmedia-centered > .btn { margin-top: 1rem; }
.textmedia-centered .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 35px; margin-top: 1.5rem; }
@media (max-width: 991px) { .textmedia-centered { width: 100%; margin-left: 0; } }
.textmedia-gallery { margin-top: 48px; }
.diagram { margin: 0; }
.diagram-scroll { overflow-x: auto; background: var(--white); border-radius: 16px; padding: 28px 24px 18px; }
.diagram svg { display: block; width: 100%; min-width: 640px; height: auto; font-family: var(--font-body); }
.diagram svg.diagram-tall { display: none; min-width: 0; max-width: 420px; margin: 0 auto; }
@media (max-width: 699px) {
  .diagram-scroll { padding: 20px 12px; }
  .diagram svg.diagram-wide { display: none; }
  .diagram svg.diagram-tall { display: block; }
}
.diagram figcaption { font-size: 1rem; line-height: 1.5rem; color: var(--slate); text-align: center; max-width: 46rem; margin: 18px auto 0; }
.textmedia-text h3, .textmedia-text h2.h3 { border-bottom: 1px dotted var(--slate); padding-bottom: .925rem; margin-bottom: 1.8rem; font-size: 1.6875rem; line-height: 2.1875rem; }
@media (min-width: 992px) { .textmedia-text h3, .textmedia-text h2.h3 { font-size: 2rem; line-height: 2.5rem; } }

/* ---------- lists ---------- */
ul.list-normal { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0 0 30px; padding: 0; }
ul.list-normal li.list-check { font-size: 18px; line-height: 1.45; padding-left: 20px; position: relative; }
ul.list-normal li.list-check::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ink); }

/* ---------- card group ---------- */
.card-group .frame-header { text-align: center; margin-bottom: 52px; }
.card-group-element { --cardgroup-columns: 3; --cardgroup-gap: 3rem; display: flex; flex-wrap: wrap; gap: var(--cardgroup-gap); }
.card-group-element-columns-4 { --cardgroup-columns: 4; }
.card-group-element-item {
  width: calc(100% / var(--cardgroup-columns) - var(--cardgroup-gap) * (var(--cardgroup-columns) - 1) / var(--cardgroup-columns));
  min-width: 0;
}
@media (max-width: 1199px) { .card-group-element { --cardgroup-gap: 20px; } }
@media (max-width: 991px)  { .card-group-element { --cardgroup-columns: 1; } .card-group-element-columns-4 { --cardgroup-columns: 2; } }
@media (max-width: 600px)  { .card-group-element-columns-4 { --cardgroup-columns: 1; } }
.card { height: 100%; background: var(--blue); border: 1px solid var(--blue); border-radius: 16px; display: flex; flex-direction: column; padding: 36px 28px 32px; }
.card-title { font-size: 28px; line-height: 2.25rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.card-header > .card-title:last-child { margin-bottom: 14px; }
.card-subtitle { font-size: 1.375rem; line-height: 1.625rem; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: .625rem; }
.card-body { flex-grow: 1; margin-bottom: 28px; }
.card-body:last-child { margin-bottom: 0; }
.card-body p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.7); margin-bottom: 24px; }
.card-body p:last-child { margin-bottom: 0; }
.card-body p strong { color: var(--white); font-weight: 500; }
.card-body ul.list-normal { border-top: 1px solid rgba(255,255,255,.15); margin: 0; padding: 24px 0 0; }
.card-body ul.list-normal li { color: rgba(255,255,255,.7); }
.card-body ul.list-normal li.list-check::before { color: var(--lime); }
.card-footer .btn { font-size: 1rem; line-height: 1.5rem; }
/* proposed theme addition: "outline" card color (white inside, blue outline), same shape as .card.turquoise / .card.flower */
.card.outline { background: var(--white); border-color: var(--blue); }
.card.outline .card-title { color: var(--ink); }
.card.outline .card-subtitle, .card.outline .step { color: var(--blue); }
.card.outline .card-body p, .card.outline .card-body ul.list-normal li { color: var(--slate); }
.card.outline .card-body p strong { color: var(--ink); }
.card.outline .card-body ul.list-normal { border-top-color: var(--line); }
.card.outline .card-body ul.list-normal li.list-check::before { color: var(--blue); }
.card.outline .btn-outline { border-color: var(--blue); color: var(--blue); }
.card.outline .btn-outline:hover { background: var(--blue); color: var(--white); }

/* ---------- container, 2 columns ---------- */
.grid-2cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4.5rem; }
.grid-2cols > * { min-width: 0; }
@media (max-width: 991px) { .grid-2cols { grid-template-columns: 1fr; } }

/* ---------- site footer: white rounded panel, like the header ---------- */
.site-footer { background: var(--white); margin: 10px; border-radius: 18px; padding-block: 48px 28px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-top .brand img { height: 50px; }
.footer-baseline { font-size: 1.125rem; line-height: 1.75rem; color: var(--slate); max-width: 44rem; margin: 20px 0 0; text-wrap: balance; }
.footer-baseline strong { font-weight: 500; color: var(--ink); }
.to-top { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); display: inline-flex;
  align-items: center; justify-content: center; text-decoration: none; transition: background .3s ease; }
.to-top:hover { background: var(--lime-hover); }
.to-top svg { width: 22px; height: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; margin-top: 40px; padding-block: 32px;
  border-top: 1px dotted var(--slate); border-bottom: 1px dotted var(--slate); }
.footer-cols .footer-heading { font-family: var(--font-label); font-size: .8125rem; line-height: 1.25rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.footer-cols a:hover { text-decoration: underline; }
.footer-cols .mail { font-size: 1rem; line-height: 1.5rem; color: var(--slate); user-select: all; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px;
  font-size: .8125rem; line-height: 1.25rem; color: var(--slate-soft); }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-top .to-top { width: 52px; height: 52px; } }
@media (max-width: 420px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- new pages ---------- */
.page-lede { font-size: 1.125rem; line-height: 1.75rem; }
.section-head { text-align: center; max-width: 48rem; margin: 0 auto 48px; }
.section-head p { margin-inline: auto; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; text-decoration: none; font-size: 1rem; }
.text-link:hover { text-decoration: underline; }
.text-link::after { content: "\2192"; }

/* five safes */
.safes { display: flex; flex-direction: column; gap: 12px; }
.safe { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; align-items: baseline; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.safe b { color: var(--blue); font-weight: 500; font-size: 1rem; line-height: 1.5rem; }
.safe span { font-size: 1rem; line-height: 1.5rem; color: var(--slate); }
@media (max-width: 600px) { .safe { grid-template-columns: 1fr; gap: 4px; } }

/* use cases */
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.uc-grid > * { min-width: 0; }
.uc-card { background: var(--white); border: 1px solid var(--blue); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.uc-logo { height: 140px; display: flex; align-items: center; justify-content: center; background: var(--mist); border-radius: 12px; padding: 16px; }
.uc-logo img { display: block; max-height: 72px; max-width: 70%; width: auto; height: auto; }
.uc-card h3 { font-size: 1.5rem; line-height: 2rem; margin: 0; }
.uc-card p { font-size: 1rem; line-height: 1.5rem; margin: 0; flex-grow: 1; }
@media (max-width: 860px) { .uc-grid { grid-template-columns: 1fr; } }

/* resources */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.res-grid > * { min-width: 0; }
.res-card { background: var(--white); border: 1px solid var(--blue); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.res-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.res-icon img { width: 36px; height: 36px; display: block; }
.res-card h3 { font-size: 1.375rem; line-height: 1.875rem; margin: 0; }
.res-card p { font-size: 1rem; line-height: 1.5rem; margin: 0; flex-grow: 1; }
@media (max-width: 860px) { .res-grid { grid-template-columns: 1fr; } }

/* people: same layout as the live About page */
.people-block + .people-block { margin-top: 96px; }
.people-block > .over-title { margin-bottom: 28px; }
.people { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.563rem; row-gap: 3.125rem; }
@media (min-width: 768px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .people { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 991px) { .people { column-gap: .625rem; row-gap: 2rem; } }
.person { min-width: 0; display: flex; flex-direction: column; }   /* cards in a row share a height, so labels can line up */
.people-section .container { max-width: 1380px; }
.person-image { aspect-ratio: 1 / 1.4; border-radius: 15px; overflow: hidden; position: relative; background: var(--line); }
@media (min-width: 768px) { .person-image { aspect-ratio: 1 / 1; } }
.person-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(100%); }
.person-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(18,64,255,0) 53.92%, #1240ff 140.87%); }
.person h4 { color: var(--ink); font-size: 1.125rem; line-height: 1.625rem; font-weight: 500; margin: 1rem 0 0; }
@media (min-width: 768px) { .person h4 { font-size: 1.25rem; line-height: 1.75rem; } }
@media (min-width: 992px) { .person h4 { margin-top: 30px; } }
.person .role { display: block; margin-top: 4px; color: var(--ink); font-size: .875rem; line-height: 1.375rem; font-weight: 400; }
@media (min-width: 768px) { .person .role { font-size: 1rem; line-height: 1.5rem; } }
.person p { color: var(--slate); font-size: .875rem; line-height: 1.375rem; font-weight: 300; margin: 8px 0 0; }
.person p.affiliation { font-family: var(--font-label); font-size: .6875rem; line-height: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-top: auto; padding-top: 10px; }
/* instant tooltip on the abbreviations in people labels; the full name is also in the text for screen readers */
.person p.affiliation { position: relative; }
.person p.affiliation abbr { text-decoration: none; cursor: help; white-space: nowrap; }
.person p.affiliation abbr[data-tip]::after { content: attr(data-tip); display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; box-sizing: border-box;
  width: max-content; max-width: 100%; padding: 5px 9px; border-radius: 6px; background: var(--ink); color: var(--white);
  font: 400 .75rem/1.1rem var(--font-body); letter-spacing: normal; text-transform: none; pointer-events: none; }
.person p.affiliation abbr[data-tip]:hover::after { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem 4.5rem; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-aside h2 { margin-bottom: 18px; }
.contact-aside .mail { font-weight: 500; color: var(--ink); user-select: all; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.5rem var(--font-body); color: var(--ink); background: var(--white);
  border: 1px solid var(--slate-soft); border-radius: 10px; padding: 11px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(18,64,255,.25); border-color: var(--blue); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.375rem; }
.consent input { margin-top: 4px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .9375rem; line-height: 1.375rem; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ---------- website additions ---------- */
/* Inner pages: the first section heading is the page's h1, sized like a section heading. */
h1.h2 { font-size: 2rem; line-height: 2.5rem; margin-bottom: 30px; }
@media (min-width: 992px) { h1.h2 { font-size: 2.3125rem; line-height: 2.8125rem; } }
.flush { margin-top: 0; }
.flush-bottom { margin-bottom: 0; }
.frame.partners-band { padding-top: 64px; }
.card-group-element.steps { margin-top: 48px; }
.btn.btn-outlined { border-color: var(--ink); }

/* Skip link for keyboard users */
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* Contact form */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.consent a { color: var(--blue); }
.form-status { margin: 0; font-size: .9375rem; line-height: 1.375rem; border-radius: 10px; padding: 10px 14px; }
.form-status.is-ok { background: #f3ffd6; border: 1px solid var(--lime-hover); color: var(--ink); }
.form-status.is-error { background: #fff1f2; border: 1px solid #fda4af; color: #881337; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Text pages (privacy policy, 404) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; line-height: 2rem; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose a { color: var(--blue); }
.prose .updated { color: var(--slate-soft); font-size: .9375rem; }
