/*
 * Design system: "Swiss Precision" — grounded in the plugin's own Swiss
 * identity (confident grotesque type, a small red precision mark as a
 * recurring signature) rather than the generic warm-cream/serif
 * restaurant template. This pass adds more visual weight and rhythm:
 * a bigger hero, alternating section tones, a credibility stats bar,
 * and a full footer — so the page reads as complete, not sparse.
 * The restaurant's own accent colour still drives every button.
 *
 * Responsive tiers: desktop (default), tablet (<= 900px), phone (<= 480px).
 */

.htr-full-website,
.htr-site-section,
.htr-site-hero,
.htr-site-stats,
.htr-site-footer {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #1a1a1a;
	box-sizing: border-box;
}
.htr-full-website *, .htr-full-website *::before, .htr-full-website *::after { box-sizing: border-box; }

.htr-full-website h1,
.htr-full-website h2,
.htr-full-website h3 {
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	letter-spacing: -0.01em;
}

.htr-full-website { max-width: none; margin: 0; background: #f0efe9; overflow-x: hidden; }

/* Precision mark: a small square before every narrative section's
   heading. The one recurring structural signature of this design. */
.htr-precision-mark {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #d62b1f;
	margin-bottom: 14px;
}

/* Scroll-reveal: sections rise and fade in as they enter view.
   Respects reduced-motion, and content is never hidden if JS fails
   (the .htr-in-view class is added immediately as a no-JS fallback). */
.htr-site-section, .htr-site-hero, .htr-site-stats {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.htr-site-section.htr-in-view, .htr-site-hero.htr-in-view, .htr-site-stats.htr-in-view {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.htr-site-section, .htr-site-hero, .htr-site-stats { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero: bigger, bolder asymmetric split ---------- */
.htr-site-hero {
	--htr-accent: #b5763a;
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	align-items: stretch;
	min-height: 560px;
	background: #1a1a1a;
	color: #f0efe9;
}
.htr-site-hero-content {
	padding: 72px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}
.htr-site-hero h1 {
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.04;
	margin: 0 0 20px;
	color: #fff;
	overflow-wrap: break-word;
}
.htr-site-hero-content p { font-size: 18px; line-height: 1.6; color: rgba(240,239,233,0.8); margin: 0 0 32px; max-width: 42ch; }
.htr-hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.htr-site-hero-btn {
	display: inline-flex;
	background: var(--htr-accent);
	color: #fff;
	padding: 17px 34px;
	font-weight: 600;
	text-decoration: none;
	font-size: 16px;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.htr-site-hero-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.htr-site-hero-secondary {
	color: #f0efe9;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	border-bottom: 1px solid rgba(240,239,233,0.4);
	padding-bottom: 2px;
}
.htr-site-hero-secondary:hover { border-color: #f0efe9; }

.htr-site-hero-frame { position: relative; overflow: hidden; background: #111; min-width: 0; }
.htr-site-hero-frame::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(120deg, rgba(26,26,26,0.25), rgba(26,26,26,0) 45%);
	pointer-events: none;
}
.htr-site-hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.htr-site-hero--no-image { grid-template-columns: 1fr; }
.htr-site-hero--no-image .htr-site-hero-content { padding: 100px 64px; text-align: left; }

/* ---------- Stats / credibility bar ---------- */
.htr-site-stats { background: #1a1a1a; color: #fff; padding: 40px 32px; }
.htr-stats-row { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; text-align: center; }
.htr-stat-item { display: flex; flex-direction: column; gap: 4px; }
.htr-stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: #fff; }
.htr-stat-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }

/* ---------- Generic sections ---------- */
.htr-site-section { padding: 72px 32px; max-width: 1100px; margin: 0 auto; }
.htr-site-section h2 { font-size: 30px; margin: 0 0 18px; }

/* Alternating tone for rhythm, so the page doesn't read as one flat block */
.htr-site-section:nth-of-type(even) { background: #ffffff; }

.htr-site-about, .htr-site-chef {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 56px;
	align-items: center;
}
.htr-site-chef { grid-template-columns: 1.05fr 0.95fr; }
.htr-site-about-image img, .htr-site-chef-image img { width: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.htr-site-chef-title {
	font-family: 'Space Grotesk', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 12.5px;
	color: #d62b1f;
	margin: 0 0 6px;
	font-weight: 600;
}
.htr-site-chef-text h2 { margin-top: 0; }
.htr-site-about-text p, .htr-site-chef-text p { line-height: 1.75; color: #333; font-size: 16px; }

/* ---------- Gallery: masonry, no caption clutter ---------- */
.htr-site-gallery-grid { columns: 3 220px; column-gap: 12px; }
.htr-site-gallery-item { break-inside: avoid; margin-bottom: 12px; }
.htr-site-gallery-item img { width: 100%; display: block; }

/* ---------- Quick links ---------- */
.htr-quick-links { padding: 0 32px 24px; max-width: 640px; }
.htr-quick-links ul { list-style: none; margin: 0; padding: 0; }
.htr-quick-links li { border-bottom: 1px solid rgba(26,26,26,0.1); }
.htr-quick-links a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 4px;
	text-decoration: none;
	color: #1a1a1a;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 18px;
	transition: padding-left 0.15s ease, color 0.15s ease;
}
.htr-quick-links a:hover, .htr-quick-links a:active { padding-left: 8px; color: #d62b1f; }
.htr-quick-links a span { color: #d62b1f; }

/* ---------- Trust badges ---------- */
.htr-ratings-heading { text-align: center; }
.htr-ratings-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.htr-rating-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	background: #faf9f6;
	padding: 24px 32px;
	min-width: 160px;
	flex: 1 1 160px;
	max-width: 220px;
	border-top: 3px solid #d62b1f;
}
.htr-rating-stars { color: #d62b1f; font-size: 18px; letter-spacing: 2px; }
.htr-rating-number { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; }
.htr-rating-label { font-size: 12px; color: #6b6b64; text-align: center; }

.htr-site-arrival-info { max-width: 640px; margin: 20px 0 0; color: #444; white-space: pre-line; line-height: 1.7; }

/* ---------- Reviews: horizontal scroll-snap strip ---------- */
.htr-site-reviews-strip {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px 4px 10px;
	margin: 0 -4px;
	-webkit-overflow-scrolling: touch;
}
.htr-site-review {
	scroll-snap-align: start;
	flex: 0 0 290px;
	background: #faf9f6;
	padding: 26px;
	margin: 0;
	border-left: 3px solid #d62b1f;
}
.htr-site-review p { font-size: 15.5px; line-height: 1.6; color: #333; margin: 0 0 14px; }
.htr-site-review footer { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.htr-site-review-name { font-weight: 600; }
.htr-site-review-stars { color: #d62b1f; }

/* ---------- Opening hours ---------- */
.htr-site-hours-table { border-collapse: collapse; width: 100%; max-width: 420px; }
.htr-site-hours-table td { padding: 9px 0; border-bottom: 1px solid rgba(26,26,26,0.1); font-size: 15px; }
.htr-site-hours-table td:last-child { text-align: right; color: #444; font-weight: 500; }

/* ---------- Contact ---------- */
.htr-site-social-links { margin: 16px 0 0; display: flex; gap: 20px; flex-wrap: wrap; }
.htr-site-social-links a { color: #1a1a1a; text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(26,26,26,0.2); }
.htr-site-social-links a:hover { color: #d62b1f; border-color: #d62b1f; }
.htr-site-map iframe { width: 100%; height: 320px; border: 0; margin-top: 24px; max-width: 100%; }

.htr-site-section.htr-site-menu-preview { background: #fff; }

/* ---------- Footer ---------- */
.htr-site-footer { background: #1a1a1a; color: rgba(240,239,233,0.8); padding: 56px 32px 0; }
.htr-footer-grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(240,239,233,0.12);
}
.htr-footer-name { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: #fff; }
.htr-footer-brand p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: rgba(240,239,233,0.6); }
.htr-footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(240,239,233,0.5); margin: 0 0 14px; font-weight: 600; }
.htr-footer-col ul { list-style: none; margin: 0; padding: 0; }
.htr-footer-col li { margin-bottom: 10px; }
.htr-footer-col a { color: rgba(240,239,233,0.85); text-decoration: none; font-size: 14.5px; }
.htr-footer-col a:hover { color: #fff; }
.htr-footer-col p { font-size: 14.5px; margin: 0 0 8px; color: rgba(240,239,233,0.75); }
.htr-footer-col p a { color: rgba(240,239,233,0.85); }
.htr-footer-bottom { max-width: 1100px; margin: 0 auto; padding: 20px 0; font-size: 13px; color: rgba(240,239,233,0.45); }

/* ==================== TABLET (<= 900px) ==================== */
@media (max-width: 900px) {
	.htr-site-hero { grid-template-columns: 1fr; min-height: 0; }
	.htr-site-hero-content { padding: 48px 32px; }
	.htr-site-hero-frame img { height: 280px; }
	.htr-site-hero--no-image .htr-site-hero-content { padding: 68px 32px; }

	.htr-site-about, .htr-site-chef { grid-template-columns: 1fr; gap: 28px; }
	.htr-site-about-image img, .htr-site-chef-image img { aspect-ratio: 16/9; }

	.htr-site-section { padding: 52px 24px; }
	.htr-site-gallery-grid { columns: 2 200px; }

	.htr-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==================== PHONE (<= 480px) ==================== */
@media (max-width: 480px) {
	.htr-site-hero-content { padding: 36px 20px; }
	.htr-site-hero-content p { font-size: 15.5px; }
	.htr-hero-ctas { flex-direction: column; align-items: stretch; gap: 14px; }
	.htr-site-hero-btn { width: 100%; justify-content: center; padding: 15px 20px; }
	.htr-site-hero-secondary { text-align: center; }
	.htr-site-hero-frame img { height: 200px; }

	.htr-site-stats { padding: 28px 20px; }
	.htr-stats-row { gap: 20px; }
	.htr-stat-number { font-size: 28px; }

	.htr-site-section { padding: 40px 18px; }
	.htr-site-section h2 { font-size: 23px; }

	.htr-site-gallery-grid { columns: 2 130px; column-gap: 6px; }
	.htr-site-gallery-item { margin-bottom: 6px; }

	.htr-quick-links { padding: 0 18px 12px; }
	.htr-quick-links a { font-size: 16px; padding: 16px 2px; }

	.htr-ratings-row { gap: 12px; }
	.htr-rating-badge { padding: 16px 16px; min-width: 0; flex-basis: calc(50% - 6px); }
	.htr-rating-number { font-size: 21px; }

	.htr-site-review { flex-basis: 82vw; padding: 20px; }

	.htr-site-hours-table td { font-size: 14px; padding: 8px 0; }

	.htr-site-map iframe { height: 220px; }

	.htr-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* ---------- Connected QR menu section ---------- */
.htr-site-qr-section {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 56px;
	background: #1a1a1a !important;
	color: #f0efe9;
	max-width: none;
	padding-left: max(32px, calc((100vw - 1100px) / 2));
	padding-right: max(32px, calc((100vw - 1100px) / 2));
}
.htr-site-qr-copy { max-width: 560px; }
.htr-site-eyebrow, .htr-site-section-heading > span {
	display: block;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #d62b1f;
	margin-bottom: 8px;
}
.htr-site-qr-section h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; }
.htr-site-qr-section p { color: rgba(240,239,233,.72); }
.htr-site-qr-section .htr-qr-menu-wrapper { background: #fff; padding: 20px; text-align: center; min-width: 280px; }
.htr-site-qr-section .htr-qr-image { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.htr-site-qr-section .htr-qr-caption { color: #333; font-size: 13px; margin: 12px 0 0; word-break: break-all; }
.htr-site-qr-section .htr-qr-caption a { color: #d62b1f; }
.htr-site-section-heading { margin-bottom: 30px; }
@media (max-width: 760px) {
	.htr-site-qr-section { grid-template-columns: 1fr; gap: 28px; padding-left: 24px; padding-right: 24px; }
	.htr-site-qr-section .htr-qr-menu-wrapper { min-width: 0; width: 100%; }
}
