/* ============================================================
   De'Longhi — Il Rituale del Caffè
   espresso brown · cream · brass — Italian serif ceremony
   ============================================================ */

@import url("../fonts/fonts.css");

:root {
  --espresso: #1c0f07;
  --coffee: #2b1a0e;
  --coffee-2: #3b2417;
  --cream: #f4ead8;
  --cream-2: #ead9be;
  --cream-3: #dfcbab;
  --brass: #c09a63;
  --brass-hi: #d8b57e;
  --oxblood: #7a2e2a;
  --ink: #2a1709;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Jost", "Gill Sans", "Trebuchet MS", sans-serif;
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: var(--espresso); }

img { max-width: 100%; display: block; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: rgba(192, 154, 99, .18);
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brass), var(--brass-hi));
}

/* ---------- ornamental framing ---------- */
.frame-outer {
  border: 1px solid var(--brass);
  padding: 6px;
  background: rgba(192, 154, 99, .04);
}
.frame-inner {
  border: 1px solid rgba(192, 154, 99, .45);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  height: 100%;
}

.flourish {
  display: flex; justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 0 0;
  color: var(--brass); opacity: .8;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .68rem;
  font-weight: 500;
  color: var(--brass);
}

/* ---------- buttons ---------- */
.btn-brass, .btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95em 1.9em;
  cursor: pointer;
  transition: all .45s var(--ease-soft);
  border: 1px solid var(--brass);
}
.btn-brass {
  background: linear-gradient(160deg, var(--brass), #a5834e);
  color: var(--espresso);
  font-weight: 600;
}
.btn-brass:hover { background: linear-gradient(160deg, var(--brass-hi), var(--brass)); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28, 15, 7, .28); }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: rgba(192, 154, 99, .14); }

kbd {
  font-family: var(--sans);
  font-size: .72em;
  border: 1px solid var(--brass);
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: .1em .45em;
  margin: 0 .1em;
  background: rgba(192, 154, 99, .1);
}

/* ============================================================
   MENU BAR — the cafe menu
   ============================================================ */
.menu-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem clamp(.9rem, 3vw, 2rem);
  background: rgba(28, 15, 7, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(192, 154, 99, .35);
  transition: transform .5s var(--ease-soft);
}
.menu-bar.is-hidden { transform: translateY(-110%); }
.brand-mark { height: 17px; width: auto; filter: brightness(0) invert(93%) sepia(18%) saturate(430%) hue-rotate(-12deg); }
.menu-nav { flex: 1; overflow-x: auto; scrollbar-width: none; display: flex; }
.menu-nav::-webkit-scrollbar { display: none; }
.menu-list {
  display: flex; gap: clamp(1rem, 2.6vw, 2.2rem);
  list-style: none; white-space: nowrap; margin-left: auto;
}
.menu-list a {
  display: flex; align-items: baseline; gap: .45em;
  text-decoration: none; color: var(--cream-2);
  font-size: .8rem; padding: .3em 0;
  transition: color .3s;
}
.menu-list a:hover, .menu-list a.is-active { color: var(--brass-hi); }
.menu-num { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: .85em; }
.menu-name { font-family: var(--serif); font-size: 1.06em; letter-spacing: .04em; }
.menu-leader { width: clamp(8px, 1.4vw, 26px); border-bottom: 1px dotted rgba(192, 154, 99, .55); transform: translateY(-2px); }
.menu-note { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; opacity: .6; }

/* ============================================================
   HERO — L'Aperitivo
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 108%, rgba(122, 46, 42, .35), transparent 55%),
    radial-gradient(90% 70% at 50% 0%, #31200f 0%, var(--espresso) 60%, #120a05 100%);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
  padding: 5rem 1rem 3rem;
}
.steam-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(75% 60% at 50% 45%, transparent 40%, rgba(10, 5, 2, .55) 100%);
}
.hero-inner { position: relative; max-width: 660px; width: 100%; }
.hero-inner .frame-inner { padding: clamp(2rem, 6vw, 3.6rem) clamp(1.2rem, 4vw, 2.6rem); background: rgba(28, 15, 7, .35); }
.hero-logo { height: 26px; width: auto; margin: 0 auto 1.6rem; filter: brightness(0) invert(93%) sepia(18%) saturate(430%) hue-rotate(-12deg); }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 8.5vw, 5.4rem);
  line-height: .98;
  letter-spacing: .01em;
  margin: .6rem 0 1.2rem;
}
.hero-title em { font-style: italic; color: var(--brass-hi); }
.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.08rem);
  color: var(--cream-2);
  margin-bottom: 2rem;
  font-weight: 400;
}
.hero .btn-brass { border-color: var(--brass-hi); }

.scroll-cue {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--brass); opacity: .8;
}
.scroll-cue-line { width: 1px; height: 42px; background: linear-gradient(var(--brass), transparent); animation: cueDrop 2.6s var(--ease-soft) infinite; }
.scroll-cue-text { font-size: .62rem; letter-spacing: .4em; text-transform: uppercase; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   CHAPTERS — shared
   ============================================================ */
