/* ==========================================================================
   Amore Mio — main stylesheet

   Layout idea: a candlelit evening. You arrive at the door (photos cut to the
   shape of the entrance gable), read the chalkboard, sit down for two, and
   leave with a table booked.

   1. Tokens          5. Buttons and links     9. Home sections
   2. Base            6. Brand pieces         10. Footer
   3. Type            7. Header               11. Menu page
   4. Layout          8. Hero                 12. Text pages
                                              13. Motion
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* Colour: cypress night, paper, lipstick red, candle brass */
  --notte: #0c211a;
  --notte-2: #12301f;
  --notte-3: #1a4029;
  --verde: #105c36;
  --crema: #f6efe1;
  --crema-2: #eadfca;
  --carta: #fefaf2;
  --inchiostro: #141414;
  --inchiostro-2: #55524a;
  --rosso: #c22b31;
  --rosso-scuro: #9e1f25;
  --oro: #c9a25e;
  --oro-chiaro: #e3c78f;
  --salvia: #a9b8a3;
  --line-on-dark: rgba(246, 239, 225, 0.16);
  --line-on-light: rgba(20, 20, 20, 0.14);

  /* Type */
  --f-display: "Gloock", "Playfair Display", Georgia, "Times New Roman", serif;
  --f-script: "Gwendolyn", "Segoe Script", "Brush Script MT", cursive;
  --f-body: "Jost", "Century Gothic", Futura, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.76rem, 0.74rem + 0.1vw, 0.82rem);
  --step-0: clamp(1rem, 0.97rem + 0.18vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.8vw, 3.8rem);
  --step-4: clamp(2.6rem, 1.5rem + 4.8vw, 5.6rem);

  /* Space and shape */
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 10vw, 150px);
  --header-h: 84px;
  --gable: polygon(50% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

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

body {
  margin: 0;
  background: var(--notte);
  color: var(--crema);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--rosso);
  color: var(--crema);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--crema);
  color: var(--inchiostro);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 3. Type ----------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
  line-height: 1.15;
}

p {
  margin: 0;
}

/* The handwritten accent: one or two words per heading, never a whole line */
.script {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 1.22em;
  line-height: 0.8;
  letter-spacing: 0;
  color: var(--oro-chiaro);
  padding-inline: 0.04em;
}

.band--light .script,
.band--paper .script {
  color: var(--rosso);
}

.eyebrow {
  position: relative;
  display: block;
  padding-left: 38px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--oro);
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 1.6em;
  background: url("../brand/sprig-oro.svg") center / contain no-repeat;
}

.band--light .eyebrow,
.band--paper .eyebrow {
  color: var(--verde);
}

.band--light .eyebrow::before,
.band--paper .eyebrow::before {
  background-image: url("../brand/sprig-verde.svg");
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  font-weight: 300;
  max-width: 34em;
  text-wrap: pretty;
}

.lost .lede {
  text-wrap: balance;
}

.muted {
  color: var(--salvia);
}

.band--light .muted,
.band--paper .muted {
  color: var(--inchiostro-2);
}

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

.band {
  position: relative;
  padding-block: var(--section);
}

.band--dark {
  background: var(--notte);
  color: var(--crema);
}

.band--deep {
  background: var(--notte-2);
  color: var(--crema);
}

.band--light {
  background: var(--crema);
  color: var(--inchiostro);
}

.band--paper {
  background: var(--carta);
  color: var(--inchiostro);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head h2 {
  margin-top: 20px;
}

.section-head p {
  max-width: 32em;
}

/* 5. Buttons and links ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  min-height: 52px;
  padding: 0.9em 1.7em;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.btn--primary {
  background: var(--rosso);
  color: var(--carta);
}

.btn--primary:hover {
  background: var(--rosso-scuro);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(194, 43, 49, 0.9);
}

.btn--ghost {
  border-color: currentColor;
}

.btn--ghost:hover {
  background: var(--crema);
  border-color: var(--crema);
  color: var(--inchiostro);
}

.band--light .btn--ghost:hover,
.band--paper .btn--ghost:hover {
  background: var(--inchiostro);
  border-color: var(--inchiostro);
  color: var(--crema);
}

.btn--small {
  min-height: 44px;
  padding: 0.7em 1.3em;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  letter-spacing: 0;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* 6. Brand pieces --------------------------------------------------------- */

/* The rule from the logo: green line, olive sprig, red line */
.tricolore {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 330px);
}

