/* ============ HOME HERO ============ */
.hero--home {
	height: 780px;
}
.hero--home__overlay {
	background: linear-gradient(180deg, rgba(15, 22, 32, .35) 0%, rgba(15, 22, 32, .15) 45%, rgba(15, 22, 32, .85) 100%);
}
/* Soft fade from the banner into the dark page background below it. */
.hero--home::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 180px;
	background: linear-gradient(180deg, rgba(15, 22, 32, 0) 0%, var(--aab-bg) 100%);
	z-index: 2;
	pointer-events: none;
}
.hero--home__copy {
	position: absolute;
	left: 40px;
	bottom: 92px;
	top: auto;
	z-index: 4;
	color: #fff;
}
/* A & B sit on a single horizontal line (not the oblique/overlapping stack). */
.hero--home__mark {
	display: flex;
	align-items: flex-end;
	gap: clamp(6px, 1vw, 14px);
	height: clamp(66px, 8vw, 118px);
}
.hero--home__mark svg {
	display: block;
	height: 100%;
	width: auto;
}
.hero--home__tagline {
	margin-top: 22px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .01em;
	/* Both lines flush on BOTH edges: the block is as wide as the longer line
	   and each line is fully justified, so the shorter one stretches to match. */
	display: inline-block;
}
.hero--home__tagline span {
	display: block;
	text-align: justify;
	text-align-last: justify;
}
/* Auto-rotating hero: every slide is stacked; the active one fades over the
   others for a smooth cross-fade (no hard cut, no nav dots). */
.hero--home__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero--home__slide {
	opacity: 0;
	transition: opacity 1.6s ease;
}
.hero--home__slide.is-active {
	opacity: 1;
}

/* ============ ABOUT SLIDER ============ */
.about-slider {
	position: relative;
	overflow: hidden;
	padding: 30px 60px 70px;
	max-width: 1520px;
	margin: 0 auto;
}

/* Decorative outline arrows: anchored at the bottom of the section, all four
   rise together on their own vertical line, in harmony, travelling the full
   section height UPWARD — from the Event Management header (bottom) up to the
   bottom edge of the home banner (top). The travel distance (--arrow-travel)
   is set to the section height in JS so it always spans exactly bottom-to-top
   and stays responsive. Kept hidden (visibility) until JS reveals them, so no
   unstyled arrows flash in the top-left before load. NOTE: translateY comes
   BEFORE rotate in the keyframes — with rotate first, the 180deg flip would
   invert the Y axis and send them downward. */
.about-arrows-move {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 0;
	display: flex;
	width: 100%;
	justify-content: space-around;
	gap: 16px;
	pointer-events: none;
	--arrow-travel: 640px;
}
.about-arrows-move__arrow {
	opacity: 0;
	transform: translateY(0) rotate(180deg);
	animation: aab-arrows-move 10.5s linear infinite;
}
.about-arrows-move__arrow--teal {
	color: var(--aab-teal);
}
.about-arrows-move__arrow--orange {
	color: var(--aab-orange);
}
@keyframes aab-arrows-move {
	0% {
		transform: translateY(0) rotate(180deg);
		opacity: 0;
	}
	8% {
		opacity: .5;
	}
	92% {
		opacity: .5;
	}
	100% {
		transform: translateY(calc(var(--arrow-travel) * -1)) rotate(180deg);
		opacity: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.about-arrows-move__arrow {
		opacity: .4;
		transform: rotate(180deg);
		animation: none;
	}
}

/* Keep the actual content above the decorative background arrows. */
.about-slider__heading,
.about-slider__copy,
.about-slider__tabs,
.about-slider__panels,
.about-slider__nav {
	position: relative;
	z-index: 1;
}
.about-slider__heading {
	color: var(--aab-orange);
	margin-bottom: 40px;
}
.about-slider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}
.about-slider__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--aab-card-bg);
	color: #fff;
	cursor: var(--aab-cursor-arrow);
	font-size: 15px;
}
/* Both nav arrows share the same dark style (previously the right one was
   orange). */
