/* ==========================================================================
   Tòpas — navigation, page transitions and inner pages
   (built on the tokens, fonts and components of main.css)
   ========================================================================== */

/* ---------- Top bar: navigation (top right) ---------- */
.topnav { display: flex; align-items: center; gap: 10px; }
.topnav__pill {
	position: relative;
	display: flex;
	padding: 5px;
	border-radius: 999px;
	background: var(--creme);
	box-shadow: 0 12px 30px -18px rgba(40, 6, 10, .55);
}
.topnav__list { position: relative; z-index: 1; display: flex; gap: 2px; }
.topnav__link {
	position: relative;
	display: block;
	padding: 10px 15px;
	border-radius: 999px;
	color: var(--rouge);
	text-decoration: none;
	font: 800 clamp(11px, .45vw + 8px, 14px)/1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .3s, background .3s;
}
.topnav__link[aria-current="page"] { background: var(--rouge); color: var(--creme); }
.topnav__blob {
	position: absolute;
	z-index: 0;
	left: 0;
	top: 5px;
	bottom: 5px;
	width: 60px;
	border-radius: 999px;
	background: var(--jaune);
	opacity: 0;
	transform: scale(.6);
	pointer-events: none;
}
.topnav__toggle {
	position: relative;
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--creme);
	color: var(--rouge);
	cursor: pointer;
	box-shadow: 0 12px 30px -18px rgba(40, 6, 10, .55);
	transition: background .35s;
}
.topnav__toggle i {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 3px;
	margin: -1.5px 0 0 -10px;
	border-radius: 3px;
	background: currentColor;
	transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.topnav__toggle i:first-of-type { transform: translateY(-4px); }
.topnav__toggle i:last-of-type { transform: translateY(4px) scaleX(.6); transform-origin: 100% 50%; }
.topnav__toggle:hover i:last-of-type { transform: translateY(4px); }
.topnav__toggle[aria-expanded="true"] { background: var(--jaune); }
.topnav__toggle[aria-expanded="true"] i:first-of-type { transform: rotate(45deg); }
.topnav__toggle[aria-expanded="true"] i:last-of-type { transform: rotate(-45deg); transform-origin: 50% 50%; }
@media (max-width: 980px) {
	.topnav__pill { display: none; }
	.topnav__toggle { display: block; }
}
@media (max-width: 760px) {
	.topnav__toggle { width: 44px; height: 44px; }
}

/* ---------- Full-screen navigation panel (tablet / mobile) ---------- */
.navpanel {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: grid;
	color: var(--creme);
}
.navpanel[hidden] { display: none; }
.navpanel__bg {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	overflow: hidden;
}
.navpanel__bg span { background: var(--rouge); }
.navpanel__bg span:nth-child(even) { background: #A70F31; }
.navpanel__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/fonds/motif-typo-4x5-rouge.svg") 50% 50% / 120% auto;
	opacity: .35;
	pointer-events: none;
}
.navpanel__inner {
	position: relative;
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 28px;
	min-height: 100%;
	padding: calc(var(--topbar-h) + 20px) var(--gutter) var(--gutter);
	overflow-y: auto;
}
.navpanel__list { display: grid; align-content: center; gap: .08em; font-size: min(12vw, 9vh, 104px); }
.navpanel__list li { overflow: hidden; padding: 0 .1em .04em 0; }
.navpanel__link {
	display: inline-flex;
	align-items: flex-start;
	gap: .2em;
	color: var(--creme);
	text-decoration: none;
	font: 800 1em/.98 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	transition: color .3s;
}
.navpanel__link b { font: 800 .3em/1 var(--f-cond); color: var(--jaune); padding-top: .25em; }
.navpanel__link:hover, .navpanel__link[aria-current="page"] { color: var(--jaune); }
.navpanel__link[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }
.navpanel__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 26px;
	padding-top: 22px;
	border-top: 2px solid rgba(239, 239, 227, .35);
	font-weight: 600;
	font-size: 15px;
}
.navpanel__status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 700 12px/1.1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
}
.navpanel__social { display: flex; gap: 16px; }
.navpanel__social a { text-decoration: none; font-weight: 700; }
.navpanel__social a:hover { color: var(--jaune); }
.navpanel__bar { min-height: 48px; }
.navpanel__bar svg { width: 1em; height: 1em; }

/* ---------- Page transition curtain (the five intro colours) ---------- */
.curtain {
	position: fixed;
	inset: 0;
	z-index: 230;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	pointer-events: none;
	visibility: hidden;
}
.curtain span { background: var(--c); transform: translateY(101%); }
.curtain.is-cover, .curtain.is-closing { visibility: visible; pointer-events: auto; }
.curtain.is-cover span { transform: none; }
.curtain__pincho {
	position: absolute;
	inset: 0;
	margin: auto;
	width: clamp(64px, 7vw, 96px);
	height: clamp(64px, 7vw, 96px);
	color: var(--creme);
	opacity: 0;
}
.curtain__pincho svg { width: 100%; height: 100%; animation: pincho-hop 1s cubic-bezier(.3, 0, .3, 1) infinite; transform-origin: 50% 100%; }
.curtain.is-cover .curtain__pincho { opacity: 1; }
.no-js .curtain { display: none; }
/* Safety net: if the JavaScript fails, the curtain fades away by itself. */
.js .curtain.is-cover { animation: intro-safety .6s 8s forwards; }
.js .curtain.is-run { animation: none; }
@media (prefers-reduced-motion: reduce) { .curtain.is-cover { visibility: hidden; } }

/* Home page reached from another page: short intro (no loading messages). */
.intro-quick .intro__msgs, .intro-quick .intro__word { visibility: hidden; }

