/*
Theme Name: Abscode Journal
Theme URI: https://abscode.com/blog/
Author: Abscode Technologies LLP
Author URI: https://abscode.com/
Description: The Abscode blog theme. Type, colour, spacing and the borderless, shadowless look of abscode.com, with a featured carousel, filterable article library, reading history (continue reading and picked for you), reading progress, contents list, claps, sharing, text size, image zoom, light and dark mode shared with abscode.com, and a mobile dock.
Version: 1.2.4
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abscode-journal
*/

/* ---------------------------------------------------------------- fonts */
@font-face {
	font-family: "Inter";
	src: url("https://abscode.com/fonts/inter-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("https://abscode.com/fonts/jetbrains-mono-var.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}

/* --------------------------------------------------------------- tokens
   Same token system as abscode.com. Brand hue, chroma and lightness can be
   changed by the abscode.com theme settings and follow the visitor here. */
:root {
	--brand-h: 265;
	--brand-c: .02;
	--brand-l: .42;
	--brand: oklch(var(--brand-l) var(--brand-c) var(--brand-h));
	--brand-050: color-mix(in srgb, var(--brand) 4%, white);
	--brand-100: color-mix(in srgb, var(--brand) 10%, white);
	--brand-200: color-mix(in srgb, var(--brand) 18%, white);
	--brand-700: color-mix(in srgb, var(--brand) 84%, black);
	--brand-ink: color-mix(in srgb, var(--brand) 22%, #0B0F14);
	--brand-text: oklch(min(var(--brand-l), .52) var(--brand-c) var(--brand-h));
	--brand-block: oklch(min(var(--brand-l), .4) var(--brand-c) var(--brand-h));
	--brand-fg: #fff;

	--ink-900: #14181C;
	--ink-800: #23292F;
	--ink-700: #333A40;
	--ink-500: #5D686F;
	--ink-400: #697075;

	--surface-0: #FFFFFF;
	--surface-1: color-mix(in srgb, var(--brand) 3.5%, white);
	--surface-2: color-mix(in srgb, var(--brand) 7.5%, white);
	--surface-3: color-mix(in srgb, var(--brand) 12%, white);

	--bp-line: color-mix(in srgb, var(--brand) 9%, transparent);
	--bp-line-2: color-mix(in srgb, var(--brand) 14%, transparent);
	--bp-cell: 46px;

	--code-bg: var(--brand-ink);
	--code-text: color-mix(in srgb, var(--brand-100) 55%, white);
	--code-accent: color-mix(in srgb, var(--brand) 62%, white);
	--focus: var(--brand-700);

	/* Same container as abscode.com: 1360px box, gutter clamp(16px, 1.6vw, 24px). */
	--wrap: 1360px;
	--wrap-mid: 900px;
	--pad: clamp(16px, 1.6vw, 24px);
	--header-h: 68px;
	--dock-h: 64px;

	--r-xs: 8px;
	--r-sm: 12px;
	--r: 16px;
	--r-lg: 24px;
	--r-xl: 36px;
	--r-block: 48px;
	--pill: 999px;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--speed: .3s;
	--speed-fast: .18s;

	--font: Inter, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--abj-text-scale: 1;

	color-scheme: light;
}

:root[data-theme="dark"] {
	--ink-900: #EEF2F6;
	--ink-800: #D9E0E6;
	--ink-700: #C3CBD2;
	--ink-500: #8E99A2;
	--ink-400: #7D878F;
	--surface-0: color-mix(in srgb, var(--brand) 5%, #0B0F14);
	--surface-1: color-mix(in srgb, var(--brand) 9%, #10151B);
	--surface-2: color-mix(in srgb, var(--brand) 15%, #161C23);
	--surface-3: color-mix(in srgb, var(--brand) 22%, #1A2129);
	--brand-text: oklch(max(var(--brand-l), .72) var(--brand-c) var(--brand-h));
	--brand-050: color-mix(in srgb, var(--brand) 14%, #10151B);
	--brand-100: color-mix(in srgb, var(--brand) 24%, #151B22);
	--brand-200: color-mix(in srgb, var(--brand) 36%, #151B22);
	--bp-line: color-mix(in srgb, var(--brand) 16%, transparent);
	--bp-line-2: color-mix(in srgb, var(--brand) 22%, transparent);
	--code-bg: color-mix(in srgb, var(--brand) 10%, #070A0E);
	--focus: #fff;
	color-scheme: dark;
}

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
	background: var(--surface-0);
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink-700);
	background: var(--surface-0);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss01";
	overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--ink-900); margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-200); color: var(--ink-900); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.abj-skip {
	position: fixed; top: 12px; left: 12px; z-index: 200;
	padding: 10px 16px; border-radius: var(--pill);
	background: var(--brand); color: #fff; font-weight: 600; font-size: .875rem;
	transform: translateY(-160%); transition: transform var(--speed-fast) var(--ease);
}
.abj-skip:focus { transform: none; }

.abj-wrap { box-sizing: border-box; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.abj-wrap--mid { max-width: var(--wrap-mid); }
.abj-main { display: block; min-height: 50vh; outline: none; }

.abj-ic { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------------------------------------- elements */
.abj-eyebrow {
	font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--brand-text); margin-bottom: 14px;
}
.abj-eyebrow--on-dark { color: color-mix(in srgb, #fff 78%, var(--brand)); }
.abj-h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.035em; line-height: 1.08; }
.abj-h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.03em; line-height: 1.15; }

.abj-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 40px; padding: 10px 22px; border-radius: var(--pill);
	font-size: .875rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
	transition: background-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}
.abj-btn:active { transform: scale(.98); }
.abj-btn .abj-ic { width: 16px; height: 16px; transition: transform var(--speed-fast) var(--ease); }
.abj-btn:hover .abj-ic { transform: translateX(2px); }
.abj-btn--primary { background: var(--brand); color: var(--brand-fg); }
.abj-btn--primary:hover { background: var(--brand-700); }
.abj-btn--soft { background: var(--brand-050); color: var(--ink-900); }
:root:not([data-theme="dark"]) .abj-btn--soft { background: color-mix(in srgb, var(--brand) 7%, white); }
.abj-btn--soft:hover { background: var(--brand-100); }
.abj-btn--ghost { color: var(--ink-900); padding-inline: 14px; }
.abj-btn--ghost:hover { background: var(--surface-2); }
.abj-btn--white { background: #fff; color: var(--brand-block); }
.abj-btn--white:hover { background: color-mix(in srgb, #fff 90%, var(--brand)); }
.abj-btn--glass { background: rgba(255, 255, 255, .14); color: #fff; }
.abj-btn--glass:hover { background: rgba(255, 255, 255, .24); }
.abj-btn--block { width: 100%; }
.abj-btn--lg { min-height: 48px; padding: 12px 28px; font-size: .9375rem; }

.abj-iconbtn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pill);
	color: var(--ink-800); transition: background-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.abj-iconbtn:hover { background: var(--surface-2); color: var(--ink-900); }
.abj-iconbtn .abj-ic { width: 20px; height: 20px; }
.abj-iconbtn--soft { background: var(--surface-1); }

.abj-linkbtn { color: inherit; font-size: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.abj-linkbtn:hover { color: var(--brand-text); }

.abj-tag {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
	padding: 5px 11px; border-radius: var(--pill);
	background: var(--brand-050); color: var(--brand-text);
	font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
	transition: background-color var(--speed-fast) var(--ease);
}
:root:not([data-theme="dark"]) .abj-tag { background: color-mix(in srgb, var(--brand) 8%, white); }
a.abj-tag:hover { background: var(--brand-100); }
.abj-tag--on-dark { background: rgba(255, 255, 255, .14) !important; color: #fff; }
a.abj-tag--on-dark:hover { background: rgba(255, 255, 255, .24) !important; }

.abj-new {
	align-self: flex-start;
	display: inline-flex; padding: 4px 10px; border-radius: var(--pill);
	background: #fff; color: var(--brand-block); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.abj-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	color: var(--ink-500); font-size: .8125rem; line-height: 1.4;
}
.abj-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.abj-meta .abj-ic { width: 14px; height: 14px; }
.abj-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.abj-meta__claps { color: var(--brand-text); font-weight: 600; }
.abj-meta--on-dark { color: rgba(255, 255, 255, .78); }
.abj-meta--on-dark .abj-meta__claps { color: #fff; }

.abj-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill);
	background: var(--brand-050); color: var(--brand-text); font-size: .75rem; font-weight: 600;
}
.abj-badge .abj-ic { width: 13px; height: 13px; }

/* --------------------------------------------------- page loader (top) */
.abj-loader { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.abj-loader span { display: block; height: 100%; width: 0; background: var(--brand); opacity: 0; transition: width .6s var(--ease), opacity .3s; }
.abj-loader.is-on span { width: 72%; opacity: 1; transition: width 8s cubic-bezier(.1, .7, .1, 1), opacity .2s; }
.abj-loader.is-done span { width: 100%; opacity: 0; transition: width .2s, opacity .4s .2s; }

/* Logged-in admin bar: keep sticky parts below it */
.admin-bar { --abj-adminbar: 32px; }
@media (max-width: 782px) { .admin-bar { --abj-adminbar: 46px; } }
@media (max-width: 600px) { .admin-bar { --abj-adminbar: 0px; } }

/* --------------------------------------------------------------- header */
.abj-header {
	position: relative; z-index: 90;
	background: color-mix(in srgb, var(--surface-0) 0%, transparent);
	transition: background-color var(--speed) var(--ease), backdrop-filter var(--speed) var(--ease);
}

.abj-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.abj-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-900); flex: none; }
.abj-wordmark { height: 19px; width: auto; aspect-ratio: 1328.5 / 238.8; color: currentColor; }
.abj-wordmark__dot { fill: var(--brand); }
.abj-brand__tag {
	display: inline-flex; padding: 4px 10px; border-radius: var(--pill);
	background: var(--brand-050); color: var(--brand-text); font-size: .75rem; font-weight: 600; letter-spacing: .01em;
}
:root:not([data-theme="dark"]) .abj-brand__tag { background: color-mix(in srgb, var(--brand) 8%, white); }
.abj-nav { flex: 1 1 auto; min-width: 0; }
.abj-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.abj-nav__list::-webkit-scrollbar { display: none; }
.abj-nav__list a {
	display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--pill);
	font-size: .875rem; font-weight: 500; color: var(--ink-700); white-space: nowrap;
	transition: background-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.abj-nav__list a:hover { background: var(--surface-2); color: var(--ink-900); }
.abj-nav__list a.is-current { background: var(--surface-2); color: var(--ink-900); }
.abj-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.abj-show-sm { display: none !important; }

.abj-progress { position: fixed; left: 0; right: 0; top: var(--abj-adminbar, 0px); height: 3px; z-index: 96; background: transparent; pointer-events: none; }
.abj-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--brand); }

/* --------------------------------------------------------------- drawer */
.abj-drawer { position: fixed; inset: 0; z-index: 110; }
.abj-drawer[hidden] { display: none; }
.abj-drawer__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink-900) 38%, transparent); opacity: 0; transition: opacity var(--speed) var(--ease); }
.abj-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
	background: var(--surface-0); padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
	display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
	transform: translateX(100%); transition: transform var(--speed) var(--ease);
}
.abj-drawer.is-open .abj-drawer__scrim { opacity: 1; }
.abj-drawer.is-open .abj-drawer__panel { transform: none; }
.abj-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.abj-drawer__label { margin: 14px 4px 6px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }
.abj-drawer__list { list-style: none; display: grid; gap: 2px; }
.abj-drawer__list a { display: block; padding: 12px 14px; border-radius: var(--r-sm); font-size: 1.0625rem; font-weight: 500; color: var(--ink-900); }
.abj-drawer__list a:hover, .abj-drawer__list a.is-current { background: var(--surface-1); }
.abj-drawer__list--small a { font-size: .9375rem; padding-block: 10px; color: var(--ink-700); }
.abj-drawer__cta { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; }

/* --------------------------------------------------------------- search */
.abj-search { position: fixed; inset: 0; z-index: 115; display: grid; justify-items: center; align-items: start; padding: 10vh 16px 16px; }
.abj-search[hidden] { display: none; }
.abj-search__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink-900) 34%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--speed) var(--ease); }
.abj-search__panel {
	position: relative; width: min(680px, 100%); max-height: 78vh; overflow: auto;
	background: var(--surface-0); border-radius: var(--r-lg); padding: 10px;
	transform: translateY(-10px) scale(.98); opacity: 0; transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.abj-search.is-open .abj-search__scrim { opacity: 1; }
.abj-search.is-open .abj-search__panel { transform: none; opacity: 1; }
.abj-search__form { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: var(--r); background: var(--surface-1); }
.abj-search__form > .abj-ic { width: 20px; height: 20px; color: var(--ink-500); }
.abj-search__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.0625rem; padding: 10px 0; }
.abj-search__form input::-webkit-search-cancel-button { display: none; }
.abj-search__results { display: grid; gap: 2px; padding: 8px 2px 2px; }
.abj-search__results:empty { display: none; }
.abj-sr { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r-sm); }
.abj-sr:hover, .abj-sr.is-active { background: var(--surface-1); }
.abj-sr__img { width: 56px; height: 42px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.abj-sr__img img { width: 100%; height: 100%; object-fit: cover; }
.abj-sr__t { font-weight: 600; color: var(--ink-900); font-size: .9375rem; line-height: 1.35; }
.abj-sr__m { font-size: .75rem; color: var(--ink-500); margin-top: 2px; }
.abj-sr-empty { padding: 18px 14px; color: var(--ink-500); font-size: .9375rem; }
.abj-search__hint { padding: 8px 14px 6px; font-size: .75rem; color: var(--ink-500); }

/* ----------------------------------------------------------------- hero */
.abj-hero, .abj-archive-head, .abj-post__head { position: relative; isolation: isolate; }
.abj-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.abj-hero__grid {
	position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(to right, var(--bp-line) 1px, transparent 1px),
		linear-gradient(to bottom, var(--bp-line) 1px, transparent 1px);
	background-size: var(--bp-cell) var(--bp-cell);
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
}
.abj-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; line-height: 1.05; max-width: 16ch; }
.abj-hero__text { margin-top: 18px; max-width: 62ch; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.65; color: var(--ink-500); }

/* -------------------------------------------------------- featured slider */
.abj-feat { position: relative; isolation: isolate; padding: clamp(14px, 2.2vw, 28px) 0 clamp(28px, 4vw, 48px); }
.abj-feat > .abj-hero__grid { height: 420px; }
.abj-feat__stage { --feat-split: 56.5%; --feat-out: cubic-bezier(.16, 1, .3, 1); position: relative; display: grid; border-radius: var(--r-xl); overflow: hidden; background: var(--brand-block); }
.abj-feat__slide {
	grid-area: 1 / 1; display: grid; grid-template-columns: var(--feat-split) minmax(0, 1fr);
	opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.abj-feat__slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; z-index: 1; }
.abj-feat__media { position: relative; display: block; overflow: hidden; background: var(--brand-ink); aspect-ratio: 16 / 9; place-self: stretch; min-width: 0; }
.abj-feat__media img, .abj-feat__media .abj-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abj-feat__media::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, transparent 78%, color-mix(in srgb, var(--brand-block) 26%, transparent)); }
.abj-feat__media:has(.abj-ph)::after { display: none; }
.abj-feat__media .abj-card__read { z-index: 4; }

