/*
	Landing page — blue/white minimal. Deliberately separate from style.css:
	that file makes the page a fixed, unscrollable full-screen tour shell,
	which is the opposite of what a scrolling landing page needs.
*/

:root {
	--blue-700: #1746b8;
	--blue-600: #1e56cf;
	--blue-500: #3b74ea;
	--blue-50: #eef3fd;
	--ink: #0f1830;
	--ink-soft: #55607a;
	--line: #e3e9f5;
	--white: #fff;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
		sans-serif;
	-webkit-font-smoothing: antialiased;
}

.wrap {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
	border-bottom: 1px solid var(--line);
	background: var(--white);
	position: sticky;
	top: 0;
	z-index: 10;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 64px;
}

.logo {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	display: block;
}

.brand {
	font-weight: 650;
	font-size: 17px;
	letter-spacing: -0.01em;
}

/* ---------- hero ---------- */

.hero {
	background: linear-gradient(180deg, var(--blue-50), var(--white));
	border-bottom: 1px solid var(--line);
	padding: 56px 0 44px;
	text-align: center;
}

.hero h1 {
	margin: 0 0 12px;
	font-size: clamp(30px, 6vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: var(--blue-700);
}

.lede {
	margin: 0 auto;
	max-width: 46ch;
	color: var(--ink-soft);
	font-size: clamp(15px, 2.3vw, 17px);
}

/* ---------- tour grid ---------- */

.tours {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
	padding-top: 44px;
	padding-bottom: 64px;
}

.tour-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tour-card:hover,
.tour-card:focus-visible {
	transform: translateY(-3px);
	border-color: var(--blue-500);
	box-shadow: 0 12px 28px rgba(23, 70, 184, 0.13);
}

.tour-card:focus-visible {
	outline: 2px solid var(--blue-600);
	outline-offset: 2px;
}

/* Owns the box + placeholder tint, so a missing cover image still looks right. */
.thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--blue-50);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tour-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 16px;
}

.tour-name {
	font-weight: 600;
	font-size: 16px;
	letter-spacing: -0.01em;
}

.tour-go {
	flex: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--blue-600);
}

.empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--ink-soft);
	padding: 40px 0 8px;
}

/* ---------- footer ---------- */

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--blue-50);
	padding: 24px 0;
}

.site-footer p {
	margin: 0;
	text-align: center;
	color: var(--ink-soft);
	font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.tour-card {
		transition: none;
	}
	.tour-card:hover,
	.tour-card:focus-visible {
		transform: none;
	}
}
