/* ==========================================================================
   AJB — site-shared.css
   Shared design system for all agnesjb.com site templates.
   Loaded by template-home / template-audit / template-case-files / template-about.
   Independent of pitch-shared.css. Do not merge the two.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
	--espresso:  #2A2420;
	--espresso-2:#3A322C;
	--cream:     #EFE7D8;
	--cream-2:   #E4D9C6;
	--sand:      #C7B8A1;
	--oxblood:   #3B0510;
	--olive:     #6E6A48;
	--forest:    #2C3A2E;

	--ink:       var(--espresso);
	--paper:     var(--cream);

	--display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
	--body:    "EB Garamond", Garamond, Georgia, serif;
	--ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--gut: clamp(1.25rem, 5vw, 4.5rem);   /* page gutter */
	--rule: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);

	--band: clamp(4.5rem, 9vw, 8.5rem);   /* vertical band rhythm */
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body.ajb {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: clamp(1.0625rem, .4vw + 1rem, 1.1875rem);
	line-height: 1.62;
	font-feature-settings: "liga" 1, "kern" 1;
	-webkit-font-smoothing: antialiased;
}

.ajb img { max-width: 100%; display: block; }
.ajb a { color: inherit; }

/* Focus — visible, on brand, never removed */
.ajb :focus-visible {
	outline: 2px solid var(--oxblood);
	outline-offset: 3px;
}
.ajb .band--dark :focus-visible { outline-color: var(--sand); }

/* --- Layout primitives -------------------------------------------------- */
.ajb .band { padding: var(--band) var(--gut); position: relative; }
.ajb .band--tight { padding-top: calc(var(--band) * .55); padding-bottom: calc(var(--band) * .55); }
.ajb .band--dark  { background: var(--espresso); color: var(--cream); }
.ajb .band--ox    { background: var(--oxblood);  color: var(--cream); }
.ajb .band--sand  { background: var(--cream-2); }
.ajb .band--olive { background: var(--olive);    color: var(--cream); }
.ajb .band--forest{ background: var(--forest);   color: var(--cream); }

.ajb .wrap    { max-width: 74rem; margin-inline: auto; }
.ajb .wrap--n { max-width: 44rem;  margin-inline: auto; }

/* Two-column editorial split */
.ajb .split {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: 1fr;
	align-items: start;
}
@media (min-width: 62rem) {
	.ajb .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.ajb .split--even { grid-template-columns: 1fr 1fr; }
	.ajb .split--sticky > :first-child { position: sticky; top: 6rem; }
}

/* --- Type --------------------------------------------------------------- */
.ajb .label {
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: color-mix(in srgb, currentColor 62%, transparent);
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 0 1.75rem;
}
.ajb .label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: .28;
}
.ajb .label--plain::after { display: none; }

.ajb .display {
	font-family: var(--display);
	font-weight: 300;
	line-height: .96;
	letter-spacing: -.015em;
	margin: 0;
	font-size: clamp(2.5rem, 6.4vw, 5.25rem);
	max-width: 15ch;
}
.ajb .display em { font-style: italic; font-weight: 300; }

.ajb h2.head {
	font-family: var(--display);
	font-weight: 300;
	font-size: clamp(2rem, 4.6vw, 3.5rem);
	line-height: 1.04;
	letter-spacing: -.01em;
	margin: 0 0 1.5rem;
}
.ajb h3.sub {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	line-height: 1.2;
	margin: 0 0 .625rem;
}
.ajb .lede {
	font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
	line-height: 1.5;
	max-width: 34ch;
}
.ajb p { margin: 0 0 1.15em; }
.ajb p:last-child { margin-bottom: 0; }
.ajb .measure { max-width: 62ch; }

.ajb .kicker {
	font-family: var(--ui);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.5;
}

/* --- Signature: the redaction ------------------------------------------- */
/* "Discretion is the credential. The redaction is the flex."
   Bars sit over identifying detail. On hover/focus they lift just enough
   to prove there is something underneath — never enough to read it. */
.ajb .redact {
	position: relative;
	display: inline-block;
	color: transparent;
	background: var(--oxblood);
	padding: 0 .18em;
	border-radius: 1px;
	user-select: none;
	transition: background-color .5s ease;
}
.ajb .band--dark .redact,
.ajb .band--ox   .redact { background: var(--sand); }
.ajb .redact:hover { background: color-mix(in srgb, var(--oxblood) 82%, transparent); }

