/*
Theme Name: Royal Sovereign SPV Foundation
Text Domain: royal-sovereign-spv-foundation
Description: Reviewed sixteen-page royal-blue silk website, with native WordPress pages and original interactive illustrations.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
/* The original reviewed styles remain in assets/base.css and assets/royal.css. */
html{scroll-padding-top:110px}
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.two-col>*{min-width:0}
@media(max-width:640px){body[data-page="index"] .two-col .info-card{padding:24px!important}}

/* Royal design refinement: a continuous identity and audience-led navigation. */
:root{--sans:"Aptos","Trebuchet MS","Segoe UI",sans-serif;--royal-bright:#163f9d}
.site-header{isolation:isolate;background:#071c55;background-image:linear-gradient(90deg,#03134222,#071c55e8 37%,#071c55f5),url('https://www.royalspvf.co.za/wp-content/uploads/2026/10/Royal-Blue-Silk-%E2%80%94-Website-Artwork.png');background-size:cover;background-position:center 42%;border-bottom:1px solid #d5b57635;transition:box-shadow .3s}
.site-header:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:#e5c789;transform:scaleX(var(--royal-reading,0));transform-origin:left;pointer-events:none}
.site-header.has-scrolled{box-shadow:0 12px 35px #02113330}
.wordmark{position:relative;gap:12px;isolation:isolate}
.official-mark,.footer .foot-brand{mix-blend-mode:lighten;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(transparent,#000 6%,#000 94%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(transparent,#000 6%,#000 94%,transparent);mask-composite:intersect}
.official-mark{width:86px;height:92px;object-fit:contain}
.wordmark__text{font-size:23px}.desktop-nav>a,.nav-dropdown summary{font-size:13px}
.values-band{background:#153d92;color:#fff6e5;position:relative}
.value-item{border-color:#ecd29b40;position:relative;overflow:hidden}
.value-item strong{color:#f1d49b}.value-item span{color:#d4dff6}
.value-item:after{content:"";position:absolute;bottom:0;left:25px;right:25px;height:1px;background:#e6c284;transform:scaleX(.15);transform-origin:left;transition:transform .65s}
.values-band.royal-arrived .value-item:after{transform:scaleX(1)}
.value-item:nth-child(2):after{transition-delay:.15s}.value-item:nth-child(3):after{transition-delay:.3s}
.culture-chapter{background:#10367f;color:#faf3e6;background-image:radial-gradient(ellipse at 100% 0,#2554b9a6,transparent 65%)}
.culture-copy h2 em{color:#efd097}.culture-copy>p{color:#d5e0f5}.culture-copy .art-caption{color:#b5c6e8}
.culture-foot{border-color:#b5c5e640;color:#d3dff2}.culture-copy .text-link:hover{color:#efd097}
.weave-preview{--weave-x:0;--weave-y:0}
.weave-preview svg{transform:rotate(-6deg) rotateY(calc(-10deg + var(--weave-x)*1deg)) rotateX(calc(var(--weave-y)*1deg));transition:transform .35s;filter:drop-shadow(18px 28px 24px #020d302e)}
.section-soft{background:#e9eef7}
.priority-row{overflow:hidden;border-color:#8396b54d}
.priority-row:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,#1a429a0e,transparent 60%);transform:translateX(-105%);transition:transform .55s}
.priority-row:hover:before,.priority-row:focus-visible:before{transform:none}
.priority-row:hover,.priority-row:focus-visible{background:#d9e3f2}
.priority-row .more span{display:inline-block;transition:transform .3s;color:#16499f}
.priority-row:hover .more span,.priority-row:focus-visible .more span{transform:translate(3px,-3px)}
.royal-sequence.royal-arrived>.priority-row,.royal-sequence.royal-arrived>.label-item,.royal-sequence.royal-arrived>.step-card{animation:royal-arrival .65s both;animation-delay:calc(var(--royal-order,0)*65ms)}
@keyframes royal-arrival{from{transform:translateY(14px)}to{transform:translateY(0)}}
.audience-chapter{background:#0a2871;color:#f8f2e7;padding:110px 0;position:relative;overflow:clip;background-image:radial-gradient(ellipse at 90% 20%,#2058bd77,transparent 62%)}
.audience-heading{display:flex;gap:70px;justify-content:space-between;align-items:end;margin-bottom:60px}
.audience-heading h2{font:normal clamp(42px,5.2vw,76px)/1.07 var(--serif);letter-spacing:-.045em;margin:22px 0 0}
.audience-heading h2 em{color:#edcd92}.audience-heading>p{max-width:285px;color:#d2def4;font-size:14px;margin:0 0 5px}
.audience-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:90px;align-items:start}
.audience-list{border-top:1px solid #bdcde550}
.audience-choice{display:grid;grid-template-columns:30px 1fr 25px;gap:16px;width:100%;text-align:left;align-items:center;min-height:68px;padding:16px 10px;border:0;border-bottom:1px solid #bdcde53d;background:transparent;color:#cad9f3;font:normal 14px/1.4 var(--sans);cursor:pointer;position:relative;transition:background .25s,color .25s,padding .25s}
.audience-choice[aria-pressed=true]{color:#fff2d5;background:#284e9a78;box-shadow:inset 2px 0 #e9c98c;padding-left:18px}
.audience-choice:hover{background:#31589c44;color:white}.audience-choice:disabled{cursor:default}.audience-choice:focus-visible{outline:2px solid #f2d49b;outline-offset:3px;z-index:1}
.audience-number{font-size:10px;letter-spacing:.05em;color:#ccae77}.audience-arrow{font-size:22px;justify-self:end;transition:transform .25s}.audience-choice[aria-pressed=true] .audience-arrow{transform:rotate(45deg)}
.audience-stage{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.audience-compass{position:relative;max-width:420px;width:100%;margin:-25px auto -5px}
.audience-compass svg{display:block;width:100%;max-height:300px;overflow:visible}
.compass-ring{fill:none;stroke:#92add83d;stroke-width:1}.compass-ring.inner{stroke-dasharray:2 11;stroke:#dec59055;transform-origin:260px 230px}
.audience-node path{fill:none;stroke:#8eabda4d;stroke-width:1.3;stroke-dasharray:6 7;transition:stroke .45s,stroke-width .45s}
.audience-node circle{fill:#0a2871;stroke:#99b5e3;stroke-width:1.5;transition:fill .3s,stroke .3s}
.audience-node text{font:11px var(--sans);fill:#a9bfdf;text-anchor:middle}
.audience-node.is-active path{stroke:#efd09a;stroke-width:2.5;stroke-dasharray:0}
.audience-node.is-active circle{fill:#efd09a;stroke:#fff1d3;stroke-width:2}
.audience-node.is-active text{fill:#ffe1ab}
.compass-core{fill:#0a2871;stroke:#c5a667;stroke-width:1}.compass-title{fill:#f2d59c;font:italic 27px var(--serif);text-anchor:middle}
.compass-caption{display:block;text-align:center;color:#a8bfdf;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.audience-detail{padding:26px 0 0;border-top:1px solid #c1d1e74d;min-height:300px;scroll-margin-top:110px}
.audience-panel-label{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#e8c687}
.audience-detail h3{font:normal clamp(29px,3.3vw,43px)/1.13 var(--serif);letter-spacing:-.025em;margin:15px 0 20px;max-width:470px}
.audience-detail p{font-size:14px;color:#d1def3;max-width:480px}
.audience-links{display:flex;flex-direction:column;align-items:start;gap:15px;margin:23px 0}
.audience-links .text-link{color:#f5ddb0;font-size:13px;min-height:44px}.audience-links .text-link:hover{color:white}
.audience-secondary{font-size:12px;color:#d3e0f4;min-height:44px;display:inline-flex;gap:20px;align-items:center;text-decoration:underline;text-underline-offset:5px}
.audience-detail .audience-note{font-size:11px;color:#aabfdf;line-height:1.65;border-left:1px solid #d0b67a66;padding-left:14px;margin-bottom:0}
.audience-detail.is-switching>article:not([hidden]){animation:royal-panel-in .4s both}
.audience-compass.is-switching .is-active path{animation:royal-route-in .7s both}
@keyframes royal-panel-in{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes royal-route-in{from{stroke-dasharray:300;stroke-dashoffset:300}to{stroke-dasharray:300;stroke-dashoffset:0}}
.audience-no-script{margin-top:40px;padding-left:20px}.audience-no-script li{margin:20px 0}.audience-no-script a{color:#f5d399;text-decoration:underline}
.footer{background-color:#061943;background-image:radial-gradient(ellipse at 0 20%,#1c42946b,transparent 65%)}
@media(max-width:1100px){.official-mark{width:72px;height:78px}.wordmark{min-width:230px}.wordmark__text{font-size:21px}.desktop-nav{gap:17px}.audience-layout{gap:50px}.audience-heading{gap:35px}}
@media(max-width:800px){.audience-chapter{padding:75px 0}.audience-heading{display:block;margin-bottom:40px}.audience-heading>p{max-width:440px;margin-top:24px}.audience-layout{gap:35px;grid-template-columns:minmax(0,1fr)}.audience-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px}.audience-stage{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;align-items:center}.audience-compass{margin:0;max-width:300px}.audience-detail{min-height:0;border-top:0;padding:10px 0}.audience-choice{min-height:82px;font-size:13px;gap:8px;padding-inline:8px}.audience-choice[aria-pressed=true]{padding-left:12px}.audience-detail h3{font-size:33px}.audience-detail p{font-size:13px}}
@media(max-width:600px){.site-header .wordmark{min-width:0;gap:8px}.official-mark{width:60px;height:64px}.wordmark__text{font-size:18px}.wordmark__text span{font-size:8px}.site-header>.container{gap:12px}.audience-chapter{padding:62px 0}.audience-heading h2{font-size:43px}.audience-list{display:block}.audience-choice{min-height:64px;font-size:14px;grid-template-columns:27px minmax(0,1fr) 22px}.audience-stage{display:flex;flex-direction:column;gap:15px;align-items:stretch}.audience-compass{max-width:270px;margin:0 auto}.audience-compass svg{max-height:235px}.audience-layout{gap:35px}.audience-detail{padding-top:25px;border-top:1px solid #c1d1e74d}.audience-detail h3{font-size:35px}.audience-detail p{font-size:14px}.audience-heading>p{font-size:14px}.audience-choice[aria-pressed=true]{padding-left:13px}.value-item{padding-inline:15px}.value-item:after{left:15px;right:15px}}
@media(prefers-reduced-motion:reduce){.royal-sequence.royal-arrived>*,.audience-detail.is-switching>article,.audience-compass.is-switching .is-active path{animation:none!important}.weave-preview svg{transform:none!important}.audience-choice,.priority-row:before,.priority-row .more span,.value-item:after{transition:none!important}}
