/*!
 * Elena's Bistro — design system.
 *
 * tokens • base type • layout • header • footer • components
 *
 * Loaded after style.css (the Underscores normalise layer), so everything here
 * wins over the starter theme's defaults. The palette is the restaurant's own:
 * near-black, warm cream and a single gold accent.
 */

/* -------------------------------------------------------------------------
 * Tokens
 * ---------------------------------------------------------------------- */

:root {
	/* Surfaces */
	--elena-night: #0b0b0a;
	--elena-night-2: #12110f;
	--elena-night-3: #191713;
	--elena-night-4: #232019;

	/* Hairlines */
	--elena-line: rgba(217, 191, 130, 0.22);
	--elena-line-soft: rgba(245, 240, 230, 0.1);

	/* Metal */
	--elena-gold: #c9a24a;
	--elena-gold-soft: #d9bf82;
	--elena-gold-deep: #96742c;
	--elena-champagne: #d9bf82;
	--elena-gold-glow: rgba(201, 162, 74, 0.35);

	/* Type */
	--elena-cream: #f5f0e6;
	--elena-ivory: #f5f0e6;
	--elena-muted: #b8b0a1;
	--elena-secondary: #b8b0a1;
	--elena-muted-2: #8f8779;
	--elena-white: #fbf7ef;
	--elena-success: #7bb37a;
	--elena-error: #d98072;

	--elena-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--elena-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

	--elena-container: 1200px;
	--elena-container-narrow: 780px;
	--elena-gutter: 1.5rem;
	--elena-section-y: clamp(3.5rem, 3rem + 4vw, 7rem);
	--elena-gap-sm: 1rem;
	--elena-gap: 1.75rem;
	--elena-gap-lg: 3rem;

	--elena-radius: 3px;
	--elena-radius-lg: 6px;
	--elena-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	--elena-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.28);
	--elena-shadow-lift: 0 30px 70px rgba(0, 0, 0, 0.55);
	/*
	 * Motion: one shared scale so every state change on the site reads as
	 * part of the same system. "fast" answers a press, "speed" is the
	 * everyday hover or focus change, "medium" is a component arriving and
	 * "slow" is the unhurried one (hero, imagery).
	 */
	--elena-speed-fast: 140ms;
	--elena-speed: 220ms;
	--elena-speed-medium: 380ms;
	--elena-speed-slow: 600ms;
	--elena-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--elena-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	/*
	 * Tiles and rows inside a staggering section rise one after another.
	 * The step is deliberately small: a grid should feel handed over, not
	 * one tile at a time.
	 */
	--elena-stagger: 70ms;

	/*
	 * The masthead height, and how far an anchor target clears it. Everything
	 * in this theme is border-box, so the 92px min-height on the masthead's
	 * inner already absorbs its 0.75rem of vertical padding; the full masthead
	 * is just that height plus its hairline border. Counting the padding again
	 * here would clear the header twice and push anchors and the drawer down
	 * by the amount of the phantom offset.
	 */
	--elena-header-height: 92px;
	--elena-header-full-height: calc(var(--elena-header-height) + 1px);
	--elena-anchor-offset: calc(var(--elena-header-full-height) + 0.75rem);

	/*
	 * Where a sticking masthead is held. WordPress publishes the height of its
	 * admin bar on the document element while an editor is signed in, so the
	 * bar comes to rest just below it and the height it reports for a narrow
	 * screen is picked up as well; with no admin bar the bar sits at the top
	 * of the viewport. Read by the script too, which marks a bar as pinned
	 * only once its top edge reaches this line.
	 */
	--elena-sticky-offset: var(--wp-admin--admin-bar--height, 0px);
}

/* -------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------- */

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;

	/* An anchor target stops below the masthead instead of underneath it, so
	 * a navigation link never lands with its heading hidden behind the bar. */
	scroll-padding-top: var(--elena-anchor-offset);
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--elena-cream);
	font-family: var(--elena-font-body);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.7;
}

body.elena-scheme-dark {
	background-color: var(--elena-night);
	background-image: radial-gradient(circle at 50% -10%, rgba(201, 162, 74, 0.09), transparent 55%);
	background-repeat: no-repeat;
	color: var(--elena-cream);
}

.elena-site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;

	/*
	 * Horizontal bleed is trimmed here. `clip` does that without turning this
	 * wrapper into a scroll container, which is the one thing a sticky
	 * masthead cannot work through: an ancestor that scrolls becomes the box
	 * the bar sticks to, and as this box never scrolls the bar would travel
	 * with the page instead. Browsers that do not know `clip` keep `hidden`
	 * from the rule above.
	 */
	overflow-x: hidden;
}

@supports (overflow-x: clip) {

	.elena-site {
		overflow-x: clip;
	}
}

.elena-site > .elena-main {
	flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--elena-white);
	font-family: var(--elena-font-display);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.18;
	margin: 0 0 0.6em;
}

h1,
.elena-entry__title,
.elena-hero__title {
	font-size: clamp(2.35rem, 1.7rem + 3.2vw, 4rem);
}

h2 {
	font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.85rem);
}

h3 {
	font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.8rem);
}

h4 {
	font-size: 1.2rem;
}

p {
	margin: 0 0 1.35em;
}

/* -------------------------------------------------------------------------
 * Link system
 * -------------------------------------------------------------------------
 *
 * One place decides how a link looks, so no browser default (or leftover
 * starter-theme rule) can ever tint the site purple again:
 *
 *   default   gold on the dark ground
 *   visited   champagne, so a return visit still reads as "inside the brand"
 *   hover     champagne, with a warmer underline
 *   focus     a champagne outline, always visible for keyboard users
 *
 * Structural links — buttons, the wordmark, the navigation, the footer — must
 * look identical before and after a visit, so they opt out of the visited tint
 * with explicit :link/:visited pairs. Everything is scoped to .elena-site,
 * which wraps every public screen, and never applies inside wp-admin.
 */

.elena-site a:link,
.elena-site a:visited {
	color: var(--elena-gold);
	text-decoration: none;
	transition:
		color var(--elena-speed) var(--elena-ease),
		background-color var(--elena-speed) var(--elena-ease),
		border-color var(--elena-speed) var(--elena-ease),
		opacity var(--elena-speed) var(--elena-ease);
}

.elena-site a:visited {
	color: var(--elena-champagne);
}

.elena-site a:hover,
.elena-site a:focus,
.elena-site a:active {
	color: var(--elena-champagne);
	text-decoration-color: var(--elena-champagne);
}

/* Links inside prose keep their underline: on a dark ground colour alone is a
 * weak signal, and the gold hairline underline is part of the house style. */
.elena-site .elena-entry__content a:link,
.elena-site .elena-entry__content a:visited,
.elena-site .elena-comments a:link,
.elena-site .elena-comments a:visited {
	color: var(--elena-gold);
	text-decoration: underline;
	text-decoration-color: rgba(201, 162, 74, 0.45);
	text-underline-offset: 0.22em;
}

.elena-site .elena-entry__content a:visited,
.elena-site .elena-comments a:visited {
	color: var(--elena-champagne);
}

/* Buttons keep their own colours: a gold button whose label turned champagne
 * would be champagne on gold. */
.elena-site .elena-entry__content a:hover:not(.elena-btn),
.elena-site .elena-entry__content a:focus:not(.elena-btn),
.elena-site .elena-comments a:hover:not(.elena-btn),
.elena-site .elena-comments a:focus:not(.elena-btn) {
	color: var(--elena-champagne);
	text-decoration-color: var(--elena-champagne);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--elena-champagne);
	outline-offset: 3px;
}

/* The skip link only exists for keyboard users, so it must never be clipped
 * away while focused. */
.elena-site .skip-link:focus,
.elena-site .skip-link:active {
	background-color: var(--elena-gold);
	clip: auto !important;
	clip-path: none !important;
	color: var(--elena-night);
	display: block;
	font-size: 0.85rem;
	height: auto;
	left: 1rem;
	letter-spacing: 0.08em;
	padding: 0.75rem 1.25rem;
	text-transform: uppercase;
	top: 1rem;
	width: auto;
	z-index: 220;
}

/* Header: wordmark, brand mark and the navigation. */
.elena-site .elena-site-title:link,
.elena-site .elena-site-title:visited {
	color: var(--elena-white);
}

.elena-site .elena-site-title:hover,
.elena-site .elena-site-title:focus {
	color: var(--elena-champagne);
}

.elena-site .elena-brand-link:link,
.elena-site .elena-brand-link:visited,
.elena-site .elena-brand-link:hover,
.elena-site .elena-brand-link:focus {
	border: 0;
	color: inherit;
	text-decoration: none;
}

/*
 * The masthead navigation. Everything for it is scoped to .elena-nav: the bare
 * .elena-menu class used to be styled globally, which collided with the Menu
 * page's own frame and laid that page out as three side-by-side columns.
 */
.elena-site .elena-nav .elena-menu a:link,
.elena-site .elena-nav .elena-menu a:visited {
	color: var(--elena-cream);
}

.elena-site .elena-nav .elena-menu a:hover,
.elena-site .elena-nav .elena-menu a:focus,
.elena-site .elena-nav .elena-menu .current-menu-item > a,
.elena-site .elena-nav .elena-menu .current-menu-ancestor > a,
.elena-site .elena-nav .elena-menu .current_page_item > a,
.elena-site .elena-nav .elena-menu .current_page_ancestor > a {
	color: var(--elena-champagne);
}

.elena-site .elena-nav .elena-menu .sub-menu a:link,
.elena-site .elena-nav .elena-menu .sub-menu a:visited {
	color: var(--elena-muted);
}

.elena-site .elena-nav .elena-menu .sub-menu a:hover,
.elena-site .elena-nav .elena-menu .sub-menu a:focus {
	color: var(--elena-champagne);
}

.elena-site .elena-nav__phone:link,
.elena-site .elena-nav__phone:visited,
.elena-site .elena-header__phone:link,
.elena-site .elena-header__phone:visited {
	color: var(--elena-cream);
}

.elena-site .elena-nav__phone:hover,
.elena-site .elena-nav__phone:focus,
.elena-site .elena-header__phone:hover,
.elena-site .elena-header__phone:focus {
	color: var(--elena-champagne);
}

/* Buttons: structural, so a visit never changes them. */
.elena-site .elena-btn:link,
.elena-site .elena-btn:visited {
	color: var(--elena-cream);
}

.elena-site .elena-btn--gold:link,
.elena-site .elena-btn--gold:visited {
	background-color: var(--elena-gold);
	border-color: var(--elena-gold);
	color: var(--elena-night);
}

.elena-site .elena-btn--gold:hover,
.elena-site .elena-btn--gold:focus,
.elena-site .elena-btn--gold:active {
	background-color: var(--elena-champagne);
	border-color: var(--elena-champagne);
	color: var(--elena-night);
}

.elena-site .elena-btn--outline:link,
.elena-site .elena-btn--outline:visited {
	background-color: transparent;
	border-color: var(--elena-line);
	color: var(--elena-cream);
}

.elena-site .elena-btn--outline:hover,
.elena-site .elena-btn--outline:focus,
.elena-site .elena-btn--outline:active {
	background-color: rgba(201, 162, 74, 0.1);
	border-color: var(--elena-gold);
	color: var(--elena-champagne);
}

.elena-site .elena-btn--ghost:link,
.elena-site .elena-btn--ghost:visited {
	border-color: rgba(245, 240, 230, 0.35);
	color: var(--elena-white);
}

.elena-site .elena-btn--ghost:hover,
.elena-site .elena-btn--ghost:focus,
.elena-site .elena-btn--ghost:active {
	background-color: rgba(245, 240, 230, 0.08);
	border-color: var(--elena-champagne);
	color: var(--elena-white);
}

.elena-site .elena-link-more:link,
.elena-site .elena-link-more:visited {
	color: var(--elena-gold);
}

.elena-site .elena-link-more:hover,
.elena-site .elena-link-more:focus {
	color: var(--elena-champagne);
}

/* Announcement bar: inherits the gold ground it sits on. */
.elena-site .elena-announcement__link:link,
.elena-site .elena-announcement__link:visited,
.elena-site .elena-announcement__link:hover,
.elena-site .elena-announcement__link:focus {
	color: var(--elena-night);
}

/*
 * Footer: quiet by default, champagne on interaction — except for a button.
 *
 * The umbrella `.elena-site .elena-footer a:hover` rule outranks
 * `.elena-site .elena-btn--gold:hover` (both carry three class-level
 * selectors, and the footer rule comes later), so on hover it repainted the
 * label of the footer's gold call to action champagne on a champagne
 * background: the words vanished into the pill. `:not(.elena-btn)` takes
 * buttons out of the rule — exactly as the shared footer link rule further
 * down already does — and the gold button keeps the dark ink it is styled
 * for in every state.
 */
