/*
Theme Name: Raumkult
Description: Lightweight block theme for 1906 Raumkult, Gronau. Bottle green, honey and paper; one self-hosted serif; no JavaScript.
Author: Ariston Studios
Version: 2.2.1
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: raumkult
*/

/* Tokens (OKLCH). Committed strategy: bottle green carries the brand, honey is the single accent,
   paper stays neutral. Radius: 10px controls, 14px panels, pill buttons. */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }
:root {
	--btn: var(--green);
	--btn-hover: var(--green-deep);
	--paper: oklch(0.985 0.003 160);
	--green: oklch(0.30 0.06 160);
	--green-deep: oklch(0.22 0.05 160);
	--honey: oklch(0.80 0.15 78);
	--ink: oklch(0.22 0.03 160);
	--muted: oklch(0.42 0.03 160);
	--on-green: oklch(0.95 0.01 160);
	--on-green-muted: oklch(0.82 0.03 160);
	--line: oklch(0.86 0.012 160);
	--line-on-green: oklch(0.42 0.05 160);
	--radius: 14px;
	--display: "Young Serif", Georgia, serif;
	--z-sticky: 40;
	--z-nav: 50;
	--z-bar: 60;
}
/* No default block gaps: sections own their spacing, so nothing floats between header, hero and sections. */
.wp-site-blocks, .wp-block-post-content { --wp--style--block-gap: 0; }
.wp-site-blocks > *, .wp-block-post-content > *, main.wp-block-group > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; background: var(--paper); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
.rk-wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.rk-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: inherit; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); letter-spacing: -.01em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); letter-spacing: -.005em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
.rk-lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.rk-muted { color: var(--muted); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; box-shadow: 0 0 0 5px var(--green); }

/* On-green surfaces */
.rk-green { background: var(--green); color: var(--on-green); }
.rk-deep { background: var(--green-deep); color: var(--on-green); }
.rk-green .rk-muted, .rk-deep .rk-muted { color: var(--on-green-muted); }

/* Buttons: green on paper, honey on green. */
.rk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border-radius: 999px; background: var(--btn); color: var(--on-green) !important; text-decoration: none; border: 2px solid var(--btn); cursor: pointer; font: inherit; font-weight: 700; transition: background-color .15s ease, color .15s ease; }
.rk-btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.rk-btn:active { transform: translateY(1px); }
.rk-btn-sm { min-height: 44px; padding: 0 1.1rem; }
.rk-btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.rk-btn-ghost:hover { background: var(--ink); color: var(--paper) !important; }
.rk-green .rk-btn, .rk-deep .rk-btn { background: var(--honey); border-color: var(--honey); color: var(--green-deep) !important; }
.rk-green .rk-btn:hover, .rk-deep .rk-btn:hover { background: var(--paper); border-color: var(--paper); }
.rk-green .rk-btn-ghost, .rk-deep .rk-btn-ghost { background: transparent; border-color: var(--on-green); color: var(--on-green) !important; }
.rk-green .rk-btn-ghost:hover, .rk-deep .rk-btn-ghost:hover { background: var(--on-green); color: var(--green-deep) !important; }
.rk-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Status strip + header */
.rk-strip { background: var(--green-deep); color: var(--on-green); font-size: .9rem; }
.rk-strip-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; white-space: nowrap; overflow: hidden; }
.rk-strip a { color: var(--honey); font-weight: 600; text-decoration: none; display: inline-flex; min-height: 24px; align-items: center; }
.rk-strip a:hover { text-decoration: underline; }
/* The template-part wrapper must not clip sticky positioning (this was the "menu lag"). */
.wp-site-blocks > header.wp-block-template-part, .wp-site-blocks > footer.wp-block-template-part { display: contents; }
.rk-header { position: sticky; top: 0; z-index: var(--z-nav); background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-bar .rk-header { top: 32px; }
.admin-bar .rk-subnav { top: calc(69px + 32px); }
@media (max-width: 782px) { .admin-bar .rk-header { top: 46px; } .admin-bar .rk-subnav { top: calc(69px + 46px); } }
.rk-header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.rk-logo { font-family: var(--display); font-size: 1.4rem; text-decoration: none; margin: 0; white-space: nowrap; color: var(--green); }
.rk-logo span { opacity: .75; }
.rk-footer .rk-logo { color: var(--on-green); }
.rk-nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 600; }
.rk-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rk-nav a:not(.rk-btn):hover { text-decoration: underline; }
.rk-nav .rk-btn { color: var(--on-green) !important; }

/* Hero: the room photo fills the whole background; a flat green scrim keeps the text readable. */
.rk-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(86dvh, 820px); color: var(--on-green); background: var(--green-deep); }
.rk-hero-bg { position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden; }
.rk-slides, .rk-slide, .rk-hero-bg img, .rk-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.rk-hero-bg img, .rk-hero-video { object-fit: cover; object-position: 50% 45%; }
.rk-slide { opacity: 0; animation: rk-fade var(--dur) infinite; animation-delay: calc(var(--i) * var(--dur) / var(--n)); }
.rk-slide:first-child { opacity: 1; }
@keyframes rk-fade { 0% { opacity: 0; } 6% { opacity: 1; } 22% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }
.rk-hero-video { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .rk-slide { animation: none; } .rk-slide:not(:first-child) { display: none; } .rk-hero-video { display: none; } }
/* Soft neutral shade only where the text sits, so the photo keeps its colour. */
.rk-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.16 0.01 60 / .72) 0%, oklch(0.16 0.01 60 / .42) 38%, oklch(0.16 0.01 60 / .08) 70%, transparent 100%); }
.rk-hero-copy { padding-block: clamp(3rem, 8vw, 6rem); }
.rk-hero h1 { color: var(--on-green); margin-bottom: .45em; max-width: 16ch; }
.rk-hero .rk-lead { max-width: 36ch; margin-bottom: 1.75rem; }
.rk-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; align-items: end; background: oklch(0.2 0.05 160 / .88); padding: 1rem; border-radius: var(--radius); max-width: 640px; }
.rk-quick label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--on-green); }
.rk-quick .rk-btn { grid-column: 1 / -1; }
.rk-hero-call { margin: 1rem 0 0; color: var(--on-green); }
.rk-hero-call a { color: var(--honey); font-weight: 700; }
.rk-pagehead { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }

/* Concept + dishes */
.rk-split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr 1.25fr; align-items: start; }
.rk-dishlist { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.rk-dishlist li { display: grid; gap: .2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.rk-dishlist strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.rk-dishlist span { color: var(--muted); }

/* Room teaser: two photo doors. Green filter by default, honey filter on hover and focus. */
.rk-doors { display: grid; grid-template-columns: 1fr 1fr; }
.rk-door { position: relative; isolation: isolate; display: grid; align-content: end; min-height: clamp(260px, 34vw, 400px); padding: clamp(1.25rem, 3vw, 2.5rem); text-decoration: none; color: var(--on-green); overflow: hidden; }
.rk-door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rk-door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.16 0.01 60 / .75), oklch(0.16 0.01 60 / .1) 65%); opacity: 1; transition: background-color .25s ease, opacity .25s ease; }
.rk-door:hover::before, .rk-door:focus-visible::before { background: var(--honey); opacity: .82; }
.rk-door:hover, .rk-door:focus-visible { color: var(--green-deep); }
.rk-door strong { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1; }
.rk-door span { margin-top: .6rem; font-weight: 600; }
.rk-photo { margin: 1.5rem 0 0; }
.rk-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 55%; border-radius: var(--radius); }

/* Sub navigation: CSS-only anchors */
.rk-subnav { position: sticky; top: 69px; z-index: var(--z-sticky); background: var(--paper); border-bottom: 1px solid var(--line); margin-top: 1.5rem; }
.rk-subnav .rk-wrap { display: flex; gap: .5rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; align-items: center; }
.rk-subnav a { white-space: nowrap; text-decoration: none; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.rk-subnav a:hover { border-color: var(--ink); }
.rk-subnav a.rk-btn { margin-left: auto; border-color: var(--green); }
.rk-anchor { scroll-margin-top: 150px; }

/* Menu */
.rk-menu-grid { display: grid; gap: 0 3rem; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
.rk-menu-item { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.rk-menu-item h3 { margin: 0 0 .25rem; }
.rk-menu-item p { margin: 0; color: var(--muted); }

/* Space galleries */
.rk-gallery { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1.5rem; }
.rk-gallery figure { margin: 0; }
.rk-gallery figcaption { color: var(--muted); font-size: .9rem; padding-top: .4rem; }
.rk-gallery-empty { margin-top: 1.5rem; padding: 1.4rem; border: 1px dashed var(--muted); border-radius: var(--radius); color: var(--muted); }

/* Layout: reservation / contact */
.rk-two { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.4fr 1fr; align-items: start; }
.rk-panel { background: var(--green); color: var(--on-green); border-radius: var(--radius); padding: 1.75rem; }
.rk-panel h2 { font-size: 1.4rem; }
.rk-panel a { color: var(--honey); }
.rk-panel .rk-hours td { border-color: var(--line-on-green); }

/* Forms: every field and label shares one size, one radius and one capitalisation. */
.rk-form { display: grid; gap: 1.1rem; }
.rk-form .rk-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rk-form .rk-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rk-form label, .rk-quick label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; line-height: 1.3; text-transform: none; }
.rk-form input:not([type=checkbox]), .rk-form select, .rk-quick input, .rk-quick select { box-sizing: border-box; width: 100%; height: 52px; margin: 0; padding: 0 .9rem; font: inherit; font-size: 1rem; line-height: 1.2; text-transform: none; border: 1px solid var(--muted); border-radius: 10px; background: #fff; color: var(--ink); }
.rk-form textarea { box-sizing: border-box; width: 100%; min-height: 112px; padding: .8rem .9rem; font: inherit; font-size: 1rem; border: 1px solid var(--muted); border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.rk-form ::placeholder { color: var(--muted); opacity: 1; }
.rk-form .rk-check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
.rk-form .rk-check input { min-height: 0; width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--green); }
.rk-form button { justify-self: start; }
.rk-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.rk-notice { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.25rem; border: 1px solid var(--line); }
.rk-notice.ok { border-color: var(--green); background: oklch(0.95 0.03 160); }
.rk-notice.err { border-color: oklch(0.5 0.15 30); background: oklch(0.95 0.03 30); }

/* Map consent */
.rk-map { border-radius: var(--radius); overflow: hidden; background: var(--green); color: var(--on-green); min-height: 380px; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.rk-map iframe { width: 100%; height: 420px; border: 0; display: block; }
.rk-map a:not(.rk-btn) { color: var(--honey); }

/* Reviews */
.rk-rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.25rem; margin-bottom: 1.5rem; }
.rk-rating-score { font-family: var(--display); font-size: clamp(3rem, 2rem + 4vw, 4.5rem); line-height: 1; margin: 0; }
.rk-rating-stars { color: var(--green); font-size: 1.4rem; letter-spacing: .1em; }
.rk-rating p { margin: 0; }
.rk-themes { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--ink); }
.rk-themes li { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.rk-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rk-review { border-top: 2px solid var(--ink); padding-top: 1.1rem; margin: 0; }
.rk-review blockquote { margin: 0 0 1rem; font-family: var(--display); font-size: 1.25rem; line-height: 1.4; }
.rk-review cite { font-style: normal; color: var(--muted); font-size: .95rem; }
.rk-stars { color: var(--green); letter-spacing: .1em; margin-bottom: .6rem; }
.rk-review-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Visit block + CTA band */
.rk-visit { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr 1fr; align-items: start; }
.rk-band { background: var(--honey); color: var(--green-deep); }
.rk-band .rk-btn { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-green) !important; }
.rk-band .rk-btn-ghost { background: transparent; color: var(--green-deep) !important; }
.rk-band .rk-btn-ghost:hover { background: var(--green-deep); color: var(--on-green) !important; }
.rk-band p { max-width: 52ch; }

/* Hours + footer */
.rk-hours { width: 100%; border-collapse: collapse; }
.rk-hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.rk-hours td:last-child { text-align: right; font-weight: 600; }
.rk-footer { background: var(--green-deep); color: var(--on-green); padding-block: 3.5rem 5rem; }
.rk-footer-in { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.rk-footer h2 { font-size: 1.1rem; }
.rk-footer a { color: var(--on-green); }
.rk-footer .rk-hours td { border-color: var(--line-on-green); }

.rk-prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.rk-mobilebar { display: none; }

@media (max-width: 860px) {
	.rk-split, .rk-two, .rk-menu-grid, .rk-visit, .rk-footer-in, .rk-form .rk-row, .rk-doors { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	body { padding-bottom: 3.5rem; }
	.rk-logo { font-size: 1.2rem; }
	.rk-nav { gap: .9rem; font-size: .95rem; }
	.rk-nav .rk-btn { display: none; }
	.rk-quick { grid-template-columns: 1fr 1fr; }
	.rk-quick label:first-child { grid-column: 1 / -1; }
	.rk-strip-in > :last-child { display: none; }
	.rk-mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar); background: var(--green-deep); }
	.rk-mobilebar a { text-align: center; padding: .95rem .5rem; font-weight: 700; text-decoration: none; color: var(--on-green); min-height: 48px; }
	.rk-mobilebar a + a { background: var(--honey); color: var(--green-deep); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rk-btn, .rk-door { transition: none; }
}

/* v0.5: language switch, footer bar, menu photos, aligned two-column pages */
.rk-nav .rk-lang { border: 1px solid var(--line); border-radius: 999px; padding: 0 .75rem; min-height: 36px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.rk-nav .rk-lang:hover { border-color: var(--ink); text-decoration: none; }
.rk-footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-on-green); font-size: .9rem; color: var(--on-green-muted); }
.rk-footer-bar p { margin: 0; max-width: none; }
.rk-footer-bar a { color: var(--on-green); font-weight: 600; }
.rk-review-note { color: var(--muted); font-size: .9rem; margin: 1.25rem 0 0; }
.rk-foot-note { padding-bottom: 3rem; }
.rk-form-note { margin: 0; color: var(--muted); font-size: .95rem; }

.rk-menu-cat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.rk-menu-cat + .rk-menu-cat { border-top: 1px solid var(--line); }
.rk-menu-photo { margin: 0; }
.rk-menu-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.rk-menu-cat h2 { margin-top: 0; }
.rk-menu-cat .rk-menu-grid { grid-template-columns: 1fr; margin-top: 0; }
.rk-menu-cat .rk-menu-item:first-child { border-top: 2px solid var(--ink); }

/* Page head to content: no large gap, and both columns start on the same line. */
.rk-pagehead { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
.rk-pagehead .rk-lead { margin-bottom: 0; }
.rk-section.rk-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.rk-two { align-items: start; }
.rk-two > * { min-width: 0; }
.rk-two-equal { align-items: stretch; }
.rk-mapcol { display: flex; }
.rk-mapcol .rk-map { flex: 1; min-height: 460px; }
.rk-mapcol .rk-map iframe { height: 100%; min-height: 460px; }
.rk-formcol > :first-child { margin-top: 0; }
.rk-panel > :first-child { margin-top: 0; }
.rk-panel h2 { margin: 0 0 .75rem; }
.rk-panel h2:not(:first-child) { margin-top: 1.75rem; }
.rk-panel p { margin: 0 0 1rem; }
.rk-panel p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
	.rk-menu-cat { grid-template-columns: 1fr; }
	.rk-mapcol .rk-map, .rk-mapcol .rk-map iframe { min-height: 380px; }
}
@media (max-width: 700px) {
	.rk-nav .rk-lang { display: inline-flex; }
}

/* v0.6: menu photo stacks, impressions mosaic, nowrap phone */
.rk-nowrap { white-space: nowrap; }
.rk-form-note { max-width: none; }
.rk-menu-photos { display: grid; gap: .75rem; }
.rk-menu-photos figure { margin: 0; }
.rk-menu-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; aspect-ratio: 4 / 3; }
.rk-menu-photos.rk-n3 { grid-template-columns: 1fr 1fr; }
.rk-menu-photos.rk-n3 figure:first-child { grid-column: 1 / -1; }
.rk-menu-photos.rk-n3 figure:first-child img { aspect-ratio: 16 / 9; }
.rk-menu-photos.rk-n3 figure:not(:first-child) img { aspect-ratio: 1 / 1; }

.rk-mosaic { display: grid; gap: .6rem; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 20vw, 260px); }
.rk-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); isolation: isolate; text-decoration: none; color: var(--on-green); }
.rk-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .35s ease, opacity .5s ease; }
.rk-tile span { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .7rem; border-radius: 8px; background: oklch(0.2 0.05 160 / .82); font-weight: 700; font-size: .95rem; }
.rk-tile:hover img, .rk-tile:focus-visible img { transform: scale(1.04); }
.rk-tile:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.rk-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.rk-tile:nth-child(4) { grid-column: 3; grid-row: 1; }
.rk-tile:nth-child(3) { grid-column: 2 / 4; grid-row: 2; }
.rk-tile:nth-child(5) { grid-column: 1; grid-row: 3; }
.rk-tile:nth-child(6) { grid-column: 2 / 4; grid-row: 3; }
.rk-tight-top { padding-top: clamp(2.5rem, 5vw, 4rem); }

