/*
 * kwezi-gallery.css
 * Gallery v2 — Kwezi Safaris
 * Namespace: .kgl-*
 * Font: Public Sans (brand)
 * Palette: hex values used directly on critical rules (background, headings)
 *          to avoid theme specificity conflicts with CSS custom properties.
 *
 * Load order: after kwezi-main-style (see functions.php CHANGE 33)
 * ================================================================
 */


/* ================================================================
   BASE
   ================================================================ */

.kgl-main {
	background: var(--ink);
	color: var(--sand);
	font-family: 'Public Sans', sans-serif;
	overflow-x: hidden;
}


/* ================================================================
   HERO
   ================================================================ */

.kgl-hero {
	position: relative;
	height: 100svh;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.kgl-hero__bg {
	position: absolute;
	inset: -12%;                     /* extra room for JS parallax movement */
	background-size: cover;
	background-position: center;
	background-color: var(--deep);   /* fallback if no image */
	will-change: transform;
	z-index: 0;
}

.kgl-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(26, 26, 24, 0.25) 0%,
		rgba(26, 26, 24, 0.50) 55%,
		rgba(26, 26, 24, 0.82) 100%
	);
	z-index: 1;
}

.kgl-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 24px;
	max-width: 860px;
}

/* --- Staggered entrance animations --- */
.kgl-hero__eyebrow,
.kgl-hero__heading,
.kgl-hero__sub {
	opacity: 0;
	transform: translateY(22px);
}

.kgl-hero__eyebrow  { animation: kgl-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards; }
.kgl-hero__heading  { animation: kgl-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards; }
.kgl-hero__sub      { animation: kgl-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.58s forwards; }

.kgl-hero__eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #e9731b !important;
	margin: 0 0 18px;
	font-weight: 500;
}

.kgl-hero__heading {
	font-size: clamp(2.6rem, 6.5vw, 5.2rem);
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.08;
	color: #ffffff !important;
	margin: 0 0 22px;
	text-wrap: balance;
}

.kgl-hero__sub {
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65) !important;
	margin: 0;
}

/* --- Scroll indicator --- */
.kgl-hero__scroll-hint {
	position: absolute;
	bottom: 44px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: 0;
	animation: kgl-fade-up 0.7s ease 1.1s forwards;
}

.kgl-hero__scroll-line {
	display: block;
	width: 1px;
	height: 52px;
	background: linear-gradient(to bottom, transparent, var(--amber));
	animation: kgl-scroll-pulse 2.2s ease-in-out 1.6s infinite;
}

.kgl-hero__scroll-label {
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(228, 227, 213, 0.4);
}

@keyframes kgl-fade-up {
	to { opacity: 1; transform: translateY(0); }
}

@keyframes kgl-scroll-pulse {
	0%, 100% { opacity: 0.35; transform: scaleY(1);    }
	50%       { opacity: 1;    transform: scaleY(1.08); }
}


/* ================================================================
   STICKY CHAPTER NAV
   Slides in from top after hero scrolls out of view.
   Adjust top offset to match theme header height if needed.
   ================================================================ */

.kgl-chapter-nav {
	position: sticky;
	top: 80px;           /* ADJUST: set to your theme header height */
	z-index: 90;
	background: rgba(26, 26, 24, 0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(228, 227, 213, 0.07);
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
	            opacity   0.45s ease;
}

.kgl-chapter-nav.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: all;
}

.kgl-chapter-nav__inner {
	display: flex;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 32px;
}
.kgl-chapter-nav__inner::-webkit-scrollbar { display: none; }

.kgl-chapter-nav__link {
	display: inline-flex;
	align-items: center;
	padding: 16px 18px;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(228, 227, 213, 0.45);
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	transition: color 0.25s ease;
	min-height: 44px;
	touch-action: manipulation;
}

