/**
 * Restaurant landing: cream arrival, ink carta, paper visit, persistent dock.
 * Soul tokens (--rh-accent, --rh-fg, --rh-muted, --rh-ink, --rh-support)
 * are set per restaurant. These fallbacks are the sunlit house.
 *
 * ── ONBOARDING PREVIEW / `rou-embed-preview` — READ BEFORE ADDING RULES ──────
 * D-164 (2026-10-04): RestaurantHome::maybe_render() dequeues + deregisters the
 * theme's rou-restaurant-home.css and enqueues THIS file, so this is the only
 * stylesheet that reaches the guest landing (and therefore the onboarding iframe).
 *
 * There are 13 `body.rou-embed-preview ...` rules sitting in
 * themes/rou-app/assets/css/rou-restaurant-home.css that are consequently DEAD:
 * they never load. Most of their selectors also target markup that exists only in
 * the legacy theme template-parts/restaurant-public-home.php, not in
 * templates/restaurant-public-home.php which is what actually renders.
 *
 * This is currently harmless — verified live, the iframe and the public URL return
 * the same document (the embed only adds the modifier class and a <base href>).
 * DEC-20 requires "preview = production", so dead CSS that would *hide* things is
 * a landmine rather than a convenience.
 *
 * WARNING if you migrate those rules here: one of them hides
 * `.rou-rhome-hero-title`, which IS present in this plugin template — it is the
 * restaurant's own name in the <h1>. Copying that selector over would make the
 * onboarding preview diverge from what guests see, i.e. exactly the
 * bait-and-switch DEC-20 forbids. Drop the hero-title rule if reviving the rest.
 */

body.rou-restaurant-public-home {
	--rh-cream: var(--rh-paper-tint, var(--rou-cream, #faf5ea));
	--rh-fg: #281c16;
	--rh-muted: #695f58;
	--rh-line: color-mix(in srgb, var(--rh-fg) 12%, transparent);
	--rh-ink-fg: #fcf8f0;
	--rh-ink-muted: #aca69e;
	--rh-ink-line: color-mix(in srgb, var(--rh-ink-fg) 18%, transparent);
	--rh-surface: #fefbf6;
	--rh-support: #32512c;
	--rh-round: 999px;
	--rh-display: "DM Serif Display", "Noto Serif SC", "Songti SC", "STSong", "PingFang SC", Georgia, serif;
	--rh-sans: Poppins, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
	--rh-dish: Poppins, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
	margin: 0;
	background: var(--rh-cream);
	color: var(--rh-fg);
	font-family: var(--rh-sans);
	font-size: 1rem;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

body.rou-rhome--seal {
	--rh-display: "Noto Serif SC", "Songti SC", "STSong", "PingFang SC", "DM Serif Display", Georgia, serif;
}

body.rou-restaurant-public-home *,
body.rou-restaurant-public-home *::before,
body.rou-restaurant-public-home *::after {
	box-sizing: border-box;
}

body.rou-restaurant-public-home img {
	max-width: 100%;
	height: auto;
}

:where(body.rou-restaurant-public-home) a {
	color: inherit;
}

@media (prefers-reduced-motion: no-preference) {
	html:has(body.rou-restaurant-public-home) {
		scroll-behavior: smooth;
	}
}

body.rou-restaurant-public-home :focus-visible {
	outline: 2px solid var(--rh-accent);
	outline-offset: 3px;
}

.rou-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	padding: 0.65rem 1.1rem;
	background: var(--rh-ink);
	color: var(--rh-ink-fg);
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--rh-round);
}

.rou-skip-link:focus {
	left: 0.75rem;
	top: 0.75rem;
}

.rou-rhome-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rou-rhome-display,
.rou-rhome-hero-title,
.rou-rhome-footer__name,
.rou-rhome-cat__head h3,
.rou-rhome-hero-photo__name {
	font-family: var(--rh-display);
	font-weight: 400;
	letter-spacing: -0.02em;
}

.rou-rhome-dishname {
	font-family: var(--rh-dish);
	font-weight: 600;
}

.rou-rhome-kicker {
	margin: 0;
	color: var(--rh-support, var(--rh-accent));
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.rou-rhome-kicker--on-ink {
	color: var(--rh-accent-soft, var(--rh-accent));
}

.rou-rhome-icon {
	display: block;
	flex: 0 0 auto;
}

.rou-rhome-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--rh-fg) 10%, transparent);
	background: color-mix(in srgb, var(--rh-surface) 90%, transparent);
	backdrop-filter: blur(24px);
	color: var(--rh-accent);
	font-family: var(--rh-display);
	font-size: 1rem;
	line-height: 1;
}