.tricolore::before,
.tricolore::after {
  content: "";
  flex: 1;
  height: 3px;
  border-radius: 3px;
}

.tricolore::before {
  background: var(--verde);
}

.tricolore::after {
  background: var(--rosso);
}

.tricolore img {
  width: 34px;
  flex: none;
}

.band--dark .tricolore::before,
.band--deep .tricolore::before,
.site-footer .tricolore::before {
  background: #1f8a53;
}

/* Photos cut to the shape of the entrance gable */
.gable {
  position: relative;
  margin: 0;
}

.gable__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: var(--gable);
}

.gable__line {
  position: absolute;
  inset: -14px -14px 0;
  width: calc(100% + 28px);
  height: calc(100% + 14px);
  color: var(--oro);
  pointer-events: none;
  overflow: visible;
}

.gable__line path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

/* The single-stroke heart from the sign above the door */
.heart {
  overflow: visible;
}

.heart path {
  fill: none;
  stroke: var(--rosso);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The round seal */
.seal {
  position: relative;
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--notte);
  color: var(--oro-chiaro);
  box-shadow: 0 0 0 1px var(--oro), 0 18px 40px -18px rgba(0, 0, 0, 0.8);
}

.seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: turn 40s linear infinite;
}

.seal text {
  fill: currentColor;
  font-family: var(--f-body);
  font-size: 10.4px;
  font-weight: 500;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.seal img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46%;
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

/* 7. Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--notte);
  color: var(--crema);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-header.is-stuck {
  background: rgba(12, 33, 26, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-on-dark);
}

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  width: 46px;
  height: auto;
}

.brand__word {
  width: 148px;
  height: auto;
  margin-top: 4px;
}

.nav ul {
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  position: relative;
  padding-block: 8px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--oro);
  transition: right 0.35s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-on-dark);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.burger span {
  width: 20px;
  height: 1.5px;
  background: var(--crema);
  transition: transform 0.3s var(--ease);
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px var(--gutter) 40px;
  background: var(--notte);
  color: var(--crema);
  overflow-y: auto;
}

.drawer a:not(.btn) {
  padding: 0.28em 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--f-display);
  font-size: 2rem;
  text-decoration: none;
}

.drawer .btn {
  margin-top: 28px;
}

.drawer__meta {
  margin-top: auto;
  padding-top: 28px;
  color: var(--salvia);
  font-size: 0.95rem;
}

/* 8. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 5vw, 72px) clamp(72px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}

/* The logo's couple, very large and very quiet, behind everything */
.hero__watermark {
  position: absolute;
  z-index: -1;
  left: -9%;
  bottom: -16%;
  width: min(62vw, 820px);
  max-width: none;
  opacity: 0.045;
  pointer-events: none;
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(22px, 2.6vw, 34px);
  min-width: 0;
}

.hero h1 {
  max-width: 9.5em;
}

.hero h1 .heart {
  display: inline-block;
  width: 0.62em;
  height: 0.58em;
  margin-left: 0.1em;
  vertical-align: 0.42em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  margin: 10px 0 0;
  width: 100%;
  border-top: 1px solid var(--line-on-dark);
}

.hero__facts div {
  padding: 18px 22px 0 0;
  min-width: 0;
}

.hero__facts div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line-on-dark);
}

.hero__facts dt {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--salvia);
}

.hero__facts dd {
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-size: 1.12rem;
  line-height: 1.3;
}

.hero__facts a {
  text-decoration: none;
}

.hero__facts a:hover {
  color: var(--oro-chiaro);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4fbf7d;
  box-shadow: 0 0 0 4px rgba(79, 191, 125, 0.18);
  vertical-align: 0.12em;
}

.is-closed .status-dot {
  background: var(--oro);
  box-shadow: 0 0 0 4px rgba(201, 162, 94, 0.18);
}

