/* Service pages, archive, and homepage mosaic. */

.aim-service img,
.aim-wrap img,
.aim-home-services img {
	max-width: 100%;
}

.aim-wrap {
	--aim-gap: 14px;
	--aim-navy: #263675;
	--aim-teal: #30babc;
	--aim-muted: #565656;
	--aim-text: #1a1a1a;
	width: min(1140px, calc(100% - 32px));
	margin: 36px auto 72px;
	color: var(--aim-text);
}

.aim-kicker {
	margin: 0 0 8px;
	color: var(--aim-teal);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.aim-page-head h1,
.aim-hero-copy h1,
.aim-heading,
.aim-overview h2,
.aim-related-services h2,
.aim-related-photos h2,
.aim-text-break h2,
.aim-cta h2 {
	font-family: "Abhaya Libre", Georgia, serif;
	color: var(--aim-navy);
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.aim-page-head h1,
.aim-hero-copy h1 {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3.4rem);
}

.aim-lead,
.aim-page-head p,
.aim-prose,
.aim-text-break p,
.aim-cta p {
	color: var(--aim-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.aim-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--aim-muted);
	font-size: 0.92rem;
}

.aim-crumb a {
	color: var(--aim-navy);
	text-decoration: none;
}

.aim-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0;
}

.aim-filters a,
.aim-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid var(--aim-navy);
	border-radius: 30px;
	color: var(--aim-navy);
	background: #fff;
	text-decoration: none;
	line-height: 1.2;
}

.aim-filters a.is-active,
.aim-btn {
	background: var(--aim-navy);
	color: #fff;
}

.aim-btn-outline {
	background: #fff;
	color: var(--aim-navy);
}

.aim-filters a:hover,
.aim-btn:hover,
.aim-btn:focus-visible {
	background: var(--aim-teal);
	border-color: var(--aim-teal);
	color: #fff;
}

.aim-mosaic,
.aim-grid {
	--aim-gap: 14px;
	display: grid;
	grid-auto-flow: dense;
	gap: var(--aim-gap);
	width: 100%;
}

.aim-mosaic,
.aim-grid-auto {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aim-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aim-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aim-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.aim-tile {
	position: relative;
	display: block;
	overflow: hidden;
	min-width: 0;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	color: #fff;
	text-decoration: none;
	background: #1c1c1c;
}

.aim-tile.aim-span-large {
	grid-column: span 2;
	grid-row: span 2;
}

.aim-tile.aim-span-wide {
	grid-column: span 2;
	aspect-ratio: 16 / 10;
}

.aim-tile.aim-tile-full {
	grid-column: 1 / -1;
	grid-row: auto;
	aspect-ratio: 21 / 9;
}

.aim-tile.aim-span-tall {
	grid-row: span 2;
	aspect-ratio: 3 / 4;
}

.aim-tile img,
.aim-tile-fallback,
.elementor .aim-tile img,
.aim-home-services .aim-tile img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center;
	display: block;
	transition: transform 0.5s ease;
}

.aim-tile-shade {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.18);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.aim-tile-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 36px 14px 14px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	text-align: center;
}

.aim-tile-title,
.aim-tile-meta {
	display: block;
}

.aim-tile-title {
	font-family: "Abhaya Libre", Georgia, serif;
	font-size: clamp(1.1rem, 2vw, 1.6rem);
	line-height: 1.2;
}

.aim-tile-meta {
	margin-top: 4px;
	font-size: 0.82rem;
	opacity: 0.92;
}

.aim-tile-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-top: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	transition: transform 0.5s ease;
}

.aim-tile-arrow svg {
	display: block;
}

.aim-tile:hover .aim-tile-arrow,
.aim-tile:focus-visible .aim-tile-arrow {
	transform: translateX(6px);
}

.aim-tile:hover img,
.aim-tile:focus-visible img {
	transform: scale(1.05);
}

.aim-tile:hover .aim-tile-shade,
.aim-tile:focus-visible .aim-tile-shade {
	opacity: 1;
}

.aim-tile:focus-visible,
.aim-btn:focus-visible,
.aim-lightbox:focus-visible,
.aim-slider-arrow:focus-visible,
.aim-cinema-more:focus-visible,
.aim-cinema-rail a:focus-visible {
	outline: 2px solid var(--aim-teal);
	outline-offset: 3px;
}

