/* Process block вЂ” ported from main-page process-section */

.wp-block-arcana-process.alignfull {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

.proc {
	background-color: #f1eade;
	padding: 100px 0;
	box-sizing: border-box;
	overflow-x: clip;
}

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

.proc__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 100px;
}

.proc__header {
	text-align: center;
	margin-bottom: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.proc__header .proc__desc,
.proc__header p.proc__desc {
	font-family: Inter, system-ui, sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 29px;
	color: #8c846c;
	text-transform: uppercase;
	margin: 0;
	max-width: 342px;
}

.proc__header .proc__title,
.proc__header h1.proc__title,
.proc__header h2.proc__title,
.proc__header h3.proc__title {
	font-family: 'PT Serif', Georgia, serif;
	font-size: 48px;
	font-weight: 400;
	color: #372b24;
	line-height: 64px;
	margin: 0 0 20px;
	max-width: 626px;
}

.proc__header .proc__text,
.proc__header p.proc__text {
	font-family: Inter, system-ui, sans-serif;
	font-size: 20px;
	font-weight: 300;
	color: #372b24;
	line-height: 24px;
	max-width: 544px;
	text-align: center;
	margin: 0 0 22px;
}

.proc__header p.proc__text:last-of-type {
	margin-bottom: 0;
}

.proc__learn-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 11px;
}

.proc__learn-more-line {
	display: block;
	width: 1px;
	height: 61px;
	background-color: #372b24;
}

.proc__learn-more-link {
	font-family: Inter, system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: #84746c;
	text-decoration: none;
	transition: color 0.3s ease;
	text-transform: uppercase;
}

a.proc__learn-more-link:hover {
	color: #372b24;
}

.proc__grid {
	--proc-grid-gutter: 100px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: calc(100% + (2 * var(--proc-grid-gutter)));
	max-width: 1440px;
	margin: 60px calc(-1 * var(--proc-grid-gutter)) 0;
	border-left: 0.75px solid rgba(140, 132, 108, 0.45);
	background: transparent;
	gap: 0;
	padding: 0;
	overflow: visible;
	position: relative;
}

.proc__grid::before,
.proc__grid::after {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 0;
	border-top: 0.75px solid rgba(140, 132, 108, 0.45);
	pointer-events: none;
	z-index: 2;
}

.proc__grid::before {
	top: 0;
}

.proc__grid::after {
	bottom: 0;
}

.proc__grid .swiper-wrapper {
	display: contents;
}

.proc__grid .swiper-slide {
	width: auto;
	height: auto;
}

.proc__card {
	background-color: #f1eade;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 583px;
	height: 100%;
	position: relative;
	overflow: visible;
	padding: 24px;
	border-right: 0.75px solid rgba(140, 132, 108, 0.45);
	border-bottom: none;
}

/* Full-bleed line after each row except the last (middle card of the row) */
.proc__card:nth-child(3n - 1):not(:nth-last-child(-n + 3))::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 0;
	border-top: 0.75px solid rgba(140, 132, 108, 0.45);
	pointer-events: none;
	z-index: 2;
}

.proc__card-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 36px;
	grid-template-rows: auto auto;
	column-gap: 12px;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin-bottom: 0;
	padding-right: 0;
	min-height: 123px;
}

.proc__card-number {
	grid-column: 1 / -1;
	font-size: 64px;
	line-height: 85px;
	color: #8c846c;
	font-family: 'PT Serif', Georgia, serif;
	margin: 0;
	display: block;
}

.proc__card-title {
	grid-column: 1;
	grid-row: 2;
	align-self: center;
	font-family: 'PT Serif', Georgia, serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	color: #372b24;
	margin: 16px 0 0;
}

.proc__card-toggle-btn {
	grid-column: 2;
	grid-row: 2;
	position: static;
	align-self: center;
	justify-self: end;
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 0.75px solid #d2cab2;
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
	z-index: 10;
}

.proc__card-toggle-btn:hover {
	border-color: #d2cab2;
}

.proc__card-toggle-btn:hover .proc__icon-plus::before,
.proc__card-toggle-btn:hover .proc__icon-plus::after {
	background-color: #372b24;
}

.proc__card-toggle-btn.is-active {
	transform: rotate(45deg);
	border-color: #d2cab2;
}

