:root{
  --paper:   #f5ecd8;
  --paper-2: #ebe0c5;
  --ink:     #2a1f12;
  --terra:   #c44e2a;
  --olive:   #5a6b2e;
  --mute:    #8b7a5c;
}

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

html, body{
  background: var(--paper);
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body{
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.grain{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: multiply;
  z-index: 100;
}

a{ color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
a:hover{ color: var(--terra); border-color: var(--terra); }

.mono, .topbar, .col-label, .letter-head, .footer, .price-row,
.stagione-sub, .hero-foot, .ingredienti-label, .px-l, .px-r, .letter-foot{
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}


.topbar{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(42,31,18,.18);
  color: var(--ink);
  z-index: 5;
}
.topbar-l{ font-weight: 500; }
.topbar-r{ color: var(--mute); }


.hero{
  position: relative;
  padding: clamp(60px, 12vh, 140px) clamp(20px, 5vw, 80px) clamp(80px, 14vh, 160px);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-h{
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(56px, 8vw, 130px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 1400px;
}

.hero-h .line{
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}

.hero-h .line em{
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.hero-sig{
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(36px, 4vw, 64px);
  color: var(--terra);
  margin-top: clamp(28px, 4vh, 56px);
  letter-spacing: -0.01em;
}
.hero-sig .sig-yr{
  font-family: "DM Mono", monospace;
  font-style: normal;
  font-weight: 400;
  font-size: .42em;
  letter-spacing: .14em;
  color: var(--mute);
  margin-left: .6em;
  vertical-align: middle;
}

.hero-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: clamp(40px, 8vh, 90px);
}
.hero-foot-l, .hero-foot-r{ font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .14em; color: var(--mute); }

.stamp{
  position: absolute;
  top: clamp(30px, 5vh, 70px);
  right: clamp(20px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
  border: 1.5px dashed var(--terra);
  color: var(--terra);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .18em;
  transform: rotate(8deg);
  background: rgba(245, 236, 216, .4);
}
.stamp-mid{ font-size: 9px; letter-spacing: .2em; }


.stagione{
  position: relative;
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 80px);
  border-top: 1px solid rgba(42,31,18,.12);
}

.stagione-head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(40px, 6vh, 80px);
  flex-wrap: wrap;
  gap: 20px;
}

.hand-h{
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.stagione-sub{
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
}

.stagione-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 50px);
  align-items: start;
}

.column{ min-height: 360px; }

.col-label{
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--mute);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(42,31,18,.18);
  margin-bottom: 22px;
}

.col-body{
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}

.divider{
  width: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 60px;
  color: var(--mute);
  font-size: 18px;
}

.ingredient-card{
  background: var(--paper-2);
  padding: 14px 18px 16px;
  box-shadow:
    0 1px 0 rgba(42,31,18,.08),
    2px 4px 12px -4px rgba(42,31,18,.15);
  position: relative;
  cursor: default;
  will-change: transform;
}

.ingredient-card:nth-child(2n){ transform: rotate(-1.2deg); }
.ingredient-card:nth-child(3n){ transform: rotate(0.8deg); }
.ingredient-card:nth-child(5n){ transform: rotate(-0.6deg); }

.ing-name{
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.ing-origin{
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}

.ingredient-card[data-col="in"] .ing-name::before{
  content: "✓ ";
  color: var(--olive);
  font-style: normal;
  font-weight: 700;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  vertical-align: middle;
  margin-right: 4px;
}


.piatti{
  position: relative;
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 80px);
  border-top: 1px solid rgba(42,31,18,.12);
}

.piatti-head{
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(50px, 8vh, 100px);
  flex-wrap: wrap;
}

.serif-h{
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.hand-underline{
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--terra);
  line-height: 0;
  letter-spacing: -0.05em;
}

.plates{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 50px);
  align-items: start;
}
.plates .plate-card:nth-child(1){ margin-top: 0; }
.plates .plate-card:nth-child(2){ margin-top: clamp(30px, 5vh, 60px); }
.plates .plate-card:nth-child(3){ margin-top: clamp(15px, 2vh, 30px); }
.plates .plate-card:nth-child(4){ margin-top: clamp(50px, 8vh, 90px); }

.plate-card{
  position: relative;
  padding: 8px 8px 18px;
  will-change: transform, opacity;
}

.plate{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: relative;
  margin-bottom: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(42,31,18,.15),
    inset 0 8px 20px -8px rgba(42,31,18,.18),
    0 14px 28px -16px rgba(42,31,18,.35);
  background:
    radial-gradient(circle at 50% 50%, #faf3df 0%, #f0e4c5 62%, #e3d4ad 100%);
}

.plate::before{
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: var(--food, radial-gradient(circle, #c44e2a 0%, #8b2e15 80%));
  box-shadow: inset 0 6px 14px -4px rgba(0,0,0,.25);
}

.plate-pomodoro{ --food: radial-gradient(circle at 45% 45%, #e35a32 0%, #c44e2a 50%, #7a2a12 100%); }
.plate-risotto { --food: radial-gradient(circle at 50% 45%, #d9c084 0%, #b39256 55%, #6b4f1e 100%); }
.plate-cozze   { --food: radial-gradient(circle at 50% 50%, #2d2218 0%, #3b2b18 35%, #c44e2a 70%, #7a2a12 100%); }
.plate-tiramisu{ --food: radial-gradient(circle at 50% 45%, #d4b08a 0%, #8a5a36 55%, #3a2615 100%); }

.dish{
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.ingr{
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--mute);
  margin-bottom: 6px;
}

.desc{
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
}

.price-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(42,31,18,.18);
}
.px-r{ color: var(--terra); font-size: 14px; letter-spacing: .08em; }


.lettera{
  position: relative;
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 80px) clamp(40px, 6vh, 80px);
  border-top: 1px solid rgba(42,31,18,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.letter{
  background: var(--paper-2);
  max-width: 700px;
  width: 100%;
  padding: clamp(40px, 6vw, 70px) clamp(30px, 5vw, 60px);
  box-shadow:
    0 1px 0 rgba(42,31,18,.08),
    4px 8px 30px -8px rgba(42,31,18,.22);
  transform: rotate(-1deg);
  position: relative;
}

.letter-head{
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--mute);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(42,31,18,.15);
  margin-bottom: 28px;
}

.letter-body{
  font-family: "Caveat", cursive;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink);
}
.letter-body p{ margin-bottom: 14px; }

.letter-sig{
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--terra);
  margin-top: 30px;
  letter-spacing: -0.01em;
}

.letter-foot{
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--mute);
  margin-top: 16px;
}

.ingredienti{
  margin-top: clamp(60px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ingredienti-label{
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--mute);
}
.dots{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
}
.dot{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--olive);
  position: relative;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.dot:nth-child(3n){ background: var(--terra); }
.dot:nth-child(5n){ background: var(--ink); }
.dot:hover{ transform: scale(1.4); }
.dot[data-active="1"] .dot-tip{ opacity: 1; transform: translate(-50%, -8px); }
.dot-tip{
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}

.footer{
  margin-top: clamp(60px, 10vh, 120px);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(42,31,18,.15);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-l{ display: flex; gap: 28px; }
.footer-l a{ font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .14em; }


@media (max-width: 820px){
  .stagione-grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .divider{ display: none; }

  .plates{
    grid-template-columns: 1fr 1fr;
  }
  .plates .plate-card:nth-child(n){ margin-top: 0; }
  .plates .plate-card:nth-child(2){ margin-top: clamp(20px, 4vh, 40px); }
  .plates .plate-card:nth-child(4){ margin-top: clamp(20px, 4vh, 40px); }

  .topbar{ font-size: 9px; }
  .topbar-l, .topbar-r{ font-size: 9px; }

  .stamp{ top: 16px; right: 16px; padding: 10px 12px; font-size: 8px; }
  .stamp-mid{ font-size: 7px; }
}

@media (max-width: 520px){
  .plates{ grid-template-columns: 1fr; }
  .plates .plate-card:nth-child(n){ margin-top: 0; }
  .hero-foot{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer{ flex-direction: column; align-items: flex-start; }
}
