/*
Theme Name: Jacqueline Mair
Theme URI: https://jacquelinemair.com
Description: Jacqueline Mair's site. A child theme of Quantum with the publications list, ORCID sync, News and the site's own blocks built in.
Author: Tecology
Author URI: https://tecology.co
Template: tecology-fse-2024
Version: 2.0.1
Requires at least: 6.8
Requires PHP: 8.3
License: GNU General Public License v2 or later
Text Domain: jacquelinemair
*/

/*
 * Colours, fonts and sizes live in theme.json; this file is the layout and motion.
 * Monochrome, with her pale green on tinted bands and colour only in the card line art and the timeline.
 * Each colour role is a variable, so dark mode and the tinted bands just swap the values.
 */

:root{
	--ease:cubic-bezier(.2,.7,.1,1);
	--swing:cubic-bezier(.65,0,.35,1);
	--bg:#fff;--fg:#171717;--strong:#0A0A0A;--muted:#737373;--soft:#525252;--rule:#E5E5E5;--line:#D4D4D4;--card:#fff;--mint:#E7F4F1;
	--display:var(--wp--preset--font-family--display);
	--arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='5.2 5.2 13.6 13.6' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	interpolate-size:allow-keywords;
}
html.dark{--bg:#0A0A0A;--fg:#EDEDED;--strong:#fff;--muted:#A3A3A3;--soft:#A3A3A3;--rule:#262626;--line:#404040;--card:#1C1C1C;color-scheme:dark}
html{scroll-behavior:smooth}

/* ---------- base ---------- */
*,::before,::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font-size:17px;line-height:1.6;-webkit-text-size-adjust:100%}
html.dark body{background:var(--bg);color:var(--fg)}
h1,h2,h3,h4,p,figure,blockquote,dl,dd,ol,ul{margin:0}
ol,ul{padding:0;list-style:none}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit;margin:0}
button{background:none;border:0;padding:0;cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:2px}
[tabindex="-1"]:focus{outline:none}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block:0}
main{overflow-x:clip}

/* theme switch: the circular wipe, and every transition held so colours change in one frame */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2}
html[data-switching] *,html[data-switching] *::before,html[data-switching] *::after{transition:none!important}

.jm-wrap{max-width:1280px;margin-inline:auto;padding-inline:24px}
@media (min-width:768px){.jm-wrap{padding-inline:40px}}
.jm-muted{color:var(--muted)}

/* ---------- links, arrows, buttons ---------- */
.jm-arr{display:inline-block;width:.62em;height:.62em;margin-left:.35em;vertical-align:.04em;overflow:visible;flex-shrink:0}
.jm-u{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s var(--ease)}
.jm-u:hover,.jm-u:focus-visible{background-size:100% 1px}
.jm-link{transition:color .4s var(--ease)}
.jm-link__t{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s var(--ease)}
.jm-link:hover .jm-link__t,.jm-link:focus-visible .jm-link__t{background-size:100% 1px}
.jm-link .jm-arr{opacity:.6;transform:translate(-2px,2px);transition:transform .5s var(--ease),opacity .5s var(--ease)}
.jm-link:hover .jm-arr,.jm-link:focus-visible .jm-arr{opacity:1;transform:none}

