/*
 * WebFones Websites - the published look. One stylesheet for every website;
 * what differs per site (colors, fonts) arrives as custom properties in its
 * own look.css, and the rest is classes the renderer writes (lib/render.js):
 *
 *   body   .btn-square|rounded|pill   .space-airy|standard|compact   .head-over
 *          .head-left|center   .logo-small|medium|large   .width-compact|standard|wide
 *          .hsize-small|medium|large
 *   look.css: --font-heading|body|label, --heading-case|weight|spacing, --body-size|weight,
 *             --label-case|spacing, and the four colors
 *   .sec   .sec-<kind> .v-<variant> .tone-page|alt|accent|dark .pad-small|medium|large
 *
 * Light and airy by default: generous space, large pictures, quiet type.
 * No inline styles anywhere (the public CSP forbids them).
 */

*, *::before, *::after { box-sizing: border-box; }

:root {
	--bg: #ffffff;
	--text: #222222;
	--accent: #4a4a4a;
	--alt: #f3f3f1;
	--font-heading: Georgia, serif;
	--font-body: system-ui, sans-serif;
	--font-label: system-ui, sans-serif;
	--heading-case: none;
	--heading-weight: 400;
	--heading-spacing: 0;
	--body-size: 18px;
	--body-weight: 400;
	--label-case: uppercase;
	--label-spacing: .15em;
	--logo: 64px;
	--pad: 88px;
	--gap: 56px;
	--radius: 6px;
	--wrap: 1200px;
}

body.space-airy     { --pad: 112px; --gap: 72px; }
body.space-standard { --pad: 80px;  --gap: 48px; }
body.space-compact  { --pad: 52px;  --gap: 32px; }
body.btn-square  { --radius: 0; }
body.btn-rounded { --radius: 6px; }
body.btn-pill    { --radius: 999px; }
body.width-compact  { --wrap: 1040px; }
body.width-standard { --wrap: 1200px; }
body.width-wide     { --wrap: 1440px; }
body.logo-small  { --logo: 64px; }
body.logo-medium { --logo: 96px; }
body.logo-large  { --logo: 128px; }

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--body-size);
	line-height: 1.75;
	font-weight: var(--body-weight);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg); color: var(--text); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: min(780px, var(--wrap)); }
strong, b { font-weight: 600; }

h1, h2, h3, .brand-name {
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-case);
	letter-spacing: var(--heading-spacing);
	line-height: 1.2;
	margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 4.5vw + 1rem, 4.2rem); }
h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); }
body.hsize-medium h1 { font-size: clamp(2rem, 3vw + 1rem, 3.2rem); }
body.hsize-medium h2 { font-size: clamp(1.6rem, 1.8vw + 1rem, 2.3rem); }
body.hsize-small h1 { font-size: clamp(1.7rem, 1.8vw + 1rem, 2.5rem); }
body.hsize-small h2 { font-size: clamp(1.45rem, 1.2vw + 1rem, 1.9rem); }
/* A small heading: the label font, in small capitals. */
.label-heading, h3.label-heading, h1.label-heading, h2.label-heading {
	font-family: var(--font-label);
	font-size: 1.05rem;
	font-weight: 400;
	text-transform: var(--label-case);
	letter-spacing: var(--label-spacing);
	opacity: .8;
	line-height: 1.6;
}
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.25em 0; }

