/*
 * Sila Healthcare
 * One stylesheet for the whole site. Charcoal and white, one sage accent,
 * set in Inter at modest sizes. Charcoal surfaces carry raking light at the
 * 30 degree angle of the mark.
 *
 * 1. Tokens and base      5. Section styles (Group block styles)
 * 2. Header and footer    6. Columns, text, image, button and list styles
 * 3. Page openers         7. Sila blocks (team, locations, press, careers, form)
 * 4. Content defaults     8. News and articles
 */

/* 1. Tokens and base ---------------------------------------------------- */

:root {
	--char: #2F373C;
	--char-deep: #242B2F;
	--sage: #8AA893;
	--sage-ink: #4C6858;
	--sage-pale: #C9D7CE;
	--mist: #EEF2EF;
	--rule: #D2DAD5;
	--soft: #566269;
	--white: #FFFFFF;
	--line-dark: rgba(255, 255, 255, .16);
	--font: Inter, "Helvetica Neue", Arial, sans-serif;
	--gut: clamp(16px, 4vw, 56px);
	--chamfer: clamp(20px, 2.4vw, 36px);
	--band-y: clamp(44px, 5.5vw, 80px);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--char);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
address { font-style: normal; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; clip-path: none;
	width: auto; height: auto;
	z-index: 100; top: 8px; left: 8px;
	padding: 10px 16px;
	background: var(--white); color: var(--char);
	font-weight: 600;
}

