/*
Theme Name: janet-gold-child
Theme URI: https://jane.5starvisibilitydev.com/
Description: Classic child theme for Janet Gold with ACF-managed global header and footer.
Author: 5 Star Visibility
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: janet-gold-child
WPVibe: yes
*/

@layer reset, base, components;

@layer reset {
	html {
		box-sizing: border-box;
		scroll-behavior: smooth;
	}

	body,
	p,
	ul {
		margin: 0;
	}

	button,
	a {
		font: inherit;
	}

	img {
		display: block;
	}
}

@layer base {
	:root {
		--jg-accent: #8c7a69;
		--jg-on-accent: #ffffff;
		--jg-page: #0b0b0b;
		--jg-content: 1240px;
		--jg-desktop-space: 40px;
		--jg-mobile-space: 20px;
	}

	body.jg-site {
		min-block-size: 100dvh;
		background: var(--jg-page);
		color: var(--jg-on-accent);
		font-family: "Tinos", Georgia, serif;
		font-size: 18px;
		font-weight: 400;
		line-height: 1.45;
	}

	.jg-shell {
		inline-size: min(calc(100% - (var(--jg-mobile-space) * 2)), var(--jg-content));
		margin-inline: auto;
	}

	.jg-skip-link {
		position: fixed;
		inset-block-start: 8px;
		inset-inline-start: 8px;
		z-index: 9999;
		padding: 12px 16px;
		background: var(--jg-on-accent);
		color: var(--jg-page);
		transform: translateY(-150%);
	}

	.jg-skip-link:focus {
		transform: translateY(0);
	}

	:where(a, button):focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 4px;
	}
}

