/*
 * Cantata. Every colour, font and corner comes from a token (--cb-<role>, theme contract v1).
 * The values below are defaults only: :where() gives them no weight, so the site's own values in
 * cantata-edit.json → "tokens" (which the plugin prints on :root) always win.
 */

:where(:root) {
	--cb-bg: #ffffff;
	--cb-surface: #ffffff;
	--cb-tint: #f3f5f7;
	--cb-dark: #14202e;
	--cb-accent: #1d6fb8;
	--cb-accent-2: #1d6fb8;
	--cb-accent-bg: #1d6fb8;
	--cb-heading: #14202e;
	--cb-ink: #2c3743;
	--cb-muted: #5d6874;
	--cb-line: #dfe3e8;
	--cb-on-dark: #ffffff;
	--cb-on-dark-muted: #c6ced8;
	--cb-accent-on-dark: #8cc4f2;
	--cb-on-accent: #ffffff;
	--cb-display: "Inter Tight", system-ui, sans-serif;
	--cb-body: "Inter", system-ui, sans-serif;
	--cb-radius: 10px;

	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(56px, 8vw, 104px);
}

/* ---- base ---------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cb-bg);
	color: var(--cb-ink);
	font: 400 1.0625rem/1.65 var(--cb-body);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cb-accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cb-accent); outline-offset: 3px; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--cb-heading);
	font-family: var(--cb-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.015em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p, ul, ol, blockquote, figure { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
:is(p, ul, ol, blockquote, figure):last-child { margin-bottom: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 16px; background: var(--cb-surface); border-radius: var(--cb-radius); }

/* ---- layout -------------------------------------------------------------------------------- */

.wrap { width: min(100% - 2 * var(--gutter), var(--cantata-page-width, 1200px)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), var(--cantata-reading-width, 720px)); }
main > section { padding-block: var(--section); }
main > section.pad-s { padding-block: calc(var(--section) * .55); }
main > section.pad-l { padding-block: calc(var(--section) * 1.4); }
main > section.pad-t0 { padding-top: 0; }
main > section.pad-b0 { padding-bottom: 0; }
main > section.center { text-align: center; }

.prose > * + :is(h2, h3) { margin-top: 1.6em; }
.prose img { border-radius: var(--cb-radius); }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--cb-ink); }

/* A section heading row, wrapped around the plugin's blocks (cantata-edit.json "head"). */
.head-row { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }
main > section.center .head-row { margin-inline: auto; }
.head-row p { color: var(--cb-muted); font-size: 1.15rem; }

/* ---- buttons: cantata-edit.json "button" / "button2" ------------------------------------------ */

.btn {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .8em 1.4em;
	border: 2px solid transparent;
	border-radius: var(--cb-radius);
	font: 600 1rem/1.2 var(--cb-body);
	text-decoration: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-main { background: var(--cb-accent); color: var(--cb-on-accent); }
.btn-main:hover { background: color-mix(in srgb, var(--cb-accent) 85%, black); }
.btn-second { border-color: currentColor; color: var(--cb-heading); }
.btn-second:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.c-actions, p:has(> .btn + .btn) { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- header -------------------------------------------------------------------------------- */

.site-head { position: sticky; top: 0; z-index: 50; background: var(--cb-bg); border-bottom: 1px solid var(--cb-line); }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 0; } }
.site-head .bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { margin: 0; color: var(--cb-heading); font: 700 1.25rem/1 var(--cb-display); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { color: var(--cb-ink); font-weight: 500; text-decoration: none; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--cb-accent); }
.burger { display: none; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--cb-line); border-radius: var(--cb-radius); background: none; color: var(--cb-heading); font: 600 .95rem var(--cb-body); cursor: pointer; }
.burger svg { width: 20px; }

@media (max-width: 860px) {
	.burger { display: inline-flex; }
	.site-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: var(--cb-bg); border-bottom: 1px solid var(--cb-line); }
	.site-nav.is-open { display: flex; }
	.site-nav .btn { justify-content: center; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--cb-line); }
}

