/* sth-seam-fix2c: kill diagonal AA hairlines on dark blocks (Club/book/#area neighbours)
   Why seam-fix1 regressed: struct1c put clip-path on #reviews/#offers/#how themselves;
   box-shadow is clipped by that path so the 1px paper seal never covers the fringe.
   Fix: (1) inset the parallelogram 1px so AA sits inside paper / leaves ink gap (invisible on navy);
        (2) 4-dir paper drop-shadow as backup seal; (3) force A5 flats on never-angled blocks. */

:root{
  /* 1px inset vs --angle-clip-para so AA mid-tones fall on paper, not over navy */
  --angle-clip-para-inset:polygon(
    0 calc(var(--angle-depth) + 1px),
    100% 1px,
    100% calc(100% - var(--angle-depth) - 1px),
    0 calc(100% - 1px)
  );
}

/* --- 1. #area flat top seam --- */
html body #area.sec{
  outline:1px solid transparent;
  background-clip:padding-box;
}
html body #area.sec.D{box-shadow:0 -1px 0 0 var(--ink,#00053E)}
html body #area.sec.L{box-shadow:0 -1px 0 0 var(--paper,#F4F6FA)}

/* --- 2. Parallelogram angled lights: inset clip + paper edge seal --- */
html body #reviews.cut-l,
html body #offers.cut-l,
html body #how.cut-l,
html body .svc-how.cut-l,
html body section#reviews.cut-l,
html body section#offers.cut-l,
html body section#how.cut-l,
html body section.svc-how.cut-l,
html body main > .sec.L.cut-l:is(#reviews,#offers,#how,.svc-how){
  -webkit-backface-visibility:hidden!important;
  backface-visibility:hidden!important;
  outline:1px solid transparent!important;
  box-shadow:none!important;
  clip-path:var(--angle-clip-para-inset)!important;
  -webkit-clip-path:var(--angle-clip-para-inset)!important;
  filter:
    drop-shadow(.5px 0 0 var(--paper,#F4F6FA))
    drop-shadow(-.5px 0 0 var(--paper,#F4F6FA))
    drop-shadow(0 .5px 0 var(--paper,#F4F6FA))
    drop-shadow(0 -.5px 0 var(--paper,#F4F6FA))!important;
}

/* --- 3. Legacy night.cut-l / stray cut-r GPU tip --- */
html body .night.cut-l,
html body .cut-r:not(#offers){
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
  transform:translateZ(0);
  outline:1px solid transparent;
}

/* --- 4. NEVER-angled (A5): force flat --- */
html body #club,
html body #book,
html body #area,
html body #rel,
html body section#club,
html body section#book,
html body section#area,
html body section#rel,
html body .hub-club,
html body .prel,
html body #faq.sec:not(.cut-l),
html body section#faq:not(.cut-l){
  clip-path:none!important;
  -webkit-clip-path:none!important;
}
html body #club::after,
html body #book::after,
html body #area::after,
html body #rel::after,
html body .hub-club::after,
html body .prel::after,
html body #faq.sec:not(.cut-l)::after,
html body section#faq:not(.cut-l)::after{
  content:none!important;
  display:none!important;
  height:0!important;
}

/* --- 5. Dark neighbours: own compositor layer --- */
html body #club.D,
html body #book.D,
html body #area.D,
html body #faq.D,
html body section#club.hub-club,
html body section#book.fin{
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
  transform:translateZ(0);
  outline:1px solid transparent;
}