.aim-more,
.aim-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.aim-service {
	--aim-navy: #263675;
	--aim-teal: #30babc;
	--aim-muted: #565656;
	--aim-text: #1a1a1a;
	background: #fff;
	color: var(--aim-text);
}

.aim-cinema-hero {
	--aim-cinema-pink: #f0245a;
	--aim-cinema-serif: "Playfair Display", Georgia, serif;
	--aim-cinema-sans: "Josefin Sans", "Arial Narrow", sans-serif;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	background: #000;
	color: #fff;
}

.aim-cinema-frame {
	position: relative;
	height: 38vw;
	min-height: 320px;
	max-height: 560px;
	overflow: hidden;
	background: #000;
}

.aim-cinema-hero[data-fade] .aim-slider-track {
	display: block;
	transform: none !important;
}

.aim-cinema-hero[data-fade] .aim-slide {
	position: absolute;
	inset: 0;
	min-width: 0;
	margin: 0;
	opacity: 0;
	z-index: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.aim-cinema-hero[data-fade] .aim-slide.is-active {
	opacity: 1;
	z-index: 1;
	pointer-events: auto;
}

.aim-cinema-frame .aim-slide img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center;
}

.aim-cinema-scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75));
	pointer-events: none;
}

.aim-cinema-copy {
	position: absolute;
	z-index: 2;
	left: 75px;
	right: 120px;
	top: 50%;
	transform: translateY(-50%);
	max-width: 760px;
	pointer-events: none;
}

.aim-cinema-copy a {
	pointer-events: auto;
}

.aim-cinema-kicker {
	margin: 0;
	color: #fff;
	font-family: var(--aim-cinema-serif);
	font-size: 22px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
}

.aim-cinema-copy h1,
.aim-cinema-title {
	margin: 12px 0 0;
	color: #fff;
	font-family: var(--aim-cinema-sans);
	font-size: 52px;
	font-weight: 700;
	letter-spacing: 3px;
	line-height: 1.05;
	text-transform: uppercase;
}

.aim-cinema-desc {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.95);
	font-family: inherit;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	line-height: 1.5;
	max-width: 640px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.aim-cinema-more {
	display: inline-block;
	margin-top: 24px;
	color: #fff;
	font-family: var(--aim-cinema-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3px;
	text-decoration: none;
	text-transform: uppercase;
}

.aim-cinema-more:hover,
.aim-cinema-more:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.aim-cinema-frame .aim-slider-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0;
}

.aim-cinema-frame .aim-slider-dots button {
	box-sizing: border-box;
	width: 8px !important;
	height: 8px !important;
	min-width: 8px !important;
	min-height: 8px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: #fff !important;
	appearance: none;
	opacity: 0.5 !important;
	box-shadow: none !important;
}

.aim-cinema-frame .aim-slider-dots button.is-active {
	opacity: 1 !important;
	box-shadow: none !important;
}

.aim-cinema-rail {
	position: absolute;
	top: 28px;
	right: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.aim-cinema-rail a {
	display: inline-flex;
	align-items: center;
	height: 34px;
	min-height: 34px;
	padding: 0 0 0 12px;
	font-family: var(--aim-cinema-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 34px;
	text-decoration: none;
	text-transform: uppercase;
}

.aim-cinema-rail .aim-rail-related {
	background: var(--aim-cinema-pink);
	color: #fff;
}

.aim-cinema-rail .aim-rail-contact {
	background: #fff;
	color: #111;
}

.aim-rail-ico {
	display: inline-block;
	width: 34px;
	height: 34px;
	margin-left: 10px;
	background: transparent center / 14px 14px no-repeat;
}

.aim-rail-related .aim-rail-ico {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3C/svg%3E");
}

.aim-rail-contact .aim-rail-ico {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0245a' stroke-width='2'%3E%3Cpath d='M6 7h12l-1 13H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
}

.aim-cinema-rail a:hover,
.aim-cinema-rail a:focus-visible {
	filter: brightness(1.08);
}

.aim-service-body {
	margin-top: 28px;
}

#aim-details,
#aim-related {
	scroll-margin-top: 96px;
}

.aim-cinema-stage {
	display: grid;
	gap: 0;
	margin: 8px 0 36px;
	background: #fff;
}

.aim-cinema-stage.is-split,
.aim-cinema-stage.is-still {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.aim-cinema-stage.is-split {
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
	min-height: 420px;
}

.aim-cinema-stage.is-still {
	grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.7fr);
	min-height: 460px;
}

.aim-cinema-still {
	position: relative;
	margin: 0;
	min-height: 360px;
	overflow: hidden;
	background: #f3f3f3;
}

.aim-cinema-still a {
	position: absolute;
	inset: 0;
	display: block;
}

.aim-cinema-still img {
	display: block;
	width: 100%;
	height: 100%;
}

.aim-cinema-still img {
	position: absolute;
	inset: 0;
	object-fit: cover;
}

.aim-cinema-still figcaption {
	pointer-events: none;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	margin: 0;
	padding: 42px 16px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
	color: #fff;
	font-family: "Abhaya Libre", Georgia, serif;
	font-size: clamp(1.2rem, 2vw, 1.8rem);
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.aim-cinema-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 36px 32px;
	background: #fff;
}

.aim-cinema-stage.is-text .aim-cinema-panel {
	max-width: 760px;
	padding-left: 0;
	padding-right: 0;
}

/* Service Description Section */
.aim-service-description {
	margin: 28px 0 48px;
	padding: 0;
	background: #fff;
}

.aim-service-description.has-image {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr);
	gap: 40px;
	align-items: center;
}