/* Link in the "sixteen names" call to action */
.s-names__link { color: var(--jaune); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.s-names__link:hover { color: var(--creme); }

/* ---------- Brand scrollbar (mouse devices; replaces the native one) ---------- */
html.has-sbar { scrollbar-width: none; }
html.has-sbar::-webkit-scrollbar { display: none; }
/* Hidden from the first paint too (same media test as scrollbar.js): otherwise the native bar shows
   over the loader/curtain until the page script starts, then vanishes and the page jumps 17px.
   .boot-failed (set by the boot watchdog) gives it back when the script never starts. */
@media (pointer: fine) and (hover: hover) {
	html.js:not(.boot-failed) { scrollbar-width: none; }
	html.js:not(.boot-failed)::-webkit-scrollbar { display: none; }
}
.sbar {
	position: fixed;
	z-index: 125;
	right: 4px;
	top: calc(var(--topbar-h) + 6px);
	bottom: 14px;
	width: 18px;
	cursor: pointer;
	opacity: .55;
	transition: opacity .4s;
}
.sbar.is-awake, .sbar:hover, .sbar.is-drag { opacity: 1; }
.sbar.is-off, .nav-open .sbar, .lb-open .sbar { opacity: 0; pointer-events: none; }
.sbar__track, .sbar__fill {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 4px;
	margin-left: -2px;
	border-radius: 4px;
}
.sbar__track { background: rgba(40, 6, 10, .16); opacity: 0; transition: opacity .4s; }
.sbar:hover .sbar__track, .sbar.is-drag .sbar__track { opacity: 1; }
.sbar__fill { background: var(--jaune); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 0 1px rgba(40, 6, 10, .12); }
.sbar__thumb {
	position: absolute;
	left: 50%;
	top: 0;
	width: 10px;
	margin-left: -5px;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 3px;
	border-radius: 999px;
	background: var(--rouge);
	box-shadow: 0 0 0 2px var(--creme), 0 8px 18px -8px rgba(40, 6, 10, .7);
	cursor: grab;
	will-change: transform;
	transition: width .35s cubic-bezier(.3, 1.6, .5, 1), margin .35s cubic-bezier(.3, 1.6, .5, 1), background .3s;
}
.sbar__thumb i { width: 6px; height: 2px; border-radius: 2px; background: var(--creme); opacity: 0; transition: opacity .3s; }
.sbar:hover .sbar__thumb, .sbar.is-drag .sbar__thumb { width: 14px; margin-left: -7px; background: var(--jaune); box-shadow: 0 0 0 2px var(--rouge), 0 8px 18px -8px rgba(40, 6, 10, .7); }
.sbar:hover .sbar__thumb i, .sbar.is-drag .sbar__thumb i { opacity: 1; background: var(--rouge); }
.sbar.is-drag .sbar__thumb { cursor: grabbing; }
.sbar-dragging, .sbar-dragging * { user-select: none !important; }

/* Split titles of the inner pages: words never break between two letters */
.split-word-keep { display: inline-block; white-space: nowrap; }

/* Extra button colour */
.btn--rouge { --bg: var(--rouge); --fg: var(--creme); }
button.btn { border: 0; cursor: pointer; }
.btn svg:not(.btn__icon) { width: 1.1em; height: 1.1em; flex: none; }

/* ==========================================================================
   Page hero
   ========================================================================== */
.p-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--topbar-h) + clamp(40px, 6vw, 90px)) var(--gutter) clamp(90px, 9vw, 130px);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: clamp(30px, 4vw, 70px);
	background: var(--rouge);
	color: var(--creme);
	overflow: hidden;
	isolation: isolate;
}
.p-hero--creme { background: var(--creme-fond); color: var(--rouge); }
.p-hero--bleu { background: var(--bleu); }
.p-hero--wide { grid-template-columns: minmax(0, 1fr); align-content: start; }
.p-hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.p-hero__motif {
	position: absolute;
	left: 50%;
	top: 50%;
	width: max(110vw, 110vh * .8);
	max-width: none;
	transform: translate(-50%, -50%) rotate(-8deg);
	opacity: .55;
}
.p-hero__text { position: relative; z-index: 2; display: grid; gap: clamp(16px, 2vw, 28px); justify-items: start; }
.p-hero__kicker { color: var(--jaune); }
.p-hero--creme .p-hero__kicker { color: var(--orange-rouge); }
.p-hero__title { font-size: clamp(64px, 9.4vw, 172px); line-height: .86; }
.p-hero--wide .p-hero__title { font-size: clamp(64px, 12vw, 220px); }
.p-hero__lead { max-width: 30ch; font: 600 clamp(18px, .9vw + 12px, 27px)/1.3 var(--f-text); }
.p-hero__extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.p-hero__art { position: relative; z-index: 1; justify-self: center; width: min(100%, 560px); }
.p-hero .stamp { z-index: 3; right: calc(var(--gutter) + 1vw); top: calc(var(--topbar-h) + 26px); }
.p-hero--creme .stamp { color: var(--rouge); }
.p-hero--creme .stamp__icon { color: var(--orange-rouge); }
.p-hero--creme .s-hero__scroll i { background-image: linear-gradient(var(--rouge) 50%, transparent 0); }
.p-hero--bleu .p-hero__kicker { color: var(--jaune); }

/* Outlined watermark text drifting behind */
.p-water {
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(-6deg);
	pointer-events: none;
	white-space: nowrap;
}
.p-water__track {
	display: inline-flex;
	will-change: transform;
	font: 800 clamp(110px, 15vw, 260px)/.9 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 2px rgba(239, 239, 227, .2);
}
.p-water__track em { font-style: normal; -webkit-text-stroke-color: rgba(181, 222, 44, .45); }
.p-water--rouge .p-water__track { -webkit-text-stroke-color: rgba(178, 18, 54, .14); }

/* Menu hero: a fan of three photos */
.p-fan { position: relative; aspect-ratio: 1; perspective: 1200px; }
.p-fan__card {
	position: absolute;
	left: 21%;
	top: 8%;
	width: 58%;
	aspect-ratio: 4 / 5;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bordeaux);
	box-shadow: 0 40px 70px -36px rgba(40, 6, 10, .8);
	transition: transform .8s cubic-bezier(.3, 1.4, .5, 1);
}
.p-fan__card img:first-child { width: 100%; height: 100%; object-fit: cover; }
.p-fan__card--a { transform: rotate(-14deg) translate(-22%, 6%); }
.p-fan__card--b { transform: rotate(12deg) translate(24%, 4%); }
.p-fan__card--c { transform: rotate(-2deg); }
.p-fan__card--c::after {
	content: "";
	position: absolute;
	inset: 50% 0 0;
	background: linear-gradient(transparent, rgba(40, 6, 10, .6));
}
.p-fan__name { position: absolute; z-index: 1; left: 8%; bottom: 7%; width: 80%; height: auto; filter: drop-shadow(0 4px 18px rgba(40, 6, 10, .4)); }
.p-fan:hover .p-fan__card--a { transform: rotate(-20deg) translate(-36%, 4%); }
.p-fan:hover .p-fan__card--b { transform: rotate(18deg) translate(38%, 2%); }
.p-fan:hover .p-fan__card--c { transform: rotate(0deg) translateY(-4%) scale(1.03); }

/* About hero: illustration in a cream disc with a turning ring */
.p-disc {
	position: relative;
	width: min(100%, 470px);
	margin: 8% auto;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--creme);
	display: grid;
	place-items: center;
	box-shadow: 0 40px 80px -40px rgba(10, 40, 42, .75);
}
.p-disc__img { width: 84%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; animation: dish-bob 4.2s ease-in-out infinite; transform-origin: 50% 80%; }
.p-disc__ring { color: var(--creme); }
.p-disc__ring text { font-size: 11px; }

/* Contact hero: the steaming cazuela of the home page, bigger */
.p-hero__illu.s-visit__illu {
	position: relative;
	right: auto;
	bottom: auto;
	width: min(76%, 400px);
	margin: 12% auto;
	transform: none;
}

