/* ==========================================================================
   NIN Ristorante — main stylesheet
   Palette taken from the restaurant itself: walnut tables, ceramic plates,
   the gold of the logo, the taupe of the brand plate.
   ========================================================================== */

@font-face {
	font-family: "Bodoni Moda";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(../fonts/bodoni-moda-latin-opsz-normal.woff2) format("woff2-variations"), url(../fonts/bodoni-moda-latin-opsz-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Bodoni Moda";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(../fonts/bodoni-moda-latin-ext-opsz-normal.woff2) format("woff2-variations"), url(../fonts/bodoni-moda-latin-ext-opsz-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-display: swap;
	font-weight: 300 500;
	src: url(../fonts/jost-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/jost-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-display: swap;
	font-weight: 300 500;
	src: url(../fonts/jost-latin-ext-wght-normal.woff2) format("woff2-variations"), url(../fonts/jost-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--noce: #231b16;
	--noce-2: #2c231d;
	--taupe: #55453b;
	--ceramica: #ece7e0;
	--ceramica-2: #e1dad0;
	--oro: #b39a4c;
	--oro-light: #ccb676;
	--oro-ink: #75611f;
	--salvia: #6f7a5e;
	--ink: #231b16;
	--ink-soft: #5b4e45;
	--paper: #f2eee8;
	--on-dark: #e8e1d7;
	--on-dark-soft: #b9ada0;
	--line-dark: rgb(232 225 215 / 0.16);
	--line-light: rgb(35 27 22 / 0.16);

	--serif: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
	--sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

	--fs-display: clamp(2.25rem, 1.2rem + 4.2vw, 4.75rem);
	--fs-h1: clamp(2.125rem, 1.45rem + 2.6vw, 3.75rem);
	--fs-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem);
	--fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
	--fs-lead: clamp(1.125rem, 1.02rem + 0.42vw, 1.3125rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.875rem;
	--fs-xs: 0.8125rem;

	--wrap: 1360px;
	--gutter: clamp(20px, 4.2vw, 64px);
	--gap: clamp(20px, 3vw, 40px);
	--section: clamp(80px, 11vw, 168px);
	--hh: 96px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 1099px) {
	:root { --hh: 76px; }
}

/* ---------------------------------------------------------------- Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hh) + 16px);
}

body {
	margin: 0;
	background: var(--noce);
	color: var(--on-dark);
	font-family: var(--sans);
	font-size: var(--fs-body);
	font-weight: 380;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

h1, h2, h3, h4,
.display {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
	font-optical-sizing: auto;
	text-wrap: balance;
}

p { text-wrap: pretty; }

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

::selection { background: var(--oro); color: var(--noce); }

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

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 200;
	padding: 0.75em 1.25em;
	background: var(--oro);
	color: var(--noce);
	transform: translateY(-200%);
	transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.narrow { max-width: calc(760px + var(--gutter) * 2); }

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

/* ---------------------------------------------------------------- Type helpers */
.display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 1.25rem;
	font-size: var(--fs-small);
	letter-spacing: 0.04em;
	color: var(--oro);
}
.kicker::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.prose > * + * { margin-top: 1.05em; }
.prose p,
.prose li { max-width: 64ch; }
.prose a { color: inherit; text-decoration-color: var(--oro); }
.prose strong { font-weight: 500; }
.prose--lead { font-size: var(--fs-lead); line-height: 1.6; }
.prose h2,
.prose h3 { margin-top: 1.8em; font-size: var(--fs-h3); }
.prose ul { padding-left: 1.1em; }

.mark {
	display: inline-block;
	margin-right: 0.5em;
	font-family: var(--serif);
	font-size: 1.2em;
	line-height: 1;
	color: var(--oro);
}
.section--light .mark { color: var(--oro-ink); }
.mark { display: none; }

/* ---------------------------------------------------------------- Buttons & links */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65em;
	min-height: 48px;
	padding: 0.8em 1.6em;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 500 0.9375rem/1.2 var(--sans);
	letter-spacing: 0.03em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--gold { background: var(--oro); color: var(--noce); }
.btn--gold:hover { background: var(--oro-light); }
.btn--ghost { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--noce); border-color: #fff; }
.btn--line { border-color: color-mix(in srgb, currentColor 40%, transparent); color: inherit; }
.btn--line:hover { border-color: var(--oro); background: color-mix(in srgb, var(--oro) 12%, transparent); }
.btn--dark { background: var(--noce); color: var(--paper); }
.btn--dark:hover { background: var(--taupe); }

.link {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	margin-top: 2rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: underline;
	text-decoration-color: var(--oro);
	text-underline-offset: 0.4em;
	transition: gap 0.25s var(--ease);
}
.link:hover { gap: 0.95em; }

/* ---------------------------------------------------------------- Header */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--hh);
	color: #fff;
	transition: background-color 0.35s var(--ease), height 0.35s var(--ease), box-shadow 0.35s;
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	background: linear-gradient(to bottom, rgb(20 15 12 / 0.55), transparent);
	pointer-events: none;
	transition: opacity 0.35s;
}
.site-header.is-scrolled,
body:not(.has-hero) .site-header {
	background: rgb(35 27 22 / 0.94);
	box-shadow: 0 1px 0 var(--line-dark);
}
@supports (backdrop-filter: blur(1px)) {
	.site-header.is-scrolled,
	body:not(.has-hero) .site-header {
		background: rgb(35 27 22 / 0.82);
		backdrop-filter: blur(14px) saturate(1.2);
		-webkit-backdrop-filter: blur(14px) saturate(1.2);
	}
}
.site-header.is-scrolled::before,
body:not(.has-hero) .site-header::before { opacity: 0; }
.site-header.is-scrolled { --hh: 76px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: transform 0.4s var(--ease), background-color 0.35s var(--ease), height 0.35s var(--ease); }

body:not(.has-hero) .site-main { padding-top: var(--hh); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .admin-bar .site-header:not(.is-scrolled) { top: 46px; } }

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.4vw, 40px);
	height: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.brand { position: relative; z-index: 3; display: block; flex: none; margin-right: auto; }
