/* v43 — a quiet backdrop: edge signatures, breathable copy and fine matte grain. */
.pizza-type {
  width: max-content;
  font-size: clamp(140px, 13.1vw, 184px);
  line-height: 1.12;
  letter-spacing: -.035em;
  top: -32px;
  left: 1%;
}
.pizza-type span { white-space: nowrap; }
.pizza-type span:nth-child(2) { margin-left: -8px; }
.pizza-type span:nth-child(3) { margin-left: -16px; }
.pizza-type::after { content: attr(data-word); margin-left: -24px; }

/* One low-contrast signature near each lower edge, never a wall of repeated type. */
.section-space .scene-type {
  --signature-color: #3761431f;
  --signature-bottom: 80px;
  --signature-size: clamp(112px, 15vw, 210px);
}
.section-space .type-set {
  width: max-content;
  left: auto;
  right: -12px;
  top: auto;
  bottom: var(--signature-bottom);
  height: auto;
  transform: translate3d(0, calc(var(--scene-y, 0px)*.18), 0) rotate(-3deg);
}
.section-space .type-row,
.section-space .type-row:nth-child(2),
.section-space .type-row:nth-child(3) {
  margin: 0;
  font-size: var(--signature-size);
  line-height: 1;
  letter-spacing: -.015em;
  color: transparent;
  -webkit-text-stroke: 1px var(--signature-color);
  text-shadow: none;
}
.section-space .type-row:not(:first-child) { display: none; }
.menu-section .scene-type { --signature-bottom: 75px; }
.rodizio .scene-type { --signature-color: #ffe8ca30; --signature-bottom: 75px; }
.agenda .scene-type { --signature-color: #fff2ce24; --signature-bottom: 64px; }
.family .scene-type { --signature-color: #8739301b; --signature-bottom: 80px; }
.reservation .scene-type { --signature-color: #fff2ce24; --signature-bottom: 56px; }
.contact .scene-type { --signature-color: #80613a16; --signature-size: clamp(100px, 12vw, 170px); --signature-bottom: 5px; }
.contact .type-set { right: -38px; }

/* Neutral photographic micrograin: consistent scale rather than stretched paper.
   This layer has no text, never receives pointer events, and does not animate. */
.hero::before,
.menu-section::before,
.rodizio::before,
.agenda::before,
.family::before,
.reservation::before,
.contact::before {
  background-image: url('assets/optimized/v1/fine-grain-v1-384.webp');
  background-size: 384px 384px;
  background-position: center;
  background-repeat: repeat;
  mix-blend-mode: soft-light;
  opacity: .4;
  pointer-events: none;
}
.menu-section::before, .family::before, .contact::before {
  mix-blend-mode: multiply;
  opacity: .10;
}
.menu-editorial::after, .ticket:not(.ticket-green)::after,
.booking-card::after, .family-photo::after { opacity: .012; }

@media(min-width:1500px) { .pizza-type { font-size: 190px; top: -30px; } }
@media(max-width:1050px) and (min-width:761px) {
  .pizza-type { font-size: 135px; top: 8px; left: -1%; line-height: 1.2; }
}
@media(max-width:760px) {
  .pizza-type { font-size: clamp(92px, 25vw, 130px); top: 6px; left: 2%; line-height: 1.18; }
  .pizza-type span:nth-child(3) { display: block; font-size: 1em; margin-left: -12px; }
  .pizza-type::after { display: block; margin-left: -18px; }
  .section-space .scene-type { --signature-size: 96px; --signature-bottom: 39px; }
  .section-space .type-set { right: -18px; }
  .section-space .type-row { -webkit-text-stroke-width: .8px; }
  .agenda .scene-type { --signature-size: 76px; }
  .reservation .scene-type { --signature-size: 104px; }
  .contact .scene-type { --signature-size: 86px; --signature-bottom: 10px; }
}
@media(max-width:370px) { .pizza-type { font-size: 88px; } }

/* v50 — an editorial type mesh composed around protected reading zones.
   Every phrase has its own position; none of the decorative type casts a shadow. */
.section-space .scene-type {
  --mesh-fill: #0b5f3b18;
  --mesh-fill-soft: #0b5f3b0d;
  --mesh-stroke: #0b5f3b42;
  --t1-x: 61%; --t1-y: 1%; --t1-size: clamp(112px, 11vw, 168px); --t1-rotate: -3.5deg;
  --t2-x: -3%; --t2-y: 52%; --t2-size: clamp(128px, 13vw, 190px); --t2-rotate: -4deg;
  --t3-x: 45%; --t3-y: 89%; --t3-size: clamp(78px, 7.7vw, 118px); --t3-rotate: -2deg;
}
.rodizio .scene-type,
.agenda .scene-type,
.reservation .scene-type {
  --mesh-fill: #fff0cf1a;
  --mesh-fill-soft: #fff0cf0f;
  --mesh-stroke: #fff0cf52;
}
.family .scene-type {
  --mesh-fill: #87393019;
  --mesh-fill-soft: #8739300e;
  --mesh-stroke: #87393045;
}
.contact .scene-type {
  --mesh-fill: #73572e16;
  --mesh-fill-soft: #73572e0d;
  --mesh-stroke: #73572e3d;
}
.section-space .type-set {
  inset: 0;
  width: auto;
  height: auto;
  transform: translate3d(calc(var(--type-x, 0px)*.22), calc(var(--scene-y, 0px)*.08), 0);
}
.section-space .type-row,
.section-space .type-row:nth-child(2),
.section-space .type-row:nth-child(3) {
  position: absolute;
  display: block;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.02em;
  white-space: nowrap;
  text-shadow: none !important;
  filter: none;
}
.section-space .type-row:nth-child(1) {
  left: var(--t1-x);
  top: var(--t1-y);
  font-size: var(--t1-size);
  color: var(--mesh-fill);
  opacity: .94;
  -webkit-text-stroke: 0 transparent;
  transform: rotate(var(--t1-rotate));
}
.section-space .type-row:nth-child(2) {
  left: var(--t2-x);
  top: var(--t2-y);
  font-size: var(--t2-size);
  color: transparent;
  opacity: .82;
  -webkit-text-stroke: 1px var(--mesh-stroke);
  transform: rotate(var(--t2-rotate));
}
.section-space .type-row:nth-child(3) {
  left: var(--t3-x);
  top: var(--t3-y);
  font-size: var(--t3-size);
  color: var(--mesh-fill-soft);
  opacity: .72;
  -webkit-text-stroke: .45px var(--mesh-stroke);
  transform: rotate(var(--t3-rotate));
}
.section-space .scene-type::after { display: none; text-shadow: none !important; }

.rodizio .scene-type {
  --t1-x: -4%; --t1-y: 1%; --t1-size: clamp(118px, 11.3vw, 174px); --t1-rotate: -3deg;
  --t2-x: 68%; --t2-y: 47%; --t2-size: clamp(130px, 12.5vw, 188px); --t2-rotate: 3deg;
  --t3-x: 7%; --t3-y: 87%; --t3-size: clamp(80px, 8vw, 122px); --t3-rotate: -2deg;
}
.agenda .scene-type {
  --t1-x: 58%; --t1-y: 1%; --t1-size: clamp(112px, 10.8vw, 166px); --t1-rotate: 3deg;
  --t2-x: -5%; --t2-y: 88%; --t2-size: clamp(94px, 9.3vw, 142px); --t2-rotate: -3deg;
  --t3-x: 34%; --t3-y: 32.5%; --t3-size: clamp(38px, 3.3vw, 50px); --t3-rotate: 2deg;
}
.family .scene-type {
  --t1-x: 59%; --t1-y: 1%; --t1-size: clamp(110px, 10.7vw, 164px); --t1-rotate: -3deg;
  --t2-x: -5%; --t2-y: 48%; --t2-size: clamp(122px, 12.2vw, 184px); --t2-rotate: 3deg;
  --t3-x: 39%; --t3-y: 89%; --t3-size: clamp(74px, 7.1vw, 108px); --t3-rotate: -2deg;
}
.reservation .scene-type {
  --t1-x: 65%; --t1-y: 1%; --t1-size: clamp(118px, 11.5vw, 176px); --t1-rotate: 3deg;
  --t2-x: 24%; --t2-y: 78%; --t2-size: clamp(96px, 9.6vw, 146px); --t2-rotate: -3deg;
  --t3-x: 3%; --t3-y: 92%; --t3-size: clamp(60px, 6vw, 92px); --t3-rotate: 2deg;
}
.contact .scene-type {
  --t1-x: 59%; --t1-y: 0%; --t1-size: clamp(102px, 9.8vw, 148px); --t1-rotate: -3deg;
  --t2-x: -22%; --t2-y: 84%; --t2-size: clamp(100px, 10.2vw, 154px); --t2-rotate: 3deg;
  --t3-x: 34%; --t3-y: 2%; --t3-size: clamp(68px, 6.5vw, 98px); --t3-rotate: -2deg;
}

@media(max-width:1050px) and (min-width:761px) {
  .section-space .scene-type {
    --t1-size: 118px;
    --t2-size: 132px;
    --t3-size: 82px;
  }
}
@media(max-width:760px) {
  .section-space .scene-type {
    --t1-x: 23%; --t1-y: 2%; --t1-size: clamp(58px, 17vw, 72px);
    --t2-x: -8%; --t2-y: 51%; --t2-size: clamp(62px, 18vw, 78px);
    --t3-x: 10%; --t3-y: 94%; --t3-size: clamp(44px, 12vw, 54px);
  }
  .section-space .type-row:nth-child(2) { -webkit-text-stroke-width: .7px; }
  .section-space .type-row:nth-child(3) { -webkit-text-stroke-width: .35px; }
  .rodizio .scene-type {
    --t1-x: -7%; --t1-y: 2%;
    --t2-x: 38%; --t2-y: 49%;
    --t3-x: 6%; --t3-y: 94%;
  }
  .agenda .scene-type {
    --t1-x: 26%; --t1-y: 2%;
    --t2-x: -10%; --t2-y: 93%; --t2-size: clamp(46px, 13vw, 54px);
    --t3-x: 50%; --t3-y: 24.45%; --t3-size: 26px;
  }
  .family .scene-type {
    --t1-x: 24%; --t1-y: 2%;
    --t2-x: -12%; --t2-y: 49%;
    --t3-x: 7%; --t3-y: 94%; --t3-size: clamp(38px, 10.5vw, 47px);
  }
  .reservation .scene-type {
    --t1-x: 40%; --t1-y: 2%;
    --t2-x: 48%; --t2-y: 38.8%; --t2-size: clamp(30px, 8.5vw, 34px);
    --t3-x: 11%; --t3-y: 92%; --t3-size: clamp(40px, 11vw, 49px);
  }
  .contact .scene-type {
    --t1-x: 49%; --t1-y: 2%; --t1-size: clamp(55px, 15.5vw, 66px);
    --t2-x: -4%; --t2-y: 44%; --t2-size: 34px;
    --t3-x: 2%; --t3-y: 3%; --t3-size: clamp(45px, 12.5vw, 54px);
  }
}