.aim-service-description.is-image-right {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr);
}

.aim-service-description.is-image-right .aim-desc-image {
	order: 2;
}

.aim-service-description.is-image-right .aim-desc-content {
	order: 1;
}

.aim-desc-image {
	position: relative;
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #f4f4f4;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.aim-desc-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.aim-desc-image img {
	display: block;
	width: 100%;
	height: auto !important;
	max-height: none;
	object-fit: contain;
	transition: transform 0.4s ease;
}

.aim-desc-image:hover img {
	transform: scale(1.02);
}

.aim-desc-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.aim-service-description.is-text-only {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 860px) {
	.aim-service-description.has-image,
	.aim-service-description.is-image-right {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.aim-service-description.is-image-right .aim-desc-image {
		order: 0;
	}

	.aim-service-description.is-image-right .aim-desc-content {
		order: 1;
	}
}

/* Rich Prose Typography (Headings, Paragraphs, Lists, Spacing) */
.aim-prose {
	color: #2c2c2c;
	font-size: 1.05rem;
	line-height: 1.75;
}

.aim-prose p {
	margin: 0 0 1.2em;
	color: #3e3e3e;
}

.aim-prose p:last-child {
	margin-bottom: 0;
}

.aim-prose h2,
.aim-prose h3,
.aim-prose h4 {
	font-family: "Abhaya Libre", Georgia, serif;
	color: var(--aim-navy, #263675);
	line-height: 1.25;
	margin-top: 1.4em;
	margin-bottom: 0.6em;
}

.aim-prose h2:first-child,
.aim-prose h3:first-child,
.aim-prose h4:first-child {
	margin-top: 0;
}

.aim-prose h2 {
	font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.aim-prose h3 {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.aim-prose h4 {
	font-size: 1.15rem;
}

.aim-prose ul,
.aim-prose ol {
	margin: 0 0 1.4em;
	padding-left: 24px;
}

.aim-prose ul {
	list-style: disc;
}

.aim-prose ol {
	list-style: decimal;
}

.aim-prose li {
	margin-bottom: 0.5em;
	color: #3e3e3e;
	line-height: 1.65;
}

.aim-prose li:last-child {
	margin-bottom: 0;
}

.aim-prose strong,
.aim-prose b {
	color: #111;
	font-weight: 600;
}

.aim-prose img {
	max-width: 100%;
	height: auto;
}

.aim-prose a {
	color: var(--aim-teal, #30babc);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.aim-prose a:hover {
	color: var(--aim-navy, #263675);
}

.aim-prose blockquote {
	margin: 1.4em 0;
	padding: 12px 20px;
	border-left: 4px solid var(--aim-teal, #30babc);
	background: #f7fafc;
	font-style: italic;
	color: #4a5568;
}

.aim-cinema-head {
	margin: 8px 0 16px;
}

.aim-cinema-head h2,
.aim-related-services h2 {
	margin: 0;
	font-family: "Abhaya Libre", Georgia, serif;
	color: var(--aim-navy);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.15;
}

.aim-cinema-photos,
.aim-related-services {
	margin: 36px 0;
}

.aim-cinema-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 12px;
	align-items: start;
}

.aim-cinema-grid.is-solo {
	grid-template-columns: minmax(0, 1fr);
}

.aim-shot {
	position: relative;
	display: block;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 14px;
	background: #111;
}

.aim-shot.is-wide {
	grid-column: span 12;
}

.aim-cinema-grid.is-solo .aim-shot {
	grid-column: 1 / -1;
}

.aim-shot.is-square,
.aim-shot.is-portrait {
	grid-column: span 6;
}

.aim-shot a {
	position: relative;
	display: block;
	cursor: zoom-in;
}

.aim-shot img {
	position: static !important;
	inset: auto !important;
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: 100%;
	max-height: none;
	object-fit: contain;
	object-position: center;
	transition: transform 0.45s ease;
}

.aim-shot:hover img,
.aim-shot:focus-within img {
	transform: scale(1.04);
}

.aim-shot-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	margin: 0;
	padding: 56px 18px 18px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 65%, rgba(0, 0, 0, 0) 100%);
	color: #fff;
	text-align: center;
	pointer-events: none;
	transition: background 0.35s ease;
}

.aim-shot:hover .aim-shot-caption,
.aim-shot:focus-within .aim-shot-caption {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0) 100%);
}

.aim-shot-title,
.aim-shot-subheading {
	display: block;
	font-family: "Abhaya Libre", Georgia, serif;
	font-size: clamp(1rem, 1.8vw, 1.55rem);
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.aim-shot-desc {
	margin: 8px 0 0;
	font-size: clamp(0.85rem, 1.2vw, 0.98rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transform: translateY(8px);
	transition: opacity 0.35s ease, max-height 0.35s ease, transform 0.35s ease;
}

.aim-shot:hover .aim-shot-desc,
.aim-shot:focus-within .aim-shot-desc {
	opacity: 1;
	max-height: 160px;
	transform: translateY(0);
}

.aim-shot.is-desc-only .aim-shot-caption {
	background: transparent;
}

.aim-shot.is-desc-only:hover .aim-shot-caption,
.aim-shot.is-desc-only:focus-within .aim-shot-caption {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0) 100%);
}

.aim-film {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.aim-film-tile {
	aspect-ratio: 16 / 10;
	border-radius: 0;
}

.aim-film-tile .aim-tile-caption {
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.18));
}

.aim-film-tile .aim-tile-title {
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.aim-service .aim-quote {
	max-width: 740px;
	margin: 40px auto;
	padding: 0;
	border: 0;
	text-align: center;
}

.aim-service .aim-quote p {
	font-style: italic;
	font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.aim-service .aim-quote cite {
	display: block;
	color: var(--aim-muted);
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.aim-slider {
	position: relative;
	margin: 8px 0 28px;
}

.aim-slider-viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: var(--aim-ratio, 16 / 9);
	border-radius: 18px;
	background: #f4f4f4;
}

.aim-slider-track {
	position: absolute;
	inset: 0;
	display: flex;
	height: 100%;
	transition: transform 0.35s ease;
}

.aim-slide {
	min-width: 100%;
	height: 100%;
	margin: 0;
}

.aim-slide a,
.aim-slide img {
	display: block;
	width: 100%;
	height: 100%;
}

.aim-slide img {
	object-fit: contain;
}

/*
 * Theme mobile CSS (max-width 575px) pads every button 15px 30px.
 * That selector is stronger than a single class, so these controls opt out.
 */
.aim-slider button.aim-slider-arrow,
.aim-lightbox-modal button.aim-lightbox-close,
.aim-lightbox-modal button.aim-lightbox-prev,
.aim-lightbox-modal button.aim-lightbox-next {
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	max-width: 44px !important;
	max-height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #263675 !important;
	font-size: 0 !important;
	font-weight: 400 !important;
	line-height: 0 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-indent: 0 !important;
	white-space: nowrap !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
	appearance: none;
	cursor: pointer;
	overflow: hidden;
}

.aim-slider button.aim-slider-arrow::before,
.aim-slider button.aim-slider-arrow::after,
.aim-lightbox-modal button.aim-lightbox-close::before,
.aim-lightbox-modal button.aim-lightbox-close::after,
.aim-lightbox-modal button.aim-lightbox-prev::before,
.aim-lightbox-modal button.aim-lightbox-prev::after,
.aim-lightbox-modal button.aim-lightbox-next::before,
.aim-lightbox-modal button.aim-lightbox-next::after {
	content: none !important;
	display: none !important;
}

.aim-slider button.aim-slider-arrow svg,
.aim-lightbox-modal button.aim-lightbox-close svg,
.aim-lightbox-modal button.aim-lightbox-prev svg,
.aim-lightbox-modal button.aim-lightbox-next svg {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	pointer-events: none;
}

.aim-slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
}

.aim-slider-prev { left: 10px; }
.aim-slider-next { right: 10px; }

.aim-slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.aim-slider-dots button {
	width: 12px;
	height: 12px;
	min-height: 44px;
	min-width: 44px;
	box-sizing: border-box !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: transparent;
	box-shadow: inset 0 0 0 6px #d0d0d0;
	cursor: pointer;
}

.aim-slider-dots button.is-active {
	box-shadow: inset 0 0 0 6px #263675;
}

.aim-overview,
.aim-related-photos,
.aim-related-services,
.aim-grid-block,
.aim-quote,
.aim-features,
.aim-steps,
.aim-applications,
.aim-project,
.aim-split,
.aim-image-full,
.aim-image-contained,
.aim-heading,
.aim-prose {
	margin: 28px 0;
}

.aim-image-contained {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.aim-image-full img,
.aim-image-contained img,
.aim-grid-item img,
.aim-related-grid img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.aim-grid-auto .aim-grid-item.aim-span-large,
.aim-grid-auto .aim-grid-item.aim-span-wide {
	grid-column: span 2;
}

.aim-grid-auto .aim-grid-item.aim-span-tall,
.aim-grid-auto .aim-grid-item.aim-span-large {
	grid-row: span 2;
}

.aim-grid-item img,
.aim-grid-auto .aim-grid-item img,
.aim-grid-auto .aim-grid-item.aim-span-wide img,
.aim-grid-auto .aim-grid-item.aim-span-tall img,
.aim-grid-auto .aim-grid-item.aim-span-large img {
	width: 100%;
	height: auto !important;
	max-height: none;
	aspect-ratio: auto;
	object-fit: contain;
}

.aim-text-break {
	width: 100%;
	margin: 8px 0 18px;
	padding: 8px 0 4px;
}

.aim-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--aim-gap);
	align-items: center;
}

.aim-split.aim-image-right .aim-split-media { order: 2; }

.aim-quote {
	margin-left: 0;
	padding: 8px 0 8px 18px;
	border-left: 4px solid var(--aim-teal);
}

.aim-quote p {
	margin: 0 0 8px;
	color: var(--aim-navy);
	font-family: "Abhaya Libre", Georgia, serif;
	font-size: 1.5rem;
	line-height: 1.35;
}

.aim-features,
.aim-steps,
.aim-applications {
	list-style: none;
	padding: 0;
}

.aim-features li,
.aim-steps li,
.aim-applications li {
	margin: 0 0 12px;
	padding: 14px 16px;
	background: #f7f7f7;
	border-radius: 12px;
}

.aim-features strong,
.aim-steps strong,
.aim-project dt {
	display: block;
	color: var(--aim-navy);
}

.aim-steps { counter-reset: aimstep; }
.aim-steps li { counter-increment: aimstep; }
.aim-steps li::before {
	content: counter(aimstep, decimal-leading-zero);
	display: block;
	margin-bottom: 4px;
	color: var(--aim-teal);
	font-weight: 700;
}

.aim-project {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--aim-gap);
	margin: 28px 0;
}