.rk-gallery { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 860px) {
	.rk-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rk-tile:nth-child(n) { grid-column: auto; grid-row: auto; }
	.rk-tile:nth-child(3), .rk-tile:nth-child(6) { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { .rk-tile img { transition: none; } }

/* v0.7: guest gallery with big pictures, name and rating under each */
.rk-guestgrid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; align-items: start; }
.rk-guestphoto { margin: 0; }
.rk-guestphoto figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .75rem; padding: .75rem .1rem 0; }
.rk-guestname { font-family: var(--display); font-size: 1.15rem; }
.rk-guestmeta { color: var(--muted); font-size: .9rem; margin-left: auto; }
.rk-gallery-note { padding-bottom: 3rem; }
.rk-nav { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 700px) { .rk-guestgrid { grid-template-columns: 1fr; } .rk-header-in { flex-wrap: wrap; padding-block: .5rem; } }

/* v0.8: rating under the booking form, menu prices, FAQ, policy, steps, story, footer, notice dialog */
.rk-rating-line { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; color: var(--on-green); text-decoration: none; background: oklch(0.2 0.05 160 / .88); padding: .55rem .9rem; border-radius: 999px; }
.rk-rating-line:hover { background: oklch(0.2 0.05 160 / .98); }
.rk-rating-line .rk-rating-stars { color: var(--honey); font-size: 1.05rem; letter-spacing: .08em; }
.rk-g { flex: none; }
.rk-hero-call { margin-top: .85rem; }