.about-slider__arrow .aab-arrow-icon {
	width: 15px;
	height: auto;
}
.about-slider__columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
	color: var(--aab-text-soft-2);
	font-size: 14.5px;
	line-height: 1.6;
	max-width: 1120px;
	margin: 0 auto 46px;
}
.about-slider__columns p {
	margin: 0;
}
.about-slider__single {
	max-width: 700px;
	margin: 0 auto 46px;
	text-align: center;
	color: var(--aab-text-soft-2);
	font-size: 15px;
	line-height: 1.65;
}
.about-slider__tabs {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 10px;
}
.about-slider__tabs-right {
	display: flex;
	gap: 120px;
}
.about-slider__tab {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: var(--aab-cursor-arrow);
	color: rgba(255, 255, 255, .5);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	background: none;
	border: none;
	padding: 0 0 6px;
	border-bottom: 2px solid transparent;
	font-family: inherit;
	transition: color .2s, border-color .2s;
}
.about-slider__tab.is-active {
	color: #fff;
	border-bottom-color: var(--aab-orange);
}
.about-slider__tab-arrow {
	color: var(--aab-orange);
	display: inline-flex;
	align-items: center;
}
.about-slider__tab-arrow .aab-arrow-icon {
	width: 9px;
	height: auto;
}

/* Expanding image panels: three side by side; the active one grows while the
   others minimise. Hovering a panel makes it active (JS), and it also works on
   tap for touch. */
.about-slider__panels {
	display: flex;
	gap: 8px;
	height: 260px;
	border-radius: 2px;
	overflow: hidden;
}
.about-slider__panel {
	position: relative;
	flex: 1 1 0%;
	min-width: 0;
	overflow: hidden;
	border-radius: 4px;
	cursor: var(--aab-cursor-arrow);
	transition: flex-grow .75s cubic-bezier(.4, 0, .2, 1);
}
.about-slider__panel.is-active {
	flex-grow: 3.4;
}
.about-slider__panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .9s ease;
}
.about-slider__panel.is-active img {
	transform: scale(1.02);
}
/* Each image carries its own title, revealed as the panel expands. */
.about-slider__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 22, 32, 0) 45%, rgba(15, 22, 32, .82) 100%);
	pointer-events: none;
}
.about-slider__panel-label {
	position: absolute;
	left: 20px;
	bottom: 18px;
	right: auto;
	z-index: 2;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-align: left;
	line-height: 1.05;
	opacity: .75;
	transform: translateY(0);
	transition: opacity .6s ease, font-size .6s ease;
	pointer-events: none;
	white-space: nowrap;
}
/* The active (expanded) panel shows its title larger and fully opaque, but
   every image always shows its own title. */
.about-slider__panel.is-active .about-slider__panel-label {
	opacity: 1;
	font-size: 24px;
}

/* ============ EVENT MANAGEMENT ACCORDION ============ */
.event-mgmt {
	padding: 40px 0 0;
}
.event-mgmt__title {
	color: #fff;
	margin-bottom: 36px;
}
.event-mgmt__bar {
	cursor: var(--aab-cursor-arrow);
	color: #fff;
	transition: background .35s ease;
}
.event-mgmt__bar--blue { background: var(--aab-blue); }
.event-mgmt__bar--amber { background: #f79730; }
.event-mgmt__bar--teal { background: var(--aab-teal); }

.event-mgmt__bar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 18px;
	width: 100%;
	background: none;
	border: none;
	color: inherit;
	cursor: var(--aab-cursor-arrow);
	font-family: inherit;
	overflow: hidden;
	max-height: 60px;
}
.event-mgmt__bar-head span:first-child {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .08em;
}
.event-mgmt__bar-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}
.event-mgmt__bar--amber .event-mgmt__bar-icon,
.event-mgmt__bar--teal .event-mgmt__bar-icon {
	background: rgba(255, 255, 255, .22);
}