.aim-project div {
	padding: 16px;
	background: #f7f7f7;
	border-radius: 12px;
}

.aim-project dd { margin: 4px 0 0; }

.aim-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--aim-gap);
}

.aim-cta {
	margin-top: 36px;
	padding: 28px;
	border-radius: 18px;
	background: #f7f7f7;
}

.aim-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.aim-pagination a,
.aim-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	background: #f3f3f3;
	color: var(--aim-navy);
	text-decoration: none;
}

.aim-pagination .current {
	background: var(--aim-navy);
	color: #fff;
}

.aim-home-services {
	--aim-navy: #081b38;
	--aim-teal: #2eb8b0;
	width: min(1460px, calc(100% - 2 * clamp(14px, 2vw, 30px)));
	margin: 0 auto 20px;
	padding: clamp(36px, 5vw, 72px) 15px;
	box-sizing: border-box;
	border-radius: 24px;
	background: #f4f7fa;
	color: #10213c;
}

.aim-home-services-empty {
	display: none !important;
}

.aim-home-head {
	margin: 0 0 28px;
	text-align: left;
}

.aim-home-services .aim-kicker {
	margin: 0 0 10px;
	color: #2eb8b0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-transform: uppercase;
}

.aim-home-head h2 {
	margin: 0 0 12px;
	color: #081b38;
	font-family: inherit;
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

.aim-home-lead {
	max-width: 42rem;
	margin: 0;
	color: #617087;
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.7;
}

.aim-home-services .aim-mosaic {
	grid-template-columns: 1fr;
	gap: 18px;
	align-items: stretch;
}

.aim-home-services .aim-tile,
.aim-home-services .aim-tile.aim-span-large,
.aim-home-services .aim-tile.aim-span-wide,
.aim-home-services .aim-tile.aim-span-tall {
	grid-column: auto;
	grid-row: auto;
	height: 100%;
	aspect-ratio: 16 / 11;
	min-height: 240px;
	border-radius: 18px;
}

.aim-home-services .aim-tile.aim-tile-full {
	grid-column: 1 / -1;
	aspect-ratio: 21 / 9;
	min-height: 220px;
}

.aim-home-services .aim-tile img {
	transition: transform 0.5s ease;
}

.aim-home-services .aim-tile:hover img,
.aim-home-services .aim-tile:focus-visible img {
	transform: scale(1.05);
}

.aim-home-services .aim-tile-caption {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 72px 18px 18px;
	background: linear-gradient(to top, rgba(8, 27, 56, 0.94) 0%, rgba(8, 27, 56, 0.72) 42%, rgba(8, 27, 56, 0) 78%);
	text-align: left;
}

.aim-home-services .aim-tile-title {
	font-family: inherit;
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.aim-home-services .aim-tile-meta {
	max-width: 36ch;
	font-size: 0.92rem;
	line-height: 1.4;
}

.aim-home-services .aim-more {
	justify-content: flex-start;
	margin-top: 22px;
}

.aim-service-single .pbmit-title-bar-wrapper,
.aim-services-archive .pbmit-title-bar-wrapper,
.tax-aim_service_category .pbmit-title-bar-wrapper {
	display: none !important;
	min-height: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.aim-service-single .pbmit-header-style-2:not(.pbmit-fixed-header) .pbmit-header-overlay,
.aim-services-archive .pbmit-header-style-2:not(.pbmit-fixed-header) .pbmit-header-overlay,
.tax-aim_service_category .pbmit-header-style-2:not(.pbmit-fixed-header) .pbmit-header-overlay {
	padding-bottom: 28px !important;
}

.aim-service-single #content.site-content,
.aim-service-single .site-content-wrap,
.aim-service-single .site-content-contain {
	margin-top: 0;
	padding-top: 0;
}

.aim-service-single #content.site-content.container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.aim-service-single .site-content > .row {
	display: block;
	margin-left: 0;
	margin-right: 0;
}

.aim-service-single .aim-cinema-hero {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.aim-lightbox-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.aim-lightbox-modal[hidden] { display: none; }

.aim-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
}

.aim-lightbox-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: min(1100px, calc(100vw - 32px));
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	color: #fff;
}

.aim-lightbox-figure {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
	margin: 0;
}

.aim-lightbox-stage {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

.aim-lightbox-figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 180px);
	max-height: calc(100dvh - 180px);
	width: auto;
	height: auto;
	margin: 0;
	object-fit: contain;
}