/* ---- ordinary pages ------------------------------------------------------------------------ */

.page-head { background: var(--cb-tint); }
main > .page-head { padding-block: clamp(40px, 6vw, 72px); }
.page-head h1 { margin-bottom: 0; }
.page-head .intro { max-width: 60ch; margin-top: 16px; font-size: 1.2rem; color: var(--cb-muted); }
.crumb { margin-bottom: 12px; font-size: .9rem; color: var(--cb-muted); }
.crumb a { color: inherit; }

/* ---- footer -------------------------------------------------------------------------------- */

.site-foot { padding-block: 64px 32px; background: var(--cb-dark); color: var(--cb-on-dark-muted); border-top: 1px solid color-mix(in srgb, var(--cb-on-dark) 14%, transparent); }
/* A dark section just before the footer would run into it: the hairline above keeps them apart. */
.site-foot :is(h2, .brand) { color: var(--cb-on-dark); }
.site-foot h2 { margin-bottom: 14px; font-size: 1rem; letter-spacing: .02em; }
.site-foot .brand { margin-bottom: 14px; }
.site-foot a { color: var(--cb-on-dark); }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot li + li { margin-top: 6px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.site-foot .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--cb-on-dark) 18%, transparent); font-size: .875rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- components ------------------------------------------------------------------------------
 * Each component's CSS goes below, scoped to its own class (.c-hero ...). See the plugin's COMPONENTS.md.
 */
/* ---------- Components (contract v1). Token colours only; layouts change CSS, never markup. ---------- */

/* shared: a small-caps label led by a short rule, and a row of buttons */
.c-eyebrow { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1.2 var(--cb-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cb-accent); }
.c-eyebrow::before { content: ""; width: 28px; height: 2px; flex: none; background: var(--cb-accent-2); }

/* ---------- Hero: big restrained headline, photo with a thin corner mark ---------- */
main > section.c-hero { padding-block: 72px 104px; }
.c-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.c-hero-body > * + * { margin-top: 22px; }
.c-hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.02em; color: var(--cb-heading); }
.c-hero-sub { font-size: 19px; line-height: 1.6; color: var(--cb-muted); max-width: 44ch; }
.c-hero-body > .c-actions { margin-top: 34px; }
.c-hero-photo { position: relative; margin: 0; }
.c-hero-photo::after { content: ""; position: absolute; top: -14px; right: -14px; width: 38%; height: 38%; border-top: 2px solid var(--cb-accent-2); border-right: 2px solid var(--cb-accent-2); pointer-events: none; }
.c-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--cb-radius); }

.c-hero.layout-flip .c-hero-photo { order: -1; }
.c-hero.layout-flip .c-hero-photo::after { right: auto; left: -14px; border-right: 0; border-left: 2px solid var(--cb-accent-2); }

.c-hero.layout-center .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.c-hero.layout-center .c-hero-body { max-width: 760px; }
.c-hero.layout-center .c-eyebrow, .c-hero.layout-center .c-actions { justify-content: center; }
.c-hero.layout-center .c-hero-sub { margin-inline: auto; }
.c-hero.layout-center .c-hero-photo { width: 100%; }
.c-hero.layout-center .c-hero-photo img { aspect-ratio: 21 / 9; }
.c-hero.layout-center .c-hero-photo::after { display: none; }

/* words over the photo: the section turns dark whatever its tone, so its tokens are remapped here */
.c-hero.layout-cover {
	--cb-heading: var(--cb-on-dark); --cb-ink: var(--cb-on-dark-muted); --cb-muted: var(--cb-on-dark-muted); --cb-accent: var(--cb-accent-on-dark);
	position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: min(82vh, 760px); padding-block: 120px 88px; background: var(--cb-dark); }
