/* ==========================================================================
   All American — Main Stylesheet
   ========================================================================== */

:root {
	--aa-cream: #f5f1e5;
	--aa-black: #121212;
	--aa-black-80: rgba(18, 18, 18, 0.8);
	--aa-black-60: rgba(0, 0, 0, 0.6);
	--aa-white: #ffffff;
	--aa-white-80: rgba(255, 255, 255, 0.8);
	--aa-white-50: rgba(255, 255, 255, 0.5);
	--aa-white-10: rgba(255, 255, 255, 0.1);
	--aa-white-05: rgba(255, 255, 255, 0.05);
	--aa-accent: #c36036;
	--aa-accent-hot: #e8481c;
	--aa-border: rgba(18, 18, 18, 0.3);
	--aa-max: 1440px;
	--aa-pad-desktop: 50px;
	--aa-pad-tablet: 30px;
	--aa-pad-mobile: 10px;
	--aa-radius: 10px;
	--aa-font-body: "Inter", system-ui, sans-serif;
	--aa-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--aa-ease: 0.25s ease;
}

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

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--aa-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--aa-black);
	background: var(--aa-cream);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	width: 100%;
}

img,
video {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input {
	font: inherit;
}

/* Layout helpers */
.aa-container {
	width: min(100% - var(--aa-pad-mobile) * 2, var(--aa-max));
	margin-inline: auto;
}

.aa-eyebrow {
	font-family: var(--aa-font-display);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--aa-black-80);
	text-transform: capitalize;
}

.aa-heading {
	font-family: var(--aa-font-display);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--aa-black);
}

.aa-lead {
	font-size: 17px;
	line-height: 1.65;
	color: var(--aa-black-80);
}

.aa-section {
	padding-block: clamp(64px, 8vw, 100px);
}

.aa-main > :not(.aa-hero) {
	position: relative;
	z-index: 2;
}

.aa-about {
	background: var(--aa-cream);
}

.aa-services,
.aa-blog {
	background: var(--aa-cream);
}

/* Buttons */
.aa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border: none;
	border-radius: var(--aa-radius);
	font-family: var(--aa-font-display);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: transform var(--aa-ease), opacity var(--aa-ease), background var(--aa-ease);
}

.aa-btn:hover {
	transform: translateY(-1px);
}

.aa-btn--white {
	background: var(--aa-white);
	color: var(--aa-black);
}

.aa-btn--black {
	background: var(--aa-black);
	color: var(--aa-white);
}

.aa-btn--accent {
	background: var(--aa-accent);
	color: var(--aa-white);
}

.aa-btn--ghost {
	background: transparent;
	color: var(--aa-white);
	border: 1px solid var(--aa-white-10);
}

/* Header */
.aa-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	width: 100%;
	overflow: hidden;
	background: rgba(18, 18, 18, 0.28);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	transition: background var(--aa-ease), backdrop-filter var(--aa-ease), box-shadow var(--aa-ease);
}

.aa-header::before {
	content: "";
	position: absolute;
	inset: -60% -30%;
	z-index: -1;
	background:
		radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
		radial-gradient(ellipse 70% 50% at 80% 100%, rgba(195, 96, 54, 0.14) 0%, transparent 50%),
		linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, transparent 42%, rgba(255, 255, 255, 0.06) 58%, transparent 100%);
	background-size: 100% 100%, 100% 100%, 220% 100%;
	animation: aa-header-liquid 16s ease-in-out infinite;
	pointer-events: none;
}

.aa-header::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
	pointer-events: none;
}

@keyframes aa-header-liquid {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
		background-position: 0% 50%, 0% 50%, 0% 50%;
	}

	50% {
		transform: translate3d(1.5%, -1%, 0);
		background-position: 10% 40%, 90% 60%, 100% 50%;
	}
}

.aa-header.is-scrolled {
	background: rgba(18, 18, 18, 0.42);
	backdrop-filter: blur(28px) saturate(180%);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

@media (prefers-reduced-motion: reduce) {
	.aa-header::before {
		animation: none;
	}
}

.aa-header__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(100% - var(--aa-pad-mobile) * 2, var(--aa-max));
	margin-inline: auto;
	padding-block: 20px;
}

.aa-logo img {
	width: 100px;
	height: auto;
}