/* Hero reveal: the diagnosis un-redacts once, on load. */
.ajb .reveal > span {
	display: inline-block;
	background: var(--oxblood);
	color: transparent;
	border-radius: 1px;
	animation: ajb-unredact .9s cubic-bezier(.2,.7,.2,1) forwards;
	animation-delay: var(--d, .6s);
}
@keyframes ajb-unredact {
	from { background-color: var(--oxblood); color: transparent; }
	60%  { background-color: color-mix(in srgb, var(--oxblood) 45%, transparent); }
	to   { background-color: transparent; color: currentColor; }
}
@media (prefers-reduced-motion: reduce) {
	.ajb .reveal > span { animation: none; background: none; color: currentColor; }
}

/* --- Header ------------------------------------------------------------- */
.ajb .site-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.25rem var(--gut);
	border-bottom: var(--rule);
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(8px);
}
.ajb .site-head__mark {
	display: flex;
	align-items: center;
	gap: .625rem;
	text-decoration: none;
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.ajb .site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); align-items: center; }
.ajb .site-nav a {
	font-family: var(--ui);
	font-size: .8125rem;
	letter-spacing: .02em;
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}
.ajb .site-nav a:hover,
.ajb .site-nav a[aria-current="page"] { border-bottom-color: var(--oxblood); }
.ajb .site-nav .cta-mini {
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	border: 1px solid var(--ink);
	border-bottom-color: var(--ink);
	padding: .55rem .85rem;
}
.ajb .site-nav .cta-mini:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 46rem) {
	.ajb .site-nav .nav-link { display: none; }
}

/* --- Buttons ------------------------------------------------------------ */
.ajb .btn {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	font-family: var(--mono);
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1.05rem 1.6rem;
	border: 1px solid currentColor;
	transition: background-color .25s ease, color .25s ease;
}
.ajb .btn:hover { background: var(--ink); color: var(--paper); }
.ajb .band--dark .btn:hover,
.ajb .band--ox .btn:hover { background: var(--cream); color: var(--espresso); }
.ajb .btn--solid { background: var(--oxblood); color: var(--cream); border-color: var(--oxblood); }
.ajb .btn--solid:hover { background: transparent; color: var(--oxblood); }
.ajb .band--dark .btn--solid:hover,
.ajb .band--ox   .btn--solid:hover { color: var(--cream); border-color: var(--cream); background: transparent; }
.ajb .btn__arrow { transition: transform .25s ease; }
.ajb .btn:hover .btn__arrow { transform: translateX(4px); }

.ajb .btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* --- Hero --------------------------------------------------------------- */
.ajb .hero { padding: clamp(3.5rem, 9vw, 7rem) var(--gut) clamp(3rem, 6vw, 5rem); }
.ajb .hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 62rem) {
	.ajb .hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; }
}
.ajb .hero__portrait {
	position: relative;
	background: var(--cream-2);
	aspect-ratio: 4 / 5;
	overflow: hidden;
}
.ajb .hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ajb .hero__stamp {
	position: absolute;
	left: 0; bottom: 0;
	background: var(--espresso);
	color: var(--cream);
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: .55rem .8rem;
}

/* --- The symptom list (home) -------------------------------------------- */
.ajb .symptoms { border-top: var(--rule); margin-top: 2.5rem; }
.ajb .symptom {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	padding: 1.5rem 0;
	border-bottom: var(--rule);
	align-items: start;
}
.ajb .symptom__n {
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .12em;
	padding-top: .45em;
	color: color-mix(in srgb, currentColor 55%, transparent);
}
.ajb .symptom p { margin: .35rem 0 0; font-size: .9375rem; opacity: .78; font-family: var(--ui); line-height: 1.6; }

/* --- Sequence (the audit weeks) ----------------------------------------- */
.ajb .seq { display: grid; gap: 1px; background: color-mix(in srgb, var(--ink) 15%, transparent); border: var(--rule); }
.ajb .band--dark .seq { background: color-mix(in srgb, var(--cream) 22%, transparent); border-color: color-mix(in srgb, var(--cream) 22%, transparent); }
@media (min-width: 54rem) { .ajb .seq { grid-template-columns: repeat(3, 1fr); } }
.ajb .seq__step { background: var(--paper); padding: clamp(1.75rem, 3vw, 2.5rem); }
.ajb .band--dark .seq__step { background: var(--espresso); }
.ajb .band--sand .seq__step { background: var(--cream-2); }
.ajb .seq__wk {
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--oxblood);
	display: block;
	margin-bottom: 1.25rem;
}
.ajb .band--dark .seq__wk { color: var(--sand); }
.ajb .seq__step p { font-family: var(--ui); font-size: .9375rem; line-height: 1.65; opacity: .82; }