.hero__art {
  position: relative;
  min-width: 0;
  padding: 14px 14px 0 clamp(0px, 5vw, 70px);
}

/* Lantern light behind the door */
.hero__art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -22% -6% -18%;
  background: radial-gradient(48% 46% at 55% 46%, rgba(227, 199, 143, 0.26), rgba(227, 199, 143, 0.07) 55%, transparent 76%);
  pointer-events: none;
}

.hero__photo {
  aspect-ratio: 4 / 5;
  max-height: min(74vh, 720px);
  margin-left: auto;
}

.hero__inset {
  position: absolute;
  left: 0;
  bottom: clamp(24px, 5vw, 64px);
  width: clamp(150px, 42%, 270px);
  margin: 0;
  padding: 8px 8px 0;
  background: var(--carta);
  color: var(--inchiostro);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  transform: rotate(-3deg);
}

.hero__inset img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.hero__inset figcaption {
  padding: 4px 4px 8px;
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  text-align: center;
}

.hero .seal {
  position: absolute;
  right: -6px;
  top: 12%;
}

/* 9. Home sections -------------------------------------------------------- */

/* 9.1 What we cook */
.pillars__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--inchiostro);
}

.pillars__list li + li {
  border-left: 1px solid var(--line-on-light);
}

.pillars__list a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 30px 22px 34px;
  text-decoration: none;
  transition: background 0.35s, color 0.35s;
}

.pillars__list li:first-child a {
  padding-left: 0;
}

.pillars__list a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: calc(100% - 22px);
  top: -2px;
  height: 3px;
  background: var(--rosso);
  transition: right 0.45s var(--ease);
}

.pillars__list li:first-child a::after {
  left: 0;
  right: 100%;
}

.pillars__list a:hover::after,
.pillars__list a:focus-visible::after {
  right: 22px;
}

.pillars__it {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
  line-height: 1;
  transition: color 0.35s;
}

.pillars__list a:hover .pillars__it {
  color: var(--rosso);
}

.pillars__en {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
}

.pillars__txt {
  margin-top: 6px;
  color: var(--inchiostro-2);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* 9.2 Signature dishes */
.dishes__in {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}

.dishes__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-on-dark);
}

.dish {
  border-bottom: 1px solid var(--line-on-dark);
}

.dish__btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  align-items: baseline;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.dish__thumb {
  display: none;
}

.dish__name {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.08;
  transition: color 0.35s, transform 0.5s var(--ease);
}

.dish__price {
  font-family: var(--f-display);
  font-size: var(--step-1);
  color: var(--oro-chiaro);
  font-variant-numeric: tabular-nums;
}

.dish__desc {
  grid-column: 1 / -1;
  max-width: 34em;
  color: var(--salvia);
  transition: transform 0.5s var(--ease);
}

.dish.is-active .dish__name {
  color: var(--oro-chiaro);
}

.dishes__art {
  padding: 14px 14px 0;
}

.dishes__frame {
  aspect-ratio: 4 / 5;
}

.dishes__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: var(--gable);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}

.dishes__frame img.is-active {
  opacity: 1;
  transform: none;
}

.dishes__more {
  margin-top: clamp(36px, 4vw, 56px);
}

/* 9.3 The chalkboard */
.lavagna__in {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.board {
  position: relative;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 3.4vw, 46px) clamp(24px, 3vw, 40px);
  border: 14px solid;
  border-color: #6f4c31 #5c3e27 #4a3120 #624429;
  border-radius: 3px;
  background:
    radial-gradient(120% 70% at 15% 8%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(90% 60% at 90% 95%, rgba(255, 255, 255, 0.05), transparent 60%),
    #1a1f1d;
  color: #f4f0e7;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45), inset 0 0 90px rgba(0, 0, 0, 0.5), 0 50px 90px -50px rgba(0, 0, 0, 0.9);
  transform: rotate(-1.4deg);
}

.board__title {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.2rem);
  line-height: 1;
  text-align: center;
}

.board__sub {
  margin-top: 10px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  color: var(--oro-chiaro);
}

.board__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.board__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 18px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px dashed rgba(244, 240, 231, 0.28);
}

