/* Shared spacing for public PLX pages. */
:root{--plx-page-gap:clamp(20px,4vw,64px)}
body .editorial,body .rasa-main{padding-inline:var(--plx-page-gap);margin-inline:auto}
body .footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;text-align:center;gap:20px}
body .footer .footer-brand,body .footer .footer-cta{align-items:center;justify-content:center;text-align:center}
body .footer .footer-cta:empty,body .stage-base:empty{display:none}
body .stage-base{justify-content:center;align-items:center}
.division-hero>*,.home-editorial>*,.rasa-split>*,.plx-explainers>*{min-width:0}
body .division-hero img,.home-editorial>img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;margin-inline:auto}
body .board-photo{max-height:none;min-height:0}
.plx-photo-story img{max-height:none;min-height:0;height:auto;object-fit:contain}
.rasa-intake-last .rasa-frame{display:block;width:100%;max-width:100%;margin-inline:auto;border-radius:20px}
.rasa-main form, #plx-form{width:100%;min-width:0}
.rasa-main form :is(input,textarea,select),#plx-form :is(input,textarea,select){max-width:100%;min-width:0;box-sizing:border-box}
#plx-form fieldset{min-inline-size:0;margin:clamp(22px,4vw,34px) 0 0;padding:clamp(15px,3vw,28px);border-radius:16px}
#plx-form :is(.grid,.choices){gap:clamp(12px,2vw,22px);align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
#plx-form legend{max-width:100%;line-height:1.3}
#plx-form .actions,.rasa-main form .rasa-actions{justify-content:center;align-items:center}
#plx-form .actions{text-align:center}
.rasa-main :is(.rasa-panel,.plx-explainer){padding:clamp(18px,3vw,34px)}
.rasa-main form label{margin-bottom:8px}
.rasa-main form>button{display:flex;margin-inline:auto;text-align:center}
:is(button,.btn,.button,.consult,.profile-button,.rasa-link,.action,.portal,[role=button],.rasa-tabs a):not(:disabled):active{translate:0 2px;scale:.98;filter:brightness(1.18)!important;box-shadow:inset 0 2px 8px #251706aa!important}
@media(max-width:800px){body .footer{align-items:center}.footer-brand{flex-wrap:wrap}.rasa-main .rasa-tabs{margin-right:0}.rasa-main .plx-feature-film{margin-inline:auto!important}.rasa-main .rasa-intake-last .rasa-frame{height:clamp(3100px,900vw,3800px)}}
@media(max-width:620px){#plx-form :is(.grid,.choices){grid-template-columns:minmax(0,1fr)}.rasa-main form .rasa-actions>*{max-width:100%}}
@media print{#plx-form fieldset{padding:12px;margin-top:16px}}

/* R.A.S.A feature media extends to both edges of the content area. */
body .rasa-main>.plx-feature-film{width:calc(100% + var(--plx-page-gap) * 2)!important;max-width:none!important;margin-inline:calc(-1 * var(--plx-page-gap))!important}
body .rasa-main>.plx-feature-film .film-frame{border-radius:0;border-inline:0}
body .rasa-main>.plx-feature-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
body .rasa-main>.plx-feature-film figcaption{padding-inline:var(--plx-page-gap)}
body .rasa-top{justify-content:flex-end}
body .division-hero:has(>img){grid-template-columns:minmax(0,1fr)}
body .division-hero>img{width:100%}

/* Keep the statement above the fold without distorting the medallion. */
body:has(.plx-stage) .plx-topbar{height:clamp(42px,8svh,70px)}
body:has(.plx-stage) .plx-stage{padding-top:clamp(12px,2.5svh,28px)}
body:has(.plx-stage) .logo-stage{min-height:0;padding:clamp(14px,3svh,30px) 0}
body:has(.plx-stage) .monument{width:min(72vw,46svh,470px)}
body:has(.plx-stage) .stage-title{margin:4px auto clamp(20px,5svh,38px)}
body:has(.plx-stage) .stage-title h1{max-width:100%;line-height:1.22}
.plx-page-media{width:100%;margin:0 auto;max-width:1440px;overflow:hidden}
.plx-page-media img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center 35%}
body .division-hero>img{max-width:1200px;margin:0 auto}
body .division-hero{gap:clamp(24px,4vw,52px)}
body .rasa-main>.plx-feature-film{width:100%!important;max-width:1120px!important;margin-inline:auto!important}
body .rasa-main>.plx-feature-film .film-frame{border-radius:clamp(12px,2vw,24px);border:0;box-shadow:none}
body .rasa-main>.plx-feature-film video{object-fit:contain}
body .rasa-main>.plx-feature-film figcaption{padding-inline:0}
@media(max-width:800px){body:has(.plx-stage) .monument{width:min(68vw,36svh,360px)}body:has(.plx-stage) .plx-stage{padding-top:12px}.plx-page-media img{aspect-ratio:16/10}}
@media(prefers-reduced-motion:no-preference){.plx-fade-in{animation:plxEditorialFade .72s ease-out both}@keyframes plxEditorialFade{from{opacity:.25}to{opacity:1}}}

body #champagne.product-row{grid-template-columns:minmax(0,1fr)}

/* Feather editorial photography and feature loops into the surrounding page. */
body :is(main,.shell) :is(img, video):not([src*="logo" i]):not(.explore-logo){
  -webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
}
body .film-frame{border-color:transparent;box-shadow:none}
body .plx-page-media.investor-media{box-sizing:border-box;width:calc(100% - 2 * var(--plx-page-gap));max-width:1120px;margin:clamp(12px,2vw,28px) auto 0;border-radius:clamp(12px,2vw,24px)}
body .investor-media img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}

/* Keep the animated medallion ring clear of the homepage tagline. */
.plx-home .plx-stage .logo-stage{padding-bottom:clamp(48px,7svh,66px)}
@media (max-width:520px){
  .plx-home .plx-stage .logo-stage{padding-bottom:clamp(36px,6svh,48px)}
}