/* Gallery hero: endless strip of photos */
.p-strip { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(70px, 8vw, 110px); overflow: hidden; padding: 30px 0; transform: rotate(-3deg); }
.p-strip__track { display: flex; width: max-content; will-change: transform; }
.p-strip__group { display: flex; gap: clamp(14px, 1.6vw, 26px); padding-right: clamp(14px, 1.6vw, 26px); }
.p-strip__card {
	flex: none;
	width: clamp(150px, 15vw, 240px);
	aspect-ratio: 4 / 5;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 40px -26px rgba(96, 21, 13, .7);
}
.p-strip__card:nth-child(odd) { rotate: -4deg; }
.p-strip__card:nth-child(even) { rotate: 3deg; translate: 0 14px; }
.p-strip__card img { width: 100%; height: 100%; object-fit: cover; }
.p-hero--wide .p-hero__text { padding-bottom: clamp(260px, 26vw, 400px); }

/* ==========================================================================
   Sections
   ========================================================================== */
.p-sec { position: relative; padding: clamp(90px, 11vw, 170px) var(--gutter); overflow-x: clip; }
.p-sec--creme { background: var(--creme-fond); color: var(--rouge); }
.p-sec--bleu { background: var(--bleu); color: var(--creme); }
.p-sec--jaune { background: var(--jaune); color: var(--rouge); }
.p-sec--rouge { background: var(--rouge); color: var(--creme); }
.p-head { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(40px, 5vw, 80px); max-width: 980px; }
.p-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.p-head__k { color: var(--orange-rouge); }
.p-sec--bleu .p-head__k, .p-sec--rouge .p-head__k, .p-drinks .p-head__k { color: var(--jaune); }
.p-sec--jaune .p-head__k { color: var(--rouge); }
.p-head__title { font-size: clamp(50px, 7.4vw, 140px); }
.p-head__text { max-width: 44ch; font-weight: 600; font-size: clamp(17px, .5vw + 14px, 22px); line-height: 1.4; }
/* ---------- Menu board: category tabs + tables ---------- */
.p-carta .p-head { margin-inline: auto; justify-items: center; text-align: center; }
.mtabs { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }
.mtabs__bar {
	position: sticky;
	top: calc(var(--topbar-h) + 4px);
	z-index: 6;
	display: flex;
	gap: 4px;
	width: max-content;
	max-width: 100%;
	margin: 0 auto clamp(26px, 3vw, 44px);
	padding: 6px;
	border-radius: 999px;
	background: var(--creme);
	box-shadow: 0 0 0 2px var(--rouge), 0 18px 40px -24px rgba(96, 21, 13, .6);
	overflow-x: auto;
	scrollbar-width: none;
}
.mtabs__bar::-webkit-scrollbar { display: none; }
.mtabs__ind {
	position: absolute;
	z-index: 0;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 120px;
	border-radius: 999px;
	background: var(--rouge);
	transition: transform .55s cubic-bezier(.3, 1.35, .5, 1), width .55s cubic-bezier(.3, 1.35, .5, 1);
}
.mtabs__tab {
	position: relative;
	z-index: 1;
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--rouge);
	font: 800 clamp(13px, .5vw + 10px, 17px)/1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: color .35s;
}
.mtabs__tab b { font: 800 1.2em/1 var(--f-cond); color: var(--orange-rouge); transition: color .35s; }
.mtabs__tab:hover:not([aria-selected="true"]) { color: var(--orange-rouge); }
.mtabs__tab[aria-selected="true"] { color: var(--creme); }
.mtabs__tab[aria-selected="true"] b { color: var(--jaune); }
.mtabs__ico { width: 26px; height: 26px; flex: none; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.mtabs__tab:hover .mtabs__ico, .mtabs__tab[aria-selected="true"] .mtabs__ico { transform: rotate(-12deg) scale(1.15); }
.mtabs__panel[hidden] { display: none; }
.mtabs__panel:focus-visible { outline-offset: 10px; }
.mtabs__intro { margin-bottom: clamp(14px, 1.6vw, 24px); text-align: center; font-weight: 600; font-size: clamp(16px, .4vw + 13px, 20px); }
.mtabs__note { position: relative; z-index: 2; margin-top: clamp(24px, 3vw, 40px); text-align: center; font-weight: 600; font-size: clamp(15px, .3vw + 13px, 18px); opacity: .85; }

.mtable { width: 100%; border-collapse: separate; border-spacing: 0; }
.mtable thead th {
	padding: 0 16px 12px;
	text-align: left;
	font: 700 clamp(10px, .3vw + 8px, 12px)/1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	color: var(--orange-rouge);
	border-bottom: 3px solid var(--rouge);
}
.mtable .mtable__n { width: 4.6em; }
.mtable .mtable__p, .mrow__price { text-align: right; }
.mrow > * {
	padding: clamp(14px, 1.3vw, 22px) 16px;
	border-bottom: 2px dashed rgba(178, 18, 54, .28);
	vertical-align: middle;
	transition: background .35s, color .35s;
}
.mrow > :first-child { border-radius: 16px 0 0 16px; }
.mrow > :last-child { border-radius: 0 16px 16px 0; }
.mrow:hover > * { background: var(--jaune); border-bottom-color: transparent; }
.mrow__n { font: 800 clamp(20px, 1.6vw, 28px)/1 var(--f-cond); color: var(--orange-rouge); }
.mrow__name {
	text-align: left;
	white-space: nowrap;
	font: 800 clamp(26px, 2.6vw, 46px)/.95 var(--f-cond);
	text-transform: uppercase;
	transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), background .35s;
}
.mrow:hover .mrow__name { transform: translateX(8px); }
.mrow__desc { font-weight: 600; font-size: clamp(15px, .35vw + 13px, 18px); line-height: 1.35; }
.mrow__price { white-space: nowrap; font: 800 clamp(22px, 1.8vw, 32px)/1 var(--f-cond); }

/* Floating preview of the hovered dish */
.mprev {
	position: fixed;
	z-index: 115;
	left: 0;
	top: 0;
	width: clamp(180px, 15vw, 240px);
	aspect-ratio: 4 / 5;
	margin: -190px 0 0 30px;
	border-radius: 20px;
	overflow: hidden;
	background: radial-gradient(circle at 70% 20%, rgba(181, 222, 44, .25), transparent 60%), var(--rouge);
	box-shadow: 0 0 0 3px var(--creme), 0 30px 60px -30px rgba(40, 6, 10, .75);
	pointer-events: none;
	opacity: 0;
}
.mprev::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(40, 6, 10, .65)); }
.mprev [hidden] { display: none; }