.wrap {
	max-width: 1400px;
	margin-inline: auto;
	padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

/* Logo colors come from the symbol paths */
.lg-c { fill: var(--lg-c, #2F373C); }
.lg-s { fill: var(--lg-s, #8AA893); }
.head, .foot { --lg-c: #fff; --lg-s: #fff; }

/* Buttons used outside blocks (locations, form) */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 0 20px;
	font: 600 .94rem/1.2 var(--font);
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	background: var(--sage); color: var(--char);
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--white); }
.btn.dark { background: var(--char); color: var(--white); }
.btn.dark:hover { background: var(--char-deep); }
.btn.line-d { background: transparent; color: var(--char); border-color: var(--char); }
.btn.line-d:hover { background: var(--char); color: var(--white); }
.tlink, .entry-content p a:not(.btn) {
	font-weight: 600;
	color: var(--sage-ink);
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}
.tlink:hover, .entry-content p a:not(.btn):hover { color: var(--char); }

/* Light across charcoal */
.lit,
.wp-block-group.is-style-hero,
.wp-block-group.is-style-band-dark {
	position: relative;
	background: var(--char);
	color: var(--white);
	overflow: hidden;
	isolation: isolate;
}
.lit::before,
.wp-block-group.is-style-hero::before,
.wp-block-group.is-style-band-dark::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: repeating-linear-gradient(120deg, rgba(255,255,255,.032) 0 7vw, rgba(255,255,255,0) 7vw 15vw);
	pointer-events: none;
}

/* 2. Header and footer -------------------------------------------------- */

body::before {
	content: "";
	position: fixed; inset: 0 0 auto;
	height: env(safe-area-inset-top, 0px);
	z-index: 60;
	background: var(--char);
}
.head {
	position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
	background: var(--char); color: var(--white);
}
.admin-bar .head { top: 32px; }
@media (max-width: 782px) { .admin-bar .head { top: 0; } }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: block; line-height: 0; }
.brand svg { height: 36px; width: 113px; }
.nav .menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
	display: block;
	text-decoration: none;
	font-size: .93rem; font-weight: 500;
	color: var(--white);
	padding-block: 6px;
	border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav .current-menu-item > a,
.nav .current_page_parent > a,
.nav a[aria-current="page"] { border-color: var(--sage); }
.nav .nav-cta > a { background: var(--sage); color: var(--char); padding: 8px 16px; border: 0; font-weight: 600; }
.nav .nav-cta > a:hover { background: var(--white); }
.burger { display: none; background: none; border: 0; color: var(--white); width: 46px; height: 46px; cursor: pointer; padding: 10px; }
.burger span[aria-hidden] { display: block; height: 2px; background: currentColor; margin-block: 6px; }
@media (max-width: 880px) {
	.burger { display: block; }
	.nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 68px;
		background: var(--char);
		padding: 8px max(var(--gut), env(safe-area-inset-right, 0px)) 24px max(var(--gut), env(safe-area-inset-left, 0px));
		border-top: 1px solid var(--line-dark);
	}
	.nav.open { display: block; }
	.nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
	.nav .nav-cta > a { margin-top: 16px; padding: 14px 18px; text-align: center; }
}

.foot { background: var(--char-deep); color: var(--white); font-size: .92rem; }
.foot .g {
	display: grid;
	grid-template-columns: minmax(0,4fr) minmax(0,3fr) minmax(0,2fr) minmax(0,2fr);
	gap: 28px;
	padding-block: clamp(32px, 3.6vw, 48px) 24px;
}
.foot .brand svg { height: 38px; width: 119px; }
.foot h2 { letter-spacing: 0; font-size: .9rem; font-weight: 600; color: var(--sage-pale); margin-bottom: 8px; }
.foot address { line-height: 1.55; }
.foot li a { display: inline-block; padding-block: 3px; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot .base {
	display: flex; flex-wrap: wrap; gap: 6px 24px;
	justify-content: space-between; align-items: flex-end;
	border-top: 1px solid var(--line-dark);
	padding-block: 16px;
	font-size: .85rem; color: var(--sage-pale);
}
.foot .credit { font-size: .75rem; color: #93A199; text-decoration: none; margin-left: auto; }
.foot .credit:hover { color: var(--white); }
@media (max-width: 820px) {
	.foot .g { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.foot .g > div:first-child, .foot .g > div:nth-child(2) { grid-column: 1 / -1; }
}

/* 3. Page openers ------------------------------------------------------- */

.ph { padding-block: clamp(36px, 4.2vw, 60px); }
.ph h1 { font-size: clamp(1.85rem, 3.1vw, 2.7rem); line-height: 1.12; letter-spacing: -.02em; max-width: 24ch; }
.ph .lead { margin-top: 12px; color: var(--white); }
.ph .kicker { font-size: .9rem; color: var(--sage-pale); margin-bottom: 10px; }
.ph .kicker a { text-decoration: none; font-weight: 600; color: var(--white); }
.ph .kicker a:hover { text-decoration: underline; }

/* 4. Content defaults --------------------------------------------------- */

body .entry-content > .alignfull { margin-block: 0; }
.entry-content h2,
.editor-styles-wrapper h2 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.2; }
.entry-content h3 { font-size: 1.03rem; letter-spacing: 0; line-height: 1.35; }
.lead, p.is-style-lead { font-size: clamp(1.03rem, 1.2vw, 1.13rem); line-height: 1.6; max-width: 58ch; }
.wp-block-group > p,
.wp-block-column > p { max-width: 68ch; }

/* Narrow text keeps to the left edge of the content column instead of centering */
body .is-layout-constrained > :where(p, .posts, .wp-block-quote) {
	margin-left: max(0px, (100% - var(--wp--style--global--content-size)) / 2) !important;
	margin-right: auto !important;
}

/* Headings open a little more room before what follows */
body .is-layout-constrained > h2 + * { margin-block-start: clamp(18px, 2.6vw, 32px); }
body .is-layout-constrained > h2 + p { margin-block-start: 12px; }
body .is-layout-constrained > h2 + p + * { margin-block-start: clamp(18px, 2.4vw, 28px); }
body .is-layout-constrained > h3.is-style-small { margin-block-start: clamp(24px, 3vw, 36px); }
body .is-layout-constrained > h3.is-style-small + * { margin-block-start: 12px; }
body .wp-block-column > h2 + * { margin-block-start: 14px; }

/* Plain lists inside text */
.entry-content ul.wp-block-list:not([class*="is-style"]) { list-style: disc; padding-left: 1.3em; }
.entry-content ol.wp-block-list:not([class*="is-style"]) { list-style: decimal; padding-left: 1.3em; }

/* Quotes */
body .wp-block-quote {
	margin-inline: 0;
	margin-block-end: 0;
	padding: 2px 0 2px 16px;
	border-left: 2px solid var(--sage);
}
body .wp-block-quote p { font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.4; letter-spacing: -.01em; }
body .wp-block-quote cite { display: block; margin-top: 4px; font-style: normal; font-size: .88rem; color: var(--soft); }

/* Images */
.wp-block-image { margin: 0; }
.wp-block-image img { width: 100%; height: auto; }
.wp-block-image.is-style-angled img,
.chamfer {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer) * .58) 100%, 0 100%);
}

