/* Locally hosted, licensed typefaces: Cinzel for cosmic titles, Nunito for reading. */
@font-face{font-family:'Cinzel';src:url('assets/fonts/Cinzel.ttf') format('truetype');font-style:normal;font-weight:400 900;font-display:swap}
@font-face{font-family:'Nunito';src:url('assets/fonts/Nunito.ttf') format('truetype');font-style:normal;font-weight:200 1000;font-display:swap}
:root{--rk-font-heading:'Cinzel',Georgia,serif;--rk-font-body:'Nunito',system-ui,sans-serif}
body,.editor-styles-wrapper{font-family:var(--rk-font-body);font-weight:400;line-height:1.7}
h1,h2,h3,h4,h5,h6,.rk-wordmark,.brand{font-family:var(--rk-font-heading);font-weight:500;letter-spacing:.025em;line-height:1.22}
h2,h3{font-weight:600}
button,input,textarea,select,.button,.nav-links,.kicker,.pill{font-family:var(--rk-font-body)}
.button,.nav-links,.kicker,.pill{font-weight:700}
.rk-wordmark{font-weight:500;letter-spacing:.12em}
/* Replace the image's baked-in copy with accessible, editable HTML at every size. */
body.home .home-layout .rk-home-hero,body.home .home-layout .hero{
 aspect-ratio:auto;min-height:min(50vw,900px);height:auto;overflow:hidden;
 isolation:isolate;background:#080d17!important;
}
/* Only the illustration is brightened; text and buttons retain their contrast. */
body.home .home-layout .rk-home-hero::before,body.home .home-layout .hero::before{content:'';display:block;position:absolute;inset:0;z-index:0;pointer-events:none;background:url('assets/images/hero-visual.jpg') right center/60% 100% no-repeat;filter:brightness(1.12) saturate(1.04)}
body.home .home-layout .rk-home-hero::after,body.home .home-layout .hero::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#080d17 0%,#080d17 36%,rgba(8,13,23,.65) 44%,transparent 54%);-webkit-mask-image:linear-gradient(#000 0%,#000 60%,transparent 83%);mask-image:linear-gradient(#000 0%,#000 60%,transparent 83%)}
body.home .home-layout .rk-home-hero>.container,body.home .home-layout .hero>.container{position:relative;z-index:2;inset:auto;height:auto;width:100%;padding:clamp(24px,4vw,64px)}
body.home .home-layout .hero-grid{display:block;height:auto}
body.home .home-layout .hero-grid>div:first-child{padding:0}
body.home .home-layout .hero h1,body.home .home-layout .rk-home-hero h1,
body.home .home-layout .hero .lead,body.home .home-layout .rk-home-hero .lead,
body.home .home-layout .hero .kicker,body.home .home-layout .rk-home-hero .kicker{opacity:1;pointer-events:auto;width:49%;max-width:none;margin:0 0 24px}
body.home .home-layout .hero h1,body.home .home-layout .rk-home-hero h1{font-family:var(--rk-font-heading);font-size:clamp(2rem,3.5vw,3.8rem);font-weight:500;line-height:1.2;letter-spacing:.015em;color:#f8e6cf;text-wrap:balance}
body.home .home-layout .hero .lead,body.home .home-layout .rk-home-hero .lead{font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.65;color:#dbe0ed}
body.home .home-layout .hero .kicker,body.home .home-layout .rk-home-hero .kicker{font-size:.85rem;width:fit-content;max-width:49%}
body.home .home-layout .hero .actions,body.home .home-layout .rk-home-hero .actions{position:relative;inset:auto;width:49%;height:auto;min-height:0;display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 0}
body.home .home-layout .actions .button{opacity:1;height:auto;min-height:48px;padding:12px 18px;font-size:1rem;line-height:1.4;pointer-events:auto}
body.home .home-layout .actions .button:first-child{width:auto!important;background:#f4d0bb;color:#080d17;border:1px solid #f4d0bb}
body.home .home-layout .actions .button:last-child{width:auto!important;background:#080d17;color:#f4d0bb;border:1px solid #9aa0b8}
body.home .home-layout .actions .button:hover{filter:brightness(1.15)}
body.home .home-layout .actions .button:focus-visible{outline:3px solid #7fe9e6;outline-offset:4px}
@media(max-width:1024px){
 body.home .home-layout .hero,body.home .home-layout .rk-home-hero{min-height:0;background:#080d17!important}
 body.home .home-layout .hero::before,body.home .home-layout .rk-home-hero::before{position:relative;inset:auto;aspect-ratio:4/5;background-size:contain;background-repeat:no-repeat}
 body.home .home-layout .hero::after,body.home .home-layout .rk-home-hero::after{display:none}
 body.home .home-layout .hero>.container,body.home .home-layout .rk-home-hero>.container{padding:28px 0}
 body.home .home-layout .hero h1,body.home .home-layout .rk-home-hero h1{font-size:clamp(1.9rem,5vw,3.4rem)}
 body.home .home-layout .hero h1,body.home .home-layout .rk-home-hero h1,body.home .home-layout .hero .lead,body.home .home-layout .rk-home-hero .lead,body.home .home-layout .hero .kicker,body.home .home-layout .rk-home-hero .kicker,body.home .home-layout .hero .actions,body.home .home-layout .rk-home-hero .actions{width:100%;max-width:100%}
}
