/* THE CURVED HOUSE  /  LIVE WEB PREVIEW ONLY
   No smoke overlays, soft tonal seams, preserved sharp editorial imagery
   Scoped to the home page and loaded last; other pages are unchanged */
:root { --afrera-soft-cream:#f3e8dd; --afrera-night:#290510; --afrera-satin:#400a18; }
body.hoa-homepage {background:var(--afrera-night); overflow-x:hidden;}
body.hoa-homepage main {isolation:isolate;background:var(--afrera-soft-cream);}

/* Header: true center monogram, navigation entirely to the right */
@media (min-width:1450px) {
 body.hoa-homepage .header {height:88px;min-height:88px;display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;gap:6px;padding:0 3.2%;background:#290510;}
 body.hoa-homepage .header .brand {position:static;grid-column:1;grid-row:1;justify-self:start;transform:none;font-size:clamp(21px,1.65vw,27px);}
 body.hoa-homepage .header .header-monogram {position:static;grid-column:2;grid-row:1;justify-self:center;transform:none;left:auto;top:auto;width:70px;height:70px;}
 body.hoa-homepage .header .header-monogram img {width:70px;height:70px;object-fit:contain;}
 body.hoa-homepage .header .nav {position:static;grid-column:3;grid-row:1;display:flex;justify-content:flex-end;align-items:center;width:auto;gap:clamp(8px,.65vw,12px);padding:0 145px 0 0;margin:0;transform:none;white-space:nowrap;}
 body.hoa-homepage .header .nav a {grid-column:auto!important;margin:0!important;font-size:9px;letter-spacing:.07em;}
 body.hoa-homepage .header .top-action {position:absolute;top:50%;right:3.2%;transform:translateY(-50%);white-space:nowrap;padding:11px 12px;font-size:9px;}
}
@media(min-width:1250px) and (max-width:1449px) {
 body.hoa-homepage .header {height:82px;min-height:82px;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);padding:0 3.7%;}
 body.hoa-homepage .header .brand {position:static;transform:none;grid-column:1;grid-row:1;font-size:22px;}
 body.hoa-homepage .header .header-monogram {position:static;transform:none;grid-column:2;grid-row:1;width:68px;height:68px;}
 body.hoa-homepage .header .header-monogram img{width:68px;height:68px;}
 body.hoa-homepage .header .nav, body.hoa-homepage .header .top-action{display:none!important;}
 body.hoa-homepage .header .menu-button{display:block;grid-column:3;grid-row:1;justify-self:end;}
}
@media(max-width:1249px){
 body.hoa-homepage .header .header-monogram{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
 body.hoa-homepage .header .nav,body.hoa-homepage .header .top-action{display:none!important;}
 body.hoa-homepage .header .menu-button{display:block;grid-column:3;justify-self:end;}
}

/* Rich hero with cream lettering and no soft bright halo */
body.hoa-homepage .hoa-wave-hero {background:#300611;color:#f9efe6;height:clamp(640px,calc(100svh - 88px),870px);min-height:640px;margin:0;}
body.hoa-homepage .hoa-wave-hero__art img {object-position:center 48%;filter:contrast(1.07) saturate(1.08);}
body.hoa-homepage .hoa-wave-hero::before {z-index:1;background:
  linear-gradient(90deg,rgba(28,2,10,.81) 0%,rgba(34,3,13,.75) 21%,rgba(44,5,19,.60) 39%,rgba(44,5,19,.10) 60%,rgba(44,5,19,.06) 100%),
  linear-gradient(180deg,rgba(25,2,10,.22) 0%,transparent 20%,transparent 75%,rgba(48,6,16,.48) 100%);}
body.hoa-homepage .hoa-wave-hero::after {bottom:-1px;height:125px;background:linear-gradient(180deg,rgba(43,6,16,0) 0%,rgba(43,6,16,.18) 35%,#300711 100%);}
body.hoa-homepage .hoa-wave-hero__copy {top:30%;left:clamp(30px,7.3vw,115px);width:min(39%,535px);color:#faede2;text-shadow:0 2px 20px rgba(23,1,9,.45);}
body.hoa-homepage .hoa-wave-hero__copy h1 {color:#faede2;font:400 clamp(46px,4.6vw,72px)/1.06 var(--serif);letter-spacing:-.055em;text-shadow:0 2px 20px rgba(23,1,9,.40);}
body.hoa-homepage .hoa-wave-hero__eyebrow {color:#eacba5;}
body.hoa-homepage .hoa-wave-hero__chapter {color:#fbefe4;border-color:rgba(238,206,174,.62);bottom:14%;text-shadow:0 2px 14px rgba(22,2,8,.60);}
body.hoa-homepage .hoa-wave-hero__chapter h2 {color:#fff0e6;}
body.hoa-homepage .hoa-wave-hero__chapter-label {color:#f2d8bf;}
body.hoa-homepage .hoa-wave-hero__button{color:#fff5e9;}

/* Original rose-field portrait without haze over the subject */
body.hoa-homepage .hoa-original-cheetah {
 height:clamp(650px,66vw,920px);margin:-1px 0 0;
 background:linear-gradient(180deg,#300711 0%,#3a0b17 65%,#56232e 79%,#a6716e 90%,var(--afrera-soft-cream) 100%);
}
body.hoa-homepage .hoa-original-cheetah::before {display:none;}
body.hoa-homepage .hoa-original-cheetah::after {content:"";position:absolute;z-index:2;left:0;right:0;bottom:-1px;height:105px;pointer-events:none;background:linear-gradient(180deg,rgba(243,232,221,0) 0%,rgba(243,232,221,.13) 26%,rgba(243,232,221,.55) 58%,var(--afrera-soft-cream) 100%);}
body.hoa-homepage .hoa-original-cheetah__art {
 right:8%;top:4%;bottom:10%;width:min(63%,800px);z-index:1;overflow:hidden;
 border-radius:44% 44% 90px 90px / 16% 16% 44px 44px;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 92%,transparent 100%);
 mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 92%,transparent 100%);
}
body.hoa-homepage .hoa-original-cheetah__art img{object-fit:contain;object-position:center 25%;filter:contrast(1.03) saturate(1.08);}
body.hoa-homepage .hoa-original-cheetah__caption{left:8%;top:37%;color:#f0ddd1;letter-spacing:.18em;}

/* Collection and House sections inherit the SAME cream, no separator bar */
body.hoa-homepage .edit-collection,
body.hoa-homepage .heritage-scene{background:var(--afrera-soft-cream);border:0;box-shadow:none;}
body.hoa-homepage .edit-collection{margin:-1px 0 0;padding-top:80px;padding-bottom:35px;}
body.hoa-homepage .collection-panel{background:transparent;border:0;box-shadow:none;gap:38px;max-width:1390px;align-items:center;overflow:visible;}
body.hoa-homepage .feature-photo{min-height:590px;height:clamp(550px,45vw,680px);border:0;overflow:hidden;border-radius:48px 165px 48px 110px!important;-webkit-mask-image:none;mask-image:none;}
body.hoa-homepage .feature-photo img{height:100%;object-fit:cover;}
body.hoa-homepage .feature-details{margin-left:0;padding:38px 28px;background:transparent;}
body.hoa-homepage .heritage-scene{padding-top:60px;padding-bottom:110px;gap:30px;}
body.hoa-homepage .heritage-copy{background:transparent;padding:clamp(20px,5vw,72px);}
body.hoa-homepage .heritage-photo{border-radius:160px 50px 160px 45px!important;-webkit-mask-image:none;mask-image:none;overflow:hidden;}
body.hoa-homepage .heritage-photo img{height:100%;object-fit:cover;filter:contrast(1.03);}

/* A gradual rich-color fade occurs in the section background, not across photo details */
body.hoa-homepage .final-section{min-height:730px;margin:0;padding-top:180px;border-radius:0!important;overflow:hidden;background:
 linear-gradient(180deg,var(--afrera-soft-cream) 0%,#e7d1c4 8%,#c69b93 16%,#9a6264 24%,#743442 33%,#4c1827 44%,#340b19 59%,#300913 100%);
}
body.hoa-homepage .final-photo {min-height:580px;border-radius:110px 32px 165px 42px!important;overflow:hidden;-webkit-mask-image:none;mask-image:none;}
body.hoa-homepage .final-photo img{height:100%;width:100%;object-fit:cover;}
body.hoa-homepage .final-copy{padding-top:15px;}
body.hoa-homepage .footer{margin-top:-2px;border-top:0;}

@media(max-width:1050px){
 body.hoa-homepage .hoa-wave-hero__copy{width:56%;top:28%;}
 body.hoa-homepage .hoa-wave-hero__chapter{right:4%;bottom:10%;}
 body.hoa-homepage .hoa-original-cheetah__art{right:0;width:77%;}
 body.hoa-homepage .collection-panel{grid-template-columns:1fr 1fr;gap:18px;}
 body.hoa-homepage .feature-details{padding:28px 4%;}
}
@media(max-width:760px){
 body.hoa-homepage .hoa-wave-hero{height:750px;min-height:690px;}
 body.hoa-homepage .hoa-wave-hero__art img{object-position:59% 45%;}
 body.hoa-homepage .hoa-wave-hero::before{background:linear-gradient(90deg,rgba(26,2,10,.82),rgba(31,3,12,.40) 70%,rgba(31,3,12,.15)),linear-gradient(180deg,rgba(25,2,10,.2),transparent 62%,rgba(48,6,16,.64));}
 body.hoa-homepage .hoa-wave-hero__copy{left:6%;top:18%;width:87%;}
 body.hoa-homepage .hoa-wave-hero__copy h1{font-size:clamp(40px,9.2vw,62px);max-width:560px;}
 body.hoa-homepage .hoa-wave-hero__chapter{bottom:14%;right:7%;max-width:190px;padding-left:16px;}
 body.hoa-homepage .hoa-wave-hero__chapter h2{font-size:52px;}
 body.hoa-homepage .hoa-original-cheetah{height:690px;background:linear-gradient(180deg,#300711 0%,#441522 70%,#93616a 90%,var(--afrera-soft-cream) 100%);}
 body.hoa-homepage .hoa-original-cheetah__art{top:5%;bottom:8%;right:-4%;width:94%;border-radius:40% 40% 40px 40px / 12% 12% 20px 20px;}
 body.hoa-homepage .hoa-original-cheetah__caption{left:7%;top:10%;font-size:9px;max-width:125px;}
 body.hoa-homepage .edit-collection{padding-top:38px;}
 body.hoa-homepage .collection-panel{display:grid;grid-template-columns:1fr;gap:0;}
 body.hoa-homepage .feature-photo{height:510px;min-height:470px;border-radius:110px 28px 110px 28px!important;}
 body.hoa-homepage .feature-details{margin:0;padding:20px 7% 25px;}
 body.hoa-homepage .heritage-scene{display:flex;flex-direction:column;padding:20px 5% 70px;}
 body.hoa-homepage .heritage-photo{min-height:470px;border-radius:100px 25px 100px 25px!important;}
 body.hoa-homepage .heritage-copy{padding:30px 6%;}
 body.hoa-homepage .final-section{padding-top:125px;display:flex;flex-direction:column;}
 body.hoa-homepage .final-photo{min-height:420px;max-height:580px;border-radius:95px 24px 110px 25px!important;}
 body.hoa-homepage .final-copy{padding:45px 7% 75px;}
}
@media(max-width:430px){
 body.hoa-homepage .hoa-wave-hero__copy{top:19%;width:90%;}
 body.hoa-homepage .hoa-wave-hero__copy h1{font-size:clamp(37px,9.2vw,48px);}
 body.hoa-homepage .hoa-wave-hero__chapter{bottom:11%;}
 body.hoa-homepage .hoa-original-cheetah{height:570px;}
 body.hoa-homepage .hoa-original-cheetah__art{right:-10%;width:102%;}
 body.hoa-homepage .heritage-photo{min-height:370px;}
}
@media(prefers-reduced-motion:reduce){body.hoa-homepage .hoa-wave-hero__button{transition:none!important}}