.rk-cardname { margin: -.25rem 0 0; color: var(--muted); font-size: .9rem; }
.rk-menu-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.rk-menu-head h3 { margin: 0 0 .25rem; }
.rk-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rk-dishlist li { grid-template-columns: 1fr auto; }
.rk-dishlist li span { grid-column: 1 / -1; }
.rk-menu-cat.rk-nophoto { grid-template-columns: 1fr; }
.rk-menu-cat.rk-nophoto .rk-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.rk-menu-cat .rk-menu-grid { grid-template-columns: 1fr; }
.rk-menu-cat.rk-nophoto .rk-menu-item:first-child { border-top: 1px solid var(--line); }

.rk-faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.rk-faq details:last-child { border-bottom: 1px solid var(--line); }
.rk-faq summary { cursor: pointer; font-family: var(--display); font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.rk-faq summary::-webkit-details-marker { display: none; }
.rk-faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green); }
.rk-faq details[open] summary::after { content: "−"; }
.rk-faq p { margin: .5rem 0 0; color: var(--muted); max-width: 70ch; }
.rk-faq-more { margin-top: 1.5rem; }

.rk-policy { margin-top: 1.25rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.rk-policy h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.rk-policy ul { margin: 0; padding-left: 1.1rem; }
.rk-policy li { margin-bottom: .4rem; color: var(--muted); }

.rk-steps { margin: 0 0 2rem; padding-left: 1.25rem; }
.rk-steps li { margin-bottom: .6rem; padding-left: .4rem; }
.rk-checks { margin: 0 0 2rem; padding: 0; list-style: none; }
.rk-checks li { padding: .7rem 0; border-top: 1px solid var(--line); }
.rk-checks li:last-child { border-bottom: 1px solid var(--line); }
.rk-two img, .rk-story img { width: 100%; height: auto; border-radius: var(--radius); }
.rk-story { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: .8fr 1.2fr; align-items: start; }
.rk-story h2 { font-size: 1.5rem; margin-top: 1.75rem; }
.rk-story h2:first-child { margin-top: 0; }

.rk-footer-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rk-notice-dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: min(520px, calc(100vw - 2rem)); background: var(--paper); color: var(--ink); }
.rk-notice-dialog::backdrop { background: oklch(0.2 0.05 160 / .7); }
.rk-notice-dialog form { padding: 1.75rem; }
.rk-notice-dialog h2 { font-size: 1.5rem; margin-top: 0; }
.rk-notice-dialog p { margin-bottom: 1.25rem; }
@media (max-width: 860px) {
	.rk-story { grid-template-columns: 1fr; }
	.rk-footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rk-menu-cat.rk-nophoto .rk-menu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .rk-footer-in { grid-template-columns: 1fr; } }

/* v0.9: art-board layouts. Photos keep their own proportions and pack tightly in columns, with one even gutter. */
.rk-gallery, .rk-guestgrid { display: block; column-count: 3; column-gap: .75rem; margin-top: 1.5rem; }
.rk-gallery figure, .rk-guestphoto { break-inside: avoid; margin: 0 0 .75rem; }
.rk-gallery img, .rk-gallery figcaption, .rk-guestphoto figcaption { padding: .35rem .1rem 0; }
.rk-guestphoto figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.rk-gallery-note { margin-top: 1rem; }
@media (max-width: 860px) { .rk-gallery, .rk-guestgrid { column-count: 2; } }
@media (max-width: 520px) { .rk-gallery, .rk-guestgrid { column-count: 1; } }

