/**
 * Feature Landing — mobile-first spotlight pages for hand-picked listings.
 *
 * @package The_Duchy
 */

.fl {
	--fl-ink: #050509;
	--fl-cyan: #5dd9d0;
	--fl-pink: #ff8fab;
	--fl-yellow: #f5c842;
	--fl-green: #5ed991;
	background: #fff;
	color: var(--fl-ink);
	font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

.fl-hero {
	position: relative;
	min-height: min(72dvh, 560px);
	display: flex;
	align-items: flex-end;
	background: #1e293b center / cover no-repeat;
	background-image: var(--fl-hero);
	border-bottom: 3px solid #000;
	overflow: hidden;
}

.fl-hero--empty {
	background: linear-gradient(135deg, #00f0ff 0%, #1e40af 55%, #ff3399 100%);
}

.fl-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 5, 9, 0.15) 0%, rgba(5, 5, 9, 0.78) 100%);
	pointer-events: none;
}

.fl-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1100px, 100%);
	margin: 0 auto;
	padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 1.5rem) clamp(1.5rem, 5vw, 2.25rem);
	color: #fff;
}

.fl-chip {
	display: inline-block;
	margin: 0 0 0.65rem;
	padding: 0.35rem 0.7rem;
	border: 2px solid #fff;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	font: 800 0.7rem/1 Outfit, system-ui, sans-serif;
	letter-spacing: 0.08em;
}

.fl-hero__title {
	margin: 0 0 0.5rem;
	font: 950 clamp(1.85rem, 7vw, 3.4rem)/1.02 Outfit, system-ui, sans-serif;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	max-width: 16ch;
}

.fl-hero__tagline {
	margin: 0 0 0.75rem;
	max-width: 36rem;
	font: 500 clamp(0.95rem, 2.8vw, 1.15rem)/1.45 Outfit, system-ui, sans-serif;
	opacity: 0.95;
}

.fl-hero__loc {
	margin: 0 0 1.1rem;
	font: 700 0.85rem/1.3 Outfit, system-ui, sans-serif;
	opacity: 0.9;
}

.fl-hero__loc a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fl-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.fl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.1rem;
	border: 2px solid #000;
	border-radius: 12px;
	box-shadow: 3px 3px 0 #000;
	font: 800 0.85rem/1 Outfit, system-ui, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
	background: #fff;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fl-btn--primary {
	background: var(--fl-yellow);
}

.fl-btn--ghost {
	background: rgba(255, 255, 255, 0.92);
}

.fl-btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 #000;
}

.fl-actions {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #fff;
	border-bottom: 3px solid #000;
}

.fl-actions__inner {
	display: flex;
	gap: 0.35rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0.55rem clamp(0.75rem, 3vw, 1.25rem);
	max-width: 1100px;
	margin: 0 auto;
	scrollbar-width: none;
}

.fl-actions__inner::-webkit-scrollbar {
	display: none;
}

.fl-action {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.45rem 0.85rem;
	border: 2px solid #000;
	border-radius: 999px;
	background: #f8fafc;
	font: 800 0.72rem/1 Outfit, system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.fl-action--share {
	appearance: none;
}

.fl-wrap {
	width: min(1100px, 100%);
	margin: 0 auto;
	padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 1.5rem) 3rem;
	display: grid;
	gap: clamp(1.5rem, 4vw, 2.25rem);
}

.fl-h2 {
	margin: 0 0 0.85rem;
	font: 950 clamp(1.2rem, 4vw, 1.65rem)/1.1 Outfit, system-ui, sans-serif;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.fl-prose {
	font: 500 1.02rem/1.6 Outfit, system-ui, sans-serif;
	color: #1e293b;
}

.fl-prose p {
	margin: 0 0 0.85rem;
}

.fl-prose--placeholder {
	color: #64748b;
}

.fl-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.fl-gallery__item {
	margin: 0;
	border: 2px solid #000;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e2e8f0;
}

.fl-gallery__item--lead {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 10;
}

.fl-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fl-media-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	border: 2px dashed #94a3b8;
	border-radius: 14px;
	background: #f1f5f9;
	color: #64748b;
	font: 700 0.85rem/1.3 Outfit, system-ui, sans-serif;
	text-align: center;
	padding: 1rem;
}

.fl-media-ph--video {
	min-height: 180px;
	margin-top: 0.75rem;
}

.fl-video {
	margin-top: 0.75rem;
	border: 2px solid #000;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #0f172a;
}

.fl-video iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.fl-facts {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 3px solid #000;
	border-radius: 16px;
	box-shadow: 4px 4px 0 #000;
	overflow: hidden;
}

.fl-facts li {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-bottom: 2px solid #e2e8f0;
	font: 600 0.95rem/1.4 Outfit, system-ui, sans-serif;
}

.fl-facts li:last-child {
	border-bottom: 0;
}

.fl-facts__k {
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	color: #64748b;
	padding-top: 0.15rem;
}

.fl-facts__v--muted {
	color: #94a3b8;
}

.fl-facts a {
	color: #0b6aa2;
	font-weight: 700;
}

.fl-map__frame {
	border: 3px solid #000;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 4px 4px 0 #000;
	aspect-ratio: 16 / 11;
	background: #e2e8f0;
}

.fl-map__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.fl-map__dir {
	margin-top: 0.85rem;
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
}

.fl-btn--dirs {
	font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
	font-weight: 800;
	font-size: 0.9rem;
	text-transform: none;
	letter-spacing: normal;
	color: #fff;
	background: #2563eb;
	border: 3px solid #2563eb;
	border-radius: 8px;
	box-shadow: 2px 2px 0 #000;
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.fl-btn--dirs:hover,
.fl-btn--dirs:focus-visible {
	transform: translate(-2px, -2px);
	background: #fff5fa;
	color: #c4006a;
	border-color: #ff3399;
	box-shadow: 0 0 0 2px rgba(255, 51, 153, 0.35), 4px 4px 0 #000;
	outline: none;
}

.fl-nearby__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.fl-nearby__card {
	display: flex;
	flex-direction: column;
	border: 2px solid #000;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 3px 3px 0 #000;
	text-decoration: none;
	color: #000;
	background: #fff;
}

.fl-nearby__img {
	display: block;
	aspect-ratio: 16 / 10;
	background: #cbd5e1 center / cover no-repeat;
}

.fl-nearby__card strong {
	padding: 0.65rem 0.75rem;
	font: 800 0.85rem/1.25 Outfit, system-ui, sans-serif;
}

.fl-reviews__summary {
	margin: 0 0 1rem;
	font: 700 1.05rem/1.35 Outfit, system-ui, sans-serif;
}

.fl-reviews__summary--muted {
	color: #64748b;
	font-weight: 600;
}

@media (min-width: 768px) {
	.fl-gallery {
		grid-template-columns: repeat(3, 1fr);
	}

	.fl-gallery__item--lead {
		grid-column: span 2;
		grid-row: span 2;
		aspect-ratio: auto;
		min-height: 100%;
	}

	.fl-nearby__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.fl-facts li {
		grid-template-columns: 9rem 1fr;
	}
}

@media (min-width: 1024px) {
	.fl-hero {
		min-height: min(68dvh, 620px);
	}

	.fl-actions {
		top: 70px;
	}
}
