/* ==========================================================================
   burum — restaurant theme
   1. Fonts  2. Tokens  3. Reset  4. Typography  5. Layout  6. Buttons & forms
   7. Header  8. Hero & booking bar  9. Sections  10. Cards  11. Footer
   12. Mobile bar  13. Content pages  14. Utilities  15. Motion
   Brand = the tokens in section 2. A client site changes them, not the rules.
   ========================================================================== */

/* 1. Fonts ----------------------------------------------------------------- */
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens ---------------------------------------------------------------- */
:root {
	--c-bg: #f6f1e8;
	--c-bg-alt: #efe7da;
	--c-surface: #fffdf8;
	--c-text: #252923;
	--c-muted: #5d6258;
	--c-olive: #344638;
	--c-olive-deep: #263429;
	--c-on-olive: #f3eee4;
	--c-on-olive-muted: #c8c9b8;
	--c-accent: #7b3541;
	--c-accent-hover: #632a34;
	--c-on-accent: #ffffff;
	--c-line: #b69a70;
	--c-border: #e2d8c6;
	--c-focus: #7b3541;
	--c-shade: 20 24 19;

	--font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--font-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-h4: 1.5rem;
	--fs-h3: clamp(1.625rem, 1.35rem + 0.9vw, 2.125rem);
	--fs-h2: clamp(2.25rem, 1.55rem + 2.6vw, 3.625rem);
	--fs-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5.75rem);

	--container: 1240px;
	--container-text: 680px;
	--gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
	--section-y: clamp(4rem, 2.4rem + 6vw, 8rem);
	--radius: 3px;
	--header-h: 84px;
	--bar-h: 0px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur: 200ms;
}

/* 3. Reset ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
	padding-bottom: var(--bar-h);
}

img,
picture,
video,
svg { display: block; max-width: 100%; height: auto; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

[hidden] { display: none !important; }

/* 4. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
	margin: 0 0 0.45em;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }

p, ul, ol, figure, blockquote { margin: 0 0 1em; }

a {
	color: var(--c-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color var(--dur) var(--ease);
}

a:hover { color: var(--c-accent-hover); }

:focus-visible {
	outline: 2px solid var(--c-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.1rem;
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--c-accent);
}

.eyebrow::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: var(--c-line);
}

.lead { font-size: var(--fs-lg); color: var(--c-muted); max-width: 38rem; }

.price { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

/* 5. Layout ---------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section:not(.section--alt):not(.section--olive) + .section:not(.section--alt):not(.section--olive) { padding-top: 0; }
.section--olive { background: var(--c-olive); color: var(--c-on-olive); }
.section--olive .eyebrow { color: var(--c-on-olive-muted); }
.section--olive .lead { color: var(--c-on-olive-muted); }
.section--olive a:not(.btn) { color: var(--c-on-olive); }

.site-main { flex: 1 0 auto; }

.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: var(--c-line); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section-head--row > div { max-width: 44rem; }
.section-head h2 { margin-bottom: 0.3em; }

/* 6. Buttons & forms ------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 50px;
	padding: 0.75rem 1.75rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.btn--primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: var(--c-on-accent); }
.btn--ghost { border-color: var(--c-text); color: var(--c-text); }
.btn--ghost:hover { background: var(--c-text); color: var(--c-bg); }
.btn--light { border-color: rgb(255 255 255 / 0.75); color: #fff; }
.btn--light:hover { background: #fff; color: var(--c-text); }
.btn--on-olive { border-color: var(--c-on-olive); color: var(--c-on-olive); }
.btn--on-olive:hover { background: var(--c-on-olive); color: var(--c-olive); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	width: fit-content;
}

.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label,
.field .field__label { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }

.field select,
.field input {
	width: 100%;
	min-height: 50px;
	padding: 0.625rem 2.25rem 0.625rem 0.875rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background-color: var(--c-surface);
	font-size: var(--fs-base);
}

.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6258' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 18px;
}

.field select:focus,
.field input:focus { border-color: var(--c-olive); outline: 2px solid var(--c-olive); outline-offset: 0; }

/* 7. Header ---------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--c-bg);
	border-bottom: 1px solid var(--c-border);
	transition: background-color 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
}

.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }

/* Over the home hero the header starts transparent and turns solid on scroll. */
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.has-hero .site-header:not(.is-solid) { background: transparent; border-color: transparent; color: #fff; }
.has-hero .site-header:not(.is-solid) .site-nav__list a,
.has-hero .site-header:not(.is-solid) .brand,
.has-hero .site-header:not(.is-solid) .header-icon { color: #fff; }
.has-hero .site-header:not(.is-solid) .brand__tag { color: rgb(255 255 255 / 0.8); }
.has-hero .site-header:not(.is-solid) .nav-toggle__bar,
.has-hero .site-header:not(.is-solid) .nav-toggle__bar::before,
.has-hero .site-header:not(.is-solid) .nav-toggle__bar::after { background: #fff; }
.has-hero .site-header:not(.is-solid) .btn--primary { background: transparent; border-color: rgb(255 255 255 / 0.75); }
.has-hero .site-header:not(.is-solid) .btn--primary:hover { background: #fff; color: var(--c-text); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	flex-direction: column;
	color: var(--c-text);
	text-decoration: none;
	line-height: 1;
	margin-right: auto;
}

.brand__name { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; letter-spacing: 0.01em; }
.brand__name em { font-weight: 500; }
.brand__tag { margin-top: 0.35rem; font-size: 0.625rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--c-muted); }
.brand:hover { color: inherit; }

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 0.25rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: inline-block;
	padding-block: 0.5rem;
	color: var(--c-text);
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.2rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dur) var(--ease);
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after { transform: scaleX(1); }

.site-nav__list .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.header-icon {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--c-text);
	text-decoration: none;
}

