/* ==========================================================================
   App Wall Showcase — Lavish Dark Editorial Masonry & Bottom Fade
   ========================================================================== */

.aws-full-bleed-html,
.aws-full-bleed-body {
	margin: 0 !important;
	padding: 0 !important;
	background: #070709 !important;
	color: #f6f6f9;
	overflow-x: hidden;
}

.aws-showcase,
.aws-showcase * {
	box-sizing: border-box;
}

.aws-showcase {
	--aws-bg: #070709;
	--aws-surface: #0f0f14;
	--aws-ink: #f6f6f9;
	--aws-muted: #9899a6;
	--aws-border: rgba(255, 255, 255, 0.085);
	--aws-accent: #f5f5f7;
	--aws-gap: 6px;
	--aws-radius: 4px;
	--aws-fade-height: 340px;
	--aws-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--aws-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

	position: relative;
	width: 100%;
	min-height: 100vh;
	background: var(--aws-bg);
	color: var(--aws-ink);
	font-family: var(--aws-font-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.aws-showcase.aws-is-embedded {
	min-height: auto;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--aws-border);
}

.aws-ambient-glow {
	position: absolute;
	inset: 0 0 auto 0;
	height: 520px;
	background:
		radial-gradient(ellipse 65% 52% at 50% 0%, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.015) 48%, transparent 75%);
	pointer-events: none;
	z-index: 0;
}

.aws-stage {
	position: relative;
	z-index: 1;
	width: 100%;
}

/* ==========================================================================
   Brand Lockup & Top Bar (Hero Layout)
   ========================================================================== */

.aws-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1480px;
	margin: 0 auto;
	padding: 22px 28px 8px;
}

.aws-brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--aws-ink);
}

.aws-brand-logo {
	width: 34px;
	height: 34px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.aws-brand-monogram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: #ffffff;
	color: #070709;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.04em;
	border-radius: 4px;
}

.aws-brand-name {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f6f6f9;
}

.aws-topbar-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #f6f6f9;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	backdrop-filter: blur(10px);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aws-topbar-cta:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.3);
	color: #ffffff;
	transform: translateY(-1px);
}

.aws-play-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--aws-accent);
	box-shadow: 0 0 10px var(--aws-accent);
}

/* ==========================================================================
   Editorial Hero (Inspired by reference #2)
   ========================================================================== */

.aws-hero {
	max-width: 820px;
	margin: 0 auto;
	padding: 36px 24px 36px;
	text-align: center;
}

.aws-hero-eyebrow {
	margin: 0 0 14px;
	font-family: var(--aws-font-serif);
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0.04em;
	color: #c9cad4;
}

.aws-hero-title {
	margin: 0 auto 16px;
	font-family: var(--aws-font-sans);
	font-size: clamp(2.15rem, 5.2vw, 3.85rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: #ffffff;
	background: linear-gradient(180deg, #ffffff 38%, rgba(255, 255, 255, 0.72) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.aws-hero-sub {
	max-width: 560px;
	margin: 0 auto 26px;
	font-size: clamp(0.92rem, 1.4vw, 1.02rem);
	line-height: 1.6;
	color: var(--aws-muted);
}

.aws-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.aws-pill-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 5px 22px 5px 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #ffffff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.015em;
	backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.aws-pill-cta:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.36);
	color: #ffffff;
}

.aws-pill-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ffffff;
	color: #070709;
	transition: transform 0.22s ease;
}

.aws-pill-cta:hover .aws-pill-icon {
	transform: translateX(2px);
}

.aws-pill-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 999px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #e4e5ed;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.aws-pill-secondary:hover {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

/* ==========================================================================
   Editorial Left Sidebar Layout (Inspired by reference #1)
   ========================================================================== */

.aws-layout-sidebar_mosaic {
	display: flex;
	align-items: stretch;
}

.aws-sidebar {
	width: 220px;
	flex: 0 0 220px;
	background: #0e0e12;
	border-right: 1px solid var(--aws-border);
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 28px 22px;
	z-index: 15;
}

.aws-sidebar-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.aws-sidebar .aws-brand-lockup {
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.aws-sidebar-drawer {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	margin-top: 40px;
}

.aws-sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aws-sidebar-nav a {
	color: #9e9faa;
	text-decoration: none;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: color 0.18s ease, transform 0.18s ease;
}

.aws-sidebar-nav a:hover {
	color: #ffffff;
	transform: translateX(3px);
}

.aws-sidebar-footer {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.aws-sidebar-store-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--aws-accent);
	color: #070709;
	text-decoration: none;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: opacity 0.2s ease;
}