.c-hero.layout-cover .wrap { grid-template-columns: minmax(0, 1fr); }
.c-hero.layout-cover .c-hero-body { max-width: 680px; }
.c-hero.layout-cover .c-hero-photo { position: absolute; inset: 0; z-index: -1; }
.c-hero.layout-cover .c-hero-photo::after { inset: 0; width: auto; height: auto; border: 0;
	background: linear-gradient(0deg, color-mix(in srgb, var(--cb-dark) 88%, transparent) 0%, color-mix(in srgb, var(--cb-dark) 45%, transparent) 55%, color-mix(in srgb, var(--cb-dark) 15%, transparent) 100%); }
.c-hero.layout-cover .c-hero-photo img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.c-hero.layout-cover .btn-main { background: var(--cb-on-dark); border-color: var(--cb-on-dark); color: var(--cb-dark); }
.c-hero.layout-cover .btn-second { color: var(--cb-on-dark); border-color: color-mix(in srgb, var(--cb-on-dark) 55%, transparent); }
.c-hero.layout-cover .btn-second:hover { border-color: var(--cb-on-dark); }

/* ---------- Photo and words: numbered points, optional panel ---------- */
.c-media .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.c-media-photo { margin: 0; }
.c-media-photo img { display: block; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--cb-radius); }
.c-media-body > * + * { margin-top: 18px; }
.c-media h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.015em; color: var(--cb-heading); }
.c-media-body > p:not(.c-eyebrow):not(.c-actions) { color: var(--cb-ink); max-width: 52ch; }
.c-points { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: c-point; border-top: 1px solid var(--cb-line); }
.c-points li { counter-increment: c-point; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--cb-line); color: var(--cb-muted); }
.c-points li::before { content: counter(c-point, decimal-leading-zero); position: absolute; left: 0; top: 14px; font: 600 13px/1.9 var(--cb-body); letter-spacing: .08em; color: var(--cb-accent); }
.c-points b { color: var(--cb-heading); font-weight: 600; }
.c-media-body > .c-actions { margin-top: 30px; }

.c-media.layout-right .c-media-photo { order: 2; }
.c-media.layout-panel .wrap { gap: 0; align-items: stretch; background: var(--cb-tint); border-radius: var(--cb-radius); overflow: hidden; }
.cb-tone-tint .c-media.layout-panel .wrap, .c-media.layout-panel.cb-tone-tint .wrap { background: var(--cb-surface); }
.c-media.layout-panel .c-media-photo img { height: 100%; aspect-ratio: auto; min-height: 420px; border-radius: 0; }
.c-media.layout-panel .c-media-body { padding: clamp(32px, 5vw, 64px); align-self: center; }

@media (max-width: 860px) {
	main > section.c-hero { padding-block: 40px 72px; }
	.c-hero .wrap, .c-media .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.c-hero.layout-flip .c-hero-photo, .c-media.layout-right .c-media-photo { order: 0; }
	.c-hero-photo img { aspect-ratio: 4 / 3; }
	.c-hero-photo::after, .c-hero.layout-flip .c-hero-photo::after { top: -10px; right: -10px; left: auto; border-left: 0; border-right: 2px solid var(--cb-accent-2); }
	.c-hero.layout-cover { min-height: 0; padding-block: 96px 56px; }
	.c-media.layout-panel .wrap { gap: 0; }
	.c-media.layout-panel .c-media-photo img { min-height: 0; aspect-ratio: 4 / 3; }
}
/* ---------- shared: a section heading block (label, heading, intro) ---------- */
.c-head { max-width: 640px; margin-bottom: 48px; }
.c-head > * + * { margin-top: 14px; }
.c-head h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.015em; color: var(--cb-heading); }
.c-head > p:not(.c-eyebrow) { color: var(--cb-muted); font-size: 18px; }

