/* ==========================================================================
   About — dark ink page with a scroll-pinned timeline rail.
   Design: design-reference/Joey G Photography.dc.html lines 659–736.
   body.jg-tint-ink (background + light type) is applied by inc/setup.php.
   ========================================================================== */

/* Placeholder textures are cream by default — on ink they need the dark
   stripe language the design uses. */
.tpl-about .jg-imgph {
	background: repeating-linear-gradient(128deg, #4A4033 0 9px, #413729 9px 18px);
}
.tpl-about .jg-imgph__note {
	background: rgba(22, 19, 15, 0.72);
	color: #D9CDB8;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.jg-about-hero {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 50px;
	align-items: center;
	padding-top: 74px;
	padding-bottom: 44px;
}
.jg-about-hero h1 {
	font-size: clamp(36px, 4.4vw, 64px);
	line-height: 0.94;
	color: var(--ivory);
	margin: 0 0 12px;
}
.jg-about-hero__intro {
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.6;
	color: var(--cream-dark);
	max-width: 46ch;
	margin: 0;
}
.jg-about-hero .jg-signature {
	margin-top: 22px;
	transform: rotate(-2deg);
}

.jg-about-hero__music {
	display: block;
	margin-top: 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--cream-dark);
}
.jg-about-hero__music:hover { color: var(--ivory); }

.jg-about-hero__photo { position: relative; }
.jg-about-hero__frame {
	position: relative;
	filter: grayscale(1);
	transform: rotate(1.5deg);
}
.jg-about-hero__frame .jg-img { aspect-ratio: 1; }
/* Bottom-right: the red sticker below claims the bottom-left corner. */
.jg-about-hero__caption {
	position: absolute;
	right: 16px;
	bottom: 16px;
	max-width: min(30ch, calc(100% - 32px));
	font-family: var(--font-mono);
	font-size: 11px;
	line-height: 1.5;
	color: #D9CDB8;
	background: rgba(22, 19, 15, 0.72);
	padding: 5px 9px;
}
.jg-about-hero__sticker {
	position: absolute;
	left: -26px;
	bottom: -22px;
	background: var(--darkroom-red);
	color: var(--on-red);
	font-family: var(--font-marker);
	font-size: clamp(20px, 1.9vw, 24px);
	line-height: 1;
	padding: 14px 18px;
	transform: rotate(-3deg);
}

/* --------------------------------------------------------------------------
   Timeline: sticky rail + era column
   -------------------------------------------------------------------------- */
.jg-about-timeline {
	display: grid;
	grid-template-columns: 280px 1fr;
	border-top: 1px solid var(--ink-nav);
}