/* --- Case file card ----------------------------------------------------- */
.ajb .files { display: grid; gap: 1.5rem; }
@media (min-width: 54rem) { .ajb .files { grid-template-columns: repeat(2, 1fr); } }
.ajb .file {
	border: var(--rule);
	padding: clamp(1.75rem, 3vw, 2.5rem);
	background: var(--paper);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.ajb .file__no {
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	color: color-mix(in srgb, var(--ink) 55%, transparent);
	border-bottom: var(--rule);
	padding-bottom: .9rem;
}
.ajb .file__row { display: grid; gap: .35rem; }
.ajb .file__k {
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--oxblood);
}
.ajb .file__v { font-family: var(--ui); font-size: .9375rem; line-height: 1.6; }

/* --- Pull quote --------------------------------------------------------- */
.ajb .pull {
	font-family: var(--display);
	font-weight: 300;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.12;
	letter-spacing: -.01em;
	max-width: 22ch;
	margin: 0;
}

/* --- Creed list --------------------------------------------------------- */
.ajb .creed { display: grid; gap: 1px; background: color-mix(in srgb, var(--cream) 22%, transparent); }
@media (min-width: 46rem) { .ajb .creed { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72rem) { .ajb .creed { grid-template-columns: repeat(3, 1fr); } }
.ajb .creed__item { background: var(--espresso); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.ajb .creed__n { font-family: var(--mono); font-size: .625rem; letter-spacing: .18em; color: var(--sand); display: block; margin-bottom: 1rem; }
.ajb .creed__item p { font-family: var(--ui); font-size: .875rem; line-height: 1.65; opacity: .8; margin: .5rem 0 0; }

/* --- FAQ ---------------------------------------------------------------- */
.ajb .faq { border-top: var(--rule); }
.ajb .faq details { border-bottom: var(--rule); }
.ajb .faq summary {
	cursor: pointer;
	list-style: none;
	padding: 1.35rem 2.5rem 1.35rem 0;
	font-family: var(--display);
	font-size: clamp(1.125rem, 1.8vw, 1.375rem);
	position: relative;
}
.ajb .faq summary::-webkit-details-marker { display: none; }
.ajb .faq summary::after {
	content: "+";
	position: absolute;
	right: .25rem; top: 50%;
	transform: translateY(-50%);
	font-family: var(--mono);
	font-size: 1rem;
	color: var(--oxblood);
}
.ajb .faq details[open] summary::after { content: "—"; }
.ajb .faq details p { font-family: var(--ui); font-size: .9375rem; line-height: 1.7; padding: 0 2.5rem 1.5rem 0; opacity: .82; max-width: 62ch; }

/* --- Footer ------------------------------------------------------------- */
.ajb .site-foot { background: var(--espresso); color: var(--cream); padding: var(--band) var(--gut) 2.5rem; }
.ajb .site-foot__grid { display: grid; gap: 2.5rem; }
@media (min-width: 54rem) { .ajb .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ajb .site-foot a { text-decoration: none; font-family: var(--ui); font-size: .875rem; opacity: .82; display: block; padding: .3rem 0; }
.ajb .site-foot a:hover { opacity: 1; }
/* The footer sits on the dark espresso background but isn't wrapped in
   .band--dark/.band--ox, so it needs its own copy of the light-on-dark
   button hover — otherwise .btn:hover's default fill color matches the
   footer's own background and the button appears to vanish on hover. */
.ajb .site-foot .btn {
	opacity: 1;
	display: inline-flex;
	align-items: center;
	padding: 1.05rem 1.6rem;
}
.ajb .site-foot .btn:hover { background: var(--cream); color: var(--espresso); }
.ajb .site-foot .btn--solid:hover { color: var(--cream); border-color: var(--cream); background: transparent; }
.ajb .site-foot__base {
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .6;
}

/* --- Utilities ---------------------------------------------------------- */
.ajb .skip {
	position: absolute; left: -9999px;
	background: var(--espresso); color: var(--cream);
	padding: .75rem 1rem; font-family: var(--mono); font-size: .75rem; z-index: 100;
}
.ajb .skip:focus { left: var(--gut); top: .5rem; }
.ajb .stack > * + * { margin-top: 1.5rem; }
.ajb .aster { display: block; }
.ajb .band-centered { text-align: center; }
.ajb .band-centered .aster { margin-inline: auto; }
.ajb .band-centered .pull { margin-inline: auto; }

/* --- Texture triptych ---------------------------------------------------
   Three quiet frames — a street, a desk, a detail. No faces, no captions.
   Atmosphere is the only job; it earns its place by saying what the copy
   can't, and it is deliberately the least loud thing on the page. */
.ajb .triptych {
	display: grid;
	gap: 1px;
	background: color-mix(in srgb, var(--ink) 12%, transparent);
	grid-template-columns: 1fr;
}
@media (min-width: 46rem) { .ajb .triptych { grid-template-columns: repeat(3, 1fr); } }
.ajb .triptych figure {
	margin: 0;
	position: relative;
	overflow: hidden;
	background: var(--cream-2);
	aspect-ratio: 3 / 4;
}
.ajb .triptych img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.82) contrast(1.02);
	transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.ajb .triptych figure:hover img { transform: scale(1.02); filter: saturate(.95); }
.ajb .triptych figcaption {
	position: absolute;
	left: 0; bottom: 0;
	font-family: var(--mono);
	font-size: .5625rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cream);
	background: color-mix(in srgb, var(--espresso) 78%, transparent);
	padding: .45rem .7rem;
}
.ajb .band--flush { padding-left: 0; padding-right: 0; }

/* ==========================================================================
   Blog — archive, single post, and the case-files archive/single
   (Case Files reuses the .file card design already defined above.)
   ========================================================================== */

/* --- Archive grid --------------------------------------------------------*/
.ajb .post-grid {
	display: grid;
	gap: 1px;
	background: color-mix(in srgb, var(--ink) 14%, transparent);
	border: var(--rule);
}
@media (min-width: 54rem) { .ajb .post-grid { grid-template-columns: repeat(2, 1fr); } }
.ajb .post-card {
	background: var(--paper);
	padding: clamp(1.75rem, 3vw, 2.5rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-decoration: none;
	color: inherit;
}
.ajb .band--dark .post-card,
.ajb .band--forest .post-card { background: var(--espresso); }
.ajb .post-card__meta {
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--oxblood);
	display: flex;
	gap: .75rem;
	align-items: center;
}
.ajb .band--dark .post-card__meta { color: var(--sand); }
.ajb .post-card__title {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	line-height: 1.2;
	margin: 0;
}
.ajb .post-card__excerpt {
	font-family: var(--ui);
	font-size: .875rem;
	line-height: 1.65;
	opacity: .75;
	margin: 0;
}
.ajb .post-card__more {
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-top: auto;
	padding-top: .5rem;
}

/* --- Pagination ------------------------------------------------------- */
.ajb .pagination {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: var(--rule);
	font-family: var(--mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.ajb .pagination a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* --- Single post ------------------------------------------------------ */
.ajb .post-hero { padding: clamp(3rem, 7vw, 5.5rem) var(--gut) clamp(2rem, 4vw, 3rem); }
.ajb .post-hero__meta {
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: color-mix(in srgb, currentColor 55%, transparent);
	margin-bottom: 1.5rem;
}
.ajb .post-hero h1 {
	font-family: var(--display);
	font-weight: 300;
	font-size: clamp(2.25rem, 6vw, 4rem);
	line-height: 1.04;
	letter-spacing: -.01em;
	margin: 0 0 1.5rem;
	max-width: 22ch;
}
.ajb .post-body {
	max-width: 62ch;
	font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem);
	line-height: 1.7;
}
.ajb .post-body p { margin: 0 0 1.3em; }
.ajb .post-body h2 {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.15;
	margin: 2.25em 0 .75em;
}
.ajb .post-body h3 {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	margin: 1.75em 0 .6em;
}
.ajb .post-body ul, .ajb .post-body ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.ajb .post-body li { margin-bottom: .5em; }
.ajb .post-body blockquote {
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.4;
	border-left: 2px solid var(--oxblood);
	margin: 2em 0;
	padding: .2em 0 .2em 1.5em;
}
.ajb .post-body img { margin: 2em 0; }
.ajb .post-body a { text-decoration-color: var(--oxblood); text-underline-offset: 3px; }
.ajb .post-body code {
	font-family: var(--mono);
	font-size: .875em;
	background: var(--cream-2);
	padding: .1em .35em;
}

.ajb .post-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; }
.ajb .post-tags a {
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
	padding: .4rem .75rem;
}

.ajb .post-nav {
	display: grid;
	gap: 1px;
	background: color-mix(in srgb, var(--ink) 14%, transparent);
	border: var(--rule);
	margin-top: 3.5rem;
}
@media (min-width: 46rem) { .ajb .post-nav { grid-template-columns: 1fr 1fr; } }
.ajb .post-nav a { display: block; background: var(--paper); padding: 1.5rem; text-decoration: none; }
.ajb .post-nav__dir {
	font-family: var(--mono);
	font-size: .625rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	opacity: .55;
	display: block;
	margin-bottom: .5rem;
}
.ajb .post-nav__title { font-family: var(--display); font-size: 1.125rem; }
.ajb .post-nav--next { text-align: right; }

/* --- Search / 404 ------------------------------------------------------- */
.ajb .search-form { display: flex; gap: .75rem; max-width: 32rem; margin-top: 2rem; }
.ajb .search-form input[type="search"] {
	flex: 1;
	font-family: var(--body);
	font-size: 1rem;
	padding: .85rem 1rem;
	border: 1px solid var(--ink);
	background: transparent;
	color: inherit;
}
.ajb .search-form button {
	font-family: var(--mono);
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--paper);
	padding: 0 1.4rem;
	cursor: pointer;
}

