/**
 * Dressage Inc. case study — Case Study 02 composition from the Claude Design.
 */

body.ga-tss-case-study--dressage-inc .ga-tss-study-hero__ambient {
	background-image:
		radial-gradient(1200px 620px at 78% -8%, rgba(87, 55, 181, 0.4) 0%, rgba(87, 55, 181, 0) 66%),
		radial-gradient(900px 500px at 0% 40%, rgba(113, 38, 106, 0.24) 0%, rgba(113, 38, 106, 0) 70%);
}

body.ga-tss-case-study--dressage-inc .ga-tss-study-hero__veil {
	background: none;
}

body.ga-tss-case-study--dressage-inc .ga-tss-ds-hero {
	padding-bottom: 0;
}

body.ga-tss-case-study--dressage-inc .ga-tss-study-hero__grid {
	padding-bottom: clamp(48px, 6vw, 80px);
}

body.ga-tss-case-study--dressage-inc .ga-tss-study-hero__client {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--tss-ice);
}

body.ga-tss-case-study--dressage-inc .ga-tss-study-hero h1 {
	max-width: 20ch;
	font-size: clamp(40px, 4.6vw, 66px);
}

.ga-tss-ds-hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
}

.ga-tss-ds-hero-meta span {
	font-family: var(--font-condensed);
	font-size: 12px;
	font-weight: 700;
	font-stretch: condensed;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tss-heading);
}

.ga-tss-ds-hero-meta span:last-of-type {
	color: rgba(255, 255, 255, 0.72);
}

.ga-tss-ds-hero-meta__dot {
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
}

.ga-tss-ds-hero-summary {
	margin: 0;
	max-width: 52ch;
	padding-top: 24px;
	border-top: 1px solid var(--tss-divider);
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.ga-tss-ds-hero-still {
	aspect-ratio: 4 / 5;
	min-height: 420px;
	max-width: none;
	width: 100%;
}

.ga-tss-ds-hero-still .ga-tss-study-film__shade {
	background: linear-gradient(180deg, rgba(7, 1, 24, 0) 34%, rgba(7, 1, 24, 0.92) 100%);
}

.ga-tss-ds-hero-pills {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	z-index: 1;
}

.ga-tss-ds-hero-pills span {
	font-family: var(--font-condensed);
	font-size: 11px;
	font-weight: 700;
	font-stretch: condensed;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tss-heading);
	border: 1px solid var(--tss-white-a20);
	background: var(--tss-white-a08);
	backdrop-filter: blur(8px);
	border-radius: 999px;
	padding: 8px 16px;
}

.ga-tss-ds-scope {
	border-top: 1px solid var(--tss-divider);
	background: rgba(7, 1, 24, 0.45);
}

.ga-tss-ds-scope__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	padding-block: 26px;
}

.ga-tss-ds-scope .ga-tss-kicker {
	margin-right: 6px;
	color: rgba(255, 255, 255, 0.55);
}

.ga-tss-ds-tags li {
	border-color: var(--tss-purple-a40);
	background: rgba(131, 68, 189, 0.16);
	color: var(--tss-heading);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-stretch: condensed;
	font-weight: 700;
	font-size: 11px;
	padding: 8px 14px;
}

.ga-tss-ds-summary__grid,
.ga-tss-ds-decision__grid,
.ga-tss-ds-workstream,
.ga-tss-ds-films,
.ga-tss-ds-talent__grid,
.ga-tss-ds-paid__grid,
.ga-tss-ds-outcomes,
.ga-tss-ds-highlights__grid,
.ga-tss-ds-board,
.ga-tss-ds-insight__grid,
.ga-tss-ds-learning__split {
	display: grid;
	gap: clamp(26px, 4vw, 48px);
}

.ga-tss-ds-summary__grid,
.ga-tss-ds-decision__grid,
.ga-tss-ds-workstream {
	gap: clamp(40px, 5vw, 80px);
}

.ga-tss-ds-summary h2,
.ga-tss-ds-challenge h2,
.ga-tss-ds-decision h2,
.ga-tss-ds-results h2 {
	max-width: 24ch;
	font-size: clamp(28px, 2.7vw, 40px);
	line-height: 1.14;
	letter-spacing: -0.01em;
}

.ga-tss-ds-summary h2 {
	font-size: clamp(24px, 2.3vw, 32px);
	line-height: 1.35;
	letter-spacing: 0;
	max-width: 34ch;
}