/* Buttons */
body .wp-block-buttons { gap: 10px; }
body .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	font: 600 .94rem/1.2 var(--font);
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 0;
	background: var(--sage);
	color: var(--char);
	transition: background-color .15s, color .15s, border-color .15s;
}
body .wp-block-button__link:hover { background: var(--white); color: var(--char); }
body .wp-block-button.is-style-dark .wp-block-button__link { background: var(--char); color: var(--white); }
body .wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--char-deep); }
body .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--char); border-color: var(--char); padding: 0 20px; }
body .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--char); color: var(--white); }
body .lit .wp-block-button.is-style-outline .wp-block-button__link,
body .is-style-hero .wp-block-button.is-style-outline .wp-block-button__link,
body .is-style-band-dark .wp-block-button.is-style-outline .wp-block-button__link { color: var(--white); border-color: var(--line-dark); }
body .is-style-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
body .is-style-band-dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: transparent; border-color: var(--white); }

/* 5. Section styles ----------------------------------------------------- */

body .wp-block-group.is-style-band,
body .wp-block-group.is-style-band-mist,
body .wp-block-group.is-style-band-dark {
	padding-block: var(--band-y);
	padding-inline: max(var(--gut), env(safe-area-inset-left, 0px));
}
body .wp-block-group.is-style-band-mist { background: var(--mist); }
/* Two white sections in a row read as one */
body .wp-block-group.is-style-band + .wp-block-group.is-style-band { padding-top: 0; }

body .wp-block-group.is-style-hero {
	padding-block: clamp(44px, 5vw, 72px);
	padding-inline: max(var(--gut), env(safe-area-inset-left, 0px));
}
.is-style-hero h1 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em; }
.is-style-hero h1 + p { color: var(--sage-pale); margin-top: 12px; }
.is-style-hero .is-style-lead { color: var(--white); }
body .is-style-hero .wp-block-buttons { margin-top: 18px; }

body .wp-block-group.is-style-cta {
	background: var(--sage);
	color: var(--char);
	padding-block: clamp(24px, 2.6vw, 34px);
	padding-inline: max(var(--gut), env(safe-area-inset-left, 0px));
}
body .is-style-cta h2 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); letter-spacing: -.01em; }
body .is-style-cta > .wp-block-group { gap: 14px 24px; }

body .wp-block-group.is-style-panel {
	background: var(--char);
	color: var(--white);
	padding: clamp(16px, 1.8vw, 22px);
	margin-block-start: clamp(18px, 2.4vw, 28px);
}
.is-style-panel h3 { color: var(--sage-pale); font-size: 1rem; }
.is-style-panel p { color: var(--sage-pale); font-size: .93rem; }
.is-style-panel p strong { display: block; color: var(--white); font-weight: 600; font-size: 1rem; }

body .wp-block-group.is-style-stack > * { margin-block-start: 0; padding-block: 18px; border-top: 1px solid var(--rule); }
.is-style-stack > * > * + * { margin-block-start: 6px; }

