/* ============================================================================
   LLMIC — Single blog post
   The flagship reading experience. Generous space, type-led, content first.
   ========================================================================== */

/* --- Reading progress --------------------------------------------------- */
.llmic-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: var(--llmic-z-progress);
	background: transparent;
	pointer-events: none;
}
.llmic-progress__fill {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--accent), var(--brand-400));
	transition: width 80ms linear;
}

/* --- Layout shell ------------------------------------------------------- */
.llmic-single .site-main {
	max-width: var(--content-max);
	margin-inline: auto;
	padding-inline: var(--space-m);
}
.llmic-article { padding-block: var(--space-l); }
.llmic-article-widgets,
.llmic-single #secondary {
	max-width: var(--measure);
	margin: 0 auto var(--space-l);
	min-width: 0;
	width: 100%;
	float: none;
	clear: both;
}
.llmic-single #secondary .widget { overflow-wrap: anywhere; }

.llmic-breadcrumb {
	font-family: var(--font-mono);
	font-size: var(--step--1);
	color: var(--ink-3);
	margin-bottom: var(--space-m);
}
.llmic-breadcrumb a { color: var(--ink-3); }
.llmic-breadcrumb a:hover { color: var(--accent-strong); }

/* --- Article header ----------------------------------------------------- */
.llmic-article__header {
	position: relative;
	max-width: var(--measure);
	margin-inline: auto;
	margin-bottom: var(--space-l); /* keeps space before content when there's no hero (#1) */
	text-align: center;
}
/* Scattered blue brand glow behind the title (#9). */
.llmic-article__header::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: -12%;
	left: 50%;
	transform: translateX(-50%);
	width: min(130%, 920px);
	height: 135%;
	background:
		radial-gradient(38% 48% at 28% 32%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%),
		radial-gradient(34% 44% at 72% 42%, color-mix(in srgb, var(--brand-400) 22%, transparent), transparent 72%),
		radial-gradient(30% 40% at 52% 70%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
	filter: blur(40px);
	pointer-events: none;
	opacity: 0.85;
}
.llmic-article__header > * { position: relative; z-index: 1; }
.llmic-eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: var(--step--1);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--accent-strong);
	background: var(--accent-wash);
	padding: 0.35em 0.8em;
	border-radius: var(--radius-pill);
	text-decoration: none;
}
.llmic-article__header .entry-title {
	font-size: var(--step-5);
	margin: var(--space-s) 0 var(--space-xs);
}
.llmic-dek {
	font-size: var(--step-1);
	line-height: var(--leading-snug);
	color: var(--ink-2);
	margin: 0 auto var(--space-m);
	max-width: 60ch;
}

/* --- Meta row ----------------------------------------------------------- */
.llmic-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-2xs);
	font-size: var(--step--1);
	color: var(--ink-3);
}
.llmic-meta__avatar { border-radius: var(--radius-pill); }
.llmic-meta__by a { color: var(--ink); font-weight: 600; text-decoration: none; }
.llmic-meta__updated { color: var(--accent-strong); font-weight: 600; }
.llmic-meta__dot { opacity: 0.5; }
.llmic-meta__actions { display: inline-flex; gap: var(--space-2xs); margin-left: var(--space-2xs); }
.llmic-listen { padding: 0.4em 0.8em; font-size: var(--step--1); }
.llmic-listen.is-playing { color: var(--accent-strong); border-color: var(--accent-strong); }

/* --- Hero --------------------------------------------------------------- */
.llmic-hero {
	margin: 0 auto var(--space-l);
	max-width: 980px;
	background: var(--surface-2); /* subtle skeleton while the image loads */
	border-radius: var(--radius-l);
	overflow: hidden;
	box-shadow: var(--shadow-2);
}
.llmic-hero img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-l);
}
.llmic-hero figcaption {
	margin-top: var(--space-2xs);
	font-size: var(--step--1);
	color: var(--ink-3);
	text-align: center;
}

/* --- Reading column ---------------------------------------------------- */
.llmic-article__grid {
	display: block;
	max-width: var(--measure);
	margin-inline: auto;
}
.llmic-article__body { min-width: 0; }

