/* Verba — strona główna (front-page) */

/* =========================================================
   HERO
   ========================================================= */
.ed-hero {
	padding-top: var(--space-section-top-hero);
	padding-bottom: var(--space-section-y);
	position: relative;
}
.ed-hero__inner { max-width: var(--container-max); margin: 0 auto; padding-left: var(--space-section-x); padding-right: var(--space-section-x); }

.ed-hero__eyebrow {
	font-family: var(--font-mono);
	font-size: var(--fs-eyebrow);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--brown);
	margin-bottom: 36px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.ed-hero__eyebrow::before {
	content: '';
	width: 36px;
	height: 1px;
	background: var(--brown);
	flex-shrink: 0;
}

.ed-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap-grid-lg);
	align-items: center;
}

.ed-hero__title {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: var(--fs-h1);
	line-height: var(--lh-h1);
	letter-spacing: var(--ls-tight);
	color: var(--green-deep);
	margin-bottom: 36px;
}
.ed-hero__title em { font-style: italic; color: var(--brown); }

.ed-hero__lead {
	font-family: var(--font-sans);
	font-size: var(--fs-body-lg);
	line-height: var(--lh-body);
	color: var(--text-soft);
	max-width: 480px;
	margin-bottom: 44px;
}

.ed-hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
}

/* Media — mobile: stacked, normal aspect ratio */
.ed-hero__media {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	max-height: 620px;
}
.ed-hero__photo-main {
	position: absolute;
	inset: 0;
}
.ed-hero__photo-accent {
	position: absolute;
	bottom: -32px;
	right: 0;
	width: 38%;
	max-width: 200px;
	aspect-ratio: 200 / 260;
}
.ed-hero__caption {
	display: none; /* widoczny dopiero od md+ — pionowy caption */
	position: absolute;
	left: -40px;
	bottom: 40px;
	transform: rotate(-90deg);
	transform-origin: left bottom;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}

/* =========================================================
   MANIFEST
   ========================================================= */
.ed-manifest {
	background: var(--cream-soft);
	border-top: 1px solid rgba(47, 74, 54, 0.08);
}
.ed-manifest__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-section-y) var(--space-section-x);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap-grid-lg);
}
.ed-manifest__label {
	font-family: var(--font-mono);
	font-size: var(--fs-eyebrow);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--brown);
}
.ed-manifest__heading {
	font-family: var(--font-serif);
	font-size: var(--fs-h2-sm);
	line-height: var(--lh-h2-md);
	color: var(--green-deep);
	margin-top: 20px;
	font-weight: 400;
}
.ed-manifest__body {
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: var(--lh-prose);
	color: var(--text-soft);
}
.ed-manifest__body p + p { margin-top: 22px; }
.ed-manifest__body em { font-style: italic; color: var(--brown); }
.ed-manifest__pull {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: var(--fs-pull);
	line-height: 1.4;
	color: var(--green-deep);
	border-left: 2px solid var(--brown);
	padding-left: 24px;
	margin-top: 36px;
}

/* =========================================================
   TEAM — wariant „Botanical Calm" (handoff 2026-05)
   Ciemnozielony band, wycentrowany header, kremowe karty 8px radius.
   ========================================================= */
.bo-team {
	position: relative;
	background: var(--green-deep);
	color: var(--paper);
}
/* Cienka linia oddzielająca od poprzedniej sekcji (jak w handoffie). */
.bo-team::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 1px;
	background: rgba(243, 236, 219, 0.18);
}
.bo-team__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: clamp(80px, 10vw, 140px) var(--space-section-x);
}
.bo-team__head {
	text-align: center;
	margin-bottom: clamp(48px, 6vw, 80px);
}
.bo-team__label {
	font-family: var(--font-mono);
	font-size: var(--fs-eyebrow);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--cream-deep);
	margin-bottom: 18px;
}
.bo-team__h {
	font-family: var(--font-serif);
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.1;
	color: var(--paper);
	font-weight: 400;
	margin: 0;
}
.bo-team__h em { font-style: italic; color: var(--cream-deep); }

.bo-team__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

/* Karta specjalistki */
.bo-card {
	background: var(--cream-soft);
	color: var(--ink);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 250ms ease;
}
.bo-card:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
	.bo-card { transition: none; }
	.bo-card:hover { transform: none; }
}

.bo-card__photo {
	height: 280px;
	overflow: hidden;
}
.bo-card__photo img,
.bo-card__photo .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}
.bo-card__ph .ph__label { white-space: pre-line; }

.bo-card__body {
	padding: 28px 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.bo-card__name {
	font-family: var(--font-serif);
	font-size: 30px;
	line-height: 1.1;
	font-weight: 400;
	color: var(--green-deep);
	margin: 0 0 4px;
}
.bo-card__role {
	font-family: var(--font-mono);
	font-size: var(--fs-eyebrow-s);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brown);
	margin-bottom: 14px;
}
.bo-card__forwho {
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(47, 74, 54, 0.15);
}
.bo-card__quote {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 18px;
	line-height: 1.5;
	color: #2a3a30;
	flex: 1;
	margin: 0 0 24px;
}
.bo-card__foot {
	display: flex;
	align-items: center;
	margin-top: auto;
}
/* Numer telefonu — klikalny, monospace, z subtelną ikoną. */
.bo-card__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--green-deep);
	color: var(--paper);
	padding: 10px 18px;
	border-radius: var(--radius-pill);
	text-decoration: none;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.04em;
	transition: background 200ms ease, transform 150ms ease;
}
.bo-card__phone:hover {
	background: #26402d;
}
.bo-card__phone:focus-visible {
	outline: 2px solid var(--cream-deep);
	outline-offset: 3px;
}
.bo-card__phone-icon {
	flex-shrink: 0;
	opacity: 0.85;
}