@media (max-width: 768px) {
    .aa-logo img {
        width: 70px;
        height: auto;
    }
}

.aa-nav {
	display: none;
}

.aa-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
}

.aa-nav__link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-family: var(--aa-font-display);
	font-size: 14px;
	font-weight: 500;
	color: var(--aa-white);
}

.aa-nav__item.is-active .aa-nav__link,
.aa-nav__link:hover {
	color: var(--aa-accent-hot);
}

.aa-nav__line {
	display: block;
	width: 100%;
	height: 1px;
	background: var(--aa-white);
	opacity: 0;
	transition: opacity var(--aa-ease);
}

.aa-nav__item.is-active .aa-nav__line {
	opacity: 1;
	background: var(--aa-accent-hot);
}

.aa-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.aa-header__cta {
	display: none;
}

.aa-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 40px;
	height: 40px;
	padding: 8px;
	border: none;
	background: transparent;
	cursor: pointer;
}

.aa-menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--aa-white);
	transition: transform var(--aa-ease), opacity var(--aa-ease);
}

.aa-menu-toggle.is-open span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.aa-menu-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.aa-menu-toggle.is-open span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.aa-mobile-nav {
	position: fixed;
	inset: 72px 0 0;
	z-index: 99;
	display: none;
	flex-direction: column;
	gap: 8px;
	padding: 24px var(--aa-pad-mobile);
	background: rgba(18, 18, 18, 0.96);
	backdrop-filter: blur(16px);
}

.aa-mobile-nav.is-open {
	display: flex;
}

.aa-mobile-nav a {
	padding: 12px 0;
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 500;
	color: var(--aa-white);
	border-bottom: 1px solid var(--aa-white-10);
}

/* Hero */
.aa-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100dvh;
	isolation: isolate;
}

.aa-hero__video-wrap,
.aa-hero__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	pointer-events: none;
}

.aa-hero__video-wrap {
	z-index: 0;
}

.aa-hero__video-wrap video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aa-hero__overlay {
	z-index: 1;
	background: rgba(0, 0, 0, 0.65);
}

.aa-hero.is-past .aa-hero__video-wrap,
.aa-hero.is-past .aa-hero__overlay {
	visibility: hidden;
}

.aa-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	width: min(100% - var(--aa-pad-mobile) * 2, var(--aa-max));
	min-height: 100vh;
	min-height: 100dvh;
	margin-inline: auto;
	padding: 120px 0 50px;
}

.aa-hero__copy {
	flex: 1 1 320px;
	max-width: 600px;
	min-width: 0;
}

.aa-hero__title {
	font-family: var(--aa-font-display);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--aa-white);
}

.aa-hero__subtitle {
	margin-top: 24px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--aa-white);
}

.aa-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.aa-hero__aside {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	width: 100%;
	max-width: 350px;
	margin-left: auto;
	align-self: flex-end;
	min-width: 0;
}

.aa-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.aa-stat__value {
	display: flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--aa-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	color: var(--aa-white);
}

.aa-stat__suffix {
	font-size: 0.6em;
}

.aa-stat__label {
	margin-top: 4px;
	font-size: 14px;
	color: var(--aa-white-80);
}

/* About */
.aa-about__inner {
	display: flex;
	flex-direction: column;
	gap: 72px;
}

.aa-about__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 750px;
}

.aa-about .aa-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--aa-black-80);
}

.aa-about__title {
	font-family: var(--aa-font-display);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--aa-black);
}

.aa-about__values {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

.aa-value-card h3 {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 8px;
	color: var(--aa-black);
}

.aa-value-card p {
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--aa-black);
	opacity: 0.8;
}

.aa-about__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.aa-about__lane {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.aa-about__lane--a {
	gap: 32px;
}

.aa-about__lane--b,
.aa-about__lane--feature {
	gap: 20px;
}

.aa-about__text {
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--aa-black-80);
}

.aa-about__figure {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: 0;
}

.aa-about__figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.aa-about__figure--portrait {
	flex: 1;
	min-height: 320px;
}

.aa-about__figure--wide {
	aspect-ratio: 2000 / 1218;
	flex: none;
	width: 100%;
	height: 600px;
}

.aa-about__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.aa-btn--compact {
	padding: 10px 20px;
	border-radius: 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Projects */
.aa-projects {
	background: #e0dcd7;
}

.aa-projects__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.aa-projects__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.aa-projects__intro {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 750px;
	flex: 1;
}

.aa-projects .aa-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--aa-black-80);
}

