:root{--accent:#1800FF}:root[data-accent=orange]{--accent:#F04400}:root[data-accent=purple]{--accent:#9900FF}
@font-face{font-family:Climate;src:url(/fonts/ClimateCrisis.ttf)}
@font-face{font-family:Bricolage;src:url(/fonts/BricolageGrotesque.ttf);font-weight:200 800}
:root{--surface:#fff;--ink:#000;--accent-ink:#1800FF;--body:Bricolage,Arial,sans-serif;--display:Climate,sans-serif}
:root[data-accent=orange]{--accent-ink:#c53600}:root[data-accent=purple]{--accent-ink:#9900FF}
:root[data-theme=dark]{--surface:#111;--ink:#fff;--accent-ink:#708fff}
.scholarship-reader,.study-abroad-reader,.logged-reader{--paper:var(--surface);background:var(--surface);color:var(--ink);font-family:Bricolage,Arial,sans-serif}
:is(.scholarship-reader,.study-abroad-reader,.logged-reader) :is(h1){font-family:Climate,sans-serif;font-weight:400;letter-spacing:-.025em;color:var(--ink);font-variation-settings:'YEAR' 2005}
:is(.scholarship-reader,.study-abroad-reader,.logged-reader) :is(p,li,figcaption,.reader-back,.case-next-project){font-family:Bricolage,Arial,sans-serif;color:var(--ink)}
.reader-back,.case-next-label{display:inline-flex!important;align-items:center;gap:12px}
.nav-arrow{width:27px;height:27px;fill:currentColor;flex:none;overflow:visible}
.reader-back>.nav-arrow{transform:rotate(180deg)}
.reader-back:hover,.case-next-project:hover{color:var(--accent-ink)}
.reader-back span{transform:none!important}
.case-next-title{font-family:Climate,sans-serif!important;font-weight:400!important;line-height:1.2!important}
.reader-back:focus-visible,.case-next-project:focus-visible{outline:2px solid var(--accent-ink);outline-offset:6px}
.case-theme{position:fixed;right:18px;top:12px;z-index:100}
@media(max-width:700px){.reader-topbar{padding-right:60px!important}.case-next-title{font-size:clamp(24px,7vw,36px)!important;overflow-wrap:break-word}.reader-content{max-width:100%}.reader-content img{max-width:100%}.reader-content h1{font-size:clamp(34px,9vw,65px)!important}}

.theme-toggle{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;color:var(--ink);cursor:pointer;border-radius:0}.theme-toggle:focus-visible{outline:1px solid currentColor;outline-offset:2px}.theme-control{top:12px}
:is(.scholarship-reader,.study-abroad-reader,.logged-reader) h1{font-size:clamp(30px,5.6vw,84px)!important;line-height:1.12!important;max-width:100%;overflow-wrap:normal}
@media(max-width:700px){:is(.scholarship-reader,.study-abroad-reader,.logged-reader) h1{font-size:clamp(28px,7vw,42px)!important}}
:is(.scholarship-reader,.study-abroad-reader,.logged-reader) :is(p,li,figcaption,.reader-back,.case-next-project){color:var(--ink)!important}
:is(.scholarship-reader,.study-abroad-reader,.logged-reader) .case-disciplines{color:var(--accent-ink)!important}

/* Climate only on case H1; all supporting hierarchy uses the body family. */
:is(.scholarship-reader,.study-abroad-reader,.logged-reader) :is(.case-next-title,.case-next-label){font-family:Bricolage,Arial,sans-serif!important;font-variation-settings:normal!important}
.case-title-line{display:block;font-variation-settings:'YEAR' 2005}
.case-title-melt{font-variation-settings:'YEAR' 2030}
.darling-accent{display:inline-block;width:.72em;height:.72em;flex:none;background:var(--accent);mask:var(--darling-mask) center/contain no-repeat;-webkit-mask:var(--darling-mask) center/contain no-repeat}
.reader-back>.nav-arrow{transform:rotate(225deg)}

/* Restore original section-heading typography; Climate belongs only to H1. */
:is(.scholarship-reader,.study-abroad-reader,.logged-reader) :is(h2,h3,h4){font-family:Bricolage,Arial,sans-serif!important}
/* Original case-ID rules must not override the display face on H1. */
:is(#scholarshipReader,#studyAbroadReader,#loggedReader) h1,
:is(#scholarshipReader,#studyAbroadReader,#loggedReader) h1 .case-title-line{font-family:Climate,sans-serif!important;font-weight:400!important}

/* One supporting family; retain every existing size and weight. */
:root{--body:Bricolage,Arial,sans-serif}
:is(#scholarshipReader,#studyAbroadReader,#loggedReader){font-family:Bricolage,Arial,sans-serif}
:is(#scholarshipReader,#studyAbroadReader,#loggedReader) :is(span,a,button,figcaption,li,p,dt,dd,label,text){font-family:Bricolage,Arial,sans-serif!important}
:is(#scholarshipReader,#studyAbroadReader,#loggedReader) h1 .case-title-line{font-family:Climate,sans-serif!important}
/* Keep deliberate title lines intact and inside their actual text column. */
:is(#scholarshipReader,#studyAbroadReader,#loggedReader) h1 .case-title-line{white-space:nowrap}
.logged-intro-copy,.study-hero-copy{min-width:0}
.darling-accent{width:1.15em;height:1.15em}