/* Image forms from pixel dots: a veil hides the photo (still painted, so LCP is not delayed),
   app.js draws the dots on a canvas, then the canvas resolves into the photo.
   Without JavaScript or with reduced motion there is no veil. */
.abj-feat__slide.is-active .abj-feat__media img { animation: abj-drift 14s linear both; transform-origin: 50% 45%; }
@keyframes abj-drift { from { transform: scale(1); } to { transform: scale(1.05); } }
.abj-px .abj-feat__media:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--brand-ink); opacity: 0; }
.abj-px .abj-feat__slide:not(.is-formed) .abj-feat__media:has(> img)::before { opacity: 1; }
/* Safety net if the script never runs: only counts while the slide is on screen, so hidden slides keep their veil. */
.abj-px .abj-feat__slide.is-active:not(.is-formed) .abj-feat__media:has(> img)::before { animation: abj-veil-safe .6s 3.2s forwards; }
.abj-px .abj-feat__slide:not(.is-formed) .abj-feat__media img { animation: none; }
@keyframes abj-veil-safe { to { opacity: 0; } }
.abj-feat__px { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.abj-feat__px canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.abj-feat__px .is-soft { opacity: 0; transition: opacity .32s cubic-bezier(.65, 0, .35, 1); }
.abj-feat__px.is-soften .is-soft { opacity: 1; }
.abj-feat__px.is-out { opacity: 0; transition: opacity .6s var(--ease); }
.abj-feat__px[hidden] { display: none; }
.abj-feat__body {
	position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px;
	padding: clamp(24px, 3vw, 44px) clamp(24px, 3.2vw, 48px);
	color: #fff;
	background:
		radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent) 0%, transparent 60%),
		var(--brand-block);
}
.abj-feat__stage.has-ctrl .abj-feat__body { padding-bottom: calc(clamp(24px, 3vw, 44px) + 50px); }
.abj-feat__body::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
	background-image: radial-gradient(circle at 100% 100%, transparent 0 110px, rgba(255, 255, 255, .07) 111px 112px, transparent 113px 190px, rgba(255, 255, 255, .055) 191px 192px, transparent 193px 280px, rgba(255, 255, 255, .04) 281px 282px, transparent 283px);
}
.abj-feat__body > * { position: relative; }
/* Text choreography: label, headline words, excerpt, meta and button each enter on their own beat. */
.abj-feat__slide.is-active .abj-feat__body::before { animation: abj-rings 1.8s var(--feat-out) both; }
@keyframes abj-rings { from { opacity: 0; transform: scale(.86); } to { opacity: .55; transform: none; } }
.abj-feat__body::before { transform-origin: 100% 100%; }
.abj-feat__slide.is-active .abj-feat__top { animation: abj-soft .8s var(--feat-out) .1s both; }
.abj-feat__title .abj-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.abj-feat__title .abj-w > span { display: inline-block; transform-origin: 0 100%; }
.abj-feat__slide.is-active .abj-feat__title .abj-w > span { animation: abj-word .95s var(--feat-out) both; animation-delay: calc(.2s + var(--i, 0) * 48ms); }
.abj-feat__slide.is-active .abj-feat__exc { animation: abj-soft .9s var(--feat-out) .5s both; }
.abj-feat__slide.is-active .abj-feat__foot .abj-meta { animation: abj-soft .8s var(--feat-out) .62s both; }
.abj-feat__slide.is-active .abj-feat__cta { animation: abj-f-pop .8s var(--feat-out) .74s both; }
@keyframes abj-soft { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes abj-word { from { opacity: 0; transform: translateY(105%) rotate(5deg); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes abj-f-pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.abj-feat__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.abj-feat__label { display: inline-flex; align-items: center; gap: 7px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-right: 4px; }
.abj-feat__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.abj-feat__label.is-new { padding: 4px 10px; border-radius: var(--pill); background: #fff; color: var(--brand-block); letter-spacing: .08em; }
.abj-feat__label.is-new::before { background: var(--brand); }
.abj-feat__title { color: #fff; font-size: clamp(1.5rem, 2.3vw, 2.25rem); letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.abj-feat__title a { text-decoration: none; transition: opacity var(--speed) var(--ease); }
.abj-feat__title a:hover { opacity: .88; }
.abj-feat__exc { color: rgba(255, 255, 255, .8); font-size: 1rem; line-height: 1.6; max-width: 46ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.abj-feat__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 2px; }
.abj-feat__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 18px; border-radius: var(--pill); background: #fff; color: var(--brand-block); font-size: .875rem; font-weight: 600; transition: background-color var(--speed-fast) var(--ease); }
.abj-feat__cta .abj-ic { width: 16px; height: 16px; transition: transform var(--speed-fast) var(--ease); }
.abj-feat__cta:hover { background: color-mix(in srgb, #fff 88%, var(--brand)); }
.abj-feat__cta:hover .abj-ic { transform: translateX(3px); }
.abj-feat__ctrl {
	position: absolute; z-index: 3; left: calc(var(--feat-split) + clamp(24px, 3.4vw, 52px)); right: clamp(24px, 3.4vw, 52px); bottom: clamp(22px, 2.8vw, 38px);
	display: flex; align-items: center; gap: 14px; color: #fff;
}
.abj-feat__count { display: inline-flex; align-items: baseline; gap: 4px; font-size: .75rem; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.abj-feat__count b { font-size: .875rem; font-weight: 600; color: #fff; }
.abj-feat__dots { display: flex; gap: 6px; flex: 1; min-width: 0; }
.abj-feat__dot { flex: 1; max-width: 56px; height: 20px; display: grid; align-items: center; }
.abj-feat__dot span { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; position: relative; }
.abj-feat__dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.abj-feat__dot.is-active span::after { transform: scaleX(1); transition: transform var(--abj-feat-ms, 6500ms) linear; }
.abj-feat__dot:hover span { background: rgba(255, 255, 255, .4); }
.abj-feat__arrows { display: flex; gap: 6px; }
.abj-feat__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background-color var(--speed-fast) var(--ease); }
.abj-feat__arrow:hover { background: rgba(255, 255, 255, .24); }
.abj-feat__arrow .abj-ic { width: 18px; height: 18px; }
.abj-feat.is-paused .abj-feat__dot.is-active span::after { transition: none; transform: scaleX(1); }

/* ------------------------------------------------------ welcome / history */
.abj-welcome { padding-bottom: clamp(20px, 3vw, 36px); }
.abj-welcome[hidden] { display: none; }
.abj-welcome__hi { font-size: .9375rem; color: var(--ink-500); margin-bottom: 12px; }
.abj-welcome__hi strong { color: var(--ink-900); font-weight: 600; }
.abj-continue {
	display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-lg);
	background: var(--brand-block); color: #fff; transition: background-color var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}
.abj-continue:hover { background: color-mix(in srgb, var(--brand-block) 88%, black); }
.abj-ring { --p: 0; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .625rem; font-weight: 700; background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, .2) 0); position: relative; }
.abj-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand-block); }
.abj-ring span { position: relative; }
.abj-continue__txt { min-width: 0; flex: 1; }
.abj-continue__k { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.abj-continue__t { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abj-continue .abj-ic { width: 20px; height: 20px; }
.abj-picks__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 26px 0 14px; }
.abj-picks__head h2 { font-size: 1.375rem; letter-spacing: -.02em; }
.abj-picks__note { font-size: .8125rem; color: var(--ink-500); }
.abj-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.abj-pick { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--surface-1); transition: background-color var(--speed-fast) var(--ease); }
.abj-pick:hover { background: var(--surface-2); }
.abj-pick__img { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.abj-pick__img img, .abj-pick__img .abj-ph { width: 100%; height: 100%; object-fit: cover; }
.abj-pick__why { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.abj-pick__t { margin-top: 4px; font-weight: 600; color: var(--ink-900); line-height: 1.35; font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.abj-pick__m { margin-top: 4px; font-size: .75rem; color: var(--ink-500); }

/* -------------------------------------------------------------- library */
.abj-library { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); }
.abj-library--top { padding-top: clamp(28px, 4vw, 48px); }
.abj-library--archive { padding-top: 8px; }
.abj-library__head { margin-bottom: 22px; display: grid; gap: 14px; }
.abj-toolbar {
	position: sticky; top: var(--abj-adminbar, 0px); z-index: 40;
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
	padding: 10px 0; margin-bottom: 8px;
}
.abj-filter-search {
	position: relative; display: flex; align-items: center; gap: 10px;
	width: min(320px, 100%); height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--surface-1);
	transition: background-color var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}
.abj-filter-search:focus-within { background: var(--surface-2); }
.abj-filter-search > .abj-ic { width: 18px; height: 18px; color: var(--ink-500); }
.abj-filter-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .9375rem; height: 100%; }
.abj-filter-search--wide { width: min(560px, 100%); height: 52px; padding-right: 6px; margin-top: 20px; }
.abj-filter-search--wide .abj-btn { min-height: 40px; }
.abj-chips { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; padding: 2px; }
.abj-chips::-webkit-scrollbar { display: none; }
.abj-chip {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--pill);
	background: var(--surface-1); color: var(--ink-800); font-size: .875rem; font-weight: 500; white-space: nowrap;
	transition: background-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.abj-chip:hover { background: var(--surface-2); color: var(--ink-900); }
.abj-chip.is-on { background: var(--brand); color: #fff; }
.abj-chip__n { font-size: .75rem; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.abj-chip.is-on .abj-chip__n { color: rgba(255, 255, 255, .78); }
.abj-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.abj-chip.is-on .abj-chip__dot { background: #fff; }
.abj-count { font-size: .8125rem; color: var(--ink-500); margin: 4px 0 18px; min-height: 1.3em; }

.abj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.abj-grid.is-loading { opacity: .5; transition: opacity var(--speed) var(--ease); }

.abj-card {
	position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg);
	background: var(--surface-1); padding: 10px; transition: background-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.abj-card:hover { background: var(--surface-2); }
.abj-card__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.abj-card__media img, .abj-card__media .abj-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.abj-card:hover .abj-card__media img, .abj-card:hover .abj-card__media .abj-ph__mark { transform: scale(1.035); }
.abj-card__read {
	position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px;
	padding: 5px 10px 5px 8px; border-radius: var(--pill); background: color-mix(in srgb, #fff 92%, transparent); color: var(--ink-900);
	font-size: .75rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.abj-card__read[hidden] { display: none; }
.abj-card__read .abj-ic { width: 13px; height: 13px; color: var(--brand); }
.abj-card__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: transparent; }
.abj-card__bar::after { content: ""; position: absolute; inset: 0; width: var(--read, 0%); background: var(--brand); }
.abj-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 14px; flex: 1; }
.abj-card__title { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.015em; }
.abj-card__title a { text-decoration: none; transition: color var(--speed) var(--ease); }
.abj-card:hover .abj-card__title a, .abj-card__title a:focus-visible { color: var(--brand-text); }
.abj-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.abj-card .abj-tag { position: relative; z-index: 2; }
.abj-card__exc { font-size: .9375rem; line-height: 1.6; color: var(--ink-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.abj-card .abj-meta { margin-top: auto; padding-top: 6px; }

/* placeholder art for posts without a featured image */
.abj-ph {
	position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden;
	background:
		radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%),
		radial-gradient(80% 100% at 100% 100%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
		var(--brand-050);
}
.abj-ph__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--bp-line-2) 1px, transparent 1px), linear-gradient(to bottom, var(--bp-line-2) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%); }
.abj-ph__mark { position: relative; color: var(--ink-900); opacity: .85; transition: transform .6s var(--ease); }
.abj-ph__wm { height: 22px; width: auto; aspect-ratio: 1328.5 / 238.8; }
.abj-ph__wm .abj-wordmark__dot { fill: var(--brand); }
.abj-card .abj-ph__tag, .abj-feat__media .abj-ph__tag { display: none; }
.abj-ph__tag { position: absolute; left: 14px; bottom: 12px; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); }

.abj-more { display: grid; justify-items: center; gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.js .abj-more[data-abj-more-wrap] .abj-pager { display: none; }
.abj-pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.abj-pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--pill); background: var(--surface-1); font-size: .875rem; font-weight: 500; }
.abj-pager .page-numbers.current { background: var(--brand); color: #fff; }
.abj-pager .page-numbers .abj-ic { width: 16px; height: 16px; }

.abj-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: clamp(40px, 7vw, 80px) 20px; border-radius: var(--r-xl); background: var(--surface-1); }
.abj-empty[hidden] { display: none; }
.abj-empty__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-0); color: var(--brand); }
.abj-empty__ic .abj-ic { width: 24px; height: 24px; }
.abj-empty h2 { font-size: 1.375rem; }
.abj-empty p { max-width: 52ch; color: var(--ink-500); }
.abj-empty .abj-btn { margin-top: 6px; }

/* --------------------------------------------------------- archive head */
.abj-archive-head { padding: clamp(28px, 5vw, 64px) 0 clamp(16px, 3vw, 28px); }
.abj-archive-head .abj-h1 { margin-top: 4px; }
.abj-archive-head__desc { margin-top: 14px; max-width: 64ch; color: var(--ink-500); font-size: 1.0625rem; }
.abj-archive-head .abj-authorbox { margin-top: 22px; max-width: 760px; }
.abj-404 { padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------------------------------------------------------- breadcrumbs */
.abj-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .8125rem; color: var(--ink-500); margin-bottom: 18px; }
.abj-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.abj-crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; }
.abj-crumbs a:hover { color: var(--brand-text); }
.abj-crumbs [aria-current] { color: var(--ink-700); }

/* --------------------------------------------------------------- article */
.abj-post__head { padding: 0; }
.abj-post__head .abj-tag { margin-bottom: 16px; }
.abj-post__title { font-size: clamp(2rem, 3.6vw, 2.875rem); letter-spacing: -.034em; line-height: 1.1; text-wrap: balance; }
.abj-post__dek { margin-top: 18px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-500); max-width: 62ch; text-wrap: pretty; }
.abj-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.abj-byline { display: inline-flex; align-items: center; gap: 10px; }
.abj-byline .abj-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.abj-byline__text { display: grid; line-height: 1.25; }
.abj-byline__name { font-size: .9375rem; font-weight: 600; color: var(--ink-900); }
.abj-byline__role { font-size: .75rem; color: var(--ink-500); }
.abj-byline:hover .abj-byline__name { color: var(--brand-text); }
.abj-textsize { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--pill); background: var(--surface-1); margin-left: auto; }
.abj-textsize button { height: 30px; min-width: 34px; padding: 0 8px; border-radius: var(--pill); font-size: .8125rem; font-weight: 600; color: var(--ink-700); }
.abj-textsize button span { font-size: .75em; margin-left: 1px; }
.abj-textsize button:hover { background: var(--surface-2); color: var(--ink-900); }
.abj-textsize__val { font-variant-numeric: tabular-nums; font-weight: 500 !important; color: var(--ink-500) !important; }
.abj-post__figure { margin: clamp(22px, 3vw, 34px) 0 clamp(26px, 3.4vw, 40px); }
.abj-post__frame { display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; }
.abj-post__frame .abj-post__img { display: block; border-radius: 0; }
.abj-post__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); background: var(--surface-1); cursor: zoom-in; }
.abj-post__figure figcaption { margin-top: 10px; font-size: .8125rem; color: var(--ink-500); text-align: center; }