/* Text colors on dark sections */
.is-style-band-dark p.is-style-muted,
.is-style-hero p.is-style-muted,
.lit p.is-style-muted { color: var(--sage-pale); }

/* 6. Columns, text, image, button and list styles ----------------------- */

body .entry-content .wp-block-columns,
body .editor-styles-wrapper .wp-block-columns { gap: clamp(24px, 5vw, 80px); margin-bottom: 0; }
body .wp-block-columns.are-vertically-aligned-center { align-items: center !important; }

/* Label and text rows */
body .wp-block-columns.is-style-rows {
	display: grid;
	grid-template-columns: minmax(0,3fr) minmax(0,8fr);
	gap: clamp(12px, 3vw, 48px);
	padding-block: clamp(16px, 1.8vw, 22px);
	border-top: 1px solid var(--rule);
}
body .wp-block-columns.is-style-rows + .wp-block-columns.is-style-rows { margin-block-start: 0; }
body .wp-block-columns.is-style-rows:not(:has(+ .is-style-rows)) { border-bottom: 1px solid var(--rule); }
.is-style-rows h3 { font-size: 1.03rem; }
.is-style-rows .wp-block-column > * + * { margin-top: .8em; }
.is-style-rows .wp-block-column > p { max-width: 66ch; }

/* Letter rows: the Sila Standard on dark */
body .wp-block-columns.is-style-letter-rows {
	display: grid;
	grid-template-columns: 56px minmax(0,3fr) minmax(0,7fr);
	gap: clamp(12px, 2.4vw, 32px);
	align-items: baseline;
	padding-block: 12px;
	border-top: 1px solid var(--line-dark);
}
body .wp-block-columns.is-style-letter-rows + .wp-block-columns.is-style-letter-rows { margin-block-start: 0; }
body .wp-block-columns.is-style-letter-rows:not(:has(+ .is-style-letter-rows)) { border-bottom: 1px solid var(--line-dark); }
.is-style-letter-rows h3 { font-size: 1.05rem; }
.is-style-letter-rows p { color: var(--sage-pale); }
.is-style-letter-rows p.is-style-letter { font-size: 1.9rem; color: var(--sage); }

/* Four values */
body .wp-block-columns.is-style-standard {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 0;
	border-top: 1px solid var(--rule);
}
.is-style-standard > .wp-block-column { min-width: 0; padding: 16px clamp(12px, 1.6vw, 22px) 4px; border-left: 1px solid var(--rule); }
.is-style-standard > .wp-block-column:first-child { border-left: 0; padding-left: 0; }
.is-style-standard h3 { font-size: 1rem; margin-top: 6px; }
.is-style-standard p:not(.is-style-letter) { font-size: .92rem; color: var(--soft); margin-top: 4px; max-width: 30ch; }

/* Columns with a top line */
body .wp-block-columns.is-style-lined {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0,1fr);
	gap: clamp(18px, 2.6vw, 40px);
}
.is-style-lined > .wp-block-column > h3:first-child { border-top: 2px solid var(--sage); padding-top: 10px; }
.is-style-lined p { margin-top: 6px; color: var(--soft); }