.kgl-chapter-nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 18px;
	right: 18px;
	height: 2px;
	background: var(--amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kgl-chapter-nav__link:hover,
.kgl-chapter-nav__link.is-active {
	color: var(--sand);
}

.kgl-chapter-nav__link.is-active::after {
	transform: scaleX(1);
}

.kgl-chapter-nav__link--all {
	color: rgba(228, 227, 213, 0.3);
	font-size: 0.68rem;
	border-right: 1px solid rgba(228, 227, 213, 0.1);
	padding-right: 22px;
	margin-right: 4px;
}

.kgl-chapter-nav__link:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: -2px;
}


/* ================================================================
   INTRO CONTENT
   ================================================================ */

.kgl-intro {
	background: var(--sand);
	color: var(--ink);
	padding: 88px 24px 80px;
}

.kgl-intro__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.kgl-intro__inner > *:first-child {
	font-size: clamp(1.15rem, 2.2vw, 1.35rem);
	font-weight: 300;
	line-height: 1.7;
	color: var(--ink);
}

.kgl-intro__inner p {
	font-size: 1.05rem;
	line-height: 1.78;
	margin: 0 0 22px;
	color: rgba(26, 26, 24, 0.82);
}

.kgl-intro__inner p:last-child { margin-bottom: 0; }

.kgl-intro__inner a {
	color: var(--maroon);
	text-decoration: underline;
	text-decoration-color: rgba(114, 11, 0, 0.28);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}
.kgl-intro__inner a:hover { text-decoration-color: var(--maroon); }


/* ================================================================
   CHAPTER SECTION
   ================================================================ */

.kgl-chapter {
	background: #1a1a18 !important;
	scroll-margin-top: 140px;   /* accounts for site header + chapter nav */
}


/* ================================================================
   CHAPTER HEADER (PARALLAX)
   ================================================================ */

.kgl-chapter-header {
	position: relative;
	height: 68vh;
	min-height: 400px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.kgl-chapter-header__bg {
	position: absolute;
	inset: -18%;                 /* overflow for parallax travel */
	background-size: cover;
	background-position: center;
	background-color: var(--deep);
	will-change: transform;
	z-index: 0;
	transform-origin: center;
}

.kgl-chapter-header__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		160deg,
		rgba(56, 0, 0, 0.12)  0%,
		rgba(26, 26, 24, 0.30) 40%,
		rgba(26, 26, 24, 0.88) 100%
	);
	z-index: 1;
}

.kgl-chapter-header__content {
	position: relative;
	z-index: 2;
	padding: 48px 56px 60px;
	max-width: 720px;
}

.kgl-chapter-header__label {
	display: block;
	font-size: clamp(2.4rem, 5.5vw, 4.5rem);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1.06;
	color: #ffffff !important;
	margin-bottom: 18px;
}

.kgl-chapter-header__desc {
	font-size: 1rem;
	line-height: 1.68;
	color: rgba(228, 227, 213, 0.72);
	margin: 0 0 26px;
	max-width: 520px;
}

.kgl-chapter-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.76rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--amber);
	text-decoration: none;
	min-height: 44px;
	transition: gap 0.22s ease, opacity 0.22s ease;
}

.kgl-chapter-header__cta:hover {
	gap: 14px;
	opacity: 0.8;
}

.kgl-chapter-header__cta:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: 4px;
}


/* ================================================================
   IMAGE GRID
   ================================================================ */

.kgl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
	padding: 3px;
	background: #1a1a18 !important;
}


/* ================================================================
   IMAGE WRAP — clip-path curtain reveal
   Progressive enhancement: images are VISIBLE by default.
   JS adds .kgl-will-animate before observing, then .is-revealed
   to trigger the curtain animation. If JS fails, images stay visible.
   ================================================================ */

.kgl-img-wrap {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	cursor: pointer;
	background: rgba(228, 227, 213, 0.08);

	/* Default: visible — no JS dependency for basic display */
	clip-path: inset(0% 0 0 0);
	transition: clip-path 0.85s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--kgl-reveal-delay, 0ms);
}