.event-mgmt__panel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	padding: 0 18px;
	max-width: 1280px;
	margin: 0 auto;
}
.event-mgmt__panel h3 {
	font-size: 50px;
	font-weight: 800;
	margin: 0 0 22px;
}
.event-mgmt__panel p {
	max-width: 760px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .92);
	margin: 0 0 28px;
}
.event-mgmt__bar--teal .event-mgmt__panel h3 {
	font-size: 56px;
	margin: 0 0 26px;
}
.event-mgmt__bar--teal .event-mgmt__panel p {
	max-width: 640px;
	margin: 0 0 30px;
}

/* The transition lives ONLY on the is-open state, so OPENING a bar animates
   smoothly while the previously-open bar (losing is-open) snaps shut instantly
   — i.e. the active one closes at once, then the new one glides open. */
.event-mgmt__bar.is-open .event-mgmt__bar-head {
	max-height: 0;
	opacity: 0;
	padding-top: 0;
	padding-bottom: 0;
	transition: max-height .9s cubic-bezier(.4, 0, .2, 1), opacity .5s ease, padding .9s cubic-bezier(.4, 0, .2, 1);
}
.event-mgmt__bar.is-open .event-mgmt__panel {
	max-height: 900px;
	opacity: 1;
	padding: 54px 18px 60px;
	transition: max-height 1.05s cubic-bezier(.4, 0, .2, 1), opacity .85s ease .15s, padding 1.05s cubic-bezier(.4, 0, .2, 1);
}
.event-mgmt__bar--teal.is-open .event-mgmt__panel {
	padding: 60px 18px 64px;
}

/* ============ OUR PARTNERS ============ */
.partners {
	padding: 84px 0 76px;
}
.partners__intro {
	text-align: center;
	margin-bottom: 48px;
}
.partners__title {
	color: var(--aab-teal);
	font-size: 42px;
	margin: 0 0 14px;
}
.partners__intro p {
	max-width: 480px;
	margin: 0 auto;
	color: var(--aab-muted);
	font-size: 13.5px;
	line-height: 1.6;
}
.partners__row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 0 36px;
}
.partners__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: var(--aab-card-bg);
	color: #fff;
	cursor: var(--aab-cursor-arrow);
	font-size: 15px;
}
.partners__arrow--next {
	background: var(--aab-orange);
}
.partners__rail {
	flex: 1;
	display: flex;
	align-items: center;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 10px 0;
	scrollbar-width: none;
}
.partners__rail::-webkit-scrollbar {
	display: none;
}
.partners__slot {
	flex: 0 0 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
}
/* Every logo is given the SAME bounding box (full slot width x fixed height)
   and object-fit: contain, so each one scales up to fill an equal footprint
   without distortion — a wide wordmark and a compact/square mark end up the
   same visual size regardless of their native aspect ratio. */
.partners__rail img {
	width: 100%;
	height: 74px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: .92;
}

/* ============ SIGNATURE PROJECTS (home carousel) ============ */
.sig-projects {
	border-top: 1px solid var(--aab-border);
	padding: 74px 0 80px;
}
.sig-projects__title {
	color: var(--aab-orange);
	margin-bottom: 44px;
}
.sig-projects__viewer {
	position: relative;
	height: 500px;
	padding: 0 30px;
	overflow: hidden;
	perspective: 1600px;
}
/* Coverflow carousel: every project is a slide, absolutely centred, then pushed
   left/right by JS according to its distance from the active one. The active
   slide is flat, full-size, bright and in front; neighbours are scaled down,
   dimmed and behind. Changing the active index transitions ALL slides together,
   so one project shines then glides left as the next comes to the centre. */
