@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

.pgw-ap-wrapper, .pgw-ap-wrapper * { box-sizing: border-box; }
.pgw-ap-wrapper { color: #111111; overflow-x: hidden; }
.pgw-ap-wrapper p { margin: 0; }
.pgw-ap-wrapper img { max-width: 100%; display: block; }

.pgw-ap-section { padding: 80px 40px; max-width: 1280px; margin: 0 auto; position: relative; }
.pgw-ap-section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: #888; margin: 0; }

/* Watermark decoration */
.pgw-ap-watermark {
	position: absolute;
	top: 10px;
	left: 40px;
	font-family: 'Playfair Display', serif;
	font-size: 140px;
	font-weight: 600;
	line-height: 1;
	color: rgba(0,0,0,0.05);
	z-index: 0;
	pointer-events: none;
	user-select: none;
}

/* ---------- Page Title ---------- */
.pgw-ap-title-block { padding-bottom: 40px; }
.pgw-ap-page-title {
	font-family: 'Playfair Display', serif;
	font-weight: 500;
	font-style: italic;
	font-size: 64px;
	margin: 0 0 16px;
	line-height: 1.1;
}
.pgw-ap-page-title-underline {
	display: block;
	width: 100px;
	height: 2px;
	background-color: #111111;
}

/* ---------- Gallery ---------- */
.pgw-ap-gallery-wrap { padding: 0 40px 40px; max-width: 1280px; margin: 0 auto; }
.pgw-ap-gallery {
	position: relative;
	height: 460px;
	overflow: hidden;
	background: #eee;
}
.pgw-ap-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.pgw-ap-slide.is-active { opacity: 1; }
.pgw-ap-press-strip {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 18px 28px;
	background-color: #111111;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	z-index: 2;
}
.pgw-ap-press-strip img { height: 18px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.pgw-ap-gallery-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.pgw-ap-arrow {
	background: none; border: none; cursor: pointer;
	font-size: 18px; color: #111; padding: 6px 10px;
	transition: opacity 0.2s ease;
}
.pgw-ap-arrow:hover { opacity: 0.6; }
.pgw-ap-dots { display: flex; gap: 10px; }
.pgw-ap-dot {
	background: none; border: none; cursor: pointer;
	font-size: 12px; font-weight: 600; color: #bbb; padding: 6px;
	transition: color 0.2s ease;
}
.pgw-ap-dot.is-active, .pgw-ap-dot:hover { color: #111; }

/* ---------- Intro ---------- */
.pgw-ap-intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 16px; }
.pgw-ap-intro-col p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.pgw-ap-intro-col p:last-child { margin-bottom: 0; }
.pgw-ap-intro-col:first-child p { font-weight: 500; }

/* ---------- Goal ---------- */
.pgw-ap-goal-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.pgw-ap-goal-photo { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: #eee; }
.pgw-ap-since { font-size: 13px; color: #888; text-align: right; margin: 0 0 20px; }
.pgw-ap-goal-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 600; margin: 0 0 24px; }
.pgw-ap-goal-body p { font-size: 16px; line-height: 1.75; color: #333; margin-bottom: 18px; }
.pgw-ap-goal-body p:last-child { margin-bottom: 0; }

/* ---------- Team ---------- */
.pgw-ap-team-wrap { text-align: left; }
.pgw-ap-team-header { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 24px; margin-bottom: 30px; }
.pgw-ap-team-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 600; margin: 0; }
.pgw-ap-team-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(0,0,0,0.1); flex-wrap: wrap; }
.pgw-ap-team-meta span { font-size: 13px; font-weight: 600; color: #888; white-space: nowrap; }
.pgw-ap-team-meta p { max-width: 480px; font-size: 15px; line-height: 1.6; color: #444; }

.pgw-ap-team-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.pgw-ap-team-card { padding: 30px; border-top: 1px solid rgba(0,0,0,0.1); border-left: 1px solid rgba(0,0,0,0.1); }
.pgw-ap-team-card:nth-child(3n+1) { border-left: none; }
.pgw-ap-team-card:nth-child(-n+3) { border-top: none; }
.pgw-ap-team-avatar {
	width: 48px; height: 48px; border-radius: 50%; margin-bottom: 16px;
	background-size: cover; background-position: center; background-color: #ddd;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; color: #666; font-size: 17px;
}
.pgw-ap-team-name { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.pgw-ap-team-role { font-size: 13px; color: #888; margin: 0 0 14px; }
.pgw-ap-team-email { display: block; font-size: 13px; color: #333; text-decoration: none; margin-bottom: 4px; }
.pgw-ap-team-email:hover { text-decoration: underline; }
.pgw-ap-team-note { font-size: 13px; color: #888; }

/* ---------- Join CTA ---------- */
.pgw-ap-join-stat { text-align: right; font-size: 13px; color: #888; margin-bottom: 16px; }
.pgw-ap-join {
	position: relative;
	height: 480px;
	background-size: cover;
	background-position: center;
	background-color: #333;
	display: flex;
	align-items: center;
}
.pgw-ap-join-overlay { position: absolute; inset: 0; background-color: rgba(0,0,0,0.35); }
.pgw-ap-join-content { position: relative; z-index: 1; padding: 0 60px; }
.pgw-ap-join-title { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 500; font-style: italic; color: #fff; margin: 0 0 16px; }
.pgw-ap-join-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 4px; }
.pgw-ap-join-link:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.pgw-ap-footer { padding: 80px 40px 30px; max-width: 1280px; margin: 0 auto; }
.pgw-ap-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 60px; margin-bottom: 50px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.pgw-ap-office-region { font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 12px; }
.pgw-ap-office-line { font-size: 14px; color: #555; line-height: 1.6; }

.pgw-ap-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 50px; }
.pgw-ap-footer-col { display: flex; flex-direction: column; gap: 10px; }
.pgw-ap-footer-heading { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.pgw-ap-footer-col a { font-size: 14px; text-decoration: none; }
.pgw-ap-footer-col a:hover { text-decoration: underline; }

.pgw-ap-footer-legal { font-size: 11px; line-height: 1.6; color: #999; padding-top: 30px; border-top: 1px solid rgba(0,0,0,0.08); max-width: 900px; }
.pgw-ap-footer-copyright { font-size: 12px; color: #999; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.pgw-ap-section { padding: 60px 24px; }
	.pgw-ap-page-title { font-size: 44px; }
	.pgw-ap-watermark { font-size: 90px; }
	.pgw-ap-intro-cols { grid-template-columns: 1fr !important; gap: 30px; }
	.pgw-ap-goal-grid { grid-template-columns: 1fr !important; gap: 30px; }
	.pgw-ap-goal-title { font-size: 28px; }
	.pgw-ap-team-title { font-size: 28px; }
	.pgw-ap-team-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.pgw-ap-team-card:nth-child(3n+1) { border-left: 1px solid rgba(0,0,0,0.1); }
	.pgw-ap-team-card:nth-child(2n+1) { border-left: none; }
	.pgw-ap-team-card:nth-child(-n+3) { border-top: 1px solid rgba(0,0,0,0.1); }
	.pgw-ap-team-card:nth-child(-n+2) { border-top: none; }
	.pgw-ap-join { height: 380px; }
	.pgw-ap-join-title { font-size: 32px; }
	.pgw-ap-offices { grid-template-columns: 1fr 1fr !important; }
	.pgw-ap-footer-cols { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 600px) {
	.pgw-ap-gallery-wrap { padding: 0 20px 30px; }
	.pgw-ap-gallery { height: 300px; }
	.pgw-ap-press-strip { flex-wrap: wrap; gap: 16px; padding: 14px 18px; }
	.pgw-ap-team-grid { grid-template-columns: 1fr !important; }
	.pgw-ap-team-card:nth-child(n) { border-left: none !important; }
	.pgw-ap-team-card:nth-child(-n+1) { border-top: none !important; }
	.pgw-ap-team-meta { flex-direction: column; gap: 12px; }
	.pgw-ap-offices { grid-template-columns: 1fr !important; }
	.pgw-ap-footer-cols { grid-template-columns: 1fr !important; }
	.pgw-ap-join-content { padding: 0 30px; }
}
