:root {
	--bg: #f7f8f4;
	--paper: #ffffff;
	--ink: #17211e;
	--muted: #68736e;
	--line: #dde4dc;
	--sage: #496b5a;
	--sage-dark: #29493c;
	--coral: #b95f46;
	--soft: #eaf0e8;
	--shadow: 0 18px 50px rgba(23, 33, 30, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.jx-home-fast {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	line-height: 1.6;
	letter-spacing: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px clamp(18px, 4vw, 56px);
	background: rgba(247, 248, 244, 0.92);
	border-bottom: 1px solid rgba(221, 228, 220, 0.9);
	backdrop-filter: blur(18px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 132px;
}

.brand-mark {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 50%;
	background: var(--sage-dark);
	color: #fff;
	font-weight: 700;
}

.brand strong,
.brand small {
	display: block;
}

.brand strong {
	font-size: 18px;
	line-height: 1.1;
}

.brand small {
	color: var(--muted);
	font-size: 12px;
}

.main-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 18px;
	color: var(--muted);
	font-size: 15px;
}

.main-nav a {
	padding: 7px 0;
}

.main-nav a:last-child {
	color: var(--sage-dark);
	font-weight: 700;
}

.hero,
.section,
.site-footer {
	width: min(1120px, calc(100% - 36px));
	margin-inline: auto;
}

.moon-banner {
	position: relative;
	display: grid;
	min-height: clamp(560px, calc(100svh - 69px), 820px);
	place-items: center;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 24%, rgba(255, 214, 109, 0.85), transparent 21%),
		linear-gradient(180deg, #083147 0%, #0b5a63 48%, #08151c 49%, #02080e 100%);
	color: #fff;
	isolation: isolate;
}

.moon-banner__canvas,
.moon-banner__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.moon-banner__canvas {
	z-index: 0;
	display: block;
}

.moon-banner__shade {
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(1, 13, 24, 0.04), rgba(1, 13, 24, 0.12) 42%, rgba(1, 13, 24, 0.52) 100%),
		radial-gradient(circle at 50% 45%, transparent 0 31%, rgba(0, 0, 0, 0.28) 82%);
	pointer-events: none;
}

.moon-banner.is-static::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(circle at 50% 26%, #ffe88e 0 18%, rgba(255, 216, 111, 0.45) 25%, transparent 34%),
		linear-gradient(180deg, #073047 0%, #0f5961 48%, #071720 49%, #02080d 100%);
}

.moon-banner__content {
	position: relative;
	z-index: 2;
	width: min(980px, calc(100% - 36px));
	padding-top: clamp(90px, 15vh, 150px);
	text-align: center;
	text-shadow: 0 22px 54px rgba(0, 0, 0, 0.58);
}

.moon-banner__kicker {
	margin: 0 auto clamp(26px, 4vw, 38px);
	max-width: 36em;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(14px, 1.8vw, 20px);
	line-height: 1.7;
}

.moon-banner h1 {
	max-width: none;
	margin: 0;
	color: #fff;
	font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
	font-size: clamp(76px, 11vw, 156px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: 0;
}

.moon-banner__content > p:last-child {
	margin: clamp(28px, 5vw, 42px) auto 0;
	max-width: 44em;
	color: rgba(255, 255, 255, 0.68);
	font-size: clamp(16px, 2vw, 22px);
}

.moon-banner__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 3;
	width: 32px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.44);
	border-radius: 999px;
	transform: translateX(-50%);
	opacity: 0.8;
}

.moon-banner__scroll::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 10px;
	width: 4px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	transform: translateX(-50%);
	animation: jx-scroll-dot 1.8s ease-in-out infinite;
}

@keyframes jx-scroll-dot {
	0%,
	100% {
		opacity: 0.25;
		transform: translate(-50%, 0);
	}
	45% {
		opacity: 1;
		transform: translate(-50%, 18px);
	}
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
	min-height: calc(100svh - 72px);
	padding: clamp(42px, 7vw, 86px) 0 56px;
}

.hero-compact {
	min-height: auto;
	padding-top: clamp(42px, 6vw, 72px);
}

.hero-copy {
	max-width: 650px;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--coral);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 11em;
	margin-bottom: 20px;
	font-size: clamp(42px, 7vw, 76px);
	line-height: 1.05;
	letter-spacing: 0;
}

h2 {
	margin-bottom: 0;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.15;
	letter-spacing: 0;
}

h3 {
	margin-bottom: 12px;
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: 0;
}

.lead {
	max-width: 35em;
	margin-bottom: 28px;
	color: #4b5852;
	font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid var(--sage-dark);
	border-radius: 6px;
	font-weight: 800;
	line-height: 1.2;
}