/* --- Body typography (the material) ------------------------------------ */
.entry-content {
	font-size: var(--step-0);
	line-height: var(--leading-body);
	color: var(--ink);
}
.entry-content > * { max-width: var(--measure); }
.entry-content > figure,
.entry-content > .wp-block-image,
.entry-content > pre { max-width: 100%; }
.entry-content h2 { font-size: var(--step-3); margin-top: var(--space-l); }
.entry-content h3 { font-size: var(--step-2); margin-top: var(--space-m); }
.entry-content p,
.entry-content ul,
.entry-content ol { margin-block: var(--space-s); }
.entry-content a { font-weight: 500; }
.entry-content blockquote {
	margin: var(--space-m) 0;
	padding-left: var(--space-m);
	border-left: 3px solid var(--accent);
	font-size: var(--step-1);
	color: var(--ink-2);
	font-style: normal;
}
.entry-content img { border-radius: var(--radius-m); }

/* ============================================================================
   CONTENT COMPONENTS — reusable, apply automatically inside .entry-content
   ========================================================================== */

/* More air between major sections (rhythm). */
.entry-content > h2 { margin-top: var(--space-xl); }
.entry-content > h3 { margin-top: var(--space-l); }
.entry-content > p,
.entry-content > ul,
.entry-content > ol { margin-block: var(--space-s); }

/* --- Lists: accent markers; opt-in checklist --------------------------- */
.entry-content ul li::marker { color: var(--accent); }
.entry-content ol li::marker { color: var(--accent-strong); font-weight: 700; }

.entry-content ul.llmic-checklist { list-style: none; padding-left: 0; }
.entry-content ul.llmic-checklist li {
	position: relative;
	padding-left: 2em;
	margin-block: var(--space-2xs);
}
.entry-content ul.llmic-checklist li::marker { content: ""; }
.entry-content ul.llmic-checklist li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.1em;
	width: 1.3em; height: 1.3em;
	background: var(--accent-wash);
	border-radius: var(--radius-s);
}
.entry-content ul.llmic-checklist li::after {
	content: "";
	position: absolute;
	left: 0.46em; top: 0.28em;
	width: 0.34em; height: 0.66em;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(45deg);
}

/* --- Tables (auto-wrapped in .llmic-table-wrap by reader.js) ------------ */
.llmic-table-wrap {
	margin: var(--space-l) 0;
	overflow: auto;               /* clips the rounded corners + scrolls on mobile */
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-1);
	-webkit-overflow-scrolling: touch;
}
.entry-content table {
	width: 100%;
	border-collapse: separate;    /* lets the wrapper clip the corners cleanly */
	border-spacing: 0;
	margin: 0;
	font-size: var(--step--1);
	line-height: var(--leading-snug);
}
.entry-content table th,
.entry-content table td {
	padding: 0.85em 1.15em;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
/* Brand-tinted header (no heavy black rule). */
.entry-content table thead th {
	background: var(--accent-wash);
	color: var(--accent-strong);
	font-weight: var(--llmic-weight-semibold);
	border-bottom: 2px solid color-mix(in srgb, var(--accent) 38%, var(--line));
	white-space: nowrap;
}
.entry-content table tbody tr:last-child td { border-bottom: 0; }
.entry-content table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--accent-wash) 45%, transparent); }

/* --- Step headings (auto-tagged by reader.js for "Step N …") ----------- */
.entry-content h2.llmic-step {
	display: flex;
	align-items: center;
	gap: var(--space-s);
	margin-top: var(--space-xl);
	padding-top: var(--space-m);
	border-top: 1px solid var(--line);
}
.llmic-step__num {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7em;
	height: 1.7em;
	border-radius: var(--radius-pill);
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-mono);
	font-size: 0.6em;
	font-weight: 700;
}
.llmic-step__text { flex: 1; }

/* --- Callouts (opt-in: .llmic-callout[ --tip | --warning ]) ------------- */
.llmic-callout {
	margin: var(--space-l) 0;
	padding: var(--space-m);
	border-radius: var(--radius-l);
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	background: var(--surface-1);
}
.llmic-callout > :first-child { margin-top: 0; }
.llmic-callout > :last-child { margin-bottom: 0; }
.llmic-callout--tip { border-left-color: var(--success); }
.llmic-callout--warning { border-left-color: var(--warning); }
.llmic-references a[href^="http"]::after { content: " ↗"; font-size: 0.85em; }