.aa-projects__title {
	font-family: var(--aa-font-display);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--aa-black);
}

.aa-projects__body {
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
}

.aa-projects__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.aa-project-card__link {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: inherit;
}

.aa-project-card__image {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 1076 / 720;
	height: 360px;
}

.aa-project-card__image img {
	width: 105%;
	height: 105%;
	margin: -2.5%;
	object-fit: cover;
}

.aa-project-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aa-project-card h3 {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--aa-black);
}

.aa-project-card__body > p:not(.aa-project-card__meta) {
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--aa-black);
}

.aa-project-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--aa-font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--aa-black-60);
}

.aa-project-featured {
	position: relative;
	display: block;
	min-height: 280px;
	overflow: hidden;
	color: var(--aa-white);
}

.aa-project-featured img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aa-project-featured__cover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	padding: 40px 24px;
	text-align: center;
	background: linear-gradient(180deg, transparent 0%, transparent 68%, rgba(18, 18, 18, 0.8) 74%, rgba(18, 18, 18, 0.8) 100%);
}

.aa-project-featured h3 {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--aa-white);
}

.aa-project-featured p {
	max-width: 720px;
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--aa-white);
}

.aa-page-content img {
	border-radius: 0;
}

/* Services */
.aa-services__header {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin-bottom: 48px;
}

.aa-services__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.aa-services__split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-bottom: 48px;
}

.aa-services__image {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 3 / 2;
}

.aa-services__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aa-accordion {
	border-top: 1px solid var(--aa-border);
}

.aa-accordion__item {
	border-bottom: 1px solid var(--aa-border);
}

.aa-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px 0;
	border: none;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.aa-accordion__trigger h3 {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 600;
}

.aa-accordion__icon {
	position: relative;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.aa-accordion__icon::before,
.aa-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background: var(--aa-black);
	transform: translate(-50%, -50%);
	transition: transform var(--aa-ease);
}

.aa-accordion__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.aa-accordion__item.is-open .aa-accordion__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.aa-accordion__panel {
	display: none;
	padding-bottom: 20px;
	font-size: 15px;
	color: var(--aa-black-80);
}

.aa-accordion__item.is-open .aa-accordion__panel {
	display: block;
}

.aa-service-detail {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	padding: 32px 0;
	border-top: 1px solid var(--aa-border);
}

.aa-service-detail h4 {
	font-family: var(--aa-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	margin-bottom: 12px;
}

.aa-service-detail__image {
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 3 / 4;
}

.aa-service-detail__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aa-checklist {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
}

.aa-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
}

.aa-checklist li::before {
	content: "";
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin-top: 8px;
	border-radius: 50%;
	background: var(--aa-black);
}

/* Inner pages */
.aa-page-hero {
	position: relative;
	z-index: 2;
	padding-block: clamp(120px, 15vw, 160px) clamp(48px, 6vw, 72px);
	background: var(--aa-black);
	color: var(--aa-white);
}

.aa-page-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	max-width: none;
	text-align: left;
}

.aa-page-hero__eyebrow {
	color: var(--aa-white-80);
	text-align: left;
}

.aa-page-hero__title {
	font-family: var(--aa-font-display);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-align: left;
	width: 100%;
}

.aa-page-hero__lead {
	font-size: 18px;
	line-height: 1.6;
	color: var(--aa-white-80);
	max-width: 640px;
	text-align: left;
}

.aa-page-content {
	font-size: 17px;
	line-height: 1.65;
	color: var(--aa-black-80);
}

.aa-page-content > * + * {
	margin-top: 1em;
}

/* Single project */
.aa-project-single__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(420px, 72vh, 760px);
	margin-top: 0;
	overflow: hidden;
}

.aa-project-single__hero-media {
	position: absolute;
	inset: 0;
}

.aa-project-single__hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aa-project-single__hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 0.35) 45%, rgba(18, 18, 18, 0.82) 100%);
}

.aa-project-single__hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding-block: clamp(120px, 18vh, 180px) clamp(48px, 8vh, 80px);
	color: var(--aa-white);
}

.aa-project-single__hero--no-image {
	min-height: auto;
	background: var(--aa-cream);
}