.ga-tss-ds-pull {
	max-width: 40ch;
	border-left-color: rgba(149, 172, 253, 0.35);
}

.ga-tss-ds-pull p {
	margin: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.4;
	color: var(--tss-ice);
}

.ga-tss-ds-glance {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ga-tss-ds-stat {
	padding: 28px;
	background: rgba(131, 68, 189, 0.14);
	border: 1px solid rgba(131, 68, 189, 0.3);
	border-radius: 20px;
}

.ga-tss-ds-stat--quiet {
	background: var(--tss-surface-card);
	border-color: var(--tss-border);
	border-radius: 24px;
	padding: 40px;
}

.ga-tss-ds-stat__value {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(36px, 3.4vw, 48px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--tss-heading);
}

.ga-tss-ds-stat__label {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--tss-text);
}

.ga-tss-ds-stat__period {
	margin: 10px 0 0;
	font-family: var(--font-condensed);
	font-size: 11px;
	font-weight: 700;
	font-stretch: condensed;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tss-ice);
}

.ga-tss-ds-board {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ga-tss-ds-board li {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 28px 0;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-board li:last-child {
	border-bottom: 1px solid var(--tss-divider);
}

.ga-tss-ds-board span {
	font-family: var(--font-condensed);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--tss-ice);
}

.ga-tss-ds-board h3 {
	font-size: clamp(20px, 1.7vw, 26px);
	line-height: 1.25;
}

.ga-tss-ds-challenge__close {
	padding-top: 56px;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-display {
	margin: 0;
	max-width: 20ch;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(28px, 2.7vw, 40px);
	line-height: 1.14;
	letter-spacing: -0.01em;
	color: var(--tss-heading);
	text-wrap: balance;
}

.ga-tss-ds-insight {
	position: relative;
	overflow: hidden;
	padding: clamp(80px, 10vw, 130px) 0;
	background: var(--tss-surface-0);
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-insight__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.24;
}

.ga-tss-ds-insight__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 1, 24, 0.88) 0%, rgba(7, 1, 24, 0.72) 45%, rgba(7, 1, 24, 0.94) 100%);
}

.ga-tss-ds-insight__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(36px, 4.5vw, 72px);
}

.ga-tss-ds-insight__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 26px;
}

.ga-tss-ds-insight h2 {
	max-width: 18ch;
	font-size: clamp(32px, 4vw, 45px);
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.ga-tss-ds-insight__intro .ga-tss-lead {
	max-width: 68ch;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
}

.ga-tss-ds-insight__grid {
	grid-template-columns: minmax(0, 1fr);
}

.ga-tss-ds-insight .ga-tss-study-insight-item {
	gap: 14px;
	padding: 26px 0 0;
	border-top: 2px solid rgba(131, 68, 189, 0.75);
}

.ga-tss-ds-insight .ga-tss-study-insight-item h3 {
	font-size: 24px;
	line-height: 1.2;
}

.ga-tss-ds-insight .ga-tss-study-insight-item p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.ga-tss-ds-sticky {
	align-self: start;
}

.ga-tss-ds-index {
	display: flex;
	align-items: baseline;
	gap: 16px;
}

.ga-tss-ds-index span:first-child {
	font-family: var(--font-condensed);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--tss-ice);
}

.ga-tss-ds-index span:last-child {
	height: 1px;
	flex: 1;
	background: rgba(255, 255, 255, 0.14);
}

.ga-tss-ds-execute {
	padding-bottom: 0;
}

.ga-tss-ds-execute .ga-tss-heading {
	margin-bottom: clamp(48px, 6vw, 96px);
}