/* --- WP core alignment/caption classes, scoped to post body ------------- */
.ajb .post-body .alignwide { max-width: min(100%, 56rem); }
.ajb .post-body .alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.ajb .post-body .wp-caption-text,
.ajb .post-body figcaption {
	font-family: var(--mono);
	font-size: .6875rem;
	letter-spacing: .06em;
	opacity: .6;
	margin-top: .5rem;
}

/* --- Comments ------------------------------------------------------------
   Styled to match the post-body voice — plain, readable, no plugin-default
   avatars-and-boxes look. Only renders if comments are enabled. */
.ajb .post-comments { margin-top: 3.5rem; padding-top: 2.5rem; border-top: var(--rule); }
.ajb .comment-list { list-style: none; margin: 1.5rem 0 2.5rem; padding: 0; }
.ajb .comment-list li { padding: 1.25rem 0; border-bottom: var(--rule); }
.ajb .comment-list .comment-author { font-family: var(--ui); font-weight: 500; font-size: .9375rem; }
.ajb .comment-list .comment-metadata {
	font-family: var(--mono); font-size: .625rem; letter-spacing: .1em;
	text-transform: uppercase; opacity: .55; margin: .25rem 0 .75rem;
}
.ajb .comment-list .comment-metadata a { text-decoration: none; }
.ajb .comment-list p { font-size: .9375rem; opacity: .85; }
.ajb .comment-respond { margin-top: 1rem; }
.ajb .comment-form input[type="text"],
.ajb .comment-form input[type="email"],
.ajb .comment-form input[type="url"],
.ajb .comment-form textarea {
	width: 100%; font-family: var(--body); font-size: 1rem;
	padding: .85rem 1rem; border: 1px solid var(--ink);
	background: transparent; color: inherit; margin-bottom: 1rem;
}
.ajb .comment-form label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: .4rem; }