.chapter { padding: clamp(3.5rem, 9vw, 7rem) 1rem clamp(2.5rem, 6vw, 4rem); max-width: 1180px; margin: 0 auto; }
.chapter-dark {
  max-width: none;
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(192, 154, 99, .09), transparent 60%),
    var(--espresso);
  color: var(--cream);
}
.chapter-dark .chapter-head, .chapter-dark .ritual-stage, .chapter-dark .science-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }

.chapter-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.2rem, 6vw, 3.6rem); }
.chapter-num {
  font-family: var(--serif); font-style: italic;
  color: var(--brass); font-size: 1.05rem; letter-spacing: .12em;
}
.chapter-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.05; margin: .35rem 0 .9rem;
}
.chapter-sub { color: inherit; opacity: .82; font-size: .98rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   IL RITUALE — craft your cup
   ============================================================ */
.ritual-stage { max-width: 780px; margin: 0 auto; }

.cup-theatre { background: var(--cream); margin-bottom: 2.2rem; }
@media (min-width: 721px) and (min-height: 880px) {
  .cup-theatre { position: sticky; top: 64px; z-index: 5; transition: none; }
  .cup-theatre.is-settled { position: static; }
  .course { scroll-margin-top: 480px; }
}
.ritual-result { scroll-margin-top: 90px; }
.cup-theatre .frame-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.2rem; background: linear-gradient(180deg, #efe2cb, var(--cream)); }
#cupSvg { filter: drop-shadow(0 14px 24px rgba(28, 15, 7, .22)); }
#cupSvg rect { transition: y 1.1s var(--ease-soft), height 1.1s var(--ease-soft); }
.cup-steam path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.cup-steam.is-steaming { opacity: .85; }
.cup-steam.is-steaming path { animation: steamRise 3.2s ease-in-out infinite; }
.cup-steam.is-steaming path:nth-child(2) { animation-delay: .9s; }
.cup-steam.is-steaming path:nth-child(3) { animation-delay: 1.8s; }
@keyframes steamRise {
  0% { stroke-dashoffset: 60; opacity: 0; }
  30% { opacity: 1; }
  100% { stroke-dashoffset: -60; opacity: 0; }
}

.ritual-progress { display: flex; gap: .4rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.ritual-progress li {
  font-family: var(--serif); font-style: italic; font-size: .95rem;
  color: var(--brass);
  border: 1px solid rgba(192, 154, 99, .4);
  padding: .18em .7em;
  display: flex; gap: .45em; align-items: baseline;
  opacity: .45; transition: all .5s var(--ease-soft);
}
.ritual-progress li span { font-family: var(--sans); font-style: normal; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.ritual-progress li.is-done { opacity: 1; background: rgba(192, 154, 99, .14); }
.ritual-progress li.is-current { opacity: 1; border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass) inset; }

.course { border: 0; margin-bottom: 2rem; }
.course legend {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  margin-bottom: .9rem; padding: 0;
}
.course-num { color: var(--brass); font-style: italic; margin-right: .3em; }
.course-en { font-family: var(--sans); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin-left: .7em; vertical-align: middle; }

.course-options { display: grid; gap: .7rem; grid-template-columns: repeat(3, 1fr); }
.option-card {
  font-family: var(--sans); text-align: left; cursor: pointer;
  background: rgba(255, 252, 246, .75);
  border: 1px solid rgba(192, 154, 99, .45);
  padding: 1rem 1rem 1.15rem;
  display: flex; flex-direction: column; gap: .45rem;
  transition: all .45s var(--ease-soft);
  color: var(--ink);
}
.option-card:hover { transform: translateY(-3px); border-color: var(--brass); box-shadow: 0 10px 26px rgba(28, 15, 7, .12); }
.option-card.is-chosen {
  background: var(--coffee);
  color: var(--cream);
  border-color: var(--brass-hi);
  box-shadow: 0 12px 30px rgba(28, 15, 7, .25);
}
.option-name { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.option-desc { font-size: .8rem; opacity: .82; line-height: 1.45; }
.option-spec { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-top: auto; }
.option-card.is-chosen .option-spec { color: var(--brass-hi); }
.option-meter, .option-foam { height: 3px; background: rgba(192, 154, 99, .25); margin-top: auto; }
.option-meter i, .option-foam i { display: block; height: 100%; width: var(--m, 50%); background: var(--brass); }
.option-foam i { width: var(--f, 50%); }
.option-grind { display: flex; gap: 5px; margin-top: auto; }
.option-grind i { border-radius: 50%; background: var(--brass); }
.option-grind .g1 { width: 4px; height: 4px; }
.option-grind .g2 { width: 7px; height: 7px; }
.option-grind .g3 { width: 11px; height: 11px; }

.ritual-result { text-align: center; margin-top: 1rem; }
.ritual-result[hidden] { display: none; }
.ritual-result .frame-inner { background: var(--coffee); color: var(--cream); padding: clamp(1.6rem, 5vw, 3rem); }
.score-ring {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 9vw, 5rem);
  color: var(--brass-hi); line-height: 1; margin: .8rem 0 .2rem;
}
.score-ring small { font-size: .32em; color: var(--brass); }
.ritual-result h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; font-style: italic; margin-bottom: .6rem; }
.score-verdict { max-width: 46ch; margin: 0 auto 1.4rem; opacity: .9; font-size: .95rem; }
.recipe-card {
  display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem;
  max-width: 400px; margin: 0 auto 1.4rem; text-align: left;
  border-top: 1px dotted rgba(192, 154, 99, .5); border-bottom: 1px dotted rgba(192, 154, 99, .5);
  padding: 1rem 0;
  font-size: .86rem;
}
.recipe-card dt { font-family: var(--serif); font-style: italic; color: var(--brass-hi); font-size: 1rem; }
.recipe-card dd { margin: 0; }
.score-machine { font-size: .9rem; color: var(--brass-hi); margin-bottom: 1.6rem; }
.ritual-result-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.ritual-result .btn-ghost { color: var(--cream); }

/* ============================================================
   IL VERSO — pour game
   ============================================================ */
.pour-stage { max-width: 720px; margin: 0 auto; }
.pour-frame .frame-inner { position: relative; padding: 0; background: radial-gradient(closest-side, #33200f, var(--espresso)); }
#pourCanvas { display: block; width: 100%; height: auto; aspect-ratio: 1; touch-action: none; cursor: crosshair; }
.pour-hud {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; gap: 1rem;
  pointer-events: none;
}
.pour-hud-item { display: flex; align-items: center; gap: .6rem; }
.hud-label { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.milk-meter { width: 110px; height: 4px; background: rgba(244, 234, 216, .18); }
.milk-meter i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cream), #fff); transition: width .2s linear; }
.hud-value { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); min-width: 2.6em; }

.pour-overlay, .pour-result {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  background: rgba(28, 15, 7, .78);
  backdrop-filter: blur(3px);
  text-align: center; padding: 1.5rem;
  transition: opacity .6s var(--ease-soft);
}
.pour-result[hidden] { display: none; }
.pour-overlay-title { font-family: var(--serif); font-size: clamp(1.7rem, 5vw, 2.4rem); font-style: italic; color: var(--brass-hi); }
.pour-overlay-text { font-size: .9rem; color: var(--cream-2); line-height: 1.8; }
.pour-big-score { font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: var(--cream); }
.pour-big-score small { font-size: .4em; color: var(--brass); }
.controls-legend { text-align: center; margin-top: 1rem; font-size: .8rem; color: var(--cream-2); opacity: .85; }

/* ============================================================
   LA BUSSOLA — compass
   ============================================================ */
.compass-stage {
  display: grid; grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(1.4rem, 4vw, 3rem); align-items: start;
  max-width: 980px; margin: 0 auto;
}
.compass-rose .frame-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; background: linear-gradient(180deg, #efe2cb, var(--cream)); }
.compass-reading { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--coffee-2); }
.compass-controls { display: flex; flex-direction: column; gap: 1.4rem; }
.slider-row { display: flex; flex-direction: column; gap: .55rem; }
.slider-label { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.slider-label small { font-family: var(--sans); font-weight: 400; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--brass) var(--fill, 50%), rgba(192, 154, 99, .3) var(--fill, 50%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--brass);
  box-shadow: 0 2px 8px rgba(28, 15, 7, .25);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--brass);
}
.compass-match .frame-inner { text-align: center; }
.compass-match img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 1.1rem; border: 1px solid rgba(192, 154, 99, .4); }
.compass-match h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin: .3rem 0 .5rem; }
.compass-match p:last-child { font-size: .9rem; opacity: .85; }
.compass-match.is-switching .frame-inner { animation: matchFade .8s var(--ease-soft); }
@keyframes matchFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   LA SCIENZA — infographics
   ============================================================ */