/* =========================================================
   OFFER (dark green band)
   ========================================================= */
.ed-offer {
	background: var(--green-deep);
	color: var(--paper);
}
.ed-offer__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-section-y) var(--space-section-x);
}
.ed-offer__eyebrow {
	font-family: var(--font-mono);
	font-size: var(--fs-eyebrow);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: rgba(243, 236, 219, 0.7);
	margin-bottom: 24px;
}
.ed-offer__title {
	font-family: var(--font-serif);
	font-size: var(--fs-h2-md);
	line-height: var(--lh-h2-md);
	color: var(--paper);
	max-width: 720px;
	margin-bottom: 64px;
	font-weight: 400;
}
.ed-offer__title em { font-style: italic; color: var(--cream-deep); }
.ed-offer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: rgba(243, 236, 219, 0.18);
}
.ed-offer__cell {
	background: var(--green-deep);
	padding: 36px 32px 40px;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	transition: background 250ms ease;
	color: inherit;
	text-decoration: none;
}
.ed-offer__cell:hover { background: #36553e; }
.ed-offer__num {
	font-family: var(--font-serif);
	font-size: 56px;
	color: var(--cream-deep);
	line-height: 1;
	margin-bottom: 20px;
	font-style: italic;
	font-weight: 400;
}
.ed-offer__h {
	font-family: var(--font-serif);
	font-size: var(--fs-h3);
	margin-bottom: 8px;
	font-weight: 400;
}
.ed-offer__who {
	font-family: var(--font-mono);
	font-size: var(--fs-eyebrow-s);
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: rgba(243, 236, 219, 0.7);
	margin-bottom: 18px;
}
.ed-offer__desc {
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: var(--lh-body);
	color: rgba(243, 236, 219, 0.9);
	flex: 1;
}
.ed-offer__more {
	margin-top: 24px;
	font-size: 13px;
	color: var(--cream-deep);
	border-bottom: 1px solid rgba(237, 228, 209, 0.5);
	padding-bottom: 3px;
	align-self: flex-start;
	transition: border-bottom-color 150ms ease;
}
.ed-offer__cell:hover .ed-offer__more { border-bottom-color: var(--cream-deep); }

/* =========================================================
   CONTACT
   ========================================================= */
.ed-contact { background: var(--cream-soft); }
.ed-contact__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-section-y) var(--space-section-x);
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(48px, 6vw, 100px);
}
.ed-contact__title {
	font-family: var(--font-serif);
	font-size: var(--fs-h2-lg);
	line-height: var(--lh-h2);
	color: var(--green-deep);
	margin-bottom: 24px;
	margin-top: 16px;
	font-weight: 400;
}
.ed-contact__title em { font-style: italic; color: var(--brown); }
.ed-contact__lead {
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--text-soft);
	margin-bottom: 40px;
	max-width: 480px;
}
.ed-contact__lead strong { color: var(--green-deep); font-weight: 600; }

.ed-contact__phones { border-top: 1px solid rgba(47, 74, 54, 0.15); }
.ed-phone {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 16px;
	align-items: center;
	padding: 22px 0;
	border-bottom: var(--border-mid);
}
.ed-phone__name {
	font-family: var(--font-serif);
	font-size: 22px;
	color: var(--green-deep);
	font-weight: 400;
}
.ed-phone__role {
	font-family: var(--font-sans);
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}
.ed-phone__num {
	font-family: var(--font-mono);
	font-size: 16px;
	color: var(--ink);
	letter-spacing: var(--ls-mono-num);
	white-space: nowrap;
}
.ed-phone__num:hover { color: var(--green-deep); }

.ed-contact__phones-note {
	margin-top: 20px;
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
	font-style: italic;
}

/* =========================================================
   FADE-UP (subtelna animacja na scroll)
   ========================================================= */
.ed-fade-up {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.ed-fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.ed-fade-up { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE — od md w górę
   ========================================================= */
@media (min-width: 768px) {
	/* Tablet — handoff: 2 kolumny + trzecia karta wycentrowana w drugim rzędzie. */
	.bo-team__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.bo-team__grid > :nth-child(3) {
		grid-column: 1 / -1;
		max-width: calc(50% - 12px);
		justify-self: center;
		width: 100%;
	}
	.bo-card__photo { height: 320px; }
	.ed-offer__grid { grid-template-columns: repeat(2, 1fr); }
	.ed-hero__caption { display: block; }
}

@media (min-width: 1024px) {
	.ed-hero__grid { grid-template-columns: 1.1fr 1fr; gap: var(--gap-grid-lg); }
	.ed-hero__media { aspect-ratio: auto; height: 620px; max-height: none; }
	.ed-hero__photo-accent { width: 200px; bottom: -40px; }
	.ed-manifest__inner { grid-template-columns: 1fr 1.4fr; gap: 80px; }
	/* Desktop — 3 równe kolumny. Reset reguły z tablet (trzecia karta wraca w rzędzie). */
	.bo-team__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.bo-team__grid > :nth-child(3) {
		grid-column: auto;
		max-width: none;
		justify-self: auto;
	}
	.bo-card__photo { height: 360px; }
	.bo-card__body { padding: 32px 28px; }
	.ed-offer__grid { grid-template-columns: repeat(3, 1fr); }
	.ed-contact__inner { grid-template-columns: 1.1fr 1fr; }
}