/* ---------- Menu: how it works ---------- */
.p-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.6vw, 44px);
	max-width: 1240px;
	margin: 0 auto;
}
.p-steps li {
	position: relative;
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 18px;
	padding: clamp(34px, 3.4vw, 56px) clamp(20px, 2vw, 34px);
	border-radius: 30px;
	background: var(--creme);
	color: var(--rouge);
	text-align: center;
	box-shadow: 0 30px 60px -36px rgba(96, 21, 13, .6);
}
.p-steps li:nth-child(1) { rotate: -3deg; }
.p-steps li:nth-child(2) { rotate: 1.5deg; translate: 0 28px; }
.p-steps li:nth-child(3) { rotate: 3deg; }
.p-steps__n {
	position: absolute;
	top: -24px;
	left: -10px;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--orange-rouge);
	color: var(--creme);
	font: 800 34px/1 var(--f-cond);
}
.p-steps__picto { width: clamp(76px, 7vw, 116px); height: auto; color: var(--rouge); animation: float 3.6s ease-in-out infinite; }
.p-steps li:nth-child(2) .p-steps__picto { animation-delay: -1.2s; }
.p-steps li:nth-child(3) .p-steps__picto { animation-delay: -2.4s; }
.p-steps p { font: 800 clamp(26px, 2.5vw, 42px)/1 var(--f-cond); text-transform: uppercase; }
.p-steps em { font-style: normal; color: var(--orange-rouge); }

/* ---------- Drinks (2D hands toasting) ---------- */
.p-drinks {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	padding: clamp(90px, 11vw, 170px) var(--gutter);
	background: var(--rouge);
	color: var(--creme);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(30px, 4vw, 70px);
	overflow-x: clip;
}
.p-drinks__disc {
	position: absolute;
	left: -6vw;
	top: 50%;
	width: min(54vw, 86vh);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--jaune);
	translate: 0 -50%;
}
.p-drinks__salud {
	position: absolute;
	z-index: 2;
	top: 2%;
	left: 50%;
	translate: -50% 0;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--orange-rouge);
	color: var(--creme);
	font: 800 clamp(24px, 2.6vw, 44px)/1 var(--f-cond);
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 18px 30px -16px rgba(40, 6, 10, .6);
}
.p-drinks__text { position: relative; z-index: 2; display: grid; gap: 18px; justify-items: start; }
.p-drinks__text .p-head__title { font-size: clamp(48px, 6.2vw, 116px); }

/* ---------- Call to action ---------- */
.p-cta {
	position: relative;
	padding: clamp(90px, 11vw, 170px) var(--gutter) calc(clamp(90px, 11vw, 170px) + 2 * var(--wave));
	background: var(--creme);
	color: var(--rouge);
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 24px;
	overflow: hidden;
}
.p-cta__big { font: 800 clamp(64px, 12vw, 230px)/.85 var(--f-cond); text-transform: uppercase; }
.p-cta__big .split-char { transition: color .3s; }
.p-cta__text { max-width: 40ch; font-weight: 600; font-size: clamp(17px, .6vw + 13px, 22px); }
.p-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Gallery ---------- */
.p-gal { padding-top: clamp(50px, 6vw, 90px); }
.p-gal__bar {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: clamp(34px, 4vw, 64px);
}
.p-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.p-chip, .p-topics span {
	display: inline-block;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: inset 0 0 0 2px currentColor;
	color: var(--rouge);
	font: 800 clamp(12px, .4vw + 9px, 15px)/1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .3s, color .3s, box-shadow .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.p-chip:hover, .p-topics label:hover span { transform: translateY(-3px) rotate(-2deg); background: var(--jaune); box-shadow: none; }
.p-chip[aria-pressed="true"], .p-topics input:checked + span { background: var(--rouge); color: var(--creme); box-shadow: none; transform: rotate(-2deg); }
.p-gal__count { font: 800 clamp(13px, .5vw + 10px, 17px)/1 var(--f-title); font-stretch: 125%; text-transform: uppercase; }
.p-gal__count b { font: 800 2.6em/1 var(--f-cond); color: var(--orange-rouge); vertical-align: -.25em; margin-right: .1em; }

.ggrid { position: relative; z-index: 1; columns: 3 280px; column-gap: clamp(16px, 2.2vw, 34px); }
.gtile { break-inside: avoid; padding-top: 18px; margin-bottom: clamp(10px, 1.4vw, 22px); }
.gtile[hidden] { display: none; }
.gtile__btn {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-align: left;
	cursor: pointer;
	perspective: 1000px;
}
.gtile__frame {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--rouge);
	box-shadow: 0 34px 60px -36px rgba(96, 21, 13, .6);
	transform-style: preserve-3d;
}
.gtile__frame::after {
	content: "";
	position: absolute;
	inset: 55% 0 0;
	background: linear-gradient(transparent, rgba(40, 6, 10, .5));
	opacity: 0;
	transition: opacity .5s;
	pointer-events: none;
}
.gtile__btn:hover .gtile__frame::after { opacity: 1; }
.gtile__img { width: 100%; height: auto; scale: 1.12; transition: scale 1.1s var(--ease); }
.gtile__btn:hover .gtile__img { scale: 1.2; }
.gtile__num {
	position: absolute;
	z-index: 3;
	top: -.55em;
	right: -.1em;
	font: 800 clamp(36px, 3.4vw, 60px)/1 var(--f-cond);
	color: var(--orange-rouge);
	transition: transform .5s cubic-bezier(.3, 1.8, .5, 1);
}
.gtile__btn:hover .gtile__num { transform: rotate(-10deg) scale(1.15); }