.header-icon svg { width: 22px; height: 22px; }

.header-icon__count {
	position: absolute;
	top: 5px;
	right: 3px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--c-accent);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.header-icon__count:empty { display: none; }

.header-book { min-height: 44px; padding-inline: 1.25rem; }

.lang-switch { display: flex; align-items: center; }

.nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 1.5px;
	background: var(--c-text);
	transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before,
.nav-toggle__bar::after { content: ""; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent !important; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: block; order: 3; }
	.header-book { display: none; }

	.site-nav {
		display: none;
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 59;
		overflow-y: auto;
		padding: 2rem var(--gutter) calc(2rem + var(--bar-h));
		background: var(--c-bg);
		color: var(--c-text);
	}

	.admin-bar .site-nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)); }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
	.site-nav__list a { font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: 0; color: var(--c-text) !important; }
	.nav-open .site-header { background: var(--c-bg) !important; color: var(--c-text) !important; }
	.nav-open .site-header .brand,
	.nav-open .site-header .header-icon { color: var(--c-text) !important; }
	.nav-open .nav-toggle__bar::before,
	.nav-open .nav-toggle__bar::after { background: var(--c-text) !important; }
}

@media (max-width: 600px) {
	:root { --header-h: 68px; }
	.brand__name { font-size: 1.5rem; }
	.brand__tag { letter-spacing: 0.24em; }
}

