/**
 * Craftory Box — About page
 */

.about-page {
	width: 100%;
	max-width: none;
}

/* ==========================================================================
   Intro
   ========================================================================== */
.about-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--front-black);
	color: var(--front-white);
	overflow: hidden;
	min-height: clamp(640px, 70vw, 900px);
	padding: 0;
}

.about-intro__bg {
	position: absolute;
	inset: 0;
	background: url("../images/front-page/process-mask-bg.png") center center / cover no-repeat;
	background-color: var(--front-black);
}

.about-intro__line {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	width: calc(100% + clamp(80px, 12vw, 200px));
	margin-inline: calc(-1 * clamp(40px, 6vw, 100px));
	height: 4px;
	background: var(--front-gold);
}

.about-intro__inner {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-width: 0;
	padding-block: clamp(56px, 6vw, 78px) clamp(40px, 5vw, 56px);
}

.about-intro .front-section-head {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.about-page p.about-intro__lead {
	margin: 0 auto clamp(28px, 4vw, 40px);
	max-width: 900px;
	font-family: var(--front-font);
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 400;
	line-height: 1.14;
	text-align: center;
	color: var(--front-white);
}

.about-page p.about-intro__sub {
	margin: 0 0 clamp(28px, 3.5vw, 36px);
	font-family: var(--front-font);
	font-size: clamp(24px, 2.8vw, 32px);
	font-weight: 400;
	line-height: 1.14;
	text-align: center;
	color: var(--front-white);
}

.about-intro__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 32px);
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.about-intro__card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	height: auto;
	padding: 16px 18px;
}

.about-intro__card::before,
.about-intro__card::after {
	content: "";
	position: absolute;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border: 1px solid var(--front-gold);
	pointer-events: none;
}

.about-intro__card::before {
	top: var(--front-mosaic-offset);
	left: calc(-1 * var(--front-mosaic-offset));
	z-index: 0;
}

.about-intro__card::after {
	top: calc(-1 * var(--front-mosaic-offset));
	left: var(--front-mosaic-offset);
	z-index: 0;
}

.about-intro__card-text {
	position: relative;
	z-index: 1;
	display: block;
	font-family: var(--front-font);
	font-size: clamp(15px, 1.5vw, 20px);
	font-weight: 400;
	line-height: 1.14;
	text-align: center;
	color: var(--front-white);
}

.about-intro__card--center {
	grid-column: 1 / -1;
	width: min(100%, calc((100% - clamp(20px, 2.5vw, 32px)) / 2));
	justify-self: center;
}

/* ==========================================================================
   Specialization
   ========================================================================== */
.about-specialization {
	position: relative;
	background: var(--front-black);
	color: var(--front-white);
}

.about-specialization__line {
	width: calc(100% + clamp(80px, 12vw, 200px));
	margin-inline: calc(-1 * clamp(40px, 6vw, 100px));
	height: 4px;
	background: var(--front-gold);
}

.about-specialization__inner {
	min-width: 0;
	padding-block: clamp(56px, 6vw, 80px);
}

.about-specialization__title {
	margin: 0 0 clamp(48px, 6vw, 80px);
	font-family: var(--front-font);
	font-size: clamp(28px, 3.2vw, 45px);
	font-weight: 400;
	line-height: 1.14;
	text-align: center;
	color: var(--front-white);
}

.about-specialization__list {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 8vw, 100px);
	min-width: 0;
}

.about-specialization__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 8vw, 122px);
	min-width: 0;
}

.about-specialization__item--craftory {
	margin-top: 30px;
}

.about-specialization__item--reverse {
	direction: rtl;
}

.about-specialization__item--reverse > * {
	direction: ltr;
}

.about-specialization__figure {
	position: relative;
	width: 100%;
	max-width: min(572px, 100%);
	min-width: 0;
	margin: 0;
	padding: 6px 8px 0 0;
	justify-self: start;
	isolation: isolate;
}

.about-specialization__item--reverse .about-specialization__figure {
	justify-self: end;
	padding: 0 0 6px 8px;
}

.about-specialization__frame {
	position: absolute;
	top: -6px;
	right: auto;
	bottom: 8px;
	left: -14px;
	width: 84%;
	box-sizing: border-box;
	border: 1px solid var(--front-gold);
	pointer-events: none;
	z-index: 0;
}

.about-specialization__item--reverse .about-specialization__frame {
	top: 8px;
	bottom: -6px;
}

.about-specialization__item--craftory .about-specialization__figure {
	padding: 0 0 10px 8px;
}

.about-specialization__item--craftory .about-specialization__frame {
	top: 14px;
	bottom: -10px;
	left: -14px;
	width: 99%;
}

.about-specialization__item--auxilium .about-specialization__figure {
	padding: 10px 8px 0 0;
}

.about-specialization__item--auxilium .about-specialization__frame {
	top: -12px;
	bottom: 8px;
	left: -22px;
	width: 99%;
}

.about-specialization__image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	object-fit: cover;
}

.about-specialization__item--craftory .about-specialization__image {
	aspect-ratio: 1440 / 767;
}

.about-specialization__item--auxilium .about-specialization__image {
	aspect-ratio: 800 / 597;
}

.about-specialization__content {
	min-width: 0;
	max-width: 100%;
}

.about-page p.about-specialization__text {
	margin: 0;
	font-family: var(--front-font);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 400;
	line-height: 1.14;
	color: var(--front-white);
}

/* ==========================================================================
   Videos
   ========================================================================== */
.about-videos {
	position: relative;
	background: var(--front-black);
	color: var(--front-white);
}

.about-videos__inner {
	min-width: 0;
	padding-block: clamp(56px, 6vw, 80px);
}

.about-videos__list {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 8vw, 100px);
	min-width: 0;
}