/* ---------- Three points: numbered, hairline above each, a short accent-2 mark on the rule ---------- */
.c-features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: c-feat; }
.c-point { counter-increment: c-feat; position: relative; padding-top: 28px; border-top: 1px solid var(--cb-line); }
.c-point::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--cb-accent-2); }
.c-point::after { content: counter(c-feat, decimal-leading-zero); position: absolute; top: 26px; right: 0; font: 600 13px/1 var(--cb-body); letter-spacing: .08em; color: var(--cb-accent); }
.c-point h3 { font-size: 21px; line-height: 1.25; padding-right: 40px; color: var(--cb-heading); }
.c-point p { margin-top: 10px; color: var(--cb-muted); }

.c-features.layout-cards .c-point { padding: 32px 28px 30px; background: var(--cb-surface); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.c-features.layout-cards .c-point::before { top: -1px; left: 28px; }
.c-features.layout-cards .c-point::after { top: 32px; right: 28px; }
.c-features.layout-list .c-features-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.c-features.layout-list .c-point { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding: 26px 0; }
.c-features.layout-list .c-point:last-child { border-bottom: 1px solid var(--cb-line); }
.c-features.layout-list .c-point::after { top: 29px; }
.c-features.layout-list .c-point p { margin-top: 0; padding-right: 56px; }

/* ---------- Call to action: a band with corner marks, centred or split ---------- */
main > section.c-cta { padding-block: 96px; }
.c-cta-inner { position: relative; display: grid; justify-items: center; gap: 32px; max-width: 820px; margin-inline: auto; text-align: center; padding: 8px 56px; }
.c-cta-inner::before, .c-cta-inner::after { content: ""; position: absolute; width: 44px; height: 44px; pointer-events: none; }
.c-cta-inner::before { top: -28px; left: 0; border-top: 2px solid var(--cb-accent-2); border-left: 2px solid var(--cb-accent-2); }
.c-cta-inner::after { bottom: -28px; right: 0; border-bottom: 2px solid var(--cb-accent-2); border-right: 2px solid var(--cb-accent-2); }
.c-cta-words { max-width: 680px; }
.c-cta-words > * + * { margin-top: 16px; }
.c-cta .c-eyebrow { justify-content: center; }
.c-cta h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -.02em; color: var(--cb-heading); }
.c-cta-words > p:not(.c-eyebrow) { color: var(--cb-muted); font-size: 18px; }
.c-cta .c-actions { justify-content: center; }

.c-cta.layout-split .c-cta-inner { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; align-items: end; max-width: none; text-align: left; gap: 48px; padding: 8px 0; }
.c-cta.layout-split .c-eyebrow { justify-content: flex-start; }
.c-cta.layout-split .c-actions { justify-content: flex-end; }
.c-cta.layout-split .c-cta-inner::before { left: -24px; }
.c-cta.layout-split .c-cta-inner::after { right: -24px; }

@media (max-width: 860px) {
	.c-features-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.c-features.layout-list .c-point { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	main > section.c-cta { padding-block: 72px; }
	.c-cta-inner { padding: 8px 20px; }
	.c-cta.layout-split .c-cta-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.c-cta.layout-split .c-actions { justify-content: flex-start; }
	.c-cta.layout-split .c-cta-inner::before { left: 0; }
	.c-cta.layout-split .c-cta-inner::after { right: 0; }
}

/* ---------- shared: a quiet "onward" link with an arrow ---------- */
.c-more { margin: 0; }
.c-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--cb-accent); }
.c-more a::after { content: "\2192"; transition: transform .15s; }
.c-more a:hover::after { transform: translateX(3px); }