.brand__logo {
	width: auto;
	height: 74px;
	transition: height 0.35s var(--ease);
	filter: drop-shadow(0 1px 8px rgb(0 0 0 / 0.25));
}
.is-scrolled .brand__logo { height: 54px; }
.brand__text { font-family: var(--serif); font-size: 2.5rem; line-height: 1; }

.nav__list {
	display: flex;
	gap: clamp(20px, 2.4vw, 40px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav__list a {
	position: relative;
	display: block;
	padding: 0.5em 0;
	font-size: 1.125rem;
	font-weight: 430;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: rgb(255 255 255 / 0.92);
	text-shadow: 0 1px 12px rgb(0 0 0 / 0.35);
	transition: color 0.2s;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: var(--oro);
	transform: scale(0);
	transition: transform 0.3s var(--ease);
}
.nav__list a:hover { color: #fff; }
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after,
.nav__list .current-menu-item > a::after { transform: scale(1); }
.nav__list a[aria-current="page"],
.nav__list .current-menu-item > a { color: #fff; }

.nav__extra { display: none; }
.nav:focus { outline: none; }

.header-book { position: relative; z-index: 3; min-height: 48px; padding: 0.65em 1.5em; font-size: 1rem; }
.header-book__sm { display: none; }

.burger {
	position: relative;
	z-index: 3;
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.burger__lines { position: absolute; inset: 0; }
.burger__lines span {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.burger__lines span:first-child { top: 17px; }
.burger__lines span:last-child { top: 26px; left: 18px; }
.nav-open .burger__lines span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger__lines span:last-child { top: 21px; left: 10px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
	.burger { display: block; }
	.brand__logo { height: 56px; }
	.is-scrolled .brand__logo { height: 46px; }

	.nav {
		position: fixed;
		inset: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 40px;
		padding: calc(var(--hh) + 32px) var(--gutter) 40px;
		background: var(--noce);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
	}
	.nav-open .nav {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.35s var(--ease), visibility 0s;
	}
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list li { border-bottom: 1px solid var(--line-dark); }
	.nav__list a {
		padding: 0.55em 0;
		font-family: var(--serif);
		font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
		letter-spacing: 0;
		line-height: 1.15;
		color: #fff;
	}
	.nav__list a::after { left: auto; right: 4px; top: 50%; bottom: auto; margin: -2.5px 0 0; }
	.nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
	.nav__book { margin-bottom: 8px; }
	.nav__contact {
		display: inline-flex;
		align-items: center;
		gap: 0.7em;
		color: var(--on-dark-soft);
		text-decoration: none;
	}
	.nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-open .site-header::before { opacity: 0; }
	.nav-open .header-book { visibility: hidden; }
}

@media (max-width: 599px) {
	.header-book { padding: 0.55em 1.1em; min-height: 40px; }
	.header-book__lg {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
	.header-book__sm { display: inline; }
	.site-header__inner { gap: 10px; }
}

/* ---------------------------------------------------------------- Sections */
.section { padding-block: var(--section); }
.section--dark { background: var(--noce); color: var(--on-dark); }
.section--light { background: var(--ceramica); color: var(--ink); }
.section--dark + .section--dark,
.section--light + .section--light { padding-top: 0; }

.section-head {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: end;
	margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head > :first-child { grid-column: 1 / span 6; }
.section-head__text { grid-column: 8 / -1; font-size: var(--fs-lead); line-height: 1.6; color: inherit; opacity: 0.85; }
@media (max-width: 899px) {
	.section-head > :first-child,
	.section-head__text { grid-column: 1 / -1; }
}

.split {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
}
.split__title { grid-column: 1 / span 5; }
.split__body { grid-column: 7 / -1; }
.split__body .btn { margin-top: 2rem; }
@media (max-width: 899px) {
	.split__title,
	.split__body { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: var(--noce);
	color: #fff;
	isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media > * { transform-origin: 58% 60%; }
.hero__poster { scale: 1.22; }
.hero__media iframe { scale: 1.22; }
.hero__poster,
.hero__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__poster { animation: nin-settle 2.6s var(--ease) both; }
.hero__media iframe,
.hero__media video {
	opacity: 0;
	visibility: hidden;
	transition: none;
}
.hero.is-playing .hero__media iframe,
.hero.is-playing .hero__media video { visibility: visible; transition: opacity 1.2s var(--ease); }
.hero__media { container-type: size; }
.hero__media iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(100cqw, 177.78cqh);
	height: max(100cqh, 56.25cqw);
	max-width: none;
	border: 0;
	transform: translate(-50%, -50%) scale(1.02);
	pointer-events: none;
}
.hero.is-playing .hero__media iframe,
.hero.is-playing .hero__media video { opacity: 1; }

.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgb(23 17 13 / 0.85) 0%, rgb(23 17 13 / 0.35) 38%, rgb(23 17 13 / 0) 62%),
		linear-gradient(to right, rgb(23 17 13 / 0.45), rgb(23 17 13 / 0) 60%);
}
.hero__content { padding-bottom: clamp(56px, 9vh, 112px); }
.hero__title {
	max-width: 15ch;
	font-size: var(--fs-display);
	line-height: 1.04;
	text-shadow: 0 2px 30px rgb(0 0 0 / 0.25);
}
.hero__lead {
	max-width: 46ch;
	margin-top: 1.25rem;
	font-size: var(--fs-lead);
	color: rgb(255 255 255 / 0.88);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.25rem; }
.hero__title,
.hero__lead,
.hero__actions { animation: nin-rise 1.1s var(--ease) both; }
.hero__lead { animation-delay: 0.15s; }
.hero__actions { animation-delay: 0.3s; }

.hero__toggle {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(56px, 9vh, 112px);
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 0.45);
	border-radius: 50%;
	background: rgb(0 0 0 / 0.15);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s;
}
.hero__toggle:hover { background: rgb(0 0 0 / 0.35); }
.hero__toggle .icon { width: 18px; height: 18px; }
.hero__toggle-play { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play { display: block; }
.hero__toggle[aria-pressed="true"] .hero__toggle-pause { display: none; }

@keyframes nin-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
@keyframes nin-settle {
	from { transform: scale(1.06); }
	to { transform: scale(1); }
}

@media (max-width: 599px) {
	.hero__toggle { bottom: auto; top: calc(var(--hh) + 12px); width: 40px; height: 40px; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- Page header */
.page-header {
	position: relative;
	padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px);
	background: var(--noce);
	color: #fff;
	isolation: isolate;
}
.page-header--image {
	display: flex;
	align-items: flex-end;
	min-height: min(78svh, 820px);
	padding-top: calc(var(--hh) + 40px);
	overflow: hidden;
}
.page-header__media { position: absolute; inset: 0; z-index: -2; }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: nin-settle 2.4s var(--ease) both; }
.page-header--image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgb(23 17 13 / 0.82), rgb(23 17 13 / 0.2) 55%, rgb(23 17 13 / 0.35));
}
.page-header__title { max-width: 16ch; font-size: var(--fs-display); line-height: 1.04; }
.page-header__lead { max-width: 52ch; margin-top: 1.25rem; font-size: var(--fs-lead); color: rgb(255 255 255 / 0.85); }
.page-header--404 { min-height: 70svh; display: flex; align-items: center; }

/* ---------------------------------------------------------------- Home: intro */
.intro__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.intro__img { overflow: hidden; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--a {
	grid-column: 1 / span 5;
	aspect-ratio: 4 / 5;
	position: sticky;
	top: calc(var(--hh) + 32px);
}
.intro__body { grid-column: 7 / -1; padding-top: clamp(0px, 3vw, 40px); }
.intro__statement {
	max-width: 18ch;
	margin-bottom: clamp(28px, 3vw, 44px);
	font-size: var(--fs-h1);
	line-height: 1.1;
}
.intro__text > p:first-child {
	font-family: var(--serif);
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	line-height: 1.45;
	color: var(--ink);
}
.intro__text p { color: var(--ink-soft); }
.intro__img--b { margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 3 / 2; }
@media (max-width: 899px) {
	.intro__img--a { grid-column: 1 / -1; position: static; aspect-ratio: 4 / 3; order: 2; }
	.intro__body { display: contents; }
	.intro__statement { grid-column: 1 / -1; order: 1; margin-bottom: 0; }
	.intro__text { grid-column: 1 / -1; order: 3; }
	.intro__img--b { grid-column: 1 / -1; order: 4; margin-top: 0; }
}

/* ---------------------------------------------------------------- Home: quote */
.quote {
	position: relative;
	display: grid;
	place-items: center;
	min-height: min(88svh, 900px);
	padding-block: var(--section);
	overflow: hidden;
	color: #fff;
	isolation: isolate;
	text-align: center;
}
.quote__media { position: absolute; inset: 0; z-index: -2; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(23 17 13 / 0.5); }
.quote__text p {
	max-width: 20ch;
	margin-inline: auto;
	font-family: var(--serif);
	font-style: normal;
	font-size: var(--fs-display);
	line-height: 1.1;
	text-wrap: balance;
}
.quote__text p::before,
.quote__text p::after { color: var(--oro); }
.quote__text p::before { content: "“"; }
.quote__text p::after { content: "”"; }

/* ---------------------------------------------------------------- Home: chef */
.chef__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.chef__img { grid-column: 1 / span 6; overflow: hidden; position: sticky; top: calc(var(--hh) + 24px); }
.chef__img img { width: 100%; height: auto; }
.chef__body { grid-column: 8 / -1; }
.chef__role { margin: 0.75rem 0 2rem; font-family: var(--serif); font-style: normal; font-size: var(--fs-h3); color: var(--oro); }
.journey { margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.journey__row {
	display: grid;
	grid-template-columns: minmax(150px, 0.4fr) 1fr;
	gap: 8px var(--gap);
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--line-dark);
}
.journey__place { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.journey__venue { display: block; font-size: var(--fs-small); color: var(--oro); }
.journey dd { color: var(--on-dark-soft); }
@media (max-width: 899px) {
	.chef__img { grid-column: 1 / -1; position: static; }
	.chef__body { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	.journey__row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Home: tasting */
.tasting__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line-light);
	border-bottom: 1px solid var(--line-light);
}
.tasting__item + .tasting__item { border-left: 1px solid var(--line-light); }
.tasting__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: 1rem;
	padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 40px);
	text-decoration: none;
	transition: background-color 0.3s var(--ease);
}
.tasting__link:hover { background: var(--ceramica-2); }
.tasting__count { font-size: var(--fs-small); color: var(--oro-ink); letter-spacing: 0.03em; }
.tasting__name { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.05; }
.tasting__desc { color: var(--ink-soft); flex: 1; }
.tasting__price { font-family: var(--serif); font-size: 1.75rem; }
@media (max-width: 899px) {
	.tasting__list { grid-template-columns: 1fr; }
	.tasting__item + .tasting__item { border-left: 0; border-top: 1px solid var(--line-light); }
	.tasting__link { padding-inline: 0; }
	.tasting__link:hover { background: none; }
}

/* ---------------------------------------------------------------- Home: place */
.place__mosaic {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: auto auto;
	gap: var(--gap);
	margin-bottom: clamp(48px, 6vw, 88px);
}
.place__img { overflow: hidden; }
.place__img img { width: 100%; height: 100%; object-fit: cover; }
.place__img--0 { grid-column: 1 / span 8; grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
.place__img--1 { grid-column: 9 / -1; aspect-ratio: 4 / 3; }
.place__img--2 { grid-column: 9 / -1; aspect-ratio: 4 / 3; }
.place__body {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
}
.place__body h2 { grid-column: 1 / span 5; }
.place__body .prose,
.place__body .link { grid-column: 7 / -1; }
.place__body .link { justify-self: start; margin-top: 0; }
@media (max-width: 899px) {
	.place__img--0 { grid-column: 1 / -1; grid-row: auto; }
	.place__img--1 { grid-column: 1 / span 6; }
	.place__img--2 { grid-column: 7 / -1; }
	.place__body h2,
	.place__body .prose,
	.place__body .link { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- Home: cellar */
.cellar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--noce-2);
	color: var(--on-dark);
}
.cellar__img { min-height: 560px; overflow: hidden; }
.cellar__img img { width: 100%; height: 100%; object-fit: cover; }
.cellar__body {
	align-self: center;
	max-width: 640px;
	padding: var(--section) var(--gutter);
}
.cellar__body .prose { margin: 1.75rem 0 2.25rem; color: var(--on-dark-soft); }
@media (max-width: 899px) {
	.cellar { grid-template-columns: 1fr; }
	.cellar__img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- Awards */
.awards { padding-block: clamp(64px, 8vw, 112px); background: var(--noce-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.awards__title { margin-bottom: 2.5rem; font-size: var(--fs-h3); text-align: center; }
.awards__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 32px var(--gap);
	align-items: start;
	text-align: center;
}
.awards__item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.awards__logo { display: grid; place-items: center; height: 120px; margin-bottom: 0.5rem; }
.awards__logo img { max-height: 120px; width: auto; max-width: 170px; object-fit: contain; }
.awards__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.awards__detail { font-size: var(--fs-small); color: var(--on-dark-soft); }

/* ---------------------------------------------------------------- Feature (text + image) */
.feature__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: center;
}
.feature__img { grid-column: 1 / span 7; aspect-ratio: 4 / 3; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { grid-column: 9 / -1; }
.feature__body .h2 { margin-bottom: 1.75rem; }
.feature__body .btn { margin-top: 2rem; }
.feature--rev .feature__img { grid-column: 6 / -1; grid-row: 1; }
.feature--rev .feature__body { grid-column: 1 / span 4; grid-row: 1; }
.section--dark .feature__body .prose { color: var(--on-dark-soft); }
@media (max-width: 899px) {
	.feature__img,
	.feature__body,
	.feature--rev .feature__img,
	.feature--rev .feature__body { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------------------------------------------------------------- Gallery + lightbox */
.gallery__title { margin-bottom: clamp(32px, 4vw, 56px); }
.gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(150px, 17vw, 260px);
	grid-auto-flow: dense;
	gap: clamp(8px, 1.2vw, 16px);
}
.gallery__item { overflow: hidden; background: var(--noce-2); }
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item a { display: block; height: 100%; cursor: zoom-in; }
.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease), opacity 0.4s;
}
.gallery__item a:hover img { transform: scale(1.04); }
@media (max-width: 899px) {
	.gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 599px) {
	.gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
}

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgb(18 13 10 / 0.96);
	color: #fff;
}
.lightbox::backdrop { background: rgb(18 13 10 / 0.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: 92vw; max-height: 86vh; max-height: 86dvh; width: auto; height: auto; object-fit: contain; }
.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 0.3);
	border-radius: 50%;
	background: rgb(0 0 0 / 0.3);
	color: #fff;
	cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--oro); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: var(--fs-small); color: var(--on-dark-soft); }
@media (max-width: 599px) {
	.lightbox__prev,
	.lightbox__next { top: auto; bottom: 12px; transform: none; }
	.lightbox__count { bottom: 28px; }
}

/* ---------------------------------------------------------------- Art */
.artist {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	padding-block: clamp(40px, 5vw, 72px);
	border-top: 1px solid var(--line-light);
}
.artist__head { grid-column: 1 / -1; }
.artist__name { font-size: var(--fs-h2); }
.artist__sub { margin-top: 0.5rem; font-family: var(--serif); font-style: normal; font-size: var(--fs-h3); color: var(--oro-ink); }
.artist__img { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; }
.artist__img img { width: 100%; height: 100%; object-fit: cover; }
.artist__body { grid-column: 7 / -1; }
.artist__head + .artist__body { grid-column: 1 / span 8; }
.works { margin-top: 2.25rem; border-top: 1px solid var(--line-light); }
.works__item { padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); }
.works__title { margin-bottom: 0.5rem; font-style: normal; font-size: 1.5rem; }
.works__item p { max-width: 64ch; color: var(--ink-soft); }
@media (max-width: 899px) {
	.artist__img,
	.artist__body,
	.artist__head + .artist__body { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- Menù */
.menu-intro__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.menu-intro__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--hh) + 32px); }
.menu-intro__quote { max-width: 18ch; font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.2; text-wrap: balance; }
.menu-intro__note {
	display: flex;
	gap: 0.6em;
	align-items: flex-start;
	max-width: 40ch;
	margin-top: 2rem;
	font-size: 0.9375rem;
	color: var(--ink-soft);
}
.menu-intro__note .icon { margin-top: 0.15em; color: var(--salvia); }

.menu-index { grid-column: 7 / -1; border-top: 1px solid var(--line-light); counter-reset: idx; }
.menu-index__item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 48px;
	align-items: center;
	gap: clamp(16px, 2vw, 32px);
	padding: clamp(24px, 2.6vw, 36px) 0;
	border-bottom: 1px solid var(--line-light);
	text-decoration: none;
	isolation: isolate;
}
.menu-index__item::before {
	content: "";
	position: absolute;
	inset: 0 calc(var(--gutter) * -0.5);
	z-index: -1;
	background: var(--ceramica-2);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.5s var(--ease);
}
.menu-index__item:hover::before,
.menu-index__item:focus-visible::before { transform: scaleY(1); }
.menu-index__main { display: grid; gap: 0.4rem; }
.menu-index__name { font-family: var(--serif); font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.05; transition: color 0.3s; }
.menu-index__desc { max-width: 42ch; font-size: 0.9375rem; color: var(--ink-soft); }
.menu-index__meta { display: grid; justify-items: end; gap: 0.2rem; text-align: right; }
.menu-index__price { font-family: var(--serif); font-size: 1.75rem; line-height: 1; }
.menu-index__count { font-size: var(--fs-xs); color: var(--oro-ink); letter-spacing: 0.03em; white-space: nowrap; }
.menu-index__go {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line-light);
	border-radius: 50%;
	transition: background-color 0.35s var(--ease), border-color 0.35s, color 0.35s;
}
.menu-index__go .icon { transform: rotate(90deg); width: 18px; height: 18px; }
.menu-index__item:hover .menu-index__go { background: var(--oro); border-color: var(--oro); color: var(--noce); }
.menu-index__item:hover .menu-index__name { color: var(--oro-ink); }
@media (max-width: 899px) {
	.menu-intro__head,
	.menu-index { grid-column: 1 / -1; position: static; }
	.menu-index { margin-top: 1.5rem; }
}
@media (max-width: 599px) {
	.menu-index__item { grid-template-columns: 1fr auto; }
	.menu-index__go { display: none; }
	.menu-index__desc { display: none; }
}