/* Lightbox */
.lb {
	position: fixed;
	inset: 0;
	z-index: 140;
	display: grid;
	place-items: center;
	padding: calc(var(--topbar-h) + 10px) clamp(76px, 8vw, 130px) 36px;
	color: var(--creme);
}
.lb[hidden] { display: none; }
.lb__backdrop { position: absolute; inset: 0; background: var(--rouge); }
.lb__backdrop::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/fonds/motif-typo-4x5-rouge.svg") 50% 50% / 110% auto;
	opacity: .3;
}
.lb__ui {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	height: var(--topbar-h);
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.lb__num { font: 800 clamp(26px, 2vw, 36px)/1 var(--f-cond); color: var(--jaune); }
.lb__close, .lb__nav {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--creme);
	color: var(--rouge);
	cursor: pointer;
	transition: background .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.lb__close:hover, .lb__nav:hover { background: var(--jaune); transform: scale(1.08) rotate(-8deg); }
.lb__close svg, .lb__nav svg { width: 22px; height: 22px; }
.lb__nav { position: absolute; z-index: 2; top: 50%; margin-top: -28px; }
.lb__nav--prev { left: var(--gutter); }
.lb__nav--next { right: var(--gutter); }
.lb__stage { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; margin: 0; max-width: 100%; touch-action: pan-y; }
.lb__img {
	max-width: min(100%, 1280px);
	max-height: calc(100vh - var(--topbar-h) - 170px);
	max-height: calc(100svh - var(--topbar-h) - 170px);
	width: auto;
	height: auto;
	border-radius: var(--radius);
	box-shadow: 0 40px 90px -40px rgba(20, 2, 6, .85);
	user-select: none;
	-webkit-user-drag: none;
}
.lb__cap { display: grid; justify-items: center; gap: 10px; max-width: 60ch; text-align: center; font-weight: 600; font-size: 15px; }

/* ---------- About ---------- */
.p-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.p-split__text { display: grid; gap: 18px; justify-items: start; }
.p-split__text .p-head__title { margin-bottom: 10px; }
.p-body { max-width: 42ch; font-weight: 600; font-size: clamp(18px, .7vw + 13px, 25px); line-height: 1.35; }
.p-recipe { display: grid; }
.p-recipe li {
	display: grid;
	grid-template-columns: 3em auto;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 2px solid rgba(239, 239, 227, .25);
}
.p-recipe b { font: 800 clamp(14px, 1vw + 6px, 20px)/1 var(--f-cond); color: var(--jaune); }
.p-recipe span { font: 800 clamp(30px, 3.2vw, 56px)/1 var(--f-cond); text-transform: uppercase; }
.p-recipe em { grid-column: 2; font-style: normal; font-size: 15px; opacity: .85; }
.p-recipe li:hover span { color: var(--jaune); }
.p-idea__photo {
	position: relative;
	margin-top: 36px;
	border-radius: var(--radius);
	overflow: hidden;
	rotate: 3deg;
	box-shadow: 0 40px 70px -40px rgba(40, 6, 10, .8);
}
.p-idea__photo img:first-child { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.p-idea__name { position: absolute; left: 6%; bottom: 7%; width: 46%; filter: drop-shadow(0 4px 18px rgba(40, 6, 10, .45)); }

.p-place .p-water { top: 46%; }
.p-feats {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 30px);
	max-width: 1340px;
	margin: 0 auto;
}
.p-feats li {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 14px;
	padding: clamp(26px, 2.6vw, 40px) clamp(18px, 1.6vw, 26px);
	border-radius: 28px;
	background: rgba(0, 0, 0, .13);
	text-align: center;
	transition: background .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.p-feats li:hover { background: rgba(0, 0, 0, .22); transform: translateY(-6px) rotate(-1deg); }
.p-feats .s-visit__bubble { width: 96px; height: 96px; }
.p-feats .s-visit__bubble svg { width: 60px; height: 60px; }
.p-feats li:nth-child(2) .s-visit__bubble { animation-delay: -.9s; }
.p-feats li:nth-child(3) .s-visit__bubble { animation-delay: -1.8s; }
.p-feats li:nth-child(4) .s-visit__bubble { animation-delay: -2.7s; }
.p-feats li:hover .s-visit__bubble { background: var(--jaune); animation: wiggle .6s ease-in-out; }
.p-feats h3 { margin: 0; font: 800 clamp(24px, 2.1vw, 36px)/1 var(--f-cond); text-transform: uppercase; color: var(--jaune); }
.p-feats p { font-weight: 600; font-size: clamp(15px, .3vw + 13px, 18px); line-height: 1.35; }
.p-place__btns { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(40px, 5vw, 70px); }

.p-amigos .duo__illu-in img { width: 100%; height: 100%; }
.p-amigos { padding-bottom: clamp(90px, 11vw, 170px); }

.p-makers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); perspective: 1300px; }
.p-maker {
	position: relative;
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 12px;
	padding: clamp(28px, 3.4vw, 56px);
	border-radius: 32px;
	background: var(--rouge);
	color: var(--creme);
	text-decoration: none;
	transform-style: preserve-3d;
	box-shadow: 0 40px 70px -40px rgba(96, 21, 13, .7);
}
.p-maker:nth-child(1) { rotate: -1.5deg; }
.p-maker:nth-child(2) { rotate: 1.5deg; background: var(--bleu); }
.p-maker .kicker { color: var(--jaune); }
.p-maker__icon { width: 70px; color: var(--jaune); transform-origin: 50% 90%; }
.p-maker__icon svg { width: 100%; height: auto; }
.p-maker:hover .p-maker__icon { animation: toque .9s cubic-bezier(.3, 1.6, .5, 1); }
.p-maker__name { font: 800 clamp(30px, 3.4vw, 64px)/.9 var(--f-title); font-stretch: 125%; text-transform: uppercase; }
.p-maker__text { max-width: 34ch; font-weight: 600; font-size: clamp(16px, .4vw + 13px, 20px); }
.p-maker__url {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font: 800 14px/1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	color: var(--jaune);
}
.p-maker__url svg { width: 1.1em; height: 1.1em; transition: transform .5s var(--ease); }
.p-maker:hover .p-maker__url svg { transform: translate(4px, -4px) rotate(8deg); }

/* ---------- Contact ---------- */
.p-hours .s-hours__disc { right: -7vw; }
.p-hours__note { position: relative; z-index: 2; margin-top: 22px; max-width: 40ch; font-weight: 600; font-size: clamp(15px, .4vw + 12px, 19px); }
.p-hours__note a { font-weight: 800; }

.p-write .p-split { align-items: start; }
.p-write .p-head__title { font-size: clamp(40px, 5.2vw, 92px); }
.p-lines { display: grid; gap: 14px; margin-top: 18px; }
.p-lines a { display: flex; align-items: center; gap: 16px; text-decoration: none; font: 800 clamp(22px, 1.6vw + 10px, 32px)/1.05 var(--f-cond); text-transform: uppercase; }
.p-lines small { display: block; margin-bottom: 4px; font: 700 11px/1 var(--f-title); font-stretch: 125%; color: var(--orange-rouge); }
.p-lines__mail { text-transform: none; word-break: break-all; }
.p-lines .s-visit__bubble { flex: none; width: 62px; height: 62px; background: var(--rouge); color: var(--creme); }
.p-lines .s-visit__bubble svg { width: 38px; height: 38px; }
.p-lines li:nth-child(2) .s-visit__bubble { animation-delay: -.7s; }
.p-lines li:nth-child(3) .s-visit__bubble { animation-delay: -1.4s; }
.p-lines li:nth-child(4) .s-visit__bubble { animation-delay: -2.1s; }
.p-lines li:nth-child(5) .s-visit__bubble { animation-delay: -2.8s; }
.p-lines a:hover .s-visit__bubble { background: var(--jaune); color: var(--rouge); animation: wiggle .6s ease-in-out; }

.p-form { display: grid; gap: 16px; width: 100%; margin: clamp(18px, 2.4vw, 30px) 0; color: var(--rouge); }
.p-form__title { font: 800 clamp(34px, 3.4vw, 58px)/.9 var(--f-cond); text-transform: uppercase; rotate: -2deg; justify-self: start; margin-bottom: 4px; }
.field { position: relative; }
.field input, .field textarea {
	display: block;
	width: 100%;
	padding: 26px 18px 10px;
	border: 2px solid rgba(178, 18, 54, .3);
	border-radius: 18px;
	background: #fff;
	color: var(--rouge);
	font: 600 17px/1.3 var(--f-text);
	transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 4px rgba(181, 222, 44, .65); }
