/* ============================================================
   OUR TEAM PAGE  —  our-team.css  v1.1
   Template: page-our-team.php  |  URL: /our-team/
   All sizes in px  |  Brand tokens throughout
   ============================================================ */

:root {
	--ot-red:   #E61E31;
	--ot-black: #040303;
	--ot-white: #F4F4F4;
	--ot-alt:   #FAFAFA;
}

/* ── Layout wrapper ─────────────────────────────────────── */
.ot-wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ══════════════════════════════════════════════════════
   HEADER — always dark on our-team page.
   Matches the hero's top gradient colour (#040303) so
   the nav visually merges into the photo below it.
══════════════════════════════════════════════════════ */
.page-template-page-our-team .main-header {
	background: #040303 !important;
	box-shadow: none !important;
}

/* ══════════════════════════════════════════════════════
   HERO — full-width photo, text overlaid at the bottom.
   Gradient is transparent for the top 55% (faces clear),
   then builds dark only in the bottom portion for text.
══════════════════════════════════════════════════════ */
.ot-hero {
	position: relative;
	width: 100%;
	min-height: 82vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	margin-top: 80px;
}

.ot-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Gradient starts transparent — no overlay on faces.
   Only darkens from 55% downward for text legibility. */
.ot-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		transparent 50%,
		rgba(4, 3, 3, 0.55) 68%,
		rgba(4, 3, 3, 0.92) 88%,
		rgba(4, 3, 3, 0.98) 100%
	);
}

.ot-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 0 60px;
}


.ot-hero__h1 {
	font-family: 'Satoshi', sans-serif;
	font-size: 52px;
	font-weight: 900;
	line-height: 1.08;
	color: var(--ot-white);
	margin: 0;
	letter-spacing: -0.5px;
	max-width: 780px;
}

.ot-hero__h1 em {
	color: var(--ot-red);
	font-style: normal;
}

.ot-hero__sub {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(244, 244, 244, 0.68);
	max-width: 640px;
	margin: 0;
}

/* ══════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════ */
.ot-breadcrumb {
	background: var(--ot-black);
	border-top: 1px solid rgba(244, 244, 244, 0.08);
	padding: 14px 0;
}

.ot-breadcrumb .ot-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ot-breadcrumb a {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 13px;
	color: rgba(244, 244, 244, 0.5);
	text-decoration: none;
}

.ot-breadcrumb a:hover { color: var(--ot-red); }

.ot-breadcrumb__sep {
	font-size: 13px;
	color: rgba(244, 244, 244, 0.25);
}

.ot-breadcrumb span[aria-current] {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 13px;
	color: rgba(244, 244, 244, 0.72);
}

/* ══════════════════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════════════════ */
.ot-trust {
	background: var(--ot-red);
	padding: 28px 0;
}

.ot-trust__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 56px;
}

.ot-trust__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.ot-trust__stat strong {
	font-family: 'Satoshi', sans-serif;
	font-size: 28px;
	font-weight: 900;
	color: var(--ot-white);
	line-height: 1;
}

.ot-trust__stat span {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 13px;
	color: rgba(244, 244, 244, 0.85);
	text-align: center;
}

/* ══════════════════════════════════════════════════════
   SECTION SCAFFOLD
══════════════════════════════════════════════════════ */
.ot-section {
	padding: 96px 0;
}

.ot-section--alt {
	background: var(--ot-alt);
}

.ot-section__intro {
	text-align: center;
	margin-bottom: 72px;
}

.ot-section__title {
	font-family: 'Satoshi', sans-serif;
	font-size: 38px;
	font-weight: 700;
	color: var(--ot-black);
	margin: 0 0 12px;
	letter-spacing: -0.3px;
}

.ot-section__sub {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: #555;
	max-width: 620px;
	margin: 0 auto;
}

/* ── Standalone section title (philosophy) */
.ot-philosophy .ot-section__title,
.ot-philosophy .ot-section__sub {
	text-align: center;
}

