/* Homepage only. Room geometry and the existing header are not styled here. */
/* The former Fusion/RevSlider block belongs to the retired homepage. Keep the
   front page beginning at the interactive room after the production switch. */
body.av-front #sliders-container{display:none!important;height:0!important;min-height:0!important;overflow:hidden!important}
#av-home{--story-cream:#f0ece3;--story-ink:#191d18;--story-gold:#b18b49;background:var(--story-ink)}
#av-home .av-hero{min-height:0;height:clamp(480px,64svh,680px);padding-block:70px}
#av-home .av-hero__inner{padding-block:0}
#av-home .av-hero__veil{background:linear-gradient(90deg,#171b18e6,#171b1890 56%,#171b1860),linear-gradient(0deg,#191d18,transparent 30%)}
#av-home .av-hero__title{font-size:clamp(38px,4.7vw,72px);line-height:1.12}
#av-home .av-hero__lead{max-width:36rem}
#av-home .av-hero__cue{display:none}
#av-home .av-services,#av-home .av-journal{background:var(--story-cream);color:var(--story-ink)}
#av-home .av-services{padding-block:clamp(70px,10vw,130px)}
#av-home .av-services .av-shead{max-width:760px;margin-bottom:54px}
#av-home .av-story-services{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:clamp(32px,5vw,80px);align-items:start}
#av-home .av-story-visual{position:sticky;top:100px;height:clamp(420px,64svh,700px);margin:0;overflow:hidden;background:#232923;color:#f2eadb;isolation:isolate}
#av-home .av-story-visual::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent,transparent 48px,#c5a96c18 49px,transparent 50px),radial-gradient(ellipse at 80% 20%,#b7965455,transparent 65%)}
#av-home .av-story-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:none;transition:opacity .22s ease}
#av-home .av-story-photo.is-visible{opacity:1;transform:scale(1)}
#av-home .av-story-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#111911e8,transparent 64%);pointer-events:none}
#av-home .av-story-caption{position:absolute;z-index:1;inset:auto 30px 32px;display:grid;gap:14px}
#av-home .av-story-number{font-size:11px;letter-spacing:.18em;color:#e0c598}
#av-home .av-story-name{font-size:clamp(24px,2.8vw,40px);line-height:1.18;max-width:420px;letter-spacing:-.035em}
#av-home .av-story-visual-meter{height:1px;background:#ffffff30;margin-top:14px;overflow:hidden}
#av-home .av-story-visual-meter span{display:block;height:100%;background:#d4b473;transform-origin:left;transform:scaleX(var(--story-service-progress,.0625));transition:transform .5s ease}
#av-home .av-story-services .av-index{max-width:none;width:100%;margin:0}
#av-home .av-index__link{min-height:124px;padding:28px 0;grid-template-columns:30px 1fr 20px;gap:16px}
#av-home .av-index__title{font-size:clamp(16px,1.5vw,22px);line-height:1.35;transition:color .35s,transform .35s}
#av-home .av-index__thumb{display:none}
#av-home .av-index__arrow{opacity:.25;width:auto;height:auto;background:none;font-size:22px;transform:none}
#av-home .av-index__row{position:relative;border-color:#2d382527;transition:background .4s}
#av-home .av-index__row::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:1px;background:var(--story-gold);transform:scaleX(0);transform-origin:left;transition:transform .6s ease}
#av-home .av-index__row.is-current::after{transform:scaleX(1)}
#av-home .av-index__row.is-current .av-index__title{color:#876321;transform:translateX(6px)}
#av-home .av-index__row.is-current .av-index__arrow{color:#876321;opacity:1}
#av-home .av-band{min-height:clamp(460px,72svh,800px);background:var(--story-ink);clip-path:inset(0 var(--story-band-inset,0px));will-change:clip-path}
#av-home .av-band__media{inset:-8% 0;transform:translate3d(0,var(--story-band-y,0px),0);will-change:transform}
#av-home .av-band__veil{background:linear-gradient(0deg,#191d18d9,transparent 80%),linear-gradient(90deg,#191d18c9,#191d1830)}
#av-home .av-band__title{max-width:850px;font-size:clamp(34px,5vw,76px);line-height:1.12}
#av-home .av-areas,#av-home .av-cta{background:var(--story-ink)}
#av-home .av-areas{padding-block:80px 60px}
#av-home .av-areas .av-shead{margin-bottom:26px}
#av-home .av-rail__item{flex-basis:clamp(250px,28vw,370px)}
#av-home .av-rail .av-card__media{aspect-ratio:1.2;overflow:hidden}
#av-home .av-rail .av-card__title{font-size:clamp(20px,1.8vw,27px);line-height:1.25;padding-right:14px}
#av-home .av-story-rail-controls{display:flex;align-items:center;gap:18px;padding:26px var(--av-gutter) 0;color:#cfcabf}
#av-home .av-story-rail-controls p{color:#cfcabf;margin:0;font-size:10px;letter-spacing:.1em}
#av-home .av-story-rail-meter{height:1px;background:#ffffff25;flex:1;overflow:hidden}
#av-home .av-story-rail-meter span{display:block;width:100%;height:100%;background:#c9ad72;transform:scaleX(var(--story-rail-progress,.03));transform-origin:left}
#av-home .av-story-rail-controls button{appearance:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #e9dec445;border-radius:50%;background:transparent;color:#f2e9d6;font:22px Arial;cursor:pointer}
#av-home .av-story-rail-controls button:hover{background:#cfad701c}
#av-home .av-story-rail-controls button:focus-visible{outline:2px solid #d7b677;outline-offset:4px}
#av-home .av-areas.is-scroll-story{height:calc(100svh + var(--story-rail-distance,0px));padding:0;position:relative}
#av-home .is-scroll-story .av-story-areas-stage{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;justify-content:center;padding-block:60px;overflow:hidden}
#av-home .is-scroll-story .av-rail{scroll-snap-type:none;scrollbar-width:none}
#av-home .is-scroll-story .av-rail::-webkit-scrollbar{display:none}
#av-home .av-journal{padding-block:clamp(70px,9vw,130px)}
#av-home .av-journal .av-shead{margin-bottom:36px}
#av-home .av-journal .av-card__media{overflow:hidden}
#av-home .av-journal .av-card__media img{transition:transform 1.1s cubic-bezier(.22,.72,.26,1)}
#av-home .av-journal article.av-in .av-card__media img{transform:scale(1)}
#av-home .av-journal .av-card__title{font-size:clamp(22px,2vw,30px);line-height:1.25}
#av-home .av-cta{padding-block:clamp(90px,14svh,160px)}
#av-home .av-cta__inner::before{content:'';display:block;width:100%;height:1px;background:#c6a565;transform:scaleX(var(--story-cta-progress,0));transform-origin:left;margin-bottom:24px}
#av-home .av-cta__title{font-size:clamp(40px,6vw,84px);line-height:1.1;max-width:950px}
#av-home .av-shead__title{line-height:1.2}
@media(max-width:999px){
 #av-home .av-story-services{grid-template-columns:1fr}
 #av-home .av-story-visual{position:relative;top:auto;height:380px}
 #av-home .av-index__link{min-height:78px}
 #av-home .av-hero{height:auto;min-height:460px;padding-block:75px}
 #av-home .av-areas{padding-block:65px 42px}
}
@media(max-width:600px){
 #av-home .av-story-services{gap:24px}
 #av-home .av-story-visual{height:300px}
 #av-home .av-story-caption{inset:auto 22px 24px}
 #av-home .av-index__link{gap:12px;padding:20px 0}
 #av-home .av-hero__title{font-size:38px}
 #av-home .av-band{min-height:430px}
 #av-home .av-story-rail-controls{gap:10px}
 #av-home .av-story-rail-controls p{max-width:105px;font-size:8px;line-height:1.5}
 #av-home .av-story-rail-controls button{width:40px;height:40px;flex-shrink:0}
}
@media(prefers-reduced-motion:reduce){
 #av-home [data-av-reveal],#av-home .av-word-i,#av-home .av-line__i,#av-home .av-hero__eyebrow,#av-home .av-hero__lead,#av-home .av-hero__actions{opacity:1!important;transform:none!important;transition:none!important}
 #av-home .av-story-photo,#av-home .av-band__media{transition:none;transform:none}
 #av-home .av-band{clip-path:none}
 #av-home .av-cta__inner::before{transform:none}
}

/* Keep mouse hover from shifting rows beneath the scroll-selected preview. */
#av-home .av-index__link:hover{padding-inline:0}
@media(max-width:999px){#av-home .av-index__link{padding-block:22px}}
#av-home .av-index__row:hover{background:transparent}
#av-home .av-index__row:not(.is-current) .av-index__link:hover .av-index__title{color:#16171a}
#av-home .av-index__row:not(.is-current) .av-index__link:hover .av-index__arrow{opacity:.25;transform:none}
