/* Public pages (/, /institucional, /unidades, /jobs, /blog and Desk pages). Mobile-first. */

@view-transition { navigation: auto; }

:root {
	color-scheme: light;
	--ink: #0b1216;
	--ink-2: #36424a;
	--muted: #667178;
	--line: rgba(11, 18, 22, 0.09);
	--bg: #ffffff;
	--bg-soft: #f4f6f6;
	--brand: #14a597;
	--brand-ink: #0b6f65;
	--brand-soft: #e5f6f3;
	--night: #071012;
	--on-dark: #ffffff;
	--brand-on-dark: #7fe0d4;
	--live: #4ade80;
	--danger: #b42318;
	--radius-lg: 28px;
	--radius: 18px;
	--radius-sm: 10px;
	--gutter: 20px;
	--max: 1200px;
	--nav-h: 64px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
	position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px;
	background: var(--ink); color: var(--on-dark); border-radius: var(--radius-sm);
	transform: translateY(-150%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(72px, 12vw, 160px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }
.section--after-hero { padding-top: clamp(48px, 8vw, 88px); }
.section-foot { margin-top: 28px; }

/* Typography */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--brand-ink);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.display {
	font-size: clamp(2.6rem, 8vw, 5.75rem);
	font-weight: 800; line-height: 1.02; letter-spacing: -0.045em;
	text-wrap: balance;
}
.headline {
	font-size: clamp(2rem, 5.2vw, 3.6rem);
	font-weight: 700; line-height: 1.06; letter-spacing: -0.035em;
	text-wrap: balance;
}
.title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.gradient-text {
	background: linear-gradient(100deg, var(--ink) 20%, var(--brand) 95%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin-inline: auto; }

/* Buttons */
.btn {
	--btn-bg: var(--ink); --btn-fg: var(--on-dark);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
	background: var(--btn-bg); color: var(--btn-fg);
	font-size: 16px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer;
	transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(11, 18, 22, 0.45); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: wait; transform: none; box-shadow: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { box-shadow: none; background: var(--bg-soft); }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-ink); }
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Navigation */
.site-nav {
	position: sticky; top: 0; z-index: 50; height: var(--nav-h);
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, background-color 0.3s;
	view-transition-name: site-nav;
}
.site-nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.86); }
.site-nav__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	max-width: var(--max); height: 100%; margin-inline: auto; padding-inline: var(--gutter);
}
.site-nav__brand { display: flex; align-items: center; gap: 12px; }
.site-nav__brand img { height: 32px; width: auto; }
.site-nav__name { display: none; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--ink-2); }
.site-nav__toggle {
	position: relative; width: 44px; height: 44px; margin-right: -10px;
	border: 0; background: none; cursor: pointer;
}
.site-nav__toggle span[aria-hidden],
.site-nav__toggle span[aria-hidden]::before {
	position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.site-nav__toggle span[aria-hidden] { top: 18px; }
.site-nav__toggle span[aria-hidden]::before { content: ""; left: 0; top: 7px; }
.site-nav__toggle[aria-expanded="true"] span[aria-hidden] { top: 21px; transform: rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span[aria-hidden]::before { top: 0; transform: rotate(-90deg); }
.site-nav__links {
	position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100dvh - var(--nav-h));
	display: flex; flex-direction: column; gap: 4px; padding: 24px var(--gutter);
	background: var(--bg);
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}
.site-nav.is-open .site-nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav.is-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-nav__links > a:not(.btn) {
	padding: 14px 0; font-size: 26px; font-weight: 650; letter-spacing: -0.02em;
	border-bottom: 1px solid var(--line);
}
.site-nav__links > a[aria-current="page"] { color: var(--brand-ink); }
.site-nav__login { margin-top: 20px; align-self: flex-start; }
body.is-nav-open { overflow: hidden; }

@media (min-width: 900px) {
	:root { --gutter: 32px; }
	.site-nav__name { display: block; }
	.site-nav__toggle { display: none; }
	.site-nav__links {
		position: static; height: auto; flex-direction: row; align-items: center; gap: 28px; padding: 0;
		background: none; opacity: 1; visibility: visible; transform: none;
	}
	.site-nav__links > a:not(.btn) {
		padding: 6px 0; font-size: 14.5px; font-weight: 500; letter-spacing: 0; border: 0; color: var(--ink-2);
		transition: color 0.2s;
	}
	.site-nav__links > a:not(.btn):hover,
	.site-nav__links > a[aria-current="page"] { color: var(--ink); }
	.site-nav__links > a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--brand); }
	.site-nav__login { margin: 0 0 0 4px; }
}

