/**
 * About page — matched to ABOUT US reference + Figma type specs.
 */

.voicey-about {
	--about-gutter: clamp(16px, 4.2vw, 56px);
	--about-purple: #7a36ff;
	--about-ink: #000;
	--about-font: "Modern-Gothic-Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--about-font-text: "Modern-Gothic-Reg", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--about-font-display: "Unbounded", var(--about-font), sans-serif;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	color: var(--about-ink);
	overflow: hidden;
}

.voicey-about *,
.voicey-about *::before,
.voicey-about *::after {
	box-sizing: border-box;
}

body.page-template-page-about,
body.page-template-page-about-php {
	overflow-x: hidden;
	background: #fff;
}

/* Ticker */

.voicey-about-ticker {
	background: #7800ff;
	color: #fff;
}

.voicey-about-ticker__viewport {
	overflow: hidden;
	height: clamp(44px, 5.8vw, 76px);
}

.voicey-about-ticker__track {
	display: flex;
	width: max-content;
	height: 100%;
	animation: voicey-about-ticker 28s linear infinite;
	will-change: transform;
}

.voicey-about-ticker__group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	height: 100%;
}

.voicey-about-ticker__item {
	display: inline-flex;
	align-items: center;
	height: 100%;
	padding-right: 0.28em;
	font-family: var(--about-font-display);
	font-size: clamp(16px, 2.8vw, 36px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

@keyframes voicey-about-ticker {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.voicey-about-ticker__track {
		animation: none;
	}
}

/* Intro — Unbounded 64 / 400 / 105% / center / #000 */

.voicey-about-intro {
	padding: clamp(48px, 6vw, 88px) var(--about-gutter) clamp(24px, 3.2vw, 40px);
}

.voicey-about-intro__heading,
.voicey-about-intro__text {
	max-width: min(16em, 100%);
	margin: 0 auto;
	color: #000;
	font-family: var(--about-font-display);
	font-size: clamp(28px, 4.4vw, 64px);
	font-weight: 400;
	font-style: normal;
	line-height: 1.05;
	letter-spacing: 0;
	text-align: center;
	white-space: pre-line;
}

.voicey-about-intro__text {
	margin-top: 0.35em;
}

/* Shared slider chrome */

.voicey-about-nav {
	display: flex;
	align-items: center;
	gap: 2px;
}

.voicey-about-nav__btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--about-ink);
	cursor: pointer;
	line-height: 0;
}

.voicey-about-nav__btn svg {
	display: block;
	width: 30px;
	height: 14px;
}

.voicey-about-nav__btn:hover,
.voicey-about-nav__btn:focus-visible {
	opacity: 0.55;
}

.voicey-about-nav__btn.swiper-button-disabled {
	/* Design shows both arrows in full black, even at the slider's ends. */
	opacity: 1;
	cursor: default;
}

.voicey-about-swiper {
	width: 100%;
	overflow: hidden;
}

.voicey-about-swiper .swiper-slide {
	height: auto;
	display: flex;
}

/* Content cards — flush purple/black, centered art, left text, corner arrows */

.voicey-about-slider__bar {
	display: flex;
	justify-content: flex-end;
	padding: 0 var(--about-gutter) 10px;
}