.abj-post { position: relative; isolation: isolate; }
.abj-post__grid { height: 560px; }
.abj-post__layout {
	display: grid; grid-template-columns: minmax(0, 780px) 300px; gap: clamp(32px, 4.5vw, 64px); justify-content: center;
	align-items: start; padding-top: clamp(20px, 3.5vw, 44px); padding-bottom: clamp(40px, 6vw, 72px);
}
.abj-post__main { min-width: 0; width: 100%; }
.abj-post__aside { min-width: 0; align-self: stretch; }
.abj-sticky { position: sticky; top: calc(var(--abj-adminbar, 0px) + 24px); display: grid; gap: 14px; max-height: calc(100vh - var(--abj-adminbar, 0px) - 48px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.abj-toc-mobile { display: none; }

/* ------------------------------------------------------------------ prose */
.abj-prose { font-size: calc(1.0625rem * var(--abj-text-scale, 1)); line-height: 1.78; color: var(--ink-700); overflow-wrap: break-word; }
.abj-prose > * + * { margin-top: 1.15em; }
.abj-prose > :first-child { margin-top: 0; }
.abj-prose h2, .abj-prose h3, .abj-prose h4 { color: var(--ink-900); text-wrap: balance; scroll-margin-top: 24px; position: relative; }
.abj-prose h2 { font-size: 1.6em; letter-spacing: -.025em; line-height: 1.22; margin-top: 2.1em; }
.abj-prose h3 { font-size: 1.25em; letter-spacing: -.015em; line-height: 1.3; margin-top: 1.8em; }
.abj-prose h4 { font-size: 1.05em; margin-top: 1.6em; }
.abj-prose h2 + *, .abj-prose h3 + *, .abj-prose h4 + * { margin-top: .7em; }
.abj-anchor { position: absolute; left: -1.4em; top: 50%; transform: translateY(-50%); width: 1.1em; height: 1.1em; display: grid; place-items: center; color: var(--ink-400); opacity: 0; border-radius: 6px; transition: opacity var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease); }
.abj-anchor .abj-ic { width: .75em; height: .75em; }
.abj-anchor-h:hover .abj-anchor, .abj-anchor:focus-visible { opacity: 1; }
.abj-anchor:hover { color: var(--brand); }
.abj-prose a { color: var(--brand-text); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; transition: text-decoration-color var(--speed-fast); }
.abj-prose a:hover { text-decoration-color: currentColor; }
.abj-prose strong { color: var(--ink-900); font-weight: 600; }
.abj-prose ul, .abj-prose ol { padding-left: 1.35em; }
.abj-prose li + li { margin-top: .45em; }
.abj-prose li::marker { color: var(--brand); }
.abj-prose ol li::marker { font-weight: 600; font-variant-numeric: tabular-nums; }
.abj-prose hr, .abj-prose .wp-block-separator { border: 0; height: 1px; background: var(--surface-3); margin: 2.4em auto; max-width: 120px; opacity: 1; }
.abj-prose .wp-block-separator.is-style-wide { max-width: none; }
.abj-prose .is-style-abj-lead, .abj-prose > p:first-child { font-size: 1.15em; line-height: 1.65; color: var(--ink-800); }

/* lists: timeline and checklist styles */
.abj-prose .is-style-abj-timeline { list-style: none; padding-left: 0; position: relative; }
.abj-prose .is-style-abj-timeline > li { position: relative; padding-left: 2em; }
.abj-prose .is-style-abj-timeline > li::before { content: ""; position: absolute; left: .32em; top: .55em; width: .7em; height: .7em; border-radius: 50%; border: 2px solid var(--brand); background: var(--surface-0); z-index: 1; }
.abj-prose .is-style-abj-timeline > li::after { content: ""; position: absolute; left: calc(.32em + .35em - 1px); top: 1.4em; bottom: -.9em; width: 2px; background: linear-gradient(var(--brand-200), transparent); }
.abj-prose .is-style-abj-timeline > li:last-child::after { display: none; }
.abj-prose .is-style-abj-timeline > li + li { margin-top: .9em; }
.abj-prose .is-style-abj-checks { list-style: none; padding-left: 0; }
.abj-prose .is-style-abj-checks > li { position: relative; padding-left: 1.9em; }
.abj-prose .is-style-abj-checks > li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--brand-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* quotes */
.abj-prose blockquote, .abj-prose .wp-block-quote { margin: 1.8em 0; padding: 1.1em 1.4em; border: 0; border-radius: var(--r-lg); background: var(--surface-1); color: var(--ink-800); font-size: 1.05em; }
.abj-prose blockquote p + p { margin-top: .7em; }
.abj-prose blockquote cite, .abj-prose .wp-block-quote cite { display: block; margin-top: .8em; font-size: .8em; font-style: normal; color: var(--ink-500); }
.abj-prose .is-style-abj-pull, .abj-prose .wp-block-pullquote { background: transparent; padding: .4em 0 .4em 1.2em; border-radius: 0; font-size: 1.35em; line-height: 1.45; letter-spacing: -.015em; color: var(--ink-900); font-weight: 500; position: relative; }
.abj-prose .is-style-abj-pull::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 3px; border-radius: 3px; background: var(--brand); }
.abj-prose .wp-block-pullquote { border: 0; text-align: left; padding: 1em 1.4em; background: var(--surface-1); border-radius: var(--r-lg); }
.abj-prose .wp-block-pullquote blockquote { background: none; padding: 0; margin: 0; }