.percorso__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.percorso__aside { grid-column: 1 / span 5; position: sticky; top: calc(var(--hh) + 24px); }
.percorso__main { grid-column: 7 / -1; }
.percorso__count { font-size: var(--fs-small); letter-spacing: 0.03em; color: var(--oro); }
.section--light .percorso__count { color: var(--oro-ink); }
.percorso__name { margin: 0.75rem 0 1.5rem; font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5.5rem); line-height: 0.98; letter-spacing: -0.02em; }
.percorso__desc { max-width: 46ch; opacity: 0.85; }
.percorso__img { margin-top: 2.5rem; aspect-ratio: 4 / 3; overflow: hidden; }
.percorso__img img { width: 100%; height: 100%; object-fit: cover; }

.courses { counter-reset: course; border-top: 1px solid var(--line-light); }
.section--dark .courses { border-color: var(--line-dark); }
.courses__item {
	counter-increment: course;
	display: grid;
	grid-template-columns: 2.5rem 1fr;
	align-items: baseline;
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--line-light);
	font-family: var(--serif);
	font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
	line-height: 1.25;
}
.section--dark .courses__item { border-color: var(--line-dark); }
.courses__item::before {
	content: counter(course);
	font-family: var(--sans);
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
	color: var(--oro);
}
.section--light .courses__item::before { color: var(--oro-ink); }