.ga-tss-ds-workstream h3,
.ga-tss-ds-talent h3,
.ga-tss-ds-paid h3 {
	max-width: 22ch;
	font-size: clamp(28px, 2.8vw, 42px);
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.ga-tss-ds-portrait,
.ga-tss-ds-square,
.ga-tss-ds-reel {
	max-width: none;
	width: 100%;
	margin: 0;
}

.ga-tss-ds-portrait {
	aspect-ratio: 4 / 5;
}

.ga-tss-ds-square {
	aspect-ratio: 1 / 1;
}

.ga-tss-ds-reel {
	aspect-ratio: 9 / 16;
	border-radius: 20px;
	background: var(--tss-surface-1);
}

.ga-tss-ds-pillars {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ga-tss-lead--muted {
	color: rgba(255, 255, 255, 0.72);
	font-size: 16px;
}

.ga-tss-ds-launches,
.ga-tss-ds-talent,
.ga-tss-ds-paid {
	padding: clamp(68px, 8.5vw, 110px) 0;
}

.ga-tss-ds-collections ol {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ga-tss-ds-collections li {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 16px 0;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-collections li:last-child {
	border-bottom: 1px solid var(--tss-divider);
}

.ga-tss-ds-collections span {
	min-width: 26px;
	font-family: var(--font-condensed);
	font-size: 12px;
	font-weight: 700;
	color: var(--tss-ice);
}

.ga-tss-ds-collections strong {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 500;
	color: var(--tss-heading);
}

.ga-tss-ds-films {
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	padding-top: 24px;
}

.ga-tss-ds-note {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 36px;
	background: var(--tss-surface-card);
	border: 1px solid var(--tss-border);
	border-radius: 24px;
}

.ga-tss-ds-note p:last-child {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(20px, 1.7vw, 24px);
	line-height: 1.38;
	color: var(--tss-heading);
}

.ga-tss-ds-talent__grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 26px;
}

.ga-tss-ds-person {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.ga-tss-ds-person figcaption {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ga-tss-ds-person span {
	font-family: var(--font-condensed);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tss-ice);
}

.ga-tss-ds-person strong {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 500;
	color: var(--tss-heading);
}

.ga-tss-ds-talent__note {
	padding-top: 44px;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-names {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--tss-heading);
}

.ga-tss-ds-shoot {
	padding: clamp(60px, 7.5vw, 96px) 0;
}

.ga-tss-ds-shoot__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	text-align: center;
}

.ga-tss-ds-shoot .ga-tss-ds-reel {
	max-width: 340px;
}

.ga-tss-ds-paid__grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

.ga-tss-ds-paid-card {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 40px;
	background: var(--tss-surface-card);
	border: 1px solid var(--tss-border);
	border-radius: 24px;
}

.ga-tss-ds-paid-card--accent {
	background: rgba(131, 68, 189, 0.14);
	border-color: rgba(131, 68, 189, 0.3);
}

.ga-tss-ds-paid-card .ga-tss-kicker {
	color: var(--tss-ice);
}

.ga-tss-ds-paid-card dl {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.ga-tss-ds-paid-card dl > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 6px 20px;
	padding: 18px 0;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-paid-card dl > div:last-child {
	border-bottom: 1px solid var(--tss-divider);
}

.ga-tss-ds-paid-card dt {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.72);
}

.ga-tss-ds-paid-card dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: 30px;
	line-height: 1.1;
	color: var(--tss-heading);
}

.ga-tss-ds-paid-card > p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.68);
}

.ga-tss-ds-outcomes {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ga-tss-ds-outcomes li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 28px 0;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-outcomes li:last-child {
	border-bottom: 1px solid var(--tss-divider);
}

.ga-tss-ds-outcomes .ga-icon {
	margin-top: 4px;
	color: var(--tss-purple-200);
}

.ga-tss-ds-outcomes h3 {
	font-size: clamp(22px, 1.8vw, 26px);
	line-height: 1.25;
}

.ga-tss-ds-outcomes p {
	margin: 10px 0 0;
	max-width: 46ch;
	font-size: 16px;
	line-height: 1.65;
}

.ga-tss-ds-highlights {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-top: 64px;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-table {
	display: flex;
	flex-direction: column;
}

.ga-tss-ds-table__head,
.ga-tss-ds-table__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px 48px;
	padding: 24px 0;
	border-top: 1px solid var(--tss-divider);
}

.ga-tss-ds-table__head {
	padding: 0 0 14px;
	border-top: 0;
}

.ga-tss-ds-table__row:last-child {
	border-bottom: 1px solid var(--tss-divider);
}

.ga-tss-ds-table__head span {
	font-family: var(--font-condensed);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.ga-tss-ds-table__row span:first-child {
	font-family: var(--font-display);
	font-size: 22px;
	color: var(--tss-heading);
}

.ga-tss-ds-table__row span:last-child {
	font-size: 16px;
	line-height: 1.65;
	color: var(--tss-text);
}

.ga-tss-ds-learning {
	background-image: radial-gradient(1100px 560px at 50% 110%, rgba(87, 55, 181, 0.32) 0%, rgba(87, 55, 181, 0) 68%);
}

.ga-tss-ds-learning__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 30px;
}

.ga-tss-ds-learning h2 {
	max-width: 18ch;
	font-size: clamp(32px, 4vw, 45px);
	line-height: 1.08;
}

.ga-tss-ds-learning__split {
	width: 100%;
	padding-top: 40px;
	margin-top: 20px;
	border-top: 1px solid var(--tss-divider);
	text-align: left;
}

.ga-tss-ds-learning__split p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.75);
}