.sig-projects__slide {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: min(820px, 74%);
	transform: translateX(-50%) scale(.78);
	opacity: 0;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
	transition: transform 1.1s cubic-bezier(.4, 0, .2, 1), opacity 1.1s ease;
	will-change: transform, opacity;
}
/* No-JS / pre-init fallback: show the active slide centred. */
.sig-projects__slide.is-active {
	opacity: 1;
	transform: translateX(-50%) scale(1);
	z-index: 10;
}
.sig-projects__card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.42);
	transition: filter 1.1s ease;
}
.sig-projects__slide.is-active .sig-projects__card-img {
	filter: brightness(1);
}
@media (prefers-reduced-motion: reduce) {
	.sig-projects__slide {
		transition: opacity .3s ease;
	}
}
.sig-projects__card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 16, 24, .45) 0%, rgba(11, 16, 24, .35) 40%, rgba(11, 16, 24, .92) 100%);
}
/* Only the active slide shows its text/year/category; neighbours are just the
   dimmed image. */
.sig-projects__card-year,
.sig-projects__card-body,
.sig-projects__card-category {
	opacity: 0;
	transition: opacity .7s ease;
}
.sig-projects__slide.is-active .sig-projects__card-year,
.sig-projects__slide.is-active .sig-projects__card-body,
.sig-projects__slide.is-active .sig-projects__card-category {
	opacity: 1;
}
.sig-projects__card-year {
	position: absolute;
	top: 18px;
	left: 24px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}
.sig-projects__slide.is-active .sig-projects__card-year {
	opacity: .85;
}
.sig-projects__card-body {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 48px;
	color: #fff;
}
.sig-projects__card-body h3 {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 12px;
}
.sig-projects__card-body p {
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .82);
	margin: 0 0 16px;
}
.sig-projects__card-link a {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--aab-orange);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	width: fit-content;
}
.sig-projects__card-category {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--aab-teal);
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	padding: 11px 12px;
	transition: background .5s ease;
}
/* Thin stacked brand-colour accent sitting just above the category bar. */
.sig-projects__card-category::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -6px;
	height: 6px;
	background: linear-gradient(
		180deg,
		var(--aab-orange) 0 2px,
		#d94a3d 2px 4px,
		var(--aab-teal-alt) 4px 6px
	);
}
.sig-projects__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: rgba(20, 27, 38, .85);
	color: #fff;
	cursor: var(--aab-cursor-arrow);
	font-size: 18px;
}
.sig-projects__arrow--prev { left: 9%; }
.sig-projects__arrow--next { right: 9%; }
.sig-projects__cta {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

@media (max-width: 1100px) {
	.about-slider__columns {
		grid-template-columns: 1fr;
	}
	.sig-projects__slide {
		width: min(620px, 90%);
	}
}
@media (max-width: 640px) {
	/* Banner fills the whole first fold; A&B sits in the far bottom-left. */
	.hero--home {
		height: 100vh;
		height: 100svh;
		min-height: 540px;
	}
	.hero--home__copy {
		top: auto;
		bottom: 40px;
		left: 24px;
	}
	.hero--home__tagline {
		font-size: 22px;
	}
	.about-slider__tabs {
		flex-wrap: wrap;
		gap: 16px;
	}
	.about-slider__tabs-right {
		gap: 24px;
	}
	/* Panels are too narrow on phones to show every label at once — show
	   only the active (expanded) one. */
	.about-slider__panel-label {
		opacity: 0;
		font-size: 15px;
	}
	.about-slider__panel.is-active .about-slider__panel-label {
		opacity: 1;
		font-size: 16px;
	}
	.event-mgmt__bar-head,
	.event-mgmt__panel {
		padding-left: 24px;
		padding-right: 24px;
	}
	.event-mgmt__panel h3 {
		font-size: 30px;
	}
	.event-mgmt__bar--teal .event-mgmt__panel h3 {
		font-size: 32px;
	}
	.about-slider {
		padding-left: 20px;
		padding-right: 20px;
	}
	.about-slider__panels {
		height: 200px;
	}
	.partners__row {
		padding: 0 12px;
	}
	/* One larger logo per view on mobile. */
	.partners__slot {
		flex: 0 0 100%;
		padding: 0 20px;
	}
	.partners__rail img {
		height: 88px;
	}
}
