/* Tavola: the table from above. The cloth rolls out, then plate, cutlery, glass and bowl are set down one at a time. */
.ns-sig--table { --sig-bg: #2a1a10; --sig-fg: #fbf2df; min-height: clamp(33rem, 84svh, 50rem); }
.ns-sig--table .ns-sig__art { background: repeating-linear-gradient(#120a05 0 2px, #3d2616 2px 190px, #120a05 190px 192px, #33200f 192px 382px, #120a05 382px 384px, #2c1a0d 384px 574px); }
.ns-sig--table .ns-sig__inner { grid-template-columns: minmax(0, 27rem); justify-content: start; gap: 1.1rem; }
.ns-sig--table .ns-sig__title { font-size: clamp(4rem, 8.4vw, 7.6rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-shadow: 0 2px 0 #000, 0 -1px 0 rgb(255 255 255 / .2); }
.ns-sig--table .ns-sig__tagline { font-size: clamp(1.2rem, 2.1vw, 1.7rem); }
/* the topics are place cards, set down last */
.ns-sig--table .ns-sig__topics { gap: .7rem; margin-block-start: .4rem; }
.ns-sig--table .ns-sig__topics a { padding: .55rem 1rem; color: #2b2118; background: #fbf5e6; border: 0; border-radius: 2px; font-family: var(--ns-font-heading, inherit); font-weight: 600; box-shadow: 0 2px 0 #cfc1a4, 3px 6px 8px rgb(0 0 0 / .5); rotate: calc(-1.4deg + var(--i) * 1deg); animation: tb-set .5s cubic-bezier(.2, .9, .3, 1.1) calc(3.5s + var(--i) * .16s) both; }
.ns-sig--table .ns-sig__topics a:hover { color: #fff; background: #b23a2b; box-shadow: 0 2px 0 #7f2319, 3px 6px 8px rgb(0 0 0 / .5); }

.tb-v { position: absolute; inset: 0; width: 100%; height: 100%; }
.tb-v .s, .tb-cl { transform-box: fill-box; transform-origin: center; }
.tb-v .s { animation: tb-set .55s cubic-bezier(.2, .9, .3, 1.15) var(--d) both; }
@keyframes tb-set { 0% { opacity: 0; transform: translateY(-34px) scale(1.2); } 55% { opacity: 1; } 100% { transform: none; } }
.tb-cl { transform-origin: 50% 0; animation: tb-roll .9s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes tb-roll { from { transform: scaleY(0); } }
/* the plates are hand-painted majolica: every band is one dashed ring, recoloured per plate */
.tb-v { --pa: #b23a2b; --pb: #24508f; --pc: #d99a2b; --pd: #4f7942; }
.tb-v .t2 { --pa: #24508f; --pb: #d99a2b; --pc: #b23a2b; --pd: #24508f; }
.tb-v .t3 { --pa: #4f7942; --pb: #b23a2b; --pc: #24508f; --pd: #d99a2b; }
.tb-v circle:is(.a, .b, .c, .d, .e, .f) { fill: none; }
.tb-v .g { fill: none; stroke: #000; stroke-opacity: .3; }
.tb-v .l { fill: #4f7942; stroke: #2c4a24; stroke-width: 2; }
.tb-v .h { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .75; }
.tb-v .a { stroke: var(--pb); stroke-width: 2.5; }
.tb-v .b { stroke: var(--pa); stroke-width: 22; stroke-dasharray: 9 15; }
.tb-v .c { stroke: var(--pc); stroke-width: 9; stroke-dasharray: 0 24; stroke-linecap: round; }
.tb-v .d { stroke: var(--pd); stroke-width: 4; }
.tb-v .e { stroke: var(--pb); stroke-width: 10; stroke-dasharray: 0 17; stroke-linecap: round; }
.tb-v .f { stroke: var(--pc); stroke-width: 30; stroke-dasharray: 7 7; }
/* the sun moves with the mouse, the shadows answer it */
.tb-h { transform: translate(calc((var(--mx) - .5) * -22px), calc((var(--my) - .5) * -16px)); transition: transform .5s ease-out; }
.tb-sun { position: absolute; inset: -10% -6%; mix-blend-mode: soft-light; background: linear-gradient(112deg, transparent 8%, rgb(255 236 190 / .5) 8% 21%, transparent 21% 24%, rgb(255 236 190 / .5) 24% 37%, transparent 37%); transform: translateX(calc((var(--mx) - .5) * -3%)); transition: transform .5s ease-out; }

@media (max-width: 767px) {
	.ns-sig--table { align-items: start; min-height: 40rem; padding-block-start: 1.75rem; }
	.ns-sig--table .ns-sig__inner { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
	.ns-sig--table .ns-sig__title { font-size: clamp(4rem, 21vw, 6rem); }
	.ns-sig--table .ns-sig__topics { gap: .5rem; }
	.ns-sig--table .ns-sig__topics a { padding: .4rem .7rem; font-size: .95rem; }
	.tb-v { inset: auto -2% 0 auto; width: 104%; height: 21rem; -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
	.tb-sun { display: none; }
}

/* touches: a cutlery mark on section titles, a card is set down on hover */
body.ns-sig-table .ns-cat-block__head .ns-section-title::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-inline-end: .45em; vertical-align: -.08em; border-radius: 50%; background: radial-gradient(circle, #fffdf6 0 44%, #4f7942 45% 48%, #fffdf6 49% 62%, #b23a2b 63% 100%); }
body.ns-sig-table .ns-fc { transition: transform .25s cubic-bezier(.2, .9, .3, 1.15); }
body.ns-sig-table .ns-fc:hover { transform: translateY(-3px) rotate(-.5deg); }
body.ns-sig-table .ns-cat-block__more { text-decoration-color: #b23a2b; }
