@font-face {
	font-family: 'Refinery 75';
	src: url('Font/Refinery 75 SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--background: #0b0b0c;
	--surface: #141414;
	--gold: #e8c93a;
	--text: #f4f5f6;
	--muted: #a9adb2;
	--line: rgba(255, 255, 255, 0.1);
}

* {
	box-sizing: border-box;
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--background);
	color: var(--text);
	font-family: 'Refinery 75', Georgia, 'Times New Roman', serif;
	font-weight: 600;
}

.site-header {
	background: rgba(11, 11, 12, 0.96);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 10;
}

.navbar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1180px;
	padding: 18px 24px;
	position: relative;
}

.brand {
	align-items: center;
	color: var(--text);
	display: flex;
	gap: 1px;
	text-decoration: none;
}

.brand-mark {
	display: block;
	height: 80px;
	object-fit: contain;
	width: 80px;
}

.brand-name {
	font-size: 25px;
	font-weight: bold;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.brand-name span {
	color: var(--gold);
	display: block;
	font-size: 9px;
	letter-spacing: 0.28em;
	margin-top: 3px;
}

.menu-toggle {
	display: none;
}

.menu-button {
	color: var(--text);
	cursor: pointer;
	display: none;
	font-size: 22px;
	line-height: 1;
	padding: 6px;
}

.nav-links {
	align-items: center;
	display: flex;
	gap: 32px;
	list-style: none;
}

.nav-links a {
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.1em;
	padding: 8px 0;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
	color: var(--gold);
}

.nav-links a[aria-current='page'] {
	color: var(--text);
}

.nav-links a[aria-current='page']::after {
	background: var(--gold);
	bottom: 0;
	content: '';
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
}

#home {
	align-items: center;
	background:
		linear-gradient(rgba(10, 10, 10, 0.65), rgba(1, 1, 1, 0.65)),
		url('Resources/Hero Background.png') center 30% / cover no-repeat;
	display: flex;
	min-height: calc(100vh - 116px);
	position: relative;
}

.hero-content {
	margin: 0 auto;
	max-width: 1180px;
	padding: 48px 24px;
	padding-right: clamp(500px, 43vw, 540px);
	position: relative;
	text-align: left;
	width: 100%;
	z-index: 1;
}