.percorso__prices {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--gap);
	align-items: center;
	margin-top: 2.5rem;
}
.percorso__price { font-family: var(--serif); font-size: clamp(2.5rem, 1.9rem + 2vw, 3.5rem); line-height: 1; }
.pairings { display: grid; gap: 0.35rem; padding-left: var(--gap); border-left: 1px solid var(--line-light); }
.section--dark .pairings { border-color: var(--line-dark); }
.pairings__row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.pairings dt { opacity: 0.8; }
.pairings dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 599px) {
	.percorso__prices { grid-template-columns: 1fr; }
	.pairings { padding-left: 0; border-left: 0; }
}

.wines { margin-top: 2.5rem; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.section--dark .wines { border-color: var(--line-dark); }
.wines summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 0;
	cursor: pointer;
	list-style: none;
	font-weight: 500;
	letter-spacing: 0.02em;
}
.wines summary::-webkit-details-marker { display: none; }
.wines__plus { position: relative; width: 14px; height: 14px; }
.wines__plus::before,
.wines__plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.wines__plus::after { transform: rotate(90deg); }
.wines[open] .wines__plus::after { transform: rotate(0); }
.wines__list { padding-bottom: 1.25rem; }
.wines__list li { padding: 0.3rem 0; font-family: var(--serif); font-style: normal; font-size: 1.125rem; opacity: 0.9; }
.percorso__note { display: flex; gap: 0.6em; align-items: center; margin-top: 1.75rem; font-size: var(--fs-small); opacity: 0.85; }
.percorso__note .icon { color: var(--salvia); }
.section--dark .percorso__note .icon { color: #9aa685; }

@media (max-width: 899px) {
	.percorso__aside,
	.percorso__main { grid-column: 1 / -1; position: static; }
}

/* ---------------------------------------------------------------- Staff */
.person__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.person__img { grid-column: 1 / span 5; aspect-ratio: 3 / 4; overflow: hidden; position: sticky; top: calc(var(--hh) + 24px); background: var(--noce-2); }
.person__body { grid-column: 7 / -1; }
.person--rev .person__img { grid-column: 8 / -1; grid-row: 1; }
.person--rev .person__body { grid-column: 1 / span 6; grid-row: 1; }
.person__role { margin-bottom: 0.75rem; font-size: var(--fs-small); letter-spacing: 0.03em; color: var(--oro); }
.section--light .person__role { color: var(--oro-ink); }
.person__headline { margin-top: 1rem; font-family: var(--serif); font-style: normal; font-size: var(--fs-h3); line-height: 1.3; opacity: 0.9; }
.person__quote { margin: 2rem 0; padding-left: 1.25rem; border-left: 2px solid var(--oro); font-family: var(--serif); font-size: 1.375rem; line-height: 1.4; }
.person__body .prose { margin-top: 2rem; }
.section--dark .person__body .prose { color: var(--on-dark-soft); }
@media (max-width: 899px) {
	.person__img,
	.person__body,
	.person--rev .person__img,
	.person--rev .person__body { grid-column: 1 / -1; grid-row: auto; position: static; }
	.person__img { max-width: 520px; }
}

.team__title { margin-bottom: clamp(40px, 5vw, 72px); }
.team__group + .team__group { margin-top: clamp(56px, 7vw, 96px); }
.team__group-title {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line-light);
	font-size: var(--fs-h3);
}
.team__group-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--oro); }
.team__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(28px, 3vw, 48px) var(--gap);
}
.member__btn {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: zoom-in;
	overflow: hidden;
	isolation: isolate;
}
.member__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ceramica-2); }
.member > .member__img { margin-bottom: 1rem; }
.member__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 15%;
	filter: grayscale(0.85) sepia(0.15) contrast(1.05) brightness(0.9);
	transform: scale(1.001);
	transition: filter 0.9s var(--ease), transform 1.4s var(--ease);
}
/* warm light that follows the cursor */
.member__glow {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 40%), rgb(255 226 170 / 0.35), transparent 65%);
	mix-blend-mode: soft-light;
	opacity: 0;
	transition: opacity 0.5s var(--ease);
	pointer-events: none;
}
/* gold frame that draws itself */
.member__frame {
	position: absolute;
	inset: 12px;
	z-index: 2;
	border: 1px solid var(--oro-light);
	clip-path: inset(0 100% 100% 0);
	transition: clip-path 0.8s var(--ease);
	pointer-events: none;
}
/* the gold dot of the logo, growing into a button */
.member__cta {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--oro);
	color: var(--noce);
	transform: scale(0.14);
	opacity: 0;
	transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}