/* --- Pull-quote (Gutenberg block or .llmic-pullquote) ------------------- */
.entry-content .wp-block-pullquote,
.entry-content .llmic-pullquote {
	border-top: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	border-left: 0;
	padding: var(--space-l) var(--space-m);
	margin: var(--space-xl) 0;
	text-align: center;
	font-style: normal;
}
.entry-content .wp-block-pullquote p,
.entry-content .llmic-pullquote p {
	font-size: var(--step-2);
	line-height: var(--leading-snug);
	font-weight: var(--llmic-weight-semibold);
	color: var(--ink);
	margin: 0;
}

/* --- Figures + captions ------------------------------------------------- */
.entry-content figure { margin: var(--space-l) 0; }
.entry-content figcaption {
	margin-top: var(--space-2xs);
	font-size: var(--step--1);
	color: var(--ink-3);
	text-align: center;
}

/* --- Inline product CTA card ------------------------------------------- */
.llmic-cta {
	max-width: var(--measure);
	margin: var(--space-xl) auto;
	padding: var(--space-l);
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, var(--accent), var(--brand-600));
	color: #fff;
	text-align: center;
	box-shadow: var(--shadow-2);
}
.llmic-cta__title { color: #fff; font-size: var(--step-2); margin: 0 0 var(--space-2xs); letter-spacing: var(--tracking-tight); }
.llmic-cta__text { color: rgba(255, 255, 255, 0.92); margin: 0 auto var(--space-m); max-width: 52ch; }
.llmic-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	background: #fff;
	color: var(--accent-strong);
	font-weight: 700;
	padding: 0.85em 1.6em;
	border-radius: var(--radius-m);
	text-decoration: none;
	transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.llmic-cta__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); color: var(--accent-strong); }

/* --- References / sources (auto-wrapped by reader.js) ------------------ */
.llmic-references {
	max-width: var(--measure);
	margin: var(--space-xl) 0;
	padding: var(--space-m) var(--space-l) var(--space-l);
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
}
.llmic-references > h2,
.llmic-references > h3 {
	margin: 0 0 var(--space-s);
	font-size: var(--step-1);
	display: flex;
	align-items: center;
	gap: var(--space-2xs);
}
.llmic-references > h2::before,
.llmic-references > h3::before {
	content: "";
	width: 1.1em;
	height: 1.1em;
	flex: none;
	background: var(--accent-strong);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
}
.llmic-references ol,
.llmic-references ul {
	margin: 0;
	padding-left: 1.6em;
	font-size: var(--step--1);
	color: var(--ink-2);
	counter-reset: ref;
}
.llmic-references li {
	margin-block: var(--space-2xs);
	line-height: var(--leading-snug);
	padding-left: 0.3em;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.llmic-references li::marker {
	color: var(--accent-strong);
	font-family: var(--font-mono);
	font-weight: 700;
}
.llmic-references a {
	color: var(--accent-strong);
	overflow-wrap: anywhere; /* break long URLs so they stay inside the card */
	word-break: break-word;
	text-underline-offset: 0.15em;
}
@media (max-width: 600px) {
	.llmic-references { padding: var(--space-m) var(--space-m) var(--space-l); }
	.llmic-references ol, .llmic-references ul { padding-left: 1.2em; }
}

/* --- Key takeaways (speakable) ----------------------------------------- */
.llmic-takeaways {
	padding: var(--space-m);
	margin-bottom: var(--space-l);
	border-left: 3px solid var(--accent);
}
.llmic-takeaways__title {
	margin: 0 0 var(--space-2xs);
	font-family: var(--font-mono);
	font-size: var(--step--1);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--accent-strong);
}
.llmic-takeaways ul { margin: 0; padding-left: 1.1em; }
.llmic-takeaways li { margin-block: var(--space-3xs); color: var(--ink); }

/* --- Code blocks (developer credibility) -------------------------------- */
.entry-content pre {
	position: relative;
	background: var(--code-bg);
	color: var(--code-ink);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: var(--space-m);
	overflow-x: auto;
	font-family: var(--font-mono);
	font-size: 0.9em;
	line-height: 1.6;
}
.entry-content :not(pre) > code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	background: var(--code-bg);
	padding: 0.15em 0.4em;
	border-radius: var(--radius-s);
}
.llmic-copy {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	padding: 0.3em 0.6em;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	background: var(--surface-1);
	color: var(--ink-2);
	cursor: pointer;
	opacity: 0;
	transition: opacity var(--dur-fast) var(--ease-out);
}
.entry-content pre:hover .llmic-copy { opacity: 1; }