.rou-rhome-mark--logo {
	object-fit: cover;
	padding: 0;
}

/* Arrival ---------------------------------------------------------- */

.rou-rhome-arrival {
	position: relative;
	min-height: 100svh;
	overflow: hidden;
	background: var(--rh-cream);
	scroll-margin-top: 0.5rem;
}

.rou-rhome-arrival__grain {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.22;
	background-image: radial-gradient(rgba(44, 38, 31, 0.28) 0.6px, transparent 0.6px);
	background-size: 3px 3px;
}

.rou-rhome-arrival__frame {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	max-width: 96rem;
	margin: 0 auto;
	padding: 1.25rem 1.25rem 6.5rem;
}

.rou-rhome-run {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3rem;
}

.rou-rhome-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	text-decoration: none;
	font-family: var(--rh-dish);
	font-size: 0.92rem;
	font-weight: 600;
}

.rou-rhome-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rou-rhome-lang-codes {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.15rem;
	max-width: min(22rem, 58vw);
	padding: 0.2rem;
	border: 1px solid color-mix(in srgb, var(--rh-fg) 10%, transparent);
	border-radius: var(--rh-round);
	background: color-mix(in srgb, var(--rh-surface) 90%, transparent);
	backdrop-filter: blur(24px);
}

.rou-rhome-lang-codes__sep {
	display: none;
}

.rou-rhome-lang-codes__link,
.rou-rhome-lang-codes__cur {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0 0.7rem;
	border-radius: var(--rh-round);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.rou-rhome-lang-codes__cur {
	background: var(--rh-fg);
	color: var(--rh-cream);
}

.rou-rhome-lang-codes__link {
	color: var(--rh-muted);
}

.rou-rhome-arrival__grid {
	display: grid;
	flex: 1;
	align-items: center;
	gap: 2rem;
	padding: 2rem 0 1.5rem;
}

.rou-rhome-hero-title {
	margin: 0;
	max-width: 11ch;
	font-size: clamp(2.85rem, 11vw, 10rem);
	line-height: 0.88;
}

/* A long legal name is still a name: step the scale down instead of letting
   it wrap into five lines and push the only action below the fold. */
.rou-rhome-hero-title--mid {
	max-width: 15ch;
	font-size: clamp(2.4rem, 8.5vw, 6.5rem);
	line-height: 0.94;
}

.rou-rhome-hero-title--long {
	max-width: 20ch;
	font-size: clamp(1.9rem, 6vw, 4.2rem);
	line-height: 1.02;
}

.rou-rhome-hero-sub {
	max-width: 22rem;
	margin: 1.4rem 0 0;
	font-family: var(--rh-display);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	font-style: italic;
	line-height: 1.35;
	color: var(--rh-muted);
}

.rou-rhome-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	max-width: 36rem;
	margin-top: 1.75rem;
}

.rou-rhome-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.75rem;
	padding: 0.45rem 1.05rem;
	border-radius: var(--rh-round);
	border: 1px solid transparent;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.rou-rhome-btn .rou-rhome-icon {
	width: 1.05rem;
	height: 1.05rem;
}

