/* R18.2 | Luxury choreography for Buy and Sell ONLY.
   Buy = organic opposing reveals and forward progression.
   Sell = architectural shutters, alternating editorial columns and precise sequencing.
   Nothing is hidden without motion JS; respects reduced motion. */

.r182-buy .r182-scene,.r182-sell .r182-scene{position:relative;isolation:isolate}
.r182-buy .r182-chapter,.r182-sell .r182-chapter{overflow-x:clip}
.r182-buy .r182-chapter:before,.r182-sell .r182-chapter:before{
  content:var(--r182-chapter,"01");position:absolute;pointer-events:none;
  top:13px;right:clamp(25px,4.5vw,90px);font-family:var(--serif);
  font-size:clamp(74px,8vw,146px);line-height:1;color:#2e5972;opacity:.055;
  font-variant-numeric:lining-nums;z-index:0
}
.r182-buy .r182-chapter>* , .r182-sell .r182-chapter>*{position:relative;z-index:1}
.r182-buy .r182-chapter:after,.r182-sell .r182-chapter:after{
  content:"";position:absolute;z-index:0;top:0;left:5%;width:90%;height:1px;
  background:linear-gradient(90deg,rgba(177,132,128,.6),rgba(46,89,114,.15));
  transform-origin:0 50%;transform:scaleX(var(--r182-progress,0));pointer-events:none
}
.r182-buy .r182-chapter .decision-notes > div,
.r182-sell .r182-chapter .section-copy > h3{position:relative}
.r182-sell .guide-section .section-copy{max-width:550px}
.r182-sell .r182-chapter .section-copy{
  border-left:1px solid rgba(46,89,114,.25);padding-left:clamp(20px,2.4vw,40px)
}
.r182-sell .r182-chapter .section-copy:before{
  content:"";display:block;position:absolute;left:-2px;top:0;width:3px;height:100%;
  background:#be9796;transform:scaleY(var(--r182-progress,0));transform-origin:top;opacity:.75
}
.r182-sell .r182-chapter:nth-of-type(odd){background:#f8f4f0}
.r182-sell .r182-interlude{background:#faf7f3}

@media(min-width:901px){
  .r182-buy .r182-chapter{gap:clamp(60px,9vw,165px);padding-top:104px;padding-bottom:120px}
  .r182-buy .r182-chapter .r182-chapter-title{align-self:start}
  .r182-sell .r182-chapter{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(50px,7vw,128px);padding-block:106px 115px}
  /* Sell is a deliberate alternating editorial layout, unlike Buy's steady left-to-right journey. */
  .r182-sell .r182-chapter:nth-of-type(even) > .r182-chapter-title{grid-column:2;grid-row:1}
  .r182-sell .r182-chapter:nth-of-type(even) > .r182-chapter-copy{grid-column:1;grid-row:1}
  .r182-sell .r182-chapter:nth-of-type(even) > .r182-chapter-copy{border-left:0;border-right:1px solid rgba(46,89,114,.25);padding-left:0;padding-right:32px}
  .r182-sell .r182-chapter:nth-of-type(even) > .r182-chapter-copy:before{left:auto;right:-2px}
  .r182-sell .r182-hero .guide-image img{object-position:center}
  .r182-buy .r182-hero .guide-image,.r182-sell .r182-hero .guide-image{overflow:hidden}
}

/* Motion effects are strictly an opt-in enhancement. */
@media(prefers-reduced-motion:no-preference){
  .r182-ready .r182-scene{--r182-ease:cubic-bezier(.16,1,.3,1)}
  .r182-ready .r182-hero .r182-heading h1,
  .r182-ready .r182-hero .r182-narrative{
    opacity:.08;transform:translate3d(-48px,24px,0);
    transition:transform 1.32s var(--r182-ease),opacity 1.1s ease
  }
  .r182-ready .r182-hero .r182-narrative{transition-delay:.25s}
  .r182-ready .r182-hero .guide-heading .label{
    opacity:.15;letter-spacing:.2em;transition:opacity .9s ease,letter-spacing 1.5s var(--r182-ease)
  }
  .r182-ready .r182-hero .r182-visual{
    clip-path:inset(0 68% 0 0);transform:translate3d(48px,0,0);
    transition:clip-path 1.7s var(--r182-ease),transform 1.5s var(--r182-ease);
    transition-delay:.12s
  }
  .r182-ready .r182-hero .r182-visual picture img{
    transform:scale(1.09);transition:transform 2s var(--r182-ease)
  }
  .r182-ready .r182-hero.r182-in .r182-heading h1,
  .r182-ready .r182-hero.r182-in .r182-narrative{
    opacity:1;transform:none
  }
  .r182-ready .r182-hero.r182-in .guide-heading .label{opacity:1;letter-spacing:inherit}
  .r182-ready .r182-hero.r182-in .r182-visual{clip-path:inset(0);transform:none}
  .r182-ready .r182-hero.r182-in .r182-visual picture img{transform:scale(1)}

  /* BUY: the title travels in from the left while the copy opens from the right.
     Each decision row arrives in a subsequent wave; sections become real editorial sequences. */
  .r182-buy.r182-ready .r182-chapter .r182-chapter-title{
    opacity:.1;transform:translate3d(-110px,26px,0);
    transition:opacity .85s ease,transform 1.42s var(--r182-ease)
  }
  .r182-buy.r182-ready .r182-chapter .r182-chapter-copy{
    opacity:.14;transform:translate3d(125px,18px,0);
    transition:opacity 1.05s ease,transform 1.52s var(--r182-ease);
    transition-delay:.13s
  }
  .r182-buy.r182-ready .r182-chapter .r182-beat{
    opacity:.13;transform:translate3d(0,52px,0);
    transition:opacity .75s ease,transform 1.12s var(--r182-ease);
    transition-delay:calc(.26s + var(--r182-beat,0)*.11s)
  }
  .r182-buy.r182-ready .r182-chapter.r182-in .r182-chapter-title,
  .r182-buy.r182-ready .r182-chapter.r182-in .r182-chapter-copy,
  .r182-buy.r182-ready .r182-chapter.r182-in .r182-beat{opacity:1;transform:none}
  .r182-buy.r182-ready .r182-chapter.r182-in .r182-title{
    translate:0 var(--r182-depth,0px)
  }

  /* SELL: architectural editorial rhythm.
     Alternate columns, unveil headings from the baseline, then let copy enter on a controlled sweep. */
  .r182-sell.r182-ready .r182-hero .r182-heading h1{
    opacity:.16;transform:translate3d(0,58px,0);clip-path:inset(100% 0 0 0);
    transition:clip-path 1.45s var(--r182-ease),transform 1.45s var(--r182-ease),opacity 1.25s ease
  }
  .r182-sell.r182-ready .r182-hero.r182-in .r182-heading h1{
    opacity:1;transform:none;clip-path:inset(0)
  }
  .r182-sell.r182-ready .r182-hero .r182-visual{clip-path:none;transform:none;overflow:hidden}
  .r182-sell.r182-ready .r182-hero .r182-visual:before,
  .r182-sell.r182-ready .r182-hero .r182-visual:after{
    content:"";position:absolute;top:0;bottom:0;width:51%;z-index:5;
    background:#efe7df;transition:transform 1.6s cubic-bezier(.77,0,.18,1);
    pointer-events:none
  }
  .r182-sell.r182-ready .r182-hero .r182-visual:before{left:0;transition-delay:.1s}
  .r182-sell.r182-ready .r182-hero .r182-visual:after{right:0;transition-delay:.2s}
  .r182-sell.r182-ready .r182-hero.r182-in .r182-visual:before{transform:translate3d(-103%,0,0)}
  .r182-sell.r182-ready .r182-hero.r182-in .r182-visual:after{transform:translate3d(103%,0,0)}
  .r182-sell.r182-ready .r182-hero .r182-narrative{
    transform:translate3d(0,38px,0);transition-delay:.45s
  }
  .r182-sell.r182-ready .r182-chapter .r182-chapter-title{
    opacity:.08;transform:translate3d(0,72px,0);clip-path:inset(100% 0 0 0);
    transition:opacity 1s ease,transform 1.35s var(--r182-ease),clip-path 1.35s var(--r182-ease)
  }
  .r182-sell.r182-ready .r182-chapter .r182-chapter-copy{
    opacity:.12;transform:translate3d(0,45px,0);
    transition:opacity 1s ease,transform 1.45s var(--r182-ease);
    transition-delay:.19s
  }
  .r182-sell.r182-ready .r182-chapter .r182-beat{
    opacity:.1;transform:translate3d(0,26px,0);
    transition:opacity .85s ease,transform 1.2s var(--r182-ease);
    transition-delay:calc(.25s + var(--r182-beat,0)*.105s)
  }
  .r182-sell.r182-ready .r182-chapter.r182-in .r182-chapter-title{
    opacity:1;transform:none;clip-path:inset(0)
  }
  .r182-sell.r182-ready .r182-chapter.r182-in .r182-chapter-copy,
  .r182-sell.r182-ready .r182-chapter.r182-in .r182-beat{opacity:1;transform:none}

  /* Buyer steps cascade like a journey; seller steps rise in a structured progress ledger. */
  .r182-ready .r182-steps .r182-steps-heading{
    opacity:.16;transform:translate3d(-55px,16px,0);
    transition:opacity 1s ease,transform 1.4s var(--r182-ease)
  }
  .r182-ready .r182-steps .r182-step{
    opacity:.08;transform:translate3d(0,46px,0);
    transition:opacity .9s ease,transform 1.12s var(--r182-ease);
    transition-delay:calc(.13s + var(--r182-beat,0)*.14s)
  }
  .r182-sell.r182-ready .r182-steps .r182-step{transform:translate3d(50px,0,0)}
  .r182-ready .r182-steps.r182-in .r182-steps-heading,
  .r182-ready .r182-steps.r182-in .r182-step{opacity:1;transform:none}
  .r182-ready .r182-steps .r182-step{border-bottom-color:rgba(46,89,114,.16)}

  /* Interlude = moving editorial typography, not another generic rectangular reveal. */
  .r182-ready .r182-interlude .r182-title{
    opacity:.12;transform:translate3d(-80px,25px,0);
    transition:opacity 1.05s ease,transform 1.65s var(--r182-ease)
  }
  .r182-ready .r182-interlude .r182-narrative{
    opacity:.1;transform:translate3d(80px,10px,0);
    transition:opacity 1.15s ease,transform 1.7s var(--r182-ease);
    transition-delay:.2s
  }
  .r182-sell.r182-ready .r182-interlude .r182-title{
    transform:translate3d(0,70px,0);clip-path:inset(100% 0 0 0)
  }
  .r182-sell.r182-ready .r182-interlude .r182-narrative{transform:translate3d(0,38px,0)}
  .r182-ready .r182-interlude.r182-in .r182-title,
  .r182-ready .r182-interlude.r182-in .r182-narrative{
    opacity:1;transform:none;clip-path:inset(0)
  }
  .r182-ready .r182-guide .r182-guide-text{
    opacity:.18;transform:translate3d(-65px,22px,0);
    transition:opacity 1s ease,transform 1.5s var(--r182-ease)
  }
  .r182-ready .r182-guide .r182-book{
    opacity:.2;transform:perspective(1300px) rotateY(-15deg) translate3d(50px,15px,0);
    transition:opacity 1s ease,transform 1.7s var(--r182-ease);
    transition-delay:.2s
  }
  .r182-sell.r182-ready .r182-guide .r182-book{transform:perspective(1300px) rotateY(13deg) translate3d(-45px,8px,0)}
  .r182-ready .r182-guide.r182-in .r182-guide-text,
  .r182-ready .r182-guide.r182-in .r182-book{opacity:1;transform:none}
  .r182-ready .r182-closing .r182-title{
    opacity:.15;transform:translate3d(0,40px,0);
    transition:opacity 1.1s ease,transform 1.5s var(--r182-ease)
  }
  .r182-ready .r182-closing.r182-in .r182-title{opacity:1;transform:none}
  @media(min-width:901px){
    .r182-buy.r182-ready .r182-hero.r182-in .guide-image picture,
    .r182-sell.r182-ready .r182-hero.r182-in .guide-image picture{
      translate:0 var(--r182-depth,0px);
    }
  }
}
@media(max-width:900px){
  .r182-sell .r182-chapter .section-copy{border-left:0;border-top:1px solid rgba(46,89,114,.25);padding:24px 0 0}
  .r182-sell .r182-chapter .section-copy:before{left:0;right:auto;top:-2px;width:100%;height:3px;transform:scaleX(var(--r182-progress,0));transform-origin:left}
}
@media(max-width:700px){
  .r182-buy .r182-chapter:before,.r182-sell .r182-chapter:before{font-size:70px;top:7px;right:18px;opacity:.04}
  .r182-buy .r182-chapter:after,.r182-sell .r182-chapter:after{left:24px;width:calc(100% - 48px)}
  .r182-sell .r182-chapter .section-copy{padding-left:0}
  .r182-buy .r182-hero .r182-visual,.r182-sell .r182-hero .r182-visual{overflow:hidden}
  @media(prefers-reduced-motion:no-preference){
    .r182-buy.r182-ready .r182-chapter .r182-chapter-title{transform:translate3d(-24px,18px,0)}
    .r182-buy.r182-ready .r182-chapter .r182-chapter-copy{transform:translate3d(24px,14px,0)}
    .r182-sell.r182-ready .r182-chapter .r182-chapter-title{transform:translate3d(0,28px,0)}
    .r182-sell.r182-ready .r182-chapter .r182-chapter-copy{transform:translate3d(0,22px,0)}
    .r182-ready .r182-scene.r182-in .r182-chapter-title,
    .r182-ready .r182-scene.r182-in .r182-chapter-copy{opacity:1;transform:none;clip-path:inset(0)}
  }
}
@media(prefers-reduced-motion:reduce){
  .r182-buy .r182-scene *,.r182-sell .r182-scene *{
    opacity:1!important;transform:none!important;translate:none!important;clip-path:none!important;
    transition:none!important;animation:none!important
  }
  .r182-sell .r182-hero .r182-visual:before,.r182-sell .r182-hero .r182-visual:after{display:none}
}

/* Contain off-screen animation transforms to the current document. */
body.r182-buy,body.r182-sell{overflow-x:clip}
body.r182-buy #main,body.r182-sell #main{overflow-x:clip}
