@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap");

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

html,
body {
	margin: 0;
	padding: 0;
}

:root {
	--ink: #e9f1f3;
	--muted: #a7a59ef2;
	--surface: #161817;
	--surface-raised: #202321;
	--accent: #dc785d;
	--line: rgba(243, 240, 233, 0.14);
	--mono: "DM Mono", monospace;
	--sans: "Manrope", "Source Sans Pro", sans-serif;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	padding: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.7;
}

img {
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

#wrapper {
	max-width: 100%;
	overflow: hidden;
}

#header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	bottom: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 6rem;
	padding: 0 clamp(1.5rem, 7vw, 7.5rem);
	background: transparent;
	line-height: 1.2;
}

#header .brand {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	border: 0;
	color: var(--ink);
	font-size: 0.92rem;
	letter-spacing: 0.04em;
}

.brand-mark {
	display: grid;
	width: 3.25rem;
	height: 2.5rem;
	place-items: center;
	border: 1px solid var(--accent);
}

.brand-mark img {
	display: block;
	width: 3rem;
	height: auto;
}

.brand strong,
.brand small {
	display: block;
}

.brand small {
	margin-top: 0.12rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

#header nav {
	position: static;
	display: flex;
	gap: 1.6rem;
}

#header nav a {
	padding: 0;
	color: var(--ink);
	font-size: 0.78rem;
	letter-spacing: 0.05em;
}

#header nav a:hover,
.hero-link:hover,
.text-link:hover {
	color: var(--accent) !important;
}

.hero {
	position: relative;
	display: flex;
	min-height: min(48rem, 100vh);
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding: 9rem clamp(1.5rem, 11vw, 12rem) 7rem clamp(1.5rem, 12vw, 13rem);
	background:
		radial-gradient(ellipse at 76% 48%, rgba(72, 77, 68, 0.3), transparent 37%),
		linear-gradient(115deg, #161817 46%, #1c201d 100%);
}

.hero-copy {
	position: relative;
	z-index: 1;
	max-width: 42rem;
}

.eyebrow {
	margin: 0 0 1.4rem;
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0;
	color: var(--ink);
	font-size: clamp(4rem, 8.5vw, 8.5rem);
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 0.91;
	text-transform: none;
}

.hero h1 span {
	color: var(--accent);
	font-weight: 800;
}

.hero-description {
	max-width: 30rem;
	margin: 2rem 0 1.8rem;
	color: #c1c0b9;
	font-size: clamp(1rem, 1.35vw, 1.18rem);
	line-height: 1.8;
}

.hero-link,
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	border: 0;
	color: var(--ink);
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hero-link span,
.text-link span {
	color: var(--accent);
	font-size: 1.25rem;
}

.hero-art {
	position: relative;
	width: min(33vw, 26rem);
	aspect-ratio: 1;
	flex: 0 0 auto;
	border: 1px solid rgba(243, 240, 233, 0.11);
	border-radius: 50%;
	background: radial-gradient(circle at 45% 42%, rgba(220, 120, 93, 0.17), transparent 39%);
}

.hero-art::before,
.hero-art::after {
	position: absolute;
	inset: 12%;
	border: 1px solid rgba(243, 240, 233, 0.12);
	border-radius: 50%;
	content: "";
}

.hero-art::after {
	inset: 25%;
	border-color: rgba(220, 120, 93, 0.35);
}

.hero-orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 116%;
	height: 46%;
	border: 1px solid rgba(220, 120, 93, 0.48);
	border-radius: 50%;
	transform: translate(-50%, -50%) rotate(-36deg);
}

.hero-orbit-two {
	width: 46%;
	height: 116%;
	border-color: rgba(243, 240, 233, 0.18);
	transform: translate(-50%, -50%) rotate(36deg);
}

.hero-stamp {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	width: 28rem;
	height: 28rem;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	border: 1px solid var(--accent);
	border-radius: 50%;
	gap: 0.5rem;
	transform: translate(-50%, -50%) rotate(-12deg);
}

