@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

/* ============================================================
   PONCA TEAM GRID — Frontend Styles
   Class prefix: ponca-tg
   ============================================================ */

.ponca-tg {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	overflow: visible;
	background: var(--tg-section-bg, #FFFDF6);
	padding: var(--tg-section-padding-y, 0px) var(--tg-section-padding-x, 160px);
}
.ponca-tg *, .ponca-tg *::before, .ponca-tg *::after { box-sizing: border-box; }

.ponca-tg__container {
	width: 100%;
	max-width: var(--tg-container-max-width, 1600px);
	margin: 0 auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--tg-content-stack-gap, 60px);
}
.ponca-tg__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	gap: var(--tg-top-row-stack-gap, 60px);
}

.ponca-tg__header {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	align-items: var(--tg-header-row-align-items, flex-end);
	gap: var(--tg-header-row-gap, 24px);
}

.ponca-tg__heading-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 var(--tg-heading-block-flex-basis, 480px);
	gap: var(--tg-heading-block-gap, 14px);
	min-width: 0;
}

.ponca-tg__eyebrow {
	margin: 0;
	width: 100%;
	color: var(--tg-eyebrow-color, #DEB209);
	font-family: var(--tg-eyebrow-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-eyebrow-font-size, 13px);
	line-height: var(--tg-eyebrow-line-height, 22px);
	font-weight: var(--tg-eyebrow-font-weight, 600);
	font-style: var(--tg-eyebrow-font-style, normal);
	letter-spacing: var(--tg-eyebrow-letter-spacing, 3px);
	text-transform: var(--tg-eyebrow-text-transform, uppercase);
	text-align: var(--tg-eyebrow-text-align, left);
}

.ponca-tg__heading {
	margin: 0;
	width: 100%;
	color: var(--tg-heading-color, #0D0F0E);
	font-family: var(--tg-heading-font-family, 'Cormorant Garamond', serif);
	font-size: var(--tg-heading-font-size, 56px);
	line-height: var(--tg-heading-line-height, 62px);
	font-weight: var(--tg-heading-font-weight, 300);
	letter-spacing: var(--tg-heading-letter-spacing, -0.56px);
	text-align: var(--tg-heading-text-align, left);
}

.ponca-tg__heading-prefix,
.ponca-tg__heading-accent,
.ponca-tg__heading-suffix { display: inline; }

.ponca-tg__heading-prefix {
	color: var(--tg-heading-prefix-color, #0D0F0E);
	font-style: var(--tg-heading-prefix-font-style, normal);
}
.ponca-tg__heading-accent {
	color: var(--tg-heading-accent-color, #B28E07);
	font-style: var(--tg-heading-accent-font-style, italic);
}
.ponca-tg__heading-suffix {
	color: var(--tg-heading-suffix-color, #0D0F0E);
	font-style: var(--tg-heading-suffix-font-style, normal);
}

.ponca-tg__description {
	margin: 0;
	flex: 1 1 320px;
	max-width: var(--tg-description-max-width, 701px);
	color: var(--tg-description-color, #474747);
	font-family: var(--tg-description-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-description-font-size, 18px);
	line-height: var(--tg-description-line-height, 30px);
	font-weight: var(--tg-description-font-weight, 400);
	font-style: var(--tg-description-font-style, normal);
}

/* Back link */
.ponca-tg__back {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	text-decoration: none;
	gap: var(--tg-back-link-stack-gap, 11px);
	width: var(--tg-back-link-underline-width, 145px);
}
.ponca-tg__back-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--tg-back-link-inner-gap, 10px);
}
.ponca-tg__back-text {
	margin: 0;
	color: var(--tg-back-link-color, #6E6B6D);
	font-family: var(--tg-back-link-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-back-link-font-size, 13px);
	line-height: var(--tg-back-link-line-height, 22px);
	font-weight: var(--tg-back-link-font-weight, 600);
	font-style: var(--tg-back-link-font-style, normal);
	letter-spacing: var(--tg-back-link-letter-spacing, 1.92px);
	text-transform: var(--tg-back-link-text-transform, uppercase);
}
.ponca-tg__back-arrow {
	margin: 0;
	display: inline-block;
	color: var(--tg-back-link-color, #6E6B6D);
	font-family: var(--tg-back-link-arrow-font-family, Arial, sans-serif);
	font-size: var(--tg-back-link-arrow-font-size, 12.8px);
	font-weight: var(--tg-back-link-arrow-font-weight, 700);
	line-height: var(--tg-back-link-line-height, 22px);
	letter-spacing: var(--tg-back-link-letter-spacing, 1.92px);
}
.ponca-tg__back-underline {
	display: block;
	border: 0;
	margin: 0;
	height: var(--tg-back-link-underline-thickness, 1px);
	width: var(--tg-back-link-underline-width, 145px);
	background: var(--tg-back-link-underline-color, #6E6B6D);
}

/* Grid */
.ponca-tg__grid {
	display: grid;
	width: 100%;
	box-sizing: border-box;
	grid-template-columns: var(--tg-grid-template-columns, repeat(2, minmax(0, 1fr)));
	gap: var(--tg-grid-gap, 30px);
}

/* Card */
.ponca-tg__card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--tg-card-bg, #FFFFFF);
	border: var(--tg-card-border, 1px solid #F5E7B3);
	border-radius: var(--tg-card-border-radius, 0px);
	padding: var(--tg-card-padding, 40px);
	gap: var(--tg-card-outer-gap, 24px);
	min-height: var(--tg-card-min-height, 392px);
}

.ponca-tg__card-top,
.ponca-tg__modal-top {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	width: 100%;
	gap: var(--tg-card-top-row-gap, 20px);
}

.ponca-tg__photo,
.ponca-tg__modal-photo {
	box-sizing: border-box;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: var(--tg-photo-size, 126px);
	height: var(--tg-photo-size, 126px);
	background: var(--tg-photo-bg, #FFFDF6);
	border-radius: var(--tg-photo-border-radius, 0px);
	border: var(--tg-photo-border, 1px solid #FAF3DA);
}

.ponca-tg__photo-img,
.ponca-tg__modal-photo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: var(--tg-photo-object-fit, cover);
	object-position: var(--tg-photo-object-position, center top);
}

.ponca-tg__initials,
.ponca-tg__modal-initials {
	margin: 0;
	color: var(--tg-initials-color, #DEB209);
	font-family: var(--tg-initials-font-family, 'Cormorant Garamond', serif);
	font-size: var(--tg-initials-font-size, 32px);
	line-height: var(--tg-initials-line-height, 37px);
	font-weight: var(--tg-initials-font-weight, 400);
	font-style: var(--tg-initials-font-style, normal);
	letter-spacing: var(--tg-initials-letter-spacing, -0.32px);
}

.ponca-tg__info,
.ponca-tg__modal-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
	gap: var(--tg-card-info-stack-gap, 10px);
}

.ponca-tg__name,
.ponca-tg__modal-name {
	margin: 0;
	width: 100%;
	color: var(--tg-name-color, #0D0F0E);
	font-family: var(--tg-name-font-family, 'Cormorant Garamond', serif);
	font-size: var(--tg-name-font-size, 30px);
	line-height: var(--tg-name-line-height, 130%);
	font-weight: var(--tg-name-font-weight, 400);
	font-style: var(--tg-name-font-style, normal);
	letter-spacing: var(--tg-name-letter-spacing, 0px);
}

.ponca-tg__role,
.ponca-tg__modal-role {
	margin: 0;
	width: 100%;
	color: var(--tg-role-color, #A78607);
	font-family: var(--tg-role-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-role-font-size, 16px);
	line-height: var(--tg-role-line-height, 25px);
	font-weight: var(--tg-role-font-weight, 400);
	font-style: var(--tg-role-font-style, normal);
	letter-spacing: var(--tg-role-letter-spacing, 0.05em);
	text-transform: var(--tg-role-text-transform, uppercase);
}

.ponca-tg__location,
.ponca-tg__modal-location {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	gap: var(--tg-location-gap, 10px);
}

.ponca-tg__location-text {
	margin: 0;
	color: var(--tg-location-color, #474747);
	font-family: var(--tg-location-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-location-font-size, 16px);
	line-height: var(--tg-location-line-height, 25px);
	font-weight: var(--tg-location-font-weight, 400);
	font-style: var(--tg-location-font-style, normal);
}

.ponca-tg__divider,
.ponca-tg__modal-divider {
	display: block;
	border: 0;
	margin: 0;
	width: 100%;
	height: var(--tg-divider-thickness, 1px);
	background: var(--tg-divider-color, #F5E7B3);
}

.ponca-tg__excerpt {
	margin: 0;
	width: 100%;
	display: -webkit-box;
	-webkit-line-clamp: var(--tg-excerpt-line-clamp, 3);
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--tg-excerpt-color, #474747);
	font-family: var(--tg-excerpt-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-excerpt-font-size, 16px);
	line-height: var(--tg-excerpt-line-height, 25px);
	font-weight: var(--tg-excerpt-font-weight, 400);
	font-style: var(--tg-excerpt-font-style, normal);
}

/* Read more */
.ponca-tg__read-more {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	text-decoration: none;
	cursor: pointer;
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	margin-top: auto;
	gap: var(--tg-read-more-stack-gap, 11px);
	width: var(--tg-read-more-underline-width, 113px);
}
.ponca-tg__rm-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--tg-read-more-inner-gap, 10px);
}
.ponca-tg__rm-text {
	margin: 0;
	color: var(--tg-read-more-color, #DEB209);
	font-family: var(--tg-read-more-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-read-more-font-size, 13px);
	line-height: var(--tg-read-more-line-height, 22px);
	font-weight: var(--tg-read-more-font-weight, 600);
	font-style: var(--tg-read-more-font-style, normal);
	letter-spacing: var(--tg-read-more-letter-spacing, 1.92px);
	text-transform: var(--tg-read-more-text-transform, uppercase);
}
.ponca-tg__rm-arrow {
	margin: 0;
	display: inline-block;
	color: var(--tg-read-more-color, #DEB209);
	font-family: var(--tg-read-more-arrow-font-family, Arial, sans-serif);
	font-size: var(--tg-read-more-arrow-font-size, 12.8px);
	font-weight: var(--tg-read-more-arrow-font-weight, 700);
	line-height: var(--tg-read-more-line-height, 22px);
	letter-spacing: var(--tg-read-more-letter-spacing, 1.92px);
}
.ponca-tg__rm-underline {
	display: block;
	border: 0;
	margin: 0;
	height: var(--tg-read-more-underline-thickness, 1px);
	width: var(--tg-read-more-underline-width, 113px);
	background: var(--tg-read-more-underline-color, #DEB209);
}

/* Modal */
.ponca-tg__modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 5vh 24px;
	z-index: 9999;
	overflow-y: auto;
	background: var(--tg-modal-overlay-color, rgba(13, 15, 14, 0.55));
}
.ponca-tg__modal-box {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	max-width: var(--tg-modal-max-width, 920px);
	background: var(--tg-modal-bg, #FFFFFF);
	border-radius: var(--tg-modal-border-radius, 10px);
	box-shadow: var(--tg-modal-shadow, 0 40px 90px rgba(13, 15, 14, 0.18));
	padding: var(--tg-modal-padding, 40px 48px);
	gap: var(--tg-modal-gap, 24px);
}
.ponca-tg__modal-x {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	cursor: pointer;
	border-radius: 50%;
	padding: 0;
}
.ponca-tg__modal-body {
	margin: 0;
	width: 100%;
	color: var(--tg-modal-body-color, #474747);
	font-family: var(--tg-modal-body-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-modal-body-font-size, 16px);
	line-height: var(--tg-modal-body-line-height, 25px);
	font-weight: var(--tg-modal-body-font-weight, 400);
}
.ponca-tg__modal-body p {
	margin: 0 0 16px;
}
.ponca-tg__modal-footer {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}
.ponca-tg__modal-close-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: var(--tg-modal-close-btn-bg, transparent);
	color: var(--tg-modal-close-btn-color, #0D0F0E);
	border: var(--tg-modal-close-btn-border, 1px solid #A1A0A0);
	border-radius: var(--tg-modal-close-btn-border-radius, 4px);
	padding: var(--tg-modal-close-btn-padding, 10px 20px);
	font-family: var(--tg-modal-close-btn-font-family, 'DM Sans', sans-serif);
	font-size: var(--tg-modal-close-btn-font-size, 14px);
	font-weight: var(--tg-modal-close-btn-font-weight, 500);
	letter-spacing: var(--tg-modal-close-btn-letter-spacing, 0.4px);
}

/* Ornament */
.ponca-tg__ornament {
	width: 100%;
	pointer-events: none;
	height: var(--tg-ornament-height, 83px);
	margin-top: var(--tg-ornament-margin-top, 0px);
	background-color: var(--tg-ornament-bg, transparent);
	opacity: var(--tg-ornament-opacity, 1);
	background-image: var(--tg-ornament-image, none);
	background-repeat: var(--tg-ornament-repeat, repeat-x);
	background-position: var(--tg-ornament-position, center bottom);
	background-size: var(--tg-ornament-size, auto 100%);
}
.ponca-tg__ornament--full {
	position: absolute;
	left: 0;
	bottom:0px;
	width: 100vw;
}

.ponca-tg__icon-svg,
.ponca-tg__close-svg { display: block; }

/* Card hover */
.ponca-tg__card {
	transition: border-color 280ms ease,
				box-shadow 280ms cubic-bezier(.22,.61,.36,1),
				transform 280ms cubic-bezier(.22,.61,.36,1);
}
.ponca-tg__card:hover {
	box-shadow: 0 18px 36px rgba(13, 15, 14, 0.06);
	transform: translateY(-2px);
}

/* Read More button — focus + hover */
.ponca-tg__read-more {
	transition: opacity 200ms ease, transform 200ms ease;
}
.ponca-tg__read-more:hover {
	opacity: 0.78;
}
.ponca-tg__read-more:focus-visible {
	outline: 2px solid #DEB209;
	outline-offset: 4px;
}

/* Modal */
[data-ponca-tg-modal] {
	animation: ponca-tg-fade-in 240ms ease;
}
[data-ponca-tg-modal] .ponca-tg__modal-box {
	animation: ponca-tg-slide-up 320ms cubic-bezier(.22,.61,.36,1);
}
@keyframes ponca-tg-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes ponca-tg-slide-up {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

.ponca-tg__modal-x:hover,
.ponca-tg__modal-x:focus-visible {
	background: rgba(13, 15, 14, 0.06) !important;
	outline: none;
}

.ponca-tg__modal-close-btn {
	transition: background-color 220ms ease, color 220ms ease;
}
.ponca-tg__modal-close-btn:hover {
	background: #0D0F0E !important;
	color: #FFFFFF !important;
	border-color: #0D0F0E !important;
}
.ponca-tg__modal-close-btn:focus-visible {
	outline: 2px solid #DEB209;
	outline-offset: 2px;
}

.ponca-tg__modal-body p:last-child {
	margin-bottom: 0 !important;
}

/* Body scroll lock when modal open */
body.ponca-tg-no-scroll {
	overflow: hidden;
}

/* Back link hover */
.ponca-tg__back:hover .ponca-tg__back-text,
.ponca-tg__back:hover .ponca-tg__back-arrow {
	opacity: 0.7;
}

/* Full-viewport ornament guard */
.ponca-tg:has(.ponca-tg__ornament--full) { overflow: visible; }
.ponca-tg__ornament--full { max-width: 100vw; }

.ponca-tg.alignwide,
.ponca-tg.alignfull { max-width: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */


@media (max-width: 1280px) {

	.ponca-tg__heading {
		font-size: clamp(40px, 4.5vw, 56px) !important;
		line-height: 1.15 !important;
	}
}

@media (max-width: 1024px) {
	.ponca-tg__grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 720px) {
	.ponca-tg__heading {
		font-size: 36px !important;
		line-height: 42px !important;
	}
	.ponca-tg__card-top,
	.ponca-tg__modal-top {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 16px !important;
	}
	.ponca-tg__photo,
	.ponca-tg__modal-photo {
		width: 96px !important;
		height: 96px !important;
	}
	.ponca-tg__name,
	.ponca-tg__modal-name {
		font-size: 24px !important;
	}
	[data-ponca-tg-modal] {
		padding: 16px 12px !important;
	}
	.ponca-tg__modal-box {
		padding: 28px 20px !important;
	}
}

@media (max-width: 420px) {
	.ponca-tg__heading {
		font-size: 30px !important;
		line-height: 36px !important;
	}
	.ponca-tg__card {
		padding: 20px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ponca-tg *,
	[data-ponca-tg-modal],
	[data-ponca-tg-modal] .ponca-tg__modal-box {
		transition: none !important;
		animation: none !important;
	}
}
