/* CAPARI KITCHEN / Selected typography system — Fraunces + DM Sans.
   Scope: existing V6 shell, cinematic menu, 9 category pages, 88 product pages.
   The official logo is an image; no logo shape or sizes are changed. */
:root{
  --tavola-serif:'Fraunces',Georgia,'Times New Roman',serif;
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --ui:'DM Sans','Segoe UI',Arial,Helvetica,sans-serif;
}
body.tavola-page{
  font-family:var(--ui);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.tavola-page .shell-header .shell-nav,
body.tavola-page .shell-header .shell-nav a,
body.tavola-page .shell-nav-overline,
body.tavola-page .shell-mobile-menu{
  font-family:var(--ui)!important;
}
body.tavola-page .shell-header .shell-nav a{
  font-size:clamp(11px,.95vw,13px);
  letter-spacing:.02em;
  font-weight:700;
}
body.tavola-page .shell-nav-overline{
  font-weight:700;
  letter-spacing:.13em;
}
/* Home / menu editorial headings: consistent weight, less exaggerated negative tracking. */
body.tavola-page .hero-typography h1,
body.tavola-page .cinema-content h1,
body.tavola-page .menu-intro-main h2,
body.tavola-page .dish-title,
body.tavola-page .leaf-product h1,
body.tavola-page .leaf-collection h1,
body.tavola-page .leaf-related h2,
body.tavola-page .leaf-card-name,
body.tavola-page .leaf-list-name{
  font-family:var(--tavola-serif)!important;
  font-weight:500;
  letter-spacing:-.048em;
}
body.tavola-page .hero-typography h1{line-height:1.02;letter-spacing:-.055em}
body.tavola-page .cinema-content h1{line-height:.90;letter-spacing:-.052em}
body.tavola-page .menu-intro-main h2{line-height:.92}
body.tavola-page .dish-title{line-height:.99}
body.tavola-page .leaf-product h1{
  line-height:.94;
  letter-spacing:-.048em;
  font-size:clamp(4.1rem,6.9vw,8.7rem);
}
body.tavola-page .leaf-product h1 em{font-weight:400;letter-spacing:-.052em}
body.tavola-page .leaf-copy>p:first-child{
  font-family:var(--ui);
  font-size:clamp(1rem,1.16vw,1.21rem);
  line-height:1.8;
  font-weight:400;
  letter-spacing:-.011em;
  color:#604e41;
}
body.tavola-page .leaf-related h2{letter-spacing:-.045em;line-height:1.02}
body.tavola-page .leaf-card-name,
body.tavola-page .leaf-list-name{line-height:1.1}
/* Controls, small labels and meta details: less tracking, more legibility. */
body.tavola-page .leaf-crumbs ol,
body.tavola-page .leaf-category,
body.tavola-page .leaf-edition,
body.tavola-page .leaf-button,
body.tavola-page .leaf-back-link,
body.tavola-page .leaf-photo-note,
body.tavola-page .leaf-related .leaf-text-link,
body.tavola-page .tab,
body.tavola-page .dish-category,
body.tavola-page .hero-slider-controls,
body.tavola-page .gallery-topline,
body.tavola-page .menu-line{
  font-family:var(--ui);
}
body.tavola-page .leaf-category{font-size:.72rem;letter-spacing:.12em}
body.tavola-page .leaf-edition{font-weight:650;letter-spacing:.15em}
body.tavola-page .leaf-crumbs ol{letter-spacing:.025em;font-size:.8rem}
body.tavola-page .leaf-button{letter-spacing:.085em}
body.tavola-page .leaf-photo-note{letter-spacing:.13em}
/* Footer: same identity, new type hierarchy. Preserve layout, colors and logo. */
body.tavola-page .tavola-footer.shell-footer{
  --tavola-serif:'Fraunces',Georgia,serif;
  --ui:'DM Sans','Segoe UI',Arial,sans-serif;
  font-family:var(--ui);
}
body.tavola-page .shell-footer-identity h2{
  font-family:var(--tavola-serif);
  font-weight:500;
  font-size:clamp(57px,6vw,96px);
  letter-spacing:-.049em;
  line-height:1.05;
}
body.tavola-page .shell-footer-identity h2 em{
  font-family:var(--tavola-serif);
  font-weight:400;
}
body.tavola-page .shell-footer-links a{
  font-family:var(--tavola-serif)!important;
  font-weight:500!important;
  font-size:clamp(23px,2.14vw,34px)!important;
  line-height:1.13!important;
  letter-spacing:-.025em!important;
}
body.tavola-page .shell-footer-actions p{
  font-family:var(--ui);
  font-weight:400;
  line-height:1.6;
  letter-spacing:0;
  font-size:clamp(15px,1.25vw,19px);
}
body.tavola-page .shell-footer-identity p{
  font-family:var(--ui);
  font-size:13px;
  line-height:1.85;
  letter-spacing:.006em;
}
body.tavola-page .shell-footer-top,
body.tavola-page .shell-footer-kicker,
body.tavola-page .shell-footer-actions>a,
body.tavola-page .shell-footer-secondary a,
body.tavola-page .shell-footer-bottom,
body.tavola-page .shell-footer-bottom a{
  font-family:var(--ui)!important;
  font-weight:700;
  letter-spacing:.10em;
}
body.tavola-page .shell-footer-kicker{font-size:10px;letter-spacing:.12em}
body.tavola-page .shell-footer-top{letter-spacing:.11em}
body.tavola-page .shell-footer-actions>a{letter-spacing:.07em}
/* Shared storytelling accents now use Fraunces where they were formerly system-serif. */
body.tavola-page .hero-editorial-opening__greeting,
body.tavola-page .hero-handwriting,
body.tavola-page .manifesto-script,
body.tavola-page .service-script,
body.tavola-page .hero-slide-name,
body.tavola-page .cinema-italic{
  font-family:var(--tavola-serif);
  letter-spacing:-.026em;
}
body.tavola-page.cinematic-menu-page>main,
body.tavola-page.cinematic-menu-page>#lightbox-root{
  --serif:'Fraunces',Georgia,serif;
  --sans:'DM Sans',Arial,sans-serif;
}
@media(max-width:900px){
  body.tavola-page .leaf-product h1{font-size:clamp(4rem,13vw,7.3rem)}
  body.tavola-page .shell-footer-identity h2{font-size:clamp(58px,8vw,90px)}
  body.tavola-page .shell-footer-links a{font-size:clamp(24px,3vw,31px)!important}
}
@media(max-width:520px){
  body.tavola-page .leaf-product h1{font-size:clamp(3.25rem,14.7vw,5.7rem);line-height:.97}
  body.tavola-page .hero-typography h1{line-height:1.03}
  body.tavola-page .cinema-content h1{line-height:.91}
  body.tavola-page .shell-footer-identity h2{font-size:clamp(56px,12vw,78px);line-height:1.02}
  body.tavola-page .shell-footer-links a{font-size:clamp(26px,7.4vw,33px)!important}
  body.tavola-page .shell-footer-actions p{font-size:16px;line-height:1.55}
}