/* ---------- Page top: the automatic breadcrumb, a title, an introduction ---------- */
main > section.c-pagetop { padding-block: clamp(44px, 6vw, 80px); }
.c-pagetop .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.c-pagetop-body > * + * { margin-top: 16px; }
.c-pagetop-body > .c-crumbs + * { margin-top: 22px; }
.c-crumbs { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; color: var(--cb-muted); }
.c-crumbs > * + *::before { content: "/"; margin: 0 10px; color: var(--cb-line); }
.c-crumbs a { color: inherit; text-decoration: none; }
.c-crumbs a:hover { color: var(--cb-accent); }
.c-crumbs [aria-current] { color: var(--cb-heading); }
.c-pagetop :is(h1, h2) { margin: 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.02em; color: var(--cb-heading); max-width: 18ch; }
.c-lead { max-width: 58ch; font-size: 19px; line-height: 1.6; color: var(--cb-muted); }
.c-pagetop-photo { display: none; margin: 0; }
.c-pagetop-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--cb-radius); }
.c-pagetop.layout-photo .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.c-pagetop.layout-photo .c-pagetop-photo { display: block; }
.c-pagetop.layout-rule .c-pagetop-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-items: end; }
.c-pagetop.layout-rule .c-crumbs { grid-column: 1 / -1; }
.c-pagetop.layout-rule .c-pagetop-body > * { margin-top: 0; }
.c-pagetop.layout-rule .c-crumbs { margin-bottom: 22px; }
.c-pagetop.layout-rule .c-pagetop-body::after { content: ""; grid-column: 1 / -1; height: 2px; margin-top: 28px; background: linear-gradient(90deg, var(--cb-accent-2) 0 64px, var(--cb-line) 64px); }
.c-pagetop.layout-rule .c-lead { padding-bottom: 6px; }

/* ---------- Cards: pictures on top, a rule that lights up on hover ---------- */
.c-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.c-card { position: relative; display: flex; flex-direction: column; background: var(--cb-surface); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); overflow: hidden; }
.c-card-photo { margin: 0; }
.c-card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.c-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; border-top: 2px solid transparent; transition: border-color .15s; }
.c-card:hover .c-card-body { border-top-color: var(--cb-accent-2); }
.c-card-body h3 { font-size: 21px; line-height: 1.25; color: var(--cb-heading); }
.c-card-body > p:not(.c-more) { margin-top: 10px; color: var(--cb-muted); }
.c-card-body .c-more { margin-top: auto; padding-top: 18px; }
.c-cards.layout-plain .c-card-photo { display: none; }
.c-cards.layout-plain .c-card-body { border-top: 2px solid var(--cb-accent-2); }
.c-cards.layout-feature .c-cards-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-auto-rows: auto; }
.c-cards.layout-feature .c-card:first-child { grid-row: span 2; }
.c-cards.layout-feature .c-card:first-child .c-card-photo img { aspect-ratio: 4 / 3; }
.c-cards.layout-feature .c-card:not(:first-child) { flex-direction: row; }
.c-cards.layout-feature .c-card:not(:first-child) .c-card-photo { flex: 0 0 38%; }
.c-cards.layout-feature .c-card:not(:first-child) .c-card-photo img { height: 100%; aspect-ratio: auto; }

/* ---------- Numbers: big display figures, each on a short accent-2 rule ---------- */
.c-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.c-stat { position: relative; padding-top: 22px; border-top: 1px solid var(--cb-line); }
.c-stat::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--cb-accent-2); }
.c-stat-num { margin: 0; font: 700 clamp(40px, 4.6vw, 60px)/1 var(--cb-display); letter-spacing: -.03em; color: var(--cb-heading); font-variant-numeric: tabular-nums; }
.c-stat-label { margin-top: 12px; max-width: 24ch; color: var(--cb-muted); }
.c-stats.layout-band {
	--cb-heading: var(--cb-on-dark); --cb-ink: var(--cb-on-dark-muted); --cb-muted: var(--cb-on-dark-muted); --cb-accent: var(--cb-accent-on-dark); --cb-accent-2: var(--cb-accent-on-dark);
	--cb-line: color-mix(in srgb, var(--cb-on-dark) 20%, transparent);
	background: var(--cb-dark); color: var(--cb-on-dark-muted); }
.c-stats.layout-beside .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.c-stats.layout-beside .c-head { margin-bottom: 0; }
.c-stats.layout-beside .c-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }

/* ---------- Questions and answers: the plugin's accordion, in the framework's type -------- */
.c-faq .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.c-faq .c-head { margin-bottom: 0; position: sticky; top: 110px; }
.c-faq .c-head .c-more { margin-top: 22px; }
.c-faq .cb-accordion { margin-top: 0; border-top: 2px solid var(--cb-heading); }
.c-faq .cb-panel > summary { font: 600 19px/1.35 var(--cb-display); color: var(--cb-heading); padding-block: 22px; }
.c-faq .cb-panel-body { color: var(--cb-muted); }
.c-faq.layout-above .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
.c-faq.layout-above .c-head { position: static; margin-bottom: 40px; }
.c-faq.layout-above .cb-accordion { max-width: 860px; }
.c-faq.layout-boxed .cb-accordion { display: grid; gap: 12px; border-top: 0; }
.c-faq.layout-boxed .cb-panel { padding-inline: 24px; background: var(--cb-surface); border: 1px solid var(--cb-line); border-radius: var(--cb-radius); }
.c-faq.layout-boxed .cb-panel[open] { border-color: var(--cb-accent-2); }

/* ---------- Tabs: the plugin's tabs, with an accent-2 underline ---------- */
.c-tabs .cb-tabs { margin-top: 0; }
.c-tabs .cb-tablist { gap: 28px; margin-bottom: 36px; }
.c-tabs .cb-tablist [role="tab"] { padding: 0 0 14px; border: 0; border-bottom: 2px solid transparent; background: none; font: 600 16px/1.2 var(--cb-body); color: var(--cb-muted); cursor: pointer; }
.c-tabs .cb-tablist [role="tab"].is-active { color: var(--cb-heading); border-bottom-color: var(--cb-accent-2); }
.c-tabs .cb-tabpanel { max-width: 68ch; }
.c-tabs .cb-tabpanel h3 { font-size: clamp(22px, 2.2vw, 28px); color: var(--cb-heading); }
.c-tabs .cb-tabpanel > p:not(.c-more) { color: var(--cb-ink); }
.c-tabs.layout-side .cb-tabs.is-ready { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.c-tabs.layout-side .cb-tablist { flex-direction: column; gap: 0; margin: 0; border-bottom: 0; border-left: 1px solid var(--cb-line); }
.c-tabs.layout-side .cb-tablist [role="tab"] { padding: 14px 0 14px 20px; margin-left: -1px; text-align: left; white-space: normal; border-bottom: 0; border-left: 2px solid transparent; }
.c-tabs.layout-side .cb-tablist [role="tab"].is-active { border-left-color: var(--cb-accent-2); }

/* ---------- Events and news: a dated list ---------- */
.c-events-list { border-top: 1px solid var(--cb-line); }
.c-event { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--cb-line); }
.c-event-date { margin: 0; display: grid; justify-items: start; line-height: 1; }
.c-event-day { font: 700 40px/1 var(--cb-display); letter-spacing: -.02em; color: var(--cb-heading); font-variant-numeric: tabular-nums; }
.c-event-month { margin-top: 6px; font: 600 12.5px/1 var(--cb-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cb-accent); }
.c-event-body h3 { font-size: 20px; line-height: 1.3; color: var(--cb-heading); }
.c-event-body p { margin-top: 6px; color: var(--cb-muted); }
.c-events.layout-cards .c-events-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 0; }
.c-events.layout-cards .c-event { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; padding: 28px; background: var(--cb-surface); border: 1px solid var(--cb-line); border-top: 2px solid var(--cb-accent-2); border-radius: var(--cb-radius); }

