/* ==========================================================================
   Die Span – page styles (builds on wie-is-ons.css shared page styles)
   ========================================================================== */

.span .wie-hero { min-height: 320px; }
.span .wie-hero__title { font-size: clamp(40px, 6vw, 88px); }

/* ---------- Office hours ---------- */
.office {
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 28px 36px;
	border-radius: 28px;
	border-left: 3px solid var(--red);
}
.office__icon { flex: none; width: 58px; height: 58px; color: var(--gold); }
.office__text { flex: 1; }
.office__text h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); }
.office__text p { margin: 0 0 4px; line-height: 1.55; }

/* ---------- Team ---------- */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 26px; }
.member {
	flex: 0 1 340px;
	display: flex;
	flex-direction: column;
	padding: 10px 10px 22px;
	border-radius: 26px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.member:hover { transform: translateY(-5px); border-color: var(--gold); }
.member__photo { overflow: hidden; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.55); aspect-ratio: 284 / 221; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member__body { padding: 18px 12px 0; text-align: center; }
.member h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: 0.01em; color: #fff; }
.member__role {
	display: grid;
	place-items: center;
	min-height: 2.9em;
	margin: 0 0 16px;
	color: var(--gold);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}
.member__contact {
	display: grid;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(248, 251, 255, 0.85);
	font-size: 14px;
	font-weight: 400;
}
.member__contact li { display: flex; align-items: center; justify-content: center; gap: 10px; }
.member__contact .icon { width: 1.05em; height: 1.05em; color: rgba(248, 251, 255, 0.6); }
.member__contact a { overflow-wrap: anywhere; transition: color 0.2s ease; }
.member__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Group photo ---------- */
.together { display: grid; place-items: center; }
.together__frame {
	position: relative;
	margin: 0;
	width: min(100%, 760px);
	overflow: hidden;
	border: 2px solid rgba(222, 249, 255, 0.75);
	border-radius: 30px;
	box-shadow: 0 0 40px rgba(111, 217, 255, 0.22);
}
.together__frame img { width: 100%; height: auto; }
/* caption is part of the photo: a blurred, darkened band that fades up over the bottom of the picture */
.together__frame figcaption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 56px 20px 18px;
	font-family: var(--font-script-2);
	font-size: clamp(20px, 2.4vw, 28px);
	font-style: italic;
	text-align: center;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	background: linear-gradient(180deg, rgba(3, 30, 48, 0), rgba(3, 30, 48, 0.55) 55%, rgba(3, 30, 48, 0.8));
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
	mask-image: linear-gradient(180deg, transparent, #000 55%);
}
.together__frame figcaption span { position: relative; }

@media (max-width: 800px) {
	.office { flex-direction: column; text-align: center; padding: 24px 22px; border-left-width: 1px; border-top: 3px solid var(--red); }
	.member { flex-basis: 100%; max-width: 380px; }
}