.aa-project-single__hero--no-image .aa-project-single__hero-inner {
	padding-block: clamp(120px, 15vw, 160px) 48px;
	color: var(--aa-black);
}

.aa-project-single__hero-eyebrow {
	color: var(--aa-white-80);
}

.aa-project-single__hero--no-image .aa-project-single__hero-eyebrow {
	color: var(--aa-black-80);
}

.aa-project-single__hero-title {
	font-family: var(--aa-font-display);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.aa-project-single__hero-meta {
	font-size: 18px;
	line-height: 1.5;
	color: var(--aa-white-80);
}

.aa-project-single__hero--no-image .aa-project-single__hero-meta {
	color: var(--aa-black-80);
}

body.aa-project-page .aa-header {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom-color: transparent;
	box-shadow: none;
}

body.aa-project-page .aa-header.is-scrolled {
	background: rgba(18, 18, 18, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

.aa-project-single__content {
	background: var(--aa-cream);
	padding-top: clamp(48px, 6vw, 72px);
}

.aa-project-single__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

.aa-project-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.aa-project-single__meta-item p:last-child {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 500;
}

.aa-project-single__gallery {
	background: #e0dcd7;
}

.aa-project-single__gallery-header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 40px;
}

.aa-project-single__gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.aa-project-single__gallery-item {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	margin: 0;
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 4 / 3;
	cursor: zoom-in;
	background: transparent;
	transition: transform var(--aa-ease), box-shadow var(--aa-ease);
}

.aa-project-single__gallery-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(18, 18, 18, 0.12);
}

.aa-project-single__gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Lightbox */
body.aa-lightbox-open {
	overflow: hidden;
}

.aa-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.aa-lightbox[hidden] {
	display: none;
}

.aa-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 18, 18, 0.92);
}

.aa-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 1200px);
	max-height: 100%;
}

.aa-lightbox__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-height: calc(100vh - 120px);
	margin: 0;
	padding-inline: 72px;
}

.aa-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 0;
}

.aa-lightbox__close,
.aa-lightbox__nav {
	position: fixed;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--aa-white-10);
	border-radius: 50%;
	background: rgba(18, 18, 18, 0.65);
	color: var(--aa-white);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background var(--aa-ease), transform var(--aa-ease);
}

.aa-lightbox__close:hover,
.aa-lightbox__nav:hover:not(:disabled) {
	background: rgba(18, 18, 18, 0.9);
	transform: scale(1.04);
}

.aa-lightbox__close {
	top: 24px;
	right: 24px;
}

.aa-lightbox__nav--prev {
	left: 24px;
	top: 50%;
	margin-top: -24px;
}

.aa-lightbox__nav--next {
	right: 24px;
	top: 50%;
	margin-top: -24px;
}

.aa-lightbox__nav--prev:hover:not(:disabled),
.aa-lightbox__nav--next:hover:not(:disabled) {
	transform: scale(1.04);
}

.aa-lightbox__nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.aa-lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(18, 18, 18, 0.65);
	color: var(--aa-white);
	font-family: var(--aa-font-display);
	font-size: 14px;
	font-weight: 500;
}

.aa-project-single__nav {
	padding-top: 0;
	background: var(--aa-cream);
}

.aa-project-single__nav-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 32px;
}

.aa-project-single__pager {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.aa-project-single__pager-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 320px;
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.aa-project-single__pager-link--next {
	align-self: flex-end;
	text-align: right;
}

/* Single blog post */
.aa-single-post__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(420px, 72vh, 760px);
	margin-top: 0;
	overflow: hidden;
}

.aa-single-post__hero-media {
	position: absolute;
	inset: 0;
}

.aa-single-post__hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aa-single-post__hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 0.35) 45%, rgba(18, 18, 18, 0.82) 100%);
}

.aa-single-post__hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding-block: clamp(120px, 18vh, 180px) clamp(48px, 8vh, 80px);
	color: var(--aa-white);
}

.aa-single-post__hero--no-image {
	min-height: auto;
	background: var(--aa-cream);
}

.aa-single-post__hero--no-image .aa-single-post__hero-inner {
	padding-block: clamp(120px, 15vw, 160px) 48px;
	color: var(--aa-black);
}

.aa-single-post__hero-eyebrow {
	color: var(--aa-white-80);
}