.aim-lightbox-figure figcaption {
	margin-top: 8px;
	text-align: center;
}

.aim-lightbox-modal .aim-lightbox-close,
.aim-lightbox-modal .aim-lightbox-prev,
.aim-lightbox-modal .aim-lightbox-next {
	position: absolute;
	z-index: 2;
	inset: auto;
}

.aim-lightbox-modal .aim-lightbox-close {
	top: 12px;
	right: 12px;
}

.aim-lightbox-modal .aim-lightbox-prev,
.aim-lightbox-modal .aim-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
}

.aim-lightbox-modal .aim-lightbox-prev { left: 12px; }
.aim-lightbox-modal .aim-lightbox-next { right: 12px; }

.aim-lightbox-count,
.aim-lightbox-thumbs {
	width: 100%;
	text-align: center;
}

.aim-lightbox-thumbs {
	display: flex;
	justify-content: center;
	gap: 6px;
	overflow-x: auto;
}

.aim-lightbox-thumbs button {
	position: relative;
	width: 56px;
	height: 44px;
	min-width: 56px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
	transform: none;
	inset: auto;
}

.aim-lightbox-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aim-lightbox-thumbs .is-active { border-color: #fff; }

body.aim-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
	.aim-mosaic,
	.aim-grid-auto,
	.aim-grid-3,
	.aim-grid-4,
	.aim-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aim-tile.aim-span-large {
		grid-column: span 2;
		grid-row: auto;
		aspect-ratio: 4 / 3;
	}

	.aim-tile.aim-span-tall { grid-row: auto; }
	.aim-grid-auto .aim-grid-item.aim-span-large,
	.aim-grid-auto .aim-grid-item.aim-span-tall { grid-row: auto; }
	.aim-project { grid-template-columns: 1fr; }
	.aim-split { grid-template-columns: 1fr; }
	.aim-split.aim-image-right .aim-split-media { order: 0; }

	.aim-cinema-stage.is-split,
	.aim-cinema-stage.is-still {
		grid-template-columns: 1fr;
	}

	.aim-shot.is-square,
	.aim-shot.is-portrait {
		grid-column: span 6;
	}

	.aim-cinema-stage.is-split,
	.aim-cinema-stage.is-still {
		width: auto;
		max-width: none;
		margin-left: 0;
	}

	.aim-cinema-copy {
		left: 32px;
		right: 72px;
	}

	.aim-cinema-kicker {
		font-size: 18px;
	}

	.aim-cinema-copy h1,
	.aim-cinema-title {
		font-size: 34px;
		letter-spacing: 2px;
	}
}