.field label {
	position: absolute;
	left: 20px;
	top: 19px;
	font: 700 16px/1 var(--f-text);
	color: rgba(178, 18, 54, .7);
	pointer-events: none;
	transform-origin: 0 0;
	transition: transform .35s var(--ease), color .3s;
}
.field label i { font-style: normal; opacity: .7; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--orange-rouge); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--orange-rouge); box-shadow: 0 0 0 4px rgba(240, 56, 18, .18); }
.p-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; padding: 0; border: 0; }
.p-topics legend { width: 100%; margin-bottom: 10px; padding: 0; font: 700 12px/1 var(--f-title); font-stretch: 125%; text-transform: uppercase; }
.p-topics label { position: relative; }
.p-topics input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.p-topics span { padding: 10px 15px; font-size: 12px; }
.p-topics input:focus-visible + span { outline: 3px solid var(--jaune); outline-offset: 3px; }
.p-form__send { justify-self: start; margin-top: 6px; }
.p-form__note { font-size: 13px; opacity: .75; }
.p-form__done {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 16px;
	padding: 30px;
	text-align: center;
	background: var(--creme);
	font-weight: 600;
}
.p-form__done[hidden] { display: none; }
.p-form__done p { font: 800 clamp(56px, 6vw, 104px)/.9 var(--f-cond); text-transform: uppercase; color: var(--rouge); }
.p-form__done span { max-width: 30ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.p-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.p-hero { grid-template-columns: minmax(0, 1fr); align-content: start; }
	.p-hero__art { width: min(76vw, 460px); }
	.p-split { grid-template-columns: minmax(0, 1fr); }
	.p-drinks { grid-template-columns: minmax(0, 1fr); }
	.p-drinks__disc { top: auto; bottom: -10vw; translate: 0 0; left: -10vw; width: 100vw; }
	.p-steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 46px; }
	.p-steps li:nth-child(2) { translate: none; }
	.p-makers__grid { grid-template-columns: minmax(0, 1fr); }
	.lb { padding-left: var(--gutter); padding-right: var(--gutter); padding-bottom: 110px; }
	.lb__nav { top: auto; bottom: 30px; margin-top: 0; }
	.lb__nav--prev { left: calc(50% - 70px); }
	.lb__nav--next { right: calc(50% - 70px); }
	.lb__img { max-height: calc(100svh - var(--topbar-h) - 250px); }
}
@media (max-width: 760px) {
	.p-hero { padding-top: calc(var(--topbar-h) + 44px); padding-bottom: 96px; }
	.p-hero__title { font-size: 16vw; }
	.p-hero--wide .p-hero__title { font-size: 14vw; }
	.p-hero__illu.s-visit__illu { display: grid; width: min(64vw, 300px); margin: 18% auto 8%; }
	.p-hero__lead { font-size: 18px; }
	.p-hero .stamp { width: 84px; top: calc(var(--topbar-h) + 14px); right: var(--gutter); }
	/* Long kickers (menu) wrap before the stamp instead of running under it. */
	.p-hero:has(.stamp) .p-hero__kicker { max-width: calc(100% - 110px); }
	.p-hero .s-hero__scroll { display: none; }
	.p-hero__extra .btn { min-height: 48px; padding: .75em 1.2em; font-size: 13px; }
	.p-water__track { font-size: 30vw; }
	.p-fan { width: 84vw; margin: 0 auto; }
	.p-strip { bottom: 40px; }
	.p-strip__card { width: 120px; }
	.p-hero--wide .p-hero__text { padding-bottom: 230px; }

	.p-head__title { font-size: 13vw; }
	.p-steps p { font-size: 28px; }
	.mtabs__bar { width: 100%; top: calc(var(--topbar-h) + 10px); }
	.mtabs__tab { padding: 10px 14px; gap: 7px; font-size: 12px; }
	.mtabs__ico { width: 20px; height: 20px; }
	.mtable, .mtable tbody { display: block; }
	.mtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding: 14px 4px; border-bottom: 2px dashed rgba(178, 18, 54, .28); }
	.mrow > * { padding: 0; border: 0; border-radius: 0 !important; background: none !important; }
	.mrow__name { white-space: normal; font-size: 26px; }
	.mrow:hover .mrow__name { transform: none; }
	.mrow__desc { grid-column: 2 / -1; grid-row: 2; margin-top: 6px; font-size: 14.5px; }
	.mrow__price { grid-column: 3; grid-row: 1; font-size: 22px; }
	.p-drinks__text .p-head__title { font-size: 15vw; }
	.p-cta__big { font-size: 19vw; }
	.p-cta__btns .btn { min-height: 48px; font-size: 13px; }

	.ggrid { columns: 2 140px; column-gap: 12px; }
	.gtile { padding-top: 12px; margin-bottom: 8px; }
	.gtile__frame { border-radius: 16px; }
	.gtile__num { font-size: 28px; }
	.p-chip { padding: 10px 13px; font-size: 11px; }
	.lb__close, .lb__nav { width: 50px; height: 50px; }

	.p-feats { grid-template-columns: minmax(0, 1fr); }
	.p-feats li { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 18px; }
	.p-feats li .s-visit__bubble { grid-row: span 2; width: 72px; height: 72px; }
	.p-feats .s-visit__bubble svg { width: 44px; height: 44px; }
	.p-recipe span { font-size: 9vw; }
	.p-maker__name { font-size: 8.6vw; }
	/* The card URL was wider than the card on phones: smaller, and it may break after the slash. */
	.p-maker__url { display: block; font-size: 12px; line-height: 1.25; }
	.p-maker__url svg { display: inline-block; vertical-align: -.2em; margin-left: 2px; }

	.p-hours { padding-bottom: calc(100vw + 30px); }
	.p-lines a { font-size: 22px; }
	.p-write .p-head__title { font-size: 9.6vw; }
	.p-lines .s-visit__bubble { width: 52px; height: 52px; }
	.p-lines .s-visit__bubble svg { width: 32px; height: 32px; }
	.p-form { margin-top: 10px; }
}

/* Hero fallback (no WebGL): the 2D burger floats gently */
.s-hero__view .gl-fallback--burger { width: min(52vw, 560px); animation: burger-float 4.2s ease-in-out infinite; }
@keyframes burger-float {
	0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
	50% { transform: translate(-50%, -55%) rotate(3deg); }
}
@media (max-width: 760px) { .s-hero__view .gl-fallback--burger { width: 78vw; top: 62%; } }

/* ==========================================================================
   Coco Cubano content (text in place of the original lettering images)
   ========================================================================== */
