/* New homepage (index2). Standalone: no theme CSS, no jQuery.
   Same tokens and header as the rest of jaipur.no (see design.css). */
:root {
	--night: #0c1315;
	--panel: #111a1d;
	--gold: #c6a270;
	--gold-soft: #d6b588;
	--line: rgba(198, 162, 112, .38);
	--line-faint: rgba(198, 162, 112, .18);
	--ivory: #efe8dc;
	--muted: #a9a196;
	--display: "Marcellus", "Iowan Old Style", Georgia, serif;
	--text: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 125V43C0 27 12 16 26 11C38 7 46 4 50 0C54 4 62 7 74 11C88 16 100 27 100 43V125Z'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 400 17px/1.65 var(--text); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; color: var(--ivory); }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }

/* ------------------------------------------------ buttons & links */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--gold);
	font: 600 13px/1 var(--text);
	letter-spacing: .16em;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease;
}
.btn-solid { background: var(--gold); color: var(--night); }
.btn-solid:hover { background: var(--gold-soft); color: var(--night); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: rgba(198, 162, 112, .12); }
.link {
	font: 600 13px/1 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	padding-bottom: 6px;
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
}
.link:hover { color: var(--gold-soft); border-color: var(--gold); }
.muted { color: var(--muted); }

/* ------------------------------------------------ header (same as the subpages) */
.h-header { border-bottom: 1px solid var(--line); }
.h-header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1440px;
	min-height: 110px;
	margin: 0 auto;
	padding: 0 38px;
}
.h-logo img { width: 167px; }
.h-nav { flex: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; }
.h-nav a {
	font: 300 14px/1 "Open Sans Condensed", "Arial Narrow", sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
	padding: 8px 0;
}
.h-nav a:hover { color: var(--gold); }
.h-nav .h-nav-lang { display: none; }
.h-actions { display: flex; align-items: center; gap: 12px; }
.h-actions .btn { min-height: 44px; padding: 0 20px; font-size: 12px; }
.h-lang {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 52px;
	padding: 0 14px;
	border: 1px solid var(--line);
	font: 600 12px/1 var(--text);
	letter-spacing: .14em;
}
.h-lang:hover { border-color: var(--gold); }
.h-menu-toggle { display: none; }

@media (max-width: 1024px) {
	.h-header { position: sticky; top: 0; z-index: 50; background: var(--night); }
	.h-header-inner { min-height: 70px; padding: 0 22px; justify-content: space-between; }
	.h-logo img { width: 128px; }
	.h-actions { display: none; }
	.h-menu-toggle {
		display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
		width: 44px; height: 44px; padding: 11px 4px; border: 0; background: none; cursor: pointer;
	}
	.h-menu-toggle span { display: block; height: 1px; background: var(--gold); }
	.h-menu-toggle span:nth-child(1) { width: 26px; }
	.h-menu-toggle span:nth-child(2) { width: 34px; }
	.h-menu-toggle span:nth-child(3) { width: 22px; }
	.h-nav {
		display: none; position: fixed; inset: 70px 0 0 0;
		flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 0;
		padding: 14px 22px 40px; background: var(--night); border-top: 1px solid var(--line); overflow-y: auto;
	}
	.menu-open .h-nav { display: flex; }
	.menu-open, .menu-open body { overflow: hidden; }
	.h-nav a {
		padding: 15px 0; border-bottom: 1px solid var(--line-faint);
		font: 400 22px/1.2 var(--display); letter-spacing: .02em; text-transform: none; color: var(--ivory);
	}
	.h-nav .h-nav-lang {
		display: block; border: 0; padding-top: 22px;
		font: 600 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
	}
}