.board__label {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oro-chiaro);
}

.board__name,
.board__price {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem);
  line-height: 1.2;
}

/* Numbers stay in the serif: script digits are hard to read */
.board__price {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.2rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.lavagna__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* 9.4 Per due */
.perdue {
  overflow: hidden;
  isolation: isolate;
}

/* Candle glow */
.perdue::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  top: 8%;
  width: 70%;
  height: 90%;
  background: radial-gradient(45% 45% at 45% 55%, rgba(227, 199, 143, 0.2), transparent 72%);
  animation: flicker 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flicker {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  35% { opacity: 1; transform: scale(1.04); }
  60% { opacity: 0.75; transform: scale(0.98); }
}

.perdue__in {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.perdue__art {
  position: relative;
  padding: 14px clamp(40px, 6vw, 90px) 0 14px;
}

.perdue__photo {
  aspect-ratio: 4 / 5;
}

.perdue__small {
  position: absolute;
  right: 0;
  bottom: -30px;
  width: 38%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--notte);
  box-shadow: 0 30px 60px -30px #000;
}

.perdue__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.perdue__courses {
  width: 100%;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-on-dark);
}

.perdue__courses li {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 4px 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--f-display);
  font-size: 1.16rem;
  line-height: 1.35;
}

.perdue__courses span {
  font-family: var(--f-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
}

.perdue__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  width: 100%;
}

.perdue__price {
  color: var(--salvia);
}

.perdue__price strong {
  margin-right: 6px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--crema);
}

.perdue__note {
  font-size: 0.92rem;
}

/* 9.5 Story */
.story {
  padding-bottom: clamp(48px, 6vw, 90px);
}

.story__in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.story__body {
  display: grid;
  gap: 18px;
  max-width: 35em;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
}

.story__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
}

.story__facts div {
  padding-right: 20px;
}

.story__facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line-on-light);
}

.story__facts dt {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
}

.story__facts dd {
  margin: 8px 0 0;
  font-family: var(--f-display);
  font-size: 1.14rem;
  line-height: 1.3;
}

.story__art {
  position: relative;
  padding: 0 0 60px clamp(30px, 5vw, 70px);
}

.story__photo {
  aspect-ratio: 4 / 5;
}

.story__small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid var(--crema);
}

/* 9.6 An evening in pictures */
.serata {
  padding-top: 0;
}

.serata__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(130px, 15vw, 220px);
  gap: 14px;
}

.serata__grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--crema-2);
}

.serata__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}

.serata__grid figure:hover img {
  transform: scale(1.05);
}

.serata__grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 12px;
  background: linear-gradient(transparent, rgba(8, 24, 18, 0.72));
  color: var(--crema);
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
}

.serata__a { grid-column: span 5; grid-row: span 2; }
.serata__b { grid-column: span 4; }
.serata__c { grid-column: span 3; grid-row: span 2; }
.serata__d { grid-column: span 4; }
.serata__e { grid-column: span 4; }
.serata__f { grid-column: span 8; }

/* 9.7 Celebrations */
.celebrate__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.offer {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 34vw, 460px);
  overflow: hidden;
  background: var(--notte-2);
}

.offer > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 1.4s var(--ease), opacity 0.6s;
}

.offer:hover > img {
  transform: scale(1.04);
  opacity: 0.5;
}

.offer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 24, 18, 0.92));
}

.offer__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: clamp(24px, 3vw, 40px);
}

.offer h3 {
  font-size: var(--step-2);
}

.offer p {
  max-width: 30em;
  color: #ded6c6;
}

.offer .link-arrow {
  margin-top: 8px;
  color: var(--oro-chiaro);
}

/* 9.8 Booking request */
.book__in {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.book__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.book__notes {
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-on-dark);
}

.book__notes li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-dark);
  color: var(--salvia);
}

.book__notes strong {
  font-weight: 500;
  color: var(--crema);
}

.book__call {
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.2;
}

.book__call .muted {
  display: block;
  font-family: var(--f-body);
  font-size: var(--step-0);
}

.book__call a {
  text-decoration: none;
}