/* ---------- Quote: large words between two corner marks ---------- */
.c-quote-inner { position: relative; max-width: 780px; margin: 0 auto; padding: 16px 56px; text-align: center; }
.c-quote-inner::before, .c-quote-inner::after { content: ""; position: absolute; width: 44px; height: 44px; pointer-events: none; }
.c-quote-inner::before { top: -20px; left: 0; border-top: 2px solid var(--cb-accent-2); border-left: 2px solid var(--cb-accent-2); }
.c-quote-inner::after { bottom: -20px; right: 0; border-bottom: 2px solid var(--cb-accent-2); border-right: 2px solid var(--cb-accent-2); }
.c-quote blockquote { margin: 0; }
.c-quote blockquote p { font: 500 clamp(24px, 2.8vw, 34px)/1.35 var(--cb-display); letter-spacing: -.01em; color: var(--cb-heading); text-wrap: balance; }
.c-quote-who { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 14px; margin-top: 32px; text-align: left; }
.c-quote-photo { grid-row: span 2; width: 56px; height: 56px; object-fit: cover; border-radius: 50%; }
.c-quote-name { font-weight: 600; color: var(--cb-heading); }
.c-quote-role { font-size: 15px; color: var(--cb-muted); }
.c-quote.layout-left .c-quote-inner { max-width: 900px; margin-inline: 0; padding: 4px 0 4px 36px; text-align: left; border-left: 2px solid var(--cb-accent-2); }
.c-quote.layout-left .c-quote-inner::before, .c-quote.layout-left .c-quote-inner::after { display: none; }
.c-quote.layout-left .c-quote-who { justify-content: start; }

/* ---------- People: portrait photos with a thin corner mark ---------- */
.c-people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.c-person-photo { position: relative; margin: 0 0 18px; }
.c-person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--cb-radius); }
.c-person-body h3 { font-size: 19px; line-height: 1.3; color: var(--cb-heading); }
.c-person-role { margin-top: 4px; font: 600 12.5px/1.4 var(--cb-body); letter-spacing: .12em; text-transform: uppercase; color: var(--cb-accent); }
.c-person-body > p:not(.c-person-role) { margin-top: 10px; font-size: 15.5px; color: var(--cb-muted); }
.c-people.layout-list .c-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.c-people.layout-list .c-person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; padding-block: 22px; border-bottom: 1px solid var(--cb-line); }
.c-people.layout-list .c-person-photo { margin: 0; }
.c-people.layout-list .c-person-photo img { aspect-ratio: 1; border-radius: 50%; }

@media (max-width: 1020px) {
	.c-stats-grid, .c-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.c-pagetop.layout-photo .wrap, .c-pagetop.layout-rule .c-pagetop-body { grid-template-columns: minmax(0, 1fr); }
	.c-cards-grid, .c-cards.layout-feature .c-cards-grid, .c-events.layout-cards .c-events-list { grid-template-columns: minmax(0, 1fr); }
	.c-cards.layout-feature .c-card:first-child { grid-row: auto; }
	.c-cards.layout-feature .c-card:not(:first-child) { flex-direction: column; }
	.c-cards.layout-feature .c-card:not(:first-child) .c-card-photo img { aspect-ratio: 16 / 10; }
	.c-stats.layout-beside .wrap, .c-faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.c-faq .c-head { position: static; }
	.c-tabs.layout-side .cb-tabs.is-ready { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.c-tabs.layout-side .cb-tablist { flex-direction: row; gap: 24px; margin-bottom: 28px; border-left: 0; border-bottom: 1px solid var(--cb-line); }
	.c-tabs.layout-side .cb-tablist [role="tab"] { padding: 0 0 14px; margin: 0; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
	.c-tabs.layout-side .cb-tablist [role="tab"].is-active { border-bottom-color: var(--cb-accent-2); }
	.c-event { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; }
	.c-event > .c-more { grid-column: 2; }
	.c-event-day { font-size: 32px; }
	.c-quote-inner { padding: 12px 20px; }
	.c-people.layout-list .c-people-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.c-stats-grid, .c-stats.layout-beside .c-stats-grid { gap: 32px 20px; }
	.c-stat-num { font-size: 38px; }
	.c-stat-label { font-size: 15px; }
	.c-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