/* --- Operator portrait (§ 05 home) --------------------------------------
   Same shaped-container pattern as .hero__portrait: locks a square ratio
   and crops via object-fit, instead of letting the raw <img> stretch to
   fill its grid column (which is what was happening before — an
   unconstrained img in a CSS Grid cell gets distorted to fit). */
.ajb .op-portrait {
	position: relative;
	overflow: hidden;
	background: var(--cream-2);
	aspect-ratio: 1 / 1;
	margin: 0;
}
.ajb .op-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

/* --- Case file ledger (before → after) ----------------------------------
   The numbers section is the load-bearing proof on a case file, so it gets
   its own treatment rather than rendering as prose. Mono for the figures,
   the "after" value in sand so the eye lands on the outcome. */
.ajb .ledger { margin-top: 1rem; }
.ajb .ledger__row {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: .75rem 1rem;
	align-items: baseline;
	padding: 1.1rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
}
@media (max-width: 40rem) {
	.ajb .ledger__row { grid-template-columns: 1fr auto auto auto; font-size: .875rem; }
}
.ajb .ledger__label {
	font-family: var(--ui);
	font-size: .9375rem;
	line-height: 1.4;
	opacity: .8;
}
.ajb .ledger__before,
.ajb .ledger__after {
	font-family: var(--mono);
	font-size: .9375rem;
	white-space: nowrap;
}
.ajb .ledger__before { opacity: .5; }
.ajb .ledger__after { color: var(--sand); font-weight: 500; }
.ajb .ledger__arrow { font-family: var(--mono); opacity: .4; }
.ajb .ledger__note {
	font-family: var(--display);
	font-size: clamp(1.125rem, 1.8vw, 1.375rem);
	line-height: 1.35;
	margin: 1.75rem 0 0;
	max-width: 40ch;
}