/* buttons: the core Button block (and .jm-btn for the one the theme prints itself); a fill sweeps in from the left and leaves to the right */
.jm-btn,.wp-block-button .wp-block-button__link{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;width:100%;justify-content:center;align-items:center;gap:12px;height:56px;padding:0 32px;border:0;border-radius:999px;background:#171717;color:#fff;--fill:#404040;outline-color:#171717;font-size:17px;font-weight:600;line-height:1;white-space:nowrap;text-decoration:none;transition:border-color .6s var(--swing),transform .15s}
.jm-btn::before,.wp-block-button__link::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--fill);transform:scaleX(0);transform-origin:100% 50%;transition:transform .6s var(--swing)}
.jm-btn:active,.wp-block-button__link:active{transform:scale(.98)}
.wp-block-button__link .jm-arr{margin-left:-.2em;transition:transform .45s var(--ease)}
@media (hover:hover){.jm-btn:hover::before,.wp-block-button__link:hover::before{transform:scaleX(1);transform-origin:0 50%}.wp-block-button__link:hover .jm-arr{transform:translate(2px,-2px)}}
.jm-btn:focus-visible::before,.wp-block-button__link:focus-visible::before{transform:scaleX(1);transform-origin:0 50%}
.wp-block-buttons>.wp-block-button{width:100%;margin:0}
@media (min-width:640px){.jm-btn,.wp-block-button .wp-block-button__link,.wp-block-buttons>.wp-block-button{width:auto}}
.jm-btn__icon{width:20px;height:20px;flex-shrink:0}
.jm-btn__down{width:16px;height:16px;flex-shrink:0;transition:transform .5s var(--ease)}
.wp-block-button__link:hover .jm-btn__down{transform:translateY(2px)}
html.dark .wp-block-button:not([class*="is-style-jm"]) .wp-block-button__link{background:#fff;color:#171717;--fill:#D4D4D4;outline-color:#fff}
.wp-block-button.is-style-jm-line .wp-block-button__link,.jm-btn--line{padding-inline:28px;border:1px solid var(--line);background:var(--bg);color:var(--fg);font-weight:500;--fill:#fff;outline-color:var(--fg)}
.is-style-jm-line .wp-block-button__link::before,.jm-btn--line::before,.is-style-jm-onblack .wp-block-button__link::before{z-index:1;mix-blend-mode:difference}
@media (hover:hover){.wp-block-button.is-style-jm-line .wp-block-button__link:hover,.jm-btn--line:hover{border-color:var(--fg)}}
.wp-block-button.is-style-jm-line .wp-block-button__link:focus-visible,.jm-btn--line:focus-visible{border-color:var(--fg)}
.jm-btn--sm{height:48px;padding-inline:24px;font-size:15px}
.wp-block-button.is-style-jm-onblack .wp-block-button__link{height:48px;padding-inline:24px;gap:8px;border:1px solid #fff;background:#000;color:#fff;font-size:15px;font-weight:500;--fill:#fff;outline-color:#fff}
.wp-block-button.is-style-jm-white .wp-block-button__link{height:64px;padding-inline:40px;background:#fff;color:#000;font-size:18px;--fill:#D4D4D4;outline-color:#fff}

/* ---------- header (Site Title, Navigation, clock and theme switch) and the mobile menu (the Navigation's "Mobile menu" overlay part) ---------- */
#progress{position:fixed;top:0;left:0;right:0;z-index:60;height:1px;background:currentColor;transform-origin:0 50%;transform:scaleX(0)}
/* the blur sits on a layer behind the header: a filter on the header itself would trap the full-screen mobile menu inside it */
.jm-header{position:fixed;inset:0 0 auto;z-index:50;isolation:isolate}
.jm-header::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
/* signed in: the WordPress toolbar sits above the fixed header and progress bar (it is kept fixed on phones too, where it would otherwise scroll away under the header) */
.admin-bar #progress,.admin-bar .jm-header{top:var(--wp-admin--admin-bar--height,32px)}
.admin-bar .jm-side,.admin-bar .jm-pagebody>.jm-summary,.admin-bar .jm-postbody>.jm-author{top:calc(96px + var(--wp-admin--admin-bar--height,32px))}
@media (max-width:600px){html #wpadminbar{position:fixed}}
html.dark .jm-header{border-bottom:1px solid rgba(255,255,255,.06)}
html.dark .jm-header::before{background:rgba(10,10,10,.8)}
.jm-header__in{max-width:1280px;margin-inline:auto;padding-inline:24px;height:64px;display:flex;align-items:center;justify-content:space-between}
.jm-logo{position:relative;z-index:50;white-space:nowrap;font-family:var(--display);font-weight:700;font-size:15px;line-height:1.6;letter-spacing:.02em;text-transform:uppercase}
.jm-logo a{text-decoration:none}
.jm-nav{display:flex;align-items:center;gap:4px;font-size:15px}
.jm-nav__menu{gap:0}
.jm-nav__menu .wp-block-navigation__container{gap:24px}
.jm-nav__menu .wp-block-navigation-item__content{padding-block:8px;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s var(--ease)}
.jm-nav__menu .wp-block-navigation-item__content:hover,.jm-nav__menu .wp-block-navigation-item__content:focus-visible,.jm-nav__menu [aria-current]{background-size:100% 1px}
.jm-tools{display:flex;align-items:center;order:-1}
.jm-clock{display:none;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.jm-iconbtn,.jm-nav__menu .wp-block-navigation__responsive-container-open:not(.always-shown),.jm-menu .wp-block-navigation-overlay-close{position:relative;z-index:50;width:44px;height:44px;display:grid;place-items:center;border-radius:999px;transition:background-color .15s}
.jm-iconbtn svg{width:18px;height:18px}
.jm-nav__menu .wp-block-navigation__responsive-container-open svg,.jm-menu .wp-block-navigation-overlay-close svg{width:22px;height:22px}
.jm-iconbtn:hover,.jm-nav__menu .wp-block-navigation__responsive-container-open:hover,.jm-menu .wp-block-navigation-overlay-close:hover{background:#F5F5F5}
html.dark .jm-iconbtn:hover,html.dark .jm-nav__menu .wp-block-navigation__responsive-container-open:hover,html.dark .jm-menu .wp-block-navigation-overlay-close:hover{background:#171717}
/* core shows the full menu from 600px; this one needs 768px */
@media (min-width:600px) and (max-width:767px){.jm-nav__menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none}}
@media (min-width:768px){.jm-nav__menu .wp-block-navigation__responsive-container-open:not(.always-shown){display:none}}
/* the mobile menu */
.jm-nav__menu .wp-block-navigation__responsive-container.is-menu-open{background:var(--bg);color:var(--fg)}
.jm-menu{min-height:100%}
.jm-menu__top{display:flex;align-items:center;justify-content:space-between;height:64px;padding-inline:24px}
.jm-menu__nav{padding:16px 24px 0}
.jm-menu__nav .wp-block-navigation__container{flex-direction:column;align-items:flex-start;gap:0}
.jm-menu__nav .wp-block-navigation-item__content{display:block;padding-block:8px;font-family:var(--display);font-size:26px;font-weight:700;letter-spacing:-.01em}
.jm-menu__cta{margin:24px 24px 0;padding:24px 0 40px;border-top:1px solid var(--rule)}
.jm-menu__cta .wp-block-button,.jm-menu__cta .wp-block-button__link{width:100%}
.is-menu-open .jm-menu__nav .wp-block-navigation-item,.is-menu-open .jm-menu__cta{animation:jm-menu-in .8s var(--ease) both}
.jm-menu__nav .wp-block-navigation-item:nth-child(1){animation-delay:.08s}.jm-menu__nav .wp-block-navigation-item:nth-child(2){animation-delay:.12s}.jm-menu__nav .wp-block-navigation-item:nth-child(3){animation-delay:.16s}.jm-menu__nav .wp-block-navigation-item:nth-child(4){animation-delay:.2s}.jm-menu__nav .wp-block-navigation-item:nth-child(5){animation-delay:.24s}.jm-menu__nav .wp-block-navigation-item:nth-child(6){animation-delay:.28s}.jm-menu__nav .wp-block-navigation-item:nth-child(n+7){animation-delay:.32s}.jm-menu__cta{animation-delay:.36s}
@keyframes jm-menu-in{from{opacity:0;transform:translateY(-12px)}}
@media (min-width:768px){
	.jm-header__in{padding-inline:40px}
	.jm-nav{gap:24px}
	.jm-tools{order:0;gap:24px}
	#theme{margin-left:8px}
}
@media (min-width:1024px){.jm-clock{display:inline}}

/* ---------- background lines ---------- */
.jm-lines{position:relative;isolation:isolate}
.jm-lines::before{content:"";position:absolute;top:0;bottom:-6rem;left:calc(50% - 50vw);right:calc(50% - 50vw);z-index:-1;pointer-events:none;background:repeating-linear-gradient(to right,currentColor 0 1px,transparent 1px 7px);opacity:.13;-webkit-mask:radial-gradient(70% 75% at 72% 38%,#000 15%,transparent 75%);mask:radial-gradient(70% 75% at 72% 38%,#000 15%,transparent 75%)}
.is-style-jm-mint,.is-style-jm-dark{position:relative}
.is-style-jm-mint::before,.is-style-jm-dark::before{content:"";position:absolute;top:0;left:0;right:0;height:7px;pointer-events:none;background:repeating-linear-gradient(to right,currentColor 0 1px,transparent 1px 6px);opacity:.16;-webkit-mask:linear-gradient(to right,transparent,#000 15%,#000 85%,transparent);mask:linear-gradient(to right,transparent,#000 15%,#000 85%,transparent)}

/* ---------- hero ---------- */
.jm-hero{padding-top:112px}
.jm-hero__grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px 24px;align-items:center}
.jm-hero__grid>*{grid-column:1/-1;min-width:0}
.jm-hero__text{order:2}
.jm-name{font-family:var(--display);font-size:46px;line-height:1;letter-spacing:-.02em;font-weight:700}
.jm-name .mask{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.04em}
.jm-name .ch{display:inline-block;transform:translateY(105%);animation:jm-rise .9s var(--ease) forwards}
@keyframes jm-rise{to{transform:none}}
.jm-hero__tagline{margin-top:20px;max-width:24ch;font-size:24px;line-height:1.2;letter-spacing:-.015em;font-weight:500;color:var(--muted)}
.jm-hero__intro{margin-top:24px;max-width:54ch;font-size:18px;color:var(--soft)}
.jm-hero__actions{margin-top:36px;display:flex;flex-direction:column;gap:12px}
.jm-hero__intro,.jm-hero__actions{opacity:0;animation:jm-fade .9s .9s var(--ease) forwards}
@keyframes jm-fade{to{opacity:1}}
.wp-block-image.is-style-jm-portrait{position:relative;aspect-ratio:4/5;width:100%;max-width:440px;overflow:hidden;border-radius:20px;background:var(--mint);clip-path:inset(100% 0 0 0);animation:jm-wipe 1.2s .35s var(--ease) forwards}
html.dark .wp-block-image.is-style-jm-portrait{background:#1C1C1C}
@keyframes jm-wipe{to{clip-path:inset(0)}}
.wp-block-image.is-style-jm-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;transition:transform 1.4s var(--ease)}
.wp-block-image.is-style-jm-portrait:hover img{transform:scale(1.03)}
@media (min-width:640px){.jm-hero__actions{flex-flow:row wrap;align-items:center;gap:16px 28px}}
@media (min-width:768px){
	.jm-hero{padding-top:144px}
	.jm-hero__text{grid-column:span 7;order:1}
	.jm-hero__grid>.wp-block-image{grid-column:span 5;order:2;margin-left:auto}
	.jm-name{font-size:60px}
	.jm-hero__tagline{font-size:30px}
}
@media (min-width:1024px){
	.jm-hero__text{grid-column:span 8}
	.jm-hero__grid>.wp-block-image{grid-column:span 4}
	.jm-name{font-size:72px}
	.jm-hero__tagline{font-size:34px}
}

/* ---------- facts and logos ---------- */
.jm-facts{margin-top:80px}
.jm-facts__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;border-top:1px solid var(--rule)}
.jm-fact{padding:28px 16px 28px 0}
.jm-fact__label{font-size:14px;color:var(--muted)}
.jm-fact__value{margin-top:4px;font-size:19px;font-weight:500;line-height:1.4}
.jm-logos{padding-top:24px;padding-bottom:80px}
.jm-logos__list{display:grid;align-items:center;gap:32px 24px}
.jm-logos .wp-block-image{display:flex;justify-content:center;margin:0;padding-bottom:8px}
.jm-logos .wp-block-image a{display:inline-flex;padding:8px;margin:-8px}
.jm-logos .wp-block-image img{width:auto;height:calc(var(--h,50px) * .7);filter:grayscale(1);opacity:.6;transition:filter .5s var(--ease),opacity .5s var(--ease)}
.jm-logos a:hover img,.jm-logos a:focus-visible img{filter:none;opacity:1}
html.dark .jm-logos .wp-block-image img{filter:grayscale(1) invert(1);opacity:.65}
html.dark .jm-logos a:hover img,html.dark .jm-logos a:focus-visible img{filter:grayscale(1) invert(1);opacity:1}
@media (min-width:640px){
	.jm-logos__list{grid-template-columns:repeat(3,minmax(0,1fr))}
	.jm-logos__list>:first-child{justify-content:flex-start}
	.jm-logos__list>:last-child{justify-content:flex-end}
	.jm-logos .wp-block-image img{height:calc(var(--h,50px) * .82)}
}
@media (min-width:768px){
	.jm-facts{margin-top:112px}
	.jm-logos{padding-top:40px;padding-bottom:112px}
	.jm-logos .wp-block-image img{height:var(--h,50px)}
}
@media (min-width:1024px){.jm-facts__list{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---------- sections (a Group with the "Pale green band" or "Dark band" style for colour) ---------- */
.jm-section{padding-block:96px;scroll-margin-top:64px}
.jm-section:not(.is-style-jm-mint,.is-style-jm-dark)+.jm-section:not(.is-style-jm-mint,.is-style-jm-dark){padding-top:0}
.is-style-jm-mint{background:var(--mint);--muted:#365951;--rule:#C8E0D6}
html.dark .is-style-jm-mint{background:#121614;--muted:#A3A3A3;--rule:#262626;border-top:1px solid rgba(255,255,255,.06)}
.is-style-jm-dark{background:#171717;color:#F5F5F5;--fg:#F5F5F5;--muted:#A3A3A3;--soft:#D4D4D4;--rule:#404040}
html.dark .is-style-jm-dark{background:#1E1E1E;border-block:1px solid rgba(255,255,255,.08)}
.jm-split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
.jm-split>*{grid-column:1/-1;min-width:0}
.jm-section__head{margin-bottom:32px}
.jm-section__head.jm-split{margin-bottom:48px}
.jm-label{font-size:15px;line-height:1.6;font-weight:400;letter-spacing:0;color:var(--muted)}
.jm-side__text{margin-top:16px;max-width:28ch;color:var(--soft)}
.jm-side__text:has(a){font-size:15px;color:var(--muted)}
.jm-side__text a{position:relative;margin-right:1em;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s var(--ease),color .4s var(--ease)}
.jm-side__text a::after{content:"";position:absolute;right:-.95em;top:.36em;width:.62em;height:.62em;background:currentColor;-webkit-mask:var(--arrow) center/contain no-repeat;mask:var(--arrow) center/contain no-repeat;opacity:.6;transform:translate(-2px,2px);transition:transform .5s var(--ease),opacity .5s var(--ease)}
.jm-side__text a:hover,.jm-side__text a:focus-visible{color:var(--fg);background-size:100% 1px}
.jm-side__text a:hover::after,.jm-side__text a:focus-visible::after{opacity:1;transform:none}
.is-style-jm-lead{max-width:30ch;font-size:24px;line-height:1.3;letter-spacing:-.01em;color:var(--fg)}
.jm-main>*+*{margin-top:32px}
.jm-main>p:not([class]){max-width:62ch;color:var(--soft)}
.jm-main p a:not([class]),.is-style-jm-small a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.jm-main p a:not([class]):hover,.is-style-jm-small a:hover{text-decoration-thickness:2px}
.is-style-jm-small{font-size:15px;color:var(--soft)}
@media (max-width:767px){.jm-side__text:not(:has(a)){display:none}}
@media (min-width:768px){
	.jm-section{padding-block:144px}
	.jm-side{grid-column:span 4;position:sticky;top:96px;align-self:start}
	.jm-main{grid-column:span 8}
	.jm-section__head.jm-split>.jm-label{grid-column:span 4}
	.jm-section__head.jm-split>.is-style-jm-lead{grid-column:span 8}
	.is-style-jm-lead{font-size:30px}
}

/* expertise: core Details blocks as an accordion (hover opens on desktop, see site.js) */
.jm-main>.wp-block-details+.wp-block-details{margin-top:0}
.jm-main .wp-block-details{position:relative;border-top:1px solid var(--rule)}
.jm-main .wp-block-details:not(:has(+.wp-block-details)){border-bottom:1px solid var(--rule)}
.jm-main .wp-block-details::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--fg);transform:scaleX(0);transform-origin:0 50%;transition:transform .6s var(--ease)}
.jm-main .wp-block-details:has(summary:focus-visible)::before{transform:scaleX(1)}
.jm-main .wp-block-details summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:24px;list-style:none;cursor:pointer;font-size:22px;line-height:1.3;letter-spacing:-.015em;font-weight:500}
.jm-main .wp-block-details summary::-webkit-details-marker{display:none}
.jm-main .wp-block-details summary::after{content:"";width:20px;height:20px;flex-shrink:0;background:#A3A3A3;-webkit-mask:var(--plus) center/contain no-repeat;mask:var(--plus) center/contain no-repeat;transition:transform .5s var(--ease)}
.jm-main .wp-block-details[open] summary::after{transform:rotate(45deg)}
.jm-main .wp-block-details summary:focus-visible{outline-offset:-2px}
.jm-main .wp-block-details>:not(summary){max-width:56ch;padding-bottom:28px;color:var(--soft)}
.jm-main .wp-block-details::details-content{block-size:0;opacity:0;overflow:hidden;transition:block-size .55s var(--swing),opacity .3s ease,content-visibility .55s allow-discrete}
.jm-main .wp-block-details[open]::details-content{block-size:auto;opacity:1}
@media (hover:hover){.jm-main .wp-block-details:hover::before{transform:scaleX(1)}}
@media (min-width:768px){.jm-main .wp-block-details summary{padding-block:28px;font-size:28px}}

/* ---------- featured paper (a Group with the "Black panel" style) ---------- */
.is-style-jm-feature{display:grid;overflow:hidden;border-radius:24px;background:#000;color:#fff}
html.dark .is-style-jm-feature{box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.jm-feature__main{padding:32px}
.jm-feature__kicker{font-size:15px;color:#A3A3A3}
.jm-feature__main h3{margin-top:12px;max-width:20ch;font-size:28px;line-height:1.15;letter-spacing:-.015em;font-weight:300}
.jm-feature__text{margin-top:24px;max-width:48ch;color:#D4D4D4}
.jm-feature__main .wp-block-buttons{margin-top:36px}
.jm-feature__aside{padding:0 32px 40px}
.jm-chips{margin-top:20px;display:flex;flex-wrap:wrap;gap:8px;font-size:15px}
.jm-chips li{padding:8px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.2)}
@media (min-width:768px){
	.is-style-jm-feature{grid-template-columns:7fr 5fr}
	.jm-feature__main,.jm-feature__aside{padding:56px}
	.jm-feature__aside{border-left:1px solid rgba(255,255,255,.1)}
	.jm-feature__main h3{font-size:40px}
}

/* ---------- project cards (Groups with the "Project card" style; they swipe on phones) ---------- */
.jm-cards{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:-24px;padding:0 24px 8px;scroll-padding-left:24px;scrollbar-width:none}
.jm-cards::-webkit-scrollbar{display:none}
.is-style-jm-card{position:relative;display:flex;flex-direction:column;flex-shrink:0;width:84%;min-height:440px;padding:194px 28px 28px;scroll-snap-align:start;overflow:hidden;border-radius:20px;border:1px solid var(--rule);background:var(--card);transition:border-color .15s}
.is-style-jm-card:has(.jm-card__cta a):hover{border-color:#A3A3A3}
html.dark .is-style-jm-card:has(.jm-card__cta a):hover{border-color:#525252}
.is-style-jm-card:has(a:focus-visible){outline:2px solid var(--fg);outline-offset:2px}
.jm-art{position:absolute;left:0;top:0;width:300px;height:170px;max-width:none;transition:transform 1.2s var(--ease)}
.is-style-jm-card:hover .jm-art{transform:translateX(6px)}
.jm-art>*{stroke-dasharray:1;stroke-dashoffset:1;opacity:.55;transition:stroke-dashoffset 1.6s var(--ease),opacity .5s var(--ease)}
.is-style-jm-card.in .jm-art>*,html:not(.js) .jm-art>*{stroke-dashoffset:0}
.is-style-jm-card:hover .jm-art>*{opacity:1}
/* the round arrow badge on cards that link somewhere */
.is-style-jm-card:has(.jm-card__cta a)::after{content:"";position:absolute;top:24px;right:24px;width:48px;height:48px;border-radius:999px;background:#171717 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='6 6 12 12' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/13px no-repeat;pointer-events:none;transition:transform .5s var(--ease)}
html.dark .is-style-jm-card:has(.jm-card__cta a)::after{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='6 6 12 12' fill='none' stroke='%23171717' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E")}
.is-style-jm-card:hover::after{transform:rotate(45deg)}
.is-style-jm-card .jm-card__icon{position:absolute;left:28px;top:106px;width:64px;height:64px;margin:0;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.05)}
.is-style-jm-card .jm-card__icon img{width:100%;height:100%;object-fit:cover}
html.dark .is-style-jm-card .jm-card__icon{box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.jm-card__name{font-family:var(--display);font-size:22px;line-height:1.15;letter-spacing:-.01em;font-weight:700}
.jm-card__sub{margin-top:4px;font-size:15px;color:var(--muted)}
.jm-card__text{margin-top:16px;font-size:16px;color:var(--soft)}
.jm-card__cta{margin-top:auto;padding-top:24px;font-size:15px;font-weight:500}
/* the link covers the whole card */
.jm-card__cta a{outline:none}
.jm-card__cta a::before{content:"";position:absolute;inset:0;z-index:1}
.jm-card__cta a::after{content:"";display:inline-block;width:.62em;height:.62em;margin-left:.35em;background:currentColor;-webkit-mask:var(--arrow) center/contain no-repeat;mask:var(--arrow) center/contain no-repeat;opacity:0;transform:translate(-3px,3px);transition:opacity .4s var(--ease),transform .5s var(--ease)}
.is-style-jm-card:hover .jm-card__cta a::after,.jm-card__cta a:focus-visible::after{opacity:1;transform:none}
@media (hover:none){.jm-card__cta a::after{opacity:1;transform:none}}
.jm-dots{margin-top:20px;display:flex;justify-content:center;gap:4px}
.jm-dot{width:24px;height:24px;display:grid;place-items:center;border-radius:999px}
.jm-dot::before{content:"";width:6px;height:6px;border-radius:999px;background:#D4D4D4;transition:width .45s var(--ease),background-color .45s var(--ease)}
.jm-dot[aria-current="true"]::before{width:20px;background:#171717}
html.dark .jm-dot::before{background:#404040}
html.dark .jm-dot[aria-current="true"]::before{background:#EDEDED}
@media (max-width:767px){.jm-cards{overflow-y:hidden;overscroll-behavior-x:contain}.is-style-jm-card{scroll-snap-stop:always}}
@media (min-width:640px){.is-style-jm-card{width:60%}}
@media (min-width:768px){
	.jm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;overflow:visible;margin:0;padding:0}
	.is-style-jm-card{width:auto;padding:194px 32px 32px}
	.is-style-jm-card .jm-card__icon{left:32px}
	.jm-card__name{font-size:24px}
	.jm-dots{display:none}
}

/* ---------- image on pale green, numbered steps ---------- */
.jm-main>.wp-block-image{margin-top:40px}
.wp-block-image.is-style-jm-panel{padding:24px;border-radius:24px;background:var(--mint)}
.wp-block-image.is-style-jm-panel img{width:100%;max-width:520px;margin-inline:auto}
.wp-block-image.is-style-jm-panel figcaption{margin:24px 0 0;max-width:60ch;font-size:14px;line-height:1.5;color:#365951;text-align:left}
.wp-block-image.is-style-jm-panel figcaption a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.jm-main>.jm-steps{margin-top:48px}
.jm-steps{display:grid;gap:32px 24px;counter-reset:step}
.jm-step{padding-top:20px;border-top:1px solid var(--rule);counter-increment:step}
.jm-step::before{content:counter(step,decimal-leading-zero);display:block;font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.jm-steps .jm-step h3{margin-top:8px;font-family:var(--display);font-size:22px;line-height:1.3;letter-spacing:-.01em;font-weight:700}
.jm-step__sub{font-size:15px;color:var(--muted)}
.jm-step__text{margin-top:12px;color:var(--soft)}
@media (min-width:640px){.wp-block-image.is-style-jm-panel{padding:40px}.jm-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- publications ---------- */
.jm-h3{font-size:22px;line-height:1.3;letter-spacing:-.015em;font-weight:500}
.jm-pubs__selected{margin-top:24px}
.jm-pubs__selected+.jm-h3{margin-top:80px}
.jm-pubs__selected li,.jm-pub{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px 24px;border-top:1px solid var(--rule)}
.jm-pubs__selected li{padding-block:24px}
.jm-pubs__selected li:last-child{border-bottom:1px solid var(--rule)}
.jm-pubs__selected li>*,.jm-pub>*{grid-column:1/-1}
.jm-pubs__meta{font-size:15px;color:var(--muted)}
.jm-pubs__title{font-weight:500}
.jm-pubs__filter{margin-top:24px;display:grid;gap:12px}
.jm-pubs__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-top:4px}
.jm-pubs__bar p{font-size:15px}
.jm-check{display:inline-flex;align-items:center;gap:12px;padding-block:8px;cursor:pointer}
.jm-check input{width:20px;height:20px;accent-color:#171717}
html.dark .jm-check input{accent-color:#EDEDED}
.jm-field{width:100%;height:48px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--bg);font-size:16px;transition:border-color .4s var(--ease)}
.jm-field:hover{border-color:#737373}
.jm-field:focus-visible{border-color:var(--fg);outline-offset:2px}
select.jm-field{-webkit-appearance:none;appearance:none;padding-right:42px;background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center/16px}
.jm-pubs__all{margin-top:24px;border-bottom:1px solid var(--rule)}
.jm-pub{padding-block:20px}
.jm-pub__year{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.jm-pub .jm-pubs__title{line-height:1.45}
.jm-pub .jm-pubs__meta{margin-top:4px}
.jm-pubs__none{padding-block:32px;color:var(--soft)}
#pmore{margin-top:32px}
@media (min-width:640px){
	.jm-pubs__selected li>:first-child{grid-column:span 3}
	.jm-pubs__selected li>:last-child{grid-column:span 5}
	.jm-pub__year{grid-column:span 1;padding-top:2px}
	.jm-pub>div{grid-column:span 7}
	.jm-pubs__filter{grid-template-columns:repeat(2,minmax(0,1fr))}
	.jm-pubs__q,.jm-pubs__bar{grid-column:1/-1}
}
@media (min-width:768px){.jm-h3{font-size:28px}}


/* ---------- news (Query Loop with the "Rows" or "Cards" style) ---------- */
.wp-block-post{position:relative}
.jm-news__img{overflow:hidden;aspect-ratio:16/10;margin:0;background:var(--card)}
.wp-block-post .jm-news__img img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.jm-news__meta,.jm-posthead__meta{display:flex;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.jm-news__meta>*+*::before,.jm-posthead__meta>*+*::before{content:"·";margin-inline:.35em}
.jm-news__meta a{position:relative;z-index:2}
.jm-news__meta a:hover{color:var(--fg)}
.jm-news__title{font-weight:500}
.jm-news__title a{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s var(--ease)}
.jm-news__title a::after{content:"";position:absolute;inset:0;z-index:1}
.jm-news__title a:focus-visible{background-size:100% 1px}
.jm-news__excerpt{margin-top:12px;color:var(--soft)}
@media (hover:hover){.wp-block-post:hover .jm-news__img img{transform:scale(1.03)}.wp-block-post:hover .jm-news__title a{background-size:100% 1px}}
.is-style-jm-rows .wp-block-post{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px 24px;padding-block:28px;border-top:1px solid var(--rule)}
.is-style-jm-rows .wp-block-post:last-child{border-bottom:1px solid var(--rule)}
.is-style-jm-rows .wp-block-post>*{grid-column:1/-1}
.is-style-jm-rows .jm-news__img{border-radius:14px}
.is-style-jm-rows .jm-news__title{margin-top:8px;font-size:21px;line-height:1.25;letter-spacing:-.01em}
.is-style-jm-rows .jm-news__excerpt{font-size:16px}
.is-style-jm-cards .wp-block-post-template{display:grid;gap:64px 24px;padding-top:48px;border-top:1px solid var(--rule)}
.is-style-jm-cards .jm-news__img{border-radius:20px;background:var(--mint)}
html.dark .is-style-jm-cards .jm-news__img{background:#1C1C1C}
.is-style-jm-cards .jm-news__body .jm-news__meta{margin-top:20px}
.is-style-jm-cards .jm-news__title{margin-top:8px;max-width:28ch;font-size:24px;line-height:1.2;letter-spacing:-.012em}
.is-style-jm-cards .jm-news__excerpt{max-width:56ch}
.jm-archive{padding-bottom:96px}
.jm-news__none{color:var(--muted)}
.jm-pages{margin-top:48px;display:flex;flex-wrap:wrap;gap:8px}
.jm-pages a,.jm-pages .page-numbers{display:grid;place-items:center;min-width:44px;height:44px;padding-inline:14px;border-radius:999px;border:1px solid var(--line)}
.jm-pages .wp-block-query-pagination-numbers{display:flex;gap:8px;margin:0}
.jm-pages .current{background:var(--fg);color:var(--bg);border-color:var(--fg)}
@media (min-width:640px){.is-style-jm-rows .jm-news__img{grid-column:span 3}.is-style-jm-rows .jm-news__body{grid-column:span 5}}
@media (min-width:768px){
	.is-style-jm-rows .jm-news__title{font-size:23px}
	.is-style-jm-cards .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}
	.is-style-jm-cards .jm-news__title{font-size:28px}
	.jm-archive{padding-bottom:144px}
}

/* ---------- experience timeline (Groups with the "Timeline entry" style) ---------- */
.jm-tl{position:relative;padding-left:36px}
.jm-tl::before,.jm-tl::after{content:"";position:absolute;left:5px;top:0;bottom:0;width:1px;background:#404040}
.jm-tl::after{background:linear-gradient(to bottom,#14A39C,#4F46E5 55%,#DB2777);opacity:.85;transform-origin:top;transform:scaleY(var(--p,0))}
html:not(.js) .jm-tl::after{transform:none}
.is-style-jm-entry{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));column-gap:24px;padding-block:32px;border-top:1px solid #404040}
.is-style-jm-entry:last-child{border-bottom:1px solid #404040}
.is-style-jm-entry>*{grid-column:1/-1}
.is-style-jm-entry::before{content:"";position:absolute;top:38px;left:-36px;width:11px;height:11px;border-radius:999px;border:1px solid #737373;background:#171717;transition:background-color .5s var(--ease),border-color .5s var(--ease),transform .5s var(--ease)}
html.dark .is-style-jm-entry::before{background:#1E1E1E}
.is-style-jm-entry:nth-child(5n+1){--c:#14A39C}.is-style-jm-entry:nth-child(5n+2){--c:#3275C1}.is-style-jm-entry:nth-child(5n+3){--c:#4F46E5}.is-style-jm-entry:nth-child(5n+4){--c:#9536AE}.is-style-jm-entry:nth-child(5n){--c:#DB2777}
.is-style-jm-entry.on::before{background:var(--c);border-color:var(--c);transform:scale(1.15)}
.is-style-jm-entry .jm-tl__years{margin-bottom:24px;color:#A3A3A3;font-variant-numeric:tabular-nums}
.is-style-jm-entry h3{font-size:22px;line-height:1.3;letter-spacing:-.01em;font-weight:500}
.jm-tl__org{color:#A3A3A3}
.jm-tl__summary{margin-top:12px;max-width:56ch;color:#D4D4D4}
@media (min-width:640px){.is-style-jm-entry>:not(.jm-tl__years){grid-column:span 6}}
@media (min-width:768px){.jm-tl{padding-left:48px}.is-style-jm-entry::before{left:-48px}}

/* ---------- list with dates ---------- */
.jm-rows{border-block:1px solid var(--rule)}
.jm-row{display:flex;align-items:baseline;justify-content:space-between;gap:24px;padding-block:16px}
.jm-row+.jm-row{border-top:1px solid var(--rule)}
.jm-row__meta{flex-shrink:0;width:4.75rem;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}

/* ---------- contact form (Fluent Forms, its own styles switched off) ---------- */
.fluentform{margin-top:40px}
.fluentform fieldset{min-width:0}
.fluentform .ff-el-group{margin-bottom:20px}
.fluentform .ff-t-container{display:grid;gap:0 16px}
.fluentform .ff-el-input--label label{display:block;margin-bottom:8px;font-size:15px;font-weight:500}
.fluentform .ff-el-is-required.asterisk-right label::after{content:none}
.fluentform .ff-el-form-control{width:100%;padding:14px 18px;border-radius:16px;border:1px solid var(--line);background:var(--bg);font-size:17px;line-height:1.5;transition:border-color .4s var(--ease)}
.fluentform textarea.ff-el-form-control{min-height:160px;resize:vertical}
.fluentform .ff-el-form-control:hover{border-color:#737373}
.fluentform .ff-el-form-control:focus-visible{outline:2px solid var(--fg);outline-offset:2px;border-color:var(--fg)}
.fluentform .ff-el-is-error .ff-el-form-control,.fluentform [aria-invalid="true"]{border-color:#B91C1C}
html.dark .fluentform .ff-el-is-error .ff-el-form-control,html.dark .fluentform [aria-invalid="true"]{border-color:#F87171}
.fluentform .error,.fluentform .text-danger{margin-top:8px;font-size:15px;color:#B91C1C}
html.dark .fluentform .error,html.dark .fluentform .text-danger{color:#F87171}
.fluentform .ff_submit_btn_wrapper{margin-top:4px}
.fluentform .ff-btn-submit{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;width:100%;justify-content:center;align-items:center;height:56px;padding-inline:32px;border-radius:999px;background:#171717;color:#fff;font-size:17px;font-weight:600;line-height:1;transition:transform .15s}
.fluentform .ff-btn-submit::before{content:"";position:absolute;inset:0;z-index:-1;background:#404040;transform:scaleX(0);transform-origin:100% 50%;transition:transform .6s var(--swing)}
@media (hover:hover){.fluentform .ff-btn-submit:hover::before{transform:scaleX(1);transform-origin:0 50%}}
.fluentform .ff-btn-submit:focus-visible{outline:2px solid #171717;outline-offset:4px}
html.dark .fluentform .ff-btn-submit{background:#fff;color:#171717}
html.dark .fluentform .ff-btn-submit::before{background:#D4D4D4}
.fluentform .ff-btn-submit:disabled{opacity:.6;cursor:wait}
.fluentform .ff-el-turnstile,.fluentform .ff-el-group:has(.cf-turnstile){margin-bottom:20px}
.ff-message-success{margin-top:40px;padding:24px;border-radius:16px;background:var(--bg);font-size:17px}
.ff-errors-in-stack{margin-top:16px;color:#B91C1C}
@media (min-width:640px){.fluentform .ff-t-container{grid-template-columns:repeat(2,minmax(0,1fr))}.fluentform .ff-btn-submit{width:auto}}


/* ---------- footer (pinned under the page and revealed as it scrolls away) ---------- */
.jm-footer{position:relative;isolation:isolate;background:#000;color:#fff}
.jm-footer::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(to right,currentColor 0 1px,transparent 1px 8px);opacity:.07;-webkit-mask:radial-gradient(70% 60% at 30% 25%,#000,transparent);mask:radial-gradient(70% 60% at 30% 25%,#000,transparent)}
.jm-footer .jm-wrap{padding-top:96px;padding-bottom:40px}
.jm-footer__label{font-size:15px;font-weight:400;line-height:1.6;letter-spacing:0;color:#A3A3A3}
.jm-footer__label:focus{outline:none}
.jm-footer__line{margin-top:24px;font-family:var(--display);font-size:32px;line-height:1.1;letter-spacing:-.02em;font-weight:700}
.jm-footer .wp-block-buttons{margin-top:40px}
.jm-footer__ai{margin-top:56px}
.jm-ai{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.jm-ai a{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:1px solid #333;border-radius:8px;color:#A3A3A3;font-size:15px;transition:color .3s var(--ease),border-color .3s var(--ease)}
.jm-ai a:hover,.jm-ai a:focus-visible{color:#fff;border-color:#A3A3A3}
.jm-ai a:focus-visible{outline-offset:3px;border-radius:8px}
.jm-ai a:has(svg){padding:0}
.jm-ai svg{width:20px;height:20px}
.jm-footer__bar{margin-top:64px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;padding-top:32px;border-top:1px solid #262626;font-size:15px}
.jm-footer__link{grid-column:span 6;justify-self:start}
.jm-footer__link a,.jm-footer__copy a{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s var(--ease)}
.jm-footer__link a:hover,.jm-footer__link a:focus-visible,.jm-footer__copy a:hover,.jm-footer__copy a:focus-visible{background-size:100% 1px}
.jm-footer__link a[target="_blank"]::after{content:"";display:inline-block;width:.62em;height:.62em;margin-left:.35em;background:currentColor;-webkit-mask:var(--arrow) center/contain no-repeat;mask:var(--arrow) center/contain no-repeat}
.jm-footer__copy{grid-column:1/-1;margin-top:8px;color:#A3A3A3}
.jm-footer__copy a{color:#EDEDED}
html.dark .wp-site-blocks>footer{border-top:1px solid rgba(255,255,255,.1)}
@media (min-width:640px){.jm-footer__line{font-size:44px}}
@media (min-width:768px){
	.jm-footer .jm-wrap{padding-top:144px}
	.jm-footer__line{font-size:56px}
	.jm-footer__link{grid-column:span 3}
	.jm-footer__copy{grid-column:-4/-1;margin-top:0;text-align:right}
	/* Ask AI sits beside the button, so the pinned footer stays short enough for a laptop screen */
	.jm-footer .jm-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
	.jm-footer .jm-wrap>*{grid-column:1/-1}
	.jm-footer .jm-wrap>.wp-block-buttons{grid-column:1}
	.jm-footer .jm-wrap>.jm-footer__ai{grid-column:2;align-self:end;margin-top:0}
}
@media (prefers-reduced-motion:no-preference){
	body{isolation:isolate}
	main{position:relative;z-index:1;background:var(--bg);border-radius:0 0 28px 28px;box-shadow:0 40px 80px -20px rgba(0,0,0,.35)}
	html.dark main{box-shadow:0 1px 0 rgba(255,255,255,.1),0 40px 80px -20px rgba(0,0,0,.9)}
	.wp-site-blocks>footer{position:sticky;bottom:0;z-index:0;margin-top:-28px;padding-top:28px;background:#000}
	html.foot-tall .wp-site-blocks>footer{position:relative}
}

/* ---------- pages and posts ---------- */
.jm-pagetitle{padding-top:112px;padding-bottom:56px}
.jm-pagetitle h1{font-family:var(--display);font-size:42px;line-height:1.02;letter-spacing:-.02em;font-weight:700}
.jm-pagetitle__lead{margin-top:20px;max-width:30ch;font-size:22px;line-height:1.3;letter-spacing:-.01em;color:var(--muted)}
.jm-pagetitle__date{display:flex;gap:.3em;margin-top:20px;color:var(--muted)}
.jm-pagebody{padding-top:48px;padding-bottom:96px}
.jm-pagebody::before{content:"";grid-column:1/-1;height:1px;margin-top:-48px;margin-bottom:24px;background:var(--rule)}
.jm-summary{font-size:15px;color:var(--muted)}
.jm-posthead{padding-top:112px}
.jm-back{font-size:15px;color:var(--muted)}
.jm-back a{display:inline-flex;align-items:center;gap:8px}
.jm-back a::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
.jm-back a:hover{color:var(--fg)}
.jm-posthead__meta{margin-top:40px;font-size:15px}
.jm-posthead h1{margin-top:12px;max-width:22ch;font-size:34px;line-height:1.08;letter-spacing:-.02em;font-weight:500}
.jm-postimg{margin-top:40px}
.wp-block-post-featured-image.jm-postimg img{aspect-ratio:16/9;width:100%;height:auto;object-fit:cover;border-radius:24px;background:var(--mint)}
html.dark .wp-block-post-featured-image.jm-postimg img{background:#1C1C1C}
.jm-credit{margin-top:12px;font-size:14px;color:var(--muted)}
.jm-credit a,.wp-block-post-featured-image .jm-credit a{display:inline;height:auto;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.jm-postbody{padding-block:64px}
.jm-author{display:flex;align-items:center;gap:16px;align-self:start}
.jm-author .jm-author__img{width:56px;height:56px;flex-shrink:0;margin:0;overflow:hidden;border-radius:999px;background:var(--mint)}
html.dark .jm-author .jm-author__img{background:#1C1C1C}
.jm-author .jm-author__img img{width:100%;height:100%;object-fit:cover;object-position:top}
.jm-author__name{font-weight:500}
.jm-author__name a{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .5s var(--ease)}
.jm-author__name a:hover,.jm-author__name a:focus-visible{background-size:100% 1px}
.jm-author__role{font-size:15px;color:var(--muted)}
@media (min-width:768px){
	.jm-pagetitle{padding-top:160px;padding-bottom:64px}
	.jm-pagetitle h1{font-size:60px}
	.jm-pagetitle__lead{font-size:26px}
	.jm-pagebody{padding-bottom:144px}
	.jm-posthead{padding-top:144px}
	.jm-posthead h1{font-size:48px}
	.jm-postimg{margin-top:56px}
	.jm-postbody{padding-block:96px}
	.jm-pagebody>.jm-summary,.jm-postbody>.jm-author{grid-column:span 4;position:sticky;top:96px;align-self:start}
	.jm-pagebody>.jm-prose,.jm-postbody>.jm-prose{grid-column:5/span 8}
}
@media (min-width:1024px){.jm-pagetitle h1{font-size:72px}.jm-posthead h1{font-size:56px}}

/* body text of posts and pages (core blocks) */
.jm-prose{max-width:68ch;font-size:18px;line-height:1.75;color:#262626}
html.dark .jm-prose{color:#D4D4D4}
body .jm-prose>*+*{margin-top:1.15em}
body .jm-prose>h2{margin-top:2.2em}
body .jm-prose>h3{margin-top:1.9em}
body .jm-prose>h2+*,body .jm-prose>h3+*{margin-top:.6em}
.jm-prose h2{font-size:26px;line-height:1.25;letter-spacing:-.012em;font-weight:500;color:var(--strong)}
.jm-prose h3{font-size:20px;line-height:1.35;letter-spacing:0;font-weight:600;color:var(--strong)}
.jm-prose a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.jm-prose a:hover{text-decoration-thickness:2px}
.jm-prose strong{font-weight:600;color:var(--strong)}
.jm-prose ul,.jm-prose ol{padding-left:1.25em}
.jm-prose ul{list-style:disc}.jm-prose ol{list-style:decimal}
.jm-prose li+li{margin-top:.45em}
.jm-prose li::marker{color:#A3A3A3}
body .jm-prose>blockquote{margin-block:2em}
.jm-prose blockquote{padding-left:1.25em;border-left:2px solid #076951;font-size:24px;line-height:1.4;color:var(--strong)}
html.dark .jm-prose blockquote{border-color:#5FB89E}
body .jm-prose>figure{margin-block:2.4em}
.jm-prose figure img{width:100%;border-radius:20px}
.jm-prose figcaption{margin:.75em 0 0;font-size:15px;line-height:1.5;color:var(--muted)}
.jm-prose figcaption a{text-underline-offset:2px}
.is-style-jm-cite,.jm-prose .cite{padding:24px;border-radius:16px;background:var(--mint);font-size:16px;line-height:1.6}
html.dark .is-style-jm-cite,html.dark .jm-prose .cite{background:#121614}

/* ---------- reveal on scroll ---------- */
html.js .rv{opacity:0;transform:translateY(14px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
html.js .rv.in{opacity:1;transform:none}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
	html{scroll-behavior:auto}
	.jm-name .ch,.wp-block-image.is-style-jm-portrait,.jm-hero__intro,.jm-hero__actions,.is-menu-open .jm-menu__nav .wp-block-navigation-item,.is-menu-open .jm-menu__cta{animation:none;transform:none;clip-path:none;opacity:1}
	html.js .rv{opacity:1;transform:none;transition:none}
	.jm-art>*{stroke-dashoffset:0!important}
	*,*::before,*::after{transition-duration:0s!important;transition-delay:0s!important;animation-duration:0s!important;animation-delay:0s!important}
	.wp-block-image.is-style-jm-portrait:hover img,.is-style-jm-card:hover .jm-art{transform:none!important}
}