.elena-site .elena-footer a:link:not(.elena-btn),
.elena-site .elena-footer a:visited:not(.elena-btn),
.elena-site .elena-footer__menu a:link,
.elena-site .elena-footer__menu a:visited,
.elena-site .elena-footer__legal-menu a:link,
.elena-site .elena-footer__legal-menu a:visited {
	color: var(--elena-cream);
}

.elena-site .elena-footer a:hover:not(.elena-btn),
.elena-site .elena-footer a:focus:not(.elena-btn),
.elena-site .elena-footer__menu a:hover,
.elena-site .elena-footer__menu a:focus,
.elena-site .elena-footer__legal-menu a:hover,
.elena-site .elena-footer__legal-menu a:focus {
	color: var(--elena-champagne);
}

/* Social pills. */
.elena-site .elena-social__link:link,
.elena-site .elena-social__link:visited {
	border: 1px solid var(--elena-line);
	color: var(--elena-cream);
}

.elena-site .elena-social__link:hover,
.elena-site .elena-social__link:focus {
	background-color: rgba(201, 162, 74, 0.12);
	border-color: var(--elena-gold);
	color: var(--elena-champagne);
}

/* Cards and entry headings: white, champagne on interaction. */
.elena-site .elena-card__title a:link,
.elena-site .elena-card__title a:visited,
.elena-site .elena-dish__link:link,
.elena-site .elena-dish__link:visited,
.elena-site .elena-event__link:link,
.elena-site .elena-event__link:visited {
	color: var(--elena-white);
}

.elena-site .elena-card__title a:hover,
.elena-site .elena-card__title a:focus,
.elena-site .elena-dish__link:hover,
.elena-site .elena-dish__link:focus,
.elena-site .elena-event__link:hover,
.elena-site .elena-event__link:focus {
	color: var(--elena-champagne);
}

/* Meta, post navigation and the sidebar. */
.elena-site .elena-entry-meta a:link,
.elena-site .elena-entry-meta a:visited,
.elena-site .elena-entry__footer a:link,
.elena-site .elena-entry__footer a:visited,
.elena-site .elena-sidebar .widget a:link,
.elena-site .elena-sidebar .widget a:visited,
.elena-site .elena-breadcrumbs a:link,
.elena-site .elena-breadcrumbs a:visited,
.elena-site .elena-nav-link__title:link,
.elena-site .elena-nav-link__title:visited {
	color: var(--elena-cream);
}

.elena-site .elena-entry-meta a:hover,
.elena-site .elena-entry-meta a:focus,
.elena-site .elena-entry__footer a:hover,
.elena-site .elena-entry__footer a:focus,
.elena-site .elena-sidebar .widget a:hover,
.elena-site .elena-sidebar .widget a:focus,
.elena-site .elena-breadcrumbs a:hover,
.elena-site .elena-breadcrumbs a:focus,
.elena-site .elena-nav-link__title:hover,
.elena-site .elena-nav-link__title:focus {
	color: var(--elena-champagne);
}

.elena-site .elena-page-links a:link,
.elena-site .elena-page-links a:visited {
	color: var(--elena-gold);
}

.elena-site .elena-page-links a:hover,
.elena-site .elena-page-links a:focus {
	color: var(--elena-champagne);
}

/* Pagination: the current page and the hovered page share the gold plaque, so
 * the visited tint has to be stated on both sides of the pair. */
.elena-site .elena-pagination .page-numbers:link,
.elena-site .elena-pagination .page-numbers:visited {
	color: var(--elena-cream);
}

.elena-site .elena-pagination .page-numbers:hover,
.elena-site .elena-pagination .page-numbers:focus,
.elena-site .elena-pagination .page-numbers.current:link,
.elena-site .elena-pagination .page-numbers.current:visited {
	background-color: var(--elena-gold);
	border-color: var(--elena-gold);
	color: var(--elena-night);
}

/* Page templates: gallery navigation, contact lines, private dining links. */
.elena-site .elena-gallery-nav__link:link,
.elena-site .elena-gallery-nav__link:visited {
	color: var(--elena-cream);
}

.elena-site .elena-gallery-nav__link:hover,
.elena-site .elena-gallery-nav__link:focus {
	background-color: rgba(201, 162, 74, 0.1);
	border-color: var(--elena-gold);
	color: var(--elena-champagne);
}

.elena-site .elena-contact__link:link,
.elena-site .elena-contact__link:visited,
.elena-site .elena-about__link:link,
.elena-site .elena-about__link:visited,
.elena-site .elena-private__link:link,
.elena-site .elena-private__link:visited,
.elena-site .elena-visit__link:link,
.elena-site .elena-visit__link:visited,
.elena-site .elena-not-found__links a:link,
.elena-site .elena-not-found__links a:visited {
	color: var(--elena-cream);
}

.elena-site .elena-contact__link:hover,
.elena-site .elena-contact__link:focus,
.elena-site .elena-about__link:hover,
.elena-site .elena-about__link:focus,
.elena-site .elena-private__link:hover,
.elena-site .elena-private__link:focus,
.elena-site .elena-visit__link:hover,
.elena-site .elena-visit__link:focus,
.elena-site .elena-not-found__links a:hover,
.elena-site .elena-not-found__links a:focus {
	border-color: var(--elena-gold);
	color: var(--elena-champagne);
}

.elena-site .elena-visit__link:hover .elena-visit__value,
.elena-site .elena-visit__link:focus .elena-visit__value {
	color: var(--elena-champagne);
}

/* Caption links in galleries behave like the rest of the media links. */
.elena-site .elena-gallery__link:link,
.elena-site .elena-gallery__link:visited {
	color: var(--elena-cream);
}



strong,
b {
	color: var(--elena-white);
	font-weight: 500;
}

blockquote {
	border-left: 2px solid var(--elena-gold);
	color: var(--elena-white);
	font-family: var(--elena-font-display);
	font-size: 1.35rem;
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
}

hr {
	background-color: var(--elena-line);
	border: 0;
	height: 1px;
	margin: 2.5rem 0;
}

img,
svg,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

::selection {
	background: var(--elena-gold);
	color: var(--elena-night);
}

code,
kbd,
pre,
samp {
	background: var(--elena-night-3);
	border: 1px solid var(--elena-line-soft);
	border-radius: var(--elena-radius);
	color: var(--elena-cream);
	font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
 * Layout
 * ---------------------------------------------------------------------- */

.elena-container {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--elena-container);
	padding-left: var(--elena-gutter);
	padding-right: var(--elena-gutter);
	width: 100%;
}

.elena-container--narrow {
	max-width: var(--elena-container-narrow);
}

.elena-main {
	display: block;
	padding-bottom: var(--elena-section-y);
	padding-top: clamp(2rem, 1.25rem + 2.5vw, 4rem);
}

.elena-main--home {
	padding-top: 0;
}