.hero-stamp span {
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.42rem;
	letter-spacing: 0.18em;
}

.hero-stamp img {
	display: block;
	width: 25rem;
	height: auto;
}

.hero-caption {
	position: absolute;
	right: -3rem;
	bottom: 1.1rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	line-height: 1.6;
	text-transform: uppercase;
}

.hero-index {
	position: absolute;
	bottom: 2.6rem;
	left: clamp(1.5rem, 12vw, 13rem);
	color: var(--ink);
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
}

.hero-index span {
	padding: 0 0.5rem;
	color: var(--accent);
}

.gallery-section {
	padding: 7rem clamp(1.5rem, 8vw, 8rem) 8rem;
	background: #dddcd5;
	color: #222522;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin: 0 auto 2.5rem;
	max-width: 1500px;
}

.section-heading .eyebrow {
	margin-bottom: 0.6rem;
}

.section-heading h2,
.about-section h2 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 4.3rem);
	font-weight: 600;
	letter-spacing: -0.07em;
	line-height: 1.1;
}

.section-heading h2 {
	color: #222522;
	text-transform: none;
}

.gallery-count {
	margin: 0 0 0.25rem;
	color: #6c6d67;
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gallery-grid {
	display: grid;
	max-width: 1500px;
	margin: 0 auto;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.gallery-card {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #dad8d1;
	animation: card-enter 0.5s ease both;
}

.gallery-card button {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.gallery-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-card button:hover img,
.gallery-card button:focus-visible img {
	transform: scale(1.045);
}

.gallery-card button:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: -3px;
}

.gallery-card-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: end;
	justify-content: space-between;
	padding: 3.5rem 1.2rem 1.15rem;
	background: linear-gradient(transparent, rgba(14, 17, 15, 0.78));
	color: #fff;
	text-align: left;
}

.gallery-card-caption strong {
	display: block;
	min-width: 0;
	max-width: calc(100% - 2.5rem);
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.35;
	overflow-wrap: break-word;
	white-space: normal;
}

.gallery-card-caption span {
	flex: 0 0 auto;
	color: #e7b7a7;
	font-family: var(--mono);
	font-size: 0.65rem;
}

.gallery-empty {
	max-width: 1500px;
	margin: 2rem auto 0;
	color: #6c6d67;
}

.about-section {
	padding: 8rem 1.5rem 8.5rem;
	background: var(--surface-raised);
	text-align: center;
}

.about-section .eyebrow {
	margin-bottom: 1.2rem;
}

.about-section h2 {
	color: var(--ink);
	font-size: clamp(2.3rem, 5.2vw, 5.3rem);
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	letter-spacing: 0.015em;
	line-height: 1.15;
	text-transform: none;
}

.about-section > p:not(.eyebrow) {
	max-width: 38rem;
	margin: 1.5rem auto 1.8rem;
	color: var(--muted);
}

.contact-section {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	padding: 7rem clamp(1.5rem, 8vw, 7rem);
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 7vw, 7rem);
}

.contact-copy h2 {
	max-width: 28rem;
	margin: 0;
	color: var(--ink);
	font-size: clamp(2.2rem, 4vw, 3.8rem);
	font-weight: 600;
	letter-spacing: -0.07em;
	line-height: 1.1;
	text-transform: none;
}

.contact-copy > p:not(.eyebrow) {
	max-width: 26rem;
	margin-top: 1.25rem;
	color: var(--muted);
}

.contact-form {
	display: grid;
	gap: 0.6rem;
}

.contact-form label {
	margin-top: 0.55rem;
	color: #d3d0c8;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.035);
	color: var(--ink);
	font: inherit;
	font-size: 0.9rem;
}

.contact-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--accent);
	outline: 1px solid var(--accent);
}