@layer components {
	.jg-header {
		position: relative;
		z-index: 100;
		background: var(--jg-accent);
		color: var(--jg-on-accent);
	}

	.jg-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-block-size: 80px;
	}

	.jg-logo {
		position: relative;
		display: block;
		flex: 0 0 auto;
		overflow: hidden;
		color: inherit;
		text-decoration: none;
	}

	.jg-logo img {
		position: absolute;
		max-inline-size: none;
		object-fit: fill;
	}

	.jg-logo--header {
		inline-size: 190px;
		block-size: 80px;
	}

	.jg-logo--header img {
		inset-block-start: -15.18%;
		inset-inline-start: -21.7%;
		inline-size: 142.94%;
		block-size: 126.79%;
	}

	.jg-nav__list {
		display: flex;
		align-items: center;
		gap: 24px;
		padding: 0;
		list-style: none;
		font-size: 18px;
		line-height: 22px;
		white-space: nowrap;
	}

	.jg-nav a {
		color: inherit;
		text-decoration: none;
		text-underline-offset: 5px;
	}

	.jg-nav a:hover {
		text-decoration: underline;
	}

	.jg-menu-toggle {
		display: none;
	}

	.jg-footer {
		border-block-start: 1px solid var(--jg-on-accent);
		background: var(--jg-accent);
		color: var(--jg-on-accent);
	}

	.jg-footer__inner {
		display: flex;
		flex-direction: column;
		gap: 40px;
		padding-block: 40px;
	}

	.jg-footer__main,
	.jg-footer__meta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		inline-size: 100%;
	}

	.jg-logo--footer {
		inline-size: 235px;
		block-size: 96px;
	}

	.jg-logo--footer img {
		inset-block-start: -12.72%;
		inset-inline-start: -21%;
		inline-size: 140.15%;
		block-size: 126.79%;
	}

	.jg-footer__contact {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 24px;
		font-size: 20px;
		line-height: 26px;
		text-align: end;
	}

	.jg-footer__address {
		display: flex;
		flex-direction: column;
		font-style: normal;
	}

	.jg-footer__phone,
	.jg-footer__meta a {
		color: inherit;
		text-decoration-line: underline;
		text-decoration-color: transparent;
		text-underline-offset: 4px;
		transition: opacity 240ms ease, text-decoration-color 240ms ease;
	}

	.jg-logo--footer {
		transition: opacity 240ms ease;
	}

	.jg-socials {
		display: flex;
		align-items: center;
		gap: 24px;
	}

	.jg-socials__link {
		display: grid;
		place-items: center;
		min-inline-size: 44px;
		min-block-size: 44px;
		color: inherit;
		transition: transform 240ms ease;
	}

	.jg-socials__link img {
		inline-size: 44px;
		block-size: 44px;
		object-fit: contain;
	}

	.jg-footer__meta {
		font-size: 16px;
		line-height: 24px;
		text-align: end;
	}

	@media (max-width: 767px) {
		.jg-header__inner {
			min-block-size: 74px;
		}

		.jg-logo--header {
			inline-size: 126px;
			block-size: 50px;
		}

		.jg-logo--header img {
			inset-block-start: -15.05%;
			inset-inline-start: -18.74%;
			inline-size: 138.47%;
			block-size: 130.1%;
		}

		.jg-menu-toggle {
			position: relative;
			display: block;
			flex: 0 0 auto;
			inline-size: 44px;
			block-size: 44px;
			padding: 0;
			border: 0;
			background: transparent;
			color: var(--jg-on-accent);
			cursor: pointer;
		}

		.jg-menu-toggle__line {
			position: absolute;
			inset-inline-start: 14px;
			inline-size: 16px;
			block-size: 1px;
			background: currentColor;
			transition: transform 180ms ease, opacity 180ms ease, inset-block-start 180ms ease;
		}

		.jg-menu-toggle__line:nth-of-type(2) {
			inset-block-start: 12px;
		}

		.jg-menu-toggle__line:nth-of-type(3) {
			inset-block-start: 22px;
		}

		.jg-menu-toggle__line:nth-of-type(4) {
			inset-block-start: 32px;
		}

		.jg-header.is-menu-open .jg-menu-toggle__line:nth-of-type(2) {
			inset-block-start: 22px;
			transform: rotate(45deg);
		}

		.jg-header.is-menu-open .jg-menu-toggle__line:nth-of-type(3) {
			opacity: 0;
		}

		.jg-header.is-menu-open .jg-menu-toggle__line:nth-of-type(4) {
			inset-block-start: 22px;
			transform: rotate(-45deg);
		}

		.jg-nav {
			position: absolute;
			inset-block-start: 100%;
			inset-inline: 0;
			display: none;
			border-block-start: 1px solid color-mix(in srgb, var(--jg-on-accent) 35%, transparent);
			background: var(--jg-accent);
		}

		.jg-header.is-menu-open .jg-nav {
			display: block;
		}

		.jg-nav__list {
			flex-direction: column;
			align-items: stretch;
			gap: 0;
			inline-size: min(calc(100% - 40px), 390px);
			margin-inline: auto;
			padding-block: 20px 40px;
			white-space: normal;
		}

		.jg-nav a {
			display: block;
			min-block-size: 44px;
			padding-block: 11px;
		}

		body.jg-menu-open {
			overflow: hidden;
		}

		.jg-footer__inner {
			align-items: center;
			gap: 20px;
			padding-block: 60px;
		}

		.jg-footer__main {
			flex-direction: column;
			gap: 20px;
		}

		.jg-logo--footer {
			inline-size: 197px;
			block-size: 67px;
		}

		.jg-logo--footer img {
			inset-block-start: -23.89%;
			inset-inline-start: -17.35%;
			inline-size: 135.31%;
			block-size: 148.51%;
		}

		.jg-footer__contact {
			align-items: center;
			gap: 20px;
			inline-size: 100%;
			font-size: 18px;
			line-height: 25.2px;
			text-align: center;
		}

		.jg-socials {
			gap: 20px;
		}

		.jg-footer__meta {
			flex-direction: column;
			justify-content: center;
			gap: 20px;
			font-size: 16px;
			line-height: 24px;
			text-align: center;
		}
	}

	@media (prefers-reduced-motion: reduce) {
		html {
			scroll-behavior: auto;
		}

		.jg-menu-toggle__line {
			transition: none;
		}
	}
}

/*
 * Twenty Twenty-Five prints its global typography outside cascade layers.
 * Keep this override unlayered so the child theme wins without !important.
 */
:root {
	--wp--preset--font-family--manrope: "Tinos", Georgia, serif;
}

body.jg-site,
body.jg-site :where(button, input, select, textarea) {
	font-family: "Tinos", Georgia, serif;
}

/* ACF page layouts */
.jg-main {
	overflow: clip;
	background: var(--jg-page);
	color: var(--jg-on-accent);
}