.member__cta svg { transform: rotate(-90deg); transition: transform 0.55s var(--ease); }
.member__btn:hover .member__img img,
.member__btn:focus-visible .member__img img { filter: none; transform: scale(1.06); }
.member__btn:hover .member__glow,
.member__btn:focus-visible .member__glow { opacity: 1; }
.member__btn:hover .member__frame,
.member__btn:focus-visible .member__frame { clip-path: inset(0 0 0 0); }
.member__btn:hover .member__cta,
.member__btn:focus-visible .member__cta { transform: scale(1); opacity: 1; }
.member__btn:hover .member__cta svg,
.member__btn:focus-visible .member__cta svg { transform: none; }
.member__btn:focus-visible { outline-offset: 4px; }
.person__btn { height: 100%; margin: 0; }
.person__btn .member__img { height: 100%; aspect-ratio: auto; background: var(--noce-2); }
.person__btn .member__img img { object-position: 50% 20%; }
@media (hover: none) {
	.member__img img { filter: none; }
	.member__cta { transform: scale(0.75); opacity: 0.9; right: 12px; bottom: 12px; }
}

/* ---------------------------------------------------------------- Profile viewer */
.profile {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--noce);
	color: var(--on-dark);
	overflow: hidden;
}
.profile::backdrop { background: var(--noce); }
.profile[open] { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.profile__media { position: relative; height: 100%; overflow: hidden; background: var(--noce-2); }
.profile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
	view-transition-name: none;
}
.profile__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--hh) + 16px) clamp(24px, 6vw, 96px) 120px;
	overflow-y: auto;
}
.profile__team { display: flex; align-items: center; gap: 0.6em; font-size: var(--fs-small); letter-spacing: 0.04em; color: var(--oro); }
.profile__team::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.profile__team:empty { display: none; }
.profile__name { margin-top: 1rem; font-size: clamp(2.75rem, 1.8rem + 4vw, 5.5rem); line-height: 0.98; letter-spacing: -0.02em; }
.profile__role { margin-top: 1.25rem; font-family: var(--serif); font-size: var(--fs-h3); color: var(--on-dark-soft); }
.profile__text { max-width: 34ch; margin-top: 2rem; padding-left: 1.25rem; border-left: 2px solid var(--oro); font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; }
.profile__text:empty { display: none; }
.profile[open] .profile__body > * { animation: nin-rise 0.8s var(--ease) both; }
.profile[open] .profile__body > :nth-child(2) { animation-delay: 0.08s; }
.profile[open] .profile__body > :nth-child(3) { animation-delay: 0.16s; }
.profile[open] .profile__body > :nth-child(4) { animation-delay: 0.24s; }
.profile.no-vt[open] .profile__media img,
.profile.is-switching .profile__media img { animation: nin-curtain 0.9s var(--ease) both; }
.profile.is-switching .profile__body > * { animation: nin-rise 0.7s var(--ease) both; }
@keyframes nin-curtain {
	from { clip-path: inset(0 0 100% 0); transform: scale(1.12); }
	to { clip-path: inset(0 0 0 0); transform: scale(1); }
}
.profile__bar {
	position: absolute;
	right: clamp(24px, 6vw, 96px);
	bottom: 36px;
	left: calc(52.4% + clamp(24px, 6vw, 96px));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px solid var(--line-dark);
}
.profile__count { font-size: var(--fs-small); font-variant-numeric: tabular-nums; color: var(--on-dark-soft); }
.profile__arrows { display: flex; gap: 10px; }
.profile__btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	background: none;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.profile__btn:hover { background: var(--oro); border-color: var(--oro); color: var(--noce); }
.profile__btn .icon { width: 20px; height: 20px; }
.profile__close { position: absolute; top: 24px; right: 24px; z-index: 2; background: rgb(35 27 22 / 0.5); }
@media (max-width: 899px) {
	.profile[open] { grid-template-columns: 1fr; grid-template-rows: 58dvh 1fr; overflow-y: auto; }
	.profile__body { justify-content: flex-start; padding: 32px var(--gutter) 120px; }
	.profile__bar { left: var(--gutter); right: var(--gutter); bottom: 20px; position: fixed; }
	.profile__name { font-size: clamp(2.5rem, 1.6rem + 5vw, 3.5rem); }
}
::view-transition-old(nin-photo),
::view-transition-new(nin-photo) { animation-duration: 0.7s; animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); height: 100%; object-fit: cover; overflow: hidden; }
::view-transition-group(nin-photo) { animation-duration: 0.7s; animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }

.member__placeholder { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-size: 4rem; color: var(--ink-soft); }
.member__name { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; }
.member__role { margin-top: 0.25rem; font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 1099px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) {
	.team__grid { grid-template-columns: repeat(2, 1fr); }
	.member__name { font-size: 1.125rem; }
}

.team-photos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.team-photos__grid figure { aspect-ratio: 3 / 2; overflow: hidden; }
.team-photos__grid figure:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.team-photos__grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .team-photos__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Dove siamo */
.where__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.where__info { grid-column: 1 / span 5; }
.where__address {
	display: flex;
	gap: 0.9em;
	margin: 2rem 0;
	font-style: normal;
	font-size: var(--fs-lead);
	line-height: 1.5;
}
.where__address .icon { margin-top: 0.2em; color: var(--oro-ink); }
.where__address strong { font-weight: 500; }
.map {
	position: relative;
	grid-column: 7 / -1;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ceramica-2);
}
.map__img { width: 100%; height: 100%; object-fit: cover; }
.map__consent {
	position: absolute;
	inset: auto 16px 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 18px 20px;
	background: rgb(35 27 22 / 0.88);
	color: var(--on-dark);
	font-size: var(--fs-small);
	line-height: 1.5;
}
.map__consent p { flex: 1 1 260px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 899px) {
	.where__info,
	.map { grid-column: 1 / -1; }
}

