/*
 * Pitru Theme v2 — pages/single.css
 *
 * Page-specific CSS for the single-article (journal essay) template
 * (templates/single.php). 5 visual zones, ORG-verbatim from
 * Pitrupaksha ORG/blog.html lines 18-135:
 *
 *   .pps-single-header             (lines 25-44)    ← chips + H1 + dek + byline
 *   .pps-single-hero-photo         (lines 46-53)    ← placeholder + motif + label
 *   .pps-single-body               (lines 55-95)    ← block-array renderer
 *   .pps-single-cta-card           (lines 97-102)   ← Ornament + heading + book button
 *   .pps-single-continue-reading   (lines 106-127)  ← 3-card grid
 *
 * Wave: C.9 (single-agent build).
 *
 * Class-prefix discipline: every class begins with .pps-single-{section}
 * then __{element} then --{modifier}. Tokens-only; literal px from ORG.
 *
 * @package PitruThemeV2
 * @since   2.0.0
 */

/* ============================================================
 * HEADER (ORG lines 25-44)
 * Padding 60px 0 40px. Inner wrap capped at 800, text-centered.
 * ============================================================ */
.pps-single-header {
	padding: 60px 0 40px;
}

.pps-single-header__inner {
	max-width: 800px;
	text-align: center;
}

.pps-single-header__chips {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0 0 20px;
}

.pps-single-header__title {
	font-size: clamp(48px, 6vw, 76px);
	letter-spacing: -0.03em;
	line-height: 1.02;
	margin: 0;
}

.pps-single-header__dek {
	margin-top: 24px;
	font-size: 19px;
	color: var(--ink-soft);
	line-height: 1.6;
	font-family: var(--font-display);
	font-style: italic;
}

.pps-single-header__byline {
	margin-top: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	color: var(--stone);
	font-size: 13px;
}

.pps-single-header__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pps-single-header__sep {
	color: var(--stone);
}

/* ============================================================
 * HERO PHOTO (ORG lines 46-53)
 * Box height 520, radius xl, mb 56. Inner text-centered, motif vermillion.
 * ============================================================ */
.pps-single-hero-photo {
	/* .wrap on the element provides max-width + padding. */
}

.pps-single-hero-photo__box {
	height: 520px;
	border-radius: var(--r-xl);
	margin-bottom: 56px;
	position: relative;
	overflow: hidden;
}

.pps-single-hero-photo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.pps-single-hero-photo__inner {
	text-align: center;
}

.pps-single-hero-photo__motif {
	color: var(--vermillion);
	display: inline-flex;
}

.pps-single-hero-photo__label {
	margin-top: 18px;
}

/* ============================================================
 * BODY (ORG lines 55-95)
 * .wrap on the element + max-width 720 inner cap.
 * ============================================================ */
.pps-single-body {
	max-width: 720px;
}

.pps-single-body__lede {
	font-size: 24px;
	line-height: 1.55;
	font-family: var(--font-display);
	color: var(--ink-2);
	font-style: italic;
	letter-spacing: -0.005em;
	margin: 0 0 40px;
}

.pps-single-body__p {
	font-size: 18px;
	line-height: 1.75;
	color: var(--ink-soft);
	margin: 0 0 24px;
}

.pps-single-body__h2 {
	font-size: 40px;
	margin-top: 56px;
	margin-bottom: 20px;
	letter-spacing: -0.02em;
}

.pps-single-body__quote {
	margin: 40px 0;
	padding-left: 24px;
	border-left: 3px solid var(--gold);
	font-size: 26px;
	font-family: var(--font-display);
	font-style: italic;
	color: var(--ink-2);
	letter-spacing: -0.01em;
	line-height: 1.4;
}

.pps-single-body__quote-attribution {
	margin-top: 14px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--stone);
	text-transform: uppercase;
	font-style: normal;
}

/* ============================================================
 * CTA CARD (ORG lines 97-102)
 * Inside the article body wrap, capped at 720 to align with body.
 * ============================================================ */
.pps-single-cta-card-wrap {
	max-width: 720px;
}

.pps-single-cta-card {
	margin-top: 48px;
	padding: 32px;
	background: var(--ivory-2);
	border-radius: var(--r-lg);
	text-align: center;
}

.pps-single-cta-card__motif {
	color: var(--gold-deep);
	display: inline-flex;
}

.pps-single-cta-card__heading {
	font-size: 30px;
	margin-top: 14px;
	letter-spacing: -0.02em;
}

.pps-single-cta-card__body {
	margin-top: 12px;
	font-size: 16px;
	color: var(--ink-soft);
}

.pps-single-cta-card__button {
	margin-top: 24px;
	padding: 14px 28px;
}

/* ============================================================
 * CONTINUE READING (ORG lines 106-127)
 * Section padding 100px 0. 3-col grid of card thumbs.
 * ============================================================ */
.pps-single-continue-reading {
	padding: 100px 0;
}

.pps-single-continue-reading__eyebrow {
	margin-bottom: 12px;
}

.pps-single-continue-reading__title {
	font-size: 36px;
	letter-spacing: -0.02em;
	margin-bottom: 32px;
}

.pps-single-continue-reading__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.pps-single-continue-reading__card {
	padding: 24px;
	display: block;
	transition: transform 0.22s var(--ease-ios), box-shadow 0.22s var(--ease-ios);
}

.pps-single-continue-reading__card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.pps-single-continue-reading__thumb {
	height: 140px;
	border-radius: var(--r-md);
	margin-bottom: 16px;
}

.pps-single-continue-reading__meta {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--stone);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pps-single-continue-reading__title-card {
	font-size: 22px;
	margin-top: 10px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.pps-single-continue-reading__excerpt {
	margin-top: 8px;
	font-size: 14px;
	color: var(--ink-soft);
	line-height: 1.55;
}

/* ============================================================
 * RESPONSIVE — mobile (≤720px)
 * Note: tokens.css line 291 has a global !important rule for h2 mobile
 * (clamp(28px,7vw,40px)). Our .pps-single-body__h2 needs !important here
 * to actually hit 32px target on mobile rather than be capped by the
 * global clamp. Same precedence note for other rules where global mobile
 * stylesheet is more specific.
 * ============================================================ */
@media (max-width: 720px) {
	.pps-single-hero-photo__box {
		height: 320px;
	}

	.pps-single-body__h2 {
		font-size: 32px !important;
	}

	.pps-single-body__quote {
		font-size: 22px;
	}

	.pps-single-continue-reading__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.pps-single-cta-card {
		padding: 22px;
	}

	.pps-single-cta-card__heading {
		font-size: 24px;
	}
}