.proc__card-toggle-btn.is-active .proc__icon-plus::before,
.proc__card-toggle-btn.is-active .proc__icon-plus::after {
	background-color: #372b24;
}

.proc__icon-plus {
	display: block;
	width: 12px;
	height: 12px;
	position: relative;
}

.proc__icon-plus::before,
.proc__icon-plus::after {
	content: '';
	position: absolute;
	background-color: #372b24;
	transition: background-color 0.3s ease;
}

.proc__icon-plus::before {
	width: 12px;
	height: 1px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.proc__icon-plus::after {
	width: 1px;
	height: 12px;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
}

.proc__card-body {
	width: 100%;
	max-width: 100%;
	margin-top: 22px;
	display: block;
}

.proc__card-img-wrap {
	width: 100%;
	max-width: 100%;
	height: 395px;
	position: relative;
	overflow: hidden;
	margin-top: 0;
	background-color: #fff;
}

.proc__card:nth-child(4) .proc__card-img-wrap::after,
.proc__card:nth-child(5) .proc__card-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #f1eade;
	mix-blend-mode: overlay;
	pointer-events: none;
	z-index: 1;
}

.proc__card:nth-child(4) .proc__card-img-wrap::after {
	opacity: 0.18;
}

.proc__card:nth-child(5) .proc__card-img-wrap::after {
	opacity: 0.29;
}

.proc__card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.proc__card:hover .proc__card-img {
	transform: scale(1.06);
}

.proc__card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #f1eade;
	padding: 56px 30px 30px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	clip-path: circle(0% at 50% 50%);
	transition: clip-path 1.25s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 2;
	overflow-y: auto;
}

.proc__card-overlay::before {
	content: '';
	position: absolute;
	top: 50px;
	left: 30px;
	width: 100%;
	max-width: calc(100% - 60px);
	height: 0;
	border-top: 1px solid #372b24;
	opacity: 0;
	transition: opacity 0.65s ease 1.9s;
}

.proc__card.is-open .proc__card-overlay {
	clip-path: circle(150% at 50% 50%);
}

.proc__card.is-open .proc__card-overlay::before {
	opacity: 1;
}

.proc__overlay-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 88px;
	height: 79px;
	transform: translate(-50%, -50%) scale(0.96);
	opacity: 0;
	pointer-events: none;
	z-index: 1;
}

.proc__overlay-logo svg {
	display: block;
	width: 100%;
	height: 100%;
}

.proc__card.is-open .proc__overlay-logo {
	animation: proc-overlay-logo 2.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.proc__card:not(.is-open) .proc__overlay-logo {
	animation: none;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.96);
}

@keyframes proc-overlay-logo {
	0%,
	14% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.96);
	}

	39% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}

	75% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.98);
	}
}

.proc__overlay-title {
	font-family: 'PT Serif', Georgia, serif;
	font-size: 48px;
	font-weight: 400;
	color: #372b24;
	line-height: 64px;
	margin: 0;
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.75s ease 1.75s,
		transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 1.75s;
	width: 100%;
}

.proc__overlay-title::after {
	content: '';
	display: block;
	width: 100%;
	max-width: 100%;
	height: 0;
	border-top: 1px solid #372b24;
	margin-top: 6px;
	margin-bottom: 20px;
	opacity: 0;
	transition: opacity 0.65s ease 2s;
}

.proc__card.is-open .proc__overlay-title {
	opacity: 1;
	transform: translateY(0);
}

.proc__card.is-open .proc__overlay-title::after {
	opacity: 1;
}

.proc__overlay-text {
	font-family: Inter, system-ui, sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 24px;
	color: #000;
	margin: 0;
	max-width: 100%;
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.75s ease 2.1s,
		transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 2.1s;
}

.proc__card.is-open .proc__overlay-text {
	opacity: 1;
	transform: translateY(0);
}

