/**
 * Studio — brand story: story / team / gallery / CTA sections.
 */

/* ——— Intro (под H1) и Bridge (между CTA и галереей) ——— */
.natella-studio-intro__text,
.natella-studio-bridge__text {
	max-width: var(--natella-narrow-max);
	margin-inline: auto;
	text-align: center;
	line-height: 1.75;
	color: var(--natella-color-text);
}

.natella-studio-intro__text p + p,
.natella-studio-bridge__text p + p {
	margin-block-start: 0.85rem;
}

.natella-studio-section {
	padding-block: max(2rem, var(--natella-gap-2xl));
}

.natella-studio-section + .natella-studio-section {
	padding-block-start: 0;
}

/* Когда секция использует общий компонент natella-page-section — ритм задаётся им */
.natella-studio-section.natella-page-section,
.natella-studio-section.natella-page-section + .natella-studio-section.natella-page-section {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.natella-studio-section__header {
	text-align: center;
	margin-block-end: max(1.25rem, var(--natella-gap-lg));
}

.natella-studio-section__title {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	letter-spacing: 0;
}

.natella-studio-section__intro {
	max-width: 42rem;
	margin-inline: auto;
	color: var(--natella-color-muted);
	line-height: 1.7;
}

/* ——— Story ——— */
.natella-studio-story__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: max(1.25rem, var(--natella-gap-xl));
	align-items: center;
}

@media (min-width: 46.875em) {
	.natella-studio-story__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: max(2rem, var(--natella-gap-2xl));
	}
}

/* В компоненте page-section история становится по центру, как остальные секции */
.natella-page-section .natella-studio-story__grid,
.natella-page-section .natella-studio-story__grid > * {
	display: block;
}

.natella-page-section .natella-studio-story__grid {
	max-width: var(--natella-narrow-max);
	margin-inline: auto;
	text-align: center;
}

@media (min-width: 46.875em) {
	.natella-page-section .natella-studio-story__grid {
		grid-template-columns: 1fr;
	}
}

.natella-page-section .natella-studio-story__eyebrow {
	text-align: center;
}

.natella-page-section .natella-studio-story__title {
	font-size: var(--natella-section-title-size, clamp(1.6rem, 3vw, 2.25rem));
	line-height: 1.3;
	text-align: center;
}

.natella-page-section .natella-studio-story__title::after {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	margin: 0.7rem auto 0;
	background: var(--natella-color-button-bg, #c39d71);
}

.natella-page-section .natella-studio-story__body {
	text-align: center;
}

.natella-page-section .natella-studio-story__image {
	margin: 1.5rem auto 0;
	max-width: var(--natella-narrow-max);
}

.natella-studio-story__eyebrow {
	font-family: var(--natella-font-ui);
	font-size: 0.85rem;
	color: var(--natella-color-muted);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0 0 0.75rem;
}

:lang(he) .natella-studio-story__eyebrow,
[dir="rtl"] .natella-studio-story__eyebrow {
	text-transform: none;
	letter-spacing: 0;
}

.natella-studio-story__title {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 1rem;
	letter-spacing: 0;
}

.natella-studio-story__body {
	line-height: 1.75;
	color: var(--natella-color-text);
}

.natella-studio-story__body p + p {
	margin-block-start: 0.85rem;
}

.natella-studio-story__image {
	margin: 0;
}

.natella-studio-story__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 2px;
}

/* ——— Team ——— */
.natella-studio-team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: max(1.25rem, var(--natella-gap-xl));
}

.natella-studio-team__card {
	text-align: center;
}

.natella-studio-team__photo {
	margin: 0 0 0.85rem;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.03);
}

.natella-studio-team__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.natella-studio-team__name {
	font-family: var(--natella-font-heading);
	font-size: 1.15rem;
	font-weight: 500;
	margin: 0 0 0.25rem;
	letter-spacing: 0;
}

.natella-studio-team__role {
	font-family: var(--natella-font-ui);
	font-size: 0.85rem;
	color: var(--natella-color-muted);
	margin: 0 0 0.65rem;
	letter-spacing: 0.04em;
}

:lang(he) .natella-studio-team__role,
[dir="rtl"] .natella-studio-team__role {
	letter-spacing: 0;
}

.natella-studio-team__bio {
	font-size: 0.925rem;
	line-height: 1.65;
	color: var(--natella-color-text);
	margin: 0;
}

/* ——— Gallery ——— */
.natella-studio-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: max(0.5rem, var(--natella-gap-sm));
}

.natella-studio-gallery__item {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.natella-studio-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.natella-studio-gallery__item:hover img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.natella-studio-gallery__item img,
	.natella-studio-gallery__item:hover img {
		transition: none;
		transform: none;
	}
}

/* ——— CTA ——— */
.natella-studio-cta {
	text-align: center;
	padding-block: max(2.5rem, var(--natella-gap-2xl));
	margin-block: 0;
}

/* Когда CTA в режиме page-section — фон даёт сама полоса (page-section--beige) */
.natella-studio-cta.natella-page-section {
	background: transparent;
}

.natella-studio-cta.natella-page-section--beige {
	background-color: #c39d7145;
}

.natella-studio-cta__title {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	letter-spacing: 0;
}

.natella-studio-cta__text {
	max-width: 36rem;
	margin: 0 auto 1.5rem;
	color: var(--natella-color-muted);
	line-height: 1.7;
}

.natella-studio-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 12rem;
}