.voicey-about-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	aspect-ratio: 4 / 5;
	background: var(--card-bg, #7a36ff);
	color: var(--card-color, #fff);
	overflow: hidden;
}

.voicey-about-card__corner {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: var(--card-color, #fff);
	pointer-events: none;
	opacity: 0.95;
	line-height: 0;
}

.voicey-about-card__corner svg {
	display: block;
	width: 20px;
	height: 20px;
}

.voicey-about-card__media {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 44px 28px 12px;
}

.voicey-about-card__media img,
.voicey-about-card__img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 82%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.voicey-about-card__copy {
	flex: 0 0 auto;
	padding: 10px 28px 32px;
	text-align: left;
}

/* Card type — Unbounded 20 / 400 / 105% / #fff / left */

.voicey-about-card__heading {
	margin: 0 0 6px;
	color: var(--card-color, #fff);
	font-family: var(--about-font-display);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: left;
}

.voicey-about-card__text {
	margin: 0;
	max-width: 15.5em;
	color: var(--card-color, #fff);
	font-family: var(--about-font-display);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0;
	text-align: left;
	white-space: pre-line;
}

.voicey-about-card.is-copy {
	justify-content: center;
	align-items: center;
}

.voicey-about-card.is-copy .voicey-about-card__copy {
	flex: 0 0 auto;
	width: 100%;
	padding: 48px 28px;
	text-align: left;
}

.voicey-about-card.is-copy .voicey-about-card__heading,
.voicey-about-card.is-copy .voicey-about-card__text {
	max-width: 13.5em;
	margin-left: 0;
	margin-right: 0;
	font-family: var(--about-font-display);
	font-size: 20px;
	line-height: 1.05;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	color: var(--card-color, #fff);
}

.voicey-about-card.is-display {
	justify-content: flex-end;
	align-items: stretch;
}

.voicey-about-card.is-display .voicey-about-card__copy {
	padding: 24px 28px 32px;
	text-align: left;
}

.voicey-about-card.is-display .voicey-about-card__heading {
	font-size: clamp(64px, 8vw, 120px);
	line-height: 0.82;
	letter-spacing: -0.045em;
	text-transform: none;
	text-align: left;
}

/* What we think — capped width, Unbounded heading from mid-page, tilted cards over the rule */

.voicey-about-think {
	--think-max: 1280px;
	--think-space-top: clamp(48px, 6.25vw, 80px);
	--think-space-bottom: clamp(48px, 6.25vw, 80px);
	--think-cards-space-y: clamp(36px, 4.4vw, 56px);
	--think-tilt: -10deg;
	position: relative;
	/* Keep the section at most --think-max wide (gutters included) on large screens. */
	padding: var(--think-space-top) max(0px, calc((100% - var(--think-max)) / 2)) 0;
	overflow: hidden;
	background: #fff;
}

.voicey-about-think__head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	margin: 0 var(--about-gutter);
	padding-left: 50%;
	padding-bottom: clamp(14px, 2.6vw, 36px);
}

.voicey-about-think__heading {
	position: relative;
	max-width: none;
	width: max-content;
	margin: 0;
	color: #000;
	font-family: var(--about-font-display);
	font-size: clamp(34px, 7vw, 90px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.01em;
	text-align: left;
	text-transform: uppercase;
	/* Keep explicit breaks only: "WHAT WE" / "THINK" — never wrap mid-line. */
	white-space: pre;
}

.voicey-about-think__head .voicey-about-nav {
	position: absolute;
	left: 0;
	bottom: 12px;
	opacity: 0;
	pointer-events: none;
}

.voicey-about-think__head .voicey-about-nav__btn:focus-visible {
	opacity: 1;
	pointer-events: auto;
}

.voicey-about-think__rule {
	position: relative;
	z-index: 1;
	height: 1px;
	margin: 0 var(--about-gutter);
	background: #4a4a4a;
}

.voicey-about .voicey-about-swiper.voicey-about-swiper--think {
	position: relative;
	z-index: 2;
	/* Pull the row up past its own top padding so each card's top edge sits on the rule. */
	margin-top: calc(-1 * var(--think-cards-space-y) - var(--think-overlap, clamp(4px, 0.8vw, 10px)));
	padding-top: var(--think-cards-space-y) !important;
	padding-bottom: var(--think-space-bottom) !important;
	padding-left: var(--about-gutter) !important;
	padding-right: var(--about-gutter) !important;
}

.voicey-about-swiper--think .swiper-slide {
	padding: 0 clamp(4px, 2.2vw, 30px);
	transition: opacity 0.3s ease;
}

/* Show only the cards fully in view (three on desktop), as in the design. */
.voicey-about-swiper--think .swiper-slide:not(.swiper-slide-visible) {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 699px) {
	.voicey-about-swiper--think .swiper-slide:not(.swiper-slide-visible) {
		opacity: 1;
		pointer-events: auto;
	}
}

.voicey-about-think__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: clamp(8px, 1vw, 13px);
	border-radius: clamp(14px, 1.6vw, 22px);
	background: var(--card-bg, #6becdc);
	color: var(--card-color, #121213);
	text-decoration: none;
	/* Polaroid lean: anticlockwise, tilting up to the right. */
	transform: rotate(var(--think-tilt));
	transform-origin: center center;
	transition: transform 0.25s ease;
}

.voicey-about-think__card:hover,
.voicey-about-think__card:focus-visible {
	color: var(--card-color, #121213);
	text-decoration: none;
	transform: rotate(var(--think-tilt)) translateY(-4px);
}

.voicey-about-think__media {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 1 / 1.08;
	border-radius: clamp(8px, 1vw, 14px);
	overflow: hidden;
	background:
		linear-gradient(45deg, #e8e8e8 25%, transparent 25%),
		linear-gradient(-45deg, #e8e8e8 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #e8e8e8 75%),
		linear-gradient(-45deg, transparent 75%, #e8e8e8 75%);
	background-size: 22px 22px;
	background-position: 0 0, 0 11px, 11px -11px, -11px 0;
	background-color: #f4f4f4;
}

.voicey-about-think__media img,
.voicey-about-think__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	object-position: center;
	background: transparent;
}

.voicey-about-think__body {
	flex: 1 0 auto;
	/* Room for four title lines so every card in the row has the same height. */
	min-height: calc(4 * 1.2 * var(--think-title-size) + 46px);
	padding: clamp(12px, 1.6vw, 22px) clamp(6px, 0.8vw, 10px) 4px;
	text-align: left;
	--think-title-size: clamp(13px, 1.45vw, 19px);
}

.voicey-about-think__badge {
	display: inline-flex;
	align-items: center;
	height: 16px;
	margin: 0 0 clamp(8px, 1vw, 12px);
	padding: 0 8px;
	border-radius: 999px;
	background: #121213;
	color: #fff;
	font-family: var(--about-font);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.voicey-about-think__name {
	margin: 0;
	color: inherit;
	font-family: var(--about-font-display);
	font-size: var(--think-title-size);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: left;
}

/* Split — image left / text centered Unbounded 64 */

.voicey-about-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	width: 100%;
	min-height: min(72vw, 720px);
	background: #000;
	color: var(--split-color, #fff);
}

.voicey-about-split__media {
	position: relative;
	min-width: 0;
	min-height: 100%;
	background: #000;
	overflow: hidden;
}

.voicey-about-split__media img,
.voicey-about-split__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
}

.voicey-about-split__mark {
	position: absolute;
	left: 8%;
	bottom: 18%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin: 0;
	pointer-events: none;
	transform: rotate(-8deg);
	transform-origin: left center;
}

.voicey-about-split__mark-line {
	display: inline-block;
	padding: 0.06em 0.18em 0.1em;
	background: #fff;
	color: #3a2218;
	border: 3px solid #3a2218;
	font-family: var(--about-font);
	font-size: clamp(42px, 5vw, 84px);
	font-weight: 700;
	line-height: 0.88;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.18);
}

.voicey-about-split__mark-line:nth-child(2) {
	margin-left: 0.65em;
	transform: rotate(6deg);
}

.voicey-about-split__copy {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	min-height: 100%;
	padding: clamp(40px, 5vw, 88px) clamp(40px, 6vw, 96px);
	background: var(--split-bg, #000);
	color: var(--split-color, #fff);
	text-align: left;
}

.voicey-about-split__inner {
	width: 100%;
	max-width: 12.5em;
	margin: 0;
	text-align: left;
	font-size: clamp(28px, 4.2vw, 64px);
}

.voicey-about-split__heading,
.voicey-about-split__text {
	margin: 0;
	color: #fff;
	font-family: var(--about-font-display);
	font-size: 1em;
	font-weight: 400;
	font-style: normal;
	line-height: 1.05;
	letter-spacing: 0;
	text-align: left;
	/* Keep design line breaks from admin/content. */
	white-space: pre-line;
}

.voicey-about-split__heading {
	font-weight: 400;
}

.voicey-about-split__heading + .voicey-about-split__text {
	margin-top: 0.4em;
}

@media (max-width: 1099px) {
	.voicey-about-think {
		--think-tilt: -7deg;
	}
}

@media (max-width: 767px) {
	.voicey-about-ticker__viewport {
		height: 40px;
	}

	.voicey-about-intro {
		padding: 36px var(--about-gutter) 20px;
	}

	.voicey-about-think {
		--think-cards-space-y: 24px;
		--think-tilt: 0deg;
	}

	.voicey-about-think__head .voicey-about-nav {
		opacity: 1;
		pointer-events: auto;
		position: static;
		margin-bottom: 8px;
	}

	.voicey-about-think__head {
		padding-left: 0;
		justify-content: flex-end;
	}

	.voicey-about-think__heading {
		text-align: left;
	}

	.voicey-about-think__card:hover,
	.voicey-about-think__card:focus-visible {
		transform: none;
	}

	.voicey-about-split {
		grid-template-columns: 1fr;
	}

	.voicey-about-split__media {
		min-height: 320px;
	}

	.voicey-about-split {
		min-height: 0;
	}

	.voicey-about-split__copy {
		justify-content: flex-start;
		align-items: center;
		padding: 40px var(--about-gutter);
		min-height: 280px;
	}

	.voicey-about-split__inner {
		max-width: 12.5em;
		margin: 0;
		text-align: left;
	}

	.voicey-about-split__heading,
	.voicey-about-split__text {
		text-align: left;
	}

	.voicey-about-split__mark {
		left: 5%;
		bottom: 12%;
	}

	.voicey-about-split__mark-line {
		font-size: clamp(36px, 12vw, 56px);
		border-width: 2px;
	}
}