/* callouts */
.abj-prose .is-style-abj-callout { padding: 1.2em 1.4em; border-radius: var(--r-lg); background: var(--brand-050); color: var(--ink-800); }
:root:not([data-theme="dark"]) .abj-prose .is-style-abj-callout { background: color-mix(in srgb, var(--brand) 6%, white); }
.abj-prose .is-style-abj-callout > * + * { margin-top: .7em; }
.abj-prose .is-style-abj-keypoints { padding: 1.3em 1.5em; border-radius: var(--r-lg); background: var(--surface-1); }
.abj-prose .is-style-abj-keypoints > :first-child { font-size: .72em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); margin-bottom: .6em; }
.abj-prose .is-style-abj-keypoints ul { margin-top: .4em; }

/* code */
.abj-prose code, .abj-prose kbd { font-family: var(--mono); font-size: .86em; padding: .12em .4em; border-radius: 6px; background: var(--surface-2); color: var(--ink-900); }
.abj-prose pre, .abj-prose .wp-block-code {
	position: relative; margin: 1.6em 0; padding: 1.1em 1.3em; border-radius: var(--r); overflow-x: auto;
	background: var(--code-bg); color: var(--code-text); font-family: var(--mono); font-size: .85em; line-height: 1.7; tab-size: 4; border: 0;
}
.abj-prose pre code, .abj-prose .wp-block-code code { background: none; padding: 0; color: inherit; font-size: 1em; white-space: pre; }
.abj-copy { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .1); color: var(--code-text); font-family: var(--font); font-size: .72rem; font-weight: 600; opacity: 0; transition: opacity var(--speed-fast) var(--ease), background-color var(--speed-fast); }
.abj-copy .abj-ic { width: 13px; height: 13px; }
.abj-prose pre:hover .abj-copy, .abj-copy:focus-visible { opacity: 1; }
.abj-copy:hover { background: rgba(255, 255, 255, .18); }

/* tables */
.abj-table-scroll { overflow-x: auto; border-radius: var(--r-lg); background: var(--surface-1); margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.abj-prose .wp-block-table { margin: 1.6em 0; overflow: visible; }
.abj-prose .wp-block-table .abj-table-scroll { margin: 0; }
.abj-prose table { width: 100%; border-collapse: collapse; font-size: .9em; line-height: 1.5; min-width: 520px; }
.abj-prose th, .abj-prose td { padding: .85em 1.1em; text-align: left; vertical-align: top; border: 0; }
.abj-prose thead th { color: var(--ink-900); font-weight: 600; background: var(--surface-2); font-size: .92em; }
.abj-prose tbody tr + tr td, .abj-prose tbody tr + tr th { border-top: 1px solid color-mix(in srgb, var(--brand) 8%, transparent); }
.abj-prose tbody th { color: var(--ink-900); font-weight: 600; }
.abj-prose .wp-block-table figcaption, .abj-prose .wp-element-caption, .abj-prose figcaption { margin-top: .7em; font-size: .82em; color: var(--ink-500); text-align: center; }

/* media */
.abj-prose figure { margin: 1.8em 0; }
.abj-prose img { border-radius: var(--r-lg); }
.abj-prose .wp-block-image img, .abj-prose p > img { cursor: zoom-in; }
.abj-prose .alignwide, .abj-prose .alignfull { margin-inline: 0; }
.abj-prose .wp-block-embed, .abj-prose iframe, .abj-prose video { border-radius: var(--r-lg); overflow: hidden; max-width: 100%; }
.abj-prose .wp-block-embed__wrapper iframe { width: 100%; }
.abj-prose .wp-block-gallery { gap: 12px; }
.abj-prose .wp-block-gallery img { border-radius: var(--r); }

/* FAQ (Details blocks) */
.abj-prose details, .abj-prose .wp-block-details { border-radius: var(--r); background: var(--surface-1); padding: 0; margin-top: .6em; transition: background-color var(--speed-fast) var(--ease); }
.abj-prose details[open] { background: var(--surface-2); }
.abj-prose details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 1em 1.2em; font-weight: 600; color: var(--ink-900); line-height: 1.4; }
.abj-prose details > summary::-webkit-details-marker { display: none; }
.abj-prose details > summary::after { content: ""; flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--surface-0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 50% no-repeat; transition: transform var(--speed) var(--ease); }
:root[data-theme="dark"] .abj-prose details > summary::after { filter: invert(1); }
.abj-prose details[open] > summary::after { transform: rotate(45deg); }
.abj-prose details > :not(summary) { padding: 0 1.2em; }
.abj-prose details > :last-child:not(summary) { padding-bottom: 1.1em; }
.abj-prose details > summary + * { margin-top: 0; }

/* buttons block in articles */
.abj-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.abj-prose .wp-block-button__link { display: inline-flex; align-items: center; padding: 11px 22px; border-radius: var(--pill); background: var(--brand); color: #fff; text-decoration: none; font-size: .875rem; font-weight: 500; }
.abj-prose .wp-block-button.is-style-outline .wp-block-button__link { background: var(--brand-050); color: var(--ink-900); border: 0; }

/* -------------------------------------------------------------- end of article */
.abj-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.abj-tags a { display: inline-flex; padding: 6px 12px; border-radius: var(--pill); background: var(--surface-1); font-size: .8125rem; font-weight: 500; color: var(--ink-700); }
.abj-tags a:hover { background: var(--surface-2); color: var(--ink-900); }

.abj-endcard { margin-top: 32px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-xl); background: var(--brand-050); }
:root:not([data-theme="dark"]) .abj-endcard { background: color-mix(in srgb, var(--brand) 5%, white); }
.abj-endcard__clap { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.abj-endcard__title { font-size: 1.25rem; letter-spacing: -.015em; }
.abj-endcard__text { margin-top: 4px; color: var(--ink-500); font-size: .9375rem; }
.abj-endcard .abj-eyebrow { margin-bottom: 10px; }
.abj-share { display: flex; flex-wrap: wrap; gap: 8px; }
.abj-share__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--pill); background: var(--surface-0); color: var(--ink-800); font-size: .875rem; font-weight: 500; transition: background-color var(--speed-fast) var(--ease), color var(--speed-fast); }
.abj-share__btn:hover { background: var(--brand); color: #fff; }
.abj-share__btn .abj-ic { width: 16px; height: 16px; }
.abj-share__btn[hidden] { display: none; }

.abj-clap { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 4px; border-radius: var(--pill); background: var(--surface-0); color: var(--ink-900); font-weight: 600; font-size: .875rem; transition: background-color var(--speed-fast) var(--ease); position: relative; }
.abj-clap:hover { background: var(--surface-2); }
.abj-clap__ring { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-050); color: var(--brand); transition: transform var(--speed-fast) var(--ease), background-color var(--speed-fast); }
.abj-clap__ring .abj-ic { width: 20px; height: 20px; }
.abj-clap.is-clapped .abj-clap__ring { background: var(--brand); color: #fff; }
.abj-clap.is-pop .abj-clap__ring { animation: abj-pop .35s var(--ease); }
@keyframes abj-pop { 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1); } }
.abj-clap.is-max { cursor: default; }
.abj-clap--big { height: 64px; padding: 0 20px 0 6px; gap: 12px; font-size: 1.125rem; }
.abj-clap--big .abj-clap__ring { width: 52px; height: 52px; }
.abj-clap--big .abj-clap__ring .abj-ic { width: 26px; height: 26px; }
.abj-clap__plus { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); padding: 3px 8px; border-radius: var(--pill); background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; pointer-events: none; animation: abj-float .7s var(--ease) forwards; }
@keyframes abj-float { from { opacity: 0; transform: translate(-50%, 6px); } 30% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -22px); } }