.book__call a:hover {
  color: var(--oro-chiaro);
}

.book__card {
  background: var(--carta);
  color: var(--inchiostro);
  padding: clamp(22px, 3.4vw, 48px);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.8);
}

.form {
  display: grid;
  gap: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field > legend {
  padding: 0;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
}

.field > legend {
  margin-bottom: 8px;
}

.optional {
  margin-left: 6px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--inchiostro-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7em 0.9em;
  border: 1px solid rgba(20, 20, 20, 0.28);
  border-radius: 2px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.4em;
  background-image: linear-gradient(45deg, transparent 50%, var(--inchiostro) 50%), linear-gradient(135deg, var(--inchiostro) 50%, transparent 50%);
  background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(16, 92, 54, 0.16);
}

.field [aria-invalid="true"] {
  border-color: var(--rosso);
}

.field__error,
.form__error {
  font-size: 0.9rem;
  color: var(--rosso-scuro);
}

.field__hint {
  font-size: 0.95rem;
  color: var(--inchiostro-2);
}

.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pick {
  min-width: 48px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(20, 20, 20, 0.28);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pick:hover:not([disabled]) {
  border-color: var(--inchiostro);
}

.pick[aria-pressed="true"] {
  background: var(--notte);
  border-color: var(--notte);
  color: var(--crema);
}

.pick[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
  text-decoration: line-through;
}

.pick--time {
  min-width: 76px;
}

.picks-group + .picks-group {
  margin-top: 14px;
}

.picks-group__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--inchiostro-2);
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__check {
  margin-top: 4px;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 8px;
}

.form__consent {
  max-width: 24em;
  font-size: 0.9rem;
  color: var(--inchiostro-2);
}

.book__done {
  display: grid;
  gap: 20px;
  justify-items: start;
  outline: none;
}

.book__done .heart {
  width: 64px;
  height: 60px;
}

.book__done h3 {
  font-size: var(--step-2);
}

.book__ticket {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--inchiostro);
}

.book__ticket div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-light);
}

.book__ticket dt {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
}

.book__ticket dd {
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.2;
}

.book__preview {
  padding: 10px 14px;
  background: var(--crema-2);
  font-size: 0.92rem;
}

.book__done .link-arrow {
  border-top: 0;
  border-inline: 0;
  background: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .book__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .book__intro {
    position: static;
  }
}

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__foot .btn {
    width: 100%;
  }

  .pick--time {
    min-width: 0;
    flex: 0 0 calc((100% - 16px) / 3);
  }
}

/* 9.9 Visit */
.visit__in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.visit__photo {
  margin: 0;
}

.visit__photo img {
  width: 100%;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.7);
}

.visit__photo figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--inchiostro-2);
}

.visit__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--inchiostro);
}

.visit__grid > div {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-block: 28px;
  border-bottom: 1px solid var(--line-on-light);
}

.visit__grid h3 {
  font-family: var(--f-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--verde);
}

.visit__grid address {
  font-style: normal;
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.3;
}

.visit__grid a:not(.link-arrow) {
  text-decoration: none;
  border-bottom: 1px solid var(--line-on-light);
}

.visit__grid a:not(.link-arrow):hover {
  color: var(--rosso);
  border-color: var(--rosso);
}

.visit__grid .hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.visit__grid .hours-list li.is-today {
  color: var(--verde);
  font-weight: 500;
}

.visit__status {
  font-size: 0.95rem;
}

.visit__status .status-dot {
  background: #2f9b5e;
}

.visit__status.is-closed .status-dot {
  background: var(--oro);
}

/* 9.10 Home sections on smaller screens */
@media (max-width: 1080px) {
  .pillars__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pillars__list li:nth-child(4) {
    border-left: 0;
  }

  .pillars__list li:nth-child(4) a {
    padding-left: 0;
  }

  .pillars__list li:nth-child(4) a::after {
    left: 0;
    right: 100%;
  }

  .pillars__list li:nth-child(n + 4) {
    border-top: 1px solid var(--line-on-light);
  }
}

