/* Legacy Architect RVA | Editorial homepage, approved concept
   Scoped to homepage only. Preserve existing Elara, readiness and navigation JS.
   See design-prototypes/homepage-editorial-concept.html in PR #456. */
body.editorial-home{
  --editorial-rule:rgba(234,216,180,.20);
  --editorial-paper:#0f0c08;
  --editorial-parchment:#0f0c08;
  --editorial-ink:#f7f1e7;
  --editorial-copy:#d9cebe;
  --editorial-link:#e5bf80;
  --editorial-number:#d0ae78;
  --editorial-nav:#0f0c08;
  --editorial-nav-copy:#e6dfd2;
  --editorial-hero:#0f0c08;
  --editorial-hero-head:#fbf5eb;
  --editorial-hero-copy:#e2d9ca;
  --editorial-photo-section:#0f0c08;
  --editorial-photo-copy:#f6f0e7;
  --editorial-footer:#0f0c08;
  --editorial-footer-copy:#ded4c4;
  background:var(--editorial-paper);
  color:var(--editorial-ink);
}
html.lightmode body.editorial-home{
  --editorial-paper:#f7f3eb;
  --editorial-parchment:#eae3d7;
  --editorial-ink:#201d18;
  --editorial-copy:#514b42;
  --editorial-rule:rgba(45,37,26,.23);
  --editorial-link:#795a2b;
  --editorial-number:#967038;
  --editorial-nav:#eee6d8;
  --editorial-nav-copy:#272018;
  --editorial-hero:#ede3d1;
  --editorial-hero-head:#211b14;
  --editorial-hero-copy:#494136;
  --editorial-photo-section:#ded5c5;
  --editorial-photo-copy:#30271c;
  --editorial-footer:#e9dfce;
  --editorial-footer-copy:#42382c;
  background:var(--editorial-paper);
  color:var(--editorial-ink);
}
body.editorial-home main{isolation:isolate}
body.editorial-home .hero{
  display:flex;flex-direction:row;
  min-height:clamp(650px,81svh,830px);height:auto;
  background:var(--editorial-hero)!important;color:var(--editorial-hero-head);
}
body.editorial-home .hero-copy{
  flex:1.04;min-width:0;
  padding:clamp(74px,8vw,124px) clamp(38px,5.8vw,104px);
  align-items:flex-start;text-align:left;background:var(--editorial-hero);
}
body.editorial-home .hero h1{
  font-family:'Crimson Pro',Georgia,serif!important;
  font-size:clamp(2.65rem,4.13vw,4.92rem)!important;
  line-height:1.04!important;font-weight:600!important;letter-spacing:-.035em;
  max-width:12ch;margin:0 0 28px;color:var(--editorial-hero-head)!important;text-shadow:none;
}
body.editorial-home .hero h1 em{color:var(--editorial-link);font-weight:400!important}
body.editorial-home .hero-copy > p{
  font:400 clamp(1rem,1.16vw,1.13rem)/1.68 'Crimson Pro',Georgia,serif!important;
  max-width:45ch;color:var(--editorial-hero-copy)!important;text-align:left;margin:0 0 19px;
}
body.editorial-home .hero .cta-row{margin-top:12px;align-self:flex-start}
body.editorial-home .hero .sub-cta{font:400 13px/1.7 Inter,Arial,sans-serif!important;color:var(--editorial-hero-copy)}
body.editorial-home .hero .sub-cta a{font-weight:600}
body.editorial-home .hero-visual{flex:1;position:relative;min-width:0;min-height:inherit}
body.editorial-home .hero-visual img{object-position:center 45%}
body.editorial-home .hero-visual:after{
  background:linear-gradient(90deg,rgba(25,22,17,.18),transparent 45%),
   linear-gradient(0deg,rgba(25,22,17,.25),transparent 28%);
}
body.editorial-home .hero .scroll-hint{display:none}
body.editorial-home #founder{padding:clamp(100px,11vw,160px) 0;background:var(--editorial-paper)!important;color:var(--editorial-ink)!important;border:0!important}
body.editorial-home #founder .wrap{max-width:1280px}
body.editorial-home #founder .founder{max-width:1000px!important;text-align:left}
body.editorial-home #founder h2{font:600 clamp(2.25rem,3.75vw,3.75rem)/1.08 'Crimson Pro',Georgia,serif!important;letter-spacing:-.035em;color:var(--editorial-ink)!important;margin-bottom:32px}
body.editorial-home #founder p{
  font:400 clamp(1rem,1.25vw,1.14rem)/1.75 'Crimson Pro',Georgia,serif!important;
  color:var(--editorial-copy)!important;max-width:66ch!important;margin-bottom:20px;
}
body.editorial-home .home-process{
  padding:clamp(90px,10vw,148px) 0 clamp(70px,8vw,115px)!important;
  background:var(--editorial-parchment)!important;color:var(--editorial-ink)!important;
  border:0!important;
}
body.editorial-home .home-process .wrap{max-width:1320px}
body.editorial-home .home-process h2.lead{
  font:600 clamp(2.1rem,3.3vw,3.6rem)/1.09 'Crimson Pro',Georgia,serif!important;
  letter-spacing:-.03em;max-width:19ch;color:var(--editorial-ink)!important;
}
body.editorial-home .home-process-intro{font:400 clamp(1rem,1.2vw,1.06rem)/1.7 Inter,Arial,sans-serif;color:var(--editorial-copy)!important;max-width:58ch;margin:23px 0 48px}
body.editorial-home .home-process-steps{
  display:grid;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--editorial-rule);
  gap:0!important;
}
body.editorial-home .home-process-steps li{
  display:grid;grid-template-columns:75px minmax(230px,.9fr) minmax(0,1.4fr);
  align-items:start;gap:clamp(18px,3vw,45px);padding:26px 0!important;
  border-bottom:1px solid var(--editorial-rule)!important;
}
body.editorial-home .home-process-number{font:500 17px/1.7 'Crimson Pro',Georgia,serif!important;color:var(--editorial-number)!important}
body.editorial-home .home-process-steps h3{
  font:600 clamp(1.25rem,1.8vw,1.8rem)/1.15 'Crimson Pro',Georgia,serif!important;
  letter-spacing:-.02em;color:var(--editorial-ink)!important;margin:0!important;
}
body.editorial-home .home-process-steps p{
  font:400 clamp(1rem,1.05vw,1.02rem)/1.75 Inter,Arial,sans-serif!important;
  color:var(--editorial-copy)!important;max-width:62ch;
}
body.editorial-home .home-process .continuity-details{
  border-top:1px solid var(--editorial-rule)!important;
  margin-top:58px!important;padding-top:38px!important;
}
body.editorial-home .home-process .continuity-details h3{color:var(--editorial-ink)!important}
body.editorial-home .home-process .continuity-details p{color:var(--editorial-copy)!important}
body.editorial-home .home-process .continuity-details-guides{border-color:var(--editorial-rule)!important}
body.editorial-home .continuity-records-photo{
  background:var(--editorial-photo-section)!important;color:var(--editorial-photo-copy)!important;
  padding:clamp(80px,8vw,118px) 0!important;
}
body.editorial-home .continuity-records-photo .continuity-records-layout{max-width:1280px;gap:clamp(40px,6vw,96px)}
body.editorial-home .continuity-records-photo .continuity-records-figure img{border-radius:0!important}
body.editorial-home .continuity-records-copy h2{
  color:var(--editorial-photo-copy)!important;
  font:600 clamp(1.88rem,3vw,3.38rem)/1.12 'Crimson Pro',Georgia,serif!important;letter-spacing:-.025em;
}
body.editorial-home .continuity-records-copy p.body{color:var(--editorial-photo-copy)!important;font:400 1.02rem/1.7 'Crimson Pro',Georgia,serif!important}
body.editorial-home .band:has(.review-simple){
  background:var(--editorial-paper)!important;color:var(--editorial-ink)!important;
  padding:clamp(90px,10vw,150px) 0!important;
}
body.editorial-home .band:has(.review-simple) h2{color:var(--editorial-ink)!important;font:600 clamp(2.03rem,3.3vw,3.38rem)/1.1 'Crimson Pro',Georgia,serif!important}
body.editorial-home .review-simple .quote{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.editorial-home .review-simple .quote p{color:var(--editorial-ink)!important}
body.editorial-home .review-simple .quote .who{color:var(--editorial-link)!important}
body.editorial-home .final{
  background:var(--editorial-parchment)!important;color:var(--editorial-ink)!important;
  border:0!important;padding:clamp(95px,11vw,150px) 0!important;
}
body.editorial-home .final h2,body.editorial-home .final .lead{color:var(--editorial-ink)!important}
body.editorial-home .final p{color:var(--editorial-copy)!important}
body.editorial-home .final .trust-badge{color:var(--editorial-ink)!important;background:transparent;border-color:var(--editorial-rule)}
body.editorial-home footer{background:var(--editorial-footer)!important;color:var(--editorial-footer-copy)!important}
body.editorial-home footer .f-note{color:var(--editorial-footer-copy)!important}

@media(max-width:880px){
 body.editorial-home .hero{flex-direction:column;min-height:0}
 body.editorial-home .hero-copy{padding:72px 32px 58px;flex:auto}
 body.editorial-home .hero-visual{position:relative;inset:auto;flex:none;min-height:390px;height:390px}
 body.editorial-home .hero-copy > p{max-width:57ch}
 body.editorial-home .hero h1{font-size:clamp(2.5rem,5.25vw,4.05rem)!important}
 body.editorial-home .home-process-steps li{grid-template-columns:48px minmax(0,1fr);gap:9px 20px}
 body.editorial-home .home-process-steps p{grid-column:2}
}
@media(max-width:600px){
 /* Restore the approved image-behind-copy treatment. The later editorial
    stylesheet must not detach the hero photo into a second block. */
 body.editorial-home .hero{
   position:relative!important;display:flex!important;flex-direction:column!important;
   justify-content:flex-start!important;min-height:720px!important;height:auto!important;
   overflow:hidden!important;background:var(--editorial-hero)!important;
 }
 body.editorial-home .hero-copy{
   position:relative!important;order:0!important;z-index:2!important;
   flex:none!important;box-sizing:border-box!important;width:100%!important;
   padding:44px 22px 185px!important;background:linear-gradient(180deg,rgba(9,7,5,.82) 0%,rgba(9,7,5,.68) 50%,rgba(9,7,5,0) 100%)!important;
 }
 body.editorial-home .hero h1{font-size:clamp(2.3rem,9vw,3.15rem)!important;line-height:1.04!important;margin-bottom:23px;color:#fbf5eb!important}
 body.editorial-home .hero h1 em{color:#e8c869!important}
 body.editorial-home .hero-copy > p{font-size:1rem!important;line-height:1.55!important;max-width:35ch;color:#f2ede2!important}
 body.editorial-home .hero-visual{
   display:block!important;position:absolute!important;inset:0!important;
   flex:none!important;min-height:100%!important;height:100%!important;
   width:100%!important;order:0!important;overflow:hidden!important;z-index:0!important;
 }
 body.editorial-home .hero-visual img{
   position:absolute!important;inset:0!important;display:block!important;
   width:100%!important;height:100%!important;min-height:100%!important;
   max-height:none!important;object-fit:cover!important;object-position:center 66%!important;
 }
 body.editorial-home .hero-visual:after{
   display:block!important;position:absolute!important;inset:0!important;
   background:linear-gradient(180deg,rgba(9,7,5,.52) 0%,rgba(9,7,5,.18) 58%,rgba(9,7,5,.06) 100%)!important;
 }
 body.editorial-home .mobile-hero-actions{
   display:flex!important;order:0;gap:12px;background:var(--editorial-hero)!important;
   padding:21px 21px 30px;
 }
 body.editorial-home .mobile-hero-actions .sub-cta{color:var(--editorial-hero-copy)!important}
 body.editorial-home #founder{padding:88px 0}
 body.editorial-home #founder h2{font-size:clamp(2.07rem,7.9vw,3rem)!important}
 body.editorial-home .home-process{padding:85px 0 80px!important}
 body.editorial-home .home-process h2.lead{font-size:clamp(1.95rem,7.13vw,2.78rem)!important}
 body.editorial-home .home-process-intro{margin-bottom:32px}
 body.editorial-home .home-process-steps li{grid-template-columns:35px 1fr;gap:8px 14px;padding:22px 0!important}
 body.editorial-home .home-process-steps h3{font-size:1.38rem!important}
 body.editorial-home .home-process-steps p{font-size:1rem!important}
 body.editorial-home .continuity-records-photo{padding:70px 0!important}
 body.editorial-home .continuity-records-copy h2{font-size:clamp(1.92rem,6.75vw,2.85rem)!important}
 body.editorial-home .review-simple .quote{padding:20px 6px!important}
 body.editorial-home .final{padding:90px 0!important}
}
@media(prefers-reduced-motion:reduce){
 body.editorial-home .hero,body.editorial-home .hero-visual{transition:none!important}
}

/* Keep the primary action below the introduction within the hero copy,
   visible on the initial screen. The photo stays behind the copy on mobile. */
body.editorial-home .hero-copy .cta-row{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  margin:12px 0 0!important;
  align-self:flex-start;
}
body.editorial-home .hero-copy .cta-buttons{display:flex;flex-wrap:wrap;gap:10px}
body.editorial-home .hero-copy .cta-row .btn-gold{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:44px;max-width:100%;box-sizing:border-box;
  padding:11px 18px;text-align:center;white-space:normal;
}
body.editorial-home .hero-copy > p{margin-top:0!important}
@media(max-width:880px){
  body.editorial-home .hero-copy{
    padding-top:clamp(24px,5.8vw,52px)!important;
    padding-bottom:28px!important;
  }
  body.editorial-home .hero h1{margin-bottom:17px!important}
}
@media(max-width:600px){
  body.editorial-home .hero-copy{
    padding:clamp(20px,5vw,34px) 22px 30px!important;
    min-height:0!important;
  }
  body.editorial-home .hero h1{
    font-size:clamp(2.05rem,8.4vw,2.8rem)!important;
    line-height:1.02!important;
    margin-bottom:16px!important;
  }
  body.editorial-home .hero-copy .cta-row{
    display:flex!important;
    margin:10px 0 0!important;
    position:relative;z-index:3;
  }
  body.editorial-home .hero-copy .cta-row .btn-gold{
    font:600 clamp(12px,3.25vw,14px)/1.25 Inter,Arial,sans-serif!important;
    padding:11px 16px!important;
  }
  body.editorial-home .hero-copy .sub-cta{font-size:12px!important;line-height:1.4!important}
}
@media(max-height:600px){
  body.editorial-home .hero-copy{padding-top:16px!important;padding-bottom:18px!important}
  body.editorial-home .hero h1{
    font-size:clamp(1.9rem,4.7vw,2.8rem)!important;
    line-height:1.01!important;
    margin-bottom:12px!important;
  }
  body.editorial-home .hero-copy .cta-row{margin-top:8px!important;margin-bottom:0!important}
  body.editorial-home .hero-copy > p{font-size:clamp(.88rem,1.7vw,1rem)!important}
}

/* Preserve bottom-of-copy action order without a separate bottom-of-page CTA. */
body.editorial-home .hero-copy{justify-content:center}
body.editorial-home .hero-copy .cta-row{order:initial}
@media(max-height:600px){
  body.editorial-home .hero-copy{justify-content:flex-start}
  body.editorial-home .hero-copy > p{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
    line-clamp:3;overflow:hidden;line-height:1.35!important;margin-bottom:4px!important;
  }
}
@media(max-width:600px){
  body.editorial-home .hero-copy{justify-content:flex-start!important}
}

/* The hero's supporting link sits over a photograph, including in light mode.
   The light page palette must not turn this photograph-overlay copy dark. */
@media(max-width:600px){
  html.lightmode body.editorial-home .hero .cta-row .sub-cta,
  html.lightmode body.editorial-home .hero .cta-row .sub-cta a,
  html:not(.lightmode) body.editorial-home .hero .cta-row .sub-cta,
  html:not(.lightmode) body.editorial-home .hero .cta-row .sub-cta a{
    color:#fff6e6!important;
    opacity:1!important;
    text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 12px rgba(0,0,0,.75);
  }
  body.editorial-home .hero .cta-row .sub-cta{
    max-width:100%;
    overflow-wrap:break-word;
  }
  body.editorial-home .hero .cta-row .sub-cta a{
    text-decoration:underline!important;
    text-underline-offset:3px;
    text-decoration-thickness:1px;
  }
}