.jg-header__inner {
	min-block-size: 120px;
}

.jg-main :where(h1, h2, h3, p) {
	margin: 0;
}

.jg-home-hero {
	padding-block-start: 120px;
}

.jg-home-hero__inner {
	display: flex;
	justify-content: center;
}

.jg-home-hero__image {
	inline-size: 371px;
	block-size: 437px;
	object-fit: cover;
}

.jg-home-intro {
	padding-block: 120px 80px;
}

.jg-home-intro__inner,
.jg-home-works__inner,
.jg-home-contact__inner,
.jg-biography-list__inner,
.jg-biography-collections__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.jg-home-intro__inner {
	gap: 80px;
}

.jg-home-intro__title {
	max-inline-size: 1240px;
	font-size: 56px;
	font-weight: 400;
	line-height: 64px;
	text-align: center;
	text-wrap: balance;
}

.jg-home-intro__title span,
.jg-home-intro__title strong {
	display: block;
}

.jg-home-intro__title strong {
	font-size: 94px;
	font-weight: 700;
	line-height: 94px;
}

.jg-scroll-cue {
	position: relative;
	display: grid;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	color: inherit;
}

.jg-scroll-cue::before {
	content: "";
	inline-size: 14px;
	block-size: 14px;
	border-inline-end: 1px solid currentColor;
	border-block-end: 1px solid currentColor;
	transform: translateY(-4px) rotate(45deg);
}

.jg-home-works {
	padding-block: 80px;
}

.jg-home-works__inner {
	gap: 80px;
}

.jg-section-title,
.jg-biography-list h2,
.jg-biography-collections h2 {
	font-size: 64px;
	font-weight: 400;
	line-height: 78px;
	text-align: center;
}

.jg-works-grid {
	display: flex;
	flex-direction: column;
	gap: 80px;
	inline-size: 100%;
}

.jg-works-row {
	display: grid;
	gap: 24px;
	inline-size: 100%;
}

.jg-works-row--portrait {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jg-works-row--landscape {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jg-work-card {
	display: block;
	overflow: clip;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: zoom-in;
}

.jg-work-card--portrait {
	aspect-ratio: 292 / 412.95;
}

.jg-work-card--landscape {
	aspect-ratio: 397.333 / 280.957;
}

.jg-work-card img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
	transition: transform 240ms ease;
}

.jg-work-card:hover img {
	transform: scale(1.02);
}

.jg-outline-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 58px;
	padding-inline: 40px;
	border: 1px solid currentColor;
	appearance: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 1.44px;
	text-decoration: none;
	transition: background-color 240ms ease, color 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.jg-outline-button:hover {
		background: var(--jg-on-accent);
		color: var(--jg-page);
	}
}

.jg-home-contact {
	padding-block: 80px 120px;
}

.jg-home-contact__inner {
	gap: 40px;
}

.jg-home-contact__email {
	color: inherit;
	font-size: 40px;
	line-height: 48px;
	text-decoration: none;
}

.jg-home-contact__email:hover {
	text-decoration: underline;
	text-underline-offset: 8px;
}

.jg-lightbox {
	inline-size: min(92vw, 1240px);
	max-inline-size: none;
	max-block-size: 92dvh;
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: visible;
}

.jg-lightbox::backdrop {
	background: rgb(0 0 0 / 88%);
	backdrop-filter: blur(6px);
}

.jg-lightbox__content {
	position: relative;
	display: grid;
	place-items: center;
	max-block-size: 92dvh;
}

.jg-lightbox__image {
	max-inline-size: 100%;
	max-block-size: 88dvh;
	object-fit: contain;
}

.jg-lightbox__close {
	position: absolute;
	inset-block-start: 0;
	inset-inline-end: 0;
	z-index: 1;
	inline-size: 48px;
	block-size: 48px;
	padding: 0;
	border: 0;
	background: rgb(0 0 0 / 60%);
	color: #fff;
	cursor: pointer;
}

.jg-lightbox__close span::before,
.jg-lightbox__close span::after {
	content: "";
	position: absolute;
	inset-block-start: 23px;
	inset-inline-start: 13px;
	inline-size: 22px;
	block-size: 1px;
	background: currentColor;
}

.jg-lightbox__close span::before {
	transform: rotate(45deg);
}

