.compact-menu-toggle { display: none; }
@media (max-width: 980px), (pointer: coarse) {
  header.village-header.bauhaus-home-header {
    grid-template-columns: auto minmax(0,1fr);
    padding: 22px 4% 8px;
    gap: 6px 12px;
    min-height: 0;
  }
  header.bauhaus-home-header .welcoming-brand { grid-area: 1 / 1; gap: 0; }
  header.bauhaus-home-header .welcoming-brand :is(.living-logo,.animated-mark,.still-mark) { width: 62px; height: 62px; }
  header.bauhaus-home-header .brand-note { display: none; }
  header.bauhaus-home-header .private-area { top: 3px; right: 4%; padding: 0; min-height: 18px; font-size: 12px; }
  header.bauhaus-home-header .compact-menu-toggle {
    display: inline-flex; grid-area: 1 / 2; justify-self: end; align-self: center;
    align-items: center; justify-content: center; gap: 7px; min-height: 44px;
    border: 1px solid #9cb986; border-radius: 24px; padding: 8px 14px;
    background: #f7faf0; color: #25452d; font-size: 16px;
  }
  .compact-menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  header.village-header .header-contacts {
    grid-area: 2 / 1 / 3 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
    width: 100%; max-width: none; gap: 4px; padding: 0; margin: 0;
  }
  header.village-header .header-contacts a {
    min-width: 0; min-height: 44px; flex-direction: row; gap: 5px; padding: 5px 2px;
    border: none; border-radius: 8px; background: transparent; font-size: 14px;
  }
  header.village-header .header-contacts a span { display: none; }
  .header-contacts a:nth-child(1)::after { content: 'Chiama'; }
  .header-contacts a:nth-child(2)::after { content: 'WhatsApp'; }
  .header-contacts a:nth-child(3)::after { content: 'Email'; }
  .header-contacts a:nth-child(4)::after { content: 'Mappa'; }
  header.village-header .header-contacts svg { width: 18px; height: 18px; }
  header.village-header.compact-header-ready #menu { display: none; }
  header.village-header.compact-header-ready.mobile-menu-open #menu {
    display: grid; grid-area: 3 / 1 / 4 / -1; grid-template-columns: 1fr;
    width: 100%; padding: 8px; gap: 2px; border-radius: 16px; max-height: 65vh; overflow-y: auto;
  }
  header.village-header #menu :is(a,summary) { min-height: 44px; font-size: 16px; }
  header.village-header #menu .nav-submenu { position: static; width: 100%; min-width: 0; max-height: none; box-shadow: none; }
  header.village-header #menu .nav-submenu a { font-size: 14px; }
  header.bauhaus-home-header .lamp-stage.lamp-interactive {
    display: block; position: absolute; top: 2px; left: 43%; right: auto;
    width: 82px; height: 82px; margin: 0; z-index: 1; opacity: 1;
  }
  .top-wave { height: 30px; }
  .wave-motifs i { width: 18px; height: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lamp-interactive .pendant-1 .pendant-swing { animation: pendantSwing 6s ease-in-out infinite; }
  .lamp-interactive .pendant-2 .pendant-swing { animation: pendantSwing 7s ease-in-out -.8s infinite; }
  .wave-motifs .wave-dog { animation: waveDog 4.8s ease-in-out infinite; }
  .wave-motifs .wave-paw { animation: wavePaw 4.8s ease-in-out .2s infinite; }
  .wave-motifs .wave-scissors { animation: waveScissors 4.8s ease-in-out 1.05s infinite; }
  .wave-motifs .wave-shampoo { animation: waveShampoo 4.8s ease-in-out 1.9s infinite; }
}

/* Brand recognition, while preserving the compact mobile navigation. */
header.village-header .welcoming-brand :is(.living-logo,.animated-mark,.still-mark) { width: 164px; height: 164px; }
@media (max-width:980px), (pointer:coarse) {
  header.bauhaus-home-header .welcoming-brand :is(.living-logo,.animated-mark,.still-mark) { width: 104px; height: 104px; }
  header.bauhaus-home-header .lamp-stage.lamp-interactive { top: 22px; left: 42%; width: 74px; height: 74px; }
}
@media (max-width:360px) {
  header.bauhaus-home-header .welcoming-brand :is(.living-logo,.animated-mark,.still-mark) { width: 96px; height: 96px; }
  header.bauhaus-home-header .lamp-stage.lamp-interactive { width: 64px; height: 64px; }
}
footer .brand img { width: 88px; height: 88px; }

@media (min-width:981px) and (pointer:fine) {
  header.village-header #menu .contact-submenu { left: auto; right: 0; width: 17rem; }
}