.aa-single-post__hero--no-image .aa-single-post__hero-eyebrow {
	color: var(--aa-black-80);
}

.aa-single-post__hero-title {
	font-family: var(--aa-font-display);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.aa-single-post__hero-meta {
	font-size: 18px;
	line-height: 1.5;
	color: var(--aa-white-80);
}

.aa-single-post__hero--no-image .aa-single-post__hero-meta {
	color: var(--aa-black-80);
}

body.aa-single-post-page .aa-header {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom-color: transparent;
	box-shadow: none;
}

body.aa-single-post-page .aa-header.is-scrolled {
	background: rgba(18, 18, 18, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

.aa-single-post__content {
	background: var(--aa-cream);
	padding-top: clamp(48px, 6vw, 72px);
}

.aa-single-post__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

.aa-single-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.aa-single-post__meta-item p:last-child {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 500;
}

.aa-single-post__nav {
	padding-top: 0;
	background: var(--aa-cream);
}

.aa-single-post__nav-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 32px;
}

.aa-single-post__pager {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.aa-single-post__pager-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 320px;
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.aa-single-post__pager-link--next {
	align-self: flex-end;
	text-align: right;
}

.aa-projects--archive {
	background: var(--aa-cream);
}

.aa-project-card__title {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 600;
}

.aa-services-page__list {
	margin-top: 48px;
}

.aa-services-page {
	background: var(--aa-cream);
}

/* Contact */
.aa-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}

.aa-contact__details {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 32px;
	font-style: normal;
	font-size: 16px;
	line-height: 1.6;
}

.aa-contact__details strong {
	display: block;
	font-family: var(--aa-font-display);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.aa-contact__details a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.aa-contact__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	background: var(--aa-white);
	border-radius: var(--aa-radius);
	border: 1px solid var(--aa-border);
}

.aa-contact__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aa-contact__field label {
	font-family: var(--aa-font-display);
	font-size: 14px;
	font-weight: 500;
}

.aa-contact__field input,
.aa-contact__field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--aa-border);
	border-radius: var(--aa-radius);
	background: var(--aa-cream);
	color: var(--aa-black);
}

.aa-contact__field input:focus,
.aa-contact__field textarea:focus {
	outline: 2px solid var(--aa-accent);
	outline-offset: 2px;
}

.aa-contact__notice {
	padding: 16px 20px;
	margin-bottom: 24px;
	border-radius: var(--aa-radius);
	background: rgba(195, 96, 54, 0.12);
	border: 1px solid rgba(195, 96, 54, 0.3);
	font-size: 15px;
}

/* Service areas */
.aa-service-areas__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 720px;
	margin-bottom: 48px;
}

.aa-service-areas__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.aa-area-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.aa-area-card__image {
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.aa-area-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aa-area-card__body h3 {
	font-family: var(--aa-font-display);
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
}

.aa-area-card__body p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--aa-black-80);
}

.aa-service-areas__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid var(--aa-border);
}

/* Blog */
.aa-blog__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 48px;
}

.aa-blog__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 720px;
	flex: 1;
}

.aa-blog--archive {
	padding-top: 0;
}

.aa-blog__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.aa-post-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: transform var(--aa-ease);
}

.aa-post-card:hover {
	transform: translateY(-4px);
}

.aa-post-card__image {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 16 / 10;
	margin-bottom: 25px;
}

.aa-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.aa-post-card:hover .aa-post-card__image img {
	transform: scale(1.03);
}

.aa-post-card__badge {
	position: absolute;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--aa-black);
	color: var(--aa-white);
	font-size: 12px;
	font-weight: 500;
}

.aa-post-card__badge--date {
	top: 12px;
	left: 12px;
}

.aa-post-card__badge--cat {
	top: 12px;
	right: 12px;
}

.aa-post-card h3,
.aa-post-card__title {
	font-family: var(--aa-font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

.aa-post-card p {
	font-size: 15px;
	color: var(--aa-black-80);
}

.aa-pagination {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid var(--aa-border);
}

.aa-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.aa-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--aa-radius);
	font-family: var(--aa-font-display);
	font-size: 14px;
	font-weight: 600;
	color: var(--aa-black);
	transition: background var(--aa-ease), color var(--aa-ease);
}

.aa-pagination .page-numbers:hover:not(.current):not(.dots) {
	background: rgba(18, 18, 18, 0.06);
}