.proc__card:not(.is-open) .proc__card-overlay::before,
.proc__card:not(.is-open) .proc__overlay-logo,
.proc__card:not(.is-open) .proc__overlay-title,
.proc__card:not(.is-open) .proc__overlay-title::after,
.proc__card:not(.is-open) .proc__overlay-text {
	transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
	.proc__card-overlay {
		transition: none;
		clip-path: circle(0% at 50% 50%);
	}

	.proc__card.is-open .proc__card-overlay {
		clip-path: circle(150% at 50% 50%);
	}

	.proc__card-overlay::before,
	.proc__overlay-logo,
	.proc__overlay-title,
	.proc__overlay-title::after,
	.proc__overlay-text {
		transition: none;
		animation: none;
		opacity: 0;
		transform: none;
	}

	.proc__card.is-open .proc__card-overlay::before,
	.proc__card.is-open .proc__overlay-title,
	.proc__card.is-open .proc__overlay-title::after,
	.proc__card.is-open .proc__overlay-text {
		opacity: 1;
	}
}

.proc__fade {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
		transform 1s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: 0s;
}

.proc__fade.is-active {
	opacity: 1;
	transform: translateY(0);
}

/* Editor */
.arcana-proc-editor__repeater-row {
	border-top: 1px solid #ddd;
	padding-top: 16px;
	margin-top: 16px;
}