.elena-main--not-found,
.elena-main--contact {
	padding-top: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.elena-layout {
	display: grid;
	gap: var(--elena-gap-lg);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62rem) {

	.elena-layout:not(.elena-layout--single) {
		grid-template-columns: minmax(0, 1fr) 20rem;
	}
}

.elena-layout__main {
	min-width: 0;
}

.elena-grid {
	display: grid;
	gap: var(--elena-gap);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40rem) {

	.elena-grid--2,
	.elena-grid--3,
	.elena-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62rem) {

	.elena-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.elena-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.elena-section {
	padding-bottom: var(--elena-section-y);
	padding-top: var(--elena-section-y);
	position: relative;
}

.elena-section__button,
.elena-section__empty {
	display: block;
	text-align: center;
}

.elena-section__button {
	margin: 2.5rem auto 0;
	width: fit-content;
}

.elena-section__empty {
	color: var(--elena-muted);
	margin: 2rem auto 0;
	max-width: 46rem;
}

/* -------------------------------------------------------------------------
 * Type helpers
 * ---------------------------------------------------------------------- */

.elena-eyebrow {
	color: var(--elena-gold);
	font-family: var(--elena-font-body);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.elena-section-head {
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
	max-width: 60rem;
}

.elena-section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.elena-section-head--start {
	text-align: left;
}

.elena-section-title {
	margin-bottom: 0.5em;
}

.elena-section-text {
	color: var(--elena-muted);
	font-size: 1.05rem;
	max-width: 46rem;
}

.elena-section-head--center .elena-section-text {
	margin-left: auto;
	margin-right: auto;
}

.elena-section-head--archive,
.elena-section-head--page {
	border-bottom: 1px solid var(--elena-line-soft);
	margin-bottom: 2.5rem;
	padding-bottom: 1.75rem;
}

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */

.elena-btn {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--elena-font-body);
	font-size: 0.82rem;
	font-weight: 500;
	gap: 0.5rem;
	justify-content: center;
	letter-spacing: 0.16em;
	line-height: 1;
	padding: 1.05rem 1.9rem;
	text-align: center;
	text-transform: uppercase;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--elena-speed) var(--elena-ease), border-color var(--elena-speed) var(--elena-ease), box-shadow var(--elena-speed) var(--elena-ease), color var(--elena-speed) var(--elena-ease), transform var(--elena-speed) var(--elena-ease);
}

.elena-btn:hover,
.elena-btn:focus {
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
	transform: translateY(-1px);
}

/*
 * Pressing a button sets it back on the ground and pulls it in a hair, a
 * touch faster than the lift it is interrupting, so the click is felt a
 * moment before the page moves.
 */
.elena-btn:active {
	box-shadow: none;
	transform: translateY(0) scale(0.985);
	transition-duration: var(--elena-speed-fast);
}

.elena-btn--gold {
	background-color: var(--elena-gold);
	border-color: var(--elena-gold);
	color: var(--elena-night);
}

.elena-btn--gold:hover,
.elena-btn--gold:focus {
	background-color: var(--elena-gold-soft);
	border-color: var(--elena-gold-soft);
	color: var(--elena-night);
}

.elena-btn--outline {
	background-color: transparent;
	border-color: var(--elena-line);
	color: var(--elena-cream);
}

.elena-btn--outline:hover,
.elena-btn--outline:focus {
	background-color: rgba(201, 162, 74, 0.1);
	border-color: var(--elena-gold);
	color: var(--elena-gold-soft);
}

.elena-btn--ghost {
	border-color: rgba(245, 239, 228, 0.35);
	color: var(--elena-white);
}

.elena-link-more {
	align-items: center;
	display: inline-flex;
	font-size: 0.82rem;
	gap: 0.45rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.elena-link-more::after {
	content: "\2192";
	transition: transform var(--elena-speed) var(--elena-ease);
}

.elena-link-more:hover::after,
.elena-link-more:focus-visible::after {
	transform: translateX(3px);
}

.elena-link-more:active::after {
	transform: translateX(6px);
	transition-duration: var(--elena-speed-fast);
}

/* -------------------------------------------------------------------------
 * Announcement bar
 * ---------------------------------------------------------------------- */

.elena-announcement {
	background-color: var(--elena-gold);
	color: var(--elena-night);
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	position: relative;
	z-index: 60;
}

.elena-announcement__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	padding-bottom: 0.6rem;
	padding-top: 0.6rem;
	text-align: center;
}

.elena-announcement__text {
	margin: 0;
}

.elena-announcement__link {
	border-bottom: 1px solid currentColor;
	color: inherit;
	font-weight: 500;
	padding-bottom: 1px;
}

.elena-announcement__link:hover,
.elena-announcement__link:focus {
	color: var(--elena-night);
	opacity: 0.75;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

.elena-header {
	background-color: rgba(11, 11, 10, 0.92);
	border-bottom: 1px solid var(--elena-line-soft);
	position: relative;

	/* Ground, hairline and shadow ease in as the page leaves the hero, so
	 * the masthead settles into the scroll rather than snapping into it. */
	transition: background-color var(--elena-speed-medium) var(--elena-ease-out), border-bottom-color var(--elena-speed-medium) var(--elena-ease-out), box-shadow var(--elena-speed-medium) var(--elena-ease-out), -webkit-backdrop-filter var(--elena-speed-medium) var(--elena-ease-out), backdrop-filter var(--elena-speed-medium) var(--elena-ease-out);
	z-index: 80;
}

/*
 * Sticking the masthead is a switch per device, and the bar is pinned inside
 * the same 77.5rem boundary the three zone masthead switches on at -- the one
 * the stylesheet and the script already share -- so a site can hold the bar in
 * view on a phone and let it go on a desktop, or the other way round, and the
 * two never disagree about which navigation is on screen.
 *
 * A transparent masthead leaves the flow as soon as the page moves (see
 * below), so both states are pinned here: the solid bar with `sticky`, the
 * transparent one with the box it already used, now held at the offset rather
 * than at the very top.
 */
@media (min-width: 77.5rem) {

	body.elena-header-solid.elena-header-sticky-desktop .elena-header {
		position: sticky;
		top: var(--elena-sticky-offset);
	}

	body:not(.elena-header-solid).elena-header-sticky-desktop .elena-header.is-scrolled {
		position: fixed;
		top: var(--elena-sticky-offset);
	}
}

@media (max-width: 77.4375rem) {

	body.elena-header-solid.elena-header-sticky-mobile .elena-header {
		position: sticky;
		top: var(--elena-sticky-offset);
	}

	body:not(.elena-header-solid).elena-header-sticky-mobile .elena-header.is-scrolled {
		position: fixed;
		top: var(--elena-sticky-offset);
	}
}

/*
 * Progressive enhancement: once the page has scrolled, the transparent
 * masthead picks up a solid ground, a hairline and a soft shadow so the
 * navigation always stays legible over photography.
 */
.elena-header.is-scrolled {
	background-color: rgba(9, 9, 8, 0.95);
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

/*
 * The transparent masthead picks its solid ground up here, whether or not it is
 * then held in view -- a site that has switched sticking off for this width
 * keeps the legible ground and lets the bar travel on with the page.
 */
body:not(.elena-header-solid) .elena-header.is-scrolled {
	background-color: rgba(9, 9, 8, 0.95);
	border-bottom-color: rgba(245, 240, 230, 0.16);
}

body:not(.elena-header-solid) .elena-header.is-scrolled::after {
	opacity: 0;
}

body:not(.elena-header-solid) .elena-header {
	background-color: transparent;
	border-bottom-color: rgba(245, 239, 228, 0.16);
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

body:not(.elena-header-solid) .elena-header::after {
	background: linear-gradient(180deg, rgba(11, 11, 10, 0.85), rgba(11, 11, 10, 0));
	bottom: -3rem;
	content: "";
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity var(--elena-speed-medium) var(--elena-ease-out);
	z-index: -1;
}
/*
 * Pinned: the page has moved and the bar is being held in view at this moment,
 * rather than travelling on with the page. The script sets this only for a bar
 * whose top edge has reached the offset it is pinned to, so a site that has
 * switched sticking off for this width never wears the deeper shadow or the
 * champagne hairline.
 */
.elena-header.is-scrolled.is-pinned,
body:not(.elena-header-solid) .elena-header.is-pinned {
	border-bottom-color: var(--elena-gold-glow);
	box-shadow: 0 26px 60px rgba(0, 0, 0, 0.58);
}

/*
 * The masthead is a three zone grid: wordmark, navigation, actions. On small
 * screens the navigation zone collapses to a single toggle button, so the
 * drawer and the desktop menu can never be visible at the same time.
 */
.elena-header__inner {
	align-items: center;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: var(--elena-header-height);
	padding-bottom: 0.75rem;
	padding-top: 0.75rem;
}

/*
 * The three zone masthead switches on at 77.5rem rather than at the 62rem the
 * rest of the layout uses. The wordmark, the menu, the telephone line and the
 * booking button need the full 1200px inner width to sit on one line, and the
 * track that holds the menu shrinks to min-width: 0 along the way, so on a
 * narrower desktop the menu is not clipped — it floats back over the wordmark
 * and the telephone number. The drawer query below ends at exactly one pixel
 * less, and the two are a matched pair.
 */
@media (min-width: 77.5rem) {

	.elena-header__inner {
		gap: 2.5rem;
		grid-template-columns: auto minmax(0, 1fr) auto;
	}
}

.elena-brand {
	align-items: center;
	display: flex;
	gap: 0.9rem;
	justify-self: start;
	min-width: 0;
}

.elena-header__nav {
	align-items: center;
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}

@media (min-width: 77.5rem) {

	.elena-header__nav {
		justify-content: center;
	}
}

.elena-brand-logo {
	flex: 0 0 auto;
	line-height: 0;
}

.elena-brand-logo--header img {
	height: 3.2rem;
	width: auto;
}

.elena-brand-logo--footer img {
	height: 4rem;
	width: auto;
}

/*
 * The mobile panel's closing mark: the same emblem, held to a quieter size than
 * the masthead's. It is the last thing in the panel — a hairline, then the mark
 * centred on the panel's axis. The image is capped rather than fixed, so a
 * Custom Logo of any proportions settles inside the same square.
 */
.elena-brand-logo--drawer {
	align-items: center;
	display: flex;
	justify-content: center;
}

.elena-brand-logo--drawer img {
	height: auto;
	max-height: 3.5rem;
	max-width: 3.5rem;
	width: auto;
}

.elena-logo-img {
	display: block;
}

/*
 * The width the owner typed travels on the wrapper as a custom property, so
 * the same number sizes their own image, a Custom Logo and the bundled emblem.
 * The rules above size a mark by its height and the drawer caps it twice; a
 * mark with an explicit width steps past those caps and keeps its own
 * proportions. It is still held inside its column, so a wide mark can never
 * push the masthead sideways. Zero leaves every rule above in charge.
 */
.elena-brand-logo--sized img {
	height: auto;
	max-height: none;
	max-width: 100%;
	width: var(--elena-logo-width, auto);
}

/*
 * The panel's sign-off carries the restaurant's name only when the owner asks
 * for it. Like the mark above it, the paragraph is dressed for the panel alone
 * and stays out of the desktop masthead entirely.
 */
.elena-nav__drawer-name {
	color: var(--elena-champagne);
	display: block;
	font-family: var(--elena-font-display);
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	margin: -0.9rem 0 0;
	text-align: center;
	width: 100%;
}

.elena-brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.elena-site-title {
	color: var(--elena-white);
	font-family: var(--elena-font-display);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.1;
}

.elena-site-title:hover,
.elena-site-title:focus {
	color: var(--elena-gold-soft);
}

.elena-site-description {
	color: var(--elena-muted-2);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Navigation
 * ---------------------------------------------------------------------- */

.elena-nav-wrap {
	align-items: center;
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	min-width: 0;
}

/*
 * The mobile panel's reference block: the address, the telephone and the
 * week's hours. It is a quiet ledger rather than a second call to action, so
 * it runs on a small type scale and one shared left edge.
 */
.elena-nav__meta {
	display: block;
}

/*
 * A small gilded label opens each part of the ledger: "Find us" over the
 * address and the telephone, "Opening hours" over the week. The second label
 * takes its own air, since it follows the contact row rather than the top of
 * the block.
 */
.elena-nav__meta-title {
	color: var(--elena-champagne);
	font-family: var(--elena-font-body);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	margin: 0 0 0.5rem;
	text-transform: uppercase;
}

.elena-nav__meta-title:not(:first-child) {
	margin-top: 1.1rem;
}

.elena-nav__meta-lines {
	font-size: 0.9rem;
	font-style: normal;
	line-height: 1.5;
}

.elena-nav__meta-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/*
 * One row per day on a shared two column grid: the day name holds the left
 * edge the address sits on, the times hold the right edge the telephone holds.
 * The times never wrap, so a long label such as "Monday to Thursday" breaks
 * onto a line of its own instead of pushing the times out of the panel.
 */
.elena-nav__meta-list li {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) auto;
	line-height: 1.5;
	padding: 0.15rem 0;
}

.elena-nav__meta-day {
	color: var(--elena-cream);
}

.elena-nav__meta-time {
	color: var(--elena-muted);
	font-size: 0.85rem;
	text-align: right;
	white-space: nowrap;
}

.elena-nav {
	min-width: 0;
}

.elena-nav .elena-menu,
.elena-footer__menu,
.elena-footer__legal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elena-nav .elena-menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	justify-content: center;
}

.elena-nav .elena-menu > li {
	position: relative;
}

.elena-nav .elena-menu a {
	color: var(--elena-cream);
	display: inline-block;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	padding: 0.5rem 0;
	text-transform: uppercase;
}

.elena-nav .elena-menu > li > a::after {
	background-color: var(--elena-gold);
	content: "";
	display: block;
	height: 1px;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--elena-speed) ease;
}

.elena-nav .elena-menu > li:hover > a::after,
.elena-nav .elena-menu > li.current-menu-item > a::after,
.elena-nav .elena-menu > li.current-menu-ancestor > a::after,
.elena-nav .elena-menu > li > a:focus-visible::after {
	transform: scaleX(1);
}

.elena-nav .elena-menu .sub-menu {
	background-color: var(--elena-night-2);
	border: 1px solid var(--elena-line);
	box-shadow: var(--elena-shadow-soft);
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 13rem;
	opacity: 0;
	padding: 0.6rem 0;
	position: absolute;
	top: 100%;
	transform: translateY(0.5rem);
	transition: opacity var(--elena-speed) ease, transform var(--elena-speed) ease, visibility var(--elena-speed) ease;
	visibility: hidden;
	z-index: 40;
}

.elena-nav .elena-menu li:hover > .sub-menu,
.elena-nav .elena-menu li:focus-within > .sub-menu {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.elena-nav .elena-menu .sub-menu a {
	padding: 0.5rem 1.25rem;
	text-transform: none;
}

/*
 * The mobile panel's own contents: the booking call to action and the social
 * links. The booking button here is the panel's only one — the masthead's copy
 * is hidden below 77.5rem — so the two are never on screen together.
 */
.elena-nav__extra {
	align-items: flex-start;
	border-top: 1px solid var(--elena-line-soft);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 1.25rem;
	width: 100%;
}

/*
 * The telephone, kept inside the Find us block as an aligned contact row: the
 * label holds the left edge the day names hold, the number holds the right edge
 * the times hold. It is the panel's only telephone, so it keeps a comfortable
 * tap target of its own.
 */
.elena-nav__phone {
	align-items: center;
	color: var(--elena-cream);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	line-height: 1.2;
	margin: 0.6rem 0 0;
	min-height: 2.75rem;
	padding: 0.25rem 0;
}

.elena-nav__phone-label {
	color: var(--elena-muted-2);
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
}

.elena-nav__phone-number {
	color: var(--elena-champagne);
	font-family: var(--elena-font-body);
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-align: right;
	white-space: nowrap;
}

.elena-header__actions {
	align-items: center;
	display: none;
	gap: 1.25rem;
}

.elena-header__phone {
	color: var(--elena-cream);
	font-size: 0.9rem;
	letter-spacing: 0.06em;
}

.elena-header__phone:hover,
.elena-header__phone:focus {
	color: var(--elena-gold-soft);
}

.elena-header__cta {
	white-space: nowrap;
}

/*
 * The drawer's own copy of the booking button: a measured gold pill on the
 * panel's left axis rather than a slab across the whole drawer. It shares the
 * button's conventions with the masthead's copy, only quieter — a slightly
 * smaller label and a shorter pill. The element lives inside .elena-nav__extra,
 * which is hidden outside the drawer, so these rules never travel.
 */
.elena-nav__cta {
	font-size: 0.78rem;
	min-width: 10.5rem;
	padding: 0.95rem 1.75rem;
}

/* -------------------------------------------------------------------------
 * Mobile navigation
 * ---------------------------------------------------------------------- */

.elena-nav-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid var(--elena-line);
	border-radius: 999px;
	color: var(--elena-cream);
	cursor: pointer;
	display: inline-flex;
	height: 2.85rem;
	justify-content: center;
	padding: 0;
	position: relative;
	transition: border-color var(--elena-speed) var(--elena-ease), background-color var(--elena-speed) var(--elena-ease);
	width: 2.85rem;
	z-index: 1;
}

.elena-nav-toggle__label {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.elena-nav-toggle:hover,
.elena-nav-toggle:focus-visible {
	background-color: rgba(201, 162, 74, 0.12);
	border-color: var(--elena-gold);
}

.elena-nav-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 1.15rem;
}

.elena-nav-toggle__bars span {
	background-color: var(--elena-gold);
	display: block;
	height: 1px;
	transition: transform var(--elena-speed) ease, opacity var(--elena-speed) ease;
}

.elena-nav-toggle[aria-expanded="true"] .elena-nav-toggle__bars span:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.elena-nav-toggle[aria-expanded="true"] .elena-nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.elena-nav-toggle[aria-expanded="true"] .elena-nav-toggle__bars span:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

@media (min-width: 77.5rem) {

	/* Desktop: the actions zone appears and the single toggle disappears, so
	 * the hamburger can never sit beside the menu again. */
	.elena-header__actions {
		display: flex;
	}

	.elena-nav-toggle {
		display: none;
	}

	/* The mobile panel is a spare copy of the menu at these widths: the
	 * masthead's own column already carries it, so the dialog is taken out of
	 * the document entirely rather than left to be opened by mistake. */
	.elena-menu-modal {
		display: none;
	}

	/* Desktop navigation sits on a single line: no wrapping, so the last item
	 * (CONTACT) can never drop onto a second row. The spacing tightens on
	 * narrower desktop widths, where the logo, six items and the call to
	 * action have to share one line. */
	.elena-nav {
		flex: 1 1 auto;
		min-width: 0;
	}

	.elena-nav .elena-menu {
		flex-wrap: nowrap;
		gap: 0.25rem 1rem;
		white-space: nowrap;
	}

	.elena-nav .elena-menu a {
		font-size: 0.78rem;
		letter-spacing: 0.1em;
	}
}

@media (min-width: 75rem) {

	/* Roomy desktops can breathe again once there is space for it. */
	.elena-nav .elena-menu {
		gap: 0.25rem 1.5rem;
	}

	.elena-nav .elena-menu a {
		font-size: 0.82rem;
		letter-spacing: 0.14em;
	}
}

/*
 * One pixel under the desktop masthead above: the mobile panel carries the
 * navigation on every width where the three zone header cannot fit on one line.
 */

/* Panels open with their list settling in, one row after another. */
@keyframes elena-menu-modal-item-in {
	from {
		opacity: 0;
		transform: translateY(0.75rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 77.4375rem) {

	/* Below this width the masthead keeps only its wordmark, the toggle and
	 * (on wider phones) the actions zone: its own navigation column is taken
	 * out of the flow so the spare copy inside the dialog is the one that is
	 * seen. Both copies stay in the document, so the menu never has to be
	 * rebuilt when the viewport changes. */
	.elena-nav-wrap {
		display: none;
	}

	/*
	 * The mobile panel. A native dialog centred on the viewport: the browser
	 * supplies the modality, the backdrop, the Escape key and the focus trap,
	 * so none of that is written here. The panel is capped against both the
	 * screen and its own content, and scrolls its body when the ledger of
	 * hours and the links run past the fold.
	 */
	.elena-menu-modal {
		background-color: var(--elena-night-2);
		background-image: linear-gradient(180deg, var(--elena-night-3), var(--elena-night));
		border: 1px solid var(--elena-line);
		box-shadow: var(--elena-shadow-lift);
		color: var(--elena-cream);
		/*
		 * `margin: auto` is what centres a dialog on the viewport in both
		 * axes; without it the browser pins the box to the top of the
		 * screen. The dvh unit follows a collapsing mobile toolbar, and the
		 * safe-area insets keep the box off a notch or a home indicator.
		 */
		margin: auto;
		max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 2rem);
		max-width: min(32rem, 100% - 2 * var(--elena-gutter));
		overflow: hidden;
		padding: 0;
		width: 100%;
	}

	.elena-menu-modal::backdrop {
		background-color: rgba(4, 4, 3, 0.82);
		-webkit-backdrop-filter: blur(3px);
		backdrop-filter: blur(3px);
	}

	/*
	 * The head row: the title on the left, the close control on the right.
	 * It is sticky inside the scrolling dialog, so the close control stays
	 * reachable however far the list below it runs.
	 */
	.elena-menu-modal__head {
		align-items: center;
		align-self: stretch;
		background-color: var(--elena-night-2);
		border-bottom: 1px solid var(--elena-line);
		display: flex;
		flex: 0 0 auto;
		gap: 1rem;
		justify-content: space-between;
		padding: 1.1rem clamp(1.1rem, 0.8rem + 2vw, 1.75rem) 1rem;
		position: sticky;
		top: 0;
		z-index: 1;
	}

	.elena-menu-modal__title {
		color: var(--elena-champagne);
		font-family: var(--elena-font-body);
		font-size: 0.72rem;
		font-weight: 500;
		letter-spacing: 0.24em;
		margin: 0;
		text-transform: uppercase;
	}

	.elena-menu-modal__close {
		align-items: center;
		background-color: transparent;
		border: 1px solid var(--elena-line);
		border-radius: 999px;
		color: var(--elena-cream);
		cursor: pointer;
		display: inline-flex;
		gap: 0.45rem;
		font-family: var(--elena-font-body);
		font-size: 0.7rem;
		letter-spacing: 0.18em;
		padding: 0.55rem 0.95rem;
		text-transform: uppercase;
		transition: background-color var(--elena-speed) var(--elena-ease), border-color var(--elena-speed) var(--elena-ease), color var(--elena-speed) var(--elena-ease);
	}

	.elena-menu-modal__close:hover,
	.elena-menu-modal__close:focus-visible {
		background-color: rgba(201, 162, 74, 0.12);
		border-color: var(--elena-gold);
		color: var(--elena-champagne);
	}

	.elena-menu-modal__close:focus-visible {
		outline: 2px solid var(--elena-gold-soft);
		outline-offset: 3px;
	}

	.elena-menu-modal__close-mark {
		font-size: 1.05rem;
		line-height: 1;
	}

	/*
	 * The dialog itself is the scrolling column: its head row is sticky so the
	 * close control stays reachable however long the list runs, and the zones
	 * below it share one left edge, inset from the panel's hairlines.
	 *
	 * This is scoped to [open] on purpose. A `display` of any kind on the bare
	 * .elena-menu-modal would outrank the browser's own
	 * `dialog:not([open]) { display: none }`, leaving a closed panel painted
	 * over the page — and swallowing the taps meant for the toggle.
	 */
	.elena-menu-modal[open] {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 0 0 clamp(1.25rem, 1rem + 2vw, 2rem);
		-webkit-overflow-scrolling: touch;
	}

	/*
	 * The zones below the head row share one left edge, inset from the panel's
	 * hairlines. Padding rather than margin keeps their full-bleed width, so
	 * the hairlines between zones still reach the panel edges.
	 */
	.elena-menu-modal > .elena-nav,
	.elena-menu-modal > .elena-nav__meta,
	.elena-menu-modal > .elena-nav__extra,
	.elena-menu-modal > .elena-brand-logo--drawer,
	.elena-menu-modal > .elena-nav__drawer-name {
		flex: 0 0 auto;
		padding-left: clamp(1.1rem, 0.8rem + 2vw, 1.75rem);
		padding-right: clamp(1.1rem, 0.8rem + 2vw, 1.75rem);
	}

	.elena-nav,
	.elena-nav .elena-menu {
		width: 100%;
	}

	.elena-nav .elena-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		justify-content: flex-start;
	}

	/*
	 * Menu items rise into place one after another as the panel opens. The
	 * dialog carries the `open` attribute only while it is on screen, so the
	 * animation restarts on every showModal() rather than being left to a
	 * class the script has to keep in step.
	 */
	.elena-nav .elena-menu > li {
		border-bottom: 1px solid var(--elena-line-soft);
	}

	.elena-menu-modal[open] .elena-menu > li {
		animation: elena-menu-modal-item-in 460ms var(--elena-ease-out) both;
		animation-delay: calc(var(--elena-i, 0) * 55ms + 90ms);
	}

	.elena-nav .elena-menu > li:nth-child(1) {
		--elena-i: 0;
	}

	.elena-nav .elena-menu > li:nth-child(2) {
		--elena-i: 1;
	}

	.elena-nav .elena-menu > li:nth-child(3) {
		--elena-i: 2;
	}

	.elena-nav .elena-menu > li:nth-child(4) {
		--elena-i: 3;
	}

	.elena-nav .elena-menu > li:nth-child(5) {
		--elena-i: 4;
	}

	.elena-nav .elena-menu > li:nth-child(6) {
		--elena-i: 5;
	}

	.elena-nav .elena-menu > li:nth-child(7) {
		--elena-i: 6;
	}

	.elena-nav .elena-menu > li:nth-child(n + 8) {
		--elena-i: 7;
	}

	/*
	 * The panel's links: the display face at a size that still reads as a
	 * heading without turning each row into a banner. One step down from the
	 * masthead's scale, on a shorter row, so six or seven entries fit a phone
	 * without pushing the day's hours below the fold.
	 */
	.elena-nav .elena-menu a {
		font-family: var(--elena-font-display);
		font-size: clamp(1.35rem, 1.05rem + 1.6vw, 1.65rem);
		letter-spacing: 0.01em;
		line-height: 1.25;
		padding: 0.75rem 0;
		text-transform: none;
	}

	/* The hover rule that underlines a desktop link from its left edge has no
	 * place in a list of rows: the row's own hairline already separates them. */
	.elena-nav .elena-menu > li > a::after {
		display: none;
	}

	.elena-nav .elena-menu .sub-menu {
		background: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		padding: 0 0 0.7rem 0.15rem;
		position: static;
		transform: none;
		visibility: visible;
	}

	/* A child link stays clearly subordinate to its parent row, but keeps a tap
	 * target of its own. */
	.elena-nav .elena-menu .sub-menu a {
		font-family: var(--elena-font-body);
		font-size: 0.88rem;
		letter-spacing: 0.02em;
		padding: 0.45rem 0;
	}

	/* The panel's reference block: a hairline separates it from the list above,
	 * the same way the list separates it from the head row. */
	.elena-nav__meta {
		border-top: 1px solid var(--elena-line-soft);
		color: var(--elena-muted);
		font-size: 0.9rem;
		padding-top: 1.25rem;
	}

	/*
	 * The sign off. The social row keeps the panel's left axis underneath the
	 * booking pill, then a hairline and the emblem, centred, close the panel —
	 * the same mark the masthead opens with, now signing it off.
	 */
	.elena-brand-logo--drawer {
		border-top: 1px solid var(--elena-line-soft);
		padding-top: 1.25rem;
	}
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

/*
 * A closing panel rather than another section: the air comes from the column
 * gaps, and the top padding is deliberately short of --elena-section-y so the
 * footer reads as the end of the page.
 */
.elena-footer {
	background-color: var(--elena-night-2);
	border-top: 1px solid var(--elena-line);
	color: var(--elena-muted);
	font-size: 0.9375rem;
	margin-top: auto;
	padding-top: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
}

.elena-footer__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40rem) {

	.elena-footer__grid {
		gap: 1.75rem 2rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62rem) {

	/*
	 * Four columns, each sized for what it holds: the brand mark, the two link
	 * columns and "Find us", which carries the address and the hours table
	 * and therefore takes the widest share. The shares add up to 3.7 rather
	 * than 4 so the row keeps a little slack inside the container.
	 */
	.elena-footer__grid {
		gap: 1.75rem 2.25rem;
		grid-template-columns: 0.95fr 0.75fr 1.15fr 0.85fr;
	}
}

.elena-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.elena-footer__name {
	color: var(--elena-white);
	font-family: var(--elena-font-display);
	font-size: 1.25rem;
	line-height: 1.2;
	margin: 0;
}

.elena-footer__tagline {
	color: var(--elena-muted);
	font-size: 0.9rem;
	margin: 0;
	max-width: 20rem;
}

.elena-footer__heading {
	color: var(--elena-white);
	font-family: var(--elena-font-body);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	margin: 0 0 0.6rem;
	text-transform: uppercase;
}

/*
 * Compact link lists: a short step between the rows and a tighter leading
 * than body copy, so seven destinations read as a menu rather than as seven
 * paragraphs.
 */
.elena-footer__menu,
.elena-footer__legal-menu {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.elena-footer__menu a {
	color: var(--elena-cream);
	font-size: 0.9rem;
	line-height: 1.45;
}

/*
 * Links lift to champagne on hover, but a button brings its own ground: a gold
 * button whose label turned champagne on a champagne hover would be gold on
 * gold. Buttons keep to their own rules (.elena-btn--gold and friends).
 */
.elena-footer a:hover:not(.elena-btn),
.elena-footer a:focus:not(.elena-btn) {
	color: var(--elena-gold-soft);
}

.elena-footer__address {
	font-style: normal;
	line-height: 1.6;
	margin: 0 0 0.5rem;
}

.elena-footer__line {
	margin: 0 0 0.25rem;
}

.elena-footer__text {
	font-size: 0.9rem;
	margin: 0 0 0.75rem;
}

/*
 * One button per row, at the width of the column: the two calls to action in
 * the footer read as a pair instead of two pills of different lengths. The
 * padding is a step tighter than a standalone button's, so the pair settles
 * into a panel this short instead of dominating it.
 */
.elena-footer__button {
	display: flex;
	font-size: 0.78rem;
	margin-bottom: 0.4rem;
	padding: 0.8rem 1.4rem;
	width: 100%;
}

.elena-footer__button:last-child {
	margin-bottom: 0;
}

.elena-footer__bottom {
	align-items: center;
	border-top: 1px solid var(--elena-line-soft);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	justify-content: space-between;
	margin-top: 1.25rem;
	padding-bottom: 1.1rem;
	padding-top: 1rem;
}

.elena-footer__legal,
.elena-footer__legal-menu {
	font-size: 0.8rem;
	margin: 0;
}

.elena-footer__legal-menu {
	flex-direction: row;
	gap: 1.25rem;
}

.elena-footer__nav,
.elena-footer__contact,
.elena-footer__cta {
	min-width: 0;
}

.elena-footer__address-lines {
	display: block;
	line-height: 1.6;
}

.elena-footer__directions {
	text-decoration: underline;
	text-decoration-color: rgba(201, 162, 74, 0.45);
	text-underline-offset: 3px;
}

/*
 * The footer's own rows: a step smaller than a full-width panel's, on the two
 * columns the base row defines, so the hairline spans the column rather than
 * the page.
 */
.elena-hours--footer {
	font-size: 0.9rem;
}

.elena-hours--footer .elena-hours__row {
	padding: 0.3rem 0;
}

/*
 * Phones: the footer's columns become one stack, and a stack that keeps the
 * desktop's left axis reads as a wedge hanging off the left of the page rather
 * than as a closing panel — the mark, both heading columns and the call to
 * action all start at the same edge while the column's own centre drifts
 * further right at every wider phone. Below the four-column breakpoint, and
 * only there, the stack is gathered on the centre line: the mark centres
 * itself, the two blocks that carry a measure of their own (the tagline and
 * the hours table) are centred inside the column, the call to action is held
 * to a proportionate width around the same axis, and the legal line closes the
 * panel on it. Type sizes, colours, hairlines and the hours rows themselves are
 * untouched; this is alignment and clearance only.
 *
 * The extra bottom padding is not decoration: the back-to-top button is fixed
 * to the bottom right of the viewport, and on a phone it lands on the last line
 * of the copyright unless the panel ends below it (2.9rem button + 1.5rem
 * offset + a small gap).
 */
@media (max-width: 39.9375rem) {

	/* 1.75rem is the row gap the two-column tablet footer uses, so the stack
	 * keeps one vertical rhythm from 320px up. */
	.elena-footer__grid {
		gap: 1.75rem;
	}

	.elena-footer__grid,
	.elena-footer__bottom {
		text-align: center;
	}

	/* The mark, the name, the tagline and the social row are separate flex
	 * items in this column, so the column centres them rather than leaving
	 * them to the text box. */
	.elena-footer__brand {
		align-items: center;
	}

	/* The tagline and the hours table keep their own measure and are centred
	 * inside the column, so a short line never sits on the column's left
	 * edge while the panel around it is centred. The hours table itself stays
	 * a day column and a time column — the rows keep their relationship, they
	 * simply sit on the centre line, hairlines and all. */
	.elena-footer__tagline,
	.elena-footer__hours {
		margin-left: auto;
		margin-right: auto;
		max-width: 20rem;
	}

	/* A step more air between the links than the left-aligned desktop list
	 * needs, where the shared edge already separates them. */
	.elena-footer__menu {
		gap: 0.5rem;
	}

	/* One proportionate pill on the axis instead of a full-width bar. */
	.elena-footer__button {
		margin-left: auto;
		margin-right: auto;
		max-width: 18rem;
	}

	.elena-footer__bottom {
		align-items: center;
		flex-direction: column;
		justify-content: center;
		padding-bottom: 4.75rem;
	}

	/* A long site name or a long word in the copyright wraps instead of
	 * pushing the panel wider than the viewport. */
	.elena-footer__legal {
		overflow-wrap: break-word;
	}

	.elena-footer__legal-menu {
		justify-content: center;
	}
}

/* -------------------------------------------------------------------------
 * Opening hours
 * ---------------------------------------------------------------------- */

.elena-hours {
	display: grid;
	list-style: none;
	margin: 0;
	padding: 0;
}

/*
 * Day and time as a two-column table rather than as the two ends of a flex
 * row. The day column is as wide as the longest day in the list, so every
 * time starts at the same place, and the time column takes the rest and is
 * never broken across two lines. Every panel shares this row — hero, footer,
 * contact, booking — and the variants only change the width and the type size.
 */
.elena-hours__row {
	align-items: baseline;
	border-bottom: 1px solid var(--elena-line-soft);
	column-gap: 0.75rem;
	display: grid;
	grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
	padding: 0.45rem 0;
}

.elena-hours__row:last-child {
	border-bottom: 0;
}

.elena-hours__day {
	color: var(--elena-white);
}

.elena-hours__time {
	color: var(--elena-muted);
	text-align: right;
}

/* A time that broke over two lines is what made the old panels look ragged:
 * from the first tablet width up, a time stays on one line. The day is left
 * free to wrap, so an unusually long label can never overflow its panel. */
@media (min-width: 30rem) {

	.elena-hours__time {
		white-space: nowrap;
	}
}

.elena-hours-panel__title {
	/* Named rather than inherited: the panel sits on the hero card, inside the
	 * entry and in the footer, and the title reads the same on all three. */
	color: var(--elena-white);
	font-family: var(--elena-font-body);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	margin: 0 0 0.6rem;
	text-transform: uppercase;
}

/* The footer panel is one column of a compact grid, so its title sits a little
 * tighter than a full-width panel's. */
.elena-hours-panel--footer .elena-hours-panel__title {
	margin-bottom: 0.5rem;
}

.elena-hours-panel__note {
	color: var(--elena-muted-2);
	font-size: 0.8rem;
	line-height: 1.5;
	margin: 0.6rem 0 0;
}

/* The hero panel shares the card with the heading and the buttons, so it stays
 * narrow and quiet: a reference, not a second call to action. */
.elena-hours-panel--hero {
	background-color: rgba(11, 11, 10, 0.55);
	border: 1px solid var(--elena-line);
	padding: 1.25rem 1.4rem;
}

/* -------------------------------------------------------------------------
 * Social icons
 * ---------------------------------------------------------------------- */

.elena-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.elena-social__link {
	align-items: center;
	border: 1px solid var(--elena-line);
	border-radius: 999px;
	color: var(--elena-cream);
	display: inline-flex;
	gap: 0.5rem;
	height: 2.6rem;
	justify-content: center;
	padding: 0 0.9rem;
	transition: border-color var(--elena-speed) ease, color var(--elena-speed) ease, background-color var(--elena-speed) ease;
	width: auto;
}

.elena-social__link:hover,
.elena-social__link:focus {
	background-color: rgba(201, 162, 74, 0.12);
	border-color: var(--elena-gold);
	color: var(--elena-gold-soft);
}

.elena-social__icon {
	display: inline-flex;
	line-height: 0;
}

.elena-social__label {
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.elena-social--drawer {
	width: 100%;
}

/* -------------------------------------------------------------------------
 * Entries (posts, pages, dishes, events)
 * ---------------------------------------------------------------------- */

.elena-entry {
	max-width: 100%;
}

.elena-entry__head {
	margin-bottom: 2rem;
}

.elena-entry__title {
	margin-bottom: 0.4em;
}

.elena-entry__price {
	color: var(--elena-gold);
	font-family: var(--elena-font-display);
	font-size: 1.6rem;
	margin: 0.25rem 0 0;
}

.elena-entry__flag {
	color: var(--elena-muted-2);
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	margin: 0.75rem 0 0;
	text-transform: uppercase;
}

.elena-entry__media {
	background-color: var(--elena-night-3);
	margin: 0 0 2rem;
	overflow: hidden;
}

.elena-entry__media img,
.elena-featured-image,
.elena-entry__image {
	display: block;
	height: auto;
	width: 100%;
}

.elena-entry__content {
	color: var(--elena-cream);
}

.elena-entry__content > *:first-child {
	margin-top: 0;
}

.elena-entry__content h2,
.elena-entry__content h3,
.elena-entry__content h4 {
	margin-top: 1.8em;
}

.elena-entry__content ul,
.elena-entry__content ol {
	margin: 0 0 1.5em;
	padding-left: 1.25rem;
}

.elena-entry__content li {
	margin-bottom: 0.5em;
}

.elena-entry__content a {
	text-decoration: underline;
	text-decoration-color: rgba(201, 162, 74, 0.45);
	text-underline-offset: 3px;
}

.elena-entry__content table {
	border-collapse: collapse;
	font-size: 0.95rem;
	margin: 0 0 1.75em;
	width: 100%;
}

.elena-entry__content th,
.elena-entry__content td {
	border-bottom: 1px solid var(--elena-line-soft);
	padding: 0.75rem 0.5rem;
	text-align: left;
}

.elena-entry__content th {
	color: var(--elena-white);
	font-weight: 500;
}

.elena-entry-meta {
	color: var(--elena-muted-2);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82rem;
	gap: 1.25rem;
	letter-spacing: 0.08em;
	margin-top: 1rem;
	text-transform: uppercase;
}

.elena-entry__footer,
.elena-entry__actions,
.elena-entry__back {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.5rem;
}

.elena-entry__footer {
	border-top: 1px solid var(--elena-line-soft);
	color: var(--elena-muted-2);
	font-size: 0.85rem;
	padding-top: 1.5rem;
}

.elena-entry__footer a {
	color: var(--elena-cream);
}

.elena-cat-links {
	margin-right: 1rem;
}

/* Cards */

.elena-card,
.elena-dish,
.elena-event {
	background-color: var(--elena-night-2);
	border: 1px solid var(--elena-line-soft);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color var(--elena-speed) ease, transform var(--elena-speed) ease;
}

.elena-card:hover,
.elena-dish:hover,
.elena-event:hover {
	border-color: var(--elena-line);
}

.elena-card__media,
.elena-dish__media,
.elena-event__media {
	background-color: var(--elena-night-3);
	display: block;
	line-height: 0;
	overflow: hidden;
}

.elena-card__media img,
.elena-dish__media img,
.elena-event__media img {
	aspect-ratio: 1 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 600ms ease;
	width: 100%;
}

.elena-event__media img {
	aspect-ratio: 16 / 10;
	object-fit: contain;
	padding: 1rem;
}

.elena-card:hover .elena-card__media img,
.elena-dish:hover .elena-dish__media img,
.elena-event:hover .elena-event__media img {
	transform: scale(1.04);
}

.elena-card__body,
.elena-dish__body,
.elena-event__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.5rem;
}

.elena-card__eyebrow {
	color: var(--elena-gold);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	margin: 0 0 0.6rem;
	text-transform: uppercase;
}

.elena-card__title,
.elena-dish__title,
.elena-event__title {
	font-size: 1.35rem;
	margin: 0 0 0.6rem;
}

.elena-card__title a,
.elena-dish__link,
.elena-event__link {
	color: var(--elena-white);
}

.elena-card__title a:hover,
.elena-dish__link:hover,
.elena-event__link:hover {
	color: var(--elena-gold-soft);
}

.elena-card__excerpt,
.elena-dish__text,
.elena-event__text {
	color: var(--elena-muted);
	font-size: 0.95rem;
}

.elena-card__excerpt p:last-child,
.elena-dish__text p:last-child,
.elena-event__text p:last-child {
	margin-bottom: 0;
}

.elena-card__more {
	margin: auto 0 0;
	padding-top: 1rem;
}

/* Empty states */

.elena-empty {
	background-color: var(--elena-night-2);
	border: 1px solid var(--elena-line-soft);
	margin: 0 auto;
	max-width: 42rem;
	padding: 2.5rem 2rem;
	text-align: center;
}

.elena-empty__title {
	margin-bottom: 0.5em;
}

.elena-empty__text {
	color: var(--elena-muted);
}

.elena-empty__search {
	margin: 1.5rem auto;
	max-width: 24rem;
}

.elena-related {
	border-top: 1px solid var(--elena-line-soft);
	margin-top: 3rem;
	padding-top: 2.5rem;
}

.elena-related__title {
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------
 * Comments
 * ---------------------------------------------------------------------- */

.elena-comments {
	border-top: 1px solid var(--elena-line-soft);
	margin-top: 3rem;
	padding-top: 2.5rem;
}

.elena-comments__title {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.elena-comments__list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.elena-comments__list ol.children {
	list-style: none;
	margin: 1.5rem 0 0;
	padding-left: 1.5rem;
}

.elena-comments__list .comment-body {
	background-color: var(--elena-night-2);
	border: 1px solid var(--elena-line-soft);
	margin-bottom: 1.25rem;
	padding: 1.25rem;
}

.elena-comments__list .comment-meta {
	color: var(--elena-muted-2);
	font-size: 0.82rem;
}

.elena-comments__list .comment-author img {
	border-radius: 50%;
	float: left;
	margin-right: 0.75rem;
}

.elena-comments__list .comment-content {
	clear: both;
	padding-top: 0.75rem;
}

.elena-comments__notes,
.elena-comments__closed {
	color: var(--elena-muted-2);
	font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
 * Widgets
 * ---------------------------------------------------------------------- */

.elena-sidebar {
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.elena-sidebar .widget {
	background-color: var(--elena-night-2);
	border: 1px solid var(--elena-line-soft);
	padding: 1.5rem;
}

.elena-sidebar .widget-title {
	font-family: var(--elena-font-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.elena-sidebar .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elena-sidebar .widget li {
	border-bottom: 1px solid var(--elena-line-soft);
	padding: 0.45rem 0;
}

.elena-sidebar .widget li:last-child {
	border-bottom: 0;
}

.elena-sidebar .widget a {
	color: var(--elena-cream);
	font-size: 0.95rem;
}

.elena-sidebar .widget a:hover {
	color: var(--elena-gold-soft);
}

/* -------------------------------------------------------------------------
 * Search
 * ---------------------------------------------------------------------- */

.elena-search-form__fields {
	display: flex;
	gap: 0.5rem;
}

/*
 * The search field keeps its own spacing and its inline submit, so it stays a
 * component of its own rather than borrowing `.elena-field__input`. The
 * colours still come from the same tokens, which is what keeps every public
 * field on the site reading as one system.
 */
.elena-search-form .elena-search-form__input {
	background-color: var(--elena-night-3);
	border: 1px solid var(--elena-line-soft);
	/* Champagne marks the insertion point. */
	caret-color: var(--elena-champagne);
	color: var(--elena-cream);
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.8rem 1rem;
	/* Safari paints the value through this property, which a plain `color`
	 * declaration does not reach. */
	-webkit-text-fill-color: var(--elena-cream);
	/* Native widgets, the search field's clear button among them, follow the
	 * dark presentation instead of the browser's light default. */
	color-scheme: dark;
}

/* Softer than the typed value, but still legible on the dark surface. */
.elena-search-form .elena-search-form__input::placeholder {
	color: var(--elena-muted);
	opacity: 1;
	-webkit-text-fill-color: var(--elena-muted);
}

/* Gold hairline and a soft ring; the global focus-visible outline still
 * applies for keyboard users. */
.elena-search-form .elena-search-form__input:focus {
	border-color: var(--elena-gold);
	box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.22);
	caret-color: var(--elena-champagne);
	color: var(--elena-cream);
	-webkit-text-fill-color: var(--elena-cream);
}

/* An autofilled field must not turn pale with the theme's ivory text on top.
 * Kept last so it outranks the focus ring it shares a specificity with. */
.elena-search-form .elena-search-form__input:-webkit-autofill,
.elena-search-form .elena-search-form__input:autofill {
	-webkit-text-fill-color: var(--elena-cream);
	caret-color: var(--elena-champagne);
	box-shadow: 0 0 0 100px var(--elena-night-3) inset;
}

/* While an autofilled field is hovered or focused the gold ring is kept
 * alongside the inset fill, so focus stays visible. */
.elena-search-form .elena-search-form__input:-webkit-autofill:hover,
.elena-search-form .elena-search-form__input:-webkit-autofill:focus,
.elena-search-form .elena-search-form__input:autofill:hover,
.elena-search-form .elena-search-form__input:autofill:focus {
	-webkit-text-fill-color: var(--elena-cream);
	caret-color: var(--elena-champagne);
	box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.22), 0 0 0 100px var(--elena-night-3) inset;
}

.elena-search-form__submit {
	align-items: center;
	background-color: var(--elena-gold);
	border: 1px solid var(--elena-gold);
	color: var(--elena-night);
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	padding: 0 1.1rem;
	transition: background-color var(--elena-speed) ease;
}

.elena-search-form__submit:hover,
.elena-search-form__submit:focus {
	background-color: var(--elena-gold-soft);
}

/* -------------------------------------------------------------------------
 * Forms
 * ---------------------------------------------------------------------- */

.elena-form__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40rem) {

	.elena-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.elena-field {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.elena-field--full {
	grid-column: 1 / -1;
}

/*
 * The other half of the pair. The two-column grid already puts every field in
 * one column, so this changes nothing today; it is here so the class the
 * booking form prints means what it says, and so a field keeps its half of the
 * row even if the grid ever gains a third column.
 */
.elena-field--half {
	grid-column: span 1;
}

.elena-field__label {
	color: var(--elena-white);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.elena-field__required {
	color: var(--elena-gold);
}

.elena-field__input {
	background-color: var(--elena-night-3);
	border: 1px solid var(--elena-line-soft);
	border-radius: var(--elena-radius);
	/* Champagne marks the insertion point. */
	caret-color: var(--elena-champagne);
	color: var(--elena-cream);
	/* Scoped to the control itself: this keeps the native date picker, the
	 * number spinners and an autofilled field in their dark presentation
	 * instead of the browser's light default. */
	color-scheme: dark;
	font-family: var(--elena-font-body);
	padding: 0.85rem 1rem;
	-webkit-text-fill-color: var(--elena-cream);
	transition: background-color var(--elena-speed) var(--elena-ease), border-color var(--elena-speed) var(--elena-ease), box-shadow var(--elena-speed) var(--elena-ease);
	width: 100%;
}

/* Softer than the typed value, but still legible on the dark surface. */
.elena-field__input::placeholder {
	color: var(--elena-muted);
	opacity: 1;
	-webkit-text-fill-color: var(--elena-muted);
}

/* A selection inside a field keeps the house colours rather than the browser's
 * blue highlight on near-black text. */
.elena-field__input::selection {
	background-color: var(--elena-gold);
	color: var(--elena-night);
}

/* The hairline warms under the pointer, so the field reads as interactive
 * before it is ever clicked. */
.elena-field__input:hover {
	border-color: var(--elena-line);
}

/* The colour is restated on focus: a state change must never leave dark text
 * or a dim caret on the darker surface. */
.elena-field__input:focus {
	background-color: var(--elena-night-4);
	border-color: var(--elena-gold);
	box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.22);
	caret-color: var(--elena-champagne);
	color: var(--elena-cream);
	outline: none;
	-webkit-text-fill-color: var(--elena-cream);
}

/* An autofilled field must not turn pale with the theme's ivory text on top.
 * The inset shadow repaints the browser's yellow/blue fill in the house dark. */
.elena-field__input:-webkit-autofill,
.elena-field__input:autofill {
	caret-color: var(--elena-champagne);
	box-shadow: 0 0 0 100px var(--elena-night-3) inset;
	-webkit-text-fill-color: var(--elena-cream);
}

/* While an autofilled field is hovered or focused the gold ring is kept
 * alongside the inset fill, so focus stays visible. */
.elena-field__input:-webkit-autofill:hover,
.elena-field__input:-webkit-autofill:focus,
.elena-field__input:autofill:hover,
.elena-field__input:autofill:focus {
	caret-color: var(--elena-champagne);
	box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.22), 0 0 0 100px var(--elena-night-3) inset;
	-webkit-text-fill-color: var(--elena-cream);
}

/* A disabled field stays legible, just quieter. */
.elena-field__input:disabled,
.elena-field__input[readonly] {
	background-color: var(--elena-night-2);
	border-color: var(--elena-line-soft);
	color: var(--elena-muted);
	cursor: not-allowed;
	-webkit-text-fill-color: var(--elena-muted);
}

/* Native dropdown options follow the dark presentation where browsers allow. */
.elena-field__input option {
	background-color: var(--elena-night-2);
	color: var(--elena-cream);
}

/*
 * A field only turns red once the visitor has actually engaged with it:
 * :user-invalid matches after an edit or a submit attempt, never on load, so
 * an untouched required field is never accused of being wrong. The
 * aria-invalid pair covers a server-side validation message.
 */
.elena-field__input:user-invalid,
.elena-field__input[aria-invalid="true"] {
	border-color: var(--elena-error);
	box-shadow: 0 0 0 3px rgba(217, 128, 114, 0.22);
}

.elena-field__textarea {
	min-height: 9rem;
	resize: vertical;
}

.elena-field__help {
	color: var(--elena-muted-2);
	font-size: 0.82rem;
	margin-top: 0.4rem;
}

.elena-form__actions {
	margin: 2rem 0 1rem;
}

.elena-form__privacy {
	color: var(--elena-muted-2);
	font-size: 0.82rem;
	margin: 0;
}

.elena-form__honeypot {
	height: 0;
	overflow: hidden;
	position: absolute;
	width: 0;
}

/*
 * The safety net for public controls that carry no theme field class of their
 * own — a widget, a third-party shortcode or any native control dropped into
 * page content. `:where()` keeps this at the lowest sensible specificity so
 * every component above (the field class, the search form, the booking plugin)
 * still wins, while a bare `input[type="…"]` can never fall back to the
 * browser's light default. Scoped to `.elena-site`, the front-end wrapper, so
 * wp-admin is untouched.
 */
:where(.elena-site) input[type="text"],
:where(.elena-site) input[type="email"],
:where(.elena-site) input[type="url"],
:where(.elena-site) input[type="password"],
:where(.elena-site) input[type="search"],
:where(.elena-site) input[type="number"],
:where(.elena-site) input[type="tel"],
:where(.elena-site) input[type="date"],
:where(.elena-site) input[type="month"],
:where(.elena-site) input[type="week"],
:where(.elena-site) input[type="time"],
:where(.elena-site) input[type="datetime-local"],
:where(.elena-site) textarea {
	background-color: var(--elena-night-3);
	border: 1px solid var(--elena-line-soft);
	caret-color: var(--elena-champagne);
	color: var(--elena-cream);
	color-scheme: dark;
	-webkit-text-fill-color: var(--elena-cream);
}

:where(.elena-site) input::placeholder,
:where(.elena-site) textarea::placeholder {
	color: var(--elena-muted);
	opacity: 1;
	-webkit-text-fill-color: var(--elena-muted);
}

/* WordPress core widgets and forms used inside theme markup */

.elena-sidebar input[type="search"],
.elena-sidebar input[type="text"],
.elena-sidebar input[type="email"],
.elena-sidebar select,
.elena-sidebar textarea,
.elena-comments input[type="text"],
.elena-comments input[type="email"],
.elena-comments input[type="url"],
.elena-comments textarea {
	background-color: var(--elena-night-3);
	border: 1px solid var(--elena-line-soft);
	caret-color: var(--elena-champagne);
	color: var(--elena-cream);
	color-scheme: dark;
	padding: 0.7rem 0.9rem;
	-webkit-text-fill-color: var(--elena-cream);
	width: 100%;
}

.elena-sidebar input::placeholder,
.elena-sidebar textarea::placeholder,
.elena-comments input::placeholder,
.elena-comments textarea::placeholder {
	color: var(--elena-muted);
	opacity: 1;
	-webkit-text-fill-color: var(--elena-muted);
}

.elena-sidebar input[type="search"]:focus,
.elena-sidebar input[type="text"]:focus,
.elena-sidebar input[type="email"]:focus,
.elena-sidebar select:focus,
.elena-sidebar textarea:focus,
.elena-comments input[type="text"]:focus,
.elena-comments input[type="email"]:focus,
.elena-comments input[type="url"]:focus,
.elena-comments textarea:focus {
	background-color: var(--elena-night-4);
	border-color: var(--elena-gold);
	caret-color: var(--elena-champagne);
	color: var(--elena-cream);
	-webkit-text-fill-color: var(--elena-cream);
}

.elena-sidebar input[type="search"]:-webkit-autofill,
.elena-sidebar input[type="text"]:-webkit-autofill,
.elena-sidebar input[type="email"]:-webkit-autofill,
.elena-comments input[type="text"]:-webkit-autofill,
.elena-comments input[type="email"]:-webkit-autofill,
.elena-comments input[type="url"]:-webkit-autofill {
	caret-color: var(--elena-champagne);
	box-shadow: 0 0 0 100px var(--elena-night-3) inset;
	-webkit-text-fill-color: var(--elena-cream);
}

.elena-sidebar select option {
	background-color: var(--elena-night-2);
	color: var(--elena-cream);
}

.elena-comments .form-submit .elena-button {
	background-color: var(--elena-gold);
	border: 0;
	border-radius: 999px;
	color: var(--elena-night);
	cursor: pointer;
	font-size: 0.82rem;
	letter-spacing: 0.16em;
	padding: 1rem 1.9rem;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Notices, breadcrumbs, pagination
 * ---------------------------------------------------------------------- */

.elena-notice {
	border-left: 3px solid var(--elena-gold);
	color: var(--elena-cream);
	margin: 0 0 2rem;
	padding: 0.9rem 1.1rem;
}

.elena-notice--info {
	background-color: rgba(201, 162, 74, 0.08);
}

.elena-notice--success {
	background-color: rgba(123, 179, 122, 0.12);
	border-left-color: var(--elena-success);
}

.elena-notice--error {
	background-color: rgba(217, 128, 114, 0.12);
	border-left-color: var(--elena-error);
}

.elena-breadcrumbs {
	color: var(--elena-muted-2);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	margin-bottom: 1.5rem;
}

.elena-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.elena-breadcrumbs li + li::before {
	color: var(--elena-line);
	content: "/";
	margin-right: 0.5rem;
}

.elena-breadcrumbs a {
	color: var(--elena-muted);
}

.elena-pagination {
	margin-top: 3rem;
}

.elena-pagination .nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.elena-pagination .page-numbers {
	border: 1px solid var(--elena-line-soft);
	color: var(--elena-cream);
	display: inline-flex;
	font-size: 0.85rem;
	justify-content: center;
	min-width: 2.6rem;
	padding: 0.6rem 0.8rem;
}

.elena-pagination .page-numbers.current,
.elena-pagination .page-numbers:hover {
	background-color: var(--elena-gold);
	border-color: var(--elena-gold);
	color: var(--elena-night);
}

.elena-post-navigation .nav-links,
.comment-navigation .nav-links,
.elena-nav-links {
	border-top: 1px solid var(--elena-line-soft);
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	margin-top: 3rem;
	padding-top: 2rem;
}

.elena-nav-link__title {
	color: var(--elena-white);
	display: block;
	font-family: var(--elena-font-display);
	font-size: 1.2rem;
	line-height: 1.3;
}

.elena-post-navigation .nav-next,
.comment-navigation .nav-next {
	text-align: right;
}

.elena-nav-link__label {
	color: var(--elena-muted-2);
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.elena-page-links {
	align-items: center;
	display: flex;
	gap: 0.5rem;
	margin-top: 2rem;
}

.elena-page-links__label {
	color: var(--elena-muted-2);
	font-size: 0.82rem;
}

.elena-password-form {
	background-color: var(--elena-night-2);
	border: 1px solid var(--elena-line-soft);
	margin: 0 auto;
	max-width: 32rem;
	padding: 2rem;
}

/* -------------------------------------------------------------------------
 * Map
 * ---------------------------------------------------------------------- */

.elena-map {
	background-color: var(--elena-night-3);
	border: 1px solid var(--elena-line-soft);
	margin-top: 1.5rem;
	min-height: 16rem;
	position: relative;
}

.elena-map__frame {
	border: 0;
	display: block;
	height: 100%;
	min-height: 20rem;
	width: 100%;
}

.elena-map__placeholder {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
	margin: 0;
	min-height: 16rem;
	padding: 1.5rem;
	text-align: center;
}

.elena-map__note {
	color: var(--elena-muted-2);
	font-size: 0.8rem;
	max-width: 22rem;
}

/* -------------------------------------------------------------------------
 * Lightbox
 *
 * The viewer is a gallery plate: the artwork is mounted inside a fine
 * champagne frame on a charcoal lining, over a near-black room the rest of the
 * page is only faintly visible through. Two rules keep it honest.
 *
 * The room the picture is given is measured from the viewport -- nearly all of
 * it, less the room the caption, the counter and the close control need -- and
 * the picture is then fitted inside that box by its own proportions, so a
 * portrait poster and a landscape one are both shown whole, and neither is ever
 * cropped or stretched. Because the box is a limit rather than a size, a file
 * with little resolution is drawn at the size it actually has instead of being
 * blown up to fill the frame: what is on screen is as sharp as the file the
 * owner uploaded, and no sharper.
 *
 * The second rule is that the frame carries no decoration across the artwork:
 * the hairline, the lining and the four corner marks sit in the frame's own
 * padding, and nothing is drawn over the picture itself.
 * ---------------------------------------------------------------------- */

.elena-lightbox {
	/*
	 * The room the frame may use. dvh is what keeps a short mobile screen
	 * honest while the address bar is on show; vh is the fallback, applied
	 * first and replaced below where the browser understands the other.
	 */
	--elena-lightbox-room: calc(100vh - 0.5rem);
	/* The lining between the artwork and the gold hairline, and the hairline
	 * itself counted on both sides. */
	--elena-lightbox-lining: clamp(0.4rem, 1vw, 0.75rem);
	--elena-lightbox-frame: calc(2 * (var(--elena-lightbox-lining) + 1px));
	/* The band the close control sits in above the frame, and the band the
	 * counter sits in below it. */
	--elena-lightbox-pad-top: clamp(3.4rem, 7vh, 4.6rem);
	--elena-lightbox-pad-bottom: clamp(3rem, 6vh, 3.6rem);
	--elena-lightbox-side: clamp(0.6rem, 2.4vw, 1.75rem);
	/* The line under the frame, always allowed for so the frame never has to
	 * move when it appears: the gap above it and two lines of it. */
	--elena-lightbox-caption: 3.8rem;
	/*
	 * The largest the picture may be drawn: the room, less the frame's own
	 * breadth and less the line beneath it. The script adds the file's own
	 * resolution to each of these, so a small upload is also held below the
	 * size it really has.
	 */
	--elena-lightbox-poster-max-width: calc(min(92vw, 1100px) - var(--elena-lightbox-frame));
	--elena-lightbox-poster-max-height: calc(var(--elena-lightbox-room) - var(--elena-lightbox-pad-top) - var(--elena-lightbox-pad-bottom) - var(--elena-lightbox-caption) - var(--elena-lightbox-frame));

	align-items: center;
	/*
	 * A deep near-black ground, dark enough that the artwork is the only light
	 * in the room and the page behind it is subdued rather than hidden. The
	 * blur is a refinement and nothing depends on it: where it is not
	 * understood the plain ground is used.
	 */
	background-color: rgba(6, 6, 5, 0.965);
	-webkit-backdrop-filter: blur(6px) saturate(0.9);
	backdrop-filter: blur(6px) saturate(0.9);
	display: flex;
	flex-direction: column;
	gap: var(--elena-gap-sm);
	inset: 0;
	justify-content: center;
	padding: var(--elena-lightbox-pad-top) var(--elena-lightbox-side) var(--elena-lightbox-pad-bottom);
	position: fixed;
	z-index: 200;
}

/* A browser that understands the small viewport unit gets a room that follows
 * the address bar instead of one that ignores it. */
@supports (height: 100dvh) {

	.elena-lightbox {
		--elena-lightbox-room: calc(100dvh - 0.5rem);
	}
}

.elena-lightbox[hidden] {
	display: none;
}

/*
 * The room fades in, and the frame settles into it with the smallest change of
 * scale: enough to read as a plate being set down, not enough to blur the
 * artwork or to hold it back. The poster inside is never scaled or delayed --
 * it is sharp the moment its file is in the frame.
 *
 * Keyframes rather than transitions because the overlay is built once and then
 * shown and hidden with the hidden attribute, which is what restarts the
 * animation each time it is opened.
 */
.elena-lightbox:not([hidden]) {
	animation: elena-lightbox-in var(--elena-speed) var(--elena-ease-out) both;
}

.elena-lightbox:not([hidden]) .elena-lightbox__stage {
	animation: elena-lightbox-frame-in var(--elena-speed-medium) var(--elena-ease-out) both;
}

/* The exit is the fade alone, played on the way out and reported when it ends,
 * so the overlay is hidden at the right moment rather than before it. */
.elena-lightbox.is-closing {
	animation: elena-lightbox-out var(--elena-speed) var(--elena-ease) both;
	pointer-events: none;
}

@keyframes elena-lightbox-in {

	from {
		opacity: 0;
	}
}

@keyframes elena-lightbox-out {

	to {
		opacity: 0;
	}
}

@keyframes elena-lightbox-frame-in {

	from {
		opacity: 0;
		scale: 0.985;
	}
}

/*
 * A visitor who asked for less motion is given the picture without the rise.
 * The overlay is built once and shown and hidden with the hidden attribute,
 * so the keyframes above are the only motion it has -- and the only thing that
 * would otherwise have to be switched off here.
 */
@media (prefers-reduced-motion: reduce) {

	.elena-lightbox:not([hidden]),
	.elena-lightbox:not([hidden]) .elena-lightbox__stage,
	.elena-lightbox.is-closing {
		animation: none;
	}
}

/*
 * The frame. Its padding holds the lining and the four corner marks, so the
 * artwork is never drawn on and nothing overlaps it, and the box is only as
 * large as the picture inside it plus that padding, so a small poster is not
 * left adrift in a large empty rectangle.
 */
.elena-lightbox__stage {
	/*
	 * A hairline of champagne inside the charcoal lining, drawn as an inset
	 * ring so the frame keeps one crisp edge at any size, under the shadow
	 * that lifts the plate off the dark ground.
	 */
	background-color: var(--elena-night);
	border: 1px solid var(--elena-line);
	border-radius: var(--elena-radius);
	box-shadow: var(--elena-shadow-lift), inset 0 0 0 1px var(--elena-line-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	/*
	 * The lining, roomier on a wide screen and cut back on a narrow one, where
	 * the picture needs every pixel it can get.
	 */
	padding: var(--elena-lightbox-lining);
	position: relative;
}

/*
 * The four corner marks: a restrained flourish borrowed from the gold identity.
 * Each is an L of hairline drawn in the lining and anchored to the corner the
 * artwork itself sits in, so it hugs the corners of the picture and is never
 * drawn across it. The marks are sized from the lining, so they stay inside it
 * on a narrow screen where the lining is at its thinnest.
 */
.elena-lightbox__corner {
	border-color: var(--elena-gold);
	border-style: solid;
	border-width: 0;
	height: max(0.3rem, calc(var(--elena-lightbox-lining) - 2px));
	opacity: 0.85;
	position: absolute;
	width: max(0.3rem, calc(var(--elena-lightbox-lining) - 2px));
}

.elena-lightbox__corner--tl {
	border-left-width: 1px;
	border-top-width: 1px;
	left: 0;
	top: 0;
}

.elena-lightbox__corner--tr {
	border-right-width: 1px;
	border-top-width: 1px;
	right: 0;
	top: 0;
}

.elena-lightbox__corner--bl {
	border-bottom-width: 1px;
	border-left-width: 1px;
	bottom: 0;
	left: 0;
}

.elena-lightbox__corner--br {
	border-bottom-width: 1px;
	border-right-width: 1px;
	bottom: 0;
	right: 0;
}

/*
 * The artwork.
 *
 * width and height stay auto, so the file's own proportions are used, and both
 * limits are read together, which is what fits a portrait poster and a
 * landscape one whole inside the same room. object-fit is the brace behind
 * that: should a file ever arrive without proportions of its own, it is still
 * contained rather than stretched.
 *
 * The second value of each limit is the file's own measurement, written on the
 * overlay by the script as the picture arrives. A picture is therefore never
 * drawn larger than the resolution it actually has: a genuinely small upload is
 * shown at its own size and reported as such, rather than stretched to fill the
 * frame and called sharp.
 */
.elena-lightbox__image {
	display: block;
	height: auto;
	max-height: min(var(--elena-lightbox-poster-max-height), var(--elena-lightbox-poster-height, 100vh));
	max-width: min(var(--elena-lightbox-poster-max-width), var(--elena-lightbox-poster-width, 100vw));
	object-fit: contain;
	width: auto;
}

/* The sharp picture fades into the frame it was measured for. It is faded and
 * never scaled: a transform here would soften the very detail this viewer
 * exists to show. */
.elena-lightbox__image.is-ready {
	animation: elena-lightbox-poster-in var(--elena-speed-fast) var(--elena-ease-out) both;
}

/*
 * The film sits in the very frame the stills are drawn in, held to the same
 * limits and the same proportions, so a portrait clip and a landscape one keep
 * their own shape exactly as a picture does. The element is put away unless a
 * clip is the piece on show, when it lights the <video>; a picture lights the
 * image. Only the ready element is drawn, so the frame never holds two players
 * at once.
 */
.elena-lightbox__video {
	display: none;
}

.elena-lightbox.is-video .elena-lightbox__video.is-ready {
	display: block;
	height: auto;
	max-height: min(var(--elena-lightbox-poster-max-height), var(--elena-lightbox-poster-height, 100vh));
	max-width: min(var(--elena-lightbox-poster-max-width), var(--elena-lightbox-poster-width, 100vw));
	object-fit: contain;
	width: auto;
}

.elena-lightbox.is-video .elena-lightbox__image {
	display: none;
}

/* The film fades in once its first frame is read, in the same quiet way the
 * picture does. */
.elena-lightbox__video.is-ready {
	animation: elena-lightbox-poster-in var(--elena-speed-fast) var(--elena-ease-out) both;
}

@keyframes elena-lightbox-poster-in {

	from {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.elena-lightbox__image.is-ready,
	.elena-lightbox__video.is-ready {
		animation: none;
	}
}

/*
 * While the file is on its way, the frame waits as a plate of its own rather
 * than as a half-drawn picture or as a thumbnail standing in for one, and
 * whatever was in the frame a moment ago is kept out of sight rather than left
 * in place as a stand-in for the picture that is coming.
 */
.elena-lightbox.is-loading .elena-lightbox__image {
	visibility: hidden;
}

.elena-lightbox.is-loading .elena-lightbox__video {
	visibility: hidden;
}

.elena-lightbox.is-loading .elena-lightbox__stage,
.elena-lightbox.is-error .elena-lightbox__stage {
	height: clamp(13rem, 40vh, 24rem);
	width: clamp(11rem, 46vw, 22rem);
}

/*
 * A file that never arrives leaves a line saying so, with the close control,
 * the keyboard and the way back to the page exactly where they were: the viewer
 * never ends on a broken image. The artwork is taken out of the frame rather
 * than left in it as an empty box.
 */
.elena-lightbox__status {
	color: var(--elena-muted);
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	margin: 0;
	max-width: 22rem;
	padding: 0 1.25rem;
	text-align: center;
}

.elena-lightbox.is-error .elena-lightbox__status {
	color: var(--elena-error);
}

.elena-lightbox.is-error .elena-lightbox__image {
	display: none;
}

.elena-lightbox.is-error .elena-lightbox__video {
	display: none;
}

/*
 * The line under the frame. It carries the piece's own wording, set in the
 * viewer's own quiet type: no heading is laid over the artwork.
 */
.elena-lightbox__caption {
	color: var(--elena-cream);
	font-size: 0.9rem;
	line-height: 1.5;
	max-width: 46rem;
	padding: 0 1rem;
	text-align: center;
}

/*
 * The controls sit in the bands left clear around the frame, so none of them
 * is ever drawn over the artwork. Each is a charcoal disc with a champagne
 * hairline, which is enough to hold it against a light poster without becoming
 * a second decoration in the room.
 */
.elena-lightbox__close,
.elena-lightbox__prev,
.elena-lightbox__next {
	-webkit-tap-highlight-color: transparent;
	background-color: rgba(18, 17, 15, 0.72);
	border: 1px solid var(--elena-line);
	border-radius: 999px;
	color: var(--elena-champagne);
	cursor: pointer;
	font-size: 1.1rem;
	height: 3rem;
	line-height: 1;
	position: absolute;
	transition: background-color var(--elena-speed) var(--elena-ease), border-color var(--elena-speed) var(--elena-ease), color var(--elena-speed) var(--elena-ease);
	width: 3rem;
}

/* The close control keeps clear of the frame and of the notch on a phone. */
.elena-lightbox__close {
	right: max(0.9rem, env(safe-area-inset-right));
	top: max(0.9rem, env(safe-area-inset-top));
}

.elena-lightbox__prev,
.elena-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.elena-lightbox__prev {
	left: max(0.9rem, env(safe-area-inset-left));
}

.elena-lightbox__next {
	right: max(0.9rem, env(safe-area-inset-right));
}

.elena-lightbox__close:hover,
.elena-lightbox__prev:hover,
.elena-lightbox__next:hover {
	background-color: rgba(201, 162, 74, 0.18);
	border-color: var(--elena-gold);
	color: var(--elena-gold-soft);
}

/* A press deepens the ground without touching transform, which is already
 * carrying the vertical centring of the two arrow controls. */
.elena-lightbox__close:active,
.elena-lightbox__prev:active,
.elena-lightbox__next:active {
	background-color: rgba(201, 162, 74, 0.3);
}

/*
 * On a narrow screen the controls are given a little less room and a little
 * more contrast, and the two arrows come in from the edges so they cannot sit
 * over the artwork on a poster that is nearly as wide as the viewport.
 */
@media (max-width: 40rem) {

	.elena-lightbox__close,
	.elena-lightbox__prev,
	.elena-lightbox__next {
		background-color: rgba(18, 17, 15, 0.86);
		height: 2.75rem;
		width: 2.75rem;
	}

	.elena-lightbox__close {
		right: max(0.5rem, env(safe-area-inset-right));
		top: max(0.5rem, env(safe-area-inset-top));
	}

	.elena-lightbox__prev {
		left: max(0.4rem, env(safe-area-inset-left));
	}

	.elena-lightbox__next {
		right: max(0.4rem, env(safe-area-inset-right));
	}
}

.elena-lightbox__counter {
	color: var(--elena-muted-2);
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	position: absolute;
	bottom: 1.25rem;
}

body.elena-lightbox-open {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
 * Utilities
 * ---------------------------------------------------------------------- */

.elena-text-center {
	text-align: center;
}

.elena-text-muted {
	color: var(--elena-muted);
}

.elena-visually-hidden {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.elena-back-to-top {
	background-color: var(--elena-gold);
	border: 0;
	border-radius: 999px;
	bottom: 1.5rem;
	color: var(--elena-night);
	cursor: pointer;
	height: 2.9rem;
	opacity: 0;
	position: fixed;
	right: 1.5rem;
	transition: opacity var(--elena-speed) ease, transform var(--elena-speed) ease;
	transform: translateY(0.5rem);
	visibility: hidden;
	width: 2.9rem;
	z-index: 90;
}

.elena-back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

/* -------------------------------------------------------------------------
 * Motion: reveal on scroll
 * -------------------------------------------------------------------------
 *
 * The hidden state is applied by JavaScript (see assets/js/theme.js), so with
 * scripting off the content is simply visible. Reduced-motion users skip the
 * transition entirely.
 */

.elena-reveal {
	opacity: 0;
	transform: translateY(1.75rem);
	transition: opacity 720ms var(--elena-ease-out), transform 820ms var(--elena-ease-out);
	will-change: opacity, transform;
}

.elena-reveal.is-revealed {
	opacity: 1;
	transform: none;
	will-change: auto;
}

/*
 * A staggering section hands the rise to the cards, tiles or rows inside it
 * instead of keeping it for itself, so a grid is handed over one piece after
 * another rather than arriving as one flat block.
 *
 * The order is written onto each child by JavaScript (see assets/js/theme.js)
 * at the moment the section reaches the viewport, and the animation below
 * takes over from there. Keyframes rather than a transition, so each card
 * keeps the hover transition it already owns; the independent "translate"
 * property rather than "transform", so the entrance composes with a hover
 * lift instead of overwriting it.
 *
 * The index is capped in the script, so a long grid stays brisk.
 */
[data-elena-reveal-stagger] .elena-reveal-child {
	animation: elena-reveal-child-in 780ms var(--elena-ease-out) both;
	animation-delay: calc(var(--elena-stagger-index, 0) * var(--elena-stagger));
	opacity: 0;
}

@keyframes elena-reveal-child-in {

	from {
		opacity: 0;
		translate: 0 1.1rem;
	}

	to {
		opacity: 1;
		translate: 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.elena-reveal,
	.elena-reveal.is-revealed,
	[data-elena-reveal-stagger] .elena-reveal-child {
		animation: none;
		opacity: 1;
		transform: none;
		transition: none;
		translate: none;
	}
}

/* -------------------------------------------------------------------------
 * Ambience: the gold star field
 * -------------------------------------------------------------------------
 *
 * Twenty glints, positioned with inline CSS custom properties so the markup can
 * stay a plain list: gold points, four-point star glints and the occasional
 * champagne highlight, each with its own size, shape and fade timing, gently
 * twinkling behind a section. Purely decorative and hidden from assistive
 * technology.
 */

.elena-stars {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.elena-stars__item {
	animation-delay: var(--elena-star-delay, 0s);
	animation-duration: var(--elena-star-duration, 6.5s);
	animation-iteration-count: infinite;
	animation-name: elena-twinkle;
	animation-timing-function: var(--elena-ease);
	background-color: var(--elena-gold);
	border-radius: 50%;
	height: var(--elena-star-size, 2px);
	left: var(--elena-star-x, 50%);
	opacity: 0.25;
	position: absolute;
	top: var(--elena-star-y, 50%);
	width: var(--elena-star-size, 2px);
}

/* The highlight tier: a small handful of champagne glints that read as genuine
 * candlelight rather than as bigger dots. The warmer colour, the soft glow and
 * a brighter fade curve all pull together. */
.elena-stars__item--bright {
	animation-name: elena-twinkle-bright;
	background-color: var(--elena-champagne);
	box-shadow: 0 0 14px var(--elena-gold-glow);
}

/* Ordinary stars breathe between roughly a fifth and two thirds of full gold,
 * drifting a hair in size, so a field never pulses as one mass. */
@keyframes elena-twinkle {

	0%,
	100% {
		opacity: 0.22;
		transform: scale(0.95);
	}

	50% {
		opacity: 0.66;
		transform: scale(1.26);
	}
}

/* The highlights peak higher once per cycle and settle back, which is what
 * gives the field its occasional, unhurried sparkle. */
@keyframes elena-twinkle-bright {

	0%,
	100% {
		opacity: 0.3;
		transform: scale(1);
	}

	45% {
		opacity: 0.82;
		transform: scale(1.34);
	}

	72% {
		opacity: 0.48;
		transform: scale(1.08);
	}
}

@media (prefers-reduced-motion: reduce) {

	.elena-stars__item {
		animation: none;
		opacity: 0.4;
	}

	.elena-stars__item--bright {
		opacity: 0.6;
	}
}

/* Sections that host the star field need their own stacking context so the
 * content stays above the decoration. */
.elena-section--stars {
	overflow: hidden;
}

.elena-section--stars > .elena-container {
	position: relative;
	z-index: 1;
}

/* -------------------------------------------------------------------------
 * Ambience: the site-wide gold star field
 * -------------------------------------------------------------------------
 *
 * One fixed layer, printed once per page just inside the body and painted
 * behind everything else (z-index: -1), so it can never cover a dish name, a
 * price, a navigation tab, a booking field or a photograph - and, with
 * pointer events off, it can never take a click. It adds no height and no
 * scrollbar. Blocks with an opaque background simply cover it, which is why
 * the homepage keeps its own in-section fields inside the darker panels.
 */

.elena-stars--ambience {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: fixed;
	z-index: -1;
}

/* Each glint keeps the rhythm it was given: the fade duration and the fade
 * delay come from the star's own custom properties, so no two stars share a
 * phase. The drift rides along on the standalone translate property. */
.elena-stars--ambience .elena-stars__item {
	animation-name: elena-twinkle, elena-ambience-drift;
	animation-duration: var(--elena-star-duration, 6s), var(--elena-star-drift-duration, 60s);
	animation-timing-function: var(--elena-ease), ease-in-out;
	animation-delay: var(--elena-star-delay, 0s), var(--elena-star-drift-delay, 0s);
	animation-iteration-count: infinite, infinite;
	animation-direction: normal, alternate;
}

/* The drift moves the standalone translate property while the twinkle moves
 * transform, so the two compose instead of cancelling one another out. */
@keyframes elena-ambience-drift {

	100% {
		translate: var(--elena-star-drift-x, 0.4rem) var(--elena-star-drift-y, -0.6rem);
	}
}

/* The ambience highlights keep their brighter curve as well as a softer glow,
 * so the champagne glints stay the brightest points on the screen. */
.elena-stars--ambience .elena-stars__item--bright {
	animation-name: elena-twinkle-bright, elena-ambience-drift;
	box-shadow: 0 0 12px var(--elena-gold-glow);
}

/* A small diamond and a four-point glint, drawn with clip-path so no extra
 * element, image or filter is needed. */
.elena-stars__item--diamond {
	clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.elena-stars__item--glint {
	clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
}

/* Phones carry a lighter field: the last third of the stars steps aside, so the
 * effect stays composed rather than busy on a small screen. */
@media (max-width: 40rem) {

	.elena-stars--ambience .elena-stars__item:nth-child(n + 17) {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.elena-stars--ambience .elena-stars__item,
	.elena-stars--ambience .elena-stars__item--bright {
		animation: none;
		opacity: 0.32;
		translate: 0 0;
	}

	.elena-stars--ambience .elena-stars__item--bright {
		opacity: 0.5;
	}
}

/*
 * Reduced motion: nothing moves, everything is simply there. The delays are
 * neutralised as well as the durations, because a delay of its own would
 * otherwise leave a staggered tile waiting on its turn in the hidden state.
 */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-delay: -1ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-delay: 0ms !important;
		transition-duration: 0.01ms !important;
	}
}