.abj-authorbox { display: grid; grid-template-columns: 72px 1fr; gap: 18px; margin-top: 18px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-xl); background: var(--surface-1); }
.abj-authorbox .abj-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.abj-avatar--mono { display: inline-grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700, var(--brand)) 100%) !important; color: #fff; font-weight: 600; letter-spacing: .02em; font-size: .9375rem; user-select: none; }
.abj-authorbox .abj-avatar--mono { font-size: 1.5rem; }
.abj-authorbox .abj-eyebrow { margin-bottom: 4px; }
.abj-authorbox__name { font-size: 1.25rem; letter-spacing: -.015em; }
.abj-authorbox__name a:hover { color: var(--brand-text); }
.abj-authorbox__role { margin-top: 2px; font-size: .875rem; color: var(--ink-500); }
.abj-authorbox__bio { margin-top: 10px; font-size: .9375rem; line-height: 1.65; color: var(--ink-700); }
.abj-authorbox__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.abj-authorbox__links a { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: var(--pill); background: var(--surface-0); font-size: .8125rem; font-weight: 500; }
.abj-authorbox__links a:hover { background: var(--brand); color: #fff; }
.abj-authorbox__links .abj-ic { width: 14px; height: 14px; }
.abj-authorbox--flat { background: transparent; padding: 0; }

.abj-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.abj-prevnext__item { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface-1); transition: background-color var(--speed-fast) var(--ease); }
.abj-prevnext__item:hover { background: var(--surface-2); }
.abj-prevnext__item .abj-eyebrow { margin: 0; }
.abj-prevnext__item--next { text-align: right; }
.abj-prevnext__title { font-weight: 600; color: var(--ink-900); line-height: 1.35; }

/* sidebar */
.abj-sidecard { display: block; padding: 18px; border-radius: var(--r-lg); background: var(--surface-1); }
.abj-sidecard__label { display: flex; align-items: center; gap: 8px; font-size: .6875rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 10px; }
.abj-sidecard__label .abj-ic { width: 15px; height: 15px; color: var(--brand); }
.abj-sidecard__title { font-weight: 600; color: var(--ink-900); font-size: 1.0625rem; letter-spacing: -.01em; }
.abj-sidecard__text { font-size: .875rem; color: var(--ink-500); line-height: 1.55; margin-top: 4px; }
.abj-sidecard .abj-btn--block { margin-top: 14px; }
.abj-toc ol { list-style: none; display: grid; gap: 1px; margin: 0 0 2px; padding: 0; }
.abj-toc ol a { position: relative; display: block; padding: 6px 10px 6px 14px; border-radius: 8px; font-size: .8438rem; line-height: 1.4; color: var(--ink-700); transition: background-color var(--speed-fast), color var(--speed-fast); }
.abj-toc ol a::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--surface-3); transition: background-color var(--speed-fast); }
.abj-toc ol a:hover { color: var(--ink-900); background: var(--surface-2); }
.abj-toc ol a.is-active { color: var(--ink-900); font-weight: 600; }
.abj-toc ol a.is-active::before { background: var(--brand); }
.abj-toc ol a.is-done { color: var(--ink-500); }
.abj-toc .is-h3 a { padding-left: 26px; font-size: .8125rem; }
.abj-toc .is-h3 a::before { left: 15px; }
.abj-sidecard--clap .abj-clap { margin-top: 2px; }
.abj-aside-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.abj-share-mini { display: flex; gap: 6px; }
.abj-share-mini a, .abj-share-mini button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-0); color: var(--ink-700); transition: background-color var(--speed-fast), color var(--speed-fast); }
.abj-share-mini a:hover, .abj-share-mini button:hover { background: var(--brand); color: #fff; }
.abj-share-mini .abj-ic { width: 15px; height: 15px; }
.abj-sidecard--product { background: var(--brand-050); transition: background-color var(--speed-fast) var(--ease); }
:root:not([data-theme="dark"]) .abj-sidecard--product { background: color-mix(in srgb, var(--brand) 6%, white); }
.abj-sidecard--product:hover { background: var(--brand-100); }
.abj-sidecard--product .abj-sidecard__label { color: var(--brand-text); }
.abj-sidecard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .875rem; font-weight: 600; color: var(--brand-text); }
.abj-sidecard__go .abj-ic { width: 15px; height: 15px; transition: transform var(--speed-fast); }
.abj-sidecard--product:hover .abj-sidecard__go .abj-ic { transform: translateX(3px); }
.abj-sidecard--more ul { list-style: none; display: grid; gap: 4px; }
.abj-sidecard--more a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 6px; margin: 0 -6px; border-radius: var(--r-sm); font-size: .875rem; font-weight: 600; color: var(--ink-900); line-height: 1.35; }
.abj-sidecard--more a:hover { background: var(--surface-2); }
.abj-mini-thumb { display: block; width: 64px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.abj-mini-thumb img, .abj-mini-thumb .abj-ph { width: 100%; height: 100%; object-fit: cover; }
.abj-mini-thumb .abj-ph__tag, .abj-pick__img .abj-ph__tag { display: none; }
.abj-mini-thumb .abj-ph__wm, .abj-pick__img .abj-ph__wm { height: 9px; }

.abj-pagelinks { display: flex; gap: 6px; margin-top: 28px; font-size: .875rem; }

.abj-keep { padding: clamp(40px, 6vw, 72px) 0; background: var(--surface-1); border-radius: var(--r-block) var(--r-block) 0 0; }
.abj-keep .abj-h2 { margin-bottom: 24px; }
.abj-keep .abj-card { background: var(--surface-0); }
.abj-keep .abj-card:hover { background: color-mix(in srgb, var(--surface-0) 50%, var(--surface-2)); }
.abj-keep + .abj-cta-wrap { background: var(--surface-1); }

.abj-page .abj-prose { padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 72px); }

/* -------------------------------------------------------------------- CTA */
.abj-cta-wrap { padding: clamp(16px, 3vw, 32px) 0 clamp(24px, 4vw, 48px); }
.abj-cta {
	position: relative; overflow: hidden; isolation: isolate; text-align: center;
	padding: clamp(44px, 7vw, 72px) clamp(22px, 4vw, 48px); border-radius: var(--r-xl);
	background: var(--brand-block); color: rgba(255, 255, 255, .82);
}
.abj-cta__arcs { position: absolute; inset: 0; z-index: -1; opacity: .9; background-image: radial-gradient(circle at 0% 100%, transparent 0 140px, rgba(255, 255, 255, .06) 141px 142px, transparent 143px 230px, rgba(255, 255, 255, .05) 231px 232px, transparent 233px 330px, rgba(255, 255, 255, .04) 331px 332px, transparent 333px), radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--brand) 60%, transparent), transparent 60%); }
.abj-cta__title { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -.03em; line-height: 1.15; max-width: 22ch; margin-inline: auto; }
.abj-cta__text { margin: 14px auto 0; max-width: 56ch; font-size: 1.0625rem; }
.abj-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* ----------------------------------------------------------------- footer */
.abj-footer { background: var(--surface-1); border-radius: var(--r-block) var(--r-block) 0 0; padding: clamp(36px, 5vw, 56px) 0 calc(28px + env(safe-area-inset-bottom)); }
.abj-footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.abj-footer__brand { max-width: 460px; }
.abj-footer__logo { display: inline-block; color: var(--ink-900); }
.abj-footer__logo .abj-wordmark { height: 24px; }
.abj-footer__about { margin-top: 14px; font-size: .9375rem; color: var(--ink-700); line-height: 1.6; }
.abj-footer__small { margin-top: 10px; font-size: .8125rem; color: var(--ink-500); }
.abj-social { display: flex; gap: 8px; margin-top: 16px; }
.abj-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-0); color: var(--ink-700); transition: background-color var(--speed-fast), color var(--speed-fast); }
.abj-social a:hover { background: var(--brand); color: #fff; }
.abj-social .abj-ic { width: 16px; height: 16px; }
.abj-footer__actions { display: flex; align-items: center; gap: 6px; }
.abj-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.abj-footer__col { padding: 20px; border-radius: var(--r-lg); background: var(--surface-0); }
.abj-footer__h { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-900); margin-bottom: 12px; }
.abj-footer__col ul { list-style: none; display: grid; gap: 7px; }
.abj-footer__col a { font-size: .875rem; color: var(--ink-500); transition: color var(--speed-fast); }
.abj-footer__col a:hover { color: var(--brand-text); }
.abj-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 26px; font-size: .8125rem; color: var(--ink-500); }
.abj-footer__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.abj-footer__tools .abj-linkbtn { text-decoration: none; }
.abj-footer__tools .abj-linkbtn:hover { color: var(--ink-900); }
.abj-theme-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--pill); background: var(--surface-0); }
.abj-theme-toggle span { display: grid; place-items: center; width: 30px; height: 26px; border-radius: var(--pill); color: var(--ink-500); transition: background-color var(--speed-fast), color var(--speed-fast); }
.abj-theme-toggle .abj-ic { width: 15px; height: 15px; }
:root:not([data-theme="dark"]) .abj-theme-toggle__sun, :root[data-theme="dark"] .abj-theme-toggle__moon { background: var(--brand); color: #fff; }

/* ------------------------------------------------------------ mobile dock */
.abj-dock { display: none; }

/* ------------------------------------------------------- floating widgets */
.abj-top { position: fixed; right: 20px; bottom: calc(24px + var(--abj-ck-h, 0px)); z-index: 60; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), background-color var(--speed-fast); }
.abj-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.abj-top:hover { background: var(--brand-700); }
.abj-top .abj-ic { width: 20px; height: 20px; }

.abj-toast { position: fixed; left: 50%; bottom: calc(28px + var(--abj-ck-h, 0px)); z-index: 130; transform: translate(-50%, 16px); opacity: 0; padding: 11px 18px; border-radius: var(--pill); background: var(--ink-900); color: var(--surface-0); font-size: .875rem; font-weight: 500; transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease); pointer-events: none; }
.abj-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.abj-toast[hidden] { display: none; }

