/*
Theme Name: Gekken Leven Langer
Theme URI: https://mijn.host
Author: Gekken Leven Langer
Author URI: https://mijn.host
Description: Custom theme for the Gekken Leven Langer portfolio (Yahmani Blackman). Faithful port of the original Next.js + Payload design: warm earthy palette, Fraunces/Archivo type, film grain, and the animated overlapping-circle practice navigation.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gll
*/

/* ==========================================================================
   Design tokens — warm earthy palette (port of styles.css + palette.ts)
   ========================================================================== */
:root {
	--gll-ink: #16110d;
	--gll-surface: #221a14;
	--gll-surface-2: #2c2219;
	--gll-cream: #f0e3cf;
	--gll-sand: #d9c3a3;
	--gll-ochre: #e8a33d;
	--gll-amber: #d97b30;
	--gll-rust: #b45a3c;
	--gll-oxblood: #8e2f2a;
	--gll-copper: #c9906f;
	--gll-olive: #75765a;
	--gll-moss: #4f5d44;
	--gll-bark: #6b4a32;

	--gll-font-display: 'Fraunces', Georgia, serif;
	--gll-font-body: 'Archivo', system-ui, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	/* Tailwind preflight sets the root line-height; body inherits it. */
	line-height: 1.5;
}

body {
	margin: 0;
	background-color: var(--gll-ink);
	color: var(--gll-cream);
	font-family: var(--gll-font-body);
	-webkit-font-smoothing: antialiased;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

h1,
h2,
h3,
h4 {
	font-family: var(--gll-font-display);
	/* Tailwind preflight makes headings inherit the body weight (400). Without
	   this the UA stylesheet renders every heading bold and the wider glyphs
	   change line wrapping. */
	font-weight: inherit;
}

/* Tailwind's preflight resets the full margin box, not just the top edge.
   Leaving margin-bottom at the UA default adds phantom spacing. */
h1,
h2,
h3,
h4,
p,
figure {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
	/* Tailwind preflight makes images block-level; without this an inline image
	   leaves descender space under it and inflates its wrapper by a few pixels. */
	display: block;
}

a {
	color: inherit;
}

::selection {
	background-color: var(--gll-amber);
	color: var(--gll-ink);
}

/* Film grain overlay (port of Grain.tsx) */
.gll-grain {
	position: fixed;
	inset: 0;
	z-index: 50;
	pointer-events: none;
	opacity: 0.05;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Headings
   ========================================================================== */
.gll-h-display {
	font-family: var(--gll-font-display);
	color: var(--gll-cream);
}

.gll-h1 {
	font-size: 2.25rem;
	line-height: 2.5rem;
}
/* `leading-tight` on the source blog post title. */
.gll-h1--tight {
	line-height: 1.25;
}
@media (min-width: 640px) {
	.gll-h1 {
		font-size: 3rem;
		line-height: 1;
	}
	.gll-h1--tight {
		line-height: 1.25;
	}
}

.gll-h2 {
	font-size: 1.5rem;
	line-height: 2rem;
}

.gll-text-cream {
	color: var(--gll-cream);
}
.gll-text-cream-90 {
	color: rgba(240, 227, 207, 0.9);
}
.gll-text-cream-80 {
	color: rgba(240, 227, 207, 0.8);
}
.gll-text-cream-70 {
	color: rgba(240, 227, 207, 0.7);
}
.gll-text-cream-60 {
	color: rgba(240, 227, 207, 0.6);
}
.gll-text-cream-50 {
	color: rgba(240, 227, 207, 0.5);
}
.gll-text-cream-40 {
	color: rgba(240, 227, 207, 0.4);
}
.gll-text-cream-30 {
	color: rgba(240, 227, 207, 0.3);
}
.gll-text-ochre {
	color: var(--gll-ochre);
}
.gll-text-amber {
	color: var(--gll-amber);
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.gll-wrap {
	width: 100%;
	margin-inline: auto;
	padding-inline: 1.5rem;
}
.gll-wrap--6xl {
	max-width: 72rem;
}
.gll-wrap--4xl {
	max-width: 56rem;
}
.gll-wrap--3xl {
	max-width: 48rem;
}
.gll-wrap--xl {
	max-width: 36rem;
}

.gll-main {
	position: relative;
	z-index: 10;
	flex: 1;
	padding-top: 2rem;
	padding-bottom: 2.5rem;
}
@media (min-width: 640px) {
	.gll-main {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
}

.gll-cta-link {
	font-size: 0.875rem;
	color: var(--gll-ochre);
	transition: color 0.2s ease;
}
.gll-cta-link:hover {
	color: var(--gll-amber);
}

.gll-eyebrow {
	font-size: 0.75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(240, 227, 207, 0.4);
}

.gll-section-last {
	margin-top: 5rem;
}
.gll-section {
	margin-top: 3rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.gll-header {
	position: relative;
	z-index: 10;
}

.gll-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.gll-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.gll-logo svg {
	transition: transform 0.5s ease;
}
.gll-logo:hover svg {
	transform: rotate(12deg);
}

.gll-logo-word {
	font-family: var(--gll-font-display);
	font-size: 1.125rem;
	letter-spacing: 0.05em;
	color: var(--gll-cream);
}

.gll-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.gll-nav-link {
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	color: rgba(240, 227, 207, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}
.gll-nav-link:hover {
	color: var(--gll-ochre);
}

.gll-lang {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
}
.gll-lang a {
	text-decoration: none;
}
.gll-lang-sep {
	color: rgba(240, 227, 207, 0.3);
}
.gll-lang-active {
	color: var(--gll-ochre);
	text-transform: uppercase;
}
.gll-lang-idle {
	color: rgba(240, 227, 207, 0.5);
	text-transform: uppercase;
	transition: color 0.2s ease;
}
.gll-lang-idle:hover {
	color: var(--gll-cream);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.gll-footer {
	position: relative;
	z-index: 10;
	margin-top: 6rem;
	border-top: 1px solid rgba(240, 227, 207, 0.1);
}

.gll-footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	font-size: 0.875rem;
	color: rgba(240, 227, 207, 0.5);
}

.gll-footer-links {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}
.gll-footer-links a {
	color: rgba(240, 227, 207, 0.5);
	text-decoration: none;
	transition: color 0.2s ease;
}
.gll-footer-links a:hover {
	color: var(--gll-ochre);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.gll-card {
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid rgba(240, 227, 207, 0.1);
	background-color: var(--gll-surface);
	transition: border-color 0.2s ease;
}
.gll-card:hover,
.gll-link-card:hover {
	border-color: rgba(232, 163, 61, 0.4);
}

.gll-link-card {
	display: block;
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid rgba(240, 227, 207, 0.1);
	background-color: var(--gll-surface);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.gll-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 640px) {
	.gll-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.gll-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.gll-card-media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--gll-surface);
}
.gll-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.gll-card:hover .gll-card-media img,
.gll-link-card:hover .gll-card-media img {
	transform: scale(1.05);
}

.gll-card-body {
	padding: 1.25rem 1.25rem 0.75rem;
}
.gll-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.5rem 1.25rem 1.25rem;
}
/* Inside the project detail column the source tags sit flush, with no bleed. */
.gll-project-layout .gll-card-tags {
	padding: 0;
}
.gll-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.gll-card-title {
	margin: 0;
	font-family: var(--gll-font-display);
	font-size: 1.25rem;
	line-height: 1.4;
	color: var(--gll-cream);
	transition: color 0.2s ease;
}
.gll-link-card:hover .gll-card-title,
.gll-card:hover .gll-card-title {
	color: var(--gll-ochre);
}
.gll-card-meta {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(240, 227, 207, 0.5);
}

/* ==========================================================================
   Practice tag pills
   ========================================================================== */
.gll-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid rgba(240, 227, 207, 0.15);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	line-height: 1rem;
	color: rgba(240, 227, 207, 0.7);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.gll-tag:hover {
	border-color: rgba(232, 163, 61, 0.5);
	color: var(--gll-cream);
}
.gll-tag-dot {
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 9999px;
}

/* ==========================================================================
   Home
   ========================================================================== */
.gll-hero {
	padding-top: 2.5rem;
	text-align: center;
}
@media (min-width: 640px) {
	.gll-hero {
		padding-top: 4rem;
	}
}

.gll-hero-title {
	margin-bottom: 0;
	font-size: 2.25rem;
	line-height: 1.25;
	color: var(--gll-cream);
}
@media (min-width: 640px) {
	.gll-hero-title {
		font-size: 3.75rem;
	}
}

.gll-hero-intro {
	max-width: 36rem;
	margin: 1rem auto 0;
	font-size: 1rem;
	color: rgba(240, 227, 207, 0.6);
}
@media (min-width: 640px) {
	.gll-hero-intro {
		font-size: 1.125rem;
	}
}

.gll-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.gll-photo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.gll-photo-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 1024px) {
	.gll-photo-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

.gll-photo-cell {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.5rem;
	background-color: var(--gll-surface);
	display: block;
}
.gll-photo-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.gll-photo-cell:hover img {
	transform: scale(1.05);
}

.gll-post-grip {
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 640px) {
	.gll-post-grip {
		grid-template-columns: repeat(2, 1fr);
	}
}
.gll-post-card {
	display: block;
	border-radius: 0.75rem;
	border: 1px solid rgba(240, 227, 207, 0.1);
	background-color: var(--gll-surface);
	padding: 1.5rem;
	text-decoration: none;
	transition: border-color 0.2s ease;
}
.gll-post-card:hover {
	border-color: rgba(232, 163, 61, 0.4);
}
.gll-post-card h3 {
	margin-bottom: 0.5rem;
	font-family: var(--gll-font-display);
	font-size: 1.25rem;
	line-height: 1.3;
	color: var(--gll-cream);
	transition: color 0.2s ease;
}
.gll-post-card:hover h3 {
	color: var(--gll-ochre);
}
.gll-post-card p {
	margin-bottom: 0;
	font-size: 0.875rem;
	color: rgba(240, 227, 207, 0.6);
}

/* ==========================================================================
   The circles (CircleNav port)
   ========================================================================== */
.gll-circles {
	width: 100%;
}

.gll-circles-canvas {
	position: relative;
	margin-inline: auto;
	width: 100%;
	max-width: 48rem;
	aspect-ratio: 10 / 8;
	isolation: isolate;
}

.gll-circle {
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 1;
}
.gll-circle:hover,
.gll-circle:focus-within {
	z-index: 20;
}

.gll-circle-inner {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	height: 100%;
}

.gll-circle-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 9999px;
	outline: none;
	text-decoration: none;
}
.gll-circle-link:focus-visible {
	box-shadow: 0 0 0 2px rgba(232, 163, 61, 0.8);
}

.gll-circle-body {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	transition: opacity 0.5s ease;
	mix-blend-mode: screen;
	opacity: 0.78;
}
.gll-circle:hover .gll-circle-body,
.gll-circle:focus-within .gll-circle-body {
	opacity: 0.95;
}

.gll-circle-label {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding-inline: 1.5rem;
	text-align: center;
}
.gll-circle-title {
	font-family: var(--gll-font-display);
	font-size: 1.125rem;
	line-height: 1.25;
	color: var(--gll-cream);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.gll-circle-tagline {
	display: none;
	max-width: 80%;
	margin-top: 0.25rem;
	font-size: 0.75rem;
	color: rgba(240, 227, 207, 0.8);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.gll-circle:hover .gll-circle-tagline,
.gll-circle:focus-within .gll-circle-tagline {
	opacity: 1;
}
@media (min-width: 640px) {
	.gll-circle-title {
		font-size: 1.5rem;
	}
	.gll-circle-tagline {
		display: block;
	}
}

.gll-circles-hint {
	margin-top: 1.5rem;
	text-align: center;
	font-size: 0.875rem;
	letter-spacing: 0.025em;
	color: rgba(240, 227, 207, 0.4);
}

@keyframes gll-drift {
	0%,
	100% {
		translate:
			var(--drift-x0, 0)
			var(--drift-y0, 0);
	}
	50% {
		translate:
			var(--drift-x1, 0)
			var(--drift-y1, 0);
	}
}
.gll-circle-drift {
	animation: gll-drift var(--drift-d, 9s) ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.gll-circle-drift {
		animation: none;
	}
}

/* ==========================================================================
   Practice hero
   ========================================================================== */
.gll-practice-hero {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	background-color: var(--gll-surface);
	padding: 4rem 1.5rem;
}
@media (min-width: 640px) {
	.gll-practice-hero {
		padding-inline: 3rem;
	}
}
.gll-practice-blob {
	position: absolute;
	pointer-events: none;
	border-radius: 9999px;
	mix-blend-mode: screen;
}
.gll-practice-blob--tr {
	top: -6rem;
	right: -6rem;
	width: 24rem;
	height: 24rem;
	opacity: 0.6;
}
.gll-practice-blob--bl {
	bottom: -8rem;
	left: -4rem;
	width: 20rem;
	height: 20rem;
	opacity: 0.4;
}
.gll-practice-hero-content {
	position: relative;
}
.gll-practice-tagline {
	margin-top: 0.75rem;
	max-width: 36rem;
	line-height: 1.5;
	color: rgba(240, 227, 207, 0.6);
}
.gll-practice-description {
	max-width: 42rem;
	margin-inline: auto;
}
.gll-overlaps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}
.gll-overlaps-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(240, 227, 207, 0.4);
}

/* ==========================================================================
   Project detail
   ========================================================================== */
.gll-cover {
	overflow: hidden;
	border-radius: 1rem;
}
.gll-cover img {
	max-height: 60vh;
	width: 100%;
	object-fit: cover;
}

.gll-project-layout {
	margin-top: 2.5rem;
	display: grid;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.gll-project-layout {
		grid-template-columns: 1fr 280px;
	}
}

.gll-contact-email {
	color: rgba(240, 227, 207, 0.6);
}
.gll-contact-email a {
	color: var(--gll-ochre);
	text-decoration: none;
}
.gll-contact-email a:hover {
	color: var(--gll-amber);
}
.gll-excerpt {
	margin-top: 1.5rem;
	margin-bottom: 0;
	font-size: 1.125rem;
	line-height: 1.625;
	color: rgba(240, 227, 207, 0.7);
}

.gll-aside {
	border-radius: 0.75rem;
	border: 1px solid rgba(240, 227, 207, 0.1);
	background-color: var(--gll-surface);
	padding: 1.5rem;
	align-self: start;
	height: fit-content;
}
.gll-aside dl {
	margin: 0;
}
.gll-aside-item {
	margin-bottom: 1rem;
}
/* `space-y-4` on the source never leaves a trailing margin. */
.gll-aside-item:last-child {
	margin-bottom: 0;
}
.gll-aside dt {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(240, 227, 207, 0.4);
}
.gll-aside dd {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: rgba(240, 227, 207, 0.8);
}

.gll-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
@media (min-width: 640px) {
	.gll-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.gll-gallery-item {
	overflow: hidden;
	border-radius: 0.5rem;
	background-color: var(--gll-surface);
}
.gll-gallery-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.gll-blog-list {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.gll-blog-card {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(240, 227, 207, 0.1);
	background-color: var(--gll-surface);
	padding: 1.5rem;
	text-decoration: none;
	transition: border-color 0.2s ease;
}
@media (min-width: 640px) {
	.gll-blog-card {
		flex-direction: row;
	}
}
.gll-blog-card:hover {
	border-color: rgba(232, 163, 61, 0.4);
}
.gll-blog-thumb {
	flex-shrink: 0;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 0.5rem;
}
.gll-blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.gll-blog-card:hover .gll-blog-thumb img {
	transform: scale(1.05);
}
@media (min-width: 640px) {
	.gll-blog-thumb {
		width: 14rem;
	}
}
.gll-blog-card-content {
	flex: 1;
}
.gll-blog-card h2 {
	margin: 0.5rem 0 0;
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--gll-cream);
	transition: color 0.2s ease;
}
.gll-blog-card:hover h2 {
	color: var(--gll-ochre);
}
.gll-blog-excerpt {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	color: rgba(240, 227, 207, 0.6);
}
.gll-blog-more {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: var(--gll-ochre);
}

/* ==========================================================================
   Photos masonry
   ========================================================================== */
.gll-masonry {
	margin-top: 2.5rem;
	columns: 2;
	column-gap: 1rem;
}
@media (min-width: 640px) {
	.gll-masonry {
		columns: 3;
	}
}
@media (min-width: 1024px) {
	.gll-masonry {
		columns: 4;
	}
}
.gll-masonry > * {
	margin-bottom: 1rem;
	-webkit-column-break-inside: avoid;
	break-inside: avoid;
}

.gll-figure {
	position: relative;
	overflow: hidden;
	border-radius: 0.75rem;
	background-color: var(--gll-surface);
}
.gll-figure img {
	display: block;
	width: 100%;
	transition: transform 0.7s ease;
}
.gll-figure:hover img {
	transform: scale(1.03);
}
.gll-figure-caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 2.5rem 1rem 1rem;
	background-image: linear-gradient(to top, rgba(22, 17, 13, 0.9), transparent);
	opacity: 0;
	transform: translateY(0.5rem);
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}
.gll-figure:hover .gll-figure-caption {
	opacity: 1;
	transform: translateY(0);
}
.gll-figure-caption p {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(240, 227, 207, 0.9);
}
.gll-figure-caption .gll-tag {
	border-color: rgba(240, 227, 207, 0.25);
}
.gll-practice-photo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.gll-practice-photo-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (min-width: 1024px) {
	.gll-practice-photo-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}
.gll-practice-photo {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.5rem;
	background-color: var(--gll-surface);
}
.gll-practice-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.gll-form {
	margin-top: 0;
}
.gll-form .gll-field {
	margin-bottom: 1.25rem;
}
.gll-form label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: rgba(240, 227, 207, 0.7);
}
.gll-input {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid rgba(240, 227, 207, 0.15);
	background-color: var(--gll-surface);
	padding: 0.75rem 1rem;
	font: inherit;
	color: var(--gll-cream);
	outline: none;
	transition: border-color 0.2s ease;
}
.gll-input::placeholder {
	color: rgba(240, 227, 207, 0.3);
}
.gll-input:focus {
	border-color: rgba(232, 163, 61, 0.6);
}

.gll-btn {
	border: 0;
	border-radius: 9999px;
	background-color: var(--gll-amber);
	padding: 0.75rem 2rem;
	font: inherit;
	font-weight: 500;
	color: var(--gll-ink);
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.gll-btn:hover {
	background-color: var(--gll-ochre);
}
.gll-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.gll-form-success {
	border-radius: 0.75rem;
	border: 1px solid rgba(117, 118, 90, 0.4);
	background-color: var(--gll-surface);
	padding: 2rem;
	text-align: center;
}
.gll-form-success p {
	margin: 0;
	font-size: 1.125rem;
	color: var(--gll-cream);
}

.gll-form-error {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: #c9584f;
}

.gll-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================================
   Rich text / editor styles
   ========================================================================== */
.gll-rich {
	color: rgba(240, 227, 207, 0.88);
	line-height: 1.75;
	font-size: 1.0625rem;
}
.gll-rich > * + * {
	margin-top: 1.1em;
}
.gll-rich h2,
.gll-rich h3,
.gll-rich h4 {
	font-family: var(--gll-font-display);
	color: var(--gll-cream);
	margin-top: 1.8em;
	line-height: 1.2;
}
.gll-rich h2 {
	font-size: 1.6rem;
}
.gll-rich h3 {
	font-size: 1.3rem;
}
.gll-rich a {
	color: var(--gll-ochre);
	text-underline-offset: 3px;
}
.gll-rich a:hover {
	color: var(--gll-amber);
}
.gll-rich blockquote {
	border-left: 3px solid var(--gll-rust);
	padding-left: 1.25rem;
	font-style: italic;
	color: var(--gll-sand);
}
.gll-rich ul,
.gll-rich ol {
	padding-left: 1.5rem;
}
.gll-rich ul {
	list-style: disc;
}
.gll-rich ol {
	list-style: decimal;
}
.gll-rich li + li {
	margin-top: 0.4em;
}

/* Editor mirror — matches the front-end .gll-rich rules in Gutenberg */
.editor-styles-wrapper,
.gll-editor {
	color: rgba(240, 227, 207, 0.88);
	line-height: 1.75;
	font-size: 1.0625rem;
}
.editor-styles-wrapper .wp-block,
.gll-editor .wp-block {
	margin-bottom: 1.1em;
}
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.gll-editor h1,
.gll-editor h2,
.gll-editor h3,
.gll-editor h4 {
	font-family: var(--gll-font-display);
	color: var(--gll-cream);
	line-height: 1.2;
}
.editor-styles-wrapper blockquote,
.gll-editor blockquote {
	border-left: 3px solid var(--gll-rust);
	padding-left: 1.25rem;
	font-style: italic;
	color: var(--gll-sand);
}
.editor-styles-wrapper a,
.gll-editor a {
	color: var(--gll-ochre);
}

/* ==========================================================================
   Utility spacing
   ========================================================================== */
.gll-mt-2 {
	margin-top: 0.5rem;
}
.gll-mt-3 {
	margin-top: 0.75rem;
}
.gll-mt-4 {
	margin-top: 1rem;
}
.gll-mt-6 {
	margin-top: 1.5rem;
}
.gll-mt-8 {
	margin-top: 2rem;
}
.gll-mt-10 {
	margin-top: 2.5rem;
}
.gll-mt-12 {
	margin-top: 3rem;
}
.gll-mt-16 {
	margin-top: 4rem;
}
.gll-mt-20 {
	margin-top: 5rem;
}
.gll-mb-4 {
	margin-bottom: 1rem;
}
.gll-mb-6 {
	margin-bottom: 1.5rem;
}
.gll-pl-0 {
	padding-left: 0;
}

.gll-empty {
	color: rgba(240, 227, 207, 0.5);
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
}