/* The Blog: index (page-blog.php, home.php, category.php, tag.php) and story (single-post.php).
   The paper, ink and warm greys of the Contact and Services pages, the night ground for the
   lead story and the close, Manrope in its two voices (firm 700, light 300).
   Motion in assets/js/blog.js. */

.seamkt-blog {
	--bl-paper: #f1f0ee;
	--bl-line: #dfddd8;
	--bl-ink: #0d0d0c;
	--bl-soft: #57554f;
	--bl-muted: #8a877f;
	--bl-light: #f4f2ee;
	--bl-night:
		radial-gradient(ellipse 80% 70% at 0% 0%, rgba(255, 255, 255, 0.09), transparent 60%),
		radial-gradient(ellipse 70% 60% at 100% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
		#0d0d0c;
	--bl-font: var(--seamkt-font, 'Manrope', system-ui, sans-serif);
	--bl-gutter: clamp(20px, 3.4vw, 60px);
	--bl-max: 1440px;
	--bl-wide: min(var(--bl-max), 100%);
	--bl-radius: clamp(20px, 2.4vw, 36px);
	--bl-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--bl-rail: clamp(190px, 17vw, 250px);
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding-bottom: clamp(56px, 6vw, 96px);
	background:
		radial-gradient(ellipse 50% 40% at 88% 0%, #fff, transparent 70%),
		linear-gradient(180deg, #f8f7f5, var(--bl-paper) 720px);
	color: var(--bl-ink);
	font-family: var(--bl-font);
}

.seamkt-blog *,
.seamkt-blog *::before,
.seamkt-blog *::after {
	box-sizing: border-box;
}

.seamkt-blog [hidden] {
	display: none !important;
}

.seamkt-blog a {
	color: inherit;
	text-decoration: none;
}

.seamkt-blog a:focus-visible,
.seamkt-blog button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.seamkt-blog svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.seamkt-blog svg.is-solid {
	fill: currentColor;
	stroke: none;
}

.seamkt-blog h1,
.seamkt-blog h2,
.seamkt-blog h3,
.seamkt-blog p {
	font-family: var(--bl-font);
	text-transform: none;
}

/* ---------- Masthead ---------- */

.seamkt-blog-mast {
	width: var(--bl-wide);
	margin: 0 auto;
	padding: clamp(84px, 6.2vw, 96px) var(--bl-gutter) 0;
}

.seamkt-blog-mast__main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(28px, 5vw, 96px);
	align-items: end;
	padding: 0 0 clamp(8px, 1vw, 16px);
}

/* "Blog", huge, in solid ink. */
.seamkt-blog .seamkt-blog-mast__word {
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	color: var(--bl-ink);
	font-size: clamp(116px, 23vw, 380px);
	font-weight: 800;
	line-height: 0.8;
	letter-spacing: -0.07em;
}

/* The padding gives the descender of the g room inside the box; the negative margin takes the
   room back from the layout. */
.seamkt-blog-mast__type {
	position: relative;
	display: block;
	margin: 0 0 -0.16em -0.055em;
}

/* A round gold full stop after "Blog" (not after a topic's name), the gold of the story
   pictures. Drawn, not typed: Manrope's own full stop is square at this weight. */
.seamkt-blog-mast__word:not(.is-topic) .seamkt-blog-mast__ink::after {
	display: inline-block;
	width: 0.14em;
	height: 0.14em;
	margin-left: 0.05em;
	border-radius: 50%;
	background: #c9a14a;
	content: '';
}

.seamkt-blog-mast__ink {
	display: block;
	padding: 0.04em 0.08em 0.26em 0.02em;
	white-space: nowrap;
}

/* A topic's or tag's name instead of "Blog": it may be long, so smaller and allowed to wrap. */
.seamkt-blog .seamkt-blog-mast__word.is-topic {
	font-size: clamp(56px, 9vw, 150px);
	line-height: 0.92;
	letter-spacing: -0.055em;
}

.seamkt-blog-mast__word.is-topic .seamkt-blog-mast__ink {
	white-space: normal;
}

.seamkt-blog-mast__main:has(.is-topic) {
	grid-template-columns: minmax(0, 1fr);
}

.seamkt-blog-mast__side {
	max-width: 520px;
	padding-bottom: 0.4em;
}

.seamkt-blog-mast__back {
	display: inline-flex;
	gap: 8px;
	margin-bottom: 22px;
	color: var(--bl-soft);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: color 180ms ease;
}

.seamkt-blog-mast__back:hover {
	color: var(--bl-ink);
}

.seamkt-blog .seamkt-blog-mast__line {
	margin: 0;
	color: var(--bl-ink);
	font-size: clamp(26px, 2.6vw, 44px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.045em;
}

.seamkt-blog-mast__line > span {
	display: block;
}

.seamkt-blog-mast__line--soft {
	color: var(--bl-soft);
	font-weight: 300;
}

.seamkt-blog .seamkt-blog-mast__intro {
	max-width: 46ch;
	margin: 20px 0 0;
	color: var(--bl-soft);
	font-size: clamp(15px, 1.05vw, 16.5px);
	font-weight: 500;
	line-height: 1.65;
}

/* ---------- Topics ---------- */

.seamkt-blog-topics {
	display: flex;
	gap: 14px 22px;
	align-items: center;
	/* Clear of the g's tail, which hangs below the word's box. */
	padding: clamp(26px, 3vw, 44px) 0 0;
}

.seamkt-blog-topics__label {
	flex: none;
	color: var(--bl-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.seamkt-blog-topics ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.seamkt-blog-topics a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--bl-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
	color: var(--bl-ink);
	font-size: 14.5px;
	font-weight: 600;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.seamkt-blog-topics a:hover {
	border-color: var(--bl-ink);
}

.seamkt-blog-topics a.is-current {
	border-color: var(--bl-ink);
	background: var(--bl-ink);
	color: var(--bl-light);
}

/* The count beside a topic: a small black disc (white on the chosen, black topic). */
.seamkt-blog-topics sup {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 20px;
	height: 20px;
	margin: 0 -6px 0 8px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--bl-ink);
	color: var(--bl-light);
	font-size: 11px;
	font-weight: 700;
	/* The digit sits on the disc's centre line: a sup is raised and sized by its own line box,
	   which pushed the figure off centre. */
	line-height: 20px;
	vertical-align: middle;
	font-variant-numeric: tabular-nums;
	position: relative;
	top: 0;
	bottom: 0;
}

.seamkt-blog-topics a.is-current sup {
	background: var(--bl-light);
	color: var(--bl-ink);
}

/* ---------- The lead story ---------- */

/* The picture at its own 4:3, so it fills its half exactly (the story pictures carry words, and
   cropped or letterboxed they looked cut or framed in black); the copy is kept short enough to
   sit within the picture's height, centred beside it. */
.seamkt-blog-lead {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: center;
	width: min(var(--bl-max) - 2 * var(--bl-gutter), 100% - 2 * var(--bl-gutter));
	margin: clamp(36px, 4.4vw, 64px) auto 0;
	overflow: hidden;
	border-radius: var(--bl-radius);
	background: var(--bl-night);
	color: var(--bl-light);
	box-shadow: 0 30px 80px -40px rgba(13, 13, 12, 0.55);
}

.seamkt-blog-lead__media {
	position: relative;
	align-self: stretch;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--bl-night);
}

.seamkt-blog-lead__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The copy fills the picture's height: the tag at the top, the title and summary held together
   in the middle, the date at the foot. */
.seamkt-blog-lead__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	padding: clamp(30px, 3.4vw, 56px) clamp(28px, 3.6vw, 60px);
}

.seamkt-blog .seamkt-blog-lead__kicker {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	margin: 0;
	color: rgba(244, 242, 238, 0.5);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* "Latest story" as a small tag; the topic beside it, plain. */
.seamkt-blog-lead__kicker > span:first-child {
	padding: 7px 12px 6px;
	border: 1px solid rgba(244, 242, 238, 0.22);
	border-radius: 999px;
	color: var(--bl-light);
	letter-spacing: 0.14em;
}

.seamkt-blog-lead__topic {
	color: rgba(244, 242, 238, 0.56);
}

.seamkt-blog .seamkt-blog-lead__title {
	margin: auto 0 0;
	padding-top: clamp(28px, 3vw, 44px);
	color: var(--bl-light);
	font-size: clamp(28px, 2.6vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

/* The whole card opens the story. */
.seamkt-blog-lead__title a::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: '';
}

.seamkt-blog-lead__title a:focus-visible {
	outline: none;
}

.seamkt-blog-lead:has(.seamkt-blog-lead__title a:focus-visible) {
	outline: 2px solid var(--bl-ink);
	outline-offset: 4px;
}

.seamkt-blog .seamkt-blog-lead__excerpt {
	display: -webkit-box;
	max-width: 44ch;
	margin: clamp(16px, 1.5vw, 22px) 0 0;
	overflow: hidden;
	color: rgba(244, 242, 238, 0.62);
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.65;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.seamkt-blog .seamkt-blog-lead__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: auto 0 0;
	padding-top: clamp(28px, 3vw, 44px);
	color: rgba(244, 242, 238, 0.46);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
}

.seamkt-blog-lead__meta > * + *::before {
	margin-right: 10px;
	content: '·';
}

/* ---------- The index of stories ---------- */

.seamkt-blog-index {
	width: var(--bl-wide);
	margin: clamp(56px, 6vw, 96px) auto 0;
	padding: 0 var(--bl-gutter);
}

.seamkt-blog-index__head {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: clamp(16px, 1.6vw, 24px);
}

.seamkt-blog .seamkt-blog-index__title {
	margin: 0;
	color: var(--bl-ink);
	font-size: clamp(26px, 2.3vw, 36px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
}

.seamkt-blog-index__all {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-size: 15px;
	font-weight: 700;
}

.seamkt-blog-index__all svg {
	width: 18px;
	height: 18px;
	transition: transform 300ms var(--bl-ease);
}

.seamkt-blog-index__all:hover svg {
	transform: rotate(45deg);
}

.seamkt-blog-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.seamkt-blog-row {
	position: relative;
	margin: 0;
}

.seamkt-blog-row__link {
	position: relative;
	color: var(--bl-ink);
}

.seamkt-blog-row__no {
	color: var(--bl-muted);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
}

.seamkt-blog-row__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: #e4e3df;
}

.seamkt-blog-row__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--bl-ease);
}

.seamkt-blog-row__main {
	display: block;
	min-width: 0;
}

.seamkt-blog-row__title {
	display: block;
	font-weight: 650;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.seamkt-blog-row__excerpt {
	display: none;
}

.seamkt-blog-row__topic {
	color: var(--bl-soft);
	font-size: 13.5px;
	font-weight: 600;
}

.seamkt-blog-row__date,
.seamkt-blog-row__time {
	color: var(--bl-muted);
	font-size: 13.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.seamkt-blog-row__go {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--bl-line);
	border-radius: 50%;
	transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
}

.seamkt-blog-row__go svg {
	width: 18px;
	height: 18px;
	transition: transform 420ms var(--bl-ease);
}

.seamkt-blog-row__link:hover .seamkt-blog-row__go,
.seamkt-blog-row__link:focus-visible .seamkt-blog-row__go {
	border-color: var(--bl-ink);
	background: var(--bl-ink);
	color: var(--bl-light);
}

.seamkt-blog-row__link:hover .seamkt-blog-row__go svg,
.seamkt-blog-row__link:focus-visible .seamkt-blog-row__go svg {
	transform: translateX(3px);
}

/* The dotted chevrons show only in the list (below); the grid keeps the round arrow button. */
.seamkt-blog-row__chevrons {
	display: none;
}

/* The index: each story a white card read top to bottom, as the lead is: its topic, date and
   reading time on one line, the title, then two lines of summary. Pointed at with a mouse, its
   picture shows above the card (blog.js); touch screens show it inside the card (below). */
[data-view='list'] .seamkt-blog-row + .seamkt-blog-row {
	margin-top: 14px;
}

[data-view='list'] .seamkt-blog-row__link {
	display: grid;
	grid-template-columns: auto auto auto minmax(0, 1fr) auto;
	grid-template-areas:
		'topic date time . go'
		'main main main main go';
	gap: 0 12px;
	align-items: center;
	padding: clamp(24px, 2.4vw, 34px) clamp(26px, 3vw, 44px);
	border: 1px solid rgba(13, 13, 12, 0.06);
	border-radius: clamp(20px, 2vw, 26px);
	background: #fff;
	box-shadow: 0 1px 2px rgba(13, 13, 12, 0.04), 0 16px 36px -28px rgba(13, 13, 12, 0.26);
	transition: transform 500ms var(--bl-ease), box-shadow 500ms var(--bl-ease);
}

[data-view='list'] .seamkt-blog-row__link:hover {
	box-shadow: 0 1px 2px rgba(13, 13, 12, 0.05), 0 24px 46px -26px rgba(13, 13, 12, 0.34);
	transform: translateY(-2px);
}

[data-view='list'] .seamkt-blog-row__link:focus-visible {
	outline-offset: 4px;
}

[data-view='list'] .seamkt-blog-row__no,
[data-view='list'] .seamkt-blog-row__media {
	display: none;
}

/* On the right, five chevrons of round dots, the dotted motif of the footer's name, fading from
   ink to faint as they point on to the story. Pointed at, a light runs along them, chevron after
   chevron, toward the story. */
[data-view='list'] .seamkt-blog-row__go,
[data-view='list'] .seamkt-blog-row__link:hover .seamkt-blog-row__go,
[data-view='list'] .seamkt-blog-row__link:focus-visible .seamkt-blog-row__go {
	grid-area: go;
	display: block;
	justify-self: end;
	width: clamp(140px, 12vw, 190px);
	height: auto;
	margin-left: clamp(16px, 3vw, 48px);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--bl-ink);
}

[data-view='list'] .seamkt-blog-row__arrow {
	display: none;
}

[data-view='list'] .seamkt-blog-row__chevrons {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

[data-view='list'] .seamkt-blog-row__link:hover .seamkt-blog-row__chevrons {
	transform: none;
}

.seamkt-blog-row__chevrons circle {
	fill: currentColor;
	stroke: none;
}

.seamkt-blog-row__chevrons g {
	opacity: var(--o);
	transition: opacity 400ms ease;
}

[data-view='list'] .seamkt-blog-row__link:hover .seamkt-blog-row__chevrons g,
[data-view='list'] .seamkt-blog-row__link:focus-visible .seamkt-blog-row__chevrons g {
	animation: seamkt-blog-chevron 1.5s ease-in-out infinite;
	animation-delay: calc(var(--i) * 110ms);
}

@keyframes seamkt-blog-chevron {
	0%,
	100% {
		opacity: var(--o);
		transform: none;
	}

	30% {
		opacity: 1;
		transform: translateX(2px);
	}
}

[data-view='list'] .seamkt-blog-row__topic {
	grid-area: topic;
	overflow: hidden;
	max-width: 100%;
	padding: 7px 12px 6px;
	border-radius: 999px;
	background: var(--bl-paper);
	color: var(--bl-ink);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.1em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

[data-view='list'] .seamkt-blog-row__date {
	grid-area: date;
	font-size: 13.5px;
}

[data-view='list'] .seamkt-blog-row__time {
	grid-area: time;
	font-size: 13.5px;
}

[data-view='list'] .seamkt-blog-row__date::before,
[data-view='list'] .seamkt-blog-row__time::before {
	margin-right: 12px;
	color: var(--bl-muted);
	content: '·';
}

[data-view='list'] .seamkt-blog-row__main {
	grid-area: main;
	padding-top: clamp(14px, 1.4vw, 20px);
}

[data-view='list'] .seamkt-blog-row__title {
	display: block;
	max-width: 46ch;
	font-size: clamp(21px, 1.8vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

[data-view='list'] .seamkt-blog-row__excerpt {
	display: -webkit-box;
	max-width: 72ch;
	margin-top: 10px;
	overflow: hidden;
	color: var(--bl-soft);
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.6;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Touch screens: no pointer to show the picture, so it sits in the card, beside the words. */
@media not ((hover: hover) and (pointer: fine)) {
	[data-view='list'] .seamkt-blog-row__link {
		grid-template-columns: clamp(140px, 22vw, 260px) auto auto auto minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		grid-template-areas:
			'media topic date time .'
			'media main main main main';
		gap: 0 10px;
		align-items: start;
		padding: 12px;
	}

	[data-view='list'] .seamkt-blog-row__go {
		display: none;
	}

	[data-view='list'] .seamkt-blog-row__media {
		display: block;
		grid-area: media;
		aspect-ratio: 4 / 3;
		margin-right: clamp(8px, 2vw, 24px);
		border-radius: 14px;
	}

	[data-view='list'] .seamkt-blog-row__topic,
	[data-view='list'] .seamkt-blog-row__date,
	[data-view='list'] .seamkt-blog-row__time {
		align-self: center;
		margin-top: 6px;
	}

	[data-view='list'] .seamkt-blog-row__main {
		padding-top: 10px;
	}
}

/* Grid: cards with the picture first and the number on it. */
[data-view='grid'] .seamkt-blog-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(36px, 3.6vw, 56px) clamp(18px, 2vw, 32px);
	padding-top: clamp(28px, 3vw, 44px);
}

[data-view='grid'] .seamkt-blog-row {
	height: 100%;
}

[data-view='grid'] .seamkt-blog-row__link {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	grid-template-rows: auto auto 1fr auto;
	grid-template-areas:
		'media media media media'
		'date time . .'
		'main main main main'
		'topic topic topic go';
	align-items: center;
	height: 100%;
	padding: 10px 10px 18px;
	border: 1px solid var(--bl-line);
	border-radius: clamp(22px, 2vw, 28px);
	background: #fff;
	transition: transform 420ms var(--bl-ease), box-shadow 420ms ease, border-color 240ms ease;
}

[data-view='grid'] .seamkt-blog-row__link:hover,
[data-view='grid'] .seamkt-blog-row__link:focus-visible {
	border-color: transparent;
	box-shadow: 0 26px 50px -30px rgba(13, 13, 12, 0.38);
	transform: translateY(-4px);
}

[data-view='grid'] .seamkt-blog-row__media {
	grid-area: media;
	aspect-ratio: 4 / 3;
	margin-bottom: 18px;
	border-radius: clamp(14px, 1.4vw, 20px);
	isolation: isolate;
}

[data-view='grid'] .seamkt-blog-row__link:hover .seamkt-blog-row__img {
	transform: scale(1.04);
}

[data-view='grid'] .seamkt-blog-row__no {
	display: none;
}

[data-view='grid'] .seamkt-blog-row__date,
[data-view='grid'] .seamkt-blog-row__time {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

[data-view='grid'] .seamkt-blog-row__date {
	grid-area: date;
	padding-left: 12px;
}

[data-view='grid'] .seamkt-blog-row__time {
	grid-area: time;
}

[data-view='grid'] .seamkt-blog-row__time::before {
	margin: 0 8px;
	content: '·';
}

[data-view='grid'] .seamkt-blog-row__main {
	grid-area: main;
	align-self: start;
	padding: 8px 12px 0;
}

[data-view='grid'] .seamkt-blog-row__title {
	display: block;
	font-size: clamp(19px, 1.45vw, 23px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

[data-view='grid'] .seamkt-blog-row__excerpt {
	display: -webkit-box;
	margin-top: 10px;
	overflow: hidden;
	color: var(--bl-soft);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.6;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* The foot: the topic (one line, trimmed if long) and the round arrow. */
[data-view='grid'] .seamkt-blog-row__topic {
	grid-area: topic;
	min-width: 0;
	margin-top: 22px;
	padding: 0 12px;
	overflow: hidden;
	color: var(--bl-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

[data-view='grid'] .seamkt-blog-row__go {
	grid-area: go;
	width: 40px;
	height: 40px;
	margin: 22px 4px 0 0;
}

[data-view='grid'] .seamkt-blog-row__go svg {
	width: 16px;
	height: 16px;
}

/* A story without a featured image: its topic and first letter, in dots, on the night ground. */
.seamkt-blog-blank {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--bl-night);
	color: var(--bl-light);
	container-type: inline-size;
}

.seamkt-blog-blank__topic {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
	color: rgba(244, 242, 238, 0.5);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-align: right;
	text-transform: uppercase;
}

.seamkt-blog-blank__letter {
	color: transparent;
	font-size: 62cqi;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	background: radial-gradient(circle at 50% 50%, var(--bl-light) 0.014em, transparent calc(0.014em + 0.6px)) 0 0 / 0.042em 0.042em;
	-webkit-background-clip: text;
	background-clip: text;
}

/* A topic picked: the stories dim while the topic's are read, and the new ones come in softly
   (assets/js/blog.js). */
.seamkt-blog :is(.seamkt-blog-lead, .seamkt-blog-index, .seamkt-blog-empty) {
	transition: opacity 260ms ease;
}

.seamkt-blog.is-filtering :is(.seamkt-blog-lead, .seamkt-blog-index, .seamkt-blog-empty) {
	opacity: 0.35;
	pointer-events: none;
}

.seamkt-blog .is-swapped {
	animation: seamkt-blog-swap 560ms var(--bl-ease) both;
}

.seamkt-blog .is-swapped + .is-swapped {
	animation-delay: 80ms;
}

@keyframes seamkt-blog-swap {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

/* The picture shown above a story pointed at in the list (assets/js/blog.js). */
.seamkt-blog-peek {
	position: fixed;
	z-index: 40;
	top: 0;
	left: 0;
	width: clamp(220px, 19vw, 300px);
	aspect-ratio: 4 / 3;
	pointer-events: none;
	will-change: transform;
}

.seamkt-blog-peek > * {
	width: 100%;
	height: 100%;
	border-radius: 18px;
	object-fit: cover;
	box-shadow: 0 30px 60px -20px rgba(13, 13, 12, 0.45);
	opacity: 0;
	transform: translateY(10px) scale(0.86);
	transition: opacity 260ms ease, transform 520ms var(--bl-ease);
}

.seamkt-blog-peek.is-on > * {
	opacity: 1;
	transform: none;
}

.seamkt-blog-peek .seamkt-blog-blank {
	display: grid;
}

@media not ((hover: hover) and (pointer: fine)) {
	.seamkt-blog-peek {
		display: none;
	}
}

/* ---------- Pages ---------- */

.seamkt-blog-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(40px, 4vw, 64px);
}

.seamkt-blog-pages__step {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	min-height: 50px;
	padding: 0 22px;
	border: 1px solid var(--bl-ink);
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 700;
	transition: background 200ms ease, color 200ms ease;
}

a.seamkt-blog-pages__step:hover {
	background: var(--bl-ink);
	color: var(--bl-light);
}

.seamkt-blog-pages__step.is-off {
	border-color: var(--bl-line);
	color: var(--bl-muted);
}

.seamkt-blog-pages__list {
	display: flex;
	gap: 6px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.seamkt-blog-pages__list a,
.seamkt-blog-pages__list span {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	transition: background 200ms ease;
}

.seamkt-blog-pages__list a:hover {
	background: #e4e3df;
}

.seamkt-blog-pages__list .is-current {
	background: var(--bl-ink);
	color: var(--bl-light);
}

.seamkt-blog-pages__gap {
	color: var(--bl-muted);
	letter-spacing: 0.1em;
}

/* ---------- No stories yet ---------- */

.seamkt-blog-empty {
	display: grid;
	justify-items: center;
	width: min(760px, 100% - 2 * var(--bl-gutter));
	margin: clamp(64px, 9vw, 130px) auto 0;
	text-align: center;
}

.seamkt-blog .seamkt-blog-empty__no {
	margin: 0;
	color: var(--bl-muted);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.24em;
}

.seamkt-blog .seamkt-blog-empty__title {
	margin: 18px 0 0;
	color: var(--bl-ink);
	font-size: clamp(36px, 4.6vw, 76px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.05em;
}

.seamkt-blog-empty__title > span {
	display: block;
}

.seamkt-blog-empty__title--soft {
	color: var(--bl-soft);
	font-weight: 300;
}

.seamkt-blog .seamkt-blog-empty__text {
	max-width: 50ch;
	margin: 22px 0 0;
	color: var(--bl-soft);
	font-size: 16.5px;
	font-weight: 500;
	line-height: 1.65;
}

/* A press line, filling and emptying like the loader's. */
.seamkt-blog-empty__press {
	display: block;
	width: 120px;
	height: 1px;
	margin: 36px 0;
	overflow: hidden;
	background: var(--bl-line);
}

.seamkt-blog-empty__press > span {
	display: block;
	height: 100%;
	background: var(--bl-ink);
	transform-origin: 0 50%;
	animation: seamkt-blog-press 2.8s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes seamkt-blog-press {
	0% {
		transform: scaleX(0);
		transform-origin: 0 50%;
	}

	50% {
		transform: scaleX(1);
		transform-origin: 0 50%;
	}

	50.01% {
		transform-origin: 100% 50%;
	}

	100% {
		transform: scaleX(0);
		transform-origin: 100% 50%;
	}
}

/* ---------- Buttons ---------- */

.seamkt-blog-button {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	min-height: 56px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: transform 300ms var(--bl-ease), background 200ms ease, color 200ms ease;
}

.seamkt-blog-button svg {
	width: 18px;
	height: 18px;
	transition: transform 420ms var(--bl-ease);
}

.seamkt-blog-button:hover {
	transform: translateY(-2px);
}

.seamkt-blog-button:hover svg {
	transform: rotate(45deg);
}

.seamkt-blog .seamkt-blog-button--ink {
	background: var(--bl-ink);
	color: var(--bl-light);
}

.seamkt-blog .seamkt-blog-button--light {
	background: var(--bl-light);
	color: var(--bl-ink);
}

/* ---------- The close ---------- */

.seamkt-blog-cta {
	position: relative;
	width: min(var(--bl-max) - 2 * var(--bl-gutter), 100% - 2 * var(--bl-gutter));
	margin: clamp(88px, 10vw, 160px) auto 0;
	overflow: hidden;
	border-radius: var(--bl-radius);
	background: var(--bl-night);
	color: var(--bl-light);
	isolation: isolate;
}

.seamkt-blog-cta__inner {
	position: relative;
	z-index: 1;
	padding: clamp(48px, 7vw, 112px) clamp(26px, 5.4vw, 96px);
}

.seamkt-blog .seamkt-blog-cta__eyebrow {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	margin: 0;
	color: rgba(244, 242, 238, 0.56);
	font-size: clamp(12.5px, 1vw, 15px);
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.seamkt-blog-cta__eyebrow::before {
	width: 26px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	content: '';
}

.seamkt-blog .seamkt-blog-cta__title {
	margin: 22px 0 0;
	color: var(--bl-light);
	font-size: clamp(40px, 6.4vw, 108px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.seamkt-blog-cta__title > span {
	display: block;
}

.seamkt-blog-cta__title--soft {
	color: rgba(244, 242, 238, 0.5);
	font-weight: 300;
}

.seamkt-blog-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 30px;
	align-items: center;
	margin-top: clamp(32px, 4vw, 52px);
}

.seamkt-blog-cta__link {
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(244, 242, 238, 0.35);
	color: rgba(244, 242, 238, 0.86);
	font-size: 15.5px;
	font-weight: 700;
	transition: border-color 200ms ease, color 200ms ease;
}

.seamkt-blog-cta__link:hover {
	border-color: var(--bl-light);
	color: var(--bl-light);
}

/* Two orbits on the right, a dot going round each. */
.seamkt-blog-cta__ring {
	position: absolute;
	top: 50%;
	right: -14vw;
	width: clamp(420px, 52vw, 820px);
	aspect-ratio: 1;
	margin-top: calc(clamp(420px, 52vw, 820px) / -2);
	border: 1px solid rgba(244, 242, 238, 0.08);
	border-radius: 50%;
	animation: seamkt-blog-orbit 38s linear infinite;
}

.seamkt-blog-cta__ring::after {
	position: absolute;
	top: 50%;
	left: -4px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(244, 242, 238, 0.7);
	content: '';
}

.seamkt-blog-cta__ring--2 {
	right: -2vw;
	width: clamp(260px, 30vw, 480px);
	margin-top: calc(clamp(260px, 30vw, 480px) / -2);
	animation-duration: 24s;
	animation-direction: reverse;
}

@keyframes seamkt-blog-orbit {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- The story ---------- */

.seamkt-blog-progress {
	position: fixed;
	z-index: 1001;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	pointer-events: none;
}

.admin-bar .seamkt-blog-progress {
	top: 32px;
}

.seamkt-blog-progress > span {
	display: block;
	height: 100%;
	background: var(--seamkt-blog-progress-ink, #0d0d0c);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

/* Two columns: on the left the way back, the date and sharing, the AI card and the contents, held
   still while the story scrolls (and scrolling within themselves if taller than the screen); on
   the right the headline, the cover, the text and the tags. Their tops line up. Below 1100px it
   all reads in one column (the end of this section). */
.seamkt-story {
	--story-gold: #c9a14a;
	--story-side: clamp(260px, 22vw, 310px);
	display: grid;
	grid-template-columns: var(--story-side) minmax(0, 1fr);
	gap: 0 clamp(40px, 4.4vw, 76px);
	align-items: start;
	width: min(1280px, 100% - 2 * clamp(24px, 5vw, 64px));
	margin: 0 auto;
	padding-top: clamp(104px, 11vw, 150px);
}

.seamkt-story__side {
	align-self: stretch;
}

.seamkt-story__side-inner {
	position: sticky;
	top: 112px;
	display: grid;
	gap: 14px;
	max-height: calc(100vh - 136px);
	padding: 0 4px 4px 0;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--bl-line) transparent;
}

.admin-bar .seamkt-story__side-inner {
	top: 144px;
	max-height: calc(100vh - 168px);
}

.seamkt-story__main {
	min-width: 0;
}

.seamkt-blog .seamkt-story__crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	margin: 0 0 clamp(20px, 2vw, 28px);
}

/* The way back: a white pill like the share and AI buttons, the arrow in a dark circle that
   nudges left on hover. */
.seamkt-blog .seamkt-story__back {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	min-height: 44px;
	padding: 0 18px 0 5px;
	border: 1px solid var(--bl-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bl-ink);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: border-color 220ms ease, box-shadow 320ms ease;
}

.seamkt-story__back svg {
	box-sizing: border-box;
	display: block;
	flex: none;
	width: 34px;
	height: 34px;
	padding: 9px;
	border-radius: 50%;
	background: var(--bl-ink);
	color: #fff;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.seamkt-story__back svg path {
	transition: transform 320ms var(--bl-ease);
}

.seamkt-blog .seamkt-story__back:hover,
.seamkt-blog .seamkt-story__back:focus-visible {
	border-color: var(--bl-ink);
	color: var(--bl-ink);
	box-shadow: 0 12px 26px -18px rgba(13, 13, 12, 0.5);
}

.seamkt-story__back:hover svg path,
.seamkt-story__back:focus-visible svg path {
	transform: translateX(-2px);
}

/* The topic: a small uppercase word over the date and reading time. */
.seamkt-story__info {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.seamkt-blog .seamkt-story__topic {
	justify-self: start;
	color: var(--bl-ink);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: color 200ms ease;
}

.seamkt-blog .seamkt-story__topic:hover {
	color: var(--story-gold);
}

.seamkt-blog .seamkt-story__title {
	margin: 0;
	color: var(--bl-ink);
	font-size: clamp(34px, 4.3vw, 60px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.045em;
	/* Fills the column's width (balance kept every line short), only never leaving a word alone. */
	text-wrap: pretty;
}

.seamkt-blog .seamkt-story__dek {
	margin: clamp(18px, 1.8vw, 24px) 0 0;
	color: var(--bl-soft);
	font-size: clamp(17px, 1.3vw, 20px);
	font-weight: 400;
	line-height: 1.6;
	text-wrap: pretty;
}

/* The byline on the left, the share buttons on the right, over a hairline. */
.seamkt-story__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(24px, 2.6vw, 34px);
}

.seamkt-story__byline {
	display: flex;
	gap: 12px;
	align-items: center;
}

.seamkt-story__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bl-ink);
	color: var(--bl-light);
	font-size: 15px;
	font-weight: 700;
}

.seamkt-story__avatar--big {
	width: 64px;
	height: 64px;
	font-size: 22px;
}

.seamkt-story__by {
	display: grid;
	gap: 3px;
}

.seamkt-story__author {
	color: var(--bl-ink);
	font-size: 15px;
	font-weight: 700;
}

.seamkt-blog .seamkt-story__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	margin: 0;
	color: var(--bl-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.seamkt-story__facts > * + *::before {
	margin-right: 8px;
	content: '·';
}

.seamkt-story__share {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.seamkt-story__share-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--bl-line);
	border-radius: 50%;
	background: #fff;
	color: var(--bl-ink);
	cursor: pointer;
	transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.seamkt-story__share-btn:hover,
.seamkt-blog .seamkt-story__share-btn:hover,
.seamkt-blog .seamkt-story__share-btn:focus {
	border-color: var(--bl-ink);
	background: var(--bl-ink);
	color: var(--bl-light);
}

.seamkt-story__share-btn svg {
	width: 17px;
	height: 17px;
}

.seamkt-story__copied {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 0;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--bl-ink);
	color: var(--bl-light);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(4px);
	pointer-events: none;
	transition: opacity 200ms ease, transform 300ms var(--bl-ease);
}

.seamkt-story__copied::after {
	position: absolute;
	top: 100%;
	left: 15px;
	border: 5px solid transparent;
	border-top-color: var(--bl-ink);
	content: '';
}

.seamkt-story__share-btn.is-copied .seamkt-story__copied {
	opacity: 1;
	transform: none;
}

/* The cover at its own proportions, never cropped (the pictures carry words). */
.seamkt-story__cover {
	margin: clamp(28px, 3vw, 44px) 0 0;
	overflow: hidden;
	border-radius: var(--bl-radius);
	background: #e4e3df;
}

.seamkt-story__cover-img {
	display: block;
	width: 100%;
	height: auto;
}

/* Summarise with AI, under the cover: the words, then one pill per assistant (beside the words
   when the column is wide enough, beneath them when not). */
.seamkt-story__ai {
	display: flex;
	flex-wrap: wrap;
	gap: 16px clamp(20px, 2.4vw, 32px);
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(28px, 3vw, 40px);
	padding: clamp(18px, 2vw, 24px) clamp(18px, 2.2vw, 28px);
	border: 1px solid var(--bl-line);
	border-radius: 22px;
	background: linear-gradient(135deg, #fff 0%, #faf8f3 100%);
	box-shadow: 0 18px 40px -32px rgba(13, 13, 12, 0.3);
}

.seamkt-story__ai-head {
	flex: 1 1 220px;
	min-width: 0;
}

.seamkt-blog .seamkt-story__ai-title {
	margin: 0;
	color: var(--bl-ink);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.seamkt-blog .seamkt-story__ai-note {
	margin: 3px 0 0;
	color: var(--bl-muted);
	font-size: 13.5px;
	line-height: 1.4;
}

.seamkt-story__ai-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.seamkt-story__ai-btn {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	min-height: 46px;
	padding: 0 18px 0 7px;
	border: 1px solid var(--bl-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bl-ink);
	font-size: 14.5px;
	font-weight: 600;
	transition: transform 320ms var(--bl-ease), border-color 200ms ease, box-shadow 320ms ease;
}

.seamkt-story__ai-btn:hover,
.seamkt-story__ai-btn:focus-visible {
	border-color: var(--bl-ink);
	box-shadow: 0 12px 26px -18px rgba(13, 13, 12, 0.5);
	transform: translateY(-2px);
}

.seamkt-story__ai-mark {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.seamkt-story__ai-mark svg {
	width: 18px;
	height: 18px;
}

.seamkt-story__ai-btn--chatgpt .seamkt-story__ai-mark {
	background: #0d0d0c;
	color: #fff;
}

.seamkt-story__ai-btn--claude .seamkt-story__ai-mark {
	background: #faefe9;
	color: #d97757;
}

.seamkt-story__ai-btn--perplexity .seamkt-story__ai-mark {
	background: #091717;
	color: #20b8cd;
}

.seamkt-story__ai-btn--google .seamkt-story__ai-mark {
	background: #f1f3fd;
}

/* The contents: a card that folds, each section numbered; the one being read is marked. */
.seamkt-story__toc {
	margin-top: 14px;
	border: 1px solid var(--bl-line);
	border-radius: 22px;
	background: #fff;
}

.seamkt-story__toc-head {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 16px 18px 16px 22px;
	cursor: pointer;
	list-style: none;
}

.seamkt-story__toc-head::-webkit-details-marker {
	display: none;
}

.seamkt-story__toc-title {
	color: var(--bl-ink);
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.seamkt-story__toc-count {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--bl-paper);
	color: var(--bl-soft);
	font-size: 12px;
	font-weight: 600;
}

.seamkt-story__toc-fold {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-left: auto;
	border: 1px solid var(--bl-line);
	border-radius: 50%;
	transition: transform 320ms var(--bl-ease), border-color 200ms ease;
}

.seamkt-story__toc-head:hover .seamkt-story__toc-fold {
	border-color: var(--bl-ink);
}

.seamkt-story__toc-fold svg {
	width: 16px;
	height: 16px;
}

.seamkt-story__toc[open] .seamkt-story__toc-fold {
	transform: rotate(180deg);
}

.seamkt-story__toc-list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0 12px 14px;
	list-style: none;
}

.seamkt-story__toc-list a {
	display: flex;
	gap: 14px;
	align-items: baseline;
	padding: 10px;
	border-radius: 12px;
	color: var(--bl-soft);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	transition: background 200ms ease, color 200ms ease;
}

.seamkt-story__toc-list a:hover {
	background: var(--bl-paper);
	color: var(--bl-ink);
}

.seamkt-story__toc-list a.is-active {
	color: var(--bl-ink);
	font-weight: 700;
}

.seamkt-story__toc-no {
	flex: none;
	min-width: 22px;
	color: var(--bl-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
}

.seamkt-story__toc-list a.is-active .seamkt-story__toc-no {
	color: var(--story-gold);
}

/* The text: one column, the measure of a good book. */
.seamkt-story__body {
	margin-top: clamp(36px, 4vw, 52px);
	color: #262521;
	font-size: clamp(17px, 1.2vw, 19.5px);
	font-weight: 450;
	line-height: 1.75;
	counter-reset: seamkt-h2;
	overflow-wrap: break-word;
}

.seamkt-story__body > :first-child {
	margin-top: 0;
}

.seamkt-blog .seamkt-story__body p {
	margin: 0 0 1.35em;
}

/* A drop cap opens the story. */
.seamkt-blog .seamkt-story__body > p:first-of-type::first-letter {
	float: left;
	margin: 0.08em 0.1em 0 -0.02em;
	color: var(--bl-ink);
	font-size: 4.3em;
	font-weight: 800;
	line-height: 0.78;
	letter-spacing: -0.04em;
}

.seamkt-blog .seamkt-story__body h2 {
	margin: 2.3em 0 0.7em;
	color: var(--bl-ink);
	font-size: clamp(26px, 2.2vw, 36px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.04em;
	scroll-margin-top: 120px;
	counter-increment: seamkt-h2;
}

.seamkt-blog .seamkt-story__body h3 {
	margin: 1.9em 0 0.6em;
	color: var(--bl-ink);
	font-size: clamp(20px, 1.5vw, 24px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.025em;
	scroll-margin-top: 120px;
}

.seamkt-blog .seamkt-story__body h4 {
	margin: 1.6em 0 0.5em;
	color: var(--bl-ink);
	font-size: 0.82em;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.seamkt-story__body a {
	color: var(--bl-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: text-decoration-thickness 160ms ease;
}

.seamkt-story__body a:hover {
	text-decoration-thickness: 2px;
}

.seamkt-story__body strong,
.seamkt-story__body b {
	color: var(--bl-ink);
	font-weight: 700;
}

.seamkt-story__body ul,
.seamkt-story__body ol {
	margin: 0 0 1.35em;
	padding: 0;
	list-style: none;
}

.seamkt-story__body li {
	position: relative;
	margin: 0 0 0.55em;
	padding-left: 2em;
}

.seamkt-story__body ul > li::before {
	position: absolute;
	top: 0.86em;
	left: 0.3em;
	width: 0.85em;
	height: 1.5px;
	background: var(--bl-ink);
	content: '';
}

.seamkt-story__body ol {
	counter-reset: seamkt-li;
}

.seamkt-story__body ol > li {
	counter-increment: seamkt-li;
}

.seamkt-story__body ol > li::before {
	position: absolute;
	top: 0.32em;
	left: 0;
	color: var(--bl-muted);
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.06em;
	content: counter(seamkt-li, decimal-leading-zero);
	font-variant-numeric: tabular-nums;
}

.seamkt-blog .seamkt-story__body blockquote,
.seamkt-blog .seamkt-story__body .wp-block-pullquote {
	margin: 2em 0;
	padding: 0 0 0 1.3em;
	border: 0;
	border-left: 2px solid var(--bl-ink);
	background: none;
	color: var(--bl-ink);
	font-size: clamp(22px, 1.9vw, 30px);
	font-style: normal;
	font-weight: 300;
	line-height: 1.32;
	letter-spacing: -0.025em;
	text-align: left;
}

.seamkt-blog .seamkt-story__body blockquote p,
.seamkt-blog .seamkt-story__body .wp-block-pullquote p {
	margin: 0 0 0.5em;
	font-size: inherit;
}

.seamkt-story__body blockquote cite,
.seamkt-story__body blockquote footer {
	display: block;
	margin-top: 14px;
	color: var(--bl-muted);
	font-size: 12.5px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.seamkt-story__body img,
.seamkt-story__body video,
.seamkt-story__body iframe {
	max-width: 100%;
	height: auto;
	border-radius: clamp(12px, 1.4vw, 20px);
}

.seamkt-story__body figure {
	margin: 2em 0;
}

.seamkt-story__body img {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.seamkt-story__body p > img,
.seamkt-story__body p > a > img {
	margin-top: 2em;
	margin-bottom: 2em;
}

/* A table's block and the table itself each carried a margin: the gap after them doubled. */
.seamkt-story__body .wp-block-table {
	margin: 2em 0;
	overflow-x: auto;
}

.seamkt-story__body .wp-block-table table {
	margin: 0;
}

.seamkt-story__body .alignwide,
.seamkt-story__body .alignfull {
	width: min(1000px, calc(100vw - 2 * var(--bl-gutter)));
	max-width: none;
}

.seamkt-story__body figcaption,
.seamkt-story__body .wp-element-caption {
	margin-top: 12px;
	color: var(--bl-muted);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.5;
	text-align: left;
}

.seamkt-story__body .wp-block-embed__wrapper iframe,
.seamkt-story__body > iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.seamkt-story__body code {
	padding: 0.12em 0.4em;
	border-radius: 6px;
	background: #e4e3df;
	color: var(--bl-ink);
	font-size: 0.86em;
}

.seamkt-story__body pre {
	margin: 2em 0;
	padding: 22px 24px;
	overflow-x: auto;
	border-radius: 16px;
	background: #0d0d0c;
	color: var(--bl-light);
	font-size: 14.5px;
	line-height: 1.65;
}

.seamkt-story__body pre code {
	padding: 0;
	background: none;
	color: inherit;
}

/* A break: three dots. */
.seamkt-story__body hr,
.seamkt-story__body .wp-block-separator {
	height: 0;
	margin: 1.6em 0;
	border: 0;
	background: none;
	text-align: center;
}

/* A break in the text is room only: the three dots read as noise between sections. */
.seamkt-story__body hr::after,
.seamkt-story__body .wp-block-separator::after {
	content: none;
}

.seamkt-story__body table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 0.88em;
}

.seamkt-story__body th,
.seamkt-story__body td {
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid var(--bl-line);
	text-align: left;
}

.seamkt-story__body th {
	color: var(--bl-ink);
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-bottom-color: var(--bl-ink);
}

.seamkt-story__body .wp-block-button__link {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	padding: 0 26px;
	border-radius: 999px;
	background: var(--bl-ink);
	color: var(--bl-light);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.seamkt-story__foot {
	margin-top: clamp(40px, 5vw, 72px);
}

.seamkt-story__foot > * {
	max-width: none;
}

.seamkt-story__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.seamkt-story__tags a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--bl-line);
	border-radius: 999px;
	color: var(--bl-soft);
	font-size: 13.5px;
	font-weight: 600;
	transition: border-color 180ms ease, color 180ms ease;
}

.seamkt-story__tags a:hover {
	border-color: var(--bl-ink);
	color: var(--bl-ink);
}

.seamkt-story__card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: clamp(22px, 2.4vw, 32px);
	border: 1px solid var(--bl-line);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.6);
}

.seamkt-blog .seamkt-story__card-label {
	margin: 0;
	color: var(--bl-muted);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.seamkt-blog .seamkt-story__card-name {
	margin: 6px 0 0;
	color: var(--bl-ink);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.seamkt-blog .seamkt-story__card-bio {
	margin: 8px 0 0;
	color: var(--bl-soft);
	font-size: 15px;
	line-height: 1.6;
}

/* The stories either side: two halves that fill with ink from below when pointed at. */
.seamkt-story__turn {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: min(var(--bl-max) - 2 * var(--bl-gutter), 100% - 2 * var(--bl-gutter));
	margin: clamp(72px, 9vw, 130px) auto 0;
	border-top: 1px solid var(--bl-ink);
	border-bottom: 1px solid var(--bl-ink);
}

.seamkt-story__turn-link {
	position: relative;
	display: grid;
	gap: 16px;
	align-content: start;
	padding: clamp(28px, 3.4vw, 52px) clamp(18px, 3vw, 48px);
	overflow: hidden;
	isolation: isolate;
	transition: color 380ms var(--bl-ease);
}

.seamkt-story__turn-link + .seamkt-story__turn-link {
	border-left: 1px solid var(--bl-line);
}

.seamkt-story__turn-link--newer {
	justify-items: end;
	text-align: right;
}

.seamkt-story__turn-link::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: var(--bl-ink);
	content: '';
	transform: scaleY(0);
	transform-origin: 50% 100%;
	transition: transform 520ms var(--bl-ease);
}

a.seamkt-story__turn-link:hover {
	color: var(--bl-light);
}

a.seamkt-story__turn-link:hover::before {
	transform: none;
}

.seamkt-story__turn-label {
	color: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.6;
}

.seamkt-story__turn-title {
	max-width: 24ch;
	font-size: clamp(22px, 2.3vw, 38px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.seamkt-blog-index--more {
	margin-top: clamp(72px, 8vw, 120px);
	margin-bottom: clamp(80px, 9vw, 140px);
}

/* ---------- Coming in ---------- */

.seamkt-blog.is-ready [data-blog-rise] {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
}

.seamkt-blog.is-in [data-blog-rise] {
	opacity: 1;
	transform: none;
	transition: opacity 700ms ease var(--d, 0ms), transform 1000ms var(--bl-ease) var(--d, 0ms);
}

.seamkt-blog.is-ready [data-blog-reveal]:not(.is-shown) {
	opacity: 0;
	transform: translate3d(0, 32px, 0);
}

.seamkt-blog [data-blog-reveal].is-shown {
	transition: opacity 700ms ease var(--d, 0ms), transform 1000ms var(--bl-ease) var(--d, 0ms);
}

/* Swapping index and grid: the list fades in again. */
.seamkt-blog-list.is-swapping {
	animation: seamkt-blog-swap 520ms var(--bl-ease);
}

@keyframes seamkt-blog-swap {
	from {
		opacity: 0;
		transform: translate3d(0, 14px, 0);
	}
}

/* ---------- The story's left column (wide screens) ---------- */

@media (min-width: 1101px) {
	.seamkt-blog .seamkt-story__crumbs {
		margin: 0;
	}

	.seamkt-story__side .seamkt-story__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		margin: 14px 0 12px;
	}

	.seamkt-story__side .seamkt-story__toc {
		margin-top: 0;
		border-radius: 20px;
	}

	.seamkt-story__side .seamkt-story__toc-head {
		padding: 14px 14px 14px 18px;
	}

	.seamkt-story__side .seamkt-story__toc-title {
		font-size: 15px;
	}

	.seamkt-story__side .seamkt-story__toc-list {
		padding: 0 8px 10px;
	}

	.seamkt-story__side .seamkt-story__toc-list a {
		gap: 10px;
		padding: 8px 10px;
		font-size: 13.5px;
	}

	.seamkt-story__side .seamkt-story__toc-no {
		min-width: 18px;
		font-size: 11px;
	}

	.seamkt-story__head .seamkt-story__title {
		margin-top: -0.08em;
	}
}

/* Below 1100px one column: the left column's pieces fall in among the right column's, in reading
   order (the wrappers step aside with display: contents). */
@media (max-width: 1100px) {
	.seamkt-story {
		grid-template-columns: minmax(0, 1fr);
		width: min(820px, 100% - 2 * clamp(24px, 6vw, 64px));
	}

	.seamkt-story__side,
	.seamkt-story__side-inner,
	.seamkt-story__main {
		display: contents;
	}

	.seamkt-story__crumbs {
		order: 1;
	}

	.seamkt-story__head {
		order: 2;
	}

	.seamkt-story__meta {
		order: 3;
	}

	.seamkt-story__cover {
		order: 4;
	}

	.seamkt-story__ai {
		order: 5;
	}

	.seamkt-story__toc {
		order: 6;
	}

	.seamkt-story__body {
		order: 7;
	}

	.seamkt-story__foot {
		order: 8;
	}
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
	[data-view='grid'] .seamkt-blog-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.seamkt-blog-mast__main {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.seamkt-blog-mast__side {
		max-width: 640px;
	}
}

/* The lead stacks, picture over copy, once the copy no longer fits beside a 4:3 picture. */
@media (max-width: 1180px) {
	.seamkt-blog-lead {
		grid-template-columns: minmax(0, 1fr);
	}

	.seamkt-blog .seamkt-blog-lead__title {
		font-size: clamp(26px, 4.2vw, 44px);
	}

	.seamkt-blog .seamkt-blog-lead__excerpt {
		max-width: 62ch;
	}
}

/* Phones: the topic on a line of its own under the "Latest story" tag. */
@media (max-width: 767px) {
	.seamkt-blog .seamkt-blog-lead__kicker {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.seamkt-blog-mast {
		padding-top: 84px;
	}

	.seamkt-blog .seamkt-blog-mast__word:not(.is-topic) {
		font-size: clamp(96px, 33vw, 200px);
	}

	.seamkt-blog-topics {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.seamkt-blog-topics ul {
		flex-wrap: nowrap;
		width: calc(100% + var(--bl-gutter));
		margin-right: calc(var(--bl-gutter) * -1);
		padding-right: var(--bl-gutter);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.seamkt-blog-topics ul::-webkit-scrollbar {
		display: none;
	}

	.seamkt-blog-topics a {
		white-space: nowrap;
	}

	[data-view='list'] .seamkt-blog-row__link {
		grid-template-columns: 104px auto auto auto minmax(0, 1fr);
		padding: 10px;
		border-radius: 18px;
	}

	[data-view='list'] .seamkt-blog-row__media {
		margin-right: 4px;
		border-radius: 12px;
	}

	[data-view='list'] .seamkt-blog-row__topic {
		overflow: hidden;
		max-width: 18ch;
		margin-top: 2px;
		padding: 0;
		background: none;
		font-size: 10.5px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	[data-view='list'] .seamkt-blog-row__date {
		margin-top: 2px;
		font-size: 12px;
	}

	[data-view='list'] .seamkt-blog-row__time {
		display: none;
	}

	[data-view='list'] .seamkt-blog-row__main {
		padding-top: 6px;
	}

	[data-view='list'] .seamkt-blog-row__title {
		font-size: 16px;
		line-height: 1.25;
	}

	[data-view='list'] .seamkt-blog-row__excerpt {
		display: none;
	}

	[data-view='grid'] .seamkt-blog-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.seamkt-blog-pages {
		justify-content: center;
	}

	.seamkt-blog-pages__step {
		padding: 0 16px;
	}

	.seamkt-blog-pages__step.is-off {
		display: none;
	}

	.seamkt-blog-pages__list a,
	.seamkt-blog-pages__list span {
		width: 40px;
		height: 40px;
	}

	.seamkt-blog-cta__ring {
		right: -50vw;
	}

	.seamkt-blog-cta__ring--2 {
		right: -30vw;
	}

	.seamkt-story__turn {
		grid-template-columns: minmax(0, 1fr);
	}

	.seamkt-story__turn-link + .seamkt-story__turn-link {
		border-top: 1px solid var(--bl-line);
		border-left: 0;
	}

	.seamkt-story__turn-link.is-off {
		display: none;
	}

	.admin-bar .seamkt-blog-progress {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.seamkt-blog *,
	.seamkt-blog *::before,
	.seamkt-blog *::after {
		animation: none !important;
		transition-duration: 1ms !important;
		transition-delay: 0ms !important;
	}

	.seamkt-blog.is-ready [data-blog-rise],
	.seamkt-blog.is-ready [data-blog-reveal]:not(.is-shown) {
		opacity: 1;
		transform: none;
	}
}