body.ga-tss-case-study--dressage-inc .ga-tss-cta .ga-tss-quote {
	color: var(--tss-purple-100);
}

body.ga-tss-case-study--dressage-inc .ga-tss-cta h2 {
	text-transform: none;
}

@media (min-width: 720px) {
	.ga-tss-ds-board:not(.ga-tss-ds-board--single) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 48px;
	}

	.ga-tss-ds-board:not(.ga-tss-ds-board--single) li:nth-last-child(-n + 2) {
		border-bottom: 1px solid var(--tss-divider);
	}

	.ga-tss-ds-insight__grid,
	.ga-tss-ds-outcomes,
	.ga-tss-ds-highlights__grid,
	.ga-tss-ds-learning__split,
	.ga-tss-ds-paid__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ga-tss-ds-outcomes li:nth-last-child(-n + 2) {
		border-bottom: 1px solid var(--tss-divider);
	}

	.ga-tss-ds-table__head,
	.ga-tss-ds-table__row {
		grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
		align-items: baseline;
	}

	.ga-tss-ds-films {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ga-tss-ds-films .ga-tss-ds-note {
		grid-column: 1 / -1;
	}
}

@media (min-width: 900px) {
	.ga-tss-ds-insight__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ga-tss-ds-films {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(260px, 1.2fr);
	}

	.ga-tss-ds-films .ga-tss-ds-note {
		grid-column: auto;
	}
}

@media (min-width: 1080px) {
	body.ga-tss-case-study--dressage-inc .ga-tss-study-hero__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
		align-items: center;
	}

	.ga-tss-ds-summary__grid,
	.ga-tss-ds-decision__grid,
	.ga-tss-ds-workstream {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
	}

	.ga-tss-ds-summary__grid,
	.ga-tss-ds-decision__grid {
		align-items: start;
	}

	.ga-tss-ds-workstream--reverse {
		direction: ltr;
	}

	.ga-tss-ds-split-end {
		align-items: end;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}

	.ga-tss-ds-split-center {
		align-items: center;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.ga-tss-ds-glance,
	.ga-tss-ds-sticky {
		position: sticky;
		top: calc(var(--header-bar-height) + var(--header-inset-top) + 24px);
	}

	.ga-tss-ds-hero-still {
		min-height: 0;
	}
}

@media (max-width: 679px) {
	.ga-tss-ds-hero-still {
		min-height: 0;
		max-width: 430px;
		margin-inline: auto;
	}

	.ga-tss-ds-hero-pills {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}

	.ga-tss-ds-paid-card dd {
		font-size: 24px;
	}

	.ga-tss-ds-collections strong {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ga-tss-case-study--dressage-inc video {
		display: block;
	}
}

/* Editorial justification — keep existing left/center placement */
.ga-tss-ds-learning__split p {
	text-align: justify;
	text-align-last: start;
}

.ga-tss-ds-insight__intro h2,
.ga-tss-ds-insight__intro .ga-tss-lead,
.ga-tss-ds-shoot__inner h2,
.ga-tss-ds-shoot__inner p,
.ga-tss-ds-learning h2 {
	text-align: justify;
	text-align-last: center;
}

@media (max-width: 767px) {
	body.ga-tss-case-study--dressage-inc .ga-tss-study-hero h1 {
		max-width: none;
		font-size: 32px;
		text-wrap: unset;
		text-align: start;
		text-align-last: auto;
		word-spacing: normal;
		text-justify: none;
	}

	.ga-tss-ds-insight__intro h2,
	.ga-tss-ds-shoot__inner h2,
	.ga-tss-ds-learning h2 {
		text-align: inherit;
		text-align-last: auto;
		word-spacing: normal;
	}

	.ga-tss-ds-hero-summary {
		font-size: 18px;
	}
}

@media (min-width: 1024px) {
	body.ga-tss-case-study--dressage-inc .ga-tss-study-hero h1 {
		font-size: 54px;
	}

	.ga-tss-ds-hero-summary {
		font-size: 18px;
	}
}