.rou-rhome-btn--order {
	background: var(--rh-accent);
	color: var(--rh-on-accent, #fffaf5);
	box-shadow: 0 10px 28px color-mix(in srgb, var(--rh-accent) 28%, transparent);
}

.rou-rhome-btn--ghost {
	background: transparent;
	border-color: color-mix(in srgb, currentColor 22%, transparent);
}

.rou-rhome-btn--light {
	width: 100%;
	margin-top: 0.4rem;
	background: var(--rh-ink-fg);
	color: var(--rh-ink, #241c18);
}

.rou-rhome-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.rou-rhome-table-hint {
	margin: 0.9rem 0 0;
	max-width: 28rem;
	color: var(--rh-muted);
	font-size: 0.82rem;
}

.rou-rhome-hero-photo {
	position: relative;
	width: min(100%, 32rem);
	margin: 0 auto;
}

.rou-rhome-hero-photo__frame,
.rou-rhome-feature__frame,
.rou-rhome-thumb {
	overflow: hidden;
	background: color-mix(in srgb, var(--rh-fg) 8%, transparent);
}

.rou-rhome-hero-photo__frame {
	aspect-ratio: 4 / 5;
	border-radius: 1.5rem;
}

.rou-rhome-hero-photo__frame,
.rou-rhome-feature__frame,
.rou-rhome-thumb {
	position: relative;
}

body.rou-restaurant-public-home .rou-rhome-hero-photo__img,
body.rou-restaurant-public-home .rou-rhome-feature__img,
body.rou-restaurant-public-home .rou-rhome-thumb__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.rou-rhome-hero-photo__cap {
	position: absolute;
	left: 0;
	bottom: 0;
	max-width: 16rem;
	padding: 1.15rem 1.35rem;
	border-radius: 1.35rem;
	border: 1px solid color-mix(in srgb, var(--rh-ink-fg) 12%, transparent);
	background: var(--rh-ink, #281c16);
	color: var(--rh-ink-fg);
	box-shadow: 0 18px 40px rgba(20, 14, 10, 0.28);
}

.rou-rhome-hero-photo__name {
	display: block;
	margin-top: 0.35rem;
	font-size: 1.25rem;
	line-height: 1.2;
}

.rou-rhome-arrival__foot {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--rh-line);
}

.rou-rhome-colophon {
	display: grid;
	gap: 0.75rem;
	margin: 0;
}

.rou-rhome-colophon__row {
	margin: 0;
}

.rou-rhome-colophon dd {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0;
	color: var(--rh-muted);
	font-size: 0.78rem;
	line-height: 1.45;
	font-style: normal;
}

.rou-rhome-colophon .rou-rhome-icon {
	width: 1rem;
	height: 1rem;
	margin-top: 0.1rem;
	color: var(--rh-accent);
}

.rou-rhome-down {
	align-self: flex-start;
	color: var(--rh-muted);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

/* Carta ------------------------------------------------------------ */

.rou-rhome-carta {
	background: var(--rh-ink, #241c18);
	color: var(--rh-ink-fg);
	scroll-margin-top: 1rem;
}

.rou-rhome-carta__frame {
	max-width: 90rem;
	margin: 0 auto;
	padding: 4rem 1.25rem 5rem;
}

.rou-rhome-carta__head {
	display: grid;
	gap: 1.25rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--rh-ink-line);
}

.rou-rhome-carta__head .rou-rhome-display {
	margin: 0.6rem 0 0;
	max-width: 14ch;
	font-size: clamp(2.8rem, 7vw, 6.5rem);
	line-height: 0.92;
}

.rou-rhome-kitchen {
	max-width: 22rem;
	margin: 0;
	color: var(--rh-ink-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.rou-rhome-jump {
	overflow-x: auto;
	padding: 1.1rem 0;
}

.rou-rhome-jump ul {
	display: flex;
	gap: 0.35rem;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rou-rhome-jump a {
	display: inline-flex;
	padding: 0.45rem 0.15rem;
	border-bottom: 1px solid var(--rh-ink-line);
	color: var(--rh-ink-muted);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.rou-rhome-features {
	display: grid;
	gap: 1.5rem;
	padding: 2rem 0;
	border-bottom: 1px solid var(--rh-ink-line);
}

.rou-rhome-feature__frame {
	aspect-ratio: 5 / 4;
	border-radius: 1.5rem;
}

.rou-rhome-feature__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.9rem;
}

.rou-rhome-feature__row h3,
.rou-rhome-line__title h4 {
	margin: 0;
	font-size: 1.15rem;
}

.rou-rhome-price {
	margin: 0;
	flex: 0 0 auto;
	font-size: 0.92rem;
	font-weight: 600;
}

.rou-rhome-cat {
	display: grid;
	gap: 0.5rem;
	padding: 2.4rem 0;
	scroll-margin-top: 1rem;
}

.rou-rhome-cat__head h3 {
	margin: 0.35rem 0 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.rou-rhome-line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.8rem 1rem;
	align-items: center;
	padding: 1.15rem 0;
	border-top: 1px solid var(--rh-ink-line);
}

.rou-rhome-line__title {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.rou-rhome-orig,
.rou-rhome-desc,
.rou-rhome-allergens {
	margin: 0.35rem 0 0;
	max-width: 40rem;
}

.rou-rhome-desc,
.rou-rhome-orig,
.rou-rhome-allergens {
	color: var(--rh-ink-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.rou-rhome-allergens,
.rou-rhome-orig {
	font-size: 0.78rem;
}

.rou-rhome-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	grid-column: 1 / -1;
	min-height: 3rem;
	border: 1px solid var(--rh-ink-line);
	border-radius: var(--rh-round);
	color: inherit;
	text-decoration: none;
}

.rou-rhome-add.is-in {
	background: var(--rh-ink-fg);
	color: var(--rh-ink, #241c18);
	border-color: transparent;
}

.rou-rhome-thumb {
	display: none;
	width: 7rem;
	height: 7rem;
	border-radius: 1rem;
}

/* Visit and notes -------------------------------------------------- */

.rou-rhome-visit {
	background: color-mix(in srgb, var(--rh-cream) 72%, white);
	scroll-margin-top: 1rem;
}

.rou-rhome-notes {
	background: var(--rh-cream);
	scroll-margin-top: 1rem;
}

.rou-rhome-band {
	max-width: 80rem;
	margin: 0 auto;
	padding: 4rem 1.25rem;
}

.rou-rhome-band .rou-rhome-display {
	margin: 0.55rem 0 0;
	max-width: 14ch;
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	line-height: 0.95;
}

.rou-rhome-visit__map {
	margin-top: 2rem;
	overflow: hidden;
	border: 1px solid var(--rh-line);
	border-radius: 1.5rem;
	background: var(--rh-surface);
	box-shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
}

.rou-rhome-visit__map-frame {
	display: block;
	width: 100%;
	height: min(62vw, 22rem);
	min-height: 16rem;
	border: 0;
}

.rou-rhome-visit__map-static {
	display: block;
	width: 100%;
	height: auto;
	min-height: 16rem;
	object-fit: cover;
}

.rou-rhome-visit__map-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.rou-rhome-visit__directions {
	margin: 1.25rem 0 0;
	text-align: center;
}

.rou-rhome-visit__directions-btn {
	display: inline-flex;
}

.rou-rhome-visit__grid,
.rou-rhome-notes__grid {
	display: grid;
	gap: 1px;
	margin-top: 2rem;
	overflow: hidden;
	border: 1px solid var(--rh-line);
	border-radius: 1.5rem;
	background: var(--rh-line);
}

.rou-rhome-visit__cell,
.rou-rhome-note {
	min-height: 9rem;
	margin: 0;
	padding: 1.4rem;
	background: var(--rh-surface);
}

.rou-rhome-visit__cell .rou-rhome-icon {
	color: var(--rh-accent);
}

.rou-rhome-visit__label {
	margin: 1.4rem 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rh-muted);
}

.rou-rhome-visit__cell p:last-child {
	margin: 0;
	max-width: 22rem;
	font-size: 0.95rem;
	line-height: 1.5;
}

.rou-rhome-notes__grid {
	gap: 0;
	border: 0;
	background: transparent;
}

.rou-rhome-note {
	padding: 1.4rem 0 0;
	border-top: 1px solid var(--rh-line);
	background: transparent;
	border-radius: 0;
}

.rou-rhome-stars {
	color: var(--rh-accent);
	letter-spacing: 0.12em;
}

/* Aggregate proof: the number is the claim, the notes are the evidence. */
.rou-rhome-rating {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 1.6rem;
	padding-bottom: 1.2rem;
	border-bottom: 1px solid var(--rh-line);
}

.rou-rhome-rating__score {
	margin: 0;
	font-family: var(--rh-display);
	font-size: clamp(2.6rem, 5vw, 3.6rem);
	line-height: 0.9;
}

.rou-rhome-rating__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.rou-rhome-rating__stars {
	margin: 0;
	font-size: 0.95rem;
	letter-spacing: 0.14em;
}

.rou-rhome-rating__count {
	margin: 0;
	color: var(--rh-muted);
	font-size: 0.82rem;
}

.rou-rhome-note blockquote {
	margin: 0.8rem 0 0;
	font-family: var(--rh-display);
	font-size: 1.35rem;
	line-height: 1.35;
}

.rou-rhome-note figcaption {
	display: flex;
	gap: 0.8rem;
	margin-top: 0.9rem;
	color: var(--rh-muted);
	font-size: 0.82rem;
}

/* Footer, grow, dock ---------------------------------------------- */

.rou-rhome-grow {
	background: var(--rh-cream);
}

.rou-rhome-grow h2 {
	margin: 0;
	font-family: var(--rh-display);
	font-size: 2rem;
	font-weight: 400;
}

.rou-rhome-grow p,
.rou-rhome-grow li {
	color: var(--rh-muted);
}

.rou-rhome-footer {
	background: var(--rh-ink, #241c18);
	color: var(--rh-ink-fg);
	padding: 3.5rem 1.25rem 7rem;
}

.rou-rhome-footer__frame,
.rou-rhome-footer__base {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 80rem;
	margin: 0 auto;
}

.rou-rhome-footer__name {
	margin: 0;
	font-size: clamp(2.1rem, 7vw, 5.5rem);
	line-height: 0.94;
}

.rou-rhome-footer__addr {
	margin: 0.8rem 0 0;
	color: var(--rh-ink-muted);
	font-size: 0.92rem;
}

.rou-rhome-footer__base {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	margin-top: 2.5rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--rh-ink-line);
}

.rou-rhome-powered {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--rh-ink-muted);
	font-size: 0.75rem;
	text-decoration: none;
}

.rou-rhome-powered__mark {
	width: 1rem;
	height: 1rem;
	opacity: 0.8;
}

.rou-rhome-staff {
	color: var(--rh-ink-muted);
	font-size: 0.75rem;
	text-decoration: none;
}

.rou-rhome-dock {
	position: fixed;
	z-index: 40;
	left: 50%;
	bottom: max(1rem, env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 0.35rem;
	width: max-content;
	max-width: calc(100vw - 1.5rem);
	padding: 0.4rem;
	border: 1px solid color-mix(in srgb, var(--rh-fg) 10%, transparent);
	border-radius: var(--rh-round);
	background: color-mix(in srgb, var(--rh-surface) 90%, transparent);
	box-shadow: 0 16px 40px rgba(28, 20, 14, 0.16);
	transform: translateX(-50%);
	backdrop-filter: blur(24px);
}

.rou-rhome-dock__mark {
	display: none;
}

.rou-rhome-dock__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	color: var(--rh-muted);
	text-decoration: none;
}

.rou-rhome-dock__btn.is-current {
	background: var(--rh-fg);
	color: var(--rh-cream);
}

.rou-rhome-dock__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rou-rhome-dock__count {
	position: absolute;
	top: 0.05rem;
	right: 0.05rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 1rem;
	height: 1rem;
	padding: 0 0.2rem;
	border-radius: var(--rh-round);
	background: var(--rh-accent);
	color: var(--rh-on-accent, #fffaf5);
	font-size: 0.62rem;
	font-weight: 700;
}

.rou-rhome-tray {
	position: fixed;
	z-index: 45;
	left: 0;
	right: 0;
	bottom: calc(5.6rem + env(safe-area-inset-bottom));
	display: flex;
	justify-content: center;
	padding: 0 1rem;
	pointer-events: none;
}

.rou-rhome-tray button {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(36rem, 100%);
	min-height: 3.25rem;
	padding: 0 1.3rem;
	border: 0;
	border-radius: var(--rh-round);
	background: var(--rh-accent);
	color: var(--rh-on-accent, #fffaf5);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	box-shadow: 0 16px 36px color-mix(in srgb, var(--rh-accent) 32%, transparent);
	cursor: pointer;
}

/* Reserve and delivery sheets ------------------------------------- */

.rou-rhome-reserve {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 60;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

.rou-rhome-reserve:target,
.rou-rhome-reserve.is-open {
	display: flex;
}

.rou-rhome-reserve__backdrop,
.rou-rhome-order__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: color-mix(in srgb, #1a140f 62%, transparent);
	backdrop-filter: blur(6px);
}

.rou-rhome-reserve__panel,
.rou-rhome-order__panel {
	position: relative;
	z-index: 1;
	width: min(32rem, 100%);
	max-height: 90svh;
	overflow: auto;
	padding: 1.4rem 1.25rem 1.6rem;
	border-radius: 2rem 2rem 0 0;
	background: var(--rh-ink, #241c18);
	color: var(--rh-ink-fg);
}

.rou-rhome-order {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.rou-rhome-order[hidden] {
	display: none;
}

.rou-rhome-order__panel {
	width: min(36rem, 100%);
	background: var(--rh-surface);
	color: var(--rh-fg);
}

.rou-rhome-reserve__bar,
.rou-rhome-order__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.rou-rhome-reserve .rou-rhome-mark {
	border-color: var(--rh-ink-line);
	background: transparent;
	color: var(--rh-ink-fg);
}

.rou-rhome-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid var(--rh-ink-line);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.rou-rhome-order__panel .rou-rhome-iconbtn {
	border-color: var(--rh-line);
}

.rou-rhome-reserve__panel .rou-rhome-display,
.rou-rhome-order__panel .rou-rhome-display {
	margin: 1.4rem 0 0;
	font-size: clamp(2rem, 5vw, 2.7rem);
	line-height: 1.05;
}

.rou-rhome-reserve__lead,
.rou-rhome-reserve__hint {
	color: var(--rh-ink-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.rou-rhome-reserve__form {
	margin-top: 1.2rem;
}

.rou-rhome-reserve__grid {
	display: grid;
	gap: 0.7rem;
}

.rou-rhome-field {
	display: block;
}

.rou-rhome-field--full {
	grid-column: 1 / -1;
}

.rou-rhome-field__label {
	display: block;
	margin: 0 0 0.3rem 0.85rem;
	color: var(--rh-ink-muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rou-rhome-field__input {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--rh-ink-line);
	border-radius: var(--rh-round);
	background: transparent;
	color: var(--rh-ink-fg);
	font: inherit;
}

.rou-rhome-field__input:focus {
	outline: 2px solid var(--rh-accent-soft, var(--rh-accent));
	outline-offset: 2px;
}

textarea.rou-rhome-field__input {
	border-radius: 1.2rem;
	resize: vertical;
}

.rou-rhome-hp {
	position: absolute;
	left: -9999px;
}

.rou-rhome-reserve__status {
	margin: 0.8rem 0 0;
	font-size: 0.92rem;
}

.rou-rhome-reserve__status.is-ok {
	font-family: var(--rh-display);
	font-size: 1.6rem;
	line-height: 1.2;
}

.rou-rhome-reserve__status.is-err {
	color: #ffb4a8;
}

.rou-rhome-order__lines {
	margin-top: 1.2rem;
	border-top: 1px solid var(--rh-line);
}

.rou-rhome-order__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--rh-line);
}

.rou-rhome-order__name {
	margin: 0;
	font-family: var(--rh-dish);
	font-weight: 600;
}

.rou-rhome-order__price {
	margin: 0.2rem 0 0;
	color: var(--rh-muted);
	font-size: 0.85rem;
}

.rou-rhome-stepper {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.rou-rhome-stepper button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--rh-line);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.rou-rhome-stepper span {
	min-width: 1.4rem;
	text-align: center;
	font-weight: 700;
}

.rou-rhome-order__totals {
	margin: 1rem 0 1.2rem;
}

.rou-rhome-order__totals div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0.35rem 0;
	color: var(--rh-muted);
	font-size: 0.92rem;
}

.rou-rhome-order__totals .is-total {
	margin-top: 0.6rem;
	padding-top: 0.6rem;
	border-top: 1px solid var(--rh-line);
	color: var(--rh-fg);
	font-weight: 700;
}

.rou-rhome-order__totals dt,
.rou-rhome-order__totals dd {
	margin: 0;
}

body.rou-rhome-lock {
	overflow: hidden;
}

body.rou-rhome--name-only .rou-rhome-main {
	min-height: 100svh;
}

/* Wider / mobile screens ------------------------------------------- */

@media (max-width: 720px) {
	.rou-rhome-run {
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.5rem;
	}

	.rou-rhome-brand {
		flex: 1 1 auto;
		min-width: 0;
		gap: 0.5rem;
	}

	.rou-rhome-lang-codes {
		flex: 0 0 auto;
		max-width: none;
		margin-left: auto;
	}

	.rou-rhome-lang-codes__link,
	.rou-rhome-lang-codes__cur {
		min-height: 2rem;
		padding: 0 0.52rem;
		font-size: 0.64rem;
	}

	.rou-rhome-hero-photo__cap {
		left: 0.8rem;
		right: 0.8rem;
		bottom: 0.8rem;
		max-width: none;
	}
}

@media (max-width: 640px) {
	.rou-rhome-arrival__frame {
		padding: 0.85rem 1.05rem 4.5rem;
	}

	.rou-rhome-arrival__grid {
		gap: 0.9rem;
		padding: 0.5rem 0;
	}

	.rou-rhome-hero-title {
		font-size: clamp(2.25rem, 9.5vw, 3.2rem);
		line-height: 0.9;
	}

	.rou-rhome-hero-title--mid {
		font-size: clamp(2rem, 8vw, 2.8rem);
		line-height: 0.98;
	}

	.rou-rhome-hero-title--long {
		max-width: none;
		font-size: clamp(1.65rem, 6.6vw, 2.2rem);
		line-height: 1.04;
	}

	.rou-rhome-hero-sub {
		margin-top: 0.5rem;
		font-size: 1rem;
	}

	.rou-rhome-actions {
		margin-top: 0.75rem;
	}

	.rou-rhome-table-hint {
		margin-top: 0.45rem;
		font-size: 0.74rem;
	}

	.rou-rhome-hero-photo__frame {
		aspect-ratio: 16 / 10;
		border-radius: 1.1rem;
	}

	.rou-rhome-hero-photo__cap {
		left: 0.65rem;
		right: auto;
		bottom: 0.65rem;
		max-width: calc(100% - 1.3rem);
		padding: 0.55rem 0.85rem;
		border-radius: 0.9rem;
	}

	.rou-rhome-hero-photo__name {
		margin-top: 0.15rem;
		font-size: 0.92rem;
	}
}

@media (min-width: 700px) {
	.rou-rhome-arrival__frame,
	.rou-rhome-carta__frame {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}

	.rou-rhome-colophon {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rou-rhome-line.has-photo {
		grid-template-columns: minmax(0, 1fr) auto 7rem;
	}

	.rou-rhome-add {
		grid-column: auto;
		width: 3rem;
		height: 3rem;
		min-height: 0;
		padding: 0;
	}

	.rou-rhome-add__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.rou-rhome-add__label.is-count {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		font-weight: 700;
	}

	.rou-rhome-thumb {
		display: block;
	}

	.rou-rhome-visit__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rou-rhome-notes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}

	.rou-rhome-reserve,
	.rou-rhome-order {
		align-items: center;
		padding: 1.5rem;
	}

	.rou-rhome-reserve__panel,
	.rou-rhome-order__panel {
		border-radius: 2rem;
		padding: 1.8rem;
	}
}

@media (min-width: 960px) {
	.rou-rhome-arrival__frame,
	.rou-rhome-carta__frame,
	.rou-rhome-band,
	.rou-rhome-footer__frame,
	.rou-rhome-footer__base {
		padding-right: 6.5rem;
	}

	.rou-rhome-arrival__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
		gap: 2rem;
	}

	.rou-rhome-hero-photo {
		width: min(42vw, 38rem);
		margin-right: 0;
		margin-left: auto;
	}

	.rou-rhome-hero-photo__cap {
		left: -1.5rem;
		bottom: 1.6rem;
	}

	.rou-rhome-arrival__foot {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}

	.rou-rhome-carta__head,
	.rou-rhome-features,
	.rou-rhome-cat {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.rou-rhome-cat {
		grid-template-columns: 12rem minmax(0, 1fr);
		align-items: start;
		gap: 1.5rem;
	}

	.rou-rhome-features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rou-rhome-footer {
		padding-bottom: 3.5rem;
	}

	.rou-rhome-footer__frame {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}

	.rou-rhome-dock {
		left: auto;
		right: 1.5rem;
		top: 50%;
		bottom: auto;
		flex-direction: column;
		gap: 0.7rem;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
		transform: translateY(-50%);
		backdrop-filter: none;
	}

	.rou-rhome-dock__mark {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 3rem;
		height: 3rem;
		margin-bottom: 0.3rem;
		border: 1px solid color-mix(in srgb, var(--rh-fg) 10%, transparent);
		border-radius: 50%;
		background: color-mix(in srgb, var(--rh-surface) 90%, transparent);
		backdrop-filter: blur(24px);
		color: var(--rh-accent);
		font-family: var(--rh-display);
		box-shadow: 0 10px 24px rgba(28, 20, 14, 0.08);
	}

	.rou-rhome-dock__btn {
		border: 1px solid color-mix(in srgb, var(--rh-fg) 10%, transparent);
		background: color-mix(in srgb, var(--rh-surface) 90%, transparent);
		box-shadow: 0 10px 24px rgba(28, 20, 14, 0.1);
		backdrop-filter: blur(24px);
	}

	.rou-rhome-dock__btn:hover .rou-rhome-dock__label,
	.rou-rhome-dock__btn:focus-visible .rou-rhome-dock__label {
		position: absolute;
		right: calc(100% + 0.55rem);
		top: 50%;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0.35rem 0.7rem;
		overflow: visible;
		clip: auto;
		white-space: nowrap;
		border-radius: var(--rh-round);
		background: var(--rh-fg);
		color: var(--rh-cream);
		font-size: 0.75rem;
		font-weight: 600;
		transform: translateY(-50%);
	}

	.rou-rhome-tray {
		left: 50%;
		right: auto;
		bottom: 1.5rem;
		width: 28rem;
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.rou-restaurant-public-home) {
		scroll-behavior: auto;
	}

	.rou-rhome-hero-photo__img,
	.rou-rhome-feature__img,
	.rou-rhome-thumb__img,
	.rou-rhome-dock__btn,
	.rou-rhome-btn {
		transition: none;
	}
}