/* 8. Hero & booking bar ---------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(92vh, 900px);
	padding-top: calc(var(--header-h) + 3rem);
	padding-bottom: clamp(7rem, 5rem + 6vw, 10rem);
	color: #fff;
	isolation: isolate;
	overflow: hidden;
	background: var(--c-olive-deep);
}

.hero__media,
.hero__media img,
.hero__media video,
.hero__media .ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgb(var(--c-shade) / 0.55) 0%, rgb(var(--c-shade) / 0) 26%),
		linear-gradient(90deg, rgb(var(--c-shade) / 0.72) 0%, rgb(var(--c-shade) / 0.35) 45%, rgb(var(--c-shade) / 0) 75%),
		linear-gradient(0deg, rgb(var(--c-shade) / 0.5) 0%, rgb(var(--c-shade) / 0) 40%);
}

.hero__content { max-width: 44rem; }
.hero .eyebrow { color: rgb(255 255 255 / 0.88); }
.hero h1 { margin-bottom: 0.35em; }
.hero__lead { max-width: 34rem; margin-bottom: 2rem; font-size: var(--fs-lg); color: rgb(255 255 255 / 0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.open-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid rgb(255 255 255 / 0.35);
	border-radius: 999px;
	background: rgb(var(--c-shade) / 0.25);
	backdrop-filter: blur(6px);
	font-size: var(--fs-xs);
	letter-spacing: 0.04em;
}

.open-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #9fd4a8; box-shadow: 0 0 0 3px rgb(159 212 168 / 0.25); }
.open-pill.is-closed .open-pill__dot { background: #e7b7a0; box-shadow: 0 0 0 3px rgb(231 183 160 / 0.25); }

.booking-bar-wrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(4rem, 3rem + 3vw, 5.5rem)); }

.booking-bar {
	display: grid;
	grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
	align-items: end;
	gap: 1rem;
	padding: 1.5rem 1.75rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: 0 30px 60px -30px rgb(var(--c-shade) / 0.35);
}

.booking-bar__title { align-self: center; margin: 0 1rem 0 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.booking-bar__title small { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: 0.02em; }
.booking-bar .btn { min-height: 50px; }

@media (max-width: 1000px) {
	.booking-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.booking-bar__title { grid-column: 1 / -1; margin: 0; }
	.booking-bar .btn { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	.hero { min-height: 88vh; align-items: flex-end; }
	.booking-bar { grid-template-columns: 1fr 1fr; padding: 1.25rem; }
	.booking-bar .field:first-of-type { grid-column: 1 / -1; }
}

/* 9. Sections -------------------------------------------------------------- */

/* Intro */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.intro__text p { color: var(--c-muted); }
.intro__text p:first-of-type { font-size: var(--fs-lg); color: var(--c-text); }
.intro__facts { display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--c-border); list-style: none; }
.intro__facts li { display: flex; flex-direction: column; }
.intro__facts b { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; line-height: 1; color: var(--c-olive); }
.intro__facts span { margin-top: 0.4rem; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.intro__media { position: relative; padding-bottom: 12%; }
.intro__media .media-main { width: 82%; margin-left: auto; }
.intro__media .media-main .img,
.intro__media .media-main .ph { aspect-ratio: 4 / 5; }
.intro__media .media-small { position: absolute; left: 0; bottom: 0; width: 46%; border: 10px solid var(--c-bg); }
.intro__media .media-small .img,
.intro__media .media-small .ph { aspect-ratio: 1 / 1; }

/* Signature dishes */
.dish-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1.25rem, 0.5rem + 2vw, 2.5rem); }

/* Season */
.season { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 38rem; }
.season__media .img,
.season__media .ph { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; aspect-ratio: auto; }
.season__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); background: var(--c-olive); color: var(--c-on-olive); }
.season__panel .eyebrow { color: var(--c-on-olive-muted); }
.season__panel p { color: var(--c-on-olive-muted); }
.season__panel > * { max-width: 34rem; }
.season__offer { display: flex; align-items: baseline; gap: 1rem; margin: 1.5rem 0 2rem; padding: 1.25rem 0; border-block: 1px solid rgb(243 238 228 / 0.2); }
.season__offer b { font-family: var(--font-display); font-size: 2.75rem; font-weight: 500; line-height: 1; color: var(--c-on-olive); }
.season__offer span { font-size: var(--fs-sm); color: var(--c-on-olive-muted); }
.season__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.season__actions .link-arrow { color: var(--c-on-olive); }

.lunch-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2.5rem; margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); padding: 1.75rem 2rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.lunch-note__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; line-height: 1; color: var(--c-accent); }
.lunch-note h3 { margin: 0 0 0.25rem; font-size: 1.625rem; }
.lunch-note p { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); }
.room { display: flex; flex-direction: column; }
.room .img,
.room .ph { aspect-ratio: 4 / 5; }
.room__body { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 1.25rem; }
.room__meta { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); }
.room h3 { margin: 0; font-size: 2rem; }
.room p { margin: 0 0 0.5rem; color: var(--c-muted); font-size: var(--fs-sm); }

