/* The Living Fractal · seasonal system · 24 Nov 2026 · v3 Palette follows the Dutch year (SEASONS). Preview any season with ?season=midwinter etc. Photo panels per season live in LF_SEASON_PHOTOS. Loaded from Settings > Code injection > Site header. To change: upload a new copy with a new file name (files are cached for a year). */ (function(){var st=document.createElement('style');st.id='lf-seasons';st.textContent="html{--lfs-wash:linear-gradient(170deg,#ffffff00,#e9ece6aa);--lfs-panel:#21363c;--lfs-light:#f8f2e8;--lfs-accent:#f3c29e;--lfs-foot:#e2e9e7;--lfs-line:#62757540;--lfs-hero:#14252d;--lfs-em:#f3cbab;--lfs-feature:#e8e8dc}html[data-lf-season=first-frost]{--lfs-wash:linear-gradient(172deg,#ffffff00 0%,#e7eff1b3 50%,#d8e5eae6 100%);--lfs-panel:#1d3236;--lfs-light:#f4f7f6;--lfs-accent:#f0c8a6;--lfs-foot:#dfe7e8;--lfs-line:#5d737840;--lfs-hero:#142328;--lfs-em:#cfe3e8;--lfs-feature:#e6ebe7}html[data-lf-season=midwinter]{--lfs-wash:linear-gradient(172deg,#ffffff00,#e2e7ebd9);--lfs-panel:#1b2833;--lfs-light:#f2f4f5;--lfs-accent:#e9c27c;--lfs-foot:#dde2e5;--lfs-line:#55657240;--lfs-hero:#111c25;--lfs-em:#e9d3a5;--lfs-feature:#e4e6e4}html[data-lf-season=thaw]{--lfs-wash:linear-gradient(172deg,#ffffff00,#e1e9dbb3);--lfs-panel:#2a3a31;--lfs-light:#f6f6ef;--lfs-accent:#e5e0b8;--lfs-foot:#e2e7dd;--lfs-line:#5e6f6040;--lfs-hero:#18241d;--lfs-em:#eef0d6;--lfs-feature:#e7e9de}html[data-lf-season=blossom]{--lfs-wash:linear-gradient(172deg,#fbe8ec99,#ffffff00 55%,#eef1e2b3);--lfs-panel:#3b3340;--lfs-light:#fbf5f2;--lfs-accent:#f4bfc6;--lfs-foot:#efe7e3;--lfs-line:#7a676e40;--lfs-hero:#251f28;--lfs-em:#f7c9cf;--lfs-feature:#f1e9e3}html[data-lf-season=first-green]{--lfs-wash:linear-gradient(172deg,#ffffff00,#deebd1b3);--lfs-panel:#24402e;--lfs-light:#f7f8ef;--lfs-accent:#d9e58f;--lfs-foot:#e3ead9;--lfs-line:#5a704f40;--lfs-hero:#15281b;--lfs-em:#dde9a6;--lfs-feature:#e8eddc}html[data-lf-season=long-light]{--lfs-wash:linear-gradient(172deg,#fbeccb99,#ffffff00 60%);--lfs-panel:#2c4036;--lfs-light:#fdf8ec;--lfs-accent:#f6cf7a;--lfs-foot:#f0e9d6;--lfs-line:#7a6e5040;--lfs-hero:#1b2a22;--lfs-em:#f8d98f;--lfs-feature:#f1ead8}html[data-lf-season=ripening]{--lfs-wash:linear-gradient(172deg,#f5e0c299,#ffffff00 70%);--lfs-panel:#3d3427;--lfs-light:#faf3e6;--lfs-accent:#eab070;--lfs-foot:#ece2cf;--lfs-line:#7a674a40;--lfs-hero:#271f15;--lfs-em:#f0c08a;--lfs-feature:#eee4d1}html[data-lf-season=leaf-fall]{--lfs-wash:linear-gradient(172deg,#f4dfcb99,#ffffff00 55%,#e4ebe7b3);--lfs-panel:#2d3631;--lfs-light:#f8f2e8;--lfs-accent:#f0a978;--lfs-foot:#e9e3d8;--lfs-line:#76685540;--lfs-hero:#1c2420;--lfs-em:#f3bb92;--lfs-feature:#eae5d6}html body.lf-design-active #lf-room,html #lf-room{background:var(--lfs-wash),var(--room-paper,var(--paper,#f5f2e9))}html #lf-room>header{border-bottom:1px solid var(--lfs-line)}html #lf-room>footer{background:var(--lfs-foot);border-top:1px solid var(--lfs-line)}html #lf-room .lf-field-feature{background:var(--lfs-feature)}html #lf-room .pillars{background:var(--lfs-panel)}html #lf-room .letter,html #lf-room .about-end{background:#eadcce}html #lf-room .landing-title h1 em{color:var(--lfs-em)}body.home-template #lf-room #lf-main>section.landing.lf-heron{background:var(--lfs-hero)}body.home-template #lf-room #lf-main>section.landing.lf-heron>img{filter:saturate(.92) contrast(1.04)}body.home-template #lf-room #lf-main>section.landing.lf-heron::after{background:linear-gradient(90deg,var(--lfs-hero) 30%,color-mix(in srgb,var(--lfs-hero) 94%,transparent) 39%,color-mix(in srgb,var(--lfs-hero) 22%,transparent) 64%,transparent 84%),linear-gradient(0deg,color-mix(in srgb,var(--lfs-hero) 62%,transparent),transparent 26%)}html[data-lf-season=first-frost] body.home-template #lf-room #lf-main>section.landing.lf-heron>img{object-position:50% 46%;filter:saturate(.9) contrast(1.06) brightness(1.03)}html #lf-room #lf-main>.lf-season{margin:clamp(28px,5vw,78px) auto;width:min(88%,1240px);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);min-height:300px;background:var(--lfs-panel);color:var(--lfs-light);overflow:hidden;border-radius:4px;box-shadow:0 18px 54px #1a313126;position:relative}html #lf-room .lf-season figure{margin:0;position:relative;min-height:290px;overflow:hidden}html #lf-room .lf-season figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%;filter:contrast(1.05) saturate(.95)}html #lf-room .lf-season .lf-season-copy{align-self:center;padding:clamp(26px,5vw,70px)}html #lf-room .lf-season .lf-season-copy p{margin:0 0 16px;color:var(--lfs-light);line-height:1.6}html #lf-room .lf-season .lf-season-label{display:flex;align-items:center;gap:10px;color:var(--lfs-accent)!important;font-size:.72rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase}html #lf-room .lf-season .lf-season-label svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.3;stroke-linecap:round}html #lf-room .lf-season .lf-season-copy h2{color:var(--lfs-light);font-family:var(--serif,Georgia,serif);font-weight:500;font-size:clamp(2rem,4vw,3.55rem);line-height:1.02;margin:0 0 16px;text-wrap:balance}html #lf-room .lf-season .lf-season-copy a{display:inline-block;color:var(--lfs-accent);text-decoration:underline;text-underline-offset:.24em}html #lf-room .lf-season .lf-season-copy a:focus-visible{outline:2px solid var(--lfs-accent);outline-offset:5px}html[data-lf-season=first-frost] #lf-room .lf-season::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,#dfeef2aa 20%,#ffffffd9 50%,#dfeef2aa 80%,transparent);pointer-events:none}html #lf-room #lf-main>.lf-strip{width:min(88%,1240px);margin:calc(-1 * clamp(10px,3vw,46px)) auto clamp(28px,5vw,70px)}html #lf-room .lf-strip-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 24px;margin:0 0 14px}html #lf-room .lf-strip-head h2{font-size:clamp(26px,2.6vw,34px)!important}html #lf-room .lf-strip-head a{border-bottom:1px solid currentColor;padding-bottom:3px;font-size:13px}html #lf-room .lf-strip-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;list-style:none}html #lf-room .lf-strip-row li{scroll-snap-align:start;margin:0}html #lf-room .lf-strip-row a{display:block}html #lf-room .lf-strip-row img{aspect-ratio:4/5;height:auto!important;border-radius:3px;box-shadow:0 6px 18px #1a313118}html #lf-room .lf-strip-row span{display:block;font-size:12.5px;line-height:1.4;margin-top:7px;color:var(--muted)}@media(prefers-reduced-motion:no-preference){html #lf-room .lf-strip-row img{transition:transform .5s}html #lf-room .lf-strip-row a:hover img{transform:translateY(-3px)}}html #lf-room>footer .lf-season-mark{margin:10px 0 0;font-size:12px;letter-spacing:.06em;color:var(--muted)}@media(max-width:680px){html #lf-room #lf-main>.lf-season{grid-template-columns:minmax(0,1fr);width:90%}html #lf-room .lf-season figure{min-height:0;aspect-ratio:16/11}html #lf-room #lf-main>.lf-strip{width:90%}html #lf-room .lf-strip-row{grid-auto-columns:42%}body.home-template #lf-room #lf-main>section.landing.lf-heron::after{background:linear-gradient(180deg,color-mix(in srgb,var(--lfs-hero) 92%,transparent),transparent 31%,color-mix(in srgb,var(--lfs-hero) 44%,transparent) 45%,color-mix(in srgb,var(--lfs-hero) 96%,transparent) 93%)}}";document.head.appendChild(st)})(); (function(){ var SEASONS=[ ['first-frost',[11,22],[12,20],'First frost · late autumn into winter'], ['midwinter',[12,21],[2,14],'Midwinter · bare branches and low light'], ['thaw',[2,15],[3,19],'Thaw · snowdrops and wet earth'], ['blossom',[3,20],[4,30],'Blossom · early spring'], ['first-green',[5,1],[6,20],'First green · late spring'], ['long-light',[6,21],[8,15],'Long light · high summer'], ['ripening',[8,16],[9,30],'Ripening · late summer'], ['leaf-fall',[10,1],[11,21],'Leaf fall · deep autumn'] ]; function md(d){return (d.getMonth()+1)*100+d.getDate()} function inRange(n,a,b){var s=a[0]*100+a[1],e=b[0]*100+b[1];return s<=e?(n>=s&&n<=e):(n>=s||n<=e)} var now=md(new Date()),season=SEASONS[0]; for(var i=0;i footer .footer-brand'); if(foot&&!room.querySelector('.lf-season-mark')){var m=document.createElement('p');m.className='lf-season-mark';m.textContent='Now in the journal: '+season[3].split(' · ')[0].toLowerCase();foot.after(m)} if(!main||!set)return; var path=location.pathname; if(path==='/'&&set.hero){ var hero=main.querySelector('.landing > img'); if(hero){hero.removeAttribute('srcset');hero.src=src(set.hero[0]);hero.alt=set.hero[0][1]} var note=main.querySelector('.lf-photo-note'); if(note){note.querySelector('summary').textContent=set.hero[1];var np=note.querySelector('p');if(np)np.textContent=set.hero[2]} } var scene=set.scenes&&set.scenes[path]; if(scene&&!main.querySelector('.lf-season')){ var panel=document.createElement('section'); panel.className='lf-season'; panel.setAttribute('aria-labelledby','lf-season-title'); panel.innerHTML='

'+crystal+'

'; var img=panel.querySelector('img');img.src=src(scene[0]);img.alt=scene[0][1]; panel.querySelector('.lf-season-label span').textContent=season[3]; panel.querySelector('h2').textContent=scene[1]; panel.querySelector('.lf-season-description').textContent=scene[2]; var a=panel.querySelector('a');a.href=scene[3];a.textContent=scene[4]+' →'; var first=main.querySelector(':scope > section'); if(first)first.after(panel); if(path==='/'&&set.strip){ var st=set.strip,strip=document.createElement('section'); strip.className='lf-strip';strip.setAttribute('aria-labelledby','lf-strip-title'); strip.innerHTML='

'; strip.querySelector('h2').textContent=st.title; var sa=strip.querySelector('.lf-strip-head a');sa.href=st.href;sa.textContent=st.link+' →'; var ul=strip.querySelector('ul'); st.items.forEach(function(it){var li=document.createElement('li');li.innerHTML='';li.querySelector('a').href=st.href;var im=li.querySelector('img');im.src=src(it[0],600);im.alt=it[0][1];li.querySelector('span').textContent=it[1];ul.appendChild(li)}); panel.after(strip); } } }); })();