.jg-lightbox__close span::after {
	transform: rotate(-45deg);
}

.jg-biography-hero {
	padding-block: 80px;
}

.jg-biography-hero h1 {
	font-size: 94px;
	font-weight: 700;
	line-height: 94px;
}

.jg-biography-story {
	padding-block: 80px 120px;
}

.jg-biography-story__grid {
	display: grid;
	grid-template-columns: 536px minmax(0, 1fr);
	align-items: center;
	gap: 80px;
}

.jg-biography-story__portrait {
	aspect-ratio: 536 / 690;
	overflow: hidden;
}

.jg-biography-story__image {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.jg-biography-story__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 20px;
	line-height: 30px;
}

.jg-biography-list {
	padding-block-end: 120px;
}

.jg-biography-list__inner,
.jg-biography-collections__inner {
	gap: 40px;
}

.jg-biography-list__rows {
	inline-size: 100%;
}

.jg-biography-list__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding-block: 24px;
	border-block-start: 1px solid currentColor;
}

.jg-biography-list--years .jg-biography-list__row {
	grid-template-columns: 160px minmax(0, 1fr);
}

.jg-biography-list__year {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
}

.jg-biography-list__text {
	max-inline-size: 824px;
	font-size: 20px;
	line-height: 30px;
}

.jg-biography-list:not(.jg-biography-list--years) .jg-biography-list__text {
	max-inline-size: none;
}

.jg-biography-collections {
	padding-block-end: 120px;
}

.jg-biography-collections__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 120px;
	inline-size: 100%;
}

.jg-biography-collections__column {
	padding-block-start: 24px;
	border-block-start: 1px solid currentColor;
}

.jg-biography-collections__column h3 {
	margin-block-end: 24px;
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
}

.jg-biography-collections__column p {
	font-size: 20px;
	line-height: 30px;
}

@media (max-width: 767px) {
	.jg-header__inner {
		min-block-size: 74px;
	}

	.jg-home-hero {
		padding-block-start: 60px;
	}

	.jg-home-hero__image {
		inline-size: min(100%, 371px);
		block-size: auto;
		aspect-ratio: 371 / 437;
	}

	.jg-home-intro {
		padding-block: 60px 40px;
	}

	.jg-home-intro__inner,
	.jg-home-works__inner {
		gap: 60px;
	}

	.jg-home-intro__title {
		font-size: 32px;
		line-height: 40px;
	}

	.jg-home-intro__title strong {
		font-size: 60px;
		line-height: 60px;
	}

	.jg-home-works {
		padding-block: 40px 60px;
	}

	.jg-section-title,
	.jg-biography-list h2,
	.jg-biography-collections h2 {
		font-size: 60px;
		line-height: 60px;
	}

	.jg-works-grid,
	.jg-works-row {
		gap: 20px;
	}

	.jg-works-row--portrait,
	.jg-works-row--landscape {
		grid-template-columns: 1fr;
	}

	.jg-work-card--portrait {
		aspect-ratio: 384.133 / 412.95;
	}

	.jg-work-card--landscape {
		aspect-ratio: 384.133 / 292;
	}

	.jg-outline-button {
		min-block-size: 60px;
		padding-inline: 40px;
	}

	.jg-home-contact {
		padding-block: 60px;
	}

	.jg-home-contact__inner {
		gap: 40px;
	}

	.jg-home-contact__email {
		font-size: 24px;
		line-height: 30px;
		text-align: center;
		overflow-wrap: anywhere;
	}

	.jg-lightbox {
		inline-size: calc(100vw - 40px);
	}

	.jg-biography-hero {
		padding-block: 60px;
	}

	.jg-biography-hero h1 {
		font-size: 58px;
		line-height: 58px;
	}

	.jg-biography-story {
		padding-block: 60px;
	}

	.jg-biography-story__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.jg-biography-story__portrait {
		aspect-ratio: 390 / 482;
	}

	.jg-biography-story__content {
		font-size: 20px;
		line-height: 30px;
	}

	.jg-biography-list {
		padding-block-end: 60px;
	}

	.jg-biography-list__inner,
	.jg-biography-collections__inner {
		gap: 40px;
	}

	.jg-biography-list h2 {
		font-size: 52px;
		line-height: 60px;
		overflow-wrap: anywhere;
	}

	.jg-biography-list__row,
	.jg-biography-list--years .jg-biography-list__row {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-block: 20px;
	}

	.jg-biography-list__year {
		font-size: 36px;
		line-height: 44px;
	}

	.jg-biography-list__text {
		font-size: 18px;
		line-height: 26px;
	}

	.jg-biography-collections {
		padding-block-end: 60px;
	}

	.jg-biography-collections__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.jg-biography-collections__column {
		padding-block-start: 20px;
	}

	.jg-biography-collections__column h3 {
		margin-block-end: 20px;
		font-size: 36px;
		line-height: 44px;
	}

	.jg-biography-collections__column p {
		font-size: 18px;
		line-height: 26px;
	}
}

