/* HOUSE OF AFRERA  —  FOUR SECTION CURVED HOMEPAGE PREVIEW
   Applied only to body.hoa-homepage. Other pages and all payment code unchanged.
   No fixed right-angle image frames. Images are the ORIGINAL site assets.
*/
:root {--hoa-four-cream:#f3e9df;--hoa-four-burgundy:#300712;}
body.hoa-homepage{background:#300712;}
body.hoa-homepage main{background:var(--hoa-four-cream);}
/* Center the actual visible A mark on any viewport, even when menu grows */
body.hoa-homepage .header{position:relative;z-index:40;background:#290611;}
body.hoa-homepage .header .header-monogram{
 position:absolute!important;left:50%!important;top:50%!important;right:auto!important;
 transform:translate(-50%,-50%)!important;width:60px!important;height:60px!important;
 display:flex;align-items:center;justify-content:center;grid-column:auto!important;
 border:0!important;overflow:visible!important;z-index:12!important;
}
body.hoa-homepage .hoa-logo-circle{display:flex;justify-content:center;align-items:center;
 border:1.5px solid #bf9250;border-radius:50%;width:49px;height:49px;box-shadow:0 0 0 1px rgba(197,154,94,.10);}
body.hoa-homepage .hoa-logo-circle span{font-family: 'Bodoni Moda',Georgia,serif;font-size:37px;font-weight:400;line-height:1;color:#e0ba70;position:relative;top:-1px;}
body.hoa-homepage .header .brand{z-index:2;}
body.hoa-homepage .header .nav {z-index:3;}
body.hoa-homepage .header .top-action {z-index:3;}
/* Fold remains high contrast and shows the sharp 3840x2160 background */
body.hoa-homepage .hoa-wave-hero{height:clamp(660px,calc(100svh - 88px),890px);min-height:660px;overflow:hidden;margin:0;background:#300712;border-radius:0!important;}
body.hoa-homepage .hoa-wave-hero__art img{filter:contrast(1.08) saturate(1.1);object-position:center 51%;}
body.hoa-homepage .hoa-wave-hero::before{background:
 linear-gradient(90deg,rgba(26,1,9,.82) 0%,rgba(34,2,13,.70) 24%,rgba(33,3,11,.28) 46%,transparent 73%),
 linear-gradient(180deg,rgba(24,2,8,.15) 0%,transparent 56%,rgba(51,8,20,.10) 100%)!important;}
body.hoa-homepage .hoa-wave-hero__copy h1,
body.hoa-homepage .hoa-wave-hero__chapter h2,
body.hoa-homepage .hoa-wave-hero__chapter,
body.hoa-homepage .hoa-wave-hero__chapter em{color:#fff3e9!important;}
body.hoa-homepage .hoa-wave-hero__copy{color:#fff3e9;}
body.hoa-homepage .hoa-wave-hero__eyebrow,
body.hoa-homepage .hoa-wave-hero__chapter-label{color:#eed5b7!important;}
/* Unlike a white smoke mask, this is a continuous tonal transition -- no blur */
body.hoa-homepage .hoa-wave-hero::after{
 content:""!important;position:absolute!important;left:0;right:0;bottom:-2px;top:auto;
 height:250px!important;z-index:2!important;pointer-events:none;
 background:linear-gradient(180deg,rgba(48,7,18,0) 0%,rgba(70,18,31,.13) 15%,
 rgba(104,49,57,.36) 38%,rgba(170,119,112,.76) 72%,var(--hoa-four-cream) 100%)!important;
}
/* Beginning of the second section visually merges with the end of the first */
body.hoa-homepage .edit-collection{position:relative;z-index:2;margin:-1px 0 0!important;
 padding:clamp(42px,5vw,75px) 5% clamp(70px,7vw,115px)!important;
 background:linear-gradient(180deg,var(--hoa-four-cream) 0%,#f4e8dd 52%,#f0e1d5 100%)!important;
 border:0!important;border-radius:0!important;}
body.hoa-homepage .edit-collection .section-intro{margin-bottom:clamp(32px,4vw,62px);}
body.hoa-homepage .collection-panel{max-width:1430px;align-items:center;gap:clamp(24px,3vw,60px)!important;overflow:visible!important;box-shadow:none!important;background:transparent!important;}
/* Curved photo silhouettes, not rectangular clips or smoky overlay masks */
body.hoa-homepage .feature-photo,
body.hoa-homepage .heritage-photo,
body.hoa-homepage .final-photo{border:0!important;overflow:hidden!important;box-shadow:none!important;
 mask-image:none!important;-webkit-mask-image:none!important;isolation:isolate;}
body.hoa-homepage .feature-photo{min-height:590px;height:clamp(535px,42vw,690px);
 border-radius:145px 47px 180px 45px!important;}
body.hoa-homepage .feature-photo img{width:100%;height:100%;object-fit:cover;object-position:center 32%;}
body.hoa-homepage .feature-photo::after,
body.hoa-homepage .heritage-photo::after,
body.hoa-homepage .final-photo::after{display:none!important;}
body.hoa-homepage .feature-details{margin:0!important;padding:30px clamp(12px,3vw,50px)!important;background:transparent!important;}
/* Third section inherits same cream so there is no explicit dividing line */
body.hoa-homepage .heritage-scene{position:relative;z-index:2;margin:0!important;
 padding:clamp(55px,6vw,95px) 6% clamp(90px,8vw,140px)!important;
 background:linear-gradient(180deg,#f0e1d5 0%,#efe3d8 47%,#f4e9df 100%)!important;
 border:0!important;gap:clamp(24px,3.5vw,60px)!important;}
body.hoa-homepage .heritage-copy{background:transparent!important;padding:clamp(20px,4vw,62px)!important;}
body.hoa-homepage .heritage-photo{min-height:570px;height:clamp(570px,48vw,760px);border-radius:205px 58px 170px 52px!important;}
body.hoa-homepage .heritage-photo img{width:100%;height:100%;object-fit:cover;object-position:center 48%;}
/* A gradual color shift under the last section blends cream into wine */
body.hoa-homepage .final-section{position:relative;isolation:isolate;min-height:740px;margin:-1px 0 0!important;
 padding:clamp(130px,13vw,230px) 5% clamp(75px,9vw,140px)!important;
 background:linear-gradient(180deg,#f4e9df 0%,#eddcd1 10%,#d4afa7 22%,#a57070 35%,#773f4d 47%,#521e30 62%,#360e1c 77%,#290713 100%)!important;
 border:0!important;border-radius:0!important;gap:clamp(25px,4vw,70px);}
body.hoa-homepage .final-photo{height:clamp(565px,46vw,690px);min-height:530px;
 border-radius:160px 45px 190px 48px!important;}
body.hoa-homepage .final-photo img{height:100%;width:100%;object-fit:cover;object-position:center 48%;filter:saturate(1.06);}
body.hoa-homepage .final-copy{background:transparent!important;padding-top:55px!important;}
body.hoa-homepage .footer{margin-top:-2px;border:0!important;}
/* Other image surfaces stay rounded, with no 90 degree corners */
body.hoa-homepage .photo-flag{border-radius:999px!important;}
body.hoa-homepage .btn,body.hoa-homepage .hoa-wave-hero__button,body.hoa-homepage .top-action{border-radius:999px!important;}
@media(max-width:1249px){
 body.hoa-homepage .header .header-monogram{width:55px!important;height:55px!important;}
 body.hoa-homepage .hoa-logo-circle{width:46px;height:46px;}
 body.hoa-homepage .hoa-logo-circle span{font-size:34px;}
}
@media(max-width:1050px){
 body.hoa-homepage .collection-panel{grid-template-columns:1fr 1fr!important;}
 body.hoa-homepage .feature-details{padding:25px 2%!important;}
 body.hoa-homepage .heritage-scene{grid-template-columns:1fr 1fr;}
 body.hoa-homepage .heritage-photo{min-height:560px;}
 body.hoa-homepage .final-section{grid-template-columns:1fr 1fr;}
}
@media(max-width:760px){
 body.hoa-homepage .header .header-monogram{width:49px!important;height:49px!important;}
 body.hoa-homepage .hoa-logo-circle{width:41px;height:41px;}
 body.hoa-homepage .hoa-logo-circle span{font-size:30px;}
 body.hoa-homepage .hoa-wave-hero{height:740px;min-height:690px;}
 body.hoa-homepage .hoa-wave-hero__art img{object-position:61% center;}
 body.hoa-homepage .hoa-wave-hero::before{background:linear-gradient(90deg,rgba(26,1,9,.82),rgba(33,2,11,.37) 75%),linear-gradient(180deg,rgba(20,0,7,.2),transparent 60%)!important;}
 body.hoa-homepage .hoa-wave-hero__copy{left:6%!important;top:19%!important;width:89%!important;}
 body.hoa-homepage .hoa-wave-hero__copy h1{font-size:clamp(39px,9.5vw,59px)!important;}
 body.hoa-homepage .hoa-wave-hero__chapter{right:5%!important;bottom:13%!important;max-width:190px;}
 body.hoa-homepage .hoa-wave-hero::after{height:195px!important;}
 body.hoa-homepage .edit-collection{padding:35px 5% 72px!important;}
 body.hoa-homepage .collection-panel{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;}
 body.hoa-homepage .feature-photo{height:520px;min-height:470px;border-radius:110px 35px 110px 38px!important;}
 body.hoa-homepage .feature-details{padding:14px 4% 25px!important;}
 body.hoa-homepage .heritage-scene{display:flex!important;flex-direction:column;padding:55px 5% 85px!important;gap:20px!important;}
 body.hoa-homepage .heritage-copy{padding:25px 4%!important;}
 body.hoa-homepage .heritage-photo{height:485px;min-height:440px;width:100%;border-radius:130px 35px 135px 32px!important;}
 body.hoa-homepage .final-section{display:flex!important;flex-direction:column;padding:140px 5% 75px!important;gap:15px;}
 body.hoa-homepage .final-photo{height:485px;min-height:450px;width:100%;border-radius:120px 32px 120px 30px!important;}
 body.hoa-homepage .final-copy{padding:26px 5% 40px!important;}
}
@media(max-width:420px){
 body.hoa-homepage .header .brand{font-size:clamp(14px,3.7vw,18px)!important;}
 body.hoa-homepage .hoa-wave-hero__copy h1{font-size:clamp(37px,9vw,48px)!important;}
 body.hoa-homepage .hoa-wave-hero__chapter{bottom:15%!important;right:5%!important;}
 body.hoa-homepage .feature-photo{height:460px;min-height:440px;}
 body.hoa-homepage .heritage-photo{height:420px;min-height:390px;}
 body.hoa-homepage .final-photo{height:420px;min-height:395px;}
}
@media(prefers-reduced-motion:reduce){body.hoa-homepage .feature-photo img,body.hoa-homepage .heritage-photo img{transition:none!important;}}
