/* =========================================================================
   Fast Publish Journal — Author stories
   A light "review board" on the cream/navy system: aggregate score on the
   left, a swipeable 3-up carousel on the right, then the commitments behind
   the stories. Every class is namespaced .tstm-* so nothing leaks.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Stage + hero
   ---------------------------------------------------------------------- */
.tstm-stage {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2.5rem, 4.5vw, 4rem);
	background:
		radial-gradient(900px 440px at 10% -6%, rgba(176, 141, 87, 0.20), transparent 62%),
		radial-gradient(820px 460px at 92% 2%, rgba(27, 67, 115, 0.12), transparent 60%),
		linear-gradient(180deg, #f7f2e7 0%, #eef2f7 44%, #f7f3ea 100%);
}

.tstm-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(10, 31, 60, 0.06) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 68%);
	        mask-image: linear-gradient(180deg, #000 0%, transparent 68%);
	pointer-events: none;
}

.tstm-stage__glow {
	position: absolute;
	z-index: -1;
	inset: auto -12% -34% -12%;
	height: 460px;
	background: radial-gradient(closest-side, rgba(176, 141, 87, 0.22), transparent 72%);
	filter: blur(14px);
	pointer-events: none;
}

.tstm-stage .breadcrumbs {
	margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

/* The board is allowed to breathe wider than the reading container. */
.tstm-wide {
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.tstm-head {
	max-width: 800px;
	margin: 0 auto clamp(1.85rem, 4vw, 3rem);
	text-align: center;
}

.tstm-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.1rem;
	padding: 0.42rem 0.95rem 0.42rem 0.5rem;
	border: 1px solid rgba(10, 31, 60, 0.12);
	border-radius: 999px;
	background: rgba(255, 253, 247, 0.84);
	box-shadow: 0 8px 20px -16px rgba(10, 31, 60, 0.65);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--navy-800);
}

.tstm-pill__icon {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: linear-gradient(140deg, #caa45a, #9a7a44);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.tstm-pill__icon .icon {
	width: 13px;
	height: 13px;
}

.tstm-title {
	max-width: 17ch;
	margin: 0 auto 0.3em;
	font-size: clamp(2.15rem, 1.2rem + 3.8vw, 4rem);
	letter-spacing: -0.024em;
	line-height: 1.05;
}

.tstm-title em {
	font-style: italic;
	color: var(--brass-dark);
	white-space: nowrap;
}

.tstm-lead {
	max-width: 64ch;
	margin: 0 auto;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.62;
}

.tstm-head__proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem 1rem;
	margin-top: 1.5rem;
}

.tstm-head__rating {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--muted);
	text-align: left;
}

.tstm-head__rating strong {
	font-size: 1rem;
	color: var(--navy-900);
	letter-spacing: -0.01em;
}

/* -------------------------------------------------------------------------
   2. Avatars
   ---------------------------------------------------------------------- */