@media (max-width: 900px) {
  .dishes__in,
  .lavagna__in,
  .perdue__in,
  .story__in,
  .visit__in {
    grid-template-columns: minmax(0, 1fr);
  }

  /* On phones each dish carries its own photo */
  .dishes__art {
    display: none;
  }

  .dish__thumb {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 14px;
  }

  .dish__btn {
    cursor: default;
  }

  .dish.is-active .dish__name {
    color: inherit;
  }

  .board {
    max-width: 520px;
    margin-inline: auto;
  }

  .perdue__art,
  .story__art {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .story__art {
    order: -1;
  }

  .visit__photo {
    max-width: 440px;
    margin-inline: auto;
  }

  .serata__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(120px, 28vw, 200px);
  }

  .serata__a { grid-column: span 6; grid-row: span 2; }
  .serata__b { grid-column: span 3; }
  .serata__c { grid-column: span 3; grid-row: span 2; }
  .serata__d { grid-column: span 3; }
  .serata__e { grid-column: span 3; }
  .serata__f { grid-column: span 3; }

  .celebrate__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .pillars__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars__list li + li,
  .pillars__list li:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line-on-light);
  }

  .pillars__list li:first-child {
    border-top: 0;
  }

  .pillars__list a,
  .pillars__list li:nth-child(4) a {
    padding: 22px 0 24px;
  }

  .pillars__list a::after,
  .pillars__list li:nth-child(4) a::after {
    left: 0;
    right: 100%;
  }

  .pillars__list a:hover::after {
    right: 0;
  }

  .perdue__courses li {
    grid-template-columns: minmax(0, 1fr);
  }

  .story__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .story__facts div,
  .story__facts div + div {
    padding: 0 0 16px;
    border-left: 0;
    border-bottom: 1px solid var(--line-on-light);
  }

  .visit__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .serata__grid figcaption {
    font-size: 1.2rem;
    padding: 30px 10px 8px;
  }
}

/* 10. Footer -------------------------------------------------------------- */
.site-footer {
  background: #081812;
  color: var(--crema);
  padding-block: clamp(64px, 8vw, 110px) 32px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr) minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 40px clamp(24px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.site-footer__brand img.lockup {
  width: min(240px, 70%);
}

.site-footer__brand p {
  max-width: 22em;
  color: var(--salvia);
}

.site-footer h3 {
  margin-bottom: 16px;
  font-family: var(--f-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oro);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--oro-chiaro);
}

.site-footer address {
  font-style: normal;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-variant-numeric: tabular-nums;
}

.hours-list li.is-today {
  color: var(--oro-chiaro);
}

.hours-list span:last-child {
  text-align: right;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.88rem;
  color: var(--salvia);
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* 11. Menu page ----------------------------------------------------------- */
.menu-hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(44px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.menu-hero .hero__watermark {
  left: auto;
  right: -4%;
  bottom: -85%;
  width: min(48vw, 600px);
}

.menu-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
}

.menu-hero h1 {
  margin-top: 18px;
  font-size: clamp(3.4rem, 2rem + 7vw, 7.5rem);
  line-height: 0.95;
}

/* Sticky bar: food or drinks, then the sections */
.menu-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: var(--notte-2);
  color: var(--crema);
  border-block: 1px solid var(--line-on-dark);
}

.menu-bar__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: 64px;
}

.seg {
  display: inline-flex;
  flex: none;
  border: 1px solid var(--oro);
  border-radius: 2px;
}

.seg button {
  min-height: 40px;
  padding: 0 1.3em;
  border: 0;
  background: transparent;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.seg button[aria-pressed="true"] {
  background: var(--crema);
  color: var(--inchiostro);
}

.menu-nav {
  min-width: 0;
  flex: 1;
}

.menu-nav ul {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
  margin: 0;
  padding: 0 30px 0 18px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent);
}

.menu-nav ul::-webkit-scrollbar {
  display: none;
}

.menu-nav a {
  display: block;
  padding: 21px 0 19px;
  border-bottom: 2px solid transparent;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--salvia);
  transition: color 0.25s, border-color 0.25s;
}

.menu-nav a:hover,
.menu-nav a.is-current {
  color: var(--oro-chiaro);
}