.ot-philosophy .ot-section__sub {
	margin-bottom: 56px;
}

/* ══════════════════════════════════════════════════════
   TEAM MEMBERS
══════════════════════════════════════════════════════ */
.ot-members {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ot-divider {
	border: none;
	border-top: 1px solid #e8e8e8;
	margin: 72px 0;
}

/* ── Each member card ── */
.ot-member {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 72px;
	align-items: start;
}

/* Secondary: flip photo to right */
.ot-member--secondary {
	grid-template-columns: 1fr 420px;
}

.ot-member--secondary .ot-member__photo { order: 2; }
.ot-member--secondary .ot-member__content { order: 1; }

/* ── Photo ── */
.ot-member__photo {
	position: relative;
}

.ot-member__photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 7 / 8;
	object-fit: cover;
	object-position: center top;
	border-radius: 16px;
	display: block;
}

/* Red corner accent on primary card */
.ot-member--primary .ot-member__photo::before {
	content: '';
	position: absolute;
	top: -14px;
	left: -14px;
	width: 72px;
	height: 72px;
	border-top: 3px solid var(--ot-red);
	border-left: 3px solid var(--ot-red);
	border-radius: 4px 0 0 0;
	pointer-events: none;
	z-index: 1;
}

/* Red corner accent on secondary card (opposite corner) */
.ot-member--secondary .ot-member__photo::after {
	content: '';
	position: absolute;
	bottom: -14px;
	right: -14px;
	width: 72px;
	height: 72px;
	border-bottom: 3px solid var(--ot-red);
	border-right: 3px solid var(--ot-red);
	border-radius: 0 0 4px 0;
	pointer-events: none;
	z-index: 1;
}

/* ── Content ── */
.ot-member__role {
	display: inline-block;
	background: #FFF0F1;
	color: var(--ot-red);
	font-family: 'Satoshi', sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 4px 14px;
	border-radius: 100px;
	margin-bottom: 12px;
}

.ot-member__name {
	font-family: 'Satoshi', sans-serif;
	font-size: 38px;
	font-weight: 900;
	color: var(--ot-black);
	margin: 0 0 8px;
	line-height: 1.06;
	letter-spacing: -0.3px;
}

.ot-member__cred {
	display: block;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 14px;
	color: #777;
	margin-bottom: 24px;
}

.ot-member__bio {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	line-height: 1.75;
	color: #333;
	margin: 0 0 14px;
}

/* ── Specialty chips ── */
.ot-member__specialties {
	list-style: none;
	padding: 0;
	margin: 24px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ot-member__specialties li {
	background: var(--ot-black);
	color: var(--ot-white);
	font-family: 'Nunito Sans', sans-serif;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 100px;
	line-height: 1.3;
}

/* ── Media / As-seen-in ── */
.ot-member__media {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-bottom: 28px;
	padding: 14px 16px;
	background: var(--ot-alt);
	border-left: 3px solid var(--ot-red);
	border-radius: 0 6px 6px 0;
}

.ot-member__media-label {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #999;
	white-space: nowrap;
}

.ot-member__media-list {
	font-family: 'Satoshi', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--ot-black);
}

/* ── Action buttons per member ── */
.ot-member__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.ot-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Satoshi', sans-serif;
	font-size: 15px;
	font-weight: 700;
	padding: 13px 28px;
	border-radius: 6px;
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
	cursor: pointer;
	border: 2px solid transparent;
	line-height: 1;
}

.ot-btn--primary {
	background: var(--ot-red);
	color: var(--ot-white);
	border-color: var(--ot-red);
}
.ot-btn--primary:hover {
	background: #c41528;
	border-color: #c41528;
	color: var(--ot-white);
}