.arcana-proc-editor__repeater-row:first-child {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

.arcana-proc-editor__field-label {
	margin: 12px 0 6px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.arcana-proc-editor__media-preview {
	display: block;
	max-width: 120px;
	margin-top: 8px;
	border-radius: 4px;
}

.arcana-proc-editor__card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: rgba(55, 43, 36, 0.06);
	color: rgba(55, 43, 36, 0.55);
	font-size: 13px;
	text-align: center;
	padding: 16px;
}

@media (max-width: 1100px) {
	.proc {
		padding: 60px 0 0;
	}

	.proc__container {
		padding: 0;
		max-width: none;
	}

	.proc__header {
		align-items: flex-start;
		text-align: left;
		padding: 0 48px;
		margin-bottom: 32px;
	}

	.proc__header .proc__desc,
	.proc__header p.proc__desc {
		font-size: 16px;
		line-height: 19px;
		max-width: 448px;
		text-align: left;
	}

	.proc__header .proc__title,
	.proc__header h1.proc__title,
	.proc__header h2.proc__title,
	.proc__header h3.proc__title {
		font-size: 36px;
		line-height: 1.2;
		max-width: 448px;
		text-align: left;
	}

	.proc__header .proc__text,
	.proc__header p.proc__text {
		font-size: 16px;
		line-height: 1.5;
		max-width: 448px;
		text-align: left;
	}

	.proc__learn-more {
		display: none;
	}

	.proc__card-title {
		margin: 35px 0 15px 0;
	}

	.proc__card:nth-child(3n - 1):not(:nth-last-child(-n + 3))::after {
		content: none;
	}

	.proc__card {
		overflow: hidden;
	}

	.proc__grid {
		display: block;
		width: 100%;
		max-width: none;
		margin: 0;
		border: none;
		overflow: hidden;
		padding: 0 0 80px;
		position: relative;
	}

	.proc__grid::before,
	.proc__grid::after {
		content: '';
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: 100vw;
		height: 0;
		border-top: 0.5px solid #8c846c;
		pointer-events: none;
		z-index: 2;
	}

	.proc__grid::before {
		top: 0;
	}

	.proc__grid::after {
		bottom: 80px;
	}

	.proc__grid .swiper-wrapper {
		display: flex;
		align-items: stretch;
		border: none;
		box-sizing: border-box;
	}

	.proc__grid .swiper-slide,
	.proc__card {
		width: 451px;
		flex-shrink: 0;
		min-height: 618px;
		height: auto;
		padding: 20px 10px;
		border-right: none;
		border-bottom: none;
		border-left: 0.5px solid #8c846c;
	}

	.proc__card-top {
		max-width: none;
		min-height: 0;
		padding-right: 0;
		grid-template-columns: minmax(0, 1fr) 60px;
	}

	.proc__card-body {
		max-width: none;
	}

	.proc__card-img-wrap {
		max-width: none;
		height: auto;
		aspect-ratio: 430 / 430;
	}

	.proc__card-number {
		font-size: 48px;
		line-height: 1.2;
	}

	.proc__card-title {
		font-size: 20px;
		line-height: 1.5;
	}

	.proc__card-toggle-btn {
		width: 60px;
		height: 60px;
		margin-top: 35px;
	}

	.proc__card:nth-child(2n),
	.proc__card:nth-child(2n + 1),
	.proc__card:nth-last-child(-n + 2),
	.proc__card:nth-last-child(n + 3) {
		border-right: none;
		border-bottom: none;
	}

	.proc__card:nth-child(2n + 1),
	.proc__card:nth-last-child(n + 3) {
		border-left: 0.5px solid #8c846c;
	}
}

@media (min-width: 601px) and (max-width: 1100px) {
	.proc {
		padding: 40px 0 0;
	}
}

@media (max-width: 600px) {
	.proc {
		padding: 0;
		overflow-x: visible;
	}

	.proc__header {
		padding: 0 20px;
		margin-bottom: 24px;
	}

	.proc__header .proc__desc,
	.proc__header p.proc__desc {
		font-size: 12px;
		line-height: 1.5;
		text-transform: uppercase;
		max-width: none;
		margin-bottom: 8px;
	}

	.proc__header .proc__title,
	.proc__header h1.proc__title,
	.proc__header h2.proc__title,
	.proc__header h3.proc__title {
		font-size: 28px;
		line-height: 1.2;
		max-width: none;
	}

	.proc__header .proc__text,
	.proc__header p.proc__text {
		font-size: 16px;
		line-height: 1.5;
		max-width: none;
	}

	.proc__grid {
		--proc-stack-top: 20px;
		display: flex;
		flex-direction: column;
		padding: 0 20px 64px;
		overflow: visible;
	}

	.proc__grid::before,
	.proc__grid::after {
		content: none;
	}

	.proc__grid .swiper-wrapper {
		display: flex;
		flex-direction: column;
		gap: 0;
		transform: none !important;
	}

	.proc__grid .swiper-slide,
	.proc__card {
		position: sticky;
		top: var(--proc-stack-top);
		width: 100%;
		min-height: 0;
		margin-right: 0 !important;
		padding: 0;
		border: none;
		padding: 23px 18px;
		border: 0.7px solid #8C846C!important;
		border-bottom: none!important;
	}

	.proc__grid .swiper-slide:last-of-type,
	.proc__card:last-of-type {
		border-bottom: 0.7px solid #8C846C!important;
	}

	.proc__card:nth-child(2n),
	.proc__card:nth-child(2n + 1),
	.proc__card:nth-last-child(-n + 2),
	.proc__card:nth-last-child(n + 3) {
		border: none;
	}

	.proc__card {
		overflow: visible;
	}

	.proc__card-top {
		padding-right: 0;
		grid-template-columns: minmax(0, 1fr) 45px;
	}

	.proc__card-body {
		margin-top: 16px;
	}

	.proc__card-img-wrap {
		aspect-ratio: 329 / 329;
	}

	.proc__card-toggle-btn {
		width: 45px;
		height: 45px;
		margin-top: 26px;
	}

	.proc__card-number {
		font-size: 36px;
		line-height: 1.2;
	}

	.proc__card-title {
		font-size: 18.3px;
		line-height: 1.5;
		margin: 26px 0 0px 0;
	}

	.proc__overlay-title {
		font-size: 28px;
		line-height: 1.2;
	}

	.proc__card-overlay {
		padding: 40px 20px 20px;
	}

	.proc__card-overlay::before {
		top: 36px;
		left: 20px;
		width: calc(100% - 40px);
		max-width: none;
	}

	.proc__overlay-title::after {
		width: 100%;
		margin-bottom: 16px;
	}

	.proc__overlay-text {
		font-size: 16px;
		line-height: 1.5;
		max-width: none;
	}

	.proc__overlay-logo {
		width: 64px;
		height: 58px;
	}
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
	.proc__grid {
		padding-bottom: 64px;
	}

	.proc__grid .swiper-slide,
	.proc__card {
		position: relative;
		top: auto;
	}
}

@media (min-width: 1920px) {
	.proc {
		padding: 160px 0;
	}

	.proc__container {
		max-width: 1920px;
		padding: 0 160px;
	}

	.proc__header .proc__desc,
	.proc__header p.proc__desc {
		font-size: 28px;
		line-height: 34px;
		max-width: none;
	}

	.proc__header .proc__title,
	.proc__header h1.proc__title,
	.proc__header h2.proc__title,
	.proc__header h3.proc__title {
		font-size: 56px;
		line-height: 1.2;
		max-width: 790px;
	}

	.proc__header .proc__text,
	.proc__header p.proc__text {
		font-size: 22px;
		line-height: 1.5;
		max-width: 710px;
	}

	.proc__learn-more-link {
		font-size: 18px;
	}

	.proc__grid {
		--proc-grid-gutter: 160px;
		max-width: 1920px;
	}

	.proc__card-number {
		font-size: 101px;
		line-height: 1.2;
	}

	.proc__card-title {
		font-size: 28px;
		line-height: 1.2;
	}

	.proc__card-img-wrap {
		height: 497px;
	}

	.proc__card-toggle-btn {
		width: 45px;
		height: 45px;
	}

	.proc__learn-more-line {
		margin: 20px 0;
	}
}

/* Header per home Figma (2026-10): label / title / text stacked with 16px gaps */
.proc__header .proc__desc strong {
	font-weight: inherit;
}

@media (min-width: 1101px) and (max-width: 1919px) {
	.proc {
		padding-top: 120px;
	}

	.proc__header {
		margin-bottom: 48px;
	}

	.proc__header .proc__desc,
	.proc__header p.proc__desc {
		line-height: normal;
		max-width: 628px;
		margin: 0 0 16px;
	}

	.proc__header .proc__title,
	.proc__header h1.proc__title,
	.proc__header h2.proc__title,
	.proc__header h3.proc__title {
		line-height: 1.2;
		max-width: 628px;
		margin: 0 0 16px;
	}

	.proc__header .proc__text,
	.proc__header p.proc__text {
		line-height: 1.5;
		max-width: 628px;
	}
}

/* Figma 1:1 pass (2026-10): grid lines at x=54 / x=1389 on a 1440 frame, 48px under the header */
@media (min-width: 1101px) and (max-width: 1919px) {
	.proc__grid {
		width: calc(100% + 95px);
		margin: 0 -49px 0 -46px;
	}
}

@media (min-width: 1101px) and (max-width: 1919px) {
	.proc__card-title,
	.proc__card-toggle-btn {
		margin-top: 11px;
	}

	.proc__card-body {
		margin-top: 13px;
	}
}

/* Faster open sequence (client feedback 2026-10): circle reveal 0.7s, logo flash, then title + text by ~1.5s */
.proc__card-overlay {
	transition-duration: 0.7s;
}

.proc__card.is-open .proc__overlay-logo {
	animation-duration: 1.2s;
}

.proc__card-overlay::before {
	transition: opacity 0.4s ease 1s;
}

.proc__overlay-title {
	transition:
		opacity 0.5s ease 0.85s,
		transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.85s;
}

.proc__overlay-title::after {
	transition: opacity 0.4s ease 1s;
}

.proc__overlay-text {
	transition:
		opacity 0.5s ease 1s,
		transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1s;
}

.proc__card:not(.is-open) .proc__card-overlay::before,
.proc__card:not(.is-open) .proc__overlay-title,
.proc__card:not(.is-open) .proc__overlay-title::after,
.proc__card:not(.is-open) .proc__overlay-text {
	transition-delay: 0s;
}

/* Faster still (client feedback #2): the "A" mark flashes in ~0.6s and the text follows right after */
.proc__card-overlay {
	transition-duration: 0.5s;
}

.proc__card.is-open .proc__overlay-logo {
	animation-duration: 0.6s;
}

.proc__card-overlay::before {
	transition: opacity 0.3s ease 0.5s;
}

.proc__overlay-title {
	transition:
		opacity 0.35s ease 0.4s,
		transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.proc__overlay-title::after {
	transition: opacity 0.3s ease 0.5s;
}

.proc__overlay-text {
	transition:
		opacity 0.35s ease 0.5s,
		transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.proc__card:not(.is-open) .proc__card-overlay::before,
.proc__card:not(.is-open) .proc__overlay-title,
.proc__card:not(.is-open) .proc__overlay-title::after,
.proc__card:not(.is-open) .proc__overlay-text {
	transition-delay: 0s;
}

/* Mobile: space between the capabilities cards and the process header */
@media (max-width: 600px) {
	.proc {
		padding-top: 64px;
	}
}