.contact-submit {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 1rem;
	margin-top: 0.8rem;
	padding: 0.8rem 1rem;
	border: 1px solid var(--accent);
	background: var(--accent);
	color: #171817;
	cursor: pointer;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
	background: transparent;
	color: var(--accent);
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem clamp(1.5rem, 8vw, 8rem);
	color: var(--muted);
	font-size: 0.72rem;
}

.site-footer p {
	margin: 0;
}

.footer-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.footer-brand {
	border: 0;
	color: var(--ink);
	font-weight: 700;
}

.footer-external {
	border: 0;
	color: var(--muted);
	transition: color 0.2s ease;
}

.footer-external:hover,
.footer-external:focus-visible {
	color: var(--accent);
}

.copyright {
	font-family: var(--mono);
}

.lightbox[hidden] {
	display: none;
}

.lightbox-open {
	overflow: hidden;
}

.lightbox {
	position: fixed;
	z-index: 10010;
	inset: 0;
	display: grid;
	grid-template-columns: minmax(3rem, 1fr) minmax(0, 7fr) minmax(3rem, 1fr);
	grid-template-rows: 1fr auto;
	align-items: center;
	padding: 3.5rem clamp(0.5rem, 4vw, 4rem) 2rem;
	background: rgba(11, 13, 12, 0.96);
}

.lightbox-figure {
	display: grid;
	max-height: calc(100vh - 7rem);
	margin: 0;
	justify-items: center;
	grid-column: 2;
	grid-row: 1;
}

.lightbox-image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 9rem);
	object-fit: contain;
}

.lightbox-caption {
	padding-top: 0.75rem;
	color: var(--ink);
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-align: center;
}

.lightbox button {
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}

.lightbox button:hover {
	color: var(--accent);
}

.lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	font-size: 2.5rem;
	line-height: 1;
}

.lightbox-previous,
.lightbox-next {
	grid-row: 1;
	font-size: 3.5rem;
	font-weight: 300;
}

.lightbox-previous {
	grid-column: 1;
}

.lightbox-next {
	grid-column: 3;
}

.lightbox-position {
	margin: 0;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.65rem;
	grid-column: 1 / -1;
	grid-row: 2;
	text-align: center;
}

@keyframes card-enter {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 800px) {
	.hero {
		min-height: auto;
		padding-top: 10rem;
		padding-bottom: 8rem;
	}

	.hero-art {
		width: min(31vw, 17rem);
	}

	.hero-stamp {
		width: 20rem;
		height: 20rem;
		gap: 0.3rem;
	}

	.hero-stamp img {
		width: 17rem;
	}

	.hero-stamp span {
		font-size: 0.4rem;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-section {
		gap: 2rem;
		padding-right: 2rem;
		padding-left: 2rem;
	}

}

@media (max-width: 560px) {
	#header {
		height: 5rem;
		padding: 0 1.25rem;
	}

	#header nav {
		gap: 0.45rem;
	}

	#header nav a {
		font-size: 0.56rem;
	}

	.hero {
		min-height: 45rem;
		align-items: start;
		padding: 9rem 1.5rem 7rem;
	}

	.hero-art {
		position: absolute;
		right: -1.5rem;
		bottom: 6rem;
		width: 13rem;
		opacity: 0.7;
	}

	.hero-caption {
		right: 0;
	}

	.hero-index {
		left: 1.5rem;
	}

	.gallery-section {
		padding: 5rem 1.2rem;
	}

	.section-heading {
		display: block;
	}

	.gallery-count {
		margin-top: 0.9rem;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 0.8rem;
	}

	.about-section {
		padding: 6rem 1.5rem;
	}

	.contact-section {
		padding: 5rem 1.5rem;
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.site-footer {
		align-items: flex-start;
		flex-direction: column;
		padding: 1.5rem;
	}

	.lightbox {
		grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
		padding-right: 0.25rem;
		padding-left: 0.25rem;
	}

	.lightbox-previous,
	.lightbox-next {
		font-size: 2.5rem;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