.aws-sidebar-store-btn:hover {
	opacity: 0.88;
	color: #070709;
}

.aws-social-row {
	display: flex;
	gap: 12px;
}

.aws-social-row a {
	color: #7c7d88;
	text-decoration: none;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	transition: color 0.18s ease;
}

.aws-social-row a:hover {
	color: #ffffff;
}

.aws-mobile-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--aws-border);
	border-radius: 6px;
	width: 38px;
	height: 36px;
	padding: 8px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
}

.aws-mobile-nav-toggle span {
	display: block;
	width: 100%;
	height: 1.5px;
	background: #f6f6f9;
}

/* ==========================================================================
   Category Filter Bar
   ========================================================================== */

.aws-filter-bar {
	position: relative;
	z-index: 3;
	padding: 10px 20px 18px;
}

.aws-layout-sidebar_mosaic .aws-filter-bar {
	padding: 22px 24px 16px;
}

.aws-filter-track {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	max-width: 1400px;
	margin: 0 auto;
}

.aws-layout-sidebar_mosaic .aws-filter-track {
	justify-content: flex-end;
}

.aws-filter-pill {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.11);
	background: rgba(255, 255, 255, 0.04);
	color: #b4b5c2;
	padding: 8px 16px;
	border-radius: 999px;
	font-family: var(--aws-font-sans);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.aws-filter-pill:hover {
	border-color: rgba(255, 255, 255, 0.28);
	color: #ffffff;
	background: rgba(255, 255, 255, 0.09);
}