/* Hero */
.hero { padding-top: clamp(56px, 10vw, 128px); text-align: center; }
.hero .display { max-width: 16ch; margin: 18px auto 0; }
.hero .lead { margin: 24px auto 0; max-width: 38ch; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero-media {
	margin-top: clamp(48px, 8vw, 88px); padding-inline: clamp(8px, 2vw, 24px);
}
.hero-media__frame {
	position: relative; overflow: hidden; margin-inline: auto; max-width: 1440px;
	aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
	transform: scale(var(--hero-scale, 1)); transform-origin: 50% 0;
	box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -48px rgba(7, 16, 18, 0.45);
}
.hero-media__frame img { width: 100%; height: 115%; object-fit: cover; transform: translate3d(0, var(--py, 0), 0); }
@media (min-width: 700px) { .hero-media__frame { aspect-ratio: 16 / 9; } }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 28px 20px; }
.stat__value { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 40px 32px; } }

/* Two-column narrative */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }
.split__media img { width: 100%; height: 120%; object-fit: cover; transform: translate3d(0, var(--py, 0), 0); }
.split__body { display: grid; gap: 22px; align-content: start; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}

/* Values grid */
.feature-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 32px 28px; display: grid; gap: 10px; align-content: start; transition: background-color 0.3s; }
.feature:hover { background: var(--bg-soft); }
.feature__icon {
	width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
	background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 8px;
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; }
.feature p { color: var(--muted); font-size: 15.5px; }
.section--soft .feature { background: var(--bg-soft); }
.section--soft .feature-grid { background: rgba(11, 18, 22, 0.07); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* Units carousel (home) */
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 380px); gap: 16px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
	padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1);
	scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1000px) {
	.rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
}
.city-card {
	position: relative; display: block; overflow: hidden; border-radius: var(--radius);
	aspect-ratio: 3 / 4; background: var(--night); color: var(--on-dark); isolation: isolate;
}
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.city-card::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(7, 16, 18, 0) 40%, rgba(7, 16, 18, 0.82) 100%);
}
.city-card:hover img { transform: scale(1.06); }
.city-card__body { position: absolute; inset: auto 0 0 0; padding: 22px; display: grid; gap: 4px; }
.city-card__count { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.city-card__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.city-card--plain { background: radial-gradient(120% 90% at 100% 0%, rgba(20, 165, 151, 0.55), transparent 60%), var(--night); }
.city-card--plain::after { display: none; }
.city-card__icon {
	position: absolute; top: 22px; left: 22px; display: grid; place-items: center; width: 44px; height: 44px;
	border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: var(--brand-on-dark);
}
.city-card__icon svg { width: 22px; height: 22px; }

/* Dark call-to-action band */
.cta-dark {
	position: relative; overflow: hidden; background: var(--night); color: var(--on-dark);
	border-radius: var(--radius-lg); padding: clamp(48px, 9vw, 112px) clamp(24px, 6vw, 88px);
	isolation: isolate;
}
.cta-dark::before {
	content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -320px; top: -420px;
	background: radial-gradient(closest-side, rgba(20, 165, 151, 0.45), transparent 70%);
}
.cta-dark .headline { margin-top: 18px; max-width: 18ch; }
.cta-dark .lead { color: rgba(255, 255, 255, 0.72); margin-top: 20px; }
.cta-dark .actions { margin-top: 36px; }
.cta-dark .eyebrow { color: var(--brand-on-dark); }
.cta-dark .eyebrow::before { background: var(--brand-on-dark); }
.pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; font-weight: 500;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 18%, transparent); }
.pill--light { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }

/* Timeline (institucional) */
.timeline { position: relative; padding-left: 32px; }
.timeline__list { display: grid; gap: clamp(40px, 6vw, 64px); margin: 0; padding: 0; list-style: none; }
.timeline__track { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__progress {
	position: absolute; inset: 0; background: var(--brand); border-radius: 2px;
	transform: scaleY(var(--progress, 1)); transform-origin: top;
}
.js .timeline { --progress: 0; }
.timeline__item { position: relative; display: grid; gap: 8px; }
.timeline__item::before {
	content: ""; position: absolute; left: -32px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
	background: var(--bg); border: 2px solid var(--brand); transition: background-color 0.3s, box-shadow 0.3s;
}
.timeline__item.is-in::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline__year { font-size: clamp(2rem, 5vw, 3rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; color: var(--brand-ink); }
.timeline__item p { color: var(--ink-2); max-width: 60ch; margin-top: 8px; }
@media (min-width: 900px) {
	.timeline { padding-left: 0; }
	.timeline__track { left: calc(200px + 40px); }
	.timeline__item { grid-template-columns: 200px 1fr; gap: 80px; }
	.timeline__item::before { left: calc(200px + 40px - 5px); }
	.timeline__year { text-align: right; }
}

/* Information cards */
.info-grid { display: grid; gap: 16px; }
.info-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; }
.section--soft .info-card { border-color: transparent; }
.info-card h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.info-card .big { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.info-card dl { margin: 0; display: grid; gap: 12px; }
.info-card dt { font-weight: 600; }
.info-card dd { margin: 2px 0 0; color: var(--ink-2); }
@media (min-width: 800px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }

/* Filters (chips) */
.chips {
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
	padding: 2px var(--gutter); margin-inline: calc(var(--gutter) * -1);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--bg); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: rgba(11, 18, 22, 0.2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip__count { margin-left: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__count { color: inherit; opacity: 0.7; }
.filter-bar {
	position: sticky; top: var(--nav-h); z-index: 10; padding-block: 14px; margin-top: clamp(40px, 7vw, 72px);
	background: rgba(255, 255, 255, 0.86);
	-webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .chips { margin: 0; padding-inline: 0; flex-wrap: wrap; } }

/* State map (/unidades) */
.atlas { padding-block: clamp(40px, 7vw, 72px) 0; }
.atlas__grid { display: grid; gap: 28px; align-items: center; }
.atlas__map { width: 100%; max-width: 400px; height: auto; margin-inline: auto; }
.uf { fill: color-mix(in srgb, var(--ink) 8%, var(--bg)); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; }
.uf--on { fill: color-mix(in srgb, var(--brand) 40%, var(--bg)); cursor: pointer; transition: fill 0.25s; }
.uf--on:hover { fill: var(--brand); }
.uf--on[aria-pressed="true"] { fill: var(--ink); }
.atlas__side { min-width: 0; }
.atlas__title { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 14px; }
.atlas .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.atlas__status { margin-top: 16px; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .atlas__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* Units */
.city { padding-block: clamp(56px, 9vw, 104px); border-top: 1px solid var(--line); }
.city:first-child { border-top: 0; }
.city[hidden] { display: none; }
.city__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.city__count { font-size: 15px; color: var(--muted); }
.unit-grid { display: grid; gap: 16px; }
.unit-card { display: grid; align-content: start; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.unit-card__media { overflow: hidden; aspect-ratio: 4 / 3; }
.unit-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.unit-card:hover .unit-card__media img { transform: scale(1.04); }
.unit-card__body { display: grid; gap: 8px; padding: 20px 22px 24px; }
.unit-card__tags { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge--closed { background: var(--line); color: var(--muted); cursor: default; }
.unit-card__name { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.unit-card__meta { display: flex; align-items: flex-start; gap: 6px; font-size: 15px; color: var(--muted); transition: color 0.2s; }
a.unit-card__meta:hover { color: var(--brand-ink); }
.unit-card__meta svg { flex: none; width: 15px; height: 15px; margin-top: 3px; }
.unit-card__icon {
	display: grid; place-items: center; width: 44px; height: 44px; margin: 22px 22px 0; border-radius: 12px;
	background: var(--bg); color: var(--brand-ink);
}
.unit-card__icon svg { width: 22px; height: 22px; }
.unit-card--plain .unit-card__body { padding-top: 16px; }
.badge {
	display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
	background: var(--brand-soft); color: var(--brand-ink); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
@media (min-width: 640px) { .unit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .unit-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Jobs */
.search {
	position: relative; display: flex; align-items: center; margin-bottom: 14px;
}
.search svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input {
	width: 100%; min-height: 52px; padding: 0 18px 0 46px; border-radius: 14px;
	border: 1px solid var(--line); background: var(--bg-soft); font: inherit; font-size: 16px; color: var(--ink);
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.search input:focus { outline: none; background: var(--bg); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.result-count { font-size: 14.5px; color: var(--muted); margin: 28px 0 8px; }
.job-list { display: grid; }
.job {
	position: relative; display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line);
}
.job[hidden] { display: none; }
.job__title { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; padding-right: 32px; }
.job__title a::after { content: ""; position: absolute; inset: 0; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; color: var(--muted); }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta svg { width: 15px; height: 15px; }
.job__arrow {
	position: absolute; right: 4px; top: 26px; color: var(--muted);
	transition: transform 0.35s var(--ease), color 0.2s;
}
.job:hover .job__arrow { transform: translateX(4px); color: var(--brand-ink); }
.job:hover .job__title { color: var(--brand-ink); transition: color 0.2s; }
.empty {
	display: grid; justify-items: center; gap: 14px; text-align: center; padding: 72px 24px;
	border: 1px dashed rgba(11, 18, 22, 0.16); border-radius: var(--radius); margin-top: 28px;
}
.empty[hidden] { display: none; }
.empty .lead { margin: 0 auto; font-size: 17px; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { counter-increment: step; display: grid; gap: 8px; padding: 28px; border-radius: var(--radius); background: var(--bg); }
.step::before { content: "0" counter(step); font-size: 14px; font-weight: 700; color: var(--brand-ink); letter-spacing: 0.04em; }
.step h3 { font-size: 18px; font-weight: 650; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Documents and publications (content edited in the Desk, sanitized by rich_text.clean) */
.hero--doc .display { font-size: clamp(2.2rem, 6vw, 4.25rem); max-width: 20ch; }
.hero--solo { padding-bottom: clamp(72px, 12vw, 160px); }
.hero .prose { margin: 24px auto 0; }
.doc-meta {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
	margin-top: 24px; font-size: 14.5px; color: var(--muted);
}
.toc { margin-bottom: clamp(40px, 6vw, 64px); padding: 24px 28px; border-radius: var(--radius); background: var(--bg-soft); }
.toc__title { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toc ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.toc a { font-size: 15.5px; color: var(--ink-2); transition: color 0.2s; }
.toc a:hover { color: var(--brand-ink); }
@media (min-width: 800px) { .toc ol { grid-template-columns: repeat(2, 1fr); gap: 8px 32px; } }
.prose { max-width: 68ch; font-size: 17.5px; line-height: 1.7; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 700; }
.prose h3 { margin-top: 1.8em; font-size: 1.2rem; font-weight: 650; }
.prose h4 { margin-top: 1.6em; font-size: 1.05rem; font-weight: 650; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose strong, .prose b { font-weight: 600; color: var(--ink); }
.prose a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brand-ink); }
.prose hr { margin-block: 2.4em; border: 0; border-top: 1px solid var(--line); }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--brand); color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); font-size: 0.9em; }
.prose pre { overflow-x: auto; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.prose pre code { padding: 0; background: none; }
.post-grid { display: grid; gap: 16px; margin-top: 8px; }
.post-card {
	position: relative; display: grid; gap: 12px; align-content: start; padding: 28px;
	border-radius: var(--radius); background: var(--bg-soft);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post-card[hidden] { display: none; }
.post-card:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -28px rgba(11, 18, 22, 0.35); }
.post-card .badge { justify-self: start; }
.post-card__title { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; transition: color 0.2s; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card:hover .post-card__title { color: var(--brand-ink); }
.post-card__intro {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
	font-size: 15.5px; color: var(--ink-2);
}
.post-card__meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.post-card__meta svg { width: 15px; height: 15px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Forms (Web Form in the site layout, bhcl_site/forms.py) */
.container--form { max-width: 680px; }
.form-intro { margin-bottom: 32px; }
.form { display: grid; gap: 40px; }
.form-section { display: grid; gap: 28px; }
.form-section + .form-section { padding-top: 40px; border-top: 1px solid var(--line); }
.form-section__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.form-note { font-size: 14.5px; color: var(--muted); }
.form-note a, .form-alert a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field[hidden] { display: none; }
.field__label { padding: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.field__tag { font-weight: 400; color: var(--muted); }
.field__help, .field__when { font-size: 14.5px; color: var(--muted); }
.js .field__when { display: none; }
.field__error { font-size: 14.5px; font-weight: 600; color: var(--danger); }
.input {
	width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
	border: 1px solid rgba(11, 18, 22, 0.18); background: var(--bg); font: inherit; font-size: 16px; color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.input[type="file"] { padding: 8px 12px; background: var(--bg-soft); }
.input::file-selector-button {
	margin-right: 12px; padding: 6px 14px; border: 0; border-radius: 999px;
	background: var(--ink); color: var(--on-dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.field--error .input { border-color: var(--danger); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices--rating { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 420px; }
.choices--rating .choice { justify-content: center; padding: 0 8px; }
.choice {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px;
	border: 1px solid rgba(11, 18, 22, 0.18); border-radius: 999px; cursor: pointer; font-size: 15.5px;
	transition: border-color 0.2s, background-color 0.2s;
}
.choice:hover { border-color: rgba(11, 18, 22, 0.32); }
.choice:has(:checked) { border-color: var(--brand-ink); background: var(--brand-soft); color: var(--brand-ink); }
.choice input, .check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--brand-ink); }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input { margin-top: 3px; }
.form-alert {
	margin-bottom: 32px; padding: 20px 24px; border: 2px solid var(--danger); border-radius: var(--radius);
	background: color-mix(in srgb, var(--danger) 4%, var(--bg)); color: var(--danger); outline-color: var(--danger);
}
.form-alert__title { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.form-alert ul { display: grid; gap: 4px; }
.form-actions { display: grid; justify-items: start; gap: 16px; }
.job-facts { display: grid; gap: 16px; margin: 40px 0; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-soft); }
.job-facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.job-facts dd { margin: 4px 0 0; font-weight: 600; }
@media (min-width: 640px) { .job-facts { grid-template-columns: repeat(3, 1fr); } }

/* Footer */
.site-footer { background: var(--bg-soft); color: var(--ink-2); font-size: 15px; padding-top: 64px; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.site-footer__about { display: grid; gap: 16px; max-width: 34ch; }
.site-footer__about img { height: 32px; width: auto; }
.site-footer__title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: var(--brand-ink); }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
	padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted);
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1.3fr 1fr; } }

/* Entrance animations: content is only hidden when JS is active and the user accepts motion. */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] {
		opacity: 0; transform: translate3d(0, 28px, 0);
		transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
		transition-delay: var(--delay, 0s);
	}
	.js [data-reveal="fade"] { transform: none; }
	.js [data-reveal="scale"] { transform: scale(0.96); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }

	.hero .eyebrow, .hero .display, .hero .lead, .hero .actions, .hero .pill {
		animation: rise 1s var(--ease) both;
	}
	.hero .display { animation-delay: 0.08s; }
	.hero .lead { animation-delay: 0.18s; }
	.hero .actions { animation-delay: 0.28s; }

	::view-transition-old(root) { animation: 0.25s var(--ease) both vt-out; }
	::view-transition-new(root) { animation: 0.45s var(--ease) both vt-in; }
}
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