.button.primary {
	background: var(--sage-dark);
	color: #fff;
}

.button.secondary {
	background: transparent;
	color: var(--sage-dark);
}

.quick-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	margin: 32px 0 0;
	list-style: none;
}

.quick-facts li {
	padding: 16px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.quick-facts strong,
.quick-facts span {
	display: block;
}

.quick-facts strong {
	margin-bottom: 4px;
	color: var(--sage-dark);
	font-size: 18px;
}

.quick-facts span {
	color: var(--muted);
	font-size: 14px;
}

.hero-media {
	position: relative;
	margin: 0;
}

.hero-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.hero-media::after {
	content: "301 / 302 / 303";
	position: absolute;
	right: 18px;
	bottom: 18px;
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(221, 228, 220, 0.9);
	border-radius: 999px;
	color: var(--sage-dark);
	font-size: 13px;
	font-weight: 800;
}

.section {
	padding: clamp(54px, 8vw, 92px) 0;
	border-top: 1px solid var(--line);
}

.intro {
	display: grid;
	grid-template-columns: 0.8fr 1fr;
	gap: clamp(24px, 5vw, 72px);
	align-items: start;
}

.intro > p {
	margin-bottom: 0;
	color: #3e4944;
	font-size: clamp(19px, 2.4vw, 28px);
	line-height: 1.55;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.room-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.room-card {
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.room-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--soft);
}

.room-card > div {
	padding: 22px;
}

.room-label {
	margin-bottom: 8px;
	color: var(--coral);
	font-weight: 900;
}

.room-card p:not(.room-label) {
	color: var(--muted);
}

.room-card ul {
	display: grid;
	gap: 6px;
	padding: 0;
	margin: 18px 0;
	list-style: none;
	color: #34413b;
	font-weight: 700;
}

.room-card a {
	color: var(--sage-dark);
	font-weight: 900;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.fit-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.fit-grid div,
.steps li {
	padding: 22px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.fit-grid strong,
.fit-grid span,
.steps strong,
.steps span {
	display: block;
}

.fit-grid strong,
.steps strong {
	margin-bottom: 8px;
	font-size: 18px;
}

.fit-grid span,
.steps span {
	color: var(--muted);
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	padding: 0;
	margin: 0;
	list-style: none;
	counter-reset: booking;
}

.steps li {
	position: relative;
	padding-top: 58px;
	counter-increment: booking;
}

.steps li::before {
	content: counter(booking, decimal-leading-zero);
	position: absolute;
	top: 18px;
	left: 22px;
	color: var(--coral);
	font-weight: 900;
}

.cta {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	padding: clamp(36px, 6vw, 58px);
	margin-bottom: 42px;
	background: var(--sage-dark);
	border: 0;
	border-radius: 8px;
	color: #fff;
}

.cta p {
	max-width: 42em;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.78);
}

.cta .eyebrow {
	color: #f0b8a8;
}

.cta .button.primary {
	background: #fff;
	border-color: #fff;
	color: var(--sage-dark);
}

.cta .button.secondary {
	border-color: rgba(255, 255, 255, 0.72);
	color: #fff;
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 0 0 38px;
	color: var(--muted);
	font-size: 14px;
}

.site-footer p {
	margin: 0;
}

.site-footer div {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

@media (max-width: 900px) {
	.site-header {
		position: static;
		align-items: flex-start;
	}

	.main-nav {
		display: none;
	}

	.moon-banner {
		min-height: 72svh;
	}

	.moon-banner__content {
		padding-top: 72px;
	}

	.hero,
	.intro,
	.cta {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 0;
	}

	.hero-media {
		order: -1;
	}

	.hero-media img {
		aspect-ratio: 16 / 11;
	}

	.room-grid,
	.fit-grid,
	.steps {
		grid-template-columns: 1fr 1fr;
	}

	.cta-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 620px) {
	.hero,
	.section,
	.site-footer {
		width: min(100% - 28px, 1120px);
	}

	.moon-banner {
		min-height: 68svh;
	}

	.moon-banner__content {
		width: min(100% - 28px, 980px);
		padding-top: 54px;
	}

	.moon-banner h1 {
		font-size: 64px;
	}

	.moon-banner__content > p:last-child {
		font-size: 15px;
	}

	h1 {
		font-size: 40px;
	}

	.quick-facts,
	.room-grid,
	.fit-grid,
	.steps {
		grid-template-columns: 1fr;
	}

	.section-heading {
		display: block;
	}

	.button {
		width: 100%;
	}

	.site-footer {
		display: block;
	}

	.site-footer p {
		margin-bottom: 10px;
	}
}
