/* 2026-11-15 continuity layer (loaded last).
   1. Corner La tua rosa: the open glass bloom from the hero entrance, at rest.
   2. Home header band and hero read as one surface: no rule, shadow or
      colour step where the colore labo band meets the hero.
   Phones keep their own compact layout: the header rules below are desktop
   only, and the dock is already hidden on phones by mobile-simple. */

/* ---------- 1. Corner La tua rosa ---------- */
body.revival-home .diagnosis-dock > a { position:relative; isolation:isolate; }
body.revival-home .diagnosis-dock .dock-bloom {
 /* padding:0 overrides the older ".diagnosis-dock a>span" text padding. */
 position:relative; display:block; flex:none; box-sizing:border-box; width:112px; height:112px; margin:10px auto 0; padding:0;
 border-radius:50%; pointer-events:none;
 /* A soft pale halo lets the jewel petals separate from the glass card. */
 background:radial-gradient(circle,#fff9fbd1 0,#fff9fb66 44%,#fff9fb00 70%);
}
body.revival-home .diagnosis-dock .dock-bloom svg {
 display:block; width:100%; height:100%; overflow:visible;
 filter:drop-shadow(0 4px 8px #4a134052) saturate(1.1);
 transform:rotate(0deg) scale(1); transform-origin:50% 50%;
 transition:transform .45s cubic-bezier(.2,.8,.25,1.2);
}
/* Intent gets a small turn of the already-open bloom; nothing loops. */
body.revival-home .diagnosis-dock > a:is(:hover,:focus-visible) .dock-bloom svg { transform:rotate(12deg) scale(1.05); }
body.revival-home .diagnosis-dock .dock-title { text-wrap:balance; }
@media (max-width:1100px) {
 body.revival-home .diagnosis-dock .dock-bloom { width:92px; height:92px; margin-top:8px; }
}
@media (prefers-reduced-motion:reduce) {
 body.revival-home .diagnosis-dock .dock-bloom svg { transition:none; }
 body.revival-home .diagnosis-dock > a:is(:hover,:focus-visible) .dock-bloom svg { transform:none; }
}

/* ---------- 2. One surface from the header band into the hero ---------- */
/* Desktop and tablets with a fine pointer or hover; phones are excluded so
   mobile-simple's own header stays in charge there. */
@media (min-width:1025px), (min-width:701px) and (hover:hover), (min-width:701px) and (pointer:fine) {
 body.revival-home:not(.menu-page) {
  /* The hero's existing sepia -> rose-lavender -> pale aqua, running only
     left to right, so the colour at every x is identical on both sides of
     the header/hero boundary whatever their heights are. */
  --continuous-surface:linear-gradient(90deg,#e4d7ca 0%,#e2d5d9 30%,#e1d4e2 54%,#d2dade 76%,#c3dedb 100%);
 }
 body.revival-home:not(.menu-page) .site-header,
 body.revival-home:not(.menu-page) .site-header.is-scrolled {
  background:var(--continuous-surface);
  border-bottom:0; box-shadow:none;
  backdrop-filter:none; -webkit-backdrop-filter:none;
 }
 /* The white rule between the banner row and the navigation row. */
 body.revival-home:not(.menu-page) .atelier-nav-row { border-top:0; }
 body.revival-home:not(.menu-page) .hero {
  background:
   /* melt the last stretch into the News band below */
   linear-gradient(180deg,#dfd5c300 calc(100% - 150px),#dfd5c3 100%),
   /* the earlier aqua light, kept low so it never reaches the top edge */
   radial-gradient(ellipse 58% 62% at 94% 70%,#b3dbd38c 0,#b3dbd300 72%),
   var(--continuous-surface);
 }
 /* The band below continues from the hero's melted edge. */
 body.revival-home:not(.menu-page) .news-strip { border-top:0; border-bottom:0; }
 /* Media: remove the inset hairlines; its colour field already separates it. */
 body.revival-home:not(.menu-page) #media { box-shadow:none; }
}