.about-videos__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 8vw, 122px);
	min-width: 0;
}

.about-videos__item--reverse {
	direction: rtl;
}

.about-videos__item--reverse > * {
	direction: ltr;
}

.about-videos__media {
	width: 100%;
	max-width: min(572px, 100%);
	min-width: 0;
	justify-self: start;
}

.about-videos__item--reverse .about-videos__media {
	justify-self: end;
}

.about-videos__play {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.about-videos__play:disabled {
	cursor: default;
}

.about-videos__play:focus-visible {
	outline: 2px solid var(--front-gold);
	outline-offset: 4px;
}

.about-videos__poster {
	display: block;
	width: 100%;
	aspect-ratio: 496 / 280;
	object-fit: cover;
}

.about-videos__content {
	min-width: 0;
	max-width: 100%;
}

.about-page p.about-videos__text {
	margin: 0;
	font-family: var(--front-font);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 400;
	line-height: 1.14;
	color: var(--front-white);
}

/* ==========================================================================
   Finishing
   ========================================================================== */
.about-finishing {
	background: var(--front-white);
	color: var(--front-black);
}

.about-finishing__inner {
	min-width: 0;
	padding-block: clamp(56px, 6vw, 80px);
}

.about-finishing .front-section-head {
	margin-bottom: clamp(48px, 6vw, 80px);
}

.about-finishing__list {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 6vw, 72px);
	min-width: 0;
}

.about-finishing__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 8vw, 122px);
	min-width: 0;
}

.about-finishing__content {
	min-width: 0;
	max-width: 100%;
}

.about-finishing h3.about-finishing__item-title {
	margin: 0 0 clamp(12px, 2vw, 18px);
	font-family: var(--front-font);
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.14;
	color: var(--front-black);
}

.about-page p.about-finishing__item-text {
	margin: 0;
	font-family: var(--front-font);
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 400;
	line-height: 1.14;
	color: var(--front-gray);
}

.about-finishing__figure {
	position: relative;
	width: 100%;
	max-width: min(400px, 100%);
	min-width: 0;
	margin: 0;
	padding: 6px 8px 0 0;
	justify-self: end;
	isolation: isolate;
}

.about-finishing__frame {
	position: absolute;
	top: -6px;
	right: auto;
	bottom: 8px;
	left: -14px;
	width: 99%;
	box-sizing: border-box;
	border: 1px solid var(--front-gold);
	pointer-events: none;
	z-index: 0;
}

.about-finishing__image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 334 / 197;
	object-fit: cover;
}

.about-finishing__location {
	margin-top: clamp(56px, 8vw, 100px);
	text-align: center;
}

.about-page p.about-finishing__location-text {
	margin: 0 auto clamp(32px, 5vw, 48px);
	max-width: 1000px;
	font-family: var(--front-font);
	font-size: clamp(32px, 2vw, 24px);
	font-weight: 600;
	line-height: 1.14;
	color: var(--front-black);
}

.about-finishing__map {
	display: block;
	width: min(100%, 900px);
	height: auto;
	margin: 0 auto;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.about-faq {
	background: var(--front-white);
	color: var(--front-black);
}

.about-faq__inner {
	min-width: 0;
	padding-block: clamp(56px, 6vw, 80px);
}

.about-faq .front-section-head {
	margin-bottom: clamp(40px, 5vw, 56px);
}

.about-faq__list {
	min-width: 0;
	border-top: 1px solid var(--front-gold);
}

.about-faq__item {
	padding-block: clamp(20px, 3vw, 32px);
	border-bottom: 1px solid var(--front-gold);
}

.about-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(20px, 4vw, 40px);
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.about-faq__item.is-open .about-faq__question {
	padding-bottom: 0;
}

.about-faq__question:focus-visible {
	outline: 2px solid var(--front-gold);
	outline-offset: 4px;
}

.about-faq__question-text {
	font-family: var(--front-font);
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 400;
	line-height: 1.14;
	color: var(--front-black);
}

.about-faq__chevron {
	flex: 0 0 auto;
	display: block;
	width: 35px;
	height: 20px;
	transition: transform 0.4s ease;
}

.about-faq__item:not(.is-open) .about-faq__chevron {
	transform: scaleY(-1);
}

.about-faq__answer-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s ease;
}

.about-faq__item.is-open .about-faq__answer-wrap {
	grid-template-rows: 1fr;
}

.about-faq__answer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(20px, 2.5vw, 28px);
	max-width: 100%;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	opacity: 0;
	transition: opacity 0.35s ease, padding 0.4s ease;
}

.about-faq__item.is-open .about-faq__answer {
	opacity: 1;
	padding-top: 20px;
	padding-bottom: clamp(8px, 1.5vw, 12px);
}

.about-faq p.about-faq__answer-text {
	margin: 0;
	max-width: 100%;
	font-family: var(--front-font);
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 400;
	line-height: 1.3;
	color: var(--front-gray);
}

.about-faq__answer-text .about-faq__link {
	color: var(--front-black);
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.about-faq__answer-text .about-faq__link:hover,
.about-faq__answer-text .about-faq__link:focus-visible {
	color: var(--front-gold);
}

.about-faq__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: min(100%, 267px);
	min-height: 65px;
	padding: 14px 24px 11px;
	border: 2px solid var(--front-gold);
	background: transparent;
	color: var(--front-black);
	font-family: var(--front-font-nav);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.14;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.about-faq__btn:hover,
.about-faq__btn:focus-visible {
	background: rgba(198, 161, 91, 0.12);
	color: var(--front-gold);
}

@media (prefers-reduced-motion: reduce) {
	.about-faq__answer-wrap,
	.about-faq__answer,
	.about-faq__chevron {
		transition: none;
	}
}