/* Dictionary entry */
body .wp-block-columns.is-style-dictionary {
	display: grid;
	grid-template-columns: minmax(0,4fr) minmax(0,8fr);
	gap: 16px clamp(24px, 5vw, 72px);
	align-items: start;
	padding-bottom: clamp(24px, 3vw, 36px);
	border-bottom: 1px solid var(--rule);
}
.is-style-dictionary > .wp-block-column:first-child > p:first-child { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.is-style-dictionary > .wp-block-column:first-child > p:first-child em { font-style: normal; font-weight: 400; font-size: .6em; letter-spacing: 0; color: var(--soft); white-space: nowrap; }
.is-style-dictionary > .wp-block-column:first-child > p + p { margin-top: 4px; color: var(--soft); }
.is-style-dictionary ol {
	counter-reset: d;
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 14px clamp(20px, 3vw, 40px);
	padding: 0;
	list-style: none !important;
}
.is-style-dictionary ol li { counter-increment: d; position: relative; padding-left: 1.6em; }
.is-style-dictionary ol li::before { content: counter(d) "."; position: absolute; left: 0; font-weight: 600; color: var(--sage-ink); }
body .wp-block-columns.is-style-dictionary + .wp-block-columns { margin-block-start: clamp(24px, 3vw, 40px); }

@media (max-width: 820px) {
	body .wp-block-columns.is-style-rows,
	body .wp-block-columns.is-style-dictionary,
	.is-style-dictionary ol { grid-template-columns: minmax(0,1fr); }
	body .wp-block-columns.is-style-standard { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.is-style-standard > .wp-block-column:nth-child(3) { border-left: 0; padding-left: 0; }
	body .wp-block-columns.is-style-lined { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); }
	body .wp-block-columns.is-style-letter-rows { grid-template-columns: clamp(60px, 18vw, 90px) minmax(0,1fr); }
	.is-style-letter-rows > .wp-block-column:last-child { grid-column: 2; }
}
@media (max-width: 560px) {
	body .wp-block-columns.is-style-lined { grid-template-columns: minmax(0,1fr); }
}

/* Paragraph styles */
p.is-style-statement + .wp-block-columns { margin-block-start: clamp(20px, 2.6vw, 32px) !important; }
p.is-style-statement { font-weight: 600; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.25; letter-spacing: -.015em; max-width: 34ch !important; }
p.is-style-muted { color: var(--soft); }
p.is-style-eyebrow { font-size: .86rem; color: var(--soft); }
p.is-style-letter { font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--sage-ink); }
p.is-style-note {
	border: 1px dashed var(--sage-ink);
	background: var(--mist);
	color: var(--char);
	font-size: .92rem; line-height: 1.5;
	padding: 12px 16px;
}
h2.is-style-small, h3.is-style-small, h4.is-style-small { font-size: 1.1rem !important; letter-spacing: -.01em; }

/* Compact media and text: speaking panels */
body .wp-block-media-text.is-style-compact {
	grid-template-columns: minmax(0,5fr) minmax(0,7fr);
	gap: 16px;
}
body .wp-block-media-text.is-style-compact > .wp-block-media-text__content { padding: 0; }
.is-style-compact .wp-block-media-text__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.is-style-compact h3 { font-size: 1rem; line-height: 1.3; }
.is-style-compact p { font-size: .93rem; line-height: 1.5; margin-top: 6px; color: var(--soft); }
.is-style-compact p.is-style-eyebrow { margin-top: 2px; font-size: .86rem; }
@media (max-width: 600px) {
	body .wp-block-media-text.is-style-compact.is-stacked-on-mobile { grid-template-columns: minmax(0,1fr) !important; }
	body .wp-block-media-text.is-style-compact.is-stacked-on-mobile > .wp-block-media-text__content { padding-top: 12px; }
}

/* Pills */
ul.is-style-pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-top: 12px; }
ul.is-style-pills li { border: 1px solid var(--rule); padding: 3px 12px; font-size: .92rem; font-weight: 500; }
ul.is-style-pills li:has(strong) { background: var(--char); border-color: var(--char); color: var(--white); }
ul.is-style-pills strong { font-weight: 500; }

/* 7. Sila blocks -------------------------------------------------------- */