/* --- Table of contents -------------------------------------------------- */
/* One native details/summary map in source order, before article prose. */
.llmic-toc {
	font-size: var(--step--1);
	position: relative;
	margin: 0 0 var(--space-l);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface-1);
	box-shadow: var(--shadow-1);
}
.llmic-toc__details { padding: var(--space-s); }
.llmic-toc__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	font-family: var(--font-mono);
	text-transform: uppercase;
	letter-spacing: var(--tracking-wide);
	color: var(--ink-2);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.llmic-toc__title::-webkit-details-marker { display: none; }
.llmic-toc__title span::before { content: "+"; color: var(--accent-strong); font-size: 1.2em; }
.llmic-toc__details[open] .llmic-toc__title span::before { content: "−"; }
.llmic-toc ol {
	list-style: none;
	margin: var(--space-s) 0 0;
	padding: 0 0 0 2.4rem;
	position: relative;
	counter-reset: llmic-toc;
}
.llmic-toc ol::before { /* rail track */
	content: "";
	position: absolute;
	left: 1.05rem;
	top: 0.7rem;
	bottom: 0.7rem;
	width: 2px;
	background: var(--line);
	border-radius: 2px;
}
.llmic-toc ol::after { /* rail progress fill */
	content: "";
	position: absolute;
	left: 1.05rem;
	top: 0.7rem;
	width: 2px;
	height: min(var(--toc-progress, 0%), calc(100% - 1.4rem));
	background: linear-gradient(var(--accent), var(--brand-400));
	border-radius: 2px;
	transition: height 140ms linear;
}
.llmic-toc li { position: relative; margin-block: var(--space-2xs); }
.llmic-toc__l2 { counter-increment: llmic-toc; }
.llmic-toc__l2 > a::before { /* numbered node */
	content: counter(llmic-toc);
	position: absolute;
	left: -2.05rem;
	top: -0.05em;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 700;
	background: var(--surface-1);
	color: var(--ink-3);
	border: 1.5px solid var(--line-strong);
	transition: transform var(--dur-base) var(--ease-spring), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
	z-index: 1;
}
.llmic-toc__l3 { padding-left: var(--space-s); }
.llmic-toc__l3 > a::before { /* small node for sub-sections */
	content: "";
	position: absolute;
	left: -2.58rem;
	top: 0.5em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--surface-1);
	border: 1.5px solid var(--line-strong);
	z-index: 1;
}
.llmic-toc a {
	display: block;
	color: var(--ink-3);
	text-decoration: none;
	line-height: 1.35;
	padding-block: 0.15em;
	transition: color var(--dur-fast) var(--ease-out);
}
.llmic-toc a:hover { color: var(--ink); }
.llmic-toc__l2 > a:hover::before { border-color: var(--accent); color: var(--accent-strong); }
/* visited (scrolled past) */
.llmic-toc__l2.is-visited > a::before { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.llmic-toc__l3.is-visited > a::before { background: var(--accent); border-color: var(--accent); }
/* active */
.llmic-toc a.is-active { color: var(--accent-strong); font-weight: 700; }
.llmic-toc__l2 > a.is-active::before {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
	box-shadow: 0 0 0 5px var(--accent-wash);
	transform: scale(1.12);
}
.llmic-toc__l3 > a.is-active::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }

/* --- Tags --------------------------------------------------------------- */
.llmic-tags { margin: var(--space-l) 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.llmic-tags a {
	font-size: var(--step--1);
	color: var(--ink-2);
	background: var(--surface-2);
	padding: 0.35em 0.8em;
	border-radius: var(--radius-pill);
	text-decoration: none;
}
.llmic-tags a:hover { color: var(--accent-strong); }

/* --- FAQ ---------------------------------------------------------------- */
.llmic-faq { margin: var(--space-xl) 0; max-width: var(--measure); }
.llmic-faq h2 { font-size: var(--step-3); margin-bottom: var(--space-s); }
.llmic-faq__item { border-bottom: 1px solid var(--line); }
.llmic-faq__q {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: var(--space-s) 0;
	font: inherit;
	font-weight: 600;
	font-size: var(--step-1);
	color: var(--ink);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: var(--space-s);
}
/* Kill Newspack's dark button hover/focus background on the FAQ toggle. */
.llmic-faq .llmic-faq__q,
.llmic-faq .llmic-faq__q:hover,
.llmic-faq .llmic-faq__q:focus,
.llmic-faq .llmic-faq__q:active,
.llmic-faq .llmic-faq__q[aria-expanded="true"] {
	background: transparent;
	box-shadow: none;
	color: var(--ink);
}
.llmic-faq .llmic-faq__q:hover { color: var(--accent-strong); }
.llmic-faq__q::after { content: "+"; color: var(--accent-strong); }
.llmic-faq__q[aria-expanded="true"]::after { content: "−"; }
.llmic-faq__a {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows var(--dur-base) var(--ease-out);
}
.llmic-faq__a > * { overflow: hidden; }
.llmic-faq.is-enhanced .llmic-faq__q[aria-expanded="false"] + .llmic-faq__a { grid-template-rows: 0fr; }
.llmic-faq__q[aria-expanded="true"] + .llmic-faq__a { grid-template-rows: 1fr; padding-bottom: var(--space-s); }

/* --- Author card -------------------------------------------------------- */
.llmic-author {
	position: relative;
	display: flex;
	gap: var(--space-m);
	padding: var(--space-l);
	margin: var(--space-xl) 0 0;
	max-width: var(--measure);
	overflow: hidden;
}
/* A soft brand glow in the corner — restrained depth. */
.llmic-author::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -8%;
	width: 45%;
	height: 130%;
	background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 68%);
	pointer-events: none;
}
.llmic-author__avatar-wrap { flex: none; position: relative; z-index: 1; }
.llmic-author__avatar {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: var(--radius-pill);
	box-shadow: 0 0 0 3px var(--surface-1), 0 0 0 4px var(--accent-wash);
}
.llmic-author__body { position: relative; z-index: 1; min-width: 0; }
.llmic-author__eyebrow {
	margin: 0 0 var(--space-3xs);
	font-family: var(--font-mono);
	font-size: var(--step--1);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--ink-3);
}
.llmic-author__name {
	margin: 0 0 var(--space-3xs);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-2);
	letter-spacing: var(--tracking-tight);
}
.llmic-author__role {
	margin: 0 0 var(--space-2xs);
	font-family: var(--font-mono);
	font-size: var(--step--1);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--accent-strong);
}
.llmic-author__bio { margin: 0 0 var(--space-m); color: var(--ink-2); font-size: var(--step-0); line-height: var(--leading-snug); }
.llmic-author__links { display: flex; align-items: center; gap: var(--space-s); flex-wrap: wrap; }
.llmic-author__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	font-size: var(--step--1);
	color: var(--accent-strong);
	text-decoration: none;
	padding: 0.55em 1em;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-pill);
	transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.llmic-author__more:hover { border-color: var(--accent); background: var(--accent-wash); transform: translateY(-1px); }
.llmic-author__social { display: inline-flex; gap: var(--space-2xs); }
.llmic-author__social .llmic-social__link {
	width: 2.3rem;
	height: 2.3rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	align-items: center;
	justify-content: center;
	color: var(--ink-2);
}
.llmic-author__social .llmic-social__link:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

@media (max-width: 560px) {
	.llmic-author { flex-direction: column; gap: var(--space-s); padding: var(--space-m); }
}

/* --- Related ------------------------------------------------------------ */
.llmic-related {
	max-width: var(--content-max);
	margin: var(--space-l) auto;
	padding-inline: var(--space-m);
	border-top: 1px solid var(--line);
	padding-top: var(--space-l);
}
.llmic-related__title { font-size: var(--step-3); margin-bottom: var(--space-m); }
.llmic-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--space-m);
}
.llmic-related__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	color: var(--ink);
	transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.llmic-related__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.llmic-related__card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.llmic-related__cat {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: var(--tracking-wide);
	color: var(--accent-strong);
	padding: var(--space-s) var(--space-s) 0;
}
.llmic-related__headline { font-weight: var(--llmic-weight-semibold); padding: var(--space-3xs) var(--space-s) var(--space-s); line-height: var(--leading-snug); }

/* --- Back to top -------------------------------------------------------- */
.llmic-top {
	position: fixed;
	bottom: var(--space-m);
	right: var(--space-m);
	width: 2.8rem;
	height: 2.8rem;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: var(--surface-glass);
	-webkit-backdrop-filter: blur(var(--chrome-blur));
	backdrop-filter: blur(var(--chrome-blur));
	color: var(--ink);
	cursor: pointer;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
	z-index: var(--llmic-z-floating);
}
.llmic-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
