/* Home Loan Zone: architecture, drawn with intention. Complete without JavaScript. */
.reveal{animation:none}
.hero-visual::before{display:none}
.hero-visual,.loan-photo-visual{position:relative;isolation:isolate}
.photo-window{overflow:hidden;border-radius:230px 230px 5px 5px}
.photo-window .hero-photo,.photo-window .purchase-photo{border-radius:0}
.loan-photo-visual .photo-window{border-radius:220px 220px 3px 3px}
.architectural-frame{position:absolute;inset:-18px -17px 10px 1px;width:calc(100% + 16px);height:calc(100% + 8px);color:var(--gold);z-index:3;pointer-events:none}
.loan-photo-visual .architectural-frame{inset:-18px -17px -16px 1px;height:calc(100% + 34px)}
.hero-visual .photo-note{z-index:4}
.hlz-art{pointer-events:none;user-select:none}
.loan-art{width:100%;max-width:320px;margin-top:34px;color:#75887b}
.loan-illustration{width:100%;height:auto}
.loan-art[data-active-loan] [data-loan-detail]{opacity:.26}
.loan-art[data-active-loan] [data-loan-detail].is-active{opacity:1;stroke-width:2.5}
.loan-art.loan-page-art{max-width:240px;margin-top:24px}
.loan-page-art .loan-illustration{display:block}
.loan-item{position:relative}
.loan-item::before{content:'';position:absolute;left:-17px;top:26px;width:3px;height:33px;background:var(--gold-dark);transform:scaleY(0);transform-origin:center}
.loan-item[open]::before{transform:scaleY(1)}
.approach>.wrap{position:relative}
.approach-art{position:absolute;right:0;top:-65px;width:340px;height:auto;color:#d3b77e;opacity:.4;pointer-events:none}
.approach::after{display:none}
.approach>.wrap>.eyebrow,.approach h2,.approach-grid{position:relative;z-index:1}
.approach-feature,.purchase-option,.start-option{position:relative}
.approach-feature::before,.purchase-option::before,.start-option::before{content:'';position:absolute;top:-1px;left:0;width:100%;height:1px;background:var(--gold);transform:scaleX(var(--rule-progress,1));transform-origin:left}
.checklist{position:relative}
.checklist::before{content:'';position:absolute;top:-1px;left:0;width:52px;height:1px;background:var(--gold);transform:scaleX(var(--rule-progress,1));transform-origin:left}
.footer-credit{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
@media(prefers-reduced-motion:no-preference){
  html[data-motion=enabled] .loan-item::before{transition:transform .45s cubic-bezier(.22,.61,.36,1)}
  html[data-motion=enabled] [data-loan-detail]{transition:opacity .45s,stroke-width .45s}
  html[data-motion=enabled] .loan-item[open] .loan-body,
  html[data-motion=enabled] .faq[open]>p{animation:hlz-answer .55s ease-out}
  html[data-motion=enabled] .inquiry-dialog[open]{animation:hlz-panel .32s ease-out}
  html[data-motion=enabled] .nav.open{animation:hlz-panel .28s ease-out}
  @keyframes hlz-answer{from{transform:translateY(7px)}to{transform:none}}
  @keyframes hlz-panel{from{transform:translateY(9px)}to{transform:none}}
}
@media(max-width:1120px){
  .approach-art{width:240px;top:-25px;opacity:.24}
  .approach h2{max-width:520px}
  .loan-photo-visual .photo-window{border-radius:200px 200px 3px 3px}
  .loan-art.loan-page-art{max-width:210px;margin-top:20px}
}
@media(max-width:680px){
  .photo-window{border-radius:200px 200px 3px 3px}
  .architectural-frame{inset:-12px -9px 9px 0;width:calc(100% + 9px);height:calc(100% + 3px)}
  .loan-photo-visual{max-width:440px;width:calc(100% - 10px)}
  .loan-photo-visual .architectural-frame{inset:-12px -11px -10px 0;height:calc(100% + 22px)}
  .loan-art{max-width:245px;margin-top:20px}
  .loan-art.loan-page-art{max-width:176px;margin-top:16px}
  .loan-item::before{left:-10px;top:23px;height:30px}
  .approach-art{position:relative;display:block;top:auto;right:auto;width:210px;max-width:70%;margin:0 0 25px;opacity:.65}
  .approach h2{max-width:none}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  [data-draw]{stroke-dasharray:none!important;stroke-dashoffset:0!important}
}
html[data-motion=paused]{scroll-behavior:auto}
html[data-motion=paused] *,html[data-motion=paused] *::before,html[data-motion=paused] *::after{animation:none!important;transition:none!important}