.science-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
}
.science-card .frame-inner { background: rgba(244, 234, 216, .03); height: 100%; display: flex; flex-direction: column; }
.science-card-wide { grid-column: 1 / -1; }
.science-card figcaption {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  margin-bottom: 1rem; color: var(--cream);
}
.science-svg { width: 100%; height: auto; display: block; }
.science-note { font-size: .85rem; color: var(--cream-2); opacity: .85; margin-top: 1rem; }

.curve-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.science-card.is-in .curve-draw { animation: drawCurve 2.4s var(--ease-soft) .3s forwards; }
@keyframes drawCurve { to { stroke-dashoffset: 0; } }

.gauge-needle { transform: rotate(-90deg); transition: transform 2.2s var(--ease-soft) .3s; }
.science-card.is-in .gauge-needle { transform: rotate(18deg); }

.drip-anim path { animation: drip 1.6s linear infinite; }
.drip-anim path:nth-child(2) { animation-delay: .4s; }
.drip-anim path:nth-child(3) { animation-delay: .8s; }
@keyframes drip { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -18; } }

.layer-pop { opacity: 0; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.science-card.is-in .layer-pop { animation: layerPop .8s var(--ease-soft) forwards; animation-delay: var(--d); }
@keyframes layerPop { to { opacity: 1; transform: scaleY(1); } }

.map-wrap { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: center; }
.map-legend { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.map-legend li {
  font-size: .85rem; color: var(--cream-2); opacity: .8;
  border-left: 2px solid rgba(192, 154, 99, .35); padding-left: .9rem;
  transition: all .4s var(--ease-soft); cursor: default;
}
.map-legend li strong { font-family: var(--serif); font-size: 1.1rem; color: var(--brass-hi); font-weight: 600; }
.map-legend li.is-hot, .map-legend li:hover { opacity: 1; border-left-color: var(--brass-hi); transform: translateX(4px); }
.city-pulse { animation: cityPulse 2.8s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes cityPulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map-city { cursor: pointer; }

/* ============================================================
   LE MACCHINE
   ============================================================ */
.machine-list { display: flex; flex-direction: column; gap: clamp(2rem, 6vw, 4rem); max-width: 1020px; margin: 0 auto; }
.machine-story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3.5vw, 2.6rem); align-items: center;
}
.machine-story-flip .machine-fig { order: 2; }
.machine-fig { overflow: hidden; border: 1px solid rgba(192, 154, 99, .4); }
.machine-fig img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform 1.4s var(--ease-soft); }
.machine-story:hover .machine-fig img { transform: scale(1.045); }
.machine-copy .frame-inner { background: rgba(255, 252, 246, .6); }
.machine-copy h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin: .35rem 0 .7rem; }
.machine-copy p { font-size: .92rem; }
.machine-ritual { margin-top: .9rem; color: var(--oxblood); font-size: .88rem; }

