/* Page-scoped palette inspired by the Projects & Research globe. */
.portfolio-world-theme{background:#06152c;color:#f4f7fc}
.portfolio-world-theme main{background:radial-gradient(ellipse at 100% 4%,#0c455758,transparent 38%),radial-gradient(ellipse at 0% 48%,#0a466338,transparent 34%),#06152c}
.portfolio-world-theme .portfolio-hero{padding:clamp(2.5rem,5vw,5rem) 6vw;background:radial-gradient(ellipse at 75% 35%,#12607960,transparent 53%),linear-gradient(130deg,#06132b,#0b2540);border-bottom:1px solid #d6ad534d}
.portfolio-world-theme .portfolio-hero .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(2rem,5vw,5rem)}
.portfolio-world-theme .portfolio-hero h1{color:#fff;font-size:clamp(2.7rem,5vw,5rem);text-wrap:balance;margin-bottom:1.3rem}
.portfolio-world-theme .portfolio-hero .dek{color:#d3e0ee;font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.7}
.portfolio-world-theme .breadcrumb{color:#bdcfe0}.portfolio-world-theme .breadcrumb a:hover{color:#ffe1a1}
.portfolio-world-theme main .eyebrow{color:#6ce1eb}
.portfolio-world-graphic{width:100%;max-width:560px;justify-self:center;border:1px solid #dab15a66;border-radius:8px;overflow:hidden;background:#071a36;box-shadow:0 0 45px #27c4de19,0 24px 60px #0006}
.portfolio-world-graphic img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.portfolio-world-theme .portfolio-sections{background:transparent;padding-top:3rem}
.portfolio-world-theme .portfolio-group-heading{border-bottom-color:#d6ad5355}
.portfolio-world-theme .portfolio-group-heading h2{color:#f9e4b5}
.portfolio-world-theme .portfolio-tile{background:linear-gradient(145deg,#102c47,#0a2039);color:#f4f7fc;border-color:#58819570;box-shadow:0 4px 0 #18374c,0 14px 30px #0003}
.portfolio-world-theme .portfolio-tile:hover,.portfolio-world-theme .portfolio-tile:focus-visible{border-color:#ebc36b;box-shadow:0 5px 0 #8b6b2d,0 0 30px #24becb24;outline:2px solid #e8c16a;outline-offset:3px}
.portfolio-world-theme .portfolio-tile h2{color:#fff}
.portfolio-world-theme .portfolio-tile p{color:#cfdeec}
.portfolio-world-theme .portfolio-tile .tile-copy>span{color:#77dce5}
.portfolio-world-theme .portfolio-tile b{color:#f4d285}
.portfolio-world-theme .book-title-tile{background:linear-gradient(145deg,#153249,#0a2039)!important}
.portfolio-world-theme .book-title-tile>img.mini-book-cover-image{background:radial-gradient(ellipse,#224257,#0a2039)}
.portfolio-world-theme .rc-portfolio-visual{background:linear-gradient(135deg,#193a4a,#0b253d)}
@media(max-width:950px){.portfolio-world-theme .portfolio-hero .wrap{grid-template-columns:1fr}.portfolio-world-graphic{max-width:480px}.portfolio-world-theme .portfolio-hero{padding-top:2.5rem;padding-bottom:2.5rem}}
@media(prefers-reduced-motion:reduce){.portfolio-world-theme .portfolio-tile{transition:none}}

/* Keep the light masthead independent of the dark page palette. */
.portfolio-world-theme .site-header{color:#102451;background:#fbfaf6}
.portfolio-world-theme .site-header .brand-title{color:#102451}
.portfolio-world-theme .site-header .brand-title small{color:#087f83}
.portfolio-world-theme .site-header #nav a{color:#102451}
.portfolio-world-theme .site-header #nav a[aria-current="page"]{color:#087f83}
.portfolio-world-theme .site-header #nav a:hover,.portfolio-world-theme .site-header #nav a:focus-visible{color:#102451;background:#e3eff0}
.portfolio-world-theme .site-header .menu,.portfolio-world-theme .site-header .search-open{color:#102451}