.jg-rail {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	align-self: start;
	padding: 44px 30px;
	border-right: 1px solid var(--ink-nav);
}
.jg-rail__label {
	font-size: 16px;
	font-weight: 600;
	color: var(--muted);
	margin-bottom: 26px;
}
.jg-rail__years {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.jg-rail__years li { display: flex; flex-direction: column; gap: 18px; }
.jg-rail__years li + li::before {
	content: "";
	width: 1px;
	height: 26px;
	background: var(--ink-nav);
	margin-left: 6px;
}
.jg-rail__year {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.03em;
	font-size: 26px;
	line-height: 1;
	color: var(--muted);
	transition: color 300ms ease;
}
.jg-rail__year--lead { font-size: 38px; }
/* Scrollspy (main.js) moves is-active to the era currently in view.
   Color-only — no size/position change, per the no-movement rule. */
.jg-rail__year.is-active { color: var(--ivory); }
.jg-rail__year:hover, .jg-rail__year:focus-visible { color: var(--golden-amber); }
.jg-rail__note {
	margin: 34px 0 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
	max-width: 30ch;
}

/* Era sections ------------------------------------------------------------ */
.jg-era {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
	padding: 70px var(--gutter);
	border-bottom: 1px solid var(--ink-nav);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.jg-era:last-child { border-bottom: 0; }
.jg-era--flip .jg-era__copy { order: 2; }
.jg-era--flip .jg-era__media { order: 1; }

.jg-era__year {
	font-size: 18px;
	font-weight: 600;
	color: var(--golden-amber);
	margin-bottom: 12px;
}
.jg-era h2 {
	font-size: clamp(26px, 2.9vw, 40px);
	color: var(--ivory);
	margin: 0 0 12px;
}
.jg-era p {
	font-size: 17px;
	line-height: 1.65;
	color: var(--cream-dark);
	margin: 0;
	max-width: 48ch;
}
.jg-era p.jg-era__aside {
	margin-top: 12px;
	font-size: 15.5px;
	color: var(--muted);
}
.jg-era .jg-btn { margin-top: 18px; }

/* Each era carries its own treatment. The filter and tilt live on the
   wrapper, not the image: main.js clears inline filter/transform on
   [data-develop] elements when they develop in. */
.jg-era--1 .jg-era__media { filter: grayscale(1) contrast(1.08); transform: rotate(-1.5deg); }
.jg-era--2 .jg-era__media { filter: grayscale(1); transform: rotate(1.2deg); }
.jg-era--3 .jg-era__media { filter: saturate(0.6); transform: rotate(-1deg); }
.jg-era--4 .jg-era__media { transform: rotate(1.5deg); }
.jg-era__media .jg-img { aspect-ratio: 4/3; }

/* --------------------------------------------------------------------------
   Charity + closing CTA
   -------------------------------------------------------------------------- */
.jg-about-charity {
	background: var(--ink);
	border-top: 1px solid var(--ink-nav);
	padding: 56px 0;
}
.jg-about-charity__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: start;
}
.jg-about-charity h2 {
	font-size: clamp(26px, 2.4vw, 34px);
	color: var(--ivory);
	margin: 0 0 16px;
}
.jg-about-charity__list {
	font-size: 16px;
	line-height: 2;
	color: var(--muted-dark);
}
.jg-about-charity__pageant {
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--cream-dark);
}
/* The real LinkedIn recommendation that backs the pageant line above. */
.jg-about-charity__proof {
	margin: 18px 0 0;
	padding-left: 18px;
	border-left: 2px solid var(--ink-nav);
}
.jg-about-charity__proof blockquote {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--cream-dark);
}
.jg-about-charity__proof figcaption {
	margin-top: 8px;
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.jg-about-cta { padding: 34px; }
.jg-about-cta__quote {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(24px, 2.3vw, 32px);
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0 0 14px;
}
.jg-about-cta p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--red-tint-text);
	margin: 0 0 18px;
}
.jg-about-cta .jg-phone-big { display: inline-block; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.jg-about-timeline { grid-template-columns: 220px 1fr; }
	.jg-rail { padding: 34px 22px; }
	.jg-rail__year--lead { font-size: 32px; }
}

@media (max-width: 900px) {
	.jg-about-hero {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-top: 44px;
	}
	.jg-about-hero__photo { max-width: 420px; }
	.jg-about-hero__sticker { left: 8px; bottom: -18px; }
	/* The sticker owns the bottom band at this width — move the chip up top. */
	.jg-about-hero__caption {
		top: 12px;
		bottom: auto;
		right: 12px;
		max-width: 70%;
	}

	.jg-about-timeline { grid-template-columns: 1fr; }

	/* Rail collapses to a horizontal year strip pinned under the header. */
	.jg-rail {
		top: var(--header-h);
		z-index: 3;
		background: var(--ink-2);
		border-right: 0;
		border-bottom: 1px solid var(--ink-nav);
		padding: 12px var(--gutter);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.jg-rail__label, .jg-rail__note { display: none; }
	/* Sized so all four years fit at 390px; overflow-x is the safety net. */
	.jg-rail__years {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		width: max-content;
	}
	.jg-rail__years li { flex-direction: row; align-items: center; gap: 12px; }
	.jg-rail__years li + li::before { width: 14px; height: 1px; margin: 0; }
	.jg-rail__year, .jg-rail__year--lead { font-size: 19px; }

	.jg-era {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 44px var(--gutter);
		scroll-margin-top: calc(var(--header-h) + 62px);
	}
	.jg-era--flip .jg-era__copy, .jg-era--flip .jg-era__media { order: 0; }
	.jg-era p { max-width: none; }

	.jg-about-charity__grid { grid-template-columns: 1fr; gap: 34px; }
	.jg-about-cta { padding: 26px; }
}