.directions__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--gap);
	margin-top: clamp(40px, 5vw, 64px);
}
.directions__mode { margin-bottom: 0.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); font-size: var(--fs-h3); }
.directions__item { padding: 1.25rem 0; border-bottom: 1px solid var(--line-dark); }
.directions__from { font-weight: 500; }
.directions__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5em; margin-top: 0.35rem; color: var(--on-dark-soft); font-size: 0.9375rem; }
.directions__meta .icon { color: var(--oro); }
.directions__dist::before { content: "/"; margin-right: 0.5em; opacity: 0.5; }
.directions__item .link { margin-top: 0.75rem; font-size: 0.9375rem; }
@media (max-width: 899px) { .directions__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Prenota */
.booking__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.booking__info { grid-column: 1 / span 5; }
.booking__widget { grid-column: 7 / -1; }
.booking__widget iframe {
	width: 100%;
	height: 760px;
	border: 0;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgb(35 27 22 / 0.35);
}
.booking__contacts { display: grid; gap: 0.75rem; margin: 2rem 0 2.5rem; }
.booking__contacts a { display: inline-flex; align-items: center; gap: 0.75em; font-size: var(--fs-lead); text-decoration: none; }
.booking__contacts a:hover { color: var(--oro-ink); }
.booking__contacts .icon { color: var(--oro-ink); }
.booking__notes { margin-top: 2rem; display: grid; gap: 0.6rem; font-size: 0.9375rem; color: var(--ink-soft); }
.booking__notes li { display: flex; gap: 0.6em; }
.booking__notes li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 0.65em; border-radius: 50%; background: var(--oro); }
@media (max-width: 899px) {
	.booking__info,
	.booking__widget { grid-column: 1 / -1; }
	.booking__widget { order: -1; }
	.booking__widget iframe { height: 700px; }
}

/* ---------------------------------------------------------------- Hours */
.hours { display: grid; gap: 1.75rem; }
.hours__title { margin-bottom: 0.5rem; font-family: var(--serif); font-size: 1.375rem; }
.hours__period { display: block; font-family: var(--sans); font-size: var(--fs-small); color: var(--on-dark-soft); }
.hours__list { display: grid; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.9375rem; }
.hours__row dd { font-variant-numeric: tabular-nums; }
.hours__row.is-closed { opacity: 0.55; }
.hours--light .hours__row { border-color: var(--line-light); }
.hours--light .hours__period { color: var(--ink-soft); }

/* ---------------------------------------------------------------- Booking band */
.book-band { padding-block: clamp(72px, 9vw, 128px); background: var(--taupe); color: var(--on-dark); }
.book-band__inner {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	align-items: start;
}
.book-band__head { grid-column: 1 / span 6; }
.book-band__title { font-size: var(--fs-h1); max-width: 16ch; }
.book-band__text { max-width: 44ch; margin-top: 1.5rem; color: rgb(232 225 215 / 0.82); }
.book-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.25rem; }
.book-band__hours { grid-column: 8 / -1; }
.book-band .hours__period { color: rgb(232 225 215 / 0.7); }
@media (max-width: 899px) {
	.book-band__head,
	.book-band__hours { grid-column: 1 / -1; }
	.book-band__hours { margin-top: 1.5rem; }
}