/* Chef */
.chef { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.chef__media .img,
.chef__media .ph { aspect-ratio: 4 / 5; }
.chef__role { margin-bottom: 0.25rem; font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-on-olive-muted); }
.chef h2 { margin-bottom: 1.25rem; }
.chef__text p { color: var(--c-on-olive-muted); }
.chef__quote { position: relative; margin: 2rem 0 0; padding-left: 2.25rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-style: italic; font-weight: 500; line-height: 1.3; color: var(--c-on-olive); }
.chef__quote::before { content: "“"; position: absolute; left: 0; top: -0.35em; font-size: 3.5rem; color: var(--c-line); }

/* Events */
.events { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 4vw, 5rem); align-items: start; }
.event-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-border); }
.event { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--c-border); }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid var(--c-line); border-radius: var(--radius); line-height: 1; text-align: center; }
.event__date b { font-family: var(--font-display); font-size: 2.25rem; font-weight: 500; }
.event__date span { margin-top: 0.3rem; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.event h3 { margin: 0 0 0.25rem; font-size: 1.625rem; }
.event p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.event__seats { font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--c-olive); font-weight: 500; }
.event__price { font-family: var(--font-display); font-size: 1.5rem; }
.private { padding: clamp(1.75rem, 1rem + 2vw, 2.75rem); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); }
.private h3 { font-size: 2rem; }
.private p { color: var(--c-muted); font-size: var(--fs-sm); }
.private__formats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.private__formats li { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); }
.private__formats svg { width: 20px; height: 20px; color: var(--c-accent); flex: none; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); }
.review { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 2rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); }
.review__stars { display: flex; gap: 2px; color: var(--c-line); }
.review__stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; line-height: 1.35; }
.review figcaption { margin-top: auto; font-size: var(--fs-sm); color: var(--c-muted); }
.review figcaption b { color: var(--c-text); font-weight: 500; }
.demo-label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.8rem; border: 1px dashed var(--c-line); border-radius: 999px; font-size: var(--fs-xs); color: var(--c-muted); }

/* Gift card */
.gift { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.gift__visual { position: relative; }
.gift__visual .img,
.gift__visual .ph { aspect-ratio: 3 / 2; }
.voucher {
	position: absolute;
	right: -4%;
	bottom: -12%;
	width: 58%;
	aspect-ratio: 1.6;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-radius: 6px;
	background: var(--c-olive);
	color: var(--c-on-olive);
	box-shadow: 0 30px 50px -25px rgb(var(--c-shade) / 0.55);
	transform: rotate(-3deg);
}
.voucher__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-on-olive-muted); }
.voucher__brand { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-on-olive); }
.voucher__amount { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 500; line-height: 1; }
.voucher__code { font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--c-on-olive-muted); font-variant-numeric: tabular-nums; }
.gift__list { margin: 1.5rem 0 2rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.gift__list li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--c-muted); }
.gift__list li::before { content: ""; flex: none; width: 1rem; height: 1px; background: var(--c-line); transform: translateY(-0.3em); }

