/* Generated Ferrari pit-garage backdrop for the visitor pit wall. */
#notes{position:relative;isolation:isolate;background:#121513!important}
#notes::before{content:"";position:absolute;inset:0;z-index:-2;background:url("./assets/ferrari-pit-matched-car.webp") center center/cover no-repeat;pointer-events:none}
#notes::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#121212a6 0%,#12121270 45%,#121212cc 100%);pointer-events:none}
#notes .center-heading,#notes .notes-row,#notes .notes-info{position:relative}
#notes .center-heading>p,#notes .notes-info{color:#e0dfd8}

/* Fade both scenes through the same charcoal at their shared edge. */
#notes{background:#151515!important}
#notes::before{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%)}
#notes::after{background:linear-gradient(180deg,#121212a6 0%,#12121270 45%,#15151599 76%,#151515 100%)!important}
#contact{background:#151515!important;border-top:0!important}
#contact .contact-backdrop{-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 30%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 30%,#000 100%)}

/* Blend the pit-wall entrance into the preceding dark section. */
#notes{background:linear-gradient(to bottom,var(--bg,#141414) 0%,#151515 38%,#151515 100%)!important}
#notes::before{-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 24%,#000 72%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 24%,#000 72%,transparent 100%)}
#notes::after{background:linear-gradient(180deg,transparent 0%,#121212a6 24%,#12121270 45%,#15151599 76%,#151515 100%)!important}

/* No blank starter-card row; keep the expanded form reachable on small screens. */
#notes .notes-row:empty{display:none!important}
.note-dialog{max-height:calc(100dvh - 40px);overflow-y:auto;box-sizing:border-box}

#notes .notes-info{display:none!important}

/* Reduce the empty space between the note invitation and contact heading. */
#notes{padding-bottom:48px!important}
#notes>.center-heading{margin-bottom:0}
#contact{padding-top:54px!important}
@media(max-width:700px){#notes{padding-bottom:36px!important}#contact{padding-top:44px!important}}