/* ---------------------------------------------------------------- Footer */
.site-footer { padding: clamp(64px, 7vw, 96px) 0 32px; background: var(--noce); color: var(--on-dark-soft); font-size: 0.9375rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px var(--gap);
}
.site-footer__logo img { width: 190px; height: auto; }
.site-footer__claim { max-width: 30ch; margin-top: 1.5rem; font-family: var(--serif); font-style: normal; font-size: 1.25rem; line-height: 1.35; color: var(--on-dark); }
.site-footer__title { margin-bottom: 1.1rem; font-family: var(--sans); font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.04em; color: var(--oro); }
.site-footer__address { font-style: normal; line-height: 1.6; }
.site-footer__address strong { color: var(--on-dark); font-weight: 500; }
.site-footer__links,
.site-footer__social { display: grid; gap: 0.5rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.site-footer__social { margin-top: 0; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer__links a,
.site-footer__social a { display: inline-flex; align-items: center; gap: 0.65em; }
.site-footer .nav__list,
.site-footer__menu { display: grid; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.site-footer .nav__list a { padding: 0; font-family: var(--sans); font-size: inherit; color: inherit; }
.site-footer .nav__list a::after { display: none; }
.site-footer .nav__list li { border: 0; }
.site-footer__hotel { margin-top: 1.5rem; }
.site-footer__hotel a { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--oro); }
.site-footer__awards { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.footer-awards {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 32px 48px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-awards__item { display: grid; place-items: center; flex: 1 1 140px; }
.footer-awards__item img { width: auto; max-width: 150px; max-height: 120px; object-fit: contain; opacity: 0.88; transition: opacity 0.3s; }
.footer-awards__item img:hover { opacity: 1; }
@media (max-width: 599px) {
	.footer-awards { gap: 28px 24px; }
	.footer-awards__item { flex: 0 1 calc(50% - 12px); }
	.footer-awards__item img { max-width: 120px; max-height: 96px; }
}

/* language switcher */
.langs { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.langs a {
	display: grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-decoration: none;
	color: rgb(255 255 255 / 0.7);
	transition: color 0.2s, background-color 0.2s;
}
.langs a:hover { color: #fff; }
.langs a[aria-current="true"] { color: var(--oro); }
.langs--header { position: relative; z-index: 3; }
.langs--nav { margin-bottom: 8px; }
.langs--nav a { min-width: 44px; height: 44px; border: 1px solid var(--line-dark); font-size: 0.875rem; }
.langs--nav { gap: 8px; }
@media (max-width: 1099px) {
	.langs--header { display: none; }
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: clamp(48px, 6vw, 80px);
	padding-top: 24px;
	border-top: 1px solid var(--line-dark);
	font-size: var(--fs-xs);
}
@media (max-width: 999px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 539px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.site-footer__credits a { color: var(--on-dark); letter-spacing: 0.08em; font-weight: 500; text-decoration: underline; text-decoration-color: var(--oro); text-underline-offset: 0.3em; }
.site-footer__credits a:hover { color: var(--oro); }

/* ---------------------------------------------------------------- Cookie consent */
.consent {
	position: fixed;
	left: clamp(12px, 2vw, 28px);
	bottom: clamp(12px, 2vw, 28px);
	z-index: 300;
	width: min(520px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	overflow-y: auto;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.consent.is-open { opacity: 1; transform: none; }
.consent [hidden] { display: none !important; }
.consent__box {
	position: relative;
	padding: 28px 28px 24px;
	background: var(--noce);
	color: var(--on-dark);
	border: 1px solid var(--line-dark);
	box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.55);
}
.consent__x {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--on-dark-soft);
	cursor: pointer;
}
.consent__x:hover { color: #fff; background: rgb(255 255 255 / 0.06); }
.consent__x .icon { width: 18px; height: 18px; }
.consent__title { margin: 0 40px 0.75rem 0; font-size: 1.5rem; }
.consent__text { font-size: 0.875rem; line-height: 1.6; color: var(--on-dark-soft); }
.consent__text a { color: var(--on-dark); text-decoration-color: var(--oro); }
.consent__prefs { display: grid; gap: 4px; margin-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.consent__cat { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.consent__switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.consent__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__track {
	position: relative;
	flex: none;
	width: 40px;
	height: 22px;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.18);
	transition: background-color 0.2s;
}
.consent__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s var(--ease);
}
.consent__switch input:checked + .consent__track { background: var(--oro); }
.consent__switch input:checked + .consent__track::after { transform: translateX(18px); }
.consent__switch input:disabled + .consent__track { opacity: 0.6; }
.consent__switch input:focus-visible + .consent__track { outline: 2px solid var(--oro); outline-offset: 3px; }
.consent__cat-title { font-weight: 500; color: #fff; }
.consent__cat-title small { margin-left: 6px; font-size: 0.75rem; font-weight: 400; color: var(--on-dark-soft); }
.consent__cat-text { margin: 6px 0 0 52px; font-size: 0.8125rem; line-height: 1.55; color: var(--on-dark-soft); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 1.25rem; }
.consent__btn {
	flex: 1 1 140px;
	min-height: 46px;
	padding: 0.7em 1.2em;
	border: 0;
	border-radius: 999px;
	font: 500 0.9375rem/1.2 var(--sans);
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
/* "Rifiuta" and "Accetta" have the same size and weight. */
.consent__btn--reject { background: var(--ceramica); color: var(--noce); }
.consent__btn--reject:hover { background: #fff; }
.consent__btn--accept,
.consent__btn--save { background: var(--oro); color: var(--noce); }
.consent__btn--accept:hover,
.consent__btn--save:hover { background: var(--oro-light); }
.consent__btn--save { flex-basis: 100%; order: -1; }
.consent__link {
	flex-basis: 100%;
	padding: 6px 0 0;
	border: 0;
	background: none;
	color: var(--on-dark);
	font: inherit;
	font-size: 0.875rem;
	text-align: center;
	text-decoration: underline;
	text-decoration-color: var(--oro);
	text-underline-offset: 0.3em;
	cursor: pointer;
}
@media (max-width: 599px) {
	.consent { left: 8px; right: 8px; bottom: 8px; width: auto; }
	.consent__box { padding: 22px 18px 18px; }
}

.site-footer__prefs {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: transparent;
	transition: color 0.2s, text-decoration-color 0.2s;
}
.site-footer__prefs:hover { color: #fff; text-decoration-color: var(--oro); }

/* external embeds loaded on consent (booking calendar) */
.embed [hidden] { display: none !important; }
.embed { position: relative; min-height: 420px; background: #fff; box-shadow: 0 30px 60px -30px rgb(35 27 22 / 0.35); }
.embed iframe { display: block; width: 100%; height: 760px; border: 0; }
.embed__consent { display: grid; align-content: center; justify-items: start; gap: 14px; min-height: 420px; padding: clamp(28px, 4vw, 48px); background: var(--ceramica-2); color: var(--ink); }
.embed__title { font-family: var(--serif); font-size: var(--fs-h3); }
.embed__consent p { max-width: 46ch; }
.embed__alt { font-size: 0.9375rem; color: var(--ink-soft); }
.embed__alt a { color: var(--ink); }
@media (max-width: 899px) { .embed iframe { height: 700px; } }

/* ---------------------------------------------------------------- Entry (privacy etc.) */
.entry { font-size: 1rem; }
.entry h2 { font-size: var(--fs-h3); margin-top: 2em; }
.entry h3 { font-size: 1.25rem; margin-top: 1.6em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.entry td,
.entry th { padding: 0.5em; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.entry img { max-width: 100%; height: auto; }
.entry th { font-weight: 500; }
.entry td { font-size: 0.875rem; }
@media (max-width: 699px) {
	.entry table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.entry table td,
	.entry table th { min-width: 140px; }
}

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

/* ---------------------------------------------------------------- Print */
@media print {
	.site-header,
	.book-band,
	.hero__toggle,
	.map,
	.booking__widget { display: none !important; }
	body,
	.section--dark,
	.cellar { background: #fff; color: #000; }
}