.hero-image-container {
	perspective: 900px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.hero-image {
	animation: hero-image-float 6s ease-in-out infinite;
	display: block;
	height: 500px;
	object-fit: contain;
	transform-style: preserve-3d;
	width: 500px;
}

.hero-image:hover {
	animation-play-state: paused;
	transform: rotateX(5deg) rotateY(-8deg) translateZ(14px) scale(1.03);
}

@keyframes hero-image-float {
	0%, 100% { transform: rotateX(0deg) rotateY(-2deg) translateY(0) translateZ(0); }
	50% { transform: rotateX(3deg) rotateY(2deg) translateY(-10px) translateZ(8px); }
}

.hero-text {
	color: var(--gold);
	font-size: clamp(16px, 2.5vw, 24px);
	letter-spacing: 0.05em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.hero-heading {
	color: var(--text);
	font-size: clamp(32px, 6vw, 54px);
	letter-spacing: 0.01em;
	line-height: 0.05;
	min-height: 1.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hero-heading-text,
.hero-heading-text.is-accent {
	color: var(--text);
}

.hero-subheading {
	color: var(--muted);
	font-size: clamp(14px, 1.5vw, 18px);
	line-height: 1.6;
	margin-top: 6px;
	max-width: 550px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 48px;
}

.hero-button {
	align-items: center;
	display: inline-flex;
	font-size: 12px;
	justify-content: center;
	letter-spacing: 0.08em;
	min-height: 46px;
	padding: 0 22px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-button:hover,
.hero-button:focus-visible {
	transform: translateY(-2px);
}

.hero-button-primary {
	background: var(--gold);
	border: 1px solid var(--gold);
	color: var(--background);
}

.hero-button-primary:hover,
.hero-button-primary:focus-visible {
	background: var(--text);
	border-color: var(--text);
}

.hero-button-secondary {
	border: 1px solid var(--gold);
	color: var(--gold);
}

.hero-button-secondary:hover,
.hero-button-secondary:focus-visible {
	background: var(--gold);
	color: var(--background);
}

#about {
	background: var(--background);
	padding: 128px 24px 110px;
}

.about-content {
	align-items: center;
	display: grid;
	gap: clamp(44px, 8vw, 110px);
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
	margin: 0 auto;
	max-width: 1100px;
}

.about-image-wrap {
	box-shadow: 0 24px 45px rgba(0, 0, 0, 0.65);
	height: clamp(260px, 34vw, 400px);
	opacity: 0;
	transform: translateX(-36px) scale(0.96);
	transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
}

#about.image-visible .about-image-wrap {
	opacity: 1;
	transform: translateX(0) scale(1);
}

.about-image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.about-copy {
	border-left: 1px solid rgba(232, 201, 58, 0.35);
	clip-path: inset(0 100% 0 0);
	max-width: 400px;
	opacity: 0;
	padding-left: clamp(24px, 4vw, 52px);
	transform: translateX(-18px);
	transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

#about.image-visible .about-copy {
	clip-path: inset(0 0 0 0);
	opacity: 1;
	transform: translateX(0);
}

.about-kicker,
.services-kicker {
	color: var(--gold);
	font-size: 14px;
	letter-spacing: 0.18em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.about-copy h2,
.services-content h2 {
	color: var(--text);
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.1;
}

.about-copy > p:last-child,
.service-item p {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.6;
	margin-top: 18px;
}

#services {
	background: #101011;
	overflow: hidden;
	padding: 110px 24px 100px;
	text-align: center;
}

.services-content {
	margin: 0 auto;
	max-width: 1180px;
	width: 100%;
}

.services-carousel {
	align-items: center;
	display: flex;
	gap: 18px;
	margin: 30px auto 0;
	max-width: 1240px;
}

.services-stage {
	height: 500px;
	position: relative;
	width: 100%;
}

.services-list {
	height: 100%;
	position: relative;
}

.service-item {
	background: #1a1a1a;
	border: 1px solid rgba(232, 201, 58, 0.2);
	border-radius: 10px;
	box-shadow: 0 25px 50px -18px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.03);
	cursor: pointer;
	min-height: 420px;
	opacity: 0;
	padding: 36px 26px;
	position: absolute;
	left: 50%;
	top: 50%;
	text-align: center;
	transform: translate(-50%, -50%) scale(0.5);
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease, filter 0.55s ease, box-shadow 0.55s ease;
	width: 280px;
	z-index: 0;
}

.service-item[data-pos='0'] {
	border-color: var(--gold);
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	box-shadow: 0 0 0 1px rgba(232, 201, 58, 0.2), 0 25px 50px -18px rgba(0, 0, 0, 0.8), 0 0 30px rgba(232, 201, 58, 0.1);
	z-index: 5;
}

.service-item[data-pos='-1'] {
	filter: blur(1px) brightness(0.7);
	opacity: 0.55;
	transform: translate(calc(-50% - 190px), -50%) scale(0.85);
	z-index: 3;
}

.service-item[data-pos='1'] {
	filter: blur(1px) brightness(0.7);
	opacity: 0.55;
	transform: translate(calc(-50% + 190px), -50%) scale(0.85);
	z-index: 3;
}

.service-item[data-pos='-2'],
.service-item[data-pos='2'] {
	filter: blur(2px) brightness(0.55);
	opacity: 0.3;
	transform: translate(calc(-50% - 330px), -50%) scale(0.7);
	pointer-events: auto;
	z-index: 1;
}

.service-item[data-pos='2'] {
	transform: translate(calc(-50% + 330px), -50%) scale(0.7);
}

.service-item[data-pos='hidden'] {
	opacity: 0;
	pointer-events: none;
}

.service-item h3 {
	color: var(--text);
	font-size: 19px;
	line-height: 1.35;
	margin-bottom: 14px;
}

.service-item[data-pos='0'] h3 {
	color: var(--gold);
}

.service-item p {
	font-size: 13.5px;
	line-height: 1.65;
	margin-top: 16px;
}

.carousel-button {
	align-items: center;
	background: transparent;
	border: 1px solid rgba(232, 201, 58, 0.25);
	border-radius: 50%;
	color: var(--gold);
	cursor: pointer;
	display: flex;
	flex: 0 0 46px;
	height: 46px;
	justify-content: center;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
	background: rgba(232, 201, 58, 0.1);
	border-color: var(--gold);
	transform: translateY(-2px);
}

.carousel-dots {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 4px;
}

.carousel-dot {
	background: rgba(255, 255, 255, 0.2);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	height: 8px;
	padding: 0;
	transition: background-color 0.25s ease, transform 0.25s ease;
	width: 8px;
}

.carousel-dot.active,
.carousel-dot:hover,
.carousel-dot:focus-visible {
	background: var(--gold);
	transform: scale(1.3);
}

.carousel-status {
	color: var(--muted);
	font-size: 11px;
	letter-spacing: 0.12em;
	margin-top: 16px;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	z-index: 6;
}

#contact {
	background: #0f0f10;
	border-top: 1px solid rgba(232, 201, 58, 0.14);
	padding: 110px 24px;
}

.contact-content {
	align-items: center;
	display: grid;
	gap: clamp(48px, 9vw, 120px);
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
	margin: 0 auto;
	max-width: 1050px;
}

.contact-copy {
	max-width: 440px;
}