.menu-nav a.is-current {
  border-bottom-color: var(--oro);
}

.menu-page {
  padding-top: clamp(32px, 4vw, 56px);
}

.menu-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 44px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-on-light);
  border-radius: 999px;
  background: transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.chip:hover {
  border-color: var(--inchiostro);
}

.chip[aria-pressed="true"] {
  background: var(--inchiostro);
  border-color: var(--inchiostro);
  color: var(--crema);
}

.tag {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  cursor: help;
}

.tag--v {
  background: #dfe9d6;
  color: #1f5a2b;
}

.tag--vg {
  background: var(--verde);
  color: var(--carta);
}

.tag--gf {
  background: transparent;
  color: #7a5a1e;
  box-shadow: inset 0 0 0 1px #b8935a;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  margin-left: auto;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 46px;
  height: 26px;
  margin: 0;
  cursor: pointer;
}

.switch__track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: var(--crema-2);
  box-shadow: inset 0 0 0 1px var(--line-on-light);
  transition: background 0.25s;
}

.switch__track::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--carta);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease);
}

.switch input:checked + .switch__track {
  background: var(--verde);
}

.switch input:checked + .switch__track::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
}

.menu-sec {
  padding-top: clamp(44px, 5vw, 76px);
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.menu-sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--inchiostro);
}

.menu-sec__sub {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde);
}

.menu-sec__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 6vw, 88px);
}

.mi {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-on-light);
  min-width: 0;
}

.mi__top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.mi__name {
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.mi__tags {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
  vertical-align: 0.14em;
}

.mi__dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 1.5px dotted rgba(20, 20, 20, 0.3);
  transform: translateY(-5px);
}

.mi__price {
  display: flex;
  gap: 16px;
  font-family: var(--f-display);
  font-size: 1.12rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mi__measure small {
  margin-right: 2px;
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--inchiostro-2);
}

.mi__desc {
  max-width: 34em;
  color: var(--inchiostro-2);
  font-size: 0.99rem;
  line-height: 1.5;
}

.mi__all {
  display: none;
  margin-top: 2px;
  font-size: 0.84rem;
  color: var(--rosso-scuro);
}

.show-allergens .mi__all {
  display: block;
}

.menu-sec__note {
  margin-top: 18px;
  font-size: 0.94rem;
  font-style: italic;
  color: var(--inchiostro-2);
}

.menu-photo {
  position: relative;
  margin: clamp(48px, 6vw, 84px) 0 0;
  aspect-ratio: 24 / 7;
  overflow: hidden;
  background: var(--crema-2);
}

.menu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px clamp(16px, 3vw, 32px) 14px;
  background: linear-gradient(transparent, rgba(8, 24, 18, 0.75));
  color: var(--crema);
  font-family: var(--f-script);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  line-height: 1.1;
}

.menu-photo + .menu-sec {
  padding-top: clamp(32px, 4vw, 52px);
}

.menu-empty {
  padding: 64px 0;
  font-family: var(--f-display);
  font-size: var(--step-1);
  max-width: 28em;
}

.menu-amore {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px clamp(32px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 4vw, 56px);
  background: var(--notte);
  color: var(--crema);
}

.menu-amore .eyebrow {
  color: var(--oro);
}

.menu-amore .eyebrow::before {
  background-image: url("../brand/sprig-oro.svg");
}

.menu-amore h2 {
  margin-top: 16px;
  font-size: var(--step-2);
}

.menu-amore .script {
  color: var(--oro-chiaro);
}

.menu-amore__price {
  margin-top: 16px;
  color: var(--salvia);
}

.menu-amore__price strong {
  margin-right: 6px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--crema);
}

.menu-amore ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-on-dark);
}

.menu-amore li {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
  gap: 4px 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--f-display);
  font-size: 1.1rem;
  line-height: 1.35;
}

.menu-amore li span {
  font-family: var(--f-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
}

.menu-amore__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  color: var(--salvia);
  font-size: 0.92rem;
}

.menu-notes {
  display: grid;
  gap: 8px;
  max-width: 62em;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line-on-light);
  font-size: 0.92rem;
  color: var(--inchiostro-2);
}