/* Visit / contact */
.visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.visit h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.hours th,
.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; font-weight: 400; }
.hours td { text-align: right; color: var(--c-muted); }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--c-text); font-weight: 600; }
.hours tr.is-today th::after { content: " · aujourd’hui"; font-weight: 400; color: var(--c-accent); }
.visit address { font-style: normal; margin-bottom: 1rem; }
.visit__note { font-size: var(--fs-sm); color: var(--c-muted); }
.contact-lines { margin: 0 0 1.5rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-lines a { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--c-text); text-decoration: none; }
.contact-lines a:hover { color: var(--c-accent); }
.contact-lines svg { width: 20px; height: 20px; color: var(--c-accent); flex: none; }
.map-card { position: relative; margin-bottom: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: #dfe6dc; }
.map-card svg { width: 100%; height: auto; }

/* 10. Cards ---------------------------------------------------------------- */
.dish-card { position: relative; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.dish-card__media { position: relative; overflow: hidden; border-radius: var(--radius); }
.dish-card__media .img,
.dish-card__media .ph { aspect-ratio: 4 / 3; transition: transform 600ms var(--ease); }
.dish-card:hover .dish-card__media .img { transform: scale(1.035); }
.dish-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--c-surface); color: var(--c-text); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.badge--saison { background: var(--c-olive); color: var(--c-on-olive); }
.badge--choix-du-chef { background: var(--c-accent); color: #fff; }
.badge--nouveau { background: var(--c-surface); color: var(--c-accent); }
.dish-card__line { display: flex; align-items: last baseline; gap: 0.6rem; margin-top: 1.1rem; }
.dish-card__name { margin: 0; font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; line-height: 1.15; }
.dish-card__leader { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--c-line); transform: translateY(-0.3em); }
.dish-card__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--c-text); }
.dish-card__desc { margin: 0.35rem 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.dish-card:hover .dish-card__name { color: var(--c-accent); }

/* Image placeholders until the AI photos are uploaded */
.img { display: block; width: 100%; height: auto; object-fit: cover; }
.ph {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 100%;
	aspect-ratio: var(--ph-ratio, 4 / 3);
	padding: 0.9rem 1rem;
	background:
		repeating-linear-gradient(135deg, rgb(182 154 112 / 0.12) 0 1px, transparent 1px 14px),
		linear-gradient(160deg, #e9dfcf, #d8ccb6);
	color: #6b5a3e;
	overflow: hidden;
}
.ph__label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; }
.ph__label code { display: block; margin-top: 0.2rem; font-size: 0.6875rem; letter-spacing: 0; text-transform: none; opacity: 0.8; }
.hero .ph,
.season__media .ph { background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 16px), linear-gradient(160deg, #3e5244, #1f2b22); color: rgb(255 255 255 / 0.7); align-items: flex-start; padding: calc(var(--header-h) + 1rem) var(--gutter); }

/* 11. Footer --------------------------------------------------------------- */
.site-footer {
	flex-shrink: 0;
	padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem) 2rem;
	background: var(--c-olive-deep);
	color: var(--c-on-olive-muted);
	font-size: var(--fs-sm);
}

.site-footer a { color: var(--c-on-olive); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2.5rem; }
.footer-brand .brand { color: var(--c-on-olive); }
.footer-brand .brand__tag { color: var(--c-on-olive-muted); }
.footer-brand p { margin-top: 1.25rem; max-width: 22rem; }
.footer-col h2 { margin: 0 0 1rem; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-line); }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.socials { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(243 238 228 / 0.25); border-radius: 50%; }
.socials a:hover { background: rgb(243 238 228 / 0.1); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(243 238 228 / 0.15); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }

/* 12. Mobile action bar ---------------------------------------------------- */
.action-bar { display: none; }

@media (max-width: 860px) {
	:root { --bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }

	.action-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 58;
		display: grid;
		grid-template-columns: 1fr 1.3fr 1fr;
		gap: 0.5rem;
		padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
		background: var(--c-surface);
		border-top: 1px solid var(--c-border);
		box-shadow: 0 -10px 30px -20px rgb(var(--c-shade) / 0.4);
	}

	.action-bar a {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.15rem;
		min-height: 48px;
		border-radius: var(--radius);
		color: var(--c-text);
		font-size: 0.75rem;
		font-weight: 500;
		letter-spacing: 0.04em;
		text-decoration: none;
	}

	.action-bar svg { width: 22px; height: 22px; }
	.action-bar .is-primary { flex-direction: row; gap: 0.5rem; background: var(--c-accent); color: #fff; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; }
	.action-bar .header-icon__count { top: 2px; right: calc(50% - 22px); }
}