.machine-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2.5vw, 1.6rem); }
.machine-mini { border: 1px solid rgba(192, 154, 99, .4); background: rgba(255, 252, 246, .6); }
.machine-mini img { width: 100%; height: 180px; object-fit: cover; }
.machine-mini figcaption {
  font-family: var(--serif); font-style: italic; font-size: .98rem;
  padding: .7rem .9rem; color: var(--coffee-2);
}

/* ============================================================
   IL SALUTO + FOOTER
   ============================================================ */
.saluto { text-align: center; }
.saluto-inner { max-width: 700px; margin: 0 auto; }
.saluto-inner .frame-inner { background: var(--coffee); color: var(--cream); padding: clamp(2.2rem, 6vw, 4rem) clamp(1.2rem, 4vw, 3rem); }
.saluto-line { font-family: var(--serif); font-size: clamp(1.25rem, 3.4vw, 1.7rem); font-style: italic; color: var(--cream-2); margin: 1rem 0 1.8rem; line-height: 1.4; }
.saluto-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.saluto .btn-ghost { color: var(--cream); }
.saluto-logo { height: 22px; width: auto; margin: 0 auto .9rem; filter: brightness(0) invert(93%) sepia(18%) saturate(430%) hue-rotate(-12deg); opacity: .9; }
.saluto-fine { font-size: .8rem; color: var(--brass); letter-spacing: .06em; }

.site-foot {
  text-align: center; padding: 2.2rem 1rem 2.6rem;
  font-size: .72rem; color: #7a5a38; opacity: .85;
  max-width: 620px; margin: 0 auto; line-height: 1.7;
  border-top: 1px dotted rgba(192, 154, 99, .4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .machine-story { grid-template-columns: 1fr; }
  .machine-story-flip .machine-fig { order: 0; }
  .compass-stage { grid-template-columns: 1fr; max-width: 560px; }
  .science-grid { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .italy-map { max-width: 280px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .menu-note, .menu-leader { display: none; }
  .menu-list { gap: 1.1rem; }
  .course-options { grid-template-columns: 1fr; }
  .cup-theatre { position: static; }
  #cupSvg { width: 190px; height: auto; }
  .machine-mini-grid { grid-template-columns: 1fr; }
  .machine-mini img { height: 150px; }
  .br-desk { display: none; }
  .recipe-card { grid-template-columns: 1fr; gap: .1rem; }
  .recipe-card dd { margin-bottom: .5rem; }
}