.jg-page-hero {
	padding-block: 80px;
}

.jg-page-hero h1 {
	font-size: 94px;
	font-weight: 700;
	line-height: 94px;
}

.jg-page-hero + .jg-page-timeline {
	padding-block-start: 80px;
}

.jg-featured-quote {
	padding-block: 120px;
}

.jg-featured-quote__figure {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	padding-block-start: 24px;
	border-block-start: 1px solid currentColor;
}

.jg-featured-quote__label,
.jg-featured-quote__source {
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 1.28px;
	text-transform: uppercase;
	opacity: 0.72;
}

.jg-featured-quote__text {
	max-inline-size: 1120px;
	margin: 0;
	font-size: 56px;
	line-height: 64px;
}

.jg-featured-quote__text p {
	margin: 0;
}

.jg-press-cards {
	padding-block-end: 120px;
}

.jg-press-cards__inner {
	gap: 40px;
}

.jg-pricing__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.jg-press-cards__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	inline-size: 100%;
}

.jg-press-card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-block-start: 24px;
	border-block-start: 1px solid currentColor;
}

.jg-press-card__meta {
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 1.28px;
	text-transform: uppercase;
	opacity: 0.72;
}

.jg-press-card__title {
	font-size: 36px;
	font-weight: 400;
	line-height: 44px;
}

.jg-press-card__title a {
	color: inherit;
	text-decoration: none;
}

.jg-press-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 8px;
}

.jg-contact-section {
	padding-block: 80px 120px;
}

.jg-contact-section__grid {
	display: grid;
	grid-template-columns: 420px minmax(0, 1fr);
	gap: 120px;
	align-items: start;
}

.jg-contact-details {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.jg-contact-details h2 {
	font-size: 56px;
	font-weight: 400;
	line-height: 64px;
}

.jg-contact-details__copy {
	font-size: 20px;
	line-height: 30px;
}

.jg-contact-details__copy p {
	margin: 0;
}

.jg-contact-details__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-block-start: 24px;
	border-block-start: 1px solid currentColor;
}