.contact-kicker {
	color: var(--gold);
	font-size: 14px;
	letter-spacing: 0.18em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.contact-copy h2 {
	color: var(--text);
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.08;
	min-height: 1.08em;
}

.contact-copy > p:not(.contact-kicker) {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.6;
	margin-top: 20px;
}

.contact-button {
	border-bottom: 1px solid var(--gold);
	color: var(--gold);
	display: inline-block;
	font-size: 13px;
	letter-spacing: 0.12em;
	margin-top: 28px;
	padding-bottom: 8px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-button:hover,
.contact-button:focus-visible {
	border-color: var(--text);
	color: var(--text);
}

.contact-info {
	background: var(--surface);
	border: 1px solid rgba(232, 201, 58, 0.22);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
	padding: clamp(26px, 4vw, 42px);
}

.contact-form {
	display: grid;
	gap: 10px;
}

.contact-form label {
	color: var(--text);
	font-size: 12px;
	letter-spacing: 0.1em;
	margin-top: 8px;
	text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
	background: #0d0d0e;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0;
	color: var(--text);
	font: inherit;
	padding: 13px 14px;
	resize: vertical;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 2px rgba(232, 201, 58, 0.14);
	outline: none;
}

.contact-submit {
	background: var(--gold);
	border: 1px solid var(--gold);
	color: var(--background);
	cursor: pointer;
	font: inherit;
	letter-spacing: 0.1em;
	margin-top: 16px;
	min-height: 46px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
	background: var(--text);
	border-color: var(--text);
	transform: translateY(-2px);
}

.typing-cursor {
	animation: blink 0.5s steps(1) infinite;
	border-right: 3px solid var(--gold);
	display: inline-block;
	height: 0.9em;
	margin-left: 6px;
	vertical-align: -0.08em;
}

@keyframes blink {
	50% { opacity: 0; }
}

@media (min-width: 641px) and (max-width: 1024px) {
	.hero-content {
		padding-right: clamp(300px, 40vw, 420px);
	}

	.hero-image-container {
		right: 8px;
	}

	.hero-image {
		height: clamp(260px, 38vw, 360px);
		width: clamp(260px, 38vw, 360px);
	}

	.services-stage {
		height: 450px;
	}

	.service-item[data-pos='-1'] {
		transform: translate(calc(-50% - 175px), -50%) scale(0.82);
	}

	.service-item[data-pos='1'] {
		transform: translate(calc(-50% + 175px), -50%) scale(0.82);
	}

	.service-item[data-pos='-2'],
	.service-item[data-pos='2'] {
		opacity: 0;
		pointer-events: none;
	}
}

@media (max-width: 640px) {
	.menu-button {
		display: block;
	}

	.nav-links {
		align-items: stretch;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		display: none;
		left: 0;
		padding: 12px 24px 18px;
		position: absolute;
		right: 0;
		top: 100%;
		z-index: 20;
	}

	.nav-links li + li {
		margin-top: 8px;
	}

	.nav-links a {
		display: block;
	}

	.menu-toggle:checked ~ .nav-links {
		display: block;
	}

	#home {
		min-height: calc(100vh - 104px);
	}

	.hero-image-container {
		left: 50%;
		right: auto;
		top: 24px;
		transform: translateX(-50%);
	}

	.hero-content {
		padding: 270px 24px 48px;
		text-align: center;
	}

	.hero-heading {
		white-space: normal;
	}

	.hero-image {
		height: 220px;
		width: 220px;
	}

	.hero-text {
		letter-spacing: 0.12em;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
		margin-left: auto;
		margin-right: auto;
		max-width: 280px;
	}

	.hero-subheading {
		margin-left: auto;
		margin-right: auto;
	}

	#about {
		padding: 80px 24px;
	}

	.about-content {
		grid-template-columns: 1fr;
		gap: 36px;
		text-align: center;
	}

	.about-copy {
		border-left: 0;
		max-width: 320px;
		padding-left: 0;
		justify-self: center;
	}

	#services {
		padding: 80px 16px;
	}

	#contact {
		padding: 80px 24px;
	}

	.contact-content {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.contact-copy {
		max-width: 340px;
		text-align: center;
	}

	.contact-button {
		margin-top: 22px;
	}

	.services-carousel {
		margin-top: 58px;
	}

	.services-stage {
		height: 500px;
	}

	.service-item {
		min-height: 420px;
		padding: 28px 20px;
		width: 220px;
	}

	.service-item[data-pos='-1'] {
		opacity: 0;
		transform: translate(calc(-50% - 135px), -50%) scale(0.8);
	}

	.service-item[data-pos='1'] {
		opacity: 0;
		transform: translate(calc(-50% + 135px), -50%) scale(0.8);
	}

	.service-item[data-pos='-2'],
	.service-item[data-pos='2'] {
		opacity: 0;
		pointer-events: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-image-wrap,
	.about-copy {
		clip-path: none;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.hero-image,
	.typing-cursor {
		animation: none;
	}

	.hero-image:hover {
		transform: none;
	}
}