.aa-pagination .page-numbers.current {
	background: var(--aa-black);
	color: var(--aa-white);
}

/* Footer */
.aa-footer {
	background: var(--aa-black);
	color: var(--aa-white);
}

.aa-footer__cta {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	padding-block: clamp(48px, 6vw, 80px);
}

.aa-footer__cta h2 {
	font-family: var(--aa-font-display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 600;
	line-height: 1.05;
}

.aa-footer__cta p {
	max-width: 480px;
	font-size: 16px;
	color: var(--aa-white);
	opacity: 0.9;
}

.aa-footer__divider {
	height: 1px;
	background: var(--aa-white-10);
}

.aa-footer__main {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding-block: 48px;
}

.aa-footer__brand img {
	width: 64px;
	margin-bottom: 12px;
}

.aa-footer__tagline {
	font-size: 14px;
	color: var(--aa-white-80);
	margin-bottom: 24px;
}

.aa-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
	color: var(--aa-white-80);
}

.aa-footer__contact a {
	color: var(--aa-white);
}

.aa-footer__widgets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.aa-footer__widget h3 {
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 16px;
}

.aa-footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aa-footer-links a {
	font-size: 14px;
	color: var(--aa-white-80);
	transition: color var(--aa-ease);
}

.aa-footer-links a:hover {
	color: var(--aa-white);
}

.aa-newsletter h3 {
	font-family: var(--aa-font-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 16px;
}

.aa-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aa-newsletter__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--aa-white-80);
}

.aa-newsletter__field input {
	width: 100%;
	padding: 12px 0;
	border: none;
	border-bottom: 1px solid var(--aa-white-10);
	background: transparent;
	color: var(--aa-white);
}

.aa-newsletter__field input::placeholder {
	color: var(--aa-white-50);
}

.aa-newsletter__note {
	font-size: 13px;
	color: var(--aa-white-80);
}

.aa-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 24px;
	font-size: 13px;
	color: var(--aa-white-80);
}

.aa-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.aa-footer__social a {
	color: var(--aa-white-80);
	transition: color var(--aa-ease);
}

.aa-footer__social a:hover {
	color: var(--aa-white);
}