.jg-contact-details__item {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.jg-contact-details__label {
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 1.28px;
	text-transform: uppercase;
	opacity: 0.72;
}

.jg-contact-details__item a,
.jg-contact-details__item address {
	display: flex;
	flex-direction: column;
	color: inherit;
	font-size: 20px;
	font-style: normal;
	line-height: 30px;
	text-decoration: none;
}

.jg-contact-details__item a:hover {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.jg-contact-socials {
	display: flex;
	gap: 24px;
}

.jg-contact-socials a {
	display: inline-grid;
	place-items: center;
	inline-size: 44px;
	block-size: 44px;
	color: inherit;
	transition: transform 240ms ease;
}

.jg-contact-socials img {
	inline-size: 44px;
	block-size: 44px;
	object-fit: contain;
}

.jg-inquiry h2 {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
}

.jg-inquiry-form {
	display: flex;
	flex-direction: column;
	margin-block-start: 40px;
}

.jg-form-field {
	display: flex;
	flex-direction: column;
	gap: 24px;
	box-sizing: border-box;
	block-size: 102px;
	padding-block: 12px;
	border-block-start: 1px solid currentColor;
}

.jg-form-field--message {
	block-size: 190px;
	padding-block: 24px;
}

.jg-form-field > span {
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 1.28px;
	text-transform: uppercase;
}

.jg-form-field input,
.jg-form-field textarea {
	inline-size: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 20px;
	line-height: 30px;
}

.jg-form-field textarea {
	min-block-size: 94px;
	resize: vertical;
}

.jg-form-field input::placeholder,
.jg-form-field textarea::placeholder {
	color: currentColor;
	opacity: 0.56;
}

.jg-form-field:focus-within {
	box-shadow: inset 0 2px 0 currentColor;
}

.jg-inquiry-form .jg-outline-button {
	align-self: flex-start;
	margin-block-start: 24px;
}

.jg-form-status {
	margin-block-start: 24px;
	padding: 20px 24px;
	border-inline-start: 4px solid currentColor;
	font-size: 18px;
	line-height: 26px;
}

.jg-honeypot {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.jg-pricing {
	padding-block-end: 120px;
}

.jg-pricing__list {
	inline-size: 100%;
}

.jg-pricing__row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 40px;
	padding-block: 24px;
	border-block-start: 1px solid currentColor;
}

.jg-pricing__row h3 {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
}

.jg-pricing__row p {
	font-size: 28px;
	line-height: 30px;
}

.jg-lightbox__nav {
	position: fixed;
	inset-block-start: 50%;
	z-index: 2;
	inline-size: 48px;
	block-size: 80px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 48%);
	background: rgb(0 0 0 / 60%);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}

.jg-lightbox__nav--prev {
	inset-inline-start: 24px;
}

.jg-lightbox__nav--next {
	inset-inline-end: 24px;
}

.jg-lightbox__nav span::before {
	content: "";
	position: absolute;
	inset-block-start: 29px;
	inline-size: 20px;
	block-size: 20px;
	border-block-start: 2px solid currentColor;
	border-inline-start: 2px solid currentColor;
}

.jg-lightbox__nav--prev span::before {
	inset-inline-start: 18px;
	transform: rotate(-45deg);
}

.jg-lightbox__nav--next span::before {
	inset-inline-end: 18px;
	transform: rotate(135deg);
}

.jg-lightbox__counter {
	position: fixed;
	inset-block-end: 24px;
	inset-inline-start: 50%;
	margin: 0;
	padding: 8px 12px;
	background: rgb(0 0 0 / 60%);
	font-size: 16px;
	line-height: 22px;
	transform: translateX(-50%);
}

.jg-lightbox__close:hover,
.jg-lightbox__nav:hover {
	background: #fff;
	color: #000;
}

.jg-lightbox__close:focus-visible,
.jg-lightbox__nav:focus-visible,
.jg-outline-button:focus-visible,
.jg-contact-details a:focus-visible,
.jg-press-card a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

@media (max-width: 767px) {
	.jg-page-hero {
		padding-block: 60px;
	}

	.jg-page-hero h1 {
		font-size: 58px;
		line-height: 58px;
	}

	.jg-page-hero + .jg-page-timeline {
		padding-block-start: 60px;
	}

	.jg-featured-quote {
		padding-block: 60px;
	}

	.jg-featured-quote__figure {
		gap: 20px;
		padding-block-start: 40px;
	}

	.jg-featured-quote__text {
		font-size: 32px;
		line-height: 40px;
	}

	.jg-press-cards {
		padding-block-end: 60px;
	}

	.jg-press-cards__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.jg-press-card {
		gap: 20px;
		padding-block-start: 20px;
	}

	.jg-press-card__title {
		font-size: 34px;
		line-height: 42px;
	}

	.jg-contact-section {
		padding-block: 60px;
	}

	.jg-contact-section__grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}

	.jg-contact-details h2 {
		font-size: 34px;
		line-height: 42px;
	}

	.jg-contact-details__list {
		gap: 40px;
		padding-block-start: 40px;
	}

	.jg-contact-details__item {
		gap: 20px;
	}

	.jg-inquiry h2 {
		font-size: 34px;
		line-height: 42px;
	}

	.jg-inquiry-form {
		margin-block-start: 40px;
	}

	.jg-form-field {
		block-size: auto;
		gap: 20px;
		padding-block: 20px;
	}

	.jg-form-field--message {
		block-size: 140px;
	}

	.jg-form-field--message textarea {
		flex: 1;
		min-block-size: 0;
	}

	.jg-inquiry-form .jg-outline-button {
		inline-size: 179px;
		block-size: 60px;
		margin-block-start: 40px;
	}

	.jg-pricing {
		padding-block-end: 60px;
	}

	.jg-pricing__row {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-block: 20px;
	}

	.jg-pricing__row h3 {
		font-size: 34px;
		line-height: 42px;
	}

	.jg-lightbox__nav {
		inline-size: 44px;
		block-size: 60px;
	}

	.jg-lightbox__nav--prev {
		inset-inline-start: 0;
	}

	.jg-lightbox__nav--next {
		inset-inline-end: 0;
	}

	.jg-lightbox__nav span::before {
		inset-block-start: 19px;
	}

	.jg-lightbox__nav--prev span::before {
		inset-inline-start: 16px;
	}

	.jg-lightbox__nav--next span::before {
		inset-inline-end: 16px;
	}

	.jg-lightbox__counter {
		inset-block-end: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jg-work-card img {
		transition: none;
	}
}

/* Collages: orientation-aware A4 rows and Contact refinements. */
.jg-portfolio-page--collages,
.jg-portfolio-page--collages .jg-page-hero,
.jg-collages-gallery {
	background: #fff;
	color: var(--jg-page);
}

.jg-collages-gallery {
	padding-block-end: 120px;
}

.jg-collages-gallery__rows {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.jg-collages-row {
	display: grid;
	grid-auto-flow: column;
	gap: 24px;
	justify-content: center;
	inline-size: 100%;
}

.jg-collages-row--portrait {
	grid-auto-columns: calc((100% - 72px) / 4);
}

.jg-collages-row--landscape {
	grid-auto-columns: calc((100% - 48px) / 3);
}

.jg-collage-card {
	display: block;
	inline-size: 100%;
	overflow: hidden;
	padding: 0;
	border: 0;
	appearance: none;
	background: #000;
	color: inherit;
	cursor: zoom-in;
}

.jg-collage-card--portrait {
	aspect-ratio: 210 / 297;
}

.jg-collage-card--landscape {
	aspect-ratio: 297 / 210;
}

.jg-collage-card img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
	transition: transform 240ms ease;
}

.jg-collage-card:hover img {
	transform: scale(1.02);
}

.jg-collages-gallery__load {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block-start: 40px;
}

.jg-collages-gallery__button {
	inline-size: 176px;
	padding-inline: 0;
}

.jg-collages-gallery[aria-busy="true"] .jg-collages-gallery__button {
	cursor: wait;
	opacity: 0.72;
}

.jg-inquiry-form .jg-outline-button {
	inline-size: 176px;
	padding-inline: 0;
	background: transparent;
	color: inherit;
	white-space: nowrap;
}

.jg-pricing__row {
	align-items: baseline;
}

@media (max-width: 767px) {
	.jg-collages-gallery {
		padding-block-end: 60px;
	}

	.jg-collages-gallery__rows,
	.jg-collages-row {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.jg-collage-card--portrait {
		aspect-ratio: 210 / 297;
	}

	.jg-collage-card--landscape {
		aspect-ratio: 297 / 210;
	}

	.jg-collages-gallery__load {
		padding-block-start: 40px;
	}

	.jg-collages-gallery__button {
		inline-size: 180px;
		min-block-size: 60px;
	}

	.jg-inquiry-form .jg-outline-button {
		inline-size: 100%;
	}
}

@media (hover: hover) and (pointer: fine) {
	.jg-footer__phone:hover,
	.jg-footer__meta a:hover {
		opacity: 0.72;
		text-decoration-color: currentColor;
	}

	.jg-logo--footer:hover {
		opacity: 0.72;
	}

	.jg-socials__link:hover,
	.jg-contact-socials a:hover {
		transform: scale(0.95);
	}

	.jg-inquiry-form .jg-outline-button:hover {
		background: var(--jg-on-accent);
		color: var(--jg-page);
	}
}

.jg-footer__phone:focus-visible,
.jg-footer__meta a:focus-visible {
	text-decoration-color: currentColor;
}

.jg-inquiry-form .jg-outline-button:focus-visible {
	background: var(--jg-on-accent);
	color: var(--jg-page);
}

@media (prefers-reduced-motion: reduce) {
	.jg-collage-card img,
	.jg-logo--footer,
	.jg-footer__phone,
	.jg-footer__meta a,
	.jg-socials__link,
	.jg-contact-socials a,
	.jg-outline-button {
		transition: none;
	}
}