/* Cravings wall: hand-lettering look with the condensed font */
.names-row__item--text {
	display: inline-flex;
	align-items: center;
	font: 800 clamp(54px, 8vw, 140px)/1 var(--f-cond);
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--creme);
	rotate: -2deg;
}
.names-row__item--text:nth-child(even) { rotate: 2deg; color: transparent; -webkit-text-stroke: 2px var(--creme); }
.names-row:nth-child(2) .names-row__item--text { color: var(--jaune); }
.names-row:nth-child(2) .names-row__item--text:nth-child(even) { color: transparent; -webkit-text-stroke-color: var(--jaune); }

/* Build sequence: dish title in place of the lettering image */
.s-build__big {
	font: 800 clamp(44px, 5.6vw, 96px)/.9 var(--f-cond);
	text-transform: uppercase;
	color: var(--creme);
	rotate: -3deg;
}
.s-build__twist .s-build__big { color: var(--jaune); }

/* Timings: "9 AM" stays on one line; the badge only shows while the café is open */
.hours__time span { white-space: nowrap; }
html:not(.is-open) .hours__row.is-today .hours__today { opacity: 0; transform: scale(.4); }
.hours__note { position: relative; z-index: 2; margin-top: 18px; font-weight: 600; font-size: clamp(15px, .4vw + 12px, 19px); }
/* Side-by-side layout (laptops, landscape tablets): the 3D drinks start at ~55vw, keep the note clear of them. */
@media (min-width: 1101px), (min-width: 761px) and (orientation: landscape) {
	.hours__note { max-width: calc(53vw - var(--gutter)); }
}
.hours__note a { font-weight: 800; }
.s-visit__soon { font-size: .62em; color: var(--jaune); }

@media (max-width: 760px) {
	.names-row__item--text { font-size: 15vw; }
	.s-build__big { font-size: 11vw; }
}

/* Café section (menu) and timings art (contact): the steaming dish in its ring */
.p-drinks__art { position: relative; z-index: 1; display: grid; place-items: center; min-height: min(70vh, 620px); }
.p-cafe__illu.p-hero__illu.s-visit__illu { width: min(72%, 420px); margin: 0; }
.p-cafe__illu .visit-ring { color: var(--rouge); }
.p-drinks__art .p-drinks__salud { top: 6%; }
.p-hours__art { display: grid; place-items: center; }
.p-hours__art .p-hero__illu.s-visit__illu { width: min(70%, 380px); margin: 0; }
.s-hours__dish { width: min(36vw, 420px); left: 72%; }

.mtabs__note a { font-weight: 800; }
@media (max-width: 960px) { .p-drinks__art { order: 2; min-height: 0; padding: 40px 0; } }
@media (max-width: 760px) {
	.p-cafe__illu.p-hero__illu.s-visit__illu { width: 62vw; }
	.p-hours__art .p-hero__illu.s-visit__illu { width: 58vw; }
}

/* Hero: the two-line COCO CUBANO wordmark sits a little higher and smaller,
   so the tagline and the status never run into it */
.s-hero__title { width: min(84vw, 1180px, 132vh); transform: translate(-50%, -58%); }
@media (max-width: 760px) { .s-hero__title { width: 92vw; } }

/* Timings art (contact) — own positioning, fixed-size dish */
.p-hours__art {
	position: absolute;
	z-index: 1;
	left: 54%;
	right: 0;
	top: 50%;
	translate: 0 -50%;
	height: min(72vh, 660px);
}
.p-hours__art .p-hero__illu.s-visit__illu { width: 380px; max-width: 80%; }
.p-cafe .p-head__title { font-size: clamp(40px, 4.8vw, 88px); }
@media (max-width: 760px) {
	.p-hours__art { left: 0; right: 0; top: auto; bottom: 0; translate: none; height: 96vw; }
	.p-hours__art .p-hero__illu.s-visit__illu { width: 60vw; }
	.p-cafe .p-head__title { font-size: 11vw; }
}

/* ==========================================================================
   English lettering (in place of the Spanish hand-lettering images)
   ========================================================================== */
.lettering {
	display: inline-block;
	font: 800 clamp(34px, 3.6vw, 60px)/.95 var(--f-cond);
	text-transform: uppercase;
	color: var(--orange-rouge);
	rotate: -3deg;
	text-wrap: balance;
}
.lettering--big { font-size: clamp(48px, 7vw, 124px); line-height: .9; }
.s-amigos__title .lettering { color: var(--rouge); }
.s-amigos__title .lettering::after, .s-hours__sign .lettering::after {
	content: "";
	display: block;
	width: 46%;
	height: .1em;
	margin: .12em auto 0;
	border-radius: 999px;
	background: var(--jaune);
}
.s-hours__sign .lettering { color: var(--orange-rouge); }
.s-hours__sign .lettering::after { margin-left: 0; }

/* ==========================================================================
   Menu: price ticker, search, wrapped tabs, panel heads, sections, tags, sticker
   ========================================================================== */
.m-ticker .marquee__word { padding-right: .2em; }
.m-ticker__price {
	display: inline-block;
	margin-right: .35em;
	padding: .12em .38em .08em;
	border-radius: 999px;
	background: var(--rouge);
	color: var(--creme);
	font: 800 .46em/1 var(--f-cond);
	rotate: -4deg;
	white-space: nowrap;
}
.m-ticker .marquee--b .m-ticker__price { background: var(--jaune); color: var(--rouge); font-size: .62em; }

.msearch {
	position: relative;
	z-index: 7;
	display: flex;
	align-items: center;
	gap: 12px;
	width: min(100%, 560px);
	margin: 0 auto 18px;
	padding: 6px 8px 6px 18px;
	border-radius: 999px;
	background: #fff;
	color: var(--rouge);
	box-shadow: 0 0 0 2px var(--rouge), 0 18px 40px -26px rgba(96, 21, 13, .6);
	transition: box-shadow .3s;
}
.msearch:focus-within { box-shadow: 0 0 0 2px var(--rouge), 0 0 0 7px rgba(181, 222, 44, .6); }
.msearch svg { width: 22px; height: 22px; flex: none; }
.msearch input {
	flex: 1;
	min-width: 0;
	padding: 12px 0;
	border: 0;
	background: none;
	color: var(--rouge);
	font: 600 17px/1.2 var(--f-text);
	outline: none;
}
.msearch input::placeholder { color: rgba(178, 18, 54, .55); }
.msearch__count {
	flex: none;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--jaune);
	font: 800 12px/1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
}
.msearch__count:empty { display: none; }
.msearch__empty { margin: 10px 0 30px; text-align: center; font-weight: 600; }
.msearch__empty span { font-weight: 800; color: var(--orange-rouge); }
.msearch__empty[hidden] { display: none; }

/* nine tabs: they wrap on wide screens (the indicator follows in x and y) */
.mtabs__bar { flex-wrap: wrap; justify-content: center; border-radius: 30px; }
.mtabs__ind { top: 0; bottom: auto; transition: transform .55s cubic-bezier(.3, 1.35, .5, 1), width .55s cubic-bezier(.3, 1.35, .5, 1), height .3s, opacity .3s; }
.is-searching .mtabs__tab[aria-selected="true"] { color: var(--rouge); }
.is-searching .mtabs__tab[aria-selected="true"] b { color: var(--orange-rouge); }