.is-layout-constrained > .wp-block-image:has(+ .sila-team-grid) { max-width: 1000px; }
body .is-layout-constrained > .sila-team-grid { margin-block-start: clamp(26px, 3vw, 40px); }
/* Leadership */
.team {
	display: grid;
	align-items: start;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: clamp(22px, 2.4vw, 32px) clamp(14px, 1.8vw, 24px);
	max-width: 1000px;
	margin-inline: auto;
}
.person-open {
	all: unset;
	box-sizing: border-box;
	display: block;
	width: 100%;
	cursor: pointer;
}
.person-open:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; }
.shot { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot svg { width: 26%; height: auto; --lg-c: #C4D0C8; --lg-s: #DBE3DD; }
.shot small { position: absolute; left: 10px; bottom: 8px; font-size: .74rem; color: var(--soft); }
.person .n { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; margin-top: 10px; }
.person .r { display: block; color: var(--soft); font-size: .88rem; line-height: 1.35; margin-top: 2px; }
.person .m { display: inline-block; margin-top: 6px; font-weight: 600; font-size: .86rem; color: var(--sage-ink); border-bottom: 1px solid currentColor; }
.person-open:hover .shot { background: #E3EAE5; }
.person-open:hover .n { color: var(--sage-ink); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: repeat(2, minmax(0,1fr)); } }

dialog.bio {
	border: 0; padding: 0;
	width: 100%;
	max-width: min(720px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	color: var(--char);
	background: var(--white);
}
dialog.bio::backdrop { background: rgba(36, 43, 47, .72); }
.bio .bar { background: var(--char); color: var(--white); padding: 24px 28px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.bio .bar h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.2; }
.bio .bar p { color: var(--sage-pale); margin-top: 4px; }
.bio .x { background: none; border: 1px solid var(--line-dark); color: var(--white); min-width: 44px; height: 44px; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.bio .x:hover { border-color: var(--white); }
.bio .txt { padding: 24px 28px 30px; display: grid; gap: 1em; }

/* Texas map */
.txmap { display: block; width: 100%; height: auto; --mf: #E3EAE5; --ml: #fff; --ms: #B7C6BC; }
.is-style-band-dark .txmap, .lit .txmap { --mf: rgba(255,255,255,.07); --ml: rgba(255,255,255,.1); --ms: rgba(255,255,255,.4); }
.tx-f { fill: var(--mf); stroke: var(--ms); stroke-width: 1.6; stroke-linejoin: round; }
.tx-m { fill: none; stroke: var(--ml); stroke-width: 1; }
.ref { font-family: var(--font); font-size: 21px; fill: var(--soft); }
.ref-d { fill: var(--soft); }
.is-style-band-dark .ref, .is-style-band-dark .ref-d { fill: var(--sage-pale); }
.pin { cursor: pointer; outline: none; }
.pin polygon { fill: var(--sage-ink); stroke: #fff; stroke-width: 3; transition: fill .15s; }
.pin text { font-family: var(--font); font-weight: 600; font-size: 24px; fill: var(--char); paint-order: stroke; stroke: #E3EAE5; stroke-width: 6px; stroke-linejoin: round; }
.is-style-band-dark .pin polygon { fill: var(--sage); stroke: var(--char); }
.is-style-band-dark .pin text { fill: #fff; stroke: none; }
.pin.on polygon, .pin:hover polygon { fill: var(--char); }
.pin:focus-visible polygon { stroke: var(--sage); stroke-width: 6; }
.sila-location-map { max-width: 460px; margin-left: auto; }
.sila-location-map .pin { cursor: default; }
.sila-location-map .pin:hover polygon { fill: var(--sage); }

/* Location list (home) */
.sila-location-list ul { margin-block: 16px 20px; border-bottom: 1px solid var(--rule); }
.sila-location-list li { border-top: 1px solid var(--rule); }
.sila-location-list a { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; font-size: .95rem; text-decoration: none; font-weight: 600; }
.sila-location-list a span { font-weight: 400; color: var(--soft); }
.is-style-band-dark .sila-location-list ul,
.is-style-band-dark .sila-location-list li { border-color: var(--line-dark); }
.is-style-band-dark .sila-location-list a span { color: var(--sage-pale); }
.sila-location-list a:hover { color: var(--sage-ink); }
.is-style-band-dark .sila-location-list a:hover { color: var(--sage-pale); }

/* Location explorer */
.locs { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.tabs button { all: unset; box-sizing: border-box; display: block; background: var(--white); padding: 12px 14px; cursor: pointer; }
.tabs button b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.tabs button span { font-size: .85rem; color: var(--soft); }
.tabs button:hover { background: var(--mist); }
.tabs button[aria-pressed="true"] { background: var(--char); color: var(--white); }
.tabs button[aria-pressed="true"] span { color: var(--sage-pale); }
.tabs button:focus-visible { outline: 3px solid var(--sage); outline-offset: -3px; }
.det { margin-top: 18px; }
.det img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.det h2 { font-size: 1.15rem !important; line-height: 1.25; letter-spacing: -.01em; margin-top: 14px; }
.det address { margin-top: 8px; }
.det .ph-n { font-weight: 600; }
.entry-content .det .ph-n a { text-decoration: none; color: inherit; }
.det .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dir {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: clamp(16px, 2vw, 28px);
	margin-top: clamp(36px, 5vw, 64px);
	padding-top: 24px;
	border-top: 1px solid var(--rule);
}
.dir h3 { font-size: .97rem; line-height: 1.3; }
.dir h3 a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dir p { font-size: .95rem; color: var(--soft); line-height: 1.45; margin-top: 6px; }
@media (max-width: 980px) {
	.locs { grid-template-columns: minmax(0,1fr); }
	.dir { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
	.ref, .ref-d { display: none; }
	.pin text { display: none; }
	.pin polygon { transform: scale(1.7); stroke-width: 2.5; }
	.dir { grid-template-columns: minmax(0,1fr); }
}

/* Press */
.press { max-width: 820px; border-bottom: 1px solid var(--rule); }
.press li { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 4px 20px; padding-block: 10px; border-top: 1px solid var(--rule); font-size: .94rem; }
.press li > span { color: var(--soft); font-size: .88rem; line-height: 1.45; }
.press a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.press a:hover { color: var(--sage-ink); }
@media (max-width: 640px) { .press li { grid-template-columns: minmax(0,1fr); } }

/* Careers */
.jobs { border-bottom: 1px solid var(--rule); }
.jobs li { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,4fr) 10em; gap: 4px 20px; align-items: center; padding-block: 11px; border-top: 1px solid var(--rule); }
.jobs b { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.jobs span { color: var(--soft); font-size: .92rem; }
.jobs a { justify-self: end; font-weight: 600; color: var(--sage-ink); text-underline-offset: 4px; }
.jobs a:hover { color: var(--char); }
@media (max-width: 720px) {
	.jobs li { grid-template-columns: minmax(0,1fr) auto; }
	.jobs b { grid-column: 1 / -1; }
}

/* Contact form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
	width: 100%; min-height: 50px;
	padding: 12px 14px;
	font: inherit; color: var(--char);
	background: var(--white);
	border: 1px solid #9AA8A0; border-radius: 0;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--sage); outline-offset: 0; border-color: var(--char); }
.form .note { font-size: .92rem; color: var(--soft); }
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { border-left: 3px solid #A23B2A; background: #FBEFEC; padding: 12px 16px; font-weight: 600; }
.sent { background: var(--char); color: var(--white); padding: 18px 20px; }
@media (max-width: 520px) { .form { grid-template-columns: minmax(0,1fr); } }

/* 8. News and articles -------------------------------------------------- */

.posts { max-width: 820px; border-bottom: 1px solid var(--rule); }
.posts li { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 4px 20px; padding-block: 14px; border-top: 1px solid var(--rule); align-items: baseline; }
.posts time { font-size: .88rem; color: var(--soft); }
.posts h3 { font-size: 1rem; line-height: 1.35; }
.posts h3 a { text-decoration: none; }
.posts h3 a:hover { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 4px; }
.posts p { margin-top: 4px; color: var(--soft); font-size: .95rem; }
@media (max-width: 640px) { .posts li { grid-template-columns: minmax(0,1fr); } }
.pagination, .navigation.pagination { margin-top: 24px; }
.nav-links { display: flex; gap: 16px; font-weight: 600; }

.article {
	padding: clamp(36px, 4.4vw, 64px) max(var(--gut), env(safe-area-inset-left, 0px)) var(--band-y);
}
.article > * + * { margin-top: 1.1em; }
body .article > * { max-width: 720px; margin-left: max(0px, (100% - 1288px) / 2) !important; margin-right: auto !important; }
.article .article-image { width: 100%; margin-bottom: 1.4em; }
.article h2 { font-size: 1.3rem !important; margin-top: 1.6em; }
.article .back { margin-top: 2.4em; padding-top: 18px; border-top: 1px solid var(--rule); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* 9. Home opener: the Sila mark assembles ---------------------------------- */

body .wp-block-group.is-style-hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: min(calc(100svh - 68px), 860px);
	padding-block: clamp(56px, 7vw, 104px);
	--scroll: 0;
}
body .is-style-hero > .wp-block-columns {
	position: relative;
	z-index: 1;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, min(620px, 50%));
	gap: clamp(18px, 2vw, 26px);
}
.is-style-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; max-width: 12ch; }
.is-style-hero h1 + p { font-size: clamp(1rem, 1.3vw, 1.15rem); margin-top: 18px; color: var(--sage); font-weight: 500; }
.is-style-hero::before { transform: translateX(calc(var(--scroll) * -8vw)); }

.hero-mark {
	position: absolute;
	z-index: 0;
	top: 50%;
	right: max(var(--gut), calc((100vw - 1288px) / 2 + 24px));
	height: min(78%, 680px, 50vw);
	translate: 0 -50%;
	aspect-ratio: 1184.4 / 1473.8;
	pointer-events: none;
}
.hero-mark svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	transform: translateY(calc(var(--scroll) * 16%)) rotate(calc(var(--scroll) * 7deg)) scale(calc(1 + var(--scroll) * .08));
	transform-origin: 50% 50%;
	will-change: transform;
}
.mk-s { fill: var(--sage); }
.mk-c { fill: #56636B; }
.mk { animation: mk-in 1.25s cubic-bezier(.16, .84, .24, 1) both; animation-delay: calc(.15s + var(--d)); }
@keyframes mk-in {
	from { transform: translate(var(--dx), var(--dy)); opacity: 0; }
	35% { opacity: 1; }
	to { transform: translate(0, 0); opacity: 1; }
}
.mk-gleam { animation: mk-gleam 1.6s cubic-bezier(.45, 0, .2, 1) 1.55s both; }
@keyframes mk-gleam {
	from { transform: translateX(-200px); }
	to { transform: translateX(2100px); }
}
.is-style-hero > .wp-block-columns { animation: hero-text .9s cubic-bezier(.2, .8, .2, 1) .35s both; }
@keyframes hero-text {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}
@media (min-width: 641px) and (max-width: 900px) {
	body .wp-block-group.is-style-hero { min-height: 620px; }
	body .is-style-hero > .wp-block-columns { grid-template-columns: minmax(0, 58%); }
	.hero-mark { height: 58%; right: -3vw; }
}
@media (max-width: 640px) {
	body .wp-block-group.is-style-hero { min-height: 0; padding-block: calc(min(190px, 48vw) + 64px) 64px; }
	.hero-mark { top: 36px; right: max(var(--gut), env(safe-area-inset-right, 0px)); height: min(190px, 48vw); translate: none; }
	.hero-mark svg { transform: none; }
	body .is-style-hero > .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
	.is-style-hero h1 { max-width: 14ch; }
}
@media (prefers-reduced-motion: reduce) {
	.mk, .mk-gleam, .is-style-hero > .wp-block-columns { animation: none; }
	.hero-mark svg, .is-style-hero::before { transform: none; }
}