.rk-topics { margin: .5rem 0 1rem; font-size: 1.05rem; }
.rk-topics span { color: var(--muted); }
.rk-review-link { display: inline-block; margin-top: .6rem; font-weight: 600; }

/* v0.9.1: full review text with an in-place "view more" */
.rk-review .rk-clamp { margin: .6rem 0 .5rem; }
.rk-review-long .rk-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.rk-review-long.is-open .rk-clamp { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rk-more { font: inherit; font-weight: 700; background: none; border: 0; padding: .35rem 0; min-height: 44px; color: var(--green); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; display: block; }
.rk-review figcaption { margin-top: .4rem; }

/* v1.0: dish tags and allergens */
.rk-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 0; }
.rk-tag { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--green); color: var(--on-green); }
.rk-tag-vegan { background: oklch(0.42 0.1 150); }
.rk-tag-gluten_free, .rk-tag-lactose_free { background: transparent; color: var(--green); border: 1px solid var(--green); }
.rk-allergens { margin: .4rem 0 0; font-size: .9rem; color: var(--muted); }
.rk-allergens span { font-weight: 700; }

/* v1.1: history section under the hero */
.rk-history .rk-photo { margin: 0; }
.rk-history .rk-photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }

/* v1.2: pinned hero stage, tall wordmark that shrinks to the bottom left, floating reserve button, photo bands */
:root { --mark: "Bebas Neue", Impact, "Arial Narrow", sans-serif; --drop: 17rem; }
.rk-hero { display: block; min-height: 0; height: 165dvh; background: var(--green-deep); }
.rk-hero::before { display: none; }
.rk-stage { position: sticky; top: 69px; height: calc(100dvh - 69px); min-height: 520px; overflow: hidden; isolation: isolate; display: grid; align-items: end; }
.rk-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(0.16 0.01 60 / .74) 0%, oklch(0.16 0.01 60 / .4) 40%, oklch(0.16 0.01 60 / .06) 72%, transparent 100%); }
.rk-hero-copy { position: static; padding-block: 0 clamp(1.25rem, 3vh, 2.25rem); }
.rk-hero h1.rk-mark { margin: 0 0 1rem; max-width: none; transform-origin: left bottom; font-family: var(--mark); font-weight: 400; color: var(--on-green); text-transform: uppercase; line-height: .84; letter-spacing: .01em; position: relative; top: 0; font-size: clamp(4rem, 15dvh, 11rem); }
.rk-mark-name { display: block; font-size: 1em; }
.rk-mark-name span { display: block; }
.rk-mark-tag { display: block; margin-top: .6rem; font-family: var(--display); font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem); text-transform: none; letter-spacing: 0; line-height: 1.2; }
.rk-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: var(--z-bar); display: inline-block; padding: .85rem 1.4rem; border-radius: 999px; background: var(--honey); color: var(--green-deep); font-weight: 700; text-decoration: none; opacity: 0; pointer-events: none; box-shadow: 0 6px 18px oklch(0.2 0.02 60 / .28); transition: background-color .2s ease; }
.rk-float:hover, .rk-float:focus-visible { background: var(--paper); }
@supports (animation-timeline: scroll()) {
	.rk-hero h1.rk-mark { animation: rk-mark-shrink linear both; animation-timeline: scroll(root); animation-range: 0 60dvh; }
	.rk-mark-tag { animation: rk-fade-out linear both; animation-timeline: scroll(root); animation-range: 0 30dvh; }
	.rk-hero-copy > :not(h1) { animation: rk-fade-out linear both; animation-timeline: scroll(root); animation-range: 10dvh 45dvh; }
	.rk-float { animation: rk-fade-in linear both; animation-timeline: scroll(root); animation-range: 25dvh 55dvh; }
}
@supports not (animation-timeline: scroll()) { .rk-float { opacity: 1; pointer-events: auto; } }
@keyframes rk-mark-shrink { to { font-size: 1.7rem; top: var(--drop); } }
@keyframes rk-fade-out { to { opacity: 0; visibility: hidden; } }
@keyframes rk-fade-in { to { opacity: 1; pointer-events: auto; } }
.rk-photoband { position: relative; height: var(--h, 56dvh); min-height: 280px; background: var(--bg) center / cover fixed no-repeat; }
@media (max-width: 700px) {
	.rk-float { display: none; }
	.rk-hero { height: 150dvh; }
	:root { --drop: 21rem; }
	.rk-photoband { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
	.rk-hero { height: auto; }
	.rk-stage { position: relative; top: 0; height: auto; min-height: min(86dvh, 820px); }
	.rk-photoband { background-attachment: scroll; }
}


/* v1.2.3: the wordmark inverts against the photo behind it; the colour is a pale mint, so the inverted letters read green-silver on dark and near-black green on white. */
.rk-mark-tag { color: #fff; mix-blend-mode: normal; }

.rk-stage { grid-template-rows: 1fr auto; }
.rk-hero h1.rk-mark { align-self: end; margin: 0 auto .75rem; position: relative; top: 0; }
.rk-mark-tag { display: block; margin: 0 0 .75rem; color: #fff; font-family: var(--display); font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem); line-height: 1.2; }

/* v1.3: section titles live on the photo bands */
.rk-photoband { display: grid; align-items: end; padding-bottom: clamp(1.5rem, 5vw, 3.5rem); }
.rk-band-title { margin: 0; color: #fff; font-size: clamp(2.4rem, 1.4rem + 4.5vw, 5rem); line-height: 1; text-shadow: 0 2px 24px oklch(0.1 0.01 60 / .55); }
.rk-hero h1.rk-mark > span > span { display: block; }
.rk-hero h1.rk-mark { color: #fff; mix-blend-mode: normal; font-size: clamp(4.5rem, 17dvh, 12rem); }

/* v1.4: phone layout. One tidy header, compact floating action pills (no full-width dock), wordmark that fits. */
.rk-stage { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 700px) {
	.rk-header, .admin-bar .rk-header { position: static; }
	.rk-subnav, .admin-bar .rk-subnav { top: 0; }
	.rk-stage { top: 0; height: calc(100dvh - 4.5rem); min-height: 480px; }
	.rk-header-in { flex-wrap: wrap; gap: 0; min-height: 0; padding-block: .35rem 0; }
	.rk-logo { font-size: 1.25rem; min-height: 44px; display: inline-flex; align-items: center; }
	.rk-nav { width: 100%; gap: 1.1rem; font-size: .92rem; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; border-top: 1px solid var(--line); margin-top: .2rem; }
	.rk-nav::-webkit-scrollbar { display: none; }
	.rk-nav a { white-space: nowrap; }
	.rk-hero h1.rk-mark { font-size: clamp(3.5rem, 23vw, 7rem); }
	.rk-hero .rk-lead, .rk-hero-call, .rk-hero .rk-rating-line { display: none; }
	body { padding-bottom: 4.5rem; }
	.rk-mobilebar { left: .75rem; right: .75rem; bottom: .75rem; gap: .5rem; background: transparent; pointer-events: none; }
	.rk-mobilebar a { pointer-events: auto; min-height: 44px; padding: .65rem .5rem; border-radius: 999px; font-size: .95rem; box-shadow: 0 4px 14px oklch(0.2 0.02 60 / .25); }
	.rk-mobilebar a:first-child { background: var(--green-deep); }
	.rk-photoband { min-height: 220px; }
}

@media (max-width: 700px) {
	.rk-stage { height: calc(100dvh - 9.5rem); min-height: 440px; }
	.rk-nav { justify-content: flex-start; }
	.rk-logo { gap: .3em; }
	.rk-quick { padding: .75rem; gap: .5rem; }
	.rk-quick input, .rk-quick select { height: 46px; }
	.rk-hero-copy { padding-bottom: 5rem; }
}
@media (max-width: 700px) {
	.rk-nav { gap: .8rem; font-size: .88rem; }
	.rk-mobilebar { left: auto; right: .75rem; width: min(22rem, calc(100% - 1.5rem)); }
	.rk-mobilebar a { min-height: 40px; padding: .45rem .75rem; font-size: .9rem; }
}
@media (max-width: 700px) {
	.rk-header-in { position: relative; }
	.rk-nav .rk-lang { position: absolute; top: .35rem; right: 0; min-height: 40px; }
}
.rk-dish-more { margin-top: 1.5rem; }

/* v1.5: burger + drawer, aligned phone controls */
.rk-burger, .rk-drawer-close { display: none; }
.rk-drawer { margin: 0; padding: 4.5rem 1.5rem 2rem; border: 0; width: min(22rem, 86vw); height: 100dvh; inset: 0 0 0 auto; background: var(--green-deep); color: var(--on-green); }
.rk-drawer::backdrop { background: oklch(0.15 0.01 60 / .55); }
.rk-drawer nav { display: grid; gap: .25rem; }
.rk-drawer nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--display); font-size: 1.5rem; text-decoration: none; color: var(--on-green); }
.rk-drawer nav .rk-btn { justify-content: center; margin-top: 1rem; font-family: inherit; font-size: 1.05rem; color: var(--green-deep) !important; }
.rk-drawer nav .rk-drawer-lang { font-family: inherit; font-size: 1rem; opacity: .85; margin-top: .5rem; }
.rk-drawer-close { position: absolute; top: .9rem; right: .9rem; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--on-green); font-size: 2rem; line-height: 1; }
@media (max-width: 700px) {
	.rk-nav { display: none; }
	.rk-drawer-close { display: inline-flex; }
	.rk-burger { position: fixed; top: .75rem; right: .75rem; z-index: var(--z-bar); width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--green); display: grid; place-content: center; gap: 5px; box-shadow: 0 4px 14px oklch(0.2 0.02 60 / .3); cursor: pointer; }
	.rk-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; }
	.admin-bar .rk-burger { top: calc(46px + .75rem); }
	.rk-header-in { padding-block: 0; min-height: 56px; }
	.rk-subnav, .admin-bar .rk-subnav { position: static; }
	.rk-mobilebar a { display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.1; }
	.rk-quick input, .rk-quick select { display: block; max-width: 100%; text-align: left; -webkit-appearance: none; appearance: none; padding-inline: .9rem; background-color: #fff; }
	.rk-quick input[type=date] { min-width: 0; line-height: 46px; }
	.rk-quick input[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; }
	.rk-quick select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
}
@media (max-width: 700px) {
	/* No pinned stage on phones: the hero scrolls away normally while the wordmark settles bottom left. */
	.rk-hero { height: auto; }
	.rk-stage { position: relative; }
	.rk-hero h1.rk-mark { animation-range: 0 45dvh; }
}
.rk-drawer nav .rk-btn { background: var(--honey); border-color: var(--honey); color: var(--green-deep) !important; }

/* v1.6: breathing room above the wordmark; the phone menu button arrives once the hero animation is done */
.rk-stage { padding-top: clamp(1.5rem, 5dvh, 3rem); }
.rk-hero h1.rk-mark { font-size: clamp(4rem, 14.5dvh, 10.5rem); }
@media (max-width: 700px) {
	.rk-hero h1.rk-mark { font-size: clamp(3.4rem, 21vw, 6.5rem); }
}
@supports (animation-timeline: scroll()) {
	@media (max-width: 700px) {
		body:has(.rk-hero) .rk-burger { opacity: 0; pointer-events: none; animation: rk-fade-in linear both; animation-timeline: scroll(root); animation-range: 40dvh 55dvh; }
	}
}

/* v1.6.1: the menu dot starts inside the white header and is pulled up to the corner as the header scrolls away */
@media (max-width: 700px) {
	.rk-burger, .admin-bar .rk-burger { top: var(--bt, 2.8rem); }
}
@supports (animation-timeline: scroll()) {
	@keyframes rk-burger-pull { to { top: .75rem; } }
	@media (max-width: 700px) {
		.rk-burger, body:has(.rk-hero) .rk-burger { opacity: 1; pointer-events: auto; animation: rk-burger-pull linear both; animation-timeline: scroll(root); animation-range: 0 90px; }
	}
}
@media (max-width: 700px) {
	.rk-mobilebar { left: 0; right: 0; margin-inline: auto; width: min(22rem, calc(100% - 1.5rem)); }
}

/* v1.7: white dot with green lines in the header; scrolling pulls it away like a drop and it turns green */
.rk-goo, .rk-goo-defs { display: none; }
@media (max-width: 700px) {
	.rk-goo { display: block; position: fixed; top: 0; right: .75rem; width: 48px; height: 240px; z-index: calc(var(--z-bar) - 1); filter: url(#rk-goo); pointer-events: none; }
	.rk-goo-defs { display: block; position: absolute; }
	.rk-blob { position: absolute; right: 0; top: var(--bt, 2.8rem); width: 48px; height: 48px; border-radius: 50%; }
	.rk-blob-anchor { background: #fff; }
	.rk-blob-dot { background: var(--green); }
	.rk-burger, body:has(.rk-hero) .rk-burger, .admin-bar .rk-burger { background: transparent; box-shadow: none; border: 1px solid transparent; }
	.rk-burger span { background: #fff; }
	.rk-hero-copy { padding-bottom: 4.25rem; }
	.rk-stage { height: calc(100dvh - var(--hh, 5.75rem)); min-height: 440px; }
}
@supports (animation-timeline: scroll()) {
	@keyframes rk-anchor-up { to { transform: translateY(-320px); } }
	@keyframes rk-dot-pull { from { top: var(--bt, 2.8rem); background: #fff; } 45% { background: #fff; } to { top: .75rem; background: var(--green); } }
	@keyframes rk-line-tone { from { background: var(--green); } 45% { background: var(--green); } to { background: #fff; } }
	@keyframes rk-ring { from { border-color: var(--line); } 45% { border-color: var(--line); } to { border-color: transparent; } }
	@media (max-width: 700px) {
		.rk-blob-anchor { animation: rk-anchor-up linear both; animation-timeline: scroll(root); animation-range: 0 320px; }
		.rk-blob-dot { background: #fff; animation: rk-dot-pull linear both; animation-timeline: scroll(root); animation-range: 0 130px; }
		.rk-burger, body:has(.rk-hero) .rk-burger { animation: rk-burger-pull linear both, rk-ring linear both; animation-timeline: scroll(root), scroll(root); animation-range: 0 130px, 0 130px; }
		.rk-burger span { animation: rk-line-tone linear both; animation-timeline: scroll(root); animation-range: 0 130px; }
	}
}
.rk-stage { box-sizing: border-box; }

/* v1.7.2: nothing may push the page sideways on phones (date fields, wide children) */
html, body { max-width: 100%; overflow-x: clip; }
.rk-form, .rk-form .rk-row, .rk-form label, .rk-quick label { min-width: 0; }
.rk-form input, .rk-form select, .rk-form textarea, .rk-quick input, .rk-quick select { min-width: 0; max-width: 100%; }
.rk-form input[type=date], .rk-form input[type=time], .rk-quick input[type=date] { -webkit-appearance: none; appearance: none; display: block; width: 100%; text-align: left; }
.rk-form input[type=date]::-webkit-date-and-time-value { text-align: left; min-width: 0; margin: 0; }
@media (max-width: 700px) {
	body:has(.rk-form) { padding-bottom: 0; }
	.rk-mark-tag { animation-range: 0 14dvh; }
}

/* v1.8: no circle at the top, just three green lines in the header. Scrolling stretches them into the green dot (squash and stretch), colours swap as it moves. */
@media (max-width: 700px) {
	.rk-goo, .rk-goo-defs { display: none; }
	.rk-burger, body:has(.rk-hero) .rk-burger, .admin-bar .rk-burger { background: transparent; box-shadow: none; border: 0; transform-origin: 50% 50%; }
	.rk-burger span { background: var(--green); }
}
@supports (animation-timeline: scroll()) {
	@keyframes rk-burger-morph {
		0%   { background-color: transparent; box-shadow: 0 0 0 transparent; transform: scale(1, 1); }
		35%  { background-color: oklch(0.30 0.06 160 / .35); transform: scale(.82, 1.45); }
		65%  { background-color: var(--green); box-shadow: 0 4px 14px oklch(0.2 0.02 60 / .3); transform: scale(1.1, .92); }
		100% { background-color: var(--green); box-shadow: 0 4px 14px oklch(0.2 0.02 60 / .3); transform: scale(1, 1); }
	}
	@keyframes rk-line-tone2 { 0%, 30% { background: var(--green); } 70%, 100% { background: #fff; } }
	@media (max-width: 700px) {
		.rk-burger, body:has(.rk-hero) .rk-burger {
			animation: rk-burger-pull linear both, rk-burger-morph linear both;
			animation-timeline: scroll(root), scroll(root);
			animation-range: 0 140px, 0 140px;
		}
		.rk-burger span { animation: rk-line-tone2 linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
	}
}
@supports (animation-timeline: scroll()) {
	@media (max-width: 700px) {
		.rk-hero-copy > :not(h1) { animation-range: 0 18dvh; }
		.rk-hero h1.rk-mark { animation-range: 12dvh 50dvh; }
	}
}

/* v1.8.2: the phone menu takes over the whole screen; close button sits bottom centre */
body:has(.rk-drawer:popover-open) { overflow: hidden; }
@media (max-width: 700px) {
	.rk-drawer { inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0; padding: 3.5rem 1.75rem 7rem; overflow-y: auto; background: var(--green-deep); box-sizing: border-box; }
	.rk-drawer::backdrop { background: var(--green-deep); }
	.rk-drawer nav { min-height: 100%; align-content: center; }
	.rk-drawer-close { position: fixed; top: auto; right: auto; bottom: max(1.5rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: 60px; height: 60px; border: 1px solid oklch(1 0 0 / .45); background: transparent; color: var(--on-green); font-size: 2.2rem; }
}

/* v1.8.3: centred close button; on the home page the call/reserve bar only appears once the hero is behind you */
@media (max-width: 700px) {
	.rk-drawer { width: 100%; }
	.rk-drawer-close { left: 0; right: 0; margin-inline: auto; transform: none; }
}
@supports (animation-timeline: scroll()) {
	@keyframes rk-bar-in { from { opacity: 0; } to { opacity: 1; } }
	@media (max-width: 700px) {
		body:has(.rk-hero) .rk-mobilebar { opacity: 0; animation: rk-bar-in linear both; animation-timeline: scroll(root); animation-range: 45dvh 60dvh; }
		body:has(.rk-hero) .rk-mobilebar a { pointer-events: none; animation: rk-bar-click linear both; animation-timeline: scroll(root); animation-range: 45dvh 60dvh; }
		@keyframes rk-bar-click { from { pointer-events: none; } 50% { pointer-events: none; } to { pointer-events: auto; } }
	}
}

/* v1.9: language switch as its own circle next to the menu lines (phones) */
.rk-lang-m { display: none; }
@media (max-width: 700px) {
	.rk-lang-m { display: inline-flex; align-items: center; justify-content: center; position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 1px solid var(--green); border-radius: 50%; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--green); text-decoration: none; background: transparent; }
}

/* v1.9.1: the hero carries one reserve button instead of the date/time/guests form */
.rk-hero-cta { margin: 0 0 1rem; }
.rk-btn.rk-btn-hero { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: .9rem 2.25rem; font-size: 1.1rem; background: var(--honey); border-color: var(--honey); color: var(--green-deep) !important; }
.rk-btn.rk-btn-hero:hover, .rk-btn.rk-btn-hero:focus-visible { background: var(--paper); border-color: var(--paper); }
@media (max-width: 700px) {
	.rk-hero .rk-hero-cta { display: block; }
	.rk-btn.rk-btn-hero { width: 100%; }
	.rk-hero-copy { padding-bottom: 2.25rem; }
}
.rk-btn.rk-btn-hero { box-sizing: border-box; max-width: 100%; }

/* v1.9.3: the single reserve button is for phones only; desktop keeps the date/time/guests form */
.rk-hero .rk-hero-cta { display: none; }
@media (max-width: 700px) {
	.rk-hero .rk-hero-cta { display: block; }
	.rk-hero .rk-quick { display: none; }
}

/* v2.0: later hero slides load after the page; until then they stay out of the rotation */
.rk-slide:has(img[data-src]) { visibility: hidden; }
.rk-photoband { background-color: var(--green-deep); }
/* v2.0.1: room between the wordmark and the tagline (Bebas glyphs sit slightly below a .84 line box) */
.rk-hero h1.rk-mark { line-height: .9; margin-bottom: calc(.5rem + .06em); }

/* v2.1: laptops - everything up to the "prefer to call" line fits the first screen */
@media (min-width: 701px) {
	.rk-stage { height: calc(100dvh - var(--hh, 5rem)); min-height: 440px; padding-top: clamp(.75rem, 3dvh, 2rem); }
	.rk-hero h1.rk-mark { font-size: clamp(3.5rem, 12.5dvh, 9.5rem); margin-bottom: .4rem; }
	.rk-hero .rk-lead { margin-bottom: 1rem; }
	.rk-quick { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; max-width: 820px; padding: .75rem; }
	.rk-quick .rk-btn { grid-column: auto; align-self: end; min-height: 52px; white-space: nowrap; }
	.rk-hero-copy { padding-bottom: clamp(.75rem, 2.5dvh, 1.75rem); }
	.rk-hero .rk-rating-line { margin-top: .75rem; }
	.rk-hero-call { margin-top: .5rem; }
}
/* the two photo bands: shorter, so the white sections around them sit closer together */
.rk-photoband { height: clamp(200px, 30dvh, 340px) !important; min-height: 0; }

/* v2.1.1: the page ends in green - no white strip under the footer, none when over-scrolling */
html { background: var(--green-deep); }
@media (max-width: 700px) {
	body, body:has(.rk-form) { padding-bottom: 0; }
	.rk-footer { padding-bottom: 4.5rem; }
	body:has(.rk-form) .rk-footer { padding-bottom: 0; }
}