/* JS adds this class once it confirms it's running (progressive enhancement) */
.kgl-img-wrap.kgl-will-animate {
	clip-path: inset(100% 0 0 0);
}

/* JS adds this when element enters viewport */
.kgl-img-wrap.is-revealed {
	clip-path: inset(0% 0 0 0) !important;
}

/* Wide variant spans 2 of 3 columns */
.kgl-img-wrap--wide {
	grid-column: span 2;
	aspect-ratio: 16 / 9;
}

.kgl-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
	user-select: none;
	-webkit-user-drag: none;
}

.kgl-img-wrap:hover .kgl-img,
.kgl-img-wrap:focus-visible .kgl-img {
	transform: scale(1.13);
}

/* Hover overlay */
.kgl-img-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(26, 26, 24, 0.88) 0%,
		rgba(26, 26, 24, 0.0) 52%
	);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 14px 16px 16px;
	opacity: 0;
	transition: opacity 0.28s ease;
	pointer-events: none;
}

.kgl-img-wrap:hover .kgl-img-overlay,
.kgl-img-wrap:focus-visible .kgl-img-overlay {
	opacity: 1;
}

.kgl-img-overlay__location {
	display: block;
	font-size: 0.62rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--amber);
	margin-bottom: 4px;
	font-weight: 500;
}

.kgl-img-overlay__caption {
	display: block;
	font-size: 0.78rem;
	color: rgba(228, 227, 213, 0.8);
	line-height: 1.35;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.kgl-img-overlay__expand {
	position: absolute;
	top: 12px;
	right: 12px;
	color: rgba(228, 227, 213, 0.6);
	opacity: 0;
	transform: scale(0.75);
	transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.kgl-img-wrap:hover .kgl-img-overlay__expand,
.kgl-img-wrap:focus-visible .kgl-img-overlay__expand {
	opacity: 1;
	transform: scale(1);
}

.kgl-img-wrap:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: -2px;
}


/* ================================================================
   EDITORIAL — MID-PAGE CONTENT BLOCK
   ================================================================ */

.kgl-editorial {
	background: #e4e3d5 !important;
	color: #1a1a18;
	padding: 100px 24px;
}

.kgl-editorial__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.kgl-editorial__inner h2 {
	font-size: clamp(1.8rem, 3.8vw, 2.9rem);
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.18;
	color: #1a1a18 !important;
	margin: 0 0 36px;
	text-wrap: balance;
}

.kgl-editorial__inner p {
	font-size: 1.05rem;
	line-height: 1.78;
	color: rgba(26, 26, 24, 0.82);
	margin: 0 0 20px;
}

.kgl-editorial__inner p:last-child { margin-bottom: 0; }

.kgl-editorial__inner strong {
	font-weight: 600;
	color: var(--ink);
}

.kgl-editorial__inner a {
	color: var(--maroon);
	text-decoration: underline;
	text-decoration-color: rgba(114, 11, 0, 0.28);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}
.kgl-editorial__inner a:hover { text-decoration-color: var(--maroon); }


/* ================================================================
   OUTRO — DARK CONTENT BLOCK
   ================================================================ */

.kgl-outro {
	background: #1a1a18 !important;
	color: #e4e3d5 !important;
	padding: 100px 24px 72px;
	border-top: 1px solid rgba(228, 227, 213, 0.06);
}

.kgl-outro__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.kgl-outro__inner h2 {
	font-size: clamp(1.8rem, 3.8vw, 2.9rem);
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.18;
	color: #e4e3d5 !important;
	margin: 0 0 36px;
	text-wrap: balance;
}

.kgl-outro__inner p {
	font-size: 1.05rem;
	line-height: 1.78;
	color: rgba(228, 227, 213, 0.8) !important;
	margin: 0 0 20px;
}

.kgl-outro__inner p:last-child { margin-bottom: 0; }

.kgl-outro__inner a {
	color: #e9731b !important;
	text-decoration: underline;
	text-decoration-color: rgba(233, 115, 27, 0.32);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}
.kgl-outro__inner a:hover { text-decoration-color: #e9731b; }


/* ================================================================
   CTA BLOCK
   ================================================================ */

.kgl-cta {
	background: #720b00 !important;
	padding: 100px 24px;
	text-align: center;
}

.kgl-cta__inner {
	max-width: 620px;
	margin: 0 auto;
}

.kgl-cta__eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(228, 227, 213, 0.55) !important;
	margin: 0 0 18px;
	font-weight: 500;
}

.kgl-cta__heading {
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.12;
	color: #e4e3d5 !important;
	margin: 0 0 20px;
	text-wrap: balance;
}

.kgl-cta__body {
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(228, 227, 213, 0.75) !important;
	margin: 0 0 44px;
}

.kgl-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 38px;
	background: #e4e3d5;
	color: #720b00;
	font-family: 'Public Sans', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, gap 0.22s ease;
	min-height: 52px;
	touch-action: manipulation;
}