/* ── Header and menu ─────────────────────────────────────────────────────── */
.site-head { position: relative; z-index: 20; background: var(--bg); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
.brand-name { font-size: 1.6rem; margin: 0; }
.brand-logo { max-height: var(--logo); width: auto; }
.site-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.site-menu a {
	color: inherit;
	text-decoration: none;
	font-family: var(--font-label);
	font-size: 0.72rem;
	letter-spacing: var(--label-spacing);
	text-transform: var(--label-case);
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}
.site-menu a:hover, .site-menu a[aria-current="page"] { border-bottom-color: currentColor; }
/* The menu's other styles for the page you are on (Theme > Header > The page you are on). */
body.menu-color .site-menu a, body.menu-pill .site-menu a, body.menu-bold .site-menu a, body.menu-none .site-menu a { border-bottom-color: transparent !important; }
body.menu-color .site-menu a:hover, body.menu-color .site-menu a[aria-current="page"] { color: var(--accent); }
body.menu-pill .site-menu ul { gap: 6px 6px; }
body.menu-pill .site-menu a { padding: 7px 14px; border-radius: 999px; }
body.menu-pill .site-menu a:hover { background: rgba(127, 127, 127, 0.16); }
body.menu-pill .site-menu a[aria-current="page"] { background: var(--accent); color: #ffffff; }
body.head-tone-accent.menu-pill .site-menu a[aria-current="page"] { background: rgba(255, 255, 255, 0.24); }
body.head-tone-accent.menu-color .site-menu a[aria-current="page"] { color: inherit; font-weight: 700; }
body.menu-bold .site-menu a[aria-current="page"] { font-weight: 700; }
body.menu-bold .site-menu a:hover, body.menu-none .site-menu a:hover { opacity: 0.75; }
.menu-toggle {
	display: none;
	font: inherit;
	font-family: var(--font-label);
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	background: none;
	color: inherit;
	border: 1px solid currentColor;
	border-radius: var(--radius);
	padding: 8px 16px;
	cursor: pointer;
}

/* The header's own background. */
body.head-tone-alt .site-head { background: var(--alt); }
body.head-tone-accent .site-head { background: var(--accent); color: #ffffff; }
body.head-tone-dark .site-head { background: var(--dark, #111111); color: #ffffff; }
body.head-tone-dark .site-head, body.head-tone-accent .site-head { --text: #ffffff; }

/* The logo in the middle, the menu under it. */
body.head-center .head-row { flex-direction: column; justify-content: center; gap: 18px; padding-top: 28px; padding-bottom: 14px; }
body.head-center .site-menu ul { justify-content: center; gap: 6px 26px; }

/* The menu over a cover picture: see-through, white words. */
body.head-over .site-head { position: absolute; left: 0; right: 0; top: 0; background: transparent; color: #ffffff; }
body.head-over .site-head .brand-logo { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35)); }
body.head-over .site-head .site-menu a, body.head-over .brand-name { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.sec { padding: var(--pad) 0; }
.sec.pad-small { padding: calc(var(--pad) * 0.5) 0; }
.sec.pad-large { padding: calc(var(--pad) * 1.5) 0; }
.sec + .sec.tone-page, .sec.tone-page + .sec.tone-page { padding-top: calc(var(--pad) * 0.6); }
.sec.tone-alt { background: var(--alt); }
.sec.tone-accent { background: var(--accent); color: #ffffff; }
.sec.tone-dark { background: var(--dark, #1d1d1f); color: #f4f4f2; }
/* A section's box (exact pixels in a stylesheet of its own, render.boxCss): a height with the content placed in
   it, a background picture with a shade, and words light or dark for what is behind them. */
.sec.box-h { display: flex; flex-direction: column; justify-content: center; }
.sec.box-h.va-top { justify-content: flex-start; }
.sec.box-h.va-bottom { justify-content: flex-end; }
.sec.box-pic { position: relative; overflow: hidden; isolation: isolate; }
.sec-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sec-bg-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sec-shade { position: absolute; inset: 0; background: #000000; opacity: 0.4; }
.sec.box-pic > :not(.sec-bg):not(.ed-bar):not(.ed-pad) { position: relative; z-index: 1; }
.sec.on-dark { color: #f4f4f2; --text: #f4f4f2; }
.sec.on-dark a:not(.btn) { color: inherit; }
.sec.on-light { color: #222222; --text: #222222; }
.sec.tone-accent a:not(.btn), .sec.tone-dark a:not(.btn) { color: inherit; }
.sec-heading { text-align: inherit; }

.btn-row { margin: 1.6em 0 0; }
.btn {
	display: inline-block;
	background: var(--accent);
	color: #ffffff;
	text-decoration: none;
	font-family: var(--font-label);
	font-size: 0.78rem;
	letter-spacing: var(--label-spacing);
	text-transform: var(--label-case);
	padding: 15px 30px;
	border-radius: var(--radius);
	border: 1px solid var(--accent);
	transition: background 0.15s, color 0.15s;
}
.btn:hover { background: transparent; color: var(--accent); }
.tone-accent .btn, .tone-dark .btn, .cover.has-pic .btn { background: #ffffff; color: var(--accent); border-color: #ffffff; }
.tone-accent .btn:hover, .tone-dark .btn:hover, .cover.has-pic .btn:hover { background: transparent; color: #ffffff; }

/* Cover */
.sec-header { padding: 0; }
.cover { position: relative; display: flex; align-items: center; overflow: hidden; }
.cover.h-full { min-height: 100vh; min-height: 100svh; }
.cover.h-tall { min-height: 72vh; }
.cover.h-medium { min-height: 46vh; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover.shade-dark::after, .cover.shade-light::after { content: ""; position: absolute; inset: 0; }
.cover.shade-dark::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.42)); }
.cover.shade-light::after { background: rgba(255, 255, 255, 0.5); }
.cover-inner { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 96px; }
.cover.has-pic.shade-dark, .cover.has-pic.shade-none { color: #ffffff; }
.cover.has-pic.shade-light { color: #1d1d1f; }
.cover.has-pic.shade-none .cover-heading, .cover.has-pic.shade-none .cover-text { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.cover-heading { font-size: clamp(2.6rem, 5vw + 1rem, 5rem); margin-bottom: 0.35em; }
.cover-text { font-size: 1.2rem; max-width: 40em; }
.v-center .cover-inner { text-align: center; }
.v-center .cover-text { margin-left: auto; margin-right: auto; }
.v-bottom .cover { align-items: flex-end; }

/* Text */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.v-one .wrap.narrow, .v-two .sec-heading { text-align: left; }
.quote { margin: 0; text-align: center; }
.quote-text {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	text-transform: var(--heading-case);
	letter-spacing: var(--heading-spacing);
	font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
	line-height: 1.3;
}
body.hsize-small .quote-text { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.4rem); line-height: 1.2; }
.quote-text p { margin: 0 0 0.5em; }
.quote-by { margin-top: 1.2em; font-family: var(--font-label); font-size: 1rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: 0.75; }

/* Alignment, chosen per section. */
.sec.align-center .wrap, .sec.align-center .tp-words { text-align: center; }
.sec.align-right .wrap, .sec.align-right .tp-words { text-align: right; }
.sec.align-center .prose ul, .sec.align-center .prose ol, .sec.align-right .prose ul, .sec.align-right .prose ol { list-style-position: inside; padding-left: 0; }

/* Text and picture */
.tp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.v-right .tp-pic { order: 2; }
.tp-img { width: 100%; }

/* Pictures */
.pic-grid { display: grid; gap: 14px; }
.pic-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pic-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pic-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pic-grid .tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pic-row { display: flex; gap: 14px; }
.pic-row .tile { flex: 1 1 0; min-width: 0; }
.pic-row .tile img { width: 100%; height: 360px; object-fit: cover; }
figure { margin: 0; }
figcaption { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: calc(var(--label-spacing) / 2); opacity: 0.8; margin-top: 8px; }

.slides {
	position: relative;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; }
.slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--alt); }
.fit-crop .slide img { object-fit: cover; background: none; }
.slide figcaption { text-align: center; }
.slideshow { position: relative; }
.slide-prev, .slide-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.85);
	color: #1d1d1f;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-pause {
	position: absolute; right: 12px; bottom: 12px; z-index: 2;
	width: 36px; height: 36px; border-radius: 50%; border: none;
	background: rgba(255, 255, 255, 0.8); color: #1d1d1f; font-size: 11px; letter-spacing: -1px; cursor: pointer;
}
.slide-pause[aria-pressed="true"] span { display: none; }
.slide-pause[aria-pressed="true"]::before { content: "\25B6"; font-size: 13px; letter-spacing: 0; }

/* ── Cards ────────────────────────────────────────────────────────────── */
.cards-grid { display: grid; gap: var(--gap); }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-pic { margin-bottom: 18px; }
.card-title { font-size: 1.3rem; margin: 0 0 10px; }
.card-text p { margin: 0 0 .8em; }
.cards-list .card { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; padding: 26px 0; border-top: 1px solid rgba(127, 127, 127, .2); }
.cards-list .card:first-child { border-top: 0; }
.cards-list .card-pic { margin: 0; }
.sec.align-center .cards-grid .card-words { text-align: center; }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post-date { margin: 0 0 6px; font-family: var(--font-label); font-size: 0.74rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: .75; }
.post-draft { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: var(--alt); font-size: .9em; }
.post-title { font-size: 1.35rem; margin: 0 0 8px; text-transform: var(--heading-case); }
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.post-excerpt { margin: 0 0 10px; }
.post-more { margin: 0; font-family: var(--font-label); font-size: 0.78rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); }
.post-cover { display: block; margin-bottom: 14px; }
.post-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.posts-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.posts-list .post-card { display: grid; grid-template-columns: 2fr 3fr; gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.posts-list .post-card:first-child { border-top: 0; padding-top: 0; }
.posts-list .post-card .post-cover { margin: 0; }
.posts-list .post-card:not(:has(.post-cover)) { grid-template-columns: 1fr; }
.post-titles { list-style: none; margin: 0; padding: 0; }
.post-row { padding: 14px 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.post-row:first-child { border-top: 0; }
.post-row .post-title { margin: 0; }
.post-paging { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; }
.btn.btn-quiet { background: transparent; color: var(--text); border-color: currentColor; }
.btn.btn-quiet:hover { background: var(--text); color: var(--bg); }
.posts-none { opacity: .7; }
.sec-post-head { padding-top: calc(var(--pad) * 0.6); }
.post-heading { margin-bottom: .4em; }
.post-by { text-transform: none; letter-spacing: 0; }
.post-hero { margin: 28px 0 0; }
.post-hero-img { width: 100%; max-height: 78vh; object-fit: cover; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, .1); }
.post-nav a { color: inherit; text-decoration: none; display: block; }
.post-nav a:hover { text-decoration: underline; }
.post-older { text-align: right; }
.post-nav-label { display: block; font-family: var(--font-label); font-size: .72rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); opacity: .7; margin-bottom: 4px; }
.post-back { margin: 28px 0 0; text-align: center; font-family: var(--font-label); font-size: .78rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-foot { padding: 56px 0; text-align: center; font-size: 0.85rem; letter-spacing: 0.04em; border-top: 1px solid rgba(0, 0, 0, 0.07); }
.site-foot p { margin: 0; }

/* ── Not found ──────────────────────────────────────────────────────────── */
body.not-found main { padding: 120px 28px; }

/* ── Phones ─────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
	body { font-size: 17px; }
	:root { --pad: 64px; --gap: 32px; }
	body.space-airy { --pad: 72px; --gap: 36px; }
	body.space-compact { --pad: 40px; --gap: 24px; }
	.wrap { padding: 0 20px; }
	.head-row { min-height: 72px; flex-wrap: wrap; }
	.menu-toggle { display: inline-block; }
	.site-menu { display: none; flex-basis: 100%; padding-bottom: 16px; }
	.site-menu.open { display: block; }
	.site-menu ul { flex-direction: column; gap: 4px; }
	body.head-over .site-menu.open { background: rgba(0, 0, 0, 0.55); margin: 0 -20px; padding: 12px 20px; }
	.cols2, .tp { grid-template-columns: 1fr; }
	.v-right .tp-pic { order: 0; }
	.pic-grid.cols-3, .pic-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.pic-row { flex-wrap: wrap; }
	.pic-row .tile { flex: 1 1 45%; }
	.pic-row .tile img { height: 220px; }
	.posts-cards { grid-template-columns: 1fr; }
	.cards-grid.cols-2, .cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: 1fr; }
	.cards-list .card { grid-template-columns: 1fr; gap: 14px; }
	.posts-list .post-card { grid-template-columns: 1fr; gap: 14px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-older { text-align: left; }
	.cover-inner { padding-top: 110px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
	.slides { scroll-behavior: auto; }
	.btn { transition: none; }
}

/* ── Contact form ─────────────────────────────────────────────────────────── */
.form-wrap .contact-form { margin-top: 18px; }
.sec-form.v-card .contact-form { background: var(--bg); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 10px; padding: 22px; }
.sec-form.v-card.tone-dark .contact-form, .sec-form.v-card.tone-accent .contact-form { color: var(--text); }
.form-row { margin: 0 0 12px; }
.form-row label { display: block; font-family: var(--font-label); font-size: 0.8em; letter-spacing: var(--label-spacing); text-transform: var(--label-case); margin-bottom: 4px; }
.form-row input, .form-row textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 6px; background: #fff; color: #1d1d1f; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-hint, .form-after { font-size: 0.85em; opacity: 0.75; margin: 0 0 12px; }
.form-thanks { font-size: 1.15em; padding: 18px 0; }
.form-error { color: #b42318; font-weight: 600; }
.form-status { min-height: 1.2em; font-size: 0.9em; margin: 6px 0 0; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form-two { grid-template-columns: 1fr; } }

/* ── Blocks: columns of items, over the section's color or a shaded picture ── */
.sec-blocks .blocks { position: relative; }
.sec-blocks .blocks.has-pic { overflow: hidden; }
.blk-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* A background picture fills the section: its padding is inside the picture. */
.sec.sec-blocks.has-bg { padding: 0; }
.sec-blocks.has-bg .blocks { padding: var(--pad) 0; }
.sec-blocks.has-bg.pad-small .blocks { padding: calc(var(--pad) * 0.5) 0; }
.sec-blocks.has-bg.pad-large .blocks { padding: calc(var(--pad) * 1.5) 0; }
.sec-blocks.has-bg.box-h .blocks { display: flex; flex-direction: column; justify-content: center; }
.sec-blocks.has-bg.box-h.va-top .blocks { justify-content: flex-start; }
.sec-blocks.has-bg.box-h.va-bottom .blocks { justify-content: flex-end; }
.sec-blocks.has-bg.box-h .blocks > .blk-grid { width: 100%; box-sizing: border-box; }
.blocks.has-pic.shade-dark::before, .blocks.has-pic.shade-light::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.blocks.has-pic.shade-dark::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.35)); }
.blocks.has-pic.shade-light::before { background: rgba(255, 255, 255, 0.72); }
.blocks.has-pic.shade-dark, .blocks.has-pic.shade-none { color: #ffffff; }
.blocks.has-pic.shade-light { color: #1d1d1f; }
.blk-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 48px; }
.blocks.valign-center .blk-grid { align-items: center; }
.blocks.valign-top .blk-grid { align-items: start; }
.blk-col { min-width: 0; }
.blk-col > * + * { margin-top: 16px; }
.span-1 { grid-column: span 1; } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; } .span-10 { grid-column: span 10; } .span-11 { grid-column: span 11; } .span-12 { grid-column: span 12; }
.blk-label { display: inline-block; font-family: var(--font-label); font-size: 0.8rem; letter-spacing: var(--label-spacing); text-transform: var(--label-case);
	color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; margin: 0; }
.blk-h { margin: 0; font-family: var(--font-heading); line-height: 1.15; }
.blk-h.size-large { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.blk-h.size-medium { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.blk-h.size-small { font-size: 1.25rem; }
.sec .blk-text { margin-top: 12px; }
mark.hl { background: none; color: var(--accent); }
/* Words' own color and size (the text bar): theme colors, stock colors (--s1..--s8 in look.css), size steps. */
.c-text { color: var(--text); }
.c-accent { color: var(--accent); }
.c-dark { color: var(--dark, #1d1d1f); }
.c-alt { color: var(--alt); }
.c-white { color: #ffffff; }
.c-gray { color: #8a8a8a; }
.c-s1 { color: var(--s1, inherit); } .c-s2 { color: var(--s2, inherit); } .c-s3 { color: var(--s3, inherit); } .c-s4 { color: var(--s4, inherit); }
.c-s5 { color: var(--s5, inherit); } .c-s6 { color: var(--s6, inherit); } .c-s7 { color: var(--s7, inherit); } .c-s8 { color: var(--s8, inherit); }
/* A color chosen for words wins over a highlight inside them. */
.c-text mark.hl, .c-accent mark.hl, .c-dark mark.hl, .c-alt mark.hl, .c-white mark.hl, .c-gray mark.hl, .c-s1 mark.hl, .c-s2 mark.hl, .c-s3 mark.hl, .c-s4 mark.hl, .c-s5 mark.hl, .c-s6 mark.hl, .c-s7 mark.hl, .c-s8 mark.hl { color: inherit; }
.fs-xs { font-size: 0.75em; }
.fs-s { font-size: 0.875em; }
.fs-l { font-size: 1.25em; }
.fs-xl { font-size: 1.6em; line-height: 1.2; }
/* Words' own weight (the text bar); it wins over bold around or inside it. */
.fw-300 { font-weight: 300; } .fw-400 { font-weight: 400; } .fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; } .fw-800 { font-weight: 800; } .fw-900 { font-weight: 900; }
[class*="fw-"] strong, [class*="fw-"] b { font-weight: inherit; }
.blk-pic { margin: 0; }
.blk-img { width: 100%; height: auto; display: block; }
.blk-pic.shape-rounded .blk-img { border-radius: 14px; }
.blk-pic.shape-circle .blk-img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.blk-check { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.blk-check li { position: relative; padding-left: 22px; font-size: 0.92em; }
.blk-check li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.blk-stats { display: flex; flex-wrap: wrap; gap: 20px 40px; }
.blk-stat { display: flex; flex-direction: column; }
.blk-num { font-family: var(--font-heading); font-size: 2.4rem; color: var(--accent); line-height: 1.1; }
.blk-cap { font-size: 0.9em; opacity: 0.85; }
.btn.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.align-center .blk-col { text-align: center; } .align-center .btn-row, .align-center .blk-check, .align-center .blk-stats { justify-content: center; }
.align-right .blk-col { text-align: right; }
@media (max-width: 760px) { .blk-grid { grid-template-columns: 1fr; gap: 24px; } .blk-col { grid-column: auto; } }
.blk-col .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
/* A column's box (render.boxCss): it fills its row, its content placed in it; words lined up; a shadow. */
.blk-col.col-box { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; }
.blk-col.col-box > * + * { margin-top: 16px; }
.blk-col.col-va-center { justify-content: center; }
.blk-col.col-va-bottom { justify-content: flex-end; }
.blk-col.col-al-left { text-align: left; } .blk-col.col-al-center { text-align: center; } .blk-col.col-al-right { text-align: right; }
.blk-col.col-al-center .btn-row, .blk-col.col-al-center .blk-check, .blk-col.col-al-center .blk-stats { justify-content: center; }
.blk-col.col-al-right .btn-row, .blk-col.col-al-right .blk-check, .blk-col.col-al-right .blk-stats { justify-content: flex-end; }
.blk-col.col-al-left .btn-row, .blk-col.col-al-left .blk-check, .blk-col.col-al-left .blk-stats { justify-content: flex-start; }
.blk-col.col-shadow { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06); }
.blk-col.on-dark { color: #f4f4f2; --text: #f4f4f2; }
.blk-col.on-light { color: #222222; --text: #222222; }
.card-box .card { box-sizing: border-box; }
.card-box.col-shadow .card { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06); }
.card-box.col-shadow { box-shadow: none; }
.card-box.on-dark .card { color: #f4f4f2; --text: #f4f4f2; }
.card-box.on-light .card { color: #222222; --text: #222222; }
.card-box.col-al-center .card { text-align: center; } .card-box.col-al-right .card { text-align: right; }
.blk-space { height: 40px; }
/* An item's own alignment (its pixels are in the page's box stylesheet: .it-<col>-<item>). */
.blk-col .it-al-left { text-align: left; margin-left: 0; margin-right: auto; }
.blk-col .it-al-center { text-align: center; margin-left: auto; margin-right: auto; }
.blk-col .it-al-right { text-align: right; margin-left: auto; margin-right: 0; }
.blk-col .blk-label.it-al-left, .blk-col .blk-label.it-al-center, .blk-col .blk-label.it-al-right { display: table; }
.blk-col .btn-row.it-al-left, .blk-col .blk-check.it-al-left, .blk-col .blk-stats.it-al-left { justify-content: flex-start; }
.blk-col .btn-row.it-al-center, .blk-col .blk-check.it-al-center, .blk-col .blk-stats.it-al-center { justify-content: center; }
.blk-col .btn-row.it-al-right, .blk-col .blk-check.it-al-right, .blk-col .blk-stats.it-al-right { justify-content: flex-end; }
.blk-pic img { display: block; }
.blk-col > .blk-space + *, .blk-col > * + .blk-space { margin-top: 0; }