.abj-nextup { position: fixed; right: 20px; bottom: calc(84px + var(--abj-ck-h, 0px)); z-index: 70; width: min(360px, calc(100vw - 32px)); display: grid; grid-template-columns: 64px 1fr 28px; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: var(--surface-0); color: var(--ink-900); opacity: 0; transform: translateY(14px); transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease); outline: 6px solid color-mix(in srgb, var(--brand) 7%, transparent); }
.abj-nextup.is-on { opacity: 1; transform: none; }
.abj-nextup__img { width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.abj-nextup__img img, .abj-nextup__img .abj-ph { width: 100%; height: 100%; object-fit: cover; }
.abj-nextup__img .abj-ph__tag { display: none; }
.abj-nextup__img .abj-ph__wm { height: 8px; }
.abj-nextup__k { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.abj-nextup__t { font-weight: 600; font-size: .9375rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.abj-nextup__m { font-size: .75rem; color: var(--ink-500); margin-top: 2px; }
.abj-nextup__x { align-self: start; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-1); color: var(--ink-500); }
.abj-nextup__x .abj-ic { width: 14px; height: 14px; }
.abj-nextup__a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.abj-lightbox { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 4vmin; background: color-mix(in srgb, #05070A 88%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--speed) var(--ease); cursor: zoom-out; }
.abj-lightbox[hidden] { display: none; }
.abj-lightbox.is-open { opacity: 1; }
.abj-lightbox__fig { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 100%; max-height: 100%; }
.abj-lightbox__fig img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: var(--r); object-fit: contain; }
.abj-lightbox__fig figcaption { color: rgba(255, 255, 255, .8); font-size: .875rem; text-align: center; max-width: 70ch; }
.abj-lightbox__close { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .12); color: #fff; }
.abj-lightbox__close:hover { background: rgba(255, 255, 255, .22); color: #fff; }



/* --------------------------------------------- CookieAdmin, styled to fit
   The plugin keeps its consent logic, logs and geo rules. These rules only
   make its footer bar and preferences window look like the rest of the blog. */
.abj .cookieadmin_law_container.cookieadmin_footer {
	left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
	width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
	background: transparent !important; box-shadow: none !important; z-index: 100 !important;
	font-family: var(--font) !important;
}
.abj .cookieadmin_footer .cookieadmin_consent_inside {
	box-sizing: border-box; width: 100% !important; max-width: none !important; margin: 0 !important;
	padding: 16px max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))) calc(16px + env(safe-area-inset-bottom)) !important;
	border: 0 !important; border-radius: var(--r-lg) var(--r-lg) 0 0 !important; box-shadow: none !important;
	background: color-mix(in srgb, var(--surface-0) 94%, transparent) !important;
	-webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
	display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; row-gap: 3px; align-items: center;
	outline: 1px solid color-mix(in srgb, var(--brand) 7%, transparent);
}
.abj .cookieadmin_footer .cookieadmin_notice_group { display: contents !important; }
.abj .cookieadmin_law_container #cookieadmin_notice_title { grid-column: 1; margin: 0 !important; padding: 0 !important; font-family: var(--font) !important; font-size: .9375rem !important; font-weight: 600 !important; line-height: 1.35 !important; letter-spacing: -.01em; color: var(--ink-900) !important; }
.abj .cookieadmin_law_container .cookieadmin_notice_con { grid-column: 1; margin: 0 !important; padding: 0 !important; max-width: 78ch; }
.abj .cookieadmin_law_container #cookieadmin_notice { margin: 0 !important; font-family: var(--font) !important; font-size: .8125rem !important; line-height: 1.55 !important; color: var(--ink-500) !important; }
.abj .cookieadmin_law_container .cookieadmin_policy_link_box { grid-column: 1; display: flex !important; gap: 14px; justify-content: flex-start !important; text-align: left !important; margin: 2px 0 0 !important; padding: 0 !important; }
.abj .cookieadmin_policy_link_box a { font-family: var(--font) !important; font-size: .8125rem !important; color: var(--brand-text) !important; text-decoration: underline !important; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent) !important; text-underline-offset: 3px; }
.abj .cookieadmin_policy_link_box a:empty, .abj .cookieadmin_policy_link_box a:not([href]), .abj .cookieadmin_policy_link_box a[href=""] { display: none !important; }
.abj .cookieadmin_law_container .cookieadmin_consent_btns { grid-column: 2; grid-row: 1 / span 3; display: flex !important; flex-wrap: nowrap; gap: 8px !important; margin: 0 !important; padding: 0 !important; }
.abj .cookieadmin_btn {
	display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; min-width: 0 !important;
	min-height: 42px; padding: 10px 20px !important; margin: 0 !important; border: 0 !important; border-radius: var(--pill) !important; box-shadow: none !important;
	font-family: var(--font) !important; font-size: .875rem !important; font-weight: 500 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; cursor: pointer;
	transition: background-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}
.abj .cookieadmin_btn:active { transform: scale(.98); }
.abj .cookieadmin_customize_btn, .abj .cookieadmin_reject_btn { background: color-mix(in srgb, var(--brand) 8%, var(--surface-0)) !important; color: var(--ink-900) !important; }
.abj .cookieadmin_customize_btn:hover, .abj .cookieadmin_reject_btn:hover { background: color-mix(in srgb, var(--brand) 14%, var(--surface-0)) !important; }
.abj .cookieadmin_accept_btn, .abj .cookieadmin_save_btn { background: var(--brand) !important; color: #fff !important; }
.abj .cookieadmin_accept_btn:hover, .abj .cookieadmin_save_btn:hover { background: var(--brand-700) !important; }
.abj .cookieadmin_btn:focus-visible { outline: 2px solid var(--focus) !important; outline-offset: 2px; }
.abj .cookieadmin_re_consent, .abj [class*="cookieadmin_reconsent"], .abj [class*="cookieadmin_powered"] { display: none !important; }

/* preferences window */
.abj .cookieadmin_modal_overlay { background: color-mix(in srgb, #05070A 46%, transparent) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 120 !important; }
.abj .cookieadmin_cookie_modal {
	font-family: var(--font) !important; color: var(--ink-700) !important;
	background: var(--surface-0) !important; border: 0 !important; border-radius: var(--r-xl) !important; box-shadow: none !important;
	width: min(680px, calc(100vw - 24px)) !important; max-width: 680px !important; max-height: min(86vh, 760px) !important;
	padding: clamp(18px, 3vw, 28px) !important; overflow: auto !important;
	outline: 8px solid color-mix(in srgb, var(--brand) 6%, transparent);
}
.abj .cookieadmin_cookie_modal * { font-family: var(--font) !important; }
.abj .cookieadmin_mod_head { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px !important; margin: 0 !important; border: 0 !important; }
.abj #cookieadmin_preference_title { font-size: 1.25rem !important; font-weight: 600 !important; letter-spacing: -.02em; color: var(--ink-900) !important; }
.abj .cookieadmin_close_pref { display: grid !important; place-items: center; width: 36px !important; height: 36px !important; border-radius: 50% !important; background: var(--surface-1) !important; color: var(--ink-700) !important; border: 0 !important; }
.abj .cookieadmin_close_pref:hover { background: var(--surface-2) !important; }
.abj .cookieadmin_details_wrapper { border: 0 !important; padding: 0 !important; }
.abj .cookieadmin_preference_details, .abj #cookieadmin_preference { padding: 0 !important; margin: 0 0 14px !important; font-size: .875rem !important; line-height: 1.6 !important; color: var(--ink-500) !important; border: 0 !important; }
.abj .cookieadmin_types { margin: 0 0 8px !important; padding: 14px 16px !important; border: 0 !important; border-radius: var(--r) !important; background: var(--surface-1) !important; }
.abj .cookieadmin_header { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
.abj .cookieadmin_types button, .abj .cookieadmin_show_pref_cookies { font-size: .9375rem !important; font-weight: 600 !important; color: var(--ink-900) !important; background: none !important; border: 0 !important; padding: 0 !important; }
.abj .cookieadmin_remark, .abj .cookieadmin_act { font-size: .75rem !important; font-weight: 600 !important; color: var(--brand-text) !important; }
.abj .cookieadmin_desc { margin-top: 6px !important; font-size: .8125rem !important; line-height: 1.55 !important; color: var(--ink-500) !important; }
.abj .cookieadmin_cookie_modal [class*="cookie-card"], .abj .cookieadmin_cookie_modal [class*="cookies-list"] { border: 0 !important; border-radius: var(--r-sm) !important; background: var(--surface-0) !important; font-size: .8125rem !important; }
.abj .cookieadmin_cookie_modal .cookieadmin_btn { flex: 1 1 auto; }
.abj .cookieadmin_cookie_modal .cookieadmin_policy_link_box { margin-top: 12px !important; }
.abj .cookieadmin_cookie_modal hr { border: 0 !important; height: 0 !important; margin: 8px 0 !important; }
.abj .cookieadmin_cookie_modal [class*="footer"], .abj .cookieadmin_cookie_modal [class*="_btns"] { display: flex !important; flex-wrap: wrap; gap: 8px !important; border: 0 !important; padding: 14px 0 0 !important; margin: 0 !important; background: transparent !important; }

@media (max-width: 860px) {
	.abj .cookieadmin_footer .cookieadmin_consent_inside { grid-template-columns: 1fr; padding-top: 14px !important; }
	.abj .cookieadmin_law_container .cookieadmin_consent_btns { grid-column: 1; grid-row: auto; flex-wrap: wrap; margin-top: 10px !important; }
	.abj .cookieadmin_law_container .cookieadmin_policy_link_box { grid-row: 3; }
}
@media (max-width: 720px) {
	.abj .cookieadmin_law_container.cookieadmin_footer { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)) !important; }
	.abj .cookieadmin_footer .cookieadmin_consent_inside { padding-bottom: 14px !important; border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
	.abj .cookieadmin_law_container .cookieadmin_btn { flex: 1 1 0; padding-inline: 12px !important; }
	.abj .cookieadmin_law_container .cookieadmin_accept_btn { order: -1; flex-basis: 100%; }
	.abj .cookieadmin_cookie_modal { border-radius: var(--r-lg) !important; }
}

/* ---------------------------------------------------------- motion polish */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.abj-ready [data-abj-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.abj-ready [data-abj-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.abj-card.is-new { animation: abj-in .5s var(--ease) both; }
@keyframes abj-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.abj-ready [data-abj-reveal]:not(.is-in) { opacity: 1; transform: none; }
	@view-transition { navigation: none; }
}

/* ------------------------------------------------------------ loading
   While an image loads its box shows a dot matrix with a soft wave moving
   through it (the same dots the slider images form from), then the image
   fades in. Skeletons stand in for cards and results that are on the way. */
.abj-load { position: relative; background-color: var(--surface-2); }
.abj-load::before, .abj-load::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 0; }
.abj-load::before { background-image: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, color-mix(in srgb, var(--ink-900) 12%, transparent)) 1.15px, transparent 1.75px); background-size: 11px 11px; background-position: center; }
.abj-load::after { opacity: 0; transition: opacity .35s var(--ease); background-image: radial-gradient(circle, color-mix(in srgb, var(--brand) 60%, color-mix(in srgb, var(--ink-900) 45%, transparent)) 1.5px, transparent 2.1px); background-size: 11px 11px; background-position: center; -webkit-mask-image: linear-gradient(105deg, transparent 32%, #000 50%, transparent 68%); mask-image: linear-gradient(105deg, transparent 32%, #000 50%, transparent 68%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.abj-load.abj-wait::after { opacity: 1; animation: abj-dotwave 1.7s cubic-bezier(.45, 0, .2, 1) infinite; }
.abj-load > img, .abj-load > .abj-ph { position: relative; z-index: 1; }
.abj-load--fade > img { transition: opacity .55s var(--ease), filter .7s var(--ease), transform .6s var(--ease); }
.abj-load--fade.abj-wait > img { opacity: 0; filter: blur(10px); }
@keyframes abj-dotwave { from { -webkit-mask-position: 115% 0; mask-position: 115% 0; } to { -webkit-mask-position: -15% 0; mask-position: -15% 0; } }

.abj-skel { pointer-events: none; user-select: none; }
.abj-skel:hover { background: inherit; }
.abj-skel .abj-card__body { gap: 12px; }
.abj-skel__line { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--ink-900) 6%, var(--surface-1)) 0%, color-mix(in srgb, var(--ink-900) 12%, var(--surface-1)) 45%, color-mix(in srgb, var(--ink-900) 6%, var(--surface-1)) 90%); background-size: 300% 100%; animation: abj-shimmer 1.3s ease-in-out infinite; }
.abj-skel__line--tag { width: 76px; height: 24px; border-radius: var(--pill); }
.abj-skel__line--t1 { height: 17px; width: 92%; }
.abj-skel__line--t2 { height: 17px; width: 64%; }
.abj-skel__line--p { width: 100%; }
.abj-skel__line--p2 { width: 82%; }
.abj-skel__line--meta { width: 42%; margin-top: auto; }
.abj-skel__stack { display: grid; gap: 8px; align-content: center; width: 100%; }
.abj-skel.abj-sr { grid-template-columns: 56px 1fr; }
@keyframes abj-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------------------------------------------- multi-image card gallery */
.abj-card__media.abj-gal { z-index: 1; isolation: isolate; }
.abj-gal__track { display: flex; width: 100%; height: 100%; transition: transform .5s var(--ease); }
.abj-gal__slide { flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }
.abj-gal__slide img { width: 100%; height: 100%; object-fit: cover; }
.abj-gal__count { position: absolute; z-index: 3; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: var(--pill); background: rgba(10, 14, 20, .42); color: #fff; font-size: .6875rem; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-variant-numeric: tabular-nums; }
.abj-gal__count .abj-ic { width: 13px; height: 13px; }
.abj-gal__dots { position: absolute; z-index: 3; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 5px; padding: 5px 7px; border-radius: var(--pill); background: rgba(10, 14, 20, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity var(--speed) var(--ease); }
.abj-card:hover .abj-gal__dots, .abj-gal.is-touch .abj-gal__dots { opacity: 1; }
.abj-gal__dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease), background-color .3s var(--ease); }
.abj-gal__dots i.is-on { width: 16px; background: #fff; }
.abj-gal.is-touch .abj-gal__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; transition: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.abj-gal.is-touch .abj-gal__track::-webkit-scrollbar { display: none; }
.abj-gal.is-touch .abj-gal__slide { scroll-snap-align: start; scroll-snap-stop: always; }
.abj-card__new { position: absolute; z-index: 3; left: 12px; bottom: 12px; display: inline-flex; padding: 4px 10px; border-radius: var(--pill); background: var(--brand); color: var(--brand-fg); font-size: .6875rem; font-weight: 600; letter-spacing: .02em; }
.abj-card__new[hidden] { display: none; }

/* --------------------------------------------------------- resume reading */
.abj-resume { position: fixed; z-index: 75; left: 50%; bottom: calc(24px + var(--abj-ck-h, 0px)); transform: translate(-50%, 16px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: var(--pill); color: var(--ink-900); opacity: 0; transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
	background: color-mix(in srgb, var(--surface-0) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 14%, transparent); }
.abj-resume.is-on { opacity: 1; transform: translate(-50%, 0); }
.abj-resume__t { font-size: .875rem; font-weight: 600; white-space: nowrap; }
.abj-resume__go { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 12px; border-radius: var(--pill); background: var(--brand); color: var(--brand-fg); font-size: .8125rem; font-weight: 600; }
.abj-resume__go .abj-ic { width: 14px; height: 14px; }
.abj-resume__x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-500); }
.abj-resume__x:hover { background: var(--surface-2); color: var(--ink-900); }
.abj-resume__x .abj-ic { width: 15px; height: 15px; }
.abj-ring--sm { width: 30px; height: 30px; background: conic-gradient(var(--brand) calc(var(--p) * 1%), color-mix(in srgb, var(--brand) 16%, transparent) 0); }
.abj-ring--sm::before { inset: 4px; background: var(--surface-0); }
.abj-sr-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.abj-sr-head .abj-ic { width: 15px; height: 15px; color: var(--brand); }