@media (max-width: 700px) {
	.aim-cinema-copy {
		left: 20px;
		right: 56px;
	}

	.aim-cinema-kicker {
		font-size: 16px;
	}

	.aim-cinema-copy h1,
	.aim-cinema-title {
		font-size: 24px;
		letter-spacing: 1px;
	}

	.aim-cinema-desc {
		margin-top: 8px;
		font-size: 0.95rem;
		-webkit-line-clamp: 3;
	}

	.aim-cinema-rail a span:first-child {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.aim-cinema-rail a {
		width: 34px;
		padding: 0;
	}

	.aim-rail-ico {
		margin-left: 0;
	}
}

@media (min-width: 768px) {
	.aim-home-services .aim-mosaic,
	.aim-home-services.is-pair .aim-mosaic,
	.aim-home-services.is-many .aim-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aim-home-services.is-solo .aim-mosaic {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 1200px) {
	.aim-home-services.is-many .aim-mosaic {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.aim-home-services .aim-mosaic {
		grid-template-columns: 1fr;
	}

	.aim-home-services .aim-more {
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.aim-wrap { width: calc(100% - 24px); }

	.aim-home-services {
		width: calc(100% - 24px);
		padding-right: 16px;
		padding-left: 16px;
	}

	.aim-mosaic,
	.aim-grid,
	.aim-grid-2,
	.aim-grid-3,
	.aim-grid-4,
	.aim-related-grid,
	.aim-film,
	.aim-cinema-grid {
		grid-template-columns: 1fr;
	}

	.aim-shot.is-wide,
	.aim-shot.is-square,
	.aim-shot.is-portrait,
	.aim-cinema-grid.is-solo .aim-shot {
		grid-column: auto;
	}

	.aim-tile,
	.aim-tile.aim-span-large,
	.aim-tile.aim-span-wide,
	.aim-tile.aim-span-tall,
	.aim-grid-item,
	.aim-grid-auto .aim-grid-item.aim-span-large,
	.aim-grid-auto .aim-grid-item.aim-span-wide {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 4 / 3;
	}
}

@media (hover: none) {
	.aim-shot-desc {
		opacity: 1;
		max-height: 160px;
		transform: none;
	}

	.aim-shot.is-desc-only .aim-shot-caption {
		background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0) 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.aim-slider-track,
	.aim-cinema-hero[data-fade] .aim-slide,
	.aim-tile img,
	.aim-tile-shade,
	.aim-shot img,
	.aim-shot-desc { transition: none; }
}