.tstm-avatar {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(145deg, #1b4373, #0a1f3c);
	color: #fff;
	font-family: var(--font-sans);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 1px 2px rgba(10, 31, 60, 0.2);
}

.tstm-avatar--sm {
	width: 34px;
	height: 34px;
	font-size: 0.67rem;
}

.tstm-avatar--xs {
	width: 26px;
	height: 26px;
	font-size: 0.6rem;
}

.tstm-avatars {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tstm-avatars .tstm-avatar {
	margin-left: -11px;
	border: 2px solid #faf6ee;
}

.tstm-avatars .tstm-avatar:first-child {
	margin-left: 0;
}

.tstm-avatar--tone-1 { background: linear-gradient(145deg, #1b4373, #0a1f3c); }
.tstm-avatar--tone-2 { background: linear-gradient(145deg, #c39a5c, #8d6f40); }
.tstm-avatar--tone-3 { background: linear-gradient(145deg, #2f6f6a, #1c4a46); }
.tstm-avatar--tone-4 { background: linear-gradient(145deg, #8a4444, #5c2d2d); }
.tstm-avatar--tone-5 { background: linear-gradient(145deg, #4f6379, #2c3a49); }
.tstm-avatar--tone-6 { background: linear-gradient(145deg, #6c7442, #464c2a); }

/* -------------------------------------------------------------------------
   3. The board
   ---------------------------------------------------------------------- */
.tstm-board {
	position: relative;
	display: grid;
	grid-template-columns: 292px minmax(0, 1fr);
	padding: clamp(14px, 1.8vw, 22px);
	border: 1px solid rgba(10, 31, 60, 0.10);
	border-radius: 26px;
	background: linear-gradient(180deg, #fffdf9 0%, #fffefb 100%);
	box-shadow:
		0 44px 90px -54px rgba(10, 31, 60, 0.6),
		0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.tstm-board::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	border-radius: 26px 26px 0 0;
	background: linear-gradient(90deg, var(--navy-800), var(--brass) 55%, var(--navy-700));
}

/* -------------------------------------------------------------------------
   4. Summary panel
   ---------------------------------------------------------------------- */
.tstm-summary {
	display: flex;
	flex-direction: column;
	padding: clamp(18px, 2.2vw, 28px);
	border: 1px solid rgba(176, 141, 87, 0.28);
	border-radius: 18px;
	background:
		radial-gradient(130% 90% at 0% 0%, rgba(176, 141, 87, 0.16), transparent 58%),
		linear-gradient(165deg, #fbf7ee, #f4ecdc);
}

.tstm-summary__brand {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px dashed rgba(10, 31, 60, 0.16);
}

.tstm-summary__logo {
	width: 150px;
	max-width: 100%;
	height: auto;
}

.tstm-summary__wordmark {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--navy-900);
}

.tstm-summary__kicker {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brass-dark);
}

.tstm-summary__score {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	margin-top: 1.15rem;
}

.tstm-summary__num {
	font-family: var(--font-serif);
	font-size: clamp(2.7rem, 2rem + 2vw, 3.4rem);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: -0.035em;
	color: var(--navy-900);
}

.tstm-summary__out {
	font-size: 0.78rem;
	color: var(--muted);
}

.tstm-summary__count {
	margin: 0.7rem 0 0;
	font-size: 0.8rem;
	line-height: 1.55;
	color: var(--muted);
}

.tstm-summary__count strong {
	color: var(--navy-900);
}

.tstm-summary__btn {
	width: 100%;
	margin-top: auto;
	padding-block: 0.82em;
}

.tstm-summary__note {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	margin: 0.75rem 0 0;
	font-size: 0.7rem;
	line-height: 1.45;
	color: var(--muted);
}

.tstm-summary__note .icon {
	flex: none;
	margin-top: 2px;
	color: var(--brass-dark);
}

/* -------------------------------------------------------------------------
   5. Carousel
   ---------------------------------------------------------------------- */
.tstm-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 8px 4px 2px clamp(16px, 2vw, 26px);
}

.tstm-carousel {
	position: relative;
	display: flex;
	flex: 1;
	align-items: stretch;
	min-width: 0;
}

.tstm-viewport {
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	border-radius: 14px;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.tstm-viewport::-webkit-scrollbar {
	display: none;
}

.tstm-viewport:focus-visible {
	outline: 2px solid var(--brass);
	outline-offset: 4px;
}

.tstm-track {
	display: flex;
	gap: 16px;
	height: 100%;
	margin: 0;
	padding: 2px;
	list-style: none;
}

.tstm-slide {
	display: flex;
	flex: 0 0 calc((100% - 32px) / 3);
	min-width: 0;
	scroll-snap-align: start;
}

.tstm-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding-top: 0.85rem;
}

.tstm-nav {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid rgba(10, 31, 60, 0.14);
	border-radius: 50%;
	background: #fff;
	color: var(--navy-800);
	cursor: pointer;
	transition: background 0.18s var(--ease), color 0.18s var(--ease),
		border-color 0.18s var(--ease), opacity 0.18s var(--ease);
}

.tstm-nav--prev .icon {
	transform: rotate(180deg);
}

.tstm-nav:hover:not(:disabled) {
	border-color: var(--navy-900);
	background: var(--navy-900);
	color: var(--cream-50);
}

.tstm-nav:disabled {
	opacity: 0.32;
	cursor: default;
}

/* -------------------------------------------------------------------------
   6. Story card
   ---------------------------------------------------------------------- */
.tstm-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 18px 18px 15px;
	border: 1px solid rgba(10, 31, 60, 0.10);
	border-radius: 16px;
	background: #fff;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 14px 30px -26px rgba(10, 31, 60, 0.55);
	transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
}

.tstm-card:hover {
	border-color: rgba(176, 141, 87, 0.46);
	box-shadow: 0 24px 42px -32px rgba(10, 31, 60, 0.55);
	transform: translateY(-3px);
}

.tstm-card:focus-within {
	border-color: rgba(176, 141, 87, 0.6);
}

.tstm-card__head {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
}

.tstm-card__head .tstm-avatar {
	margin-top: 1px;
}

.tstm-card__who {
	flex: 1;
	min-width: 0;
}

.tstm-card__name {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--navy-900);
	font-family: var(--font-sans);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.012em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tstm-card__redacted {
	color: var(--brass-dark);
	font-weight: 700;
	letter-spacing: 0.08em;
	opacity: 0.9;
}

.tstm-card__role {
	display: -webkit-box;
	margin: 0.16rem 0 0;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.71rem;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tstm-card__source {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(10, 31, 60, 0.14);
	border-radius: 9px;
	background: #fffdf8;
	color: var(--navy-800);
	font-family: var(--font-serif);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
}

.tstm-card__place {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0.8rem 0 0;
	font-size: 0.71rem;
	line-height: 1.4;
	color: var(--ink-soft);
}

.tstm-cc {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 18px;
	padding: 0 5px;
	border-radius: 4px;
	background: var(--navy-900);
	color: #fff;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1;
}

.tstm-card__meta {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.7rem;
}

.tstm-card__meta .tstm-star {
	width: 14px;
	height: 14px;
}

.tstm-card__meta .tstm-stars {
	flex: none;
}

.tstm-check {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2f6f6a;
	color: #fff;
}

.tstm-check .icon {
	width: 9px;
	height: 9px;
	stroke-width: 3;
}

.tstm-card__verified {
	flex: none;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #2f6f6a;
}

.tstm-card__date {
	flex: none;
	margin-left: auto;
	font-size: 0.67rem;
	color: var(--muted);
	white-space: nowrap;
}

.tstm-card__quote {
	flex: 1;
	margin: 0.85rem 0 0;
}

.tstm-card__quote p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--ink-soft);
	font-size: 0.835rem;
	line-height: 1.64;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
}

.tstm-card.is-expanded .tstm-card__quote p {
	display: block;
	overflow: visible;
	-webkit-line-clamp: unset;
}

.tstm-card__foot {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.9rem;
	padding-top: 0.7rem;
	border-top: 1px solid rgba(10, 31, 60, 0.08);
}

.tstm-card__inst {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	font-size: 0.67rem;
	color: var(--muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tstm-more {
	display: inline-flex;
	align-items: center;
	flex: none;
	gap: 0.3rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy-800);
	font-family: var(--font-sans);
	font-size: 0.73rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.tstm-more:hover {
	color: var(--brass-dark);
}

.tstm-more .icon {
	transition: transform 0.2s var(--ease);
}

.tstm-card.is-expanded .tstm-more .icon {
	transform: rotate(90deg);
}

/* -------------------------------------------------------------------------
   7. Stars
   ---------------------------------------------------------------------- */
.tstm-stars {
	display: inline-flex;
	gap: 3px;
	color: #d9d1c2;
}

.tstm-stars__item {
	display: inline-flex;
}

.tstm-stars__item.is-on {
	color: #c99a3f;
}

.tstm-star {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex: none;
}

.tstm-stars--fraction {
	position: relative;
	display: inline-flex;
	margin-top: 0.4rem;
}

.tstm-stars__row {
	display: flex;
	gap: 3px;
}

.tstm-stars__row > * {
	flex: none;
}

.tstm-stars__row--fill {
	position: absolute;
	inset: 0;
	color: #c99a3f;
	clip-path: inset(0 calc(100% - var(--rating) * 20%) 0 0);
}

.tstm-stars--fraction .tstm-star {
	width: 17px;
	height: 17px;
}

/* -------------------------------------------------------------------------
   8. Dots + board note
   ---------------------------------------------------------------------- */
.tstm-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
}

.tstm-dots[hidden],
.tstm-dots:empty {
	display: none;
}

.tstm-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(10, 31, 60, 0.18);
	cursor: pointer;
	transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.tstm-dot:hover {
	background: rgba(10, 31, 60, 0.38);
}

.tstm-dot.is-active {
	width: 26px;
	background: linear-gradient(90deg, var(--brass), var(--brass-dark));
}

.tstm-dot:focus-visible {
	outline: 2px solid var(--brass);
	outline-offset: 3px;
}

.tstm-board__note {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	max-width: 78ch;
	margin: 1.2rem auto 0;
	color: var(--muted);
	font-size: 0.79rem;
	line-height: 1.55;
	text-align: center;
}

.tstm-board__note-body {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0.5rem;
}

.tstm-board__note-body .icon {
	flex: none;
	margin-top: 3px;
	color: var(--brass-dark);
}

.tstm-board__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	border-bottom: 1px solid var(--brass-soft);
	color: var(--navy-800);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.tstm-board__link:hover {
	border-color: var(--brass);
	color: var(--brass-dark);
}

.tstm-board__links {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 1.1rem;
}

/* -------------------------------------------------------------------------
   9. Promises
   ---------------------------------------------------------------------- */
.tstm-promises-section {
	border-top: 1px solid rgba(10, 31, 60, 0.06);
	background: linear-gradient(180deg, #f7f3ea 0%, #fbf9f4 100%);
}

.tstm-section-head {
	max-width: 720px;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.tstm-section-head h2 {
	margin-bottom: 0.35em;
}

.tstm-section-head > p:last-child {
	max-width: 62ch;
	margin: 0 auto;
	color: var(--muted);
}

.tstm-promises {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tstm-promise {
	position: relative;
	overflow: hidden;
	padding: 22px 20px 20px;
	border: 1px solid rgba(10, 31, 60, 0.09);
	border-radius: 14px;
	background: #fffdf9;
	transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
}

.tstm-promise:hover {
	border-color: rgba(176, 141, 87, 0.45);
	box-shadow: 0 22px 38px -32px rgba(10, 31, 60, 0.5);
	transform: translateY(-3px);
}

.tstm-promise__num {
	position: absolute;
	top: 12px;
	right: 16px;
	color: rgba(10, 31, 60, 0.10);
	font-family: var(--font-serif);
	font-size: 1.65rem;
	font-weight: 600;
	line-height: 1;
}

.tstm-promise__icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(176, 141, 87, 0.18), rgba(27, 67, 115, 0.10));
	color: var(--navy-800);
}

.tstm-promise h3 {
	margin: 0 0 0.45em;
	font-family: var(--font-sans);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.3;
}

.tstm-promise p {
	margin: 0;
	color: var(--muted);
	font-size: 0.82rem;
	line-height: 1.6;
}

/* -------------------------------------------------------------------------
   10. Share band
   ---------------------------------------------------------------------- */
.tstm-share {
	position: relative;
	overflow: hidden;
	background: var(--navy-900);
}

.tstm-share::before {
	content: "";
	position: absolute;
	inset: -40% -10% auto auto;
	width: 640px;
	height: 640px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(176, 141, 87, 0.24), transparent 70%);
	pointer-events: none;
}

.tstm-share__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.tstm-share__title {
	max-width: 16ch;
	color: var(--cream-50);
}

.tstm-share__copy > p {
	max-width: 60ch;
	color: rgba(255, 255, 255, 0.76);
}

.tstm-share__ref {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--brass-soft) !important;
	font-size: 0.8rem;
}

.tstm-share__ref .icon {
	flex: none;
}

.tstm-share__panel {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.05);
	-webkit-backdrop-filter: blur(6px);
	        backdrop-filter: blur(6px);
}

.tstm-share__label {
	margin: 0 0 0.3rem;
	color: var(--brass-soft);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tstm-btn-brass {
	border-color: transparent;
	background: linear-gradient(135deg, #c9a24a, #a9843f);
	color: #1a1206;
	box-shadow: 0 16px 30px -20px rgba(201, 162, 74, 0.9);
}

.tstm-btn-brass:hover {
	border-color: transparent;
	background: linear-gradient(135deg, #d7b25c, #b28c42);
	color: #1a1206;
}

.tstm-share__small {
	margin: 0.25rem 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.72rem;
	text-align: center;
}

/* -------------------------------------------------------------------------
   10b. The editorial record (real handled submissions)
   ---------------------------------------------------------------------- */
.tstm-record {
	background: #fffdf9;
	border-block: 1px solid var(--line);
}

.tstm-record__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.tstm-record__intro {
	max-width: 720px;
}

.tstm-record__intro h2 {
	max-width: 20ch;
	margin-bottom: 0.35em;
}

.tstm-record__lead {
	max-width: 68ch;
	margin: 0;
	color: var(--muted);
}

.tstm-record__period {
	flex: none;
	margin: 0;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--cream-50);
	color: var(--navy-800);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tstm-record-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.tstm-record-stats li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 20px;
	border: 1px solid rgba(10, 31, 60, 0.1);
	border-radius: 12px;
	background: linear-gradient(160deg, #fbf7ee, #f6f0e3);
}

.tstm-record-stats strong {
	font-family: var(--font-serif);
	font-size: 2.1rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--navy-900);
}

.tstm-record-stats span {
	color: var(--muted);
	font-size: 0.74rem;
	letter-spacing: 0.03em;
}

.tstm-ledger {
	overflow: hidden;
	border: 1px solid rgba(10, 31, 60, 0.1);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.tstm-ledger__head,
.tstm-ledger__row {
	display: grid;
	grid-template-columns:
		92px minmax(110px, 0.9fr) minmax(125px, 0.8fr)
		minmax(190px, 1.8fr) minmax(110px, 1.1fr) 78px;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
}

.tstm-ledger__head {
	background: var(--navy-900);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tstm-ledger__body {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tstm-ledger__row {
	border-top: 1px solid rgba(10, 31, 60, 0.07);
	font-size: 0.79rem;
}

.tstm-ledger__row:first-child {
	border-top: 0;
}

.tstm-ledger__row:hover {
	background: rgba(176, 141, 87, 0.055);
}

.tstm-ledger__ref {
	color: var(--brass-dark);
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.tstm-ledger__author {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	color: var(--navy-900);
	font-weight: 600;
}

.tstm-ledger__author .tstm-card__redacted {
	font-weight: 700;
}

.tstm-ledger__country {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-width: 0;
	color: var(--ink-soft);
}

.tstm-ledger__journal {
	color: var(--ink-soft);
	line-height: 1.4;
}

.tstm-ledger__issn {
	color: var(--muted);
	font-size: 0.69rem;
	line-height: 1.35;
}

.tstm-ledger__date {
	color: var(--muted);
	font-size: 0.69rem;
	text-align: right;
	white-space: nowrap;
}

.tstm-record__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-top: 1rem;
}

.tstm-record__countries {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
}

.tstm-record__label {
	margin-right: 0.25rem;
	color: var(--muted);
	font-size: 0.67rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tstm-record__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.24rem 0.55rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-soft);
	font-size: 0.69rem;
}

.tstm-record__note {
	flex: 1 1 300px;
	margin: 0;
	color: var(--muted);
	font-size: 0.71rem;
	line-height: 1.55;
}

/* -------------------------------------------------------------------------
   11. Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1279px) {
	.tstm-board {
		grid-template-columns: 260px minmax(0, 1fr);
	}

	.tstm-summary__logo {
		width: 132px;
	}

	.tstm-slide {
		flex-basis: calc((100% - 16px) / 2);
	}

	.tstm-card__quote p {
		-webkit-line-clamp: 7;
	}

	.tstm-ledger__head,
	.tstm-ledger__row {
		grid-template-columns:
			82px minmax(100px, 0.9fr) minmax(110px, 0.8fr)
			minmax(160px, 1.6fr) minmax(100px, 1fr) 70px;
		gap: 10px;
		padding: 10px 14px;
	}
}

@media (max-width: 960px) {
	.tstm-board {
		grid-template-columns: minmax(0, 1fr);
	}

	.tstm-summary {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px 18px;
		padding: 14px 18px;
	}

	.tstm-summary__brand {
		flex: 0 0 auto;
		flex-direction: row;
		align-items: center;
		gap: 0.75rem;
		padding: 0;
		border: 0;
	}

	.tstm-summary__logo {
		width: 108px;
	}

	.tstm-summary__kicker {
		display: none;
	}

	.tstm-summary__score {
		flex: 0 0 auto;
		margin: 0;
	}

	.tstm-summary__num {
		font-size: 2rem;
	}

	.tstm-summary__out {
		display: none;
	}

	.tstm-summary > .tstm-stars--fraction {
		flex: 0 0 auto;
		margin: 0;
	}

	.tstm-summary > .tstm-stars--fraction .tstm-star {
		width: 14px;
		height: 14px;
	}

	.tstm-summary__count {
		flex: 1 1 150px;
		margin: 0;
		font-size: 0.76rem;
	}

	.tstm-summary__btn {
		flex: 0 0 auto;
		width: auto;
		margin: 0 0 0 auto;
		padding: 0.72em 1.15em;
	}

	.tstm-summary__note {
		flex: 1 1 100%;
		justify-content: center;
		margin: 0;
	}

	.tstm-main {
		padding: 1rem 0 0;
	}

	.tstm-promises {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.tstm-record__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.tstm-record__period {
		align-self: flex-start;
	}
}

@media (max-width: 760px) {
	.tstm-stage {
		padding-top: 1rem;
	}

	.tstm-head {
		margin-bottom: 1.5rem;
	}

	.tstm-title {
		max-width: 20ch;
	}

	.tstm-lead {
		font-size: 1rem;
	}

	.tstm-board {
		padding: 12px;
		border-radius: 20px;
	}

	.tstm-board::before {
		border-radius: 20px 20px 0 0;
	}

	.tstm-slide {
		flex-basis: 100%;
	}

	.tstm-track {
		gap: 14px;
	}

	.tstm-card__quote p {
		-webkit-line-clamp: 5;
	}

	.tstm-nav {
		width: 30px;
		height: 30px;
	}

	.tstm-controls {
		gap: 10px;
	}

	.tstm-dots {
		gap: 0.35rem;
	}

	.tstm-dot {
		width: 6px;
		height: 6px;
	}

	.tstm-dot.is-active {
		width: 20px;
	}

	.tstm-board__note {
		font-size: 0.75rem;
	}

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

	.tstm-record-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tstm-ledger__head {
		display: none;
	}

	.tstm-ledger__row {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: start;
		gap: 4px 10px;
		padding: 14px 16px;
	}

	.tstm-ledger__ref {
		grid-column: 1;
		grid-row: 1;
	}

	.tstm-ledger__date {
		grid-column: 2;
		grid-row: 1;
		text-align: right;
	}

	.tstm-ledger__author,
	.tstm-ledger__country,
	.tstm-ledger__journal,
	.tstm-ledger__issn {
		grid-column: 1 / -1;
	}

	.tstm-record__footer {
		flex-direction: column;
	}
}

@media (max-width: 380px) {
	.tstm-card__verified {
		display: none;
	}
}

@media (max-width: 560px) {
	.tstm-summary {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		text-align: center;
	}

	.tstm-summary__brand,
	.tstm-summary__score,
	.tstm-summary > .tstm-stars--fraction,
	.tstm-summary__count,
	.tstm-summary__btn,
	.tstm-summary__note {
		grid-column: 1;
		grid-row: auto;
		justify-self: center;
	}

	.tstm-summary__brand {
		flex-direction: column;
	}

	.tstm-summary__score {
		margin-top: 0.2rem;
	}

	.tstm-summary__btn {
		width: 100%;
		margin: 0;
	}

	.tstm-pill {
		font-size: 0.65rem;
	}

	.tstm-head__proof {
		flex-direction: column;
	}

	.tstm-record-stats li {
		padding: 14px;
	}

	.tstm-record-stats strong {
		font-size: 1.8rem;
	}

	.tstm-record__note {
		font-size: 0.68rem;
	}
}

/* -------------------------------------------------------------------------
   12. Motion preferences
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.tstm-card,
	.tstm-promise,
	.tstm-nav,
	.tstm-dot,
	.tstm-more .icon {
		transition: none;
	}

	.tstm-card:hover,
	.tstm-promise:hover {
		transform: none;
	}
}