.aws-filter-pill.is-active {
	background: var(--aws-accent);
	border-color: var(--aws-accent);
	color: #070709;
	box-shadow: 0 6px 20px rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Masonry Gallery Grid (Caption-free & Edge-to-Edge)
   ========================================================================== */

.aws-gallery-shell {
	position: relative;
	padding: 0 var(--aws-gap);
}

.aws-masonry-grid {
	display: grid;
	grid-template-columns: repeat(var(--aws-cols-desktop, 5), minmax(0, 1fr));
	gap: var(--aws-gap, 6px);
	align-items: start;
	transition: opacity 0.24s ease;
}

.aws-masonry-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.aws-masonry-grid.is-masonry-ready {
	display: block;
	position: relative;
	width: 100%;
}

.aws-masonry-grid.is-masonry-ready .aws-tile {
	position: absolute;
	margin: 0;
}

.aws-tile {
	position: relative;
	opacity: 0;
	transform: translateY(10px);
	animation: awsTileIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes awsTileIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.aws-tile-btn {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
	color: inherit;
}

.aws-tile-media {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: var(--aws-radius, 4px);
	background: #121218;
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.aws-media {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.aws-tile-btn:hover .aws-media,
.aws-tile-btn:focus-visible .aws-media {
	transform: scale(1.045);
	filter: brightness(1.05);
}

.aws-tile-sheen {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 35%, rgba(0, 0, 0, 0.25) 100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.aws-tile-btn:hover .aws-tile-sheen {
	opacity: 1;
}

.aws-badge-live,
.aws-badge-cat {
	position: absolute;
	z-index: 2;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 999px;
	backdrop-filter: blur(8px);
	pointer-events: none;
}

.aws-badge-live {
	top: 10px;
	left: 10px;
	background: rgba(7, 7, 9, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

.aws-badge-cat {
	bottom: 10px;
	left: 10px;
	background: rgba(7, 7, 9, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #f4f4f6;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.aws-tile-btn:hover .aws-badge-cat {
	opacity: 1;
	transform: translateY(0);
}

.aws-tile-caption {
	padding: 7px 4px 2px;
	font-size: 12px;
	font-weight: 500;
	color: #d6d7e0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aws-empty-state {
	max-width: 560px;
	margin: 48px auto 80px;
	padding: 28px;
	text-align: center;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--aws-border);
	border-radius: 12px;
	color: var(--aws-muted);
}

/* ==========================================================================
   Signature Smooth Bottom Fade Gradient & App Download CTA
   ========================================================================== */

.aws-fade-overlay {
	position: relative;
	z-index: 4;
	margin-top: calc(var(--aws-fade-overlap, var(--aws-fade-height, 340px)) * -1);
	min-height: var(--aws-fade-height, 340px);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 90px 24px 64px;
	background: linear-gradient(
		to bottom,
		rgba(7, 7, 9, 0) 0%,
		rgba(7, 7, 9, 0.38) 26%,
		rgba(7, 7, 9, 0.78) 54%,
		rgba(7, 7, 9, 0.96) 76%,
		#070709 92%
	);
	pointer-events: none;
}

.aws-fade-cta {
	pointer-events: auto;
	max-width: 640px;
	width: 100%;
	text-align: center;
	padding: 26px 28px;
	border-radius: 18px;
	background: rgba(15, 15, 20, 0.68);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(18px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.aws-fade-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #d4d5de;
}

.aws-fade-title {
	margin: 0 0 10px;
	font-family: var(--aws-font-sans);
	font-size: clamp(1.35rem, 2.8vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #ffffff;
}

.aws-fade-sub {
	margin: 0 auto 22px;
	max-width: 480px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--aws-muted);
}

.aws-fade-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.aws-store-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--aws-accent);
	color: #070709;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.015em;
	box-shadow: 0 12px 32px rgba(255, 255, 255, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.aws-store-cta:hover {
	transform: translateY(-2px);
	color: #070709;
	opacity: 0.94;
	box-shadow: 0 16px 38px rgba(255, 255, 255, 0.26);
}

/* ==========================================================================
   Luxury Obsidian Preview Lightbox
   ========================================================================== */

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

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

.aws-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 8, 0.88);
	backdrop-filter: blur(24px);
}

.aws-lightbox-shell {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	max-width: 94vw;
	max-height: 92vh;
}

.aws-lb-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 78vw;
	max-height: 90vh;
}

.aws-lb-media-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 78vh;
	border-radius: 12px;
	overflow: hidden;
	background: #0d0d12;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.aws-lb-media-wrap img,
.aws-lb-media-wrap video {
	display: block;
	max-width: 76vw;
	max-height: 78vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.aws-lb-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(20, 20, 26, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.aws-lb-meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aws-lb-cat,
.aws-lb-res {
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #d6d7e2;
}

.aws-lb-cta {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--aws-accent);
	color: #070709;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

.aws-lb-cta:hover {
	opacity: 0.9;
	color: #070709;
}

.aws-lb-close,
.aws-lb-nav {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #ffffff;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.18s ease, transform 0.18s ease;
}

.aws-lb-close {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 2;
}

.aws-lb-close:hover,
.aws-lb-nav:hover {
	background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Responsive Breakpoints & Reduced Motion
   ========================================================================== */

@media (max-width: 1024px) {
	.aws-masonry-grid {
		grid-template-columns: repeat(var(--aws-cols-tablet, 3), minmax(0, 1fr));
	}

	.aws-layout-sidebar_mosaic {
		flex-direction: column;
	}

	.aws-sidebar {
		width: 100%;
		flex: none;
		height: auto;
		position: relative;
		border-right: none;
		border-bottom: 1px solid var(--aws-border);
		padding: 16px 20px;
	}

	.aws-sidebar .aws-brand-lockup {
		flex-direction: row;
		align-items: center;
	}

	.aws-mobile-nav-toggle {
		display: flex;
	}

	.aws-sidebar-drawer {
		display: none;
		margin-top: 18px;
		padding-top: 16px;
		border-top: 1px solid var(--aws-border);
		gap: 18px;
	}

	.aws-sidebar.is-menu-open .aws-sidebar-drawer {
		display: flex;
	}

	.aws-layout-sidebar_mosaic .aws-filter-track {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.aws-topbar {
		padding: 16px 16px 4px;
	}

	.aws-hero {
		padding: 26px 16px 26px;
	}

	.aws-filter-bar {
		padding: 8px 12px 14px;
	}

	.aws-filter-track {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	.aws-filter-track::-webkit-scrollbar {
		display: none;
	}

	.aws-masonry-grid {
		grid-template-columns: repeat(var(--aws-cols-mobile, 2), minmax(0, 1fr));
	}

	.aws-fade-cta {
		padding: 20px 18px;
	}

	.aws-lightbox-shell {
		max-width: 100%;
		gap: 8px;
	}

	.aws-lb-stage {
		max-width: 84vw;
	}

	.aws-lb-nav {
		width: 36px;
		height: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aws-tile,
	.aws-media,
	.aws-pill-cta,
	.aws-store-cta {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