/* ------------------------------------------------------- header and bars
   The header scrolls away with the page. The filter bar sticks to the top
   with a plain translucent background, no shadow. */
.abj-toolbar { background: transparent; top: var(--abj-adminbar, 0px); }
.abj-toolbar.is-stuck::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); z-index: -1; pointer-events: none;
	background: color-mix(in srgb, var(--surface-0) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.abj-toolbar.is-stuck .abj-filter-search, .abj-toolbar.is-stuck .abj-chip:not(.is-on) { background: var(--surface-1); }
.abj-dock { background: color-mix(in srgb, var(--surface-0) 94%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.abj-toolbar.is-stuck::after, .abj-dock { background: var(--surface-0); }
}
:root[data-theme="dark"] .abj-resume { background: color-mix(in srgb, var(--surface-0) 88%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, #fff 10%, transparent); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.abj-resume { background: var(--surface-0); }
}
@media (max-width: 860px) {
	.abj-resume { bottom: calc(var(--dock-h) + 14px + var(--abj-ck-h, 0px) + env(safe-area-inset-bottom)); max-width: calc(100vw - 24px); }
}

/* ------------------------------------------------- colour and mode picker
   Same picker as abscode.com. The choice is stored where abscode.com reads it. */
.abj-ts {
	--ts-wheel: conic-gradient(oklch(.62 .2 0), oklch(.63 .2 30), oklch(.68 .17 60), oklch(.72 .16 90), oklch(.68 .19 120), oklch(.64 .19 150), oklch(.64 .14 180), oklch(.64 .14 210), oklch(.6 .19 240), oklch(.58 .21 270), oklch(.6 .23 300), oklch(.62 .22 330), oklch(.62 .2 360));
	--ts-line: linear-gradient(90deg, oklch(.62 .2 0), oklch(.63 .2 30), oklch(.68 .17 60), oklch(.72 .16 90), oklch(.68 .19 120), oklch(.64 .19 150), oklch(.64 .14 180), oklch(.64 .14 210), oklch(.6 .19 240), oklch(.58 .21 270), oklch(.6 .23 300), oklch(.62 .22 330), oklch(.62 .2 360), oklch(.63 .2 30), oklch(.68 .17 60), oklch(.72 .16 90), oklch(.68 .19 120), oklch(.64 .19 150), oklch(.64 .14 180), oklch(.64 .14 210), oklch(.6 .19 240), oklch(.58 .21 270), oklch(.6 .23 300), oklch(.62 .22 330), oklch(.62 .2 360));
	position: fixed; left: 24px; bottom: calc(24px + var(--abj-ck-h, 0px)); z-index: 92;
	transition: bottom var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.abj-ts__fab {
	width: 54px; height: 54px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; position: relative;
	background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 16%, transparent);
	transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed) var(--ease);
}
.abj-ts__fab:hover { transform: scale(1.06) rotate(20deg); }
.abj-ts__fab:active { transform: scale(.94); }
.abj-ts__fab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.abj-ts.is-open .abj-ts__fab { box-shadow: 0 0 0 2px var(--brand); }
.abj-ts__fabwheel { width: 30px; height: 30px; border-radius: 50%; background: var(--ts-wheel); }
.abj-ts__panel {
	position: absolute; left: 0; bottom: 66px; width: 288px; max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain;
	background: var(--surface-0); border-radius: var(--r-lg); padding: 16px 16px 14px; color: var(--ink-700);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 14%, transparent);
	opacity: 0; visibility: hidden; transform: scale(.92) translateY(12px); transform-origin: bottom left; pointer-events: none;
	transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s var(--ease);
}
.abj-ts__panel::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
	background: radial-gradient(150px 110px at 100% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%), radial-gradient(150px 120px at 0% 100%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 72%);
}
.abj-ts__panel > * { position: relative; z-index: 1; }
.abj-ts.is-open .abj-ts__panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.abj-ts__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.abj-ts__brand { color: var(--ink-900); line-height: 1; }
.abj-ts__wm { display: block; height: 17px; width: auto; aspect-ratio: 1328.5 / 238.8; }
.abj-ts__tag { display: block; font-size: 11px; color: var(--ink-500); margin-top: 5px; }
.abj-ts__tag em { font-style: normal; color: var(--brand-text); font-weight: 600; }
.abj-ts__close { border: 0; background: var(--surface-2); color: var(--ink-700); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; display: inline-grid; place-items: center; flex-shrink: 0; }
.abj-ts__close .abj-ic { width: 15px; height: 15px; }
.abj-ts__close:hover { background: var(--brand-100); color: var(--brand-700); }
.abj-ts__wheelwrap { position: relative; width: 184px; height: 184px; margin: 8px auto 16px; }
.abj-ts__glow { position: absolute; inset: -8px; border-radius: 50%; z-index: 0; opacity: .5; filter: blur(22px); pointer-events: none; background: var(--ts-wheel); }
.abj-ts__wheel { width: 184px; height: 184px; border-radius: 50%; position: relative; z-index: 1; cursor: crosshair; touch-action: none; background: var(--ts-wheel); }
.abj-ts__wheel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.abj-ts__center {
	position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; border-radius: 50%; transform: translate(-50%, -50%);
	background: var(--brand); pointer-events: none; box-shadow: 0 0 0 6px var(--surface-0); display: flex; align-items: center; justify-content: center; color: var(--brand-fg);
}
.abj-ts__mark { width: 46px; height: auto; aspect-ratio: 486 / 361.4; }
.abj-ts__handle { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 0 2px rgba(0, 0, 0, .22), inset 0 0 0 2px rgba(0, 0, 0, .06); left: 16px; top: 92px; }
.abj-ts__presets { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px 7px; margin-bottom: 14px; justify-items: center; }
.abj-ts__dot { width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer; padding: 0; transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.abj-ts__dot:hover { transform: scale(1.16); }
.abj-ts__dot--ink { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.abj-ts__dot.is-sel { transform: scale(1.14); box-shadow: 0 0 0 2px var(--surface-0), 0 0 0 4px var(--brand); }
.abj-ts__modes { display: flex; gap: 6px; background: var(--surface-1); border-radius: var(--pill); padding: 4px; margin-bottom: 14px; }
.abj-ts__mode { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: var(--ink-500); font: inherit; font-size: 13px; font-weight: 600; padding: 8px; border-radius: var(--pill); cursor: pointer; transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease); }
.abj-ts__mode .abj-ic { width: 15px; height: 15px; }
.abj-ts__mode.is-on { background: var(--surface-0); color: var(--brand-700); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 14%, transparent); }
:root[data-theme="dark"] .abj-ts__mode.is-on { background: var(--surface-2); color: var(--ink-900); }
.abj-ts__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-500); margin-bottom: 12px; }
.abj-ts__range { flex: 1; accent-color: var(--brand); cursor: pointer; }
.abj-ts__actions { display: flex; align-items: center; justify-content: space-between; }
.abj-ts__reset { min-height: 34px; padding: 0 16px; font-size: 13px; }
.abj-ts__readout { font-size: 13px; font-weight: 600; color: var(--ink-700); font-family: var(--mono); }
.abj-ts__spectrum { height: 8px; border-radius: var(--pill); margin: 14px 0 10px; background: var(--ts-line); background-size: 200% 100%; }
.abj-ts__note { font-size: 11px; color: var(--ink-500); line-height: 1.5; margin-top: 2px; }
:root[data-theme="dark"] .abj-ts__fab { background: rgba(22, 28, 35, .88); }
@media (prefers-reduced-motion: no-preference) {
	.abj-ts.is-open .abj-ts__spectrum { animation: abj-ts-flow 7s linear infinite; }
	.abj-ts.is-open .abj-ts__glow { animation: abj-ts-spin 16s linear infinite; }
	.abj-ts__fab:hover .abj-ts__fabwheel { animation: abj-ts-spin 4s linear infinite; }
	.abj-ts.is-open .abj-ts__panel > * { animation: abj-ts-rise .42s var(--ease) both; }
	.abj-ts.is-open .abj-ts__panel > :nth-child(2) { animation-delay: .05s; }
	.abj-ts.is-open .abj-ts__panel > :nth-child(3) { animation-delay: .1s; }
	.abj-ts.is-open .abj-ts__panel > :nth-child(4) { animation-delay: .15s; }
	.abj-ts.is-open .abj-ts__panel > :nth-child(5) { animation-delay: .19s; }
	.abj-ts.is-open .abj-ts__panel > :nth-child(6) { animation-delay: .23s; }
	.abj-ts.is-open .abj-ts__panel > :nth-child(7) { animation-delay: .27s; }
	.abj-ts.is-open .abj-ts__panel > :nth-child(8) { animation-delay: .31s; }
}
@keyframes abj-ts-flow { from { background-position: 0 0; } to { background-position: -200% 0; } }
@keyframes abj-ts-spin { to { transform: rotate(360deg); } }
@keyframes abj-ts-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
	.abj-ts { left: 14px; bottom: calc(var(--dock-h) + 14px + var(--abj-ck-h, 0px) + env(safe-area-inset-bottom)); }
	.abj-ts__fab { width: 46px; height: 46px; }
	.abj-ts__fabwheel { width: 26px; height: 26px; }
	.abj-ts__panel { bottom: 58px; width: min(288px, calc(100vw - 28px)); max-height: calc(100svh - var(--dock-h) - 120px); }
}
body.abj-ck-open .abj-ts { opacity: 0; pointer-events: none; }
.abj-ts.is-tucked .abj-ts__fab { transform: translateX(-64%) scale(.88); opacity: .6; }
.abj-ts.is-tucked .abj-ts__fab:hover, .abj-ts.is-tucked .abj-ts__fab:focus-visible { transform: none; opacity: 1; }
@media print { .abj-ts { display: none !important; } }