.ot-btn--outline {
	background: transparent;
	color: var(--ot-black);
	border-color: var(--ot-black);
}
.ot-btn--outline:hover {
	background: var(--ot-black);
	color: var(--ot-white);
}

/* Ghost — used in dark CTA section */
.ot-btn--ghost {
	background: transparent;
	color: var(--ot-white);
	border-color: rgba(244, 244, 244, 0.35);
}
.ot-btn--ghost:hover {
	background: var(--ot-white);
	color: var(--ot-black);
	border-color: var(--ot-white);
}

/* ══════════════════════════════════════════════════════
   PHILOSOPHY PILLARS
══════════════════════════════════════════════════════ */
.ot-pillars {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.ot-pillar {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 36px 32px;
	transition: box-shadow 220ms ease, border-color 220ms ease;
	cursor: default;
}

.ot-pillar:hover {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
	border-color: var(--ot-red);
}

.ot-pillar__icon {
	margin-bottom: 18px;
}

.ot-pillar h3 {
	font-family: 'Satoshi', sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: var(--ot-black);
	margin: 0 0 10px;
	letter-spacing: 0;
}

.ot-pillar p {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 15px;
	line-height: 1.68;
	color: #555;
	margin: 0;
	letter-spacing: 0;
}

/* ══════════════════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════════════════ */
.ot-cta {
	background: var(--ot-black);
}

.ot-cta__inner {
	text-align: center;
}

.ot-cta__inner h2 {
	font-family: 'Satoshi', sans-serif;
	font-size: 42px;
	font-weight: 900;
	color: var(--ot-white);
	margin: 0 0 16px;
	letter-spacing: -0.3px;
}

.ot-cta__inner p {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(244, 244, 244, 0.72);
	max-width: 580px;
	margin: 0 auto 36px;
}

.ot-cta__btns {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

/* ── Tablet ≤1024px ── */
@media (max-width: 1024px) {
	.ot-hero { min-height: 70vh; }
	.ot-hero__h1 { font-size: 40px; }
	.ot-hero__sub { font-size: 16px; }

	.ot-member,
	.ot-member--secondary {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	/* Reset photo order — always top on tablet/mobile */
	.ot-member--secondary .ot-member__photo { order: 0; }
	.ot-member--secondary .ot-member__content { order: 0; }

	/* Hide corner accents at small sizes */
	.ot-member--primary .ot-member__photo::before,
	.ot-member--secondary .ot-member__photo::after { display: none; }

	.ot-member__photo img {
		max-width: 400px;
		aspect-ratio: 4 / 5;
	}
}

/* ── Mobile ≤768px ── */
@media (max-width: 768px) {
	.ot-hero { min-height: 75vh; }
	.ot-hero__content { padding: 0 0 40px; }
	.ot-hero__h1 { font-size: 28px; }
	.ot-hero__sub { font-size: 15px; }

	.ot-trust__inner { gap: 20px 32px; }
	.ot-trust__stat strong { font-size: 24px; }

	.ot-section { padding: 64px 0; }
	.ot-section__title { font-size: 28px; }
	.ot-section__intro { margin-bottom: 48px; }
	.ot-divider { margin: 52px 0; }

	.ot-member__name { font-size: 30px; }
	.ot-member__bio { font-size: 15px; }

	.ot-pillars { grid-template-columns: 1fr; gap: 16px; }
	.ot-pillar { padding: 28px 24px; }

	.ot-cta__inner h2 { font-size: 30px; }
	.ot-cta__inner p { font-size: 15px; }
	.ot-cta__btns { flex-direction: column; align-items: center; }
}

/* ── Small mobile ≤480px ── */
@media (max-width: 480px) {
	.ot-hero__h1 { font-size: 26px; }
	.ot-trust__inner { flex-direction: column; align-items: center; gap: 20px; }
	.ot-member__photo img { max-width: 100%; }
	.ot-member__actions { flex-direction: column; }
	.ot-btn { width: 100%; justify-content: center; }
}