.mpanel__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px 24px;
	margin: 8px 0 18px;
	padding: 18px 22px;
	border-radius: 28px;
	background: var(--rouge);
	color: var(--creme);
}
.mpanel__ico {
	display: grid;
	place-items: center;
	width: clamp(64px, 6vw, 92px);
	height: clamp(64px, 6vw, 92px);
	border-radius: 50%;
	background: var(--jaune);
	color: var(--rouge);
	animation: float 3.6s ease-in-out infinite;
}
.mpanel__ico svg { width: 62%; height: 62%; }
.mpanel__title { margin: 0; font: 800 clamp(30px, 3.4vw, 58px)/.95 var(--f-title); font-stretch: 125%; text-transform: uppercase; }
.mpanel__head .mtabs__intro { margin: 6px 0 0; text-align: left; font-size: clamp(15px, .3vw + 13px, 18px); opacity: .9; }
.mpanel__count { display: grid; justify-items: end; text-align: right; }
.mpanel__count b { font: 800 clamp(44px, 4.6vw, 80px)/.85 var(--f-cond); color: var(--jaune); }
.mpanel__count span { font: 700 11px/1.2 var(--f-title); font-stretch: 125%; text-transform: uppercase; }
.is-searching .mpanel__head { padding: 10px 16px; }
.is-searching .mpanel__count { display: none; }

.msec__head th {
	padding: 26px 16px 10px;
	text-align: left;
	border-bottom: 3px solid var(--rouge);
}
.msec:first-of-type .msec__head th { padding-top: 10px; }
.msec__head span { font: 800 clamp(24px, 2.2vw, 38px)/1 var(--f-cond); text-transform: uppercase; color: var(--rouge); }
.msec__head small {
	display: inline-block;
	margin-left: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--jaune);
	color: var(--rouge);
	font: 700 11px/1 var(--f-title);
	font-stretch: 125%;
	text-transform: uppercase;
	vertical-align: .35em;
}
.mrow[hidden], .msec[hidden], .mtabs__panel[hidden] { display: none !important; }
.mrow__name span { margin-right: 8px; }
.mtag {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 22px;
	margin: 0 4px 0 0;
	padding: 0 6px;
	border-radius: 7px;
	font: 800 11px/1 var(--f-title);
	font-stretch: 110%;
	text-decoration: none;
	vertical-align: .45em;
	cursor: help;
}
.mtag--v { background: #2F8F46; color: #fff; }
.mtag--s { background: var(--orange-rouge); color: #fff; }
.mtag--gf { background: var(--orange); color: #fff; }
.mrow--spicy:hover .mtag--s { animation: wiggle .6s ease-in-out; }
.mrow__extra { font: 700 12px/1 var(--f-title); font-stretch: 125%; text-transform: uppercase; color: var(--orange-rouge); }
.mlegend { position: relative; z-index: 2; margin-top: 26px; text-align: center; font-weight: 600; }
.mlegend .mtag { margin-left: 14px; }

/* Price sticker following the pointer over a dish */
.mprev {
	width: auto;
	min-width: 170px;
	max-width: 260px;
	aspect-ratio: auto;
	margin: -150px 0 0 34px;
	padding: 16px 18px 18px;
	display: grid;
	justify-items: start;
	gap: 8px;
	border-radius: 24px;
	background: var(--creme);
	color: var(--rouge);
	box-shadow: 0 0 0 3px var(--rouge), 0 26px 50px -24px rgba(40, 6, 10, .7);
	overflow: visible;
}
.mprev::after { display: none; }
.mprev__ico {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--rouge);
	color: var(--creme);
}
.mprev__ico svg { width: 64%; height: 64%; fill: currentColor; }
.mprev__price {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--jaune);
	font: 800 18px/1 var(--f-cond);
	rotate: -3deg;
}
.mprev.is-spicy { box-shadow: 0 0 0 3px var(--orange-rouge), 0 26px 50px -24px rgba(40, 6, 10, .7); }
.mprev.is-spicy .mprev__ico { background: var(--orange-rouge); }
.p-cafe__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

@media (max-width: 760px) {
	.mtabs__bar { flex-wrap: nowrap; justify-content: flex-start; border-radius: 999px; }
	.msearch { margin-bottom: 14px; }
	.msearch input { font-size: 16px; }
	.mpanel__head { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; gap: 10px 14px; }
	.mpanel__count { display: none; }
	.msec__head th { padding: 22px 4px 8px; display: block; }
	.msec__head, .msec__head th { display: block; }
	.msec__head small { margin-left: 8px; }
	.mtag { height: 19px; min-width: 22px; font-size: 10px; vertical-align: .25em; }
	.lettering--big { font-size: 11vw; }
}

/* Breathing room between the horizontal gallery and the next section:
   cards sized to the viewport height so they never touch the bottom edge */
.s-gallery { padding-bottom: clamp(56px, 7vw, 130px); }
.s-gallery__track { padding-top: calc(var(--topbar-h) + min(190px, 17vh)); }
.card { width: min(clamp(210px, 22vw, 410px), 44vh); }
.card--end { width: min(clamp(240px, 28vw, 460px), 50vh); }
@media (max-width: 760px) {
	.s-gallery { padding-bottom: 60px; }
	.s-gallery__track { padding-top: calc(var(--topbar-h) + 120px); }
	.card { width: 66vw; }
	.card--end { width: 60vw; }
}

/* Menu table: fixed columns, names may wrap, descriptions get the room */
.mtable { table-layout: fixed; }
.mtable thead th:nth-child(2) { width: 34%; }
.mtable .mtable__p { width: 8.5em; }
.mrow__name { white-space: normal; text-wrap: balance; }
@media (max-width: 760px) { .mtable { table-layout: auto; } }

/* Price sticker: just the category icon and the price, as one pill */
.mprev {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	max-width: none;
	width: auto;
	margin: -78px 0 0 30px;
	padding: 8px 18px 8px 8px;
	border-radius: 999px;
}
.mprev__ico { width: 48px; height: 48px; flex: none; }
.mprev__price { padding: 0; background: none; rotate: none; font: 800 26px/1 var(--f-cond); white-space: nowrap; }

/* Loader, page curtain and hero stamps: the COCO CUBANO wordmark (it is wide, not square) */
.intro__brand, .curtain__brand { width: clamp(150px, 15vw, 230px); height: auto; aspect-ratio: 3604.8 / 1579.9; }
.intro__brand svg, .curtain__brand svg { display: block; width: 100%; height: 100%; }
.stamp__icon--logo { width: 62%; height: auto; aspect-ratio: 3604.8 / 1579.9; }
.stamp__icon--logo svg { display: block; width: 100%; height: 100%; }
