/* NOIR BORN / ARCHITECTURE V3: additive overrides; original styles.css kept intact. */
:root{--crimson:#df1935;--line:#ba1731;--ink:#090609;--text:#f1e9e6}
html{scroll-padding-top:80px}body{background:#080609;color:var(--text)}
body>.grain{pointer-events:none;opacity:.11}
main>.section{position:relative;isolation:isolate;overflow:hidden;min-height:640px;background-color:#110b0e!important;background-image:none!important}
main>.section::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--scene);background-position:center center;background-size:cover;background-repeat:no-repeat;filter:brightness(1.24) saturate(1.08)}
main>.section::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,4,7,.39),rgba(10,4,7,.12) 53%,rgba(8,3,6,.28));pointer-events:none}
main>.section,#home,.portal-grid{border-top:3px solid var(--crimson)!important;box-shadow:inset 0 5px 14px -7px #f72c4b}
#creations{--scene:url('assets/backgrounds/01_TEMPIO_ECLISSI.webp')}
#systems{--scene:url('assets/backgrounds/02_CORRIDOIO_GOTICO.webp')}
#staff{--scene:url('assets/backgrounds/03_ALTARE_SERPENTE.webp')}
#world{--scene:url('assets/backgrounds/04_SALA_TRONO.webp')}
#about{--scene:url('assets/backgrounds/05_TERRAZZA_LUNARE.webp')}
#support{--scene:url('assets/backgrounds/02_CORRIDOIO_GOTICO.webp')}
.hero{min-height:85vh}.hero-photo img{filter:brightness(1.04) saturate(1.08)!important}
.portal-grid{position:relative!important;z-index:4!important;margin:0 auto!important;padding:20px clamp(16px,4vw,80px) 24px!important;width:100%!important;max-width:none!important;transform:none!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;background:linear-gradient(180deg,#12080d,#090609)!important}
.portal-grid a{min-width:0;min-height:180px;position:relative;overflow:hidden;border:1px solid #69202d}
.portal-grid img{height:100%!important;width:100%!important;object-fit:cover!important;filter:brightness(.82)!important}
.portal-grid a span{z-index:1}
.section-head{position:relative;z-index:2}.section-head h2{color:#f5e9e7;text-shadow:0 3px 25px #090507}
.carousel-wrap,.system-stage,.staff-duo,.world-grid,.about-inner,.support-panel{position:relative;z-index:2}
.product{backdrop-filter:blur(12px);background:rgba(12,6,9,.83)!important;border:1px solid #752336!important}
.product-art.glyph{background:radial-gradient(circle at 50% 30%,#4a1725,#11090d 65%)!important;color:#e8d7d8!important}
.staff-duo .portrait{overflow:hidden}.staff-duo .portrait img{width:100%;height:100%;object-fit:cover;object-position:center 35%}
.world-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.world-grid .photo{position:relative;display:block;aspect-ratio:4/3!important;grid-column:auto!important;grid-row:auto!important;min-height:0!important;overflow:hidden;background:#150d12;border:1px solid #8b2036;cursor:zoom-in;padding:0}
.world-grid .photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.96) saturate(1.07);transition:transform .4s,filter .4s}
.world-grid .photo:hover img{transform:scale(1.035);filter:brightness(1.12)}
.photo-label{position:absolute;bottom:0;left:0;right:0;text-align:left;padding:30px 16px 14px;color:white;font:600 11px Cinzel,serif;letter-spacing:.18em;background:linear-gradient(transparent,#090507c9);pointer-events:none}
.about-inner,.support-panel,.system-stage{background:rgba(10,5,8,.75)!important;backdrop-filter:blur(10px);border:1px solid #662132}
.about .monogram img{max-height:360px;object-fit:contain}
footer{border-top:3px solid var(--crimson)}
@media(max-width:850px){.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.portal-grid a{min-height:150px}.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}main>.section{min-height:550px}}
@media(max-width:520px){.world-grid{grid-template-columns:1fr!important}.portal-grid a{min-height:125px}main>.section::after{background:linear-gradient(90deg,#0b060ac9,#0b060a70)}}

/* V4: six approved gothic scenes, full-bleed across viewport. Existing cards and galleries unchanged. */
.hero-photo{background:#090609 url('assets/backgrounds/00_HERO_NOIR_BORN.webp') center center / cover no-repeat!important}
.hero-photo img{display:none!important}
.hero:before{background:linear-gradient(90deg,rgba(3,3,4,.25),transparent 28%,transparent 75%,rgba(3,3,4,.2))!important}
.hero:after{background:none!important}
main>.section{max-width:none!important;width:100%!important;margin:0!important;background-color:#0c080a!important}
main>.section::before{inset:0!important;background-position:center center!important;background-size:cover!important}
main>.section::after{background:linear-gradient(90deg,rgba(5,2,4,.43),rgba(6,2,4,.09) 52%,rgba(5,2,4,.25))!important}
main>.section{border-top:4px solid #e41938!important;box-shadow:inset 0 4px 13px rgba(255,26,62,.35)!important}
#world .world-grid{max-width:1400px;margin-inline:auto}
#creations .carousel-wrap,#staff .staff-duo,#systems .system-stage,#about .about-inner,#support .support-panel{max-width:1200px;margin-inline:auto}
@media(max-width:520px){main>.section::after{background:linear-gradient(90deg,rgba(5,2,4,.49),rgba(5,2,4,.17))!important}}

/* V5: preserve original metallic lettering baked into the hero background.
   Remove duplicate HTML title and position only the CTA below NEVER ORDINARY. */
#home.hero .hero-copy{position:absolute!important;left:0;right:0;top:64%!important;bottom:auto!important;transform:none!important;z-index:5;text-align:center;pointer-events:none}
#home.hero .hero-copy .cta{pointer-events:auto}
@media(max-width:600px){#home.hero .hero-copy{top:66%!important}}

/* STAFF V5 - fotografie complete, senza ritagli */
#staff .staff-duo .portrait img{object-fit:contain!important;object-position:center center!important;background:#080608!important}