.kgl-cta__btn:hover {
	background: #1a1a18;
	color: #e4e3d5;
	gap: 16px;
}

.kgl-cta__btn:focus-visible {
	outline: 2px solid rgba(228, 227, 213, 0.8);
	outline-offset: 3px;
}


/* ================================================================
   LIGHTBOX
   ================================================================ */

.kgl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.32s ease;
}

.kgl-lightbox.is-open {
	opacity: 1;
	pointer-events: all;
}

.kgl-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 18, 0.97);
	cursor: pointer;
}

.kgl-lightbox__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		"topbar"
		"stage"
		"footer";
	padding: 0;
	transform: scale(0.975);
	transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.kgl-lightbox.is-open .kgl-lightbox__inner {
	transform: scale(1);
}

/* Top bar: counter + close */
.kgl-lightbox__count-bar {
	grid-area: topbar;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
}

.kgl-lightbox__counter {
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	color: rgba(228, 227, 213, 0.35);
	font-variant-numeric: tabular-nums;
}

.kgl-lightbox__close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(228, 227, 213, 0.07);
	border: 1px solid rgba(228, 227, 213, 0.12);
	color: var(--sand);
	cursor: pointer;
	transition: background 0.2s ease;
	border-radius: 2px;
	touch-action: manipulation;
}
.kgl-lightbox__close:hover { background: rgba(228, 227, 213, 0.14); }
.kgl-lightbox__close:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Stage: image + arrows */
.kgl-lightbox__stage {
	grid-area: stage;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 72px;
	overflow: hidden;
	min-height: 0;
}

.kgl-lightbox__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.kgl-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	transition: opacity 0.22s ease;
	user-select: none;
	-webkit-user-drag: none;
}

.kgl-lightbox__img.is-loading { opacity: 0; }

.kgl-lightbox__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(228, 227, 213, 0.05);
	border: 1px solid rgba(228, 227, 213, 0.1);
	color: rgba(228, 227, 213, 0.7);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	border-radius: 2px;
	touch-action: manipulation;
	z-index: 1;
}

.kgl-lightbox__arrow--prev { left: 16px; }
.kgl-lightbox__arrow--next { right: 16px; }

.kgl-lightbox__arrow:hover {
	background: rgba(228, 227, 213, 0.12);
	color: var(--sand);
}

.kgl-lightbox__arrow:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Footer: meta + CTA */
.kgl-lightbox__footer {
	grid-area: footer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px 20px;
	border-top: 1px solid rgba(228, 227, 213, 0.08);
	gap: 16px;
	flex-wrap: wrap;
}

.kgl-lightbox__meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.kgl-lightbox__location {
	font-size: 0.64rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--amber);
	font-weight: 500;
}

.kgl-lightbox__caption {
	font-size: 0.85rem;
	color: rgba(228, 227, 213, 0.6);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 52ch;
}