/* ------------------------------------------------ arch frame */
.arch { position: relative; isolation: isolate; aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.arch::before, .arch::after { content: ""; position: absolute; z-index: -1; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.arch::before { inset: -11px -11px 0; background: var(--gold); opacity: .9; }
.arch::after { inset: -10px -10px 0; background: var(--night); }

/* ------------------------------------------------ sections */
main > section { max-width: var(--wrap); margin: 0 auto; padding: 0 38px; }
main > section + section { margin-top: 110px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2, .visit h2, .story h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; letter-spacing: .01em; }

/* 1. hero */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: 70px;
	align-items: center;
	padding-top: 64px !important;
}
.hero h1 { font-size: clamp(42px, 5.2vw, 68px); line-height: 1.05; letter-spacing: .005em; max-width: 11em; }
.hero-sub { margin: 20px 0 0; font-size: 19px; color: var(--muted); }
.hero-status { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; font-size: 15px; color: var(--ivory); }
.hero-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.hero-status.is-open::before { background: #7fbf8a; box-shadow: 0 0 0 4px rgba(127, 191, 138, .15); }
.hero-status.is-closed::before { background: #c98a7a; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-arch { width: min(100%, 360px); justify-self: center; margin-top: 11px; }

/* 2. buffets */
.buffets { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.buffet { position: relative; display: block; overflow: hidden; border: 1px solid var(--line-faint); background: var(--panel); transition: border-color .2s ease; }
.buffet:hover { border-color: var(--gold); }
.buffet img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.buffet:hover img { transform: scale(1.03); }
.buffet-body { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "meta price"; gap: 4px 20px; align-items: center; padding: 22px 26px 24px; }
.buffet-name { grid-area: name; font: 400 26px/1.2 var(--display); color: var(--ivory); }
.buffet-meta { grid-area: meta; font-size: 15px; color: var(--muted); }
.buffet-price { grid-area: price; font: 400 40px/1 var(--display); color: var(--gold); }

/* 3. dishes */
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dish { margin: 0; }
.dish img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dish figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font: 400 18px/1.3 var(--display); color: var(--ivory); }
.dish-price { color: var(--gold); white-space: nowrap; }

/* 4. story */
.story { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 80px; align-items: center; }
.story-arch { margin-top: 11px; }
.story-text p { max-width: 34em; margin: 20px 0 30px; font-size: 19px; line-height: 1.7; }

/* 5. reviews */
.rating { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; color: var(--ivory); }
.rating-score { font: 400 34px/1 var(--display); color: var(--gold); }
.rating-stars { color: var(--gold); letter-spacing: .1em; }
.rating-text { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line-faint); }
.rating:hover .rating-text { color: var(--ivory); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 30px 30px 26px; border: 1px solid var(--line-faint); }
.review p { margin: 0 0 18px; font: 400 20px/1.5 var(--display); color: var(--ivory); }
.review-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.review-note:empty { display: none; }
.review footer { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* 6. visit */
.visit h2 { margin-bottom: 34px; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.visit-block { padding: 30px 30px 10px 0; }
.visit-block + .visit-block { padding-left: 30px; border-left: 1px solid var(--line-faint); }
.visit-block h3 { margin-bottom: 16px; font-size: 22px; }
.visit-block p { margin: 0 0 16px; }
.visit-block .btn { margin: 4px 22px 16px 0; }
.hours { margin: 0 0 14px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-faint); }
.hours dd { margin: 0; }

/* footer */
.h-footer { margin-top: 120px; padding: 56px 22px calc(56px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 15px; }
.h-footer img { width: 130px; margin: 0 auto 18px; }
.h-footer p { margin: 4px 0; }
.h-footer-links { display: flex; justify-content: center; gap: 24px; margin-top: 16px !important; }

/* booking bar (shared markup with the other pages, see site.js) */
.jp-actionbar {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; gap: 8px; padding: 8px;
	background: rgba(12, 19, 21, .94); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
	transform: translateY(calc(100% + 40px)); transition: transform .28s ease;
}
.jp-actionbar.is-shown { transform: none; }
.jp-actionbar .btn { min-height: 46px; padding: 0 20px; font-size: 12px; }

/* ------------------------------------------------ tablet / phone */
@media (max-width: 1024px) {
	main > section { padding: 0 22px; }
	main > section + section { margin-top: 80px; }
	.hero { grid-template-columns: 1fr; gap: 30px; padding-top: 30px !important; text-align: center; }
	.hero-arch { order: -1; justify-self: center; width: min(74vw, 340px); }
	.hero h1 { margin: 0 auto; font-size: clamp(32px, 8.6vw, 44px); }
	.hero-sub { margin-top: 12px; font-size: 16px; }
	.hero-status { margin-top: 16px; }
	.hero-actions { justify-content: center; flex-direction: column; gap: 18px; margin-top: 24px; }
	.hero-actions .btn { width: 100%; max-width: 420px; }
	.dish-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
	.story { grid-template-columns: 1fr; gap: 34px; text-align: center; }
	.story-arch { width: min(64vw, 300px); margin: 11px auto 0; }
	.story-text p { margin: 16px auto 24px; font-size: 17px; }
	.review-grid { grid-template-columns: 1fr; }
	.visit-grid { grid-template-columns: 1fr; }
	.visit-block, .visit-block + .visit-block { padding: 24px 0 8px; border-left: 0; border-bottom: 1px solid var(--line-faint); }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.buffets { grid-template-columns: 1fr; gap: 14px; }
	.buffet-body { padding: 18px 20px 20px; }
	.buffet img { aspect-ratio: 16 / 7; }  /* shorter photos on phones */
	.buffet-name { font-size: 22px; }
	.buffet-price { font-size: 34px; }
	.dish figcaption { flex-direction: column; gap: 2px; font-size: 16px; }
	.review { padding: 24px 22px 20px; }
	.review p { font-size: 18px; }
	/* booking bar: full width at the bottom */
	.jp-actionbar {
		left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		border: 0; border-top: 1px solid var(--line); box-shadow: none;
		transform: translateY(110%);
	}
	.jp-actionbar .btn { min-height: 48px; }
	body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* rating under the hero headline */
.hero-rating { display: inline-flex; align-items: baseline; gap: 10px; margin: 12px 0 0; color: var(--ivory); font-size: 15px; }
.hero-rating span:first-child { color: var(--gold); letter-spacing: .1em; }
.hero-rating strong { font: 400 22px/1 var(--display); color: var(--gold); }
.hero-rating span:last-child { color: var(--muted); border-bottom: 1px solid var(--line-faint); }
.hero-rating:hover span:last-child { color: var(--ivory); }
.hero-text .hero-status { display: flex; }
@media (max-width: 1024px) { .hero-text .hero-status, .hero-rating { justify-content: center; } .hero-text .hero-status { display: inline-flex; } .hero-rating { display: flex; } }
