
/* ================================================================
   Strata Family Law — Team Page Styles (Rebuilt)
   Template: team.php
   Prefix: sfl | Built by Legal Guardian Digital

   Rebuilt from approved HTML: team-page.html
   Date: 2026-04-14

   NOTE: Base resets, header, footer, pill nav are in global.css.
   This file is page-specific only.
   ================================================================ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "DM Sans", sans-serif;
	font-size: 1.1rem;
	line-height: 1.85;
	color: var(--ink);
	background: var(--warm-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Geraldton", sans-serif;
	font-weight: 600;
	line-height: 1.08;
	color: var(--ink);
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	max-width: 1560px;
	margin: 0 auto;
	padding: 0 40px;
}

.eyebrow {
	font-family: "Geraldton", sans-serif;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--copper);
	display: inline-block;
	margin-bottom: 20px;
}

.eyebrow.on-dark {
	color: var(--copper-light);
}

.divider {
	width: 60px;
	height: 2px;
	background: var(--copper);
	margin: 30px 0;
}

.page-hero {
	background: linear-gradient(135deg, #faf7f2 0%, #f5efe5 50%, #efe4d2 100%) !important;
	padding: 220px 0 120px;
}

.page-hero h1 {
	font-size: 5rem;
	margin-bottom: 32px;
	max-width: 960px;
}

.page-hero .subtitle {
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--ink-soft);
	max-width: 720px;
}

section {
	padding: 120px 0;
}

.section-dark {
	background: var(--deep-navy);
	color: var(--cream-text);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
	color: var(--warm-white);
}

.section-dark p {
	color: var(--cream-text);
}

.section-cream {
	background: var(--cream);
}

.frame {
	position: relative;
	display: inline-block;
	width: 100%;
}

.frame::after {
	content: "";
	position: absolute;
	bottom: -20px;
	right: -20px;
	width: 100%;
	height: 100%;
	border: 2px solid rgba(197, 163, 119, .4);
	z-index: 0;
}

.frame img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
}

.mission-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
	align-items: center;
}

.mission-grid h2 {
	font-size: 3.2rem;
	margin-bottom: 32px;
}

.mission-grid p {
	font-size: 1.1rem;
	line-height: 1.85;
	margin-bottom: 24px;
}

.mission-cta {
	display: inline-block;
	margin-top: 20px;
	color: var(--copper-light);
	font-weight: 600;
	letter-spacing: .04em;
	border-bottom: 1px solid var(--copper);
	padding-bottom: 4px;
}

.mission-cta:hover {
	color: var(--warm-white);
}

.section-header {
	text-align: center;
	margin-bottom: 90px;
}

.section-header h2 {
	font-size: 3.8rem;
	margin-top: 12px;
}

.attorneys-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px 48px;
}

.attorney-card {
	display: flex;
	flex-direction: column;
}

.attorney-photo {
	margin-bottom: 40px;
	aspect-ratio: 4/5;
	overflow: hidden;
}

.attorney-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.attorney-card:hover .attorney-photo img {
	transform: scale(1.03);
}

.attorney-role {
	font-family: "Geraldton", sans-serif;
	font-size: .78rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--copper);
	margin-bottom: 14px;
	display: block;
}

.attorney-card h3 {
	font-size: 2rem;
	margin-bottom: 18px;
}

.attorney-bio {
	font-size: 1.05rem;
	color: var(--ink-soft);
	margin-bottom: 24px;
}

.attorney-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--copper);
	letter-spacing: .04em;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: border-color .25s ease;
}

.attorney-link:hover {
	border-bottom-color: var(--copper);
}

.director-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 80px;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.director-grid .frame {
	max-width: 420px;
}

.director-grid h3 {
	font-size: 2.8rem;
	margin-bottom: 24px;
}

.director-grid p {
	font-size: 1.1rem;
	color: var(--ink-soft);
	margin-bottom: 24px;
}

.support-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 36px;
	max-width: 1200px;
	margin: 0 auto;
}

.support-card {
	position: relative;
	border: 1px solid rgba(197, 163, 119, .15);
	padding: 0;
	transition: border-color .35s ease;
}

.support-card:hover {
	border-color: var(--copper);
}

/* When bio_url is set in ACF, the card renders as <a>. Neutralize the
   browser's default link styling so the card looks identical whether
   it's a <div> or an <a>. */
a.support-card {
	text-decoration: none;
	color: inherit;
	display: block;
}

.support-photo {
	width: 100%;
	aspect-ratio: 1/1;
	overflow: hidden;
	background: var(--forest-light);
}

.support-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.support-info {
	padding: 28px 30px 32px;
}

.support-info .eyebrow {
	margin-bottom: 10px;
	font-size: .72rem;
}

.support-info h4 {
	font-size: 1.45rem;
	color: var(--warm-white);
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
	margin-top: 20px;
}

.value-card {
	padding: 50px 44px;
	background: var(--warm-white);
	border: 1px solid var(--border);
	border-left: 3px solid var(--copper);
}

.value-card h4 {
	font-size: 1.8rem;
	margin-bottom: 20px;
}

.value-card p {
	font-size: 1.05rem;
	color: var(--ink-soft);
}

.cta-block {
	text-align: center;
	max-width: 820px;
	margin: 0 auto;
}

.cta-block h2 {
	font-size: 4rem;
	margin: 12px 0 28px;
}

.cta-block p {
	font-size: 1.2rem;
	margin-bottom: 44px;
	color: var(--cream-text);
}

.cta-actions {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 20px 42px;
	font-family: "DM Sans", sans-serif;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	transition: all .3s ease;
	cursor: pointer;
	border: 1px solid transparent;
}

.btn-primary {
	background: var(--copper);
	color: var(--deep-navy);
}

.btn-secondary {
	background: transparent;
	color: var(--warm-white);
	border-color: rgba(255, 255, 255, .3);
}

@media (max-width:1024px) {
	.page-hero h1 {
		font-size: 4rem;
	}
	
	.mission-grid, .director-grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	
	.attorneys-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.support-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.values-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width:768px) {
	.container {
		padding: 0 24px;
	}
	
	section {
		padding: 80px 0;
	}
	
	.page-hero {
		padding: 160px 0 80px;
	}
	
	.page-hero h1 {
		font-size: 3rem;
	}
	
	.section-header h2 {
		font-size: 2.6rem;
	}
	
	.mission-grid h2 {
		font-size: 2.4rem;
	}
	
	.cta-block h2 {
		font-size: 2.6rem;
	}
	
	.attorneys-grid {
		grid-template-columns: 1fr;
		gap: 70px;
	}
	
	body {
		padding-bottom: 100px;
	}
}

@media (max-width:480px) {
	.page-hero h1 {
		font-size: 2.4rem;
	}
	
	.support-grid {
		grid-template-columns: 1fr;
	}
}

.footer-lgd-credit:hover {
	color: #ede6dc !important;
	border-bottom-color: #ede6dc !important;
}