/* Reveal animations */
.aa-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.aa-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Tablet */
@media (min-width: 810px) {
	.aa-container {
		width: min(100% - var(--aa-pad-tablet) * 2, var(--aa-max));
	}

	.aa-header__inner {
		width: min(100% - var(--aa-pad-tablet) * 2, var(--aa-max));
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}

	.aa-nav {
		display: block;
		justify-self: start;
	}

	.aa-logo {
		justify-self: center;
	}

	.aa-header__actions {
		justify-self: end;
	}

	.aa-header__cta {
		display: inline-flex;
	}

	.aa-hero__content {
		width: min(100% - var(--aa-pad-tablet) * 2, var(--aa-max));
		flex-wrap: nowrap;
		align-items: flex-end;
	}

	.aa-hero__aside {
		flex: 0 0 auto;
		width: 100%;
		max-width: 275px;
		margin-left: auto;
		gap: 48px;
	}

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

	.aa-about__title {
		font-size: 36px;
	}

	.aa-about__values {
		grid-template-columns: repeat(3, 1fr);
	}

	.aa-about__inner {
		gap: 64px;
	}

	.aa-about__grid {
		grid-template-columns: 1fr 1fr 2fr;
		align-items: stretch;
	}

	.aa-about__lane--a {
		display: grid;
		grid-template-rows: auto 1fr;
	}

	.aa-about__lane--b {
		display: grid;
		grid-template-rows: 1fr auto;
	}

	.aa-about__figure--portrait {
		min-height: 0;
	}

	.aa-projects__title {
		font-size: 36px;
	}

	.aa-projects__grid {
		grid-template-columns: repeat(4, minmax(50px, 1fr));
	}

	.aa-project-card--span-2 {
		grid-column: span 2;
	}

	.aa-project-card h3 {
		font-size: 19px;
	}

	.aa-project-featured {
		min-height: 409px;
	}

	.aa-projects__grid {
		grid-template-columns: repeat(3, minmax(50px, 1fr));
	}

	.aa-project-card--span-2 {
		grid-column: span 1;
	}

	.aa-services__header {
		grid-template-columns: 1fr 1fr;
		align-items: end;
	}

	.aa-services__split {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.aa-service-detail {
		grid-template-columns: 1fr 1fr;
	}

	.aa-contact__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.aa-service-areas__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.aa-project-single__layout {
		grid-template-columns: 240px 1fr;
		align-items: start;
	}

	.aa-project-single__meta {
		flex-direction: column;
	}

	.aa-project-single__gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.aa-project-single__nav-inner {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
	}

	.aa-project-single__pager {
		flex-direction: row;
		justify-content: space-between;
		gap: 40px;
		width: 100%;
	}

	.aa-single-post__layout {
		grid-template-columns: 240px 1fr;
		align-items: start;
	}

	.aa-single-post__meta {
		flex-direction: column;
	}

	.aa-single-post__nav-inner {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
	}

	.aa-single-post__pager {
		flex-direction: row;
		justify-content: space-between;
		gap: 40px;
		width: 100%;
	}

	.aa-blog__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.aa-footer__cta {
		grid-template-columns: 1fr 1fr;
		align-items: end;
	}

	.aa-footer__main {
		grid-template-columns: 1.2fr 1fr 1fr;
	}
}

/* Desktop */
@media (min-width: 1200px) {
	.aa-container {
		width: min(100% - var(--aa-pad-desktop) * 2, var(--aa-max));
	}

	.aa-header__inner {
		width: min(100% - var(--aa-pad-desktop) * 2, var(--aa-max));
	}

	.aa-hero__content {
		width: min(100% - var(--aa-pad-desktop) * 2, var(--aa-max));
		padding-bottom: 50px;
	}

	.aa-hero__aside {
		max-width: 350px;
		margin-left: auto;
		gap: 64px;
	}

	.aa-projects__title {
		font-size: 42px;
	}

	.aa-projects__grid {
		grid-template-columns: repeat(4, minmax(50px, 1fr));
	}

	.aa-project-card--span-2 {
		grid-column: span 2;
	}

	.aa-project-card h3 {
		font-size: 20px;
	}

	.aa-project-featured {
		min-height: 480px;
	}

	.aa-blog__grid {
		grid-template-columns: repeat(3, 1fr);
		margin-top: 50px;
	}

	.aa-about__title {
		font-size: 42px;
	}

	.aa-value-card h3 {
		font-size: 20px;
	}

	.aa-service-areas__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.aa-project-single__gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 809px) {
	.aa-container,
	.aa-header__inner,
	.aa-hero__content {
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
		padding-inline: var(--aa-pad-mobile);
	}

	.aa-hero__content {
		flex-direction: column;
		align-items: stretch;
		gap: 48px;
	}

	.aa-main {
		overflow-x: clip;
		width: 100%;
	}

	.aa-hero__copy,
	.aa-hero__aside {
		min-width: 0;
		max-width: 100%;
		width: 100%;
	}

	.aa-hero__aside {
		margin-left: 0;
		gap: 32px;
	}

	.aa-about__inner {
		gap: 56px;
	}

	.aa-projects {
		background: var(--aa-cream);
		padding-block: 60px;
	}

	.aa-projects__inner {
		gap: 48px;
		width: 100%;
	}

	.aa-projects__header {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
	}

	.aa-projects__intro {
		grid-area: 1 / 1;
		position: relative;
		z-index: 0;
		max-width: none;
		gap: 8px;
		padding: 10px 10px 50px 10px;
		min-height: 140px;
		background: #e0dcd7;
	}

	.aa-projects__header > .aa-btn {
		grid-area: 1 / 1;
		z-index: 2;
		align-self: end;
		justify-self: end;
		margin: 0;
	}

	.aa-projects__body {
		gap: 24px;
		width: 100%;
		margin-inline: 0;
	}

	.aa-projects__grid {
		gap: 50px;
	}

	.aa-project-card__link {
		gap: 30px;
	}

	.aa-project-card__image {
		height: auto;
		aspect-ratio: 1076 / 720;
	}

	.aa-project-card__image img {
		width: 100%;
		height: 100%;
		margin: 0;
	}

	.aa-project-card--span-2 {
		grid-column: auto;
	}

	.aa-project-featured {
		min-height: 186px;
		aspect-ratio: 1.833 / 1;
	}

	.aa-project-featured__cover {
		padding: 24px 0;
	}
}

section#blog {
    padding-top: 0px;
}