/* =========================================================
   HOME FLEET SECTION
========================================================= */

.alston-fleet {
	width: 100%;
	padding: 90px 20px;
	background: #ffffff;
	overflow: hidden;
}

.alston-fleet *,
.alston-fleet *::before,
.alston-fleet *::after {
	box-sizing: border-box;
}

.alston-fleet__container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.alston-fleet__header {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 80px;
	align-items: end;
	margin-bottom: 80px;
}

.alston-fleet__eyebrow {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #555555;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.alston-fleet__eyebrow::before {
	content: '';
	width: 24px;
	height: 1px;
	background: #c9a961;
	flex-shrink: 0;
}

.alston-fleet__title {
	margin: 0;
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: clamp(40px, 5.5vw, 80px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.015em;
	color: #1a1a1a;
}

.alston-fleet__title em {
	font-style: italic;
	color: #c9a961;
}

.alston-fleet__lead {
	margin: 0;
	max-width: 480px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: #555555;
}

.alston-fleet__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.alston-fleet__card {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	overflow: hidden;
	transition:
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-fleet__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
	border-color: #c9a961;
}

.alston-fleet__card--featured {
	grid-column: span 2;
}

.alston-fleet__media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f4f4f4;
	overflow: hidden;
	border-bottom: 1px solid #e8e8e8;
}

.alston-fleet__card--featured .alston-fleet__media {
	aspect-ratio: 16 / 8;
}

.alston-fleet__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	transform: scale(1);
	transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-fleet__card:hover .alston-fleet__media img {
	transform: scale(1.045);
}

.alston-fleet__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: #0a0a0a;
	color: #ffffff;
	padding: 6px 12px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.alston-fleet__card--badge-featured .alston-fleet__badge {
	background: #c9a961;
	color: #0a0a0a;
}

.alston-fleet__body {
	padding: 28px 28px 32px;
}

.alston-fleet__name {
	margin: 0 0 10px;
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}

.alston-fleet__name em {
	margin-left: 6px;
	font-style: italic;
	font-weight: 400;
	color: #c9a961;
}

.alston-fleet__description {
	margin: 0 0 24px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	color: #555555;
}

.alston-fleet__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 20px;
	padding: 18px 0;
	margin-bottom: 22px;
	border-top: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
}

.alston-fleet__card--featured .alston-fleet__specs {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.alston-fleet__spec {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #555555;
}

.alston-fleet__spec img {
	width: 18px;
	height: 18px;
	display: block;
	object-fit: contain;
	flex-shrink: 0;
	filter: grayscale(1) brightness(0);
	transition:
		filter 0.35s ease,
		transform 0.35s ease;
}

.alston-fleet__card:hover .alston-fleet__spec img {
	filter: none;
	transform: translateY(-1px);
}

.alston-fleet__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.alston-fleet__price {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	line-height: 1.3;
	color: #999999;
}

.alston-fleet__price span {
	display: inline-block;
	margin-right: 4px;
}

.alston-fleet__price strong {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: 22px;
	font-weight: 500;
	color: #1a1a1a;
}

.alston-fleet__button {
	width: 42px;
	height: 42px;
	border: 1px solid #e8e8e8;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-decoration: none;
	background: #ffffff;
	transition:
		background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-fleet__button img {
	width: 16px;
	height: 16px;
	display: block;
	object-fit: contain;
	filter: grayscale(1) brightness(0);
	transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-fleet__card:hover .alston-fleet__button {
	background: #0a0a0a;
	border-color: #0a0a0a;
	transform: rotate(-45deg);
}

.alston-fleet__card:hover .alston-fleet__button img {
	filter: brightness(0) invert(1);
}

/* =========================================================
   ENTRANCE ANIMATION - SAFE VERSION
========================================================= */

.alston-fleet-reveal {
	opacity: 1;
	transform: none;
}

.js .alston-fleet-reveal {
	opacity: 0;
	transform: translateY(42px);
	transition:
		opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

.js .alston-fleet-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
	will-change: auto;
}

.js .alston-fleet__grid .alston-fleet-reveal:nth-child(1) {
	transition-delay: 0.05s;
}

.js .alston-fleet__grid .alston-fleet-reveal:nth-child(2) {
	transition-delay: 0.12s;
}

.js .alston-fleet__grid .alston-fleet-reveal:nth-child(3) {
	transition-delay: 0.19s;
}

.js .alston-fleet__grid .alston-fleet-reveal:nth-child(4) {
	transition-delay: 0.26s;
}

.js .alston-fleet__grid .alston-fleet-reveal:nth-child(5) {
	transition-delay: 0.33s;
}

.js .alston-fleet__grid .alston-fleet-reveal:nth-child(6) {
	transition-delay: 0.4s;
}

/* =========================================================
   LAPTOP / TABLET
========================================================= */

@media (min-width: 641px) and (max-width: 1100px) {
	.alston-fleet {
		padding: 90px 20px;
	}

	.alston-fleet__header {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 56px;
	}

	.alston-fleet__lead {
		max-width: 680px;
	}

	.alston-fleet__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.alston-fleet__card--featured {
		grid-column: span 2;
	}

	.alston-fleet__card--featured .alston-fleet__specs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
	.alston-fleet {
		padding: 60px 20px;
	}

	.alston-fleet__header {
		grid-template-columns: 1fr;
		gap: 22px;
		margin-bottom: 42px;
	}

	.alston-fleet__eyebrow {
		font-size: 10px;
		letter-spacing: 0.22em;
		margin-bottom: 18px;
	}

	.alston-fleet__title {
		font-size: clamp(38px, 12vw, 52px);
	}

	.alston-fleet__lead {
		font-size: 15px;
		line-height: 1.65;
	}

	.alston-fleet__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.alston-fleet__card--featured {
		grid-column: span 1;
	}

	.alston-fleet__card--featured .alston-fleet__media,
	.alston-fleet__media {
		aspect-ratio: 4 / 3;
	}

	.alston-fleet__body {
		padding: 24px 22px 28px;
	}

	.alston-fleet__name {
		font-size: 28px;
	}

	.alston-fleet__description {
		font-size: 14px;
		margin-bottom: 22px;
	}

	.alston-fleet__specs,
	.alston-fleet__card--featured .alston-fleet__specs {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.alston-fleet__spec {
		font-size: 12px;
	}

	.alston-fleet__bottom {
		align-items: center;
	}

	.alston-fleet__price strong {
		font-size: 21px;
	}
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
	.alston-fleet__specs,
	.alston-fleet__card--featured .alston-fleet__specs {
		grid-template-columns: 1fr;
	}

	.alston-fleet__bottom {
		align-items: flex-start;
	}

	.alston-fleet__button {
		width: 40px;
		height: 40px;
	}
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
	.alston-fleet-reveal,
	.alston-fleet__card,
	.alston-fleet__media img,
	.alston-fleet__button,
	.alston-fleet__button img,
	.alston-fleet__spec img {
		transition: none;
	}

	.alston-fleet-reveal {
		opacity: 1;
		transform: none;
	}

	.alston-fleet__card:hover,
	.alston-fleet__card:hover .alston-fleet__media img,
	.alston-fleet__card:hover .alston-fleet__button,
	.alston-fleet__card:hover .alston-fleet__spec img {
		transform: none;
	}
}