.menu-cta__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.menu-cta .lede {
  max-width: 28em;
}

@media (max-width: 900px) {
  .menu-hero__in,
  .menu-amore {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-sec__items {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-photo {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 620px) {
  .menu-bar__in {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 10px;
  }

  .seg {
    align-self: flex-start;
  }

  .seg button {
    min-height: 36px;
  }

  .menu-nav a {
    padding: 14px 0 12px;
  }

  .menu-sec {
    scroll-margin-top: calc(var(--header-h) + 104px);
  }

  .switch {
    margin-left: 0;
  }

  .mi__name {
    font-size: 1.16rem;
  }

  .mi__top {
    gap: 8px;
  }

  .mi__dots {
    min-width: 6px;
  }

  .mi__price {
    gap: 10px;
    font-size: 1.02rem;
  }

  .mi__measure small {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .menu-amore li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 12. Text pages ---------------------------------------------------------- */
.page-head {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.page-head .hero__watermark {
  left: auto;
  right: -4%;
  bottom: -85%;
  width: min(48vw, 600px);
}

.page-head h1 {
  margin-top: 18px;
  font-size: var(--step-3);
}

.prose {
  max-width: 44em;
}

.prose h2 {
  margin: 2em 0 0.5em;
  font-size: var(--step-2);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin: 0 0 1em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  color: var(--verde);
}

.prose .updated {
  font-size: 0.92rem;
  color: var(--inchiostro-2);
}

/* Page not found */
.lost {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding-block: 80px;
  text-align: center;
}

.lost__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lost .heart {
  width: 110px;
  height: 102px;
}

.lost h1 {
  font-size: var(--step-3);
}

.lost .hero__actions {
  justify-content: center;
}

/* Phone bar: call or book, fixed to the bottom of the screen on phones only */
.mobile-bar {
  display: none;
}

@media (max-width: 700px) {
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 24, 18, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-on-dark);
    color: var(--crema);
    transition: transform 0.4s var(--ease);
  }

  .mobile-bar.is-hidden {
    transform: translateY(110%);
  }

  .mobile-bar .btn {
    min-height: 48px;
  }

  /* Leave room so the bar never covers the last line of the footer */
  .site-footer {
    padding-bottom: 104px;
  }
}

/* Focus rings need a darker colour on the light sections */
.band--light :focus-visible,
.band--paper :focus-visible,
.book__card :focus-visible {
  outline-color: var(--verde);
}

/* 13. Motion -------------------------------------------------------------- */

/* Sections start visible. Only when scripts run and motion is welcome do they
   wait below the fold and rise into place. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .hero h1,
  .hero .eyebrow,
  .hero .lede,
  .hero__actions,
  .hero__facts {
    animation: rise 1s var(--ease) both;
  }

  .hero h1 {
    animation-delay: 0.08s;
  }

  .hero .lede {
    animation-delay: 0.2s;
  }

  .hero__actions {
    animation-delay: 0.3s;
  }

  .hero__facts {
    animation-delay: 0.4s;
  }

  .hero__photo .gable__img {
    animation: settle 2.2s var(--ease) both;
  }

  .hero__inset {
    animation: drop 1.1s 0.5s var(--ease) both;
  }

  .hero .seal {
    animation: pop 0.9s 0.8s var(--ease) both;
  }

  .heart path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.6s 0.9s var(--ease) forwards;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

@keyframes settle {
  from {
    transform: scale(1.08);
  }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: rotate(4deg) translateY(30px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-40deg);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .seal svg,
  .perdue::before {
    animation: none;
  }
}

/* Responsive: header, hero, footer ----------------------------------------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .hero__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__art {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
    padding-left: clamp(0px, 8vw, 56px);
  }

  .hero__photo {
    aspect-ratio: 5 / 5.2;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header__cta .btn {
    display: none;
  }

  .brand__mark {
    width: 40px;
  }

  .brand__word {
    width: 128px;
  }

  .hero__facts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero__facts div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .hero .seal {
    width: 112px;
    right: -4px;
    top: 6%;
  }

  .hero__inset figcaption {
    font-size: 1.2rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}