.kgl-lightbox__dest-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	font-size: 0.72rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--sand);
	text-decoration: none;
	border: 1px solid rgba(228, 227, 213, 0.2);
	white-space: nowrap;
	transition: border-color 0.2s ease, color 0.2s ease, gap 0.2s ease;
	min-height: 44px;
	touch-action: manipulation;
}

.kgl-lightbox__dest-cta:hover {
	border-color: var(--amber);
	color: var(--amber);
	gap: 12px;
}

.kgl-lightbox__dest-cta:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }


/* ================================================================
   ENQUIRY MODAL
   ================================================================ */

.kgl-modal {
	position: fixed;
	inset: 0;
	z-index: 1010;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.kgl-modal.is-open {
	opacity: 1;
	pointer-events: all;
}

.kgl-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 24, 0.88);
	cursor: pointer;
}

.kgl-modal__panel {
	position: relative;
	z-index: 1;
	background: var(--sand);
	color: var(--ink);
	width: 100%;
	max-width: 540px;
	max-height: 90vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 52px 44px;
	transform: translateY(18px);
	transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.kgl-modal.is-open .kgl-modal__panel { transform: translateY(0); }

.kgl-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: var(--ink);
	opacity: 0.4;
	cursor: pointer;
	transition: opacity 0.2s ease;
	touch-action: manipulation;
}
.kgl-modal__close:hover { opacity: 1; }
.kgl-modal__close:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; opacity: 1; }

.kgl-modal__eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--maroon);
	font-weight: 500;
	margin: 0 0 12px;
}

.kgl-modal__heading {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--ink);
	margin: 0 0 12px;
}

.kgl-modal__sub {
	font-size: 0.94rem;
	line-height: 1.62;
	color: rgba(26, 26, 24, 0.58);
	margin: 0 0 32px;
}


/* ================================================================
   REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

	.kgl-hero__eyebrow,
	.kgl-hero__heading,
	.kgl-hero__sub,
	.kgl-hero__scroll-hint {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.kgl-hero__scroll-line { animation: none; }

	.kgl-img-wrap,
	.kgl-img-wrap.kgl-will-animate,
	.kgl-img-wrap.is-revealed {
		clip-path: inset(0% 0 0 0) !important;
		transition: none !important;
	}

	.kgl-img, .kgl-img-wrap:hover .kgl-img {
		transform: none;
		transition: none;
	}

	.kgl-chapter-header__bg {
		transform: none !important;
		transition: none !important;
	}

	.kgl-hero__bg {
		transform: none !important;
	}

	.kgl-lightbox,
	.kgl-lightbox__inner,
	.kgl-lightbox__img,
	.kgl-modal,
	.kgl-modal__panel,
	.kgl-chapter-nav {
		transition: none;
		animation: none;
	}
}


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

@media (max-width: 1024px) {
	.kgl-chapter-header__content {
		padding: 36px 40px 48px;
	}

	.kgl-lightbox__stage {
		padding: 0 56px;
	}
}

@media (max-width: 768px) {
	.kgl-chapter-header {
		height: 56vh;
	}

	.kgl-chapter-header__content {
		padding: 28px 24px 36px;
	}

	.kgl-lightbox__stage {
		padding: 0 48px;
	}

	.kgl-lightbox__arrow--prev { left: 8px; }
	.kgl-lightbox__arrow--next { right: 8px; }

	.kgl-lightbox__footer {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}

	.kgl-lightbox__caption {
		max-width: 100%;
		white-space: normal;
	}

	.kgl-modal__panel {
		padding: 44px 24px 36px;
	}

	.kgl-intro,
	.kgl-editorial,
	.kgl-outro,
	.kgl-cta {
		padding: 72px 24px;
	}
}

@media (max-width: 560px) {
	.kgl-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Wide images still span 2 on small screens */
	.kgl-img-wrap--wide {
		grid-column: span 2;
		aspect-ratio: 16 / 10;
	}

	.kgl-hero__scroll-hint { display: none; }

	.kgl-chapter-header__label {
		font-size: 2rem;
	}
}