/* ------------------------------------------------------------- responsive */
/* Two-column footer: let a lone last card span the row */
@media (max-width: 860px) {
	.abj-footer__cols > .abj-footer__col:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.abj-footer__cols > .abj-footer__col:last-child:nth-child(odd) ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}
/* Phones and small tablets */
@media (max-width: 720px) {
	.abj-feat__title { -webkit-line-clamp: 4; }
	.abj-post__title { font-size: clamp(1.75rem, 7.4vw, 2.25rem); letter-spacing: -.03em; line-height: 1.12; }
	.abj-post__frame { border-radius: var(--r-lg); }
	.abj-toolbar { position: static; }
	.abj-prose .abj-table-scroll:has(> .abj-stack) { overflow: visible; border: 0; background: none; }
	.abj-prose table.abj-stack, .abj-prose table.abj-stack tbody, .abj-prose table.abj-stack tr, .abj-prose table.abj-stack th, .abj-prose table.abj-stack td { display: block; width: auto; min-width: 0; }
	.abj-prose table.abj-stack { font-size: .95em; }
	.abj-prose table.abj-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.abj-prose table.abj-stack tbody { display: grid; gap: 10px; }
	.abj-prose table.abj-stack tr { padding: 14px 16px; border-radius: var(--r-md, 14px); background: var(--surface-1); }
	.abj-prose table.abj-stack tr > * { padding: 4px 0; border: 0; text-align: left; }
	.abj-prose table.abj-stack tr > th:first-child, .abj-prose table.abj-stack tr > td:first-child:not([data-label]) { font-size: 1rem; font-weight: 600; color: var(--ink-900); padding-bottom: 6px; }
	.abj-prose table.abj-stack td[data-label]::before { content: attr(data-label); display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 2px; }
}

/* Featured carousel: keep the image at 16:9 at every width so nothing in it is cropped. */
@media (min-width: 961px) and (max-width: 1279px) {
	.abj-feat__exc { display: none; }
}
@media (max-width: 960px) {
	.abj-feat__slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
	.abj-feat__media::after { background: linear-gradient(180deg, transparent 70%, color-mix(in srgb, var(--brand-block) 35%, transparent)); }
	.abj-feat__ctrl { left: clamp(20px, 3.4vw, 48px); right: clamp(20px, 3.4vw, 48px); }
	.abj-feat__stage { border-radius: var(--r-lg); }
}
@media (max-width: 1180px) {
	.abj-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.abj-post__layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; justify-content: stretch; }
}
@media (max-width: 1024px) {
	.abj-nav { display: none; }
	.abj-show-sm { display: inline-grid !important; }
	.abj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.abj-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.abj-post__layout { grid-template-columns: minmax(0, 780px); }
	.abj-post__main { max-width: 780px; }
	.abj-post__aside { display: none; }
	.abj-toc-mobile { display: block; margin-bottom: 28px; border-radius: var(--r-lg); background: var(--surface-1); }
	.abj-toc-mobile summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink-900); font-size: .9375rem; }
	.abj-toc-mobile summary::-webkit-details-marker { display: none; }
	.abj-toc-mobile summary .abj-ic { width: 18px; height: 18px; color: var(--brand); }
	.abj-toc-mobile__chev { margin-left: auto; transition: transform var(--speed) var(--ease); color: var(--ink-500) !important; }
	.abj-toc-mobile[open] .abj-toc-mobile__chev { transform: rotate(180deg); }
	.abj-toc-mobile ol { list-style: none; padding: 0 10px 12px; display: grid; gap: 1px; }
	.abj-toc-mobile a { display: block; padding: 8px 10px; border-radius: 8px; font-size: .9063rem; color: var(--ink-700); }
	.abj-toc-mobile .is-h3 a { padding-left: 24px; font-size: .875rem; }
	.abj-toc-mobile a:hover { background: var(--surface-2); }
	.abj-anchor { display: none; }
}
@media (max-width: 860px) {
	.abj-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.abj-footer__actions { width: 100%; }
	.abj-hide-sm { display: none !important; }
	.abj-textsize { margin-left: 0; }
}
@media (max-width: 720px) {
	:root { --header-h: 60px; }
	.abj-wordmark { height: 17px; }
	.abj-grid { grid-template-columns: 1fr; }
	.abj-picks { grid-template-columns: 1fr; }
	.abj-toolbar { gap: 10px; }
	.abj-filter-search { width: 100%; }
	.abj-prevnext { grid-template-columns: 1fr; }
	.abj-prevnext__item--next { text-align: left; }
	.abj-authorbox { grid-template-columns: 1fr; }
	.abj-endcard__clap { align-items: flex-start; }
	.abj-post__img { border-radius: var(--r-lg); }
	.abj-post__meta { gap: 14px; }
	.abj-footer__bar { flex-direction: column; align-items: flex-start; }

	/* mobile dock, same pattern as the abscode.com tab bar */
	body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
	.abj-dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
	.abj-dock ul { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; }
	.abj-dock__link { width: 100%; display: grid; justify-items: center; gap: 3px; padding: 6px 2px 4px; border-radius: var(--r-sm); font-size: .6875rem; font-weight: 500; color: var(--ink-500); position: relative; }
	.abj-dock__link .abj-ic { width: 22px; height: 22px; }
	.abj-dock__link.is-active { color: var(--brand-text); }
	.abj-dock__link.is-active::before { content: ""; position: absolute; top: 0; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
	.abj-top { bottom: calc(var(--dock-h) + 16px + var(--abj-ck-h, 0px) + env(safe-area-inset-bottom)); right: 14px; width: 42px; height: 42px; }
	.abj-nextup { right: 16px; bottom: calc(var(--dock-h) + 16px + var(--abj-ck-h, 0px) + env(safe-area-inset-bottom)); }
	.abj-toast { bottom: calc(var(--dock-h) + 20px + var(--abj-ck-h, 0px) + env(safe-area-inset-bottom)); }
}

/* ----------------------------------------------------------------- print */
@media print {
	.abj-header, .abj-dock, .abj-footer, .abj-cta-wrap, .abj-post__aside, .abj-endcard, .abj-keep, .abj-top, .abj-toc-mobile, .abj-textsize, .abj-prevnext, .abj-loader { display: none !important; }
	body { padding: 0; color: #000; background: #fff; }
	.abj-post__layout { display: block; }
	.abj-prose a { color: #000; }
	.abj-prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