/* 13. Content pages -------------------------------------------------------- */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1rem + 3vw, 3.5rem); border-bottom: 1px solid var(--c-border); }
.page-hero .lead { margin-bottom: 0; }
.page-title { margin-bottom: 0.3em; }
.entry-meta { margin: 0 0 0.75rem; font-size: var(--fs-sm); color: var(--c-muted); }
.entry-content { max-width: var(--container-text); }
.entry-content > * + h2,
.entry-content > * + h3 { margin-top: 1.75em; }
.entry-content img { border-radius: var(--radius); }
.entry-media { margin: 0 0 2rem; }
.entry-media img { width: 100%; border-radius: var(--radius); }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2.5rem 2rem; }
.post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.post-card__body { padding-top: 1rem; }
.post-card__title { font-size: var(--fs-h4); }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--c-accent); }
.pagination,
.post-navigation { margin-top: 3rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.nav-label { display: block; font-size: var(--fs-sm); color: var(--c-muted); }
.empty-state { padding: 2rem 0; color: var(--c-muted); }
.search-form { display: flex; gap: 0.5rem; max-width: 480px; }
.search-field { flex: 1; min-height: 50px; padding: 0.5rem 0.875rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); }
.search-submit { min-height: 50px; padding-inline: 1.25rem; border: 0; border-radius: var(--radius); background: var(--c-accent); color: var(--c-on-accent); }

/* Block editor content: brand presets from theme.json and core layout helpers
   (core's own global-styles are dequeued in inc/cleanup.php). */
.has-cream-color { color: var(--c-bg) !important; }
.has-ink-color { color: var(--c-text) !important; }
.has-olive-color { color: var(--c-olive) !important; }
.has-bordeaux-color { color: var(--c-accent) !important; }
.has-brass-color { color: var(--c-line) !important; }
.has-cream-background-color { background-color: var(--c-bg) !important; }
.has-ink-background-color { background-color: var(--c-text) !important; }
.has-olive-background-color { background-color: var(--c-olive) !important; }
.has-bordeaux-background-color { background-color: var(--c-accent) !important; }
.has-brass-background-color { background-color: var(--c-line) !important; }
.has-small-font-size { font-size: 0.875rem !important; }
.has-medium-font-size { font-size: 1.0625rem !important; }
.has-large-font-size { font-size: 1.5rem !important; }
.alignleft { float: left; margin: 0 2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 2em; }
.aligncenter { margin-inline: auto; }
.is-layout-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.is-layout-grid { display: grid; gap: 0.5em; }
.is-layout-flex > *,
.is-layout-grid > * { margin: 0; }

/* Responsive grids */
@media (max-width: 1000px) {
	.intro,
	.chef,
	.gift,
	.events,
	.season { grid-template-columns: minmax(0, 1fr); }
	.dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.visit { grid-template-columns: 1fr 1fr; }
	.visit > :last-child { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.gift__visual { margin-bottom: 3rem; }
	.voucher { right: 3%; }
}

@media (max-width: 760px) {
	.rooms,
	.reviews { grid-template-columns: minmax(0, 1fr); }
	.room .img,
	.room .ph { aspect-ratio: 3 / 2; }
	.lunch-note { grid-template-columns: minmax(0, 1fr); }
	.intro__media { padding-bottom: 18%; }
}

@media (max-width: 600px) {
	.dish-grid {
		display: flex;
		gap: 1rem;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.dish-grid::-webkit-scrollbar { display: none; }
	.dish-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
	.visit { grid-template-columns: minmax(0, 1fr); }
	.event { grid-template-columns: 4.5rem minmax(0, 1fr); }
	.event__side { grid-column: 2; }
	.private__formats { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.voucher { position: relative; right: auto; bottom: auto; width: 80%; margin: -3rem auto 0; }
	.gift__visual { margin-bottom: 0; }
}

/* 14. Utilities ------------------------------------------------------------ */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--c-text);
	color: var(--c-bg);
	border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; color: var(--c-bg); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 15. Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
	.js .reveal.is-visible { opacity: 1; transform: none; }
	.hero__content > * { animation: rise 900ms var(--ease) both; }
	.hero__content > :nth-child(2) { animation-delay: 80ms; }
	.hero__content > :nth-child(3) { animation-delay: 160ms; }
	.hero__content > :nth-child(4) { animation-delay: 240ms; }
	.hero__content > :nth-child(5) { animation-delay: 320ms; }
}

@keyframes rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
