/*
Theme Name: 366mm — Daily Moments
Theme URI: https://366mm.photography/
Author: 366mm
Description: Modernes Fullscreen-Fototheme für mehrere 365/366-Tage-Fotoprojekte. Startseite zeigt das Foto des heutigen Kalendertages.
Version: 0.3t
Requires at least: 6.2
Requires PHP: 8.1
Text Domain: mm366
*/
:root{color-scheme:dark;--bg:#0b0b0b;--fg:#f7f7f7;--muted:#bcbcbc;--line:#ffffff40}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--fg);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,select{font:inherit}button{cursor:pointer}
.site-header{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:25px clamp(20px,4vw,72px);background:linear-gradient(#0009,transparent)}
.brand{font-size:clamp(22px,2.4vw,34px);font-weight:800;letter-spacing:-.075em}.brand span{font-size:11px;font-weight:400;letter-spacing:.22em;margin-left:14px;vertical-align:middle;color:#ddd}
.site-nav{display:flex;gap:24px;align-items:center;font-size:12px;letter-spacing:.15em;text-transform:uppercase}.site-nav a:hover,.site-nav a:focus{opacity:.65}
.hero{position:relative;min-height:100svh;display:flex;align-items:end;overflow:hidden;background:#111}
.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;animation:fadein 1.2s ease both}
.hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,#000c 0%,transparent 45%,#0004 100%);pointer-events:none}
.hero-content{position:relative;z-index:2;width:100%;padding:0 clamp(20px,5vw,85px) clamp(50px,8vh,100px);display:flex;align-items:end;justify-content:space-between;gap:30px}
.eyebrow{font-size:11px;letter-spacing:.23em;text-transform:uppercase;color:#ddd}.hero h1{font-size:clamp(30px,5vw,76px);font-weight:400;letter-spacing:-.045em;margin:12px 0}.hero p{color:#ddd;font-size:14px;line-height:1.6;margin:0}.hero-actions{display:flex;gap:12px;align-items:center}.round{width:48px;height:48px;border:1px solid #fff8;background:#0005;color:white;border-radius:50%;display:grid;place-items:center;font-size:22px}.round:hover{background:#fff;color:#111}
.empty{padding:24vh 8vw;text-align:center}.empty h1{font-weight:400;font-size:clamp(30px,5vw,70px)}.empty p{color:#bbb;line-height:1.6}
.section{padding:110px clamp(20px,5vw,85px)}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:35px}.section h2{font-weight:400;font-size:clamp(30px,4vw,55px);margin:0}.muted{color:#aaa;font-size:13px}
.projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.project{position:relative;aspect-ratio:4/5;background:#202020;overflow:hidden}.project img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:transform .5s}.project:hover img{transform:scale(1.045)}.project:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,#000b)}.project-label{position:absolute;z-index:2;bottom:24px;left:24px}.project-label strong{font-size:27px;font-weight:400;display:block}.project-label small{color:#ddd;letter-spacing:.12em}
.filters{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 28px}.filters select,.filters button{background:#181818;color:white;border:1px solid #444;padding:12px 16px}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:7px}.tile{aspect-ratio:1;background:#222;position:relative;overflow:hidden}.tile img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:transform .4s}.tile:hover img{transform:scale(1.04)}.tile span{position:absolute;left:12px;bottom:12px;font-size:12px;text-shadow:0 1px 6px #000}
.pagination{margin:35px 0}.pagination .page-numbers{display:inline-block;margin-right:14px}
.meta-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.meta-tags a{border:1px solid #777;padding:8px 11px;font-size:12px}
.site-footer{border-top:1px solid #333;padding:30px clamp(20px,5vw,85px);color:#999;display:flex;justify-content:space-between;font-size:12px}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@media(max-width:700px){.brand span{display:block;margin:4px 0 0;font-size:9px}.site-nav{gap:13px;font-size:10px}.site-header{padding:18px}.hero-content{flex-direction:column;align-items:start;padding-bottom:36px}.hero-actions{align-self:flex-end}.section{padding:70px 20px}.gallery{grid-template-columns:repeat(2,1fr)}}

/* v0.11 — immersive fullscreen gallery */
:root{--bg:#050505;--fg:#fff}body{background:#050505;font-family:Helvetica,Arial,sans-serif}body.mm366-immersive{overflow:hidden}
.site-header{z-index:90;padding:22px clamp(20px,3vw,56px);background:linear-gradient(#0009,transparent);transition:opacity .3s}.brand{font-size:clamp(23px,2.2vw,34px);letter-spacing:-.07em}.brand span{font-size:9px;letter-spacing:.24em;opacity:.7}.site-nav{gap:27px}.site-nav a{font-size:11px}
.mm-stage{position:relative;width:100%;height:100svh;min-height:450px;background:#050505;overflow:hidden}.mm-stage__image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;animation:mmReveal 1.1s ease both}.mm-stage__image--cover{object-fit:cover}.mm-stage__shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.68),transparent 30%,transparent 68%,rgba(0,0,0,.27));pointer-events:none}.mm-stage__meta{position:absolute;left:clamp(22px,4vw,68px);bottom:clamp(32px,5vh,65px);max-width:min(630px,70vw);z-index:3;text-shadow:0 1px 20px #000a}.mm-kicker{font-size:10px;letter-spacing:.25em;text-transform:uppercase;color:#e2e2e2}.mm-stage__meta h1{font-weight:300;letter-spacing:-.045em;font-size:clamp(31px,4.2vw,68px);line-height:1.06;margin:13px 0}.mm-stage__desc{font-size:clamp(12px,1.1vw,15px);line-height:1.65;color:#e4e4e4;max-width:490px;margin:0}.mm-stage__desc a{border-bottom:1px solid #aaa}.mm-stage__controls{position:absolute;right:clamp(18px,3vw,55px);bottom:clamp(27px,5vh,60px);z-index:5;display:flex;align-items:center;gap:10px}.mm-icon{display:grid;place-items:center;width:46px;height:46px;color:white;border:1px solid #ffffff6b;border-radius:50%;background:#0004;backdrop-filter:blur(8px);font-size:20px;line-height:1;transition:background .2s,transform .2s}.mm-icon:hover,.mm-icon:focus-visible{background:#fff;color:#000;transform:translateY(-2px)}.mm-project-switch{position:absolute;z-index:6;top:100px;right:clamp(20px,3vw,55px);display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:55vw}.mm-project-switch a{padding:9px 13px;border:1px solid #ffffff50;background:#0006;backdrop-filter:blur(10px);font-size:10px;letter-spacing:.13em;text-transform:uppercase}.mm-project-switch a[aria-current=page],.mm-project-switch a:hover{background:#fff;color:#000}.mm-vertical{position:absolute;z-index:4;left:clamp(20px,3vw,55px);top:50%;transform:translateY(-50%);writing-mode:vertical-rl;letter-spacing:.35em;font-size:10px;opacity:.6}.mm-stage__count{position:absolute;right:clamp(20px,3vw,55px);top:50%;transform:translateY(-50%);font-size:11px;letter-spacing:.18em;color:#eee;z-index:3}.mm-empty{height:100svh;display:grid;place-items:center;text-align:center;padding:20px}.mm-empty h1{font-weight:300;font-size:clamp(40px,7vw,100px);letter-spacing:-.06em;margin:10px 0}.mm-empty p{color:#aaa;line-height:1.6}.mm-fullscreen .site-header,.mm-fullscreen .mm-stage__meta,.mm-fullscreen .mm-stage__controls,.mm-fullscreen .mm-project-switch,.mm-fullscreen .mm-vertical,.mm-fullscreen .mm-stage__count{opacity:0;pointer-events:none}.mm-fullscreen .mm-stage__shade{opacity:0}.mm-stage__meta,.mm-stage__controls,.mm-project-switch,.mm-vertical,.mm-stage__count{transition:opacity .25s}.mm-fullscreen:after{content:'ESC TO EXIT';position:fixed;right:20px;top:20px;color:#fff9;letter-spacing:.2em;font-size:9px;z-index:100;pointer-events:none}.mm-info-hidden .mm-stage__meta{opacity:0;pointer-events:none}.mm-description{max-width:820px;margin:0 auto;font-size:16px;line-height:1.9;color:#ddd}.mm-description img{max-width:100%;height:auto}.mm-description a{text-decoration:underline}.mm-single-section{padding:90px 6vw}.mm-single-section h2{font-weight:300;font-size:clamp(26px,3vw,45px)}.mm-date-nav{display:flex;gap:20px;justify-content:space-between;margin-top:50px;font-size:12px;text-transform:uppercase;letter-spacing:.15em}.mm-date-nav a:hover{text-decoration:underline}.mm-hint{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.15em;opacity:.5;z-index:4}
@keyframes mmReveal{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@media(max-width:720px){.site-nav{gap:14px}.site-nav a{font-size:10px}.brand span{display:none}.mm-stage__meta{bottom:105px;max-width:calc(100vw - 40px)}.mm-stage__controls{bottom:25px;right:20px}.mm-stage__desc{max-width:90%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.mm-vertical,.mm-stage__count,.mm-hint{display:none}.mm-project-switch{top:75px;max-width:80vw}.mm-project-switch a{padding:7px 9px}.mm-icon{width:42px;height:42px}.mm-single-section{padding:60px 22px}}
@media(prefers-reduced-motion:reduce){.mm-stage__image{animation:none}*,*:before,*:after{scroll-behavior:auto!important}}

/* v0.12 — CPeter-inspired quiet fullscreen; manual navigation only */
.site-header{padding:24px clamp(22px,3vw,55px);align-items:flex-start}.brand{font-size:clamp(27px,3vw,43px);font-weight:700;letter-spacing:-.075em}.brand span{display:none}.site-nav{display:none}.mm-menu-toggle{border:0;background:transparent;color:white;display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;height:40px;padding:7px;z-index:102;cursor:pointer}.mm-menu-toggle span{display:block;width:29px;height:1.5px;background:white;transition:transform .25s,opacity .25s}.mm-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(7.5px) rotate(45deg)}.mm-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}.mm-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-7.5px) rotate(-45deg)}.mm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.96);z-index:91;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}.mm-overlay.is-open{opacity:1;visibility:visible}.mm-overlay nav{display:flex;flex-direction:column;gap:22px;text-align:center}.mm-overlay a{font-size:clamp(24px,4vw,56px);font-weight:300;letter-spacing:-.03em}.mm-overlay a:hover{opacity:.5}.mm-stage__image{animation:mmReveal .7s ease both}.mm-stage__meta{bottom:clamp(90px,11vh,145px);max-width:min(620px,70vw)}.mm-stage__meta h1{font-size:clamp(28px,3.5vw,56px);font-weight:300}.mm-stage__desc{max-width:520px}.mm-stage__controls{bottom:clamp(22px,4vh,52px);gap:13px}.mm-icon{border:0;border-radius:0;background:transparent;backdrop-filter:none;width:38px;height:38px;font-size:22px}.mm-icon:hover,.mm-icon:focus-visible{background:transparent;color:#ddd;transform:none;opacity:.7}.mm-icon[aria-disabled=true]{opacity:.22;pointer-events:none}.mm-vertical{display:none}.mm-stage__count{top:auto;bottom:clamp(29px,4.5vh,60px);right:auto;left:clamp(22px,4vw,68px);transform:none;opacity:.7}.mm-project-switch{top:105px;right:clamp(20px,3vw,55px)}.mm-project-switch a{background:transparent;border:0;border-bottom:1px solid transparent}.mm-project-switch a[aria-current=page]{background:transparent;color:#fff;border-color:#fff}.mm-project-switch a:hover{background:transparent;color:#fff;border-color:#fff}.mm-stage__shade{background:linear-gradient(0deg,#000b,transparent 40%,transparent 70%,#0005)}.mm-single-section{background:#0a0a0a}.mm-fullscreen .mm-menu-toggle,.mm-fullscreen .mm-overlay{opacity:0;pointer-events:none}
@media(max-width:720px){.site-header{padding:18px 20px}.mm-stage__meta{bottom:110px;max-width:calc(100vw - 44px)}.mm-stage__controls{bottom:22px;right:16px;gap:5px}.mm-icon{width:35px;height:35px}.mm-stage__count{bottom:30px;left:22px}.mm-project-switch{top:80px;max-width:85vw}}

/* v0.13 — CPeter Photography-inspired fullscreen layout and menu */
html,body{margin:0;background:#090909;color:white}
.site-header{position:fixed!important;top:0;left:0;right:0;z-index:100;display:flex;justify-content:space-between;align-items:flex-start;padding:34px 4.2%;pointer-events:none;background:none!important}
.site-header .brand,.site-header .mm-menu-toggle{pointer-events:auto}
.site-header .brand{font-family:Georgia,serif;font-style:italic;font-weight:400;letter-spacing:0;font-size:clamp(25px,2.5vw,44px);text-shadow:0 1px 8px #0008;color:white}
.site-header .brand span{display:block;font-family:Arial,sans-serif;font-style:normal;font-size:9px;letter-spacing:2px;margin-top:4px}
.mm-menu-toggle{display:flex!important;position:relative;z-index:103;flex-direction:column;justify-content:center;gap:5px;width:60px;height:60px;padding:16px;background:rgba(38,38,38,.85);border:0;border-radius:7px;cursor:pointer;flex:none}
.mm-menu-toggle span{display:block;width:100%;height:3px;background:#fff;border-radius:2px;transform:none;transition:transform .2s,opacity .2s}
.mm-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(8px) rotate(45deg)}
.mm-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.mm-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-8px) rotate(-45deg)}
.mm-overlay{position:fixed!important;inset:auto 4.2% auto auto!important;top:105px!important;left:auto!important;width:max-content!important;max-width:92vw;min-width:0;height:auto!important;z-index:101;display:none!important;opacity:1!important;visibility:visible!important;transform:none!important;background:transparent!important;padding:0!important}
.mm-overlay.is-open{display:block!important;pointer-events:auto!important}
.mm-overlay nav{display:flex!important;flex-direction:row!important;flex-wrap:wrap;justify-content:flex-end;gap:1px;align-items:flex-start}
.mm-overlay nav a{display:block;padding:21px 19px;background:rgba(26,26,26,.84);color:#fff;font:600 13px Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;white-space:nowrap;transition:background .2s,opacity .2s}
.mm-overlay nav a:hover{background:rgba(26,26,26,.42);opacity:.72}
.mm-stage{height:100svh;min-height:0;width:100vw;position:relative;overflow:hidden;background:#080808}
.mm-stage__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;animation:mmReveal 1.1s ease both}
.mm-stage__shade{background:linear-gradient(180deg,#0007,transparent 26%,transparent 60%,#0009)}
.mm-stage__meta{left:4.2%;bottom:85px;max-width:min(640px,70vw);padding:22px 26px;background:rgba(16,16,16,.64);backdrop-filter:blur(4px);text-shadow:none;z-index:6}
.mm-stage__meta h1{font:400 clamp(26px,3vw,46px)/1.15 Arial,sans-serif;letter-spacing:0;margin:10px 0}
.mm-stage__desc{font:400 14px/1.65 Arial,sans-serif;max-width:100%;max-height:min(38vh,320px);overflow:auto;color:#f3f3f3}
.mm-stage__controls{right:4.2%;bottom:35px;gap:8px}
.mm-icon{border:0;border-radius:0;background:rgba(26,26,26,.7);width:49px;height:49px;font-size:23px}
.mm-vertical{display:none}.mm-stage__count{top:auto;bottom:48px;right:calc(4.2% + 300px);transform:none}
.mm-project-switch{top:110px;right:4.2%}
.mm-fullscreen .mm-stage__meta,.mm-fullscreen .mm-stage__controls,.mm-fullscreen .mm-stage__count{opacity:0;pointer-events:none}
@media(max-width:700px){.site-header{padding:22px 5%}.mm-overlay{right:5%!important;top:89px!important}.mm-overlay nav{flex-direction:column!important;align-items:stretch}.mm-overlay nav a{padding:15px 18px}.mm-stage__meta{left:5%;right:5%;bottom:105px;max-width:none;padding:16px}.mm-stage__meta h1{font-size:27px}.mm-stage__desc{font-size:12px;max-height:27vh}.mm-stage__controls{right:5%;bottom:28px}.mm-icon{width:39px;height:39px}.mm-stage__count{display:none}}

/* Original CPeter Photography logo displayed over the fullscreen photograph. */
.brand{display:inline-flex;align-items:center;max-width:min(38vw,310px)}
.mm-brand-logo{display:block;width:100%;max-height:78px;height:auto;object-fit:contain;object-position:left center}
@media(max-width:600px){.brand{max-width:55vw}.mm-brand-logo{max-height:55px}}

/* 0.16f — geometry and controls aligned to CPeter Photography v0.50e9.
   Keep 366mm content, customizer and importer integration intact. */
:root{--mm-edge:30px;--mm-header-top:23px}
html,body{overflow-x:hidden}
.site-header{position:fixed!important;top:var(--mm-header-top)!important;left:0;right:0;padding:0 var(--mm-edge)!important;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;z-index:1000;background:none!important;pointer-events:none}
.admin-bar .site-header{top:calc(var(--mm-header-top) + 32px)!important}
.site-header .brand{display:block;flex:0 0 155px;width:155px;max-width:155px;min-width:0;pointer-events:auto}
.site-header .brand img{display:block;width:155px;max-width:100%;height:auto;max-height:none;object-fit:contain;object-position:left top}
.site-header .mm-menu-toggle{order:2;position:relative;display:flex!important;flex:0 0 46px;width:46px;height:56px;padding:14px 11px;gap:5px;border:0;border-radius:0 6px 6px 0;background:rgba(34,34,34,.84);pointer-events:auto;z-index:103}
.site-header .mm-menu-toggle span{height:3px;width:100%;border-radius:0}
.mm-overlay{position:fixed!important;top:var(--mm-header-top)!important;right:calc(var(--mm-edge) + 46px)!important;left:auto!important;width:auto!important;max-width:calc(100vw - 260px);z-index:1001}
.admin-bar .mm-overlay{top:calc(var(--mm-header-top) + 32px)!important}
.mm-overlay nav{display:flex!important;flex-wrap:nowrap!important;align-items:stretch;gap:1px}
.mm-overlay nav a{display:flex;align-items:center;justify-content:center;height:56px;min-height:56px;padding:0 17px;background:rgba(37,37,37,.83);font-size:13px;font-weight:700;letter-spacing:1.6px;line-height:1.1}
.mm-stage{height:100svh;min-height:0;width:100%;overflow:hidden}
.mm-stage__image{object-fit:cover;object-position:center}
.mm-stage__shade{background:linear-gradient(180deg,rgba(0,0,0,.18),transparent 22%,transparent 70%,rgba(0,0,0,.25))}
.mm-stage__meta{left:var(--mm-edge);bottom:calc(var(--mm-edge) + 70px);max-width:min(530px,calc(100vw - 2*var(--mm-edge)));padding:14px 18px;background:rgba(20,20,20,.70);backdrop-filter:none;border-radius:0;text-shadow:none}
.mm-stage__meta h1{font:400 clamp(20px,2vw,30px)/1.15 Arial,sans-serif;margin:8px 0 6px;letter-spacing:0}
.mm-stage__desc{font:400 13px/1.5 Arial,sans-serif;max-height:30vh;overflow:auto;margin:0}
.mm-kicker{font-size:10px;letter-spacing:1.4px}
.mm-stage__controls{position:absolute;right:var(--mm-edge);bottom:calc(var(--mm-edge) + 24px);gap:0;background:rgba(0,0,0,.58);display:flex;align-items:stretch;z-index:10}
.mm-stage__controls .mm-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-right:1px solid rgba(255,255,255,.2);border-radius:0;color:#fff;font-size:24px;padding:0;backdrop-filter:none;transform:none;transition:background .2s}
.mm-stage__controls .mm-icon:last-child{border-right:0}
.mm-stage__controls .mm-icon:hover,.mm-stage__controls .mm-icon:focus-visible{background:rgba(255,255,255,.16);color:white;transform:none}
.mm-stage__count{left:var(--mm-edge);right:auto;bottom:var(--mm-edge);top:auto;transform:none;font-size:12px}
.mm-project-switch{top:100px;right:var(--mm-edge)}
.mm-vertical{display:none}
.mm-stage__controls .mm-icon[aria-disabled=true]{opacity:.35;pointer-events:none}
@media(max-width:1250px){.mm-overlay{top:calc(var(--mm-header-top) + 65px)!important;right:var(--mm-edge)!important;max-width:min(420px,calc(100vw - 2*var(--mm-edge)))}.admin-bar .mm-overlay{top:calc(var(--mm-header-top) + 97px)!important}.mm-overlay nav{flex-direction:column!important;align-items:stretch}.mm-overlay nav a{justify-content:flex-start;min-height:44px;height:auto;padding:14px 18px}}
@media(max-width:782px){.admin-bar .site-header{top:calc(var(--mm-header-top) + 46px)!important}.admin-bar .mm-overlay{top:calc(var(--mm-header-top) + 111px)!important}}
@media(max-width:650px){:root{--mm-edge:15px;--mm-header-top:15px}.site-header .brand{flex-basis:120px;width:120px;max-width:120px}.site-header .brand img{width:120px}.site-header .mm-menu-toggle{flex-basis:46px;width:46px;height:50px}.mm-overlay{top:calc(var(--mm-header-top) + 58px)!important}.mm-stage__meta{left:var(--mm-edge);right:var(--mm-edge);bottom:105px;max-width:none;padding:12px 14px}.mm-stage__meta h1{font-size:22px}.mm-stage__desc{font-size:12px;max-height:22vh}.mm-stage__controls{right:10px;bottom:12px}.mm-stage__controls .mm-icon{width:44px;height:44px;font-size:21px}.mm-stage__count{bottom:22px;left:12px}.mm-project-switch{top:85px;right:15px}}

/* 0.16g editorial sections */
.mm-editorial{background:#111;color:#f5f5f5}.mm-ed-section{min-height:75vh;display:flex;align-items:center;padding:110px 30px;border-top:1px solid #333;box-sizing:border-box;scroll-margin-top:65px}.mm-ed-inner{width:min(1180px,100%);margin:auto}.mm-ed-kicker{font-size:11px;letter-spacing:.22em;color:#aaa;margin:0 0 28px}.mm-ed-section h2{font-size:clamp(50px,8vw,120px);line-height:.94;letter-spacing:-.055em;margin:0 0 55px;text-transform:uppercase}.mm-ed-section h2 span{display:block;font-size:clamp(25px,4vw,60px);color:#aaa;margin-top:12px}.mm-ed-copy{max-width:750px;margin-left:auto;font-size:clamp(16px,1.4vw,21px);line-height:1.85}.mm-ed-copy h3{font-size:12px;letter-spacing:.2em;margin-bottom:20px}.mm-ed-copy p{margin:0 0 22px}.mm-ed-copy a,.mm-ed-section a{color:inherit}.mm-ed-about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(35px,6vw,110px);align-items:center}.mm-ed-about-grid .mm-ed-copy{margin:0}.mm-ed-portrait img{display:block;width:100%;max-height:560px;object-fit:cover;filter:grayscale(1)}.mm-ed-portrait-placeholder{aspect-ratio:4/5;background:#222;display:grid;place-items:center;color:#aaa}.mm-ed-imprint{min-height:45vh}@media(max-width:700px){.mm-ed-section{padding:90px 22px}.mm-ed-about-grid{grid-template-columns:1fr}.mm-ed-section h2{margin-bottom:35px}}

/* 0.16h: doubled logo, structured caption and no duplicate corner counter. */
.site-header .brand{flex-basis:310px;width:310px;max-width:310px}
.site-header .brand img,.mm-brand-logo{width:310px;max-width:100%;max-height:156px;height:auto}
.mm-stage__count{display:none!important}
.mm-stage__number{font:400 13px/1.5 Arial,sans-serif;margin:0 0 3px;color:#fff}
.mm-stage__meta .mm-kicker{text-transform:none;letter-spacing:.3px;font-size:12px;line-height:1.5}
.mm-stage__meta h1{margin:8px 0 12px}
@media(max-width:650px){.site-header .brand{flex-basis:240px;width:240px;max-width:min(240px,65vw)}.site-header .brand img,.mm-brand-logo{width:240px;max-height:110px}}

/* v0.16i: align caption with navigation; category dropdown; subtle image motion */
.mm-stage__meta{bottom:calc(var(--mm-edge) + 24px);max-height:min(65vh,620px);overflow:auto}
.mm-stage__image{animation:mmGentleMotion 24s ease-in-out infinite alternate!important;transform-origin:center center;will-change:transform}
@keyframes mmGentleMotion{0%{transform:scale(1)}100%{transform:scale(1.045)}}
.mm-overlay nav .mm-menu-group{position:relative;display:flex;align-items:stretch}
.mm-overlay nav .mm-submenu-toggle{height:56px;min-height:56px;padding:0 14px;border:0;color:#fff;background:rgba(37,37,37,.83);font-size:13px;font-weight:700;letter-spacing:1.6px;cursor:pointer;text-transform:uppercase}
.mm-overlay nav .mm-submenu-toggle:hover,.mm-overlay nav .mm-submenu-toggle[aria-expanded=true]{background:rgba(70,70,70,.9)}
.mm-overlay nav .mm-submenu{display:none;position:absolute;top:100%;right:0;min-width:205px;max-height:60vh;overflow-y:auto;z-index:5;background:#222;box-shadow:0 12px 24px #0009}
.mm-overlay nav .mm-submenu.is-open{display:flex;flex-direction:column;gap:1px}
.mm-overlay nav .mm-submenu a{height:auto;min-height:42px;padding:13px 17px;justify-content:flex-start;text-align:left;white-space:normal}
@media(max-width:1250px){.mm-overlay nav .mm-menu-group{display:block}.mm-overlay nav .mm-submenu-toggle{width:100%;text-align:left}.mm-overlay nav .mm-submenu{position:static;box-shadow:none;max-height:35vh;min-width:0}.mm-overlay nav .mm-submenu a{padding-left:28px}}
@media(max-width:650px){.mm-stage__meta{bottom:calc(12px + 44px + 12px);max-height:43vh}.mm-stage__controls{bottom:12px}}
@media(prefers-reduced-motion:reduce){.mm-stage__image{animation:none!important;will-change:auto}}

/* 0.16j: Featured galleries and project selector */
.mm-featured-strip{background:#111;padding:0;overflow:hidden}
.mm-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.mm-featured-card{display:block;position:relative;aspect-ratio:1/1;overflow:hidden;background:#191919;color:#fff}
.mm-featured-card img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:transform 1.2s ease,filter .5s ease}
.mm-featured-card:hover img,.mm-featured-card:focus-visible img{transform:scale(1.045)}
.mm-featured-label{position:absolute;bottom:0;left:0;right:0;padding:28px 16px 14px;background:linear-gradient(transparent,#0009);font-size:12px;letter-spacing:.08em;opacity:0;transition:opacity .3s}
.mm-featured-card:hover .mm-featured-label,.mm-featured-card:focus-visible .mm-featured-label{opacity:1}
.mm-project-pending{display:block;padding:12px 16px;color:#aaa;font-size:12px;white-space:nowrap;cursor:default}
@media(max-width:720px){.mm-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-featured-label{opacity:1}}
@media(prefers-reduced-motion:reduce){.mm-featured-card img{transition:none}}

/* 0.16k: same navigation geometry on home and single-moment pages */
.mm-stage__controls .mm-icon{flex:0 0 auto;text-decoration:none;appearance:none;-webkit-appearance:none}
.mm-stage__controls .mm-icon svg{display:block;flex:none}
.mm-stage__controls .mm-icon[aria-disabled="true"]{opacity:.35;pointer-events:none}

/* 0.16s: CPeter-style scroll-over. Photo strips move at native scroll speed;
   editorial content moves 45% more slowly, with the strip overlapping it. */
body.home .mm-ed-section{position:relative;z-index:1;min-height:100svh;overflow:visible}
body.home .mm-ed-section>.mm-ed-inner{transform:translate3d(0,var(--mm-text-shift,0px),0);will-change:transform;transition:none}
body.home .mm-featured-strip{position:relative;z-index:4;margin-top:-12svh;overflow:hidden;isolation:isolate}
body.home .mm-featured-grid{transform:none!important;transition:none!important}
body.home .mm-featured-card img{transition:none;transform:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){body.home .mm-ed-section>.mm-ed-inner{transform:none!important;will-change:auto}body.home .mm-featured-strip{margin-top:0}}

/* 0.16u: project gallery fills the viewport with tightly packed thumbnails. */
.mm-project-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:calc(100vw / 6);gap:0;min-height:100svh;background:#111;padding:0;margin:0}
.mm-project-tile{display:block;position:relative;overflow:hidden;background:#171717}
.mm-project-tile img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:transform .5s ease}
.mm-project-tile:hover img{transform:scale(1.045)}
.mm-project-empty{color:#fff;padding:160px 30px;grid-column:1/-1}
@media(max-width:900px){.mm-project-gallery{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:25vw}}
@media(max-width:520px){.mm-project-gallery{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:33.333vw}}
@media(prefers-reduced-motion:reduce){.mm-project-tile img{transition:none}}

/* 0.2c: month/day/today navigation, keeping the original control style. */
.mm-stage__controls .mm-icon--today{width:72px;min-width:72px;font-size:11px;font-weight:600;letter-spacing:.08em}
.mm-stage__controls .mm-icon--month{font-size:29px}
@media(max-width:650px){.mm-stage__controls .mm-icon{width:clamp(34px,9vw,44px);height:44px}.mm-stage__controls .mm-icon--today{width:53px;min-width:53px;font-size:9px;letter-spacing:0}.mm-stage__controls .mm-icon--month{font-size:22px}}
@media(max-width:380px){.mm-stage__controls .mm-icon{width:32px;height:40px}.mm-stage__controls .mm-icon--today{width:48px;min-width:48px;font-size:9px}}

/* Portrait photographs: show the complete image, use cached edge-luminance background. */
.mm-stage.mm-stage--portrait{background:var(--mm-portrait-bg,#151515)}
.mm-stage.mm-stage--portrait .mm-stage__image{object-fit:contain!important}
.mm-stage.mm-stage--portrait .mm-stage__shade{background:linear-gradient(0deg,rgba(0,0,0,.32),transparent 25%,transparent 72%,rgba(0,0,0,.18))}

/* Legal sections: inherit editorial styling, with discreet contact reveal. */
.mm366-email-reveal{background:transparent;border:1px solid currentColor;color:inherit;font:inherit;letter-spacing:.06em;padding:.55em .9em;cursor:pointer}
.mm366-email-reveal:hover,.mm366-email-reveal:focus-visible{background:#fff;color:#111}
.mm366-legal-copy h3{margin-top:1.8em}
.mm366-legal-copy p{max-width:66ch;line-height:1.65}

/* 0.2w — compact, editorial legal sections on the homepage. */
body.home .mm366-legal-section{min-height:0;display:block;padding:clamp(76px,9vw,145px) clamp(22px,5vw,80px);background:#101010;border-top:1px solid #303030;overflow:visible}
body.home .mm366-legal-section:nth-of-type(even){background:#141414}
body.home .mm366-legal-section>.mm-ed-inner{width:min(1180px,100%);display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.45fr);column-gap:clamp(42px,7vw,120px);align-items:start;transform:none!important;will-change:auto}
body.home .mm366-legal-section .mm-ed-kicker{grid-column:1/-1;margin:0 0 clamp(36px,5vw,65px);font-size:11px;letter-spacing:.24em;color:#999}
body.home .mm366-legal-section h2{grid-column:1;font-size:clamp(42px,5.5vw,83px);line-height:.98;letter-spacing:-.055em;overflow-wrap:anywhere;margin:0;position:sticky;top:95px}
body.home .mm366-legal-section h2 span{font-size:clamp(13px,1.4vw,19px);letter-spacing:.02em;line-height:1.4;color:#999;margin-top:22px}
body.home .mm366-legal-section .mm366-legal-copy{grid-column:2;max-width:100%;margin:0;font-size:clamp(14px,1.2vw,17px);line-height:1.75;color:#c9c9c9}
body.home .mm366-legal-section .mm366-legal-copy h3{font-size:11px;font-weight:650;letter-spacing:.18em;color:#fff;margin:0 0 12px;padding-top:26px;border-top:1px solid #383838}
body.home .mm366-legal-section .mm366-legal-copy h3:first-child{border-top:0;padding-top:0}
body.home .mm366-legal-section .mm366-legal-copy p{max-width:65ch;margin:0 0 27px;line-height:1.8}
body.home .mm366-legal-section .mm366-legal-copy p strong{color:#eee}
body.home .mm366-legal-section .mm366-email-reveal{font-size:12px;letter-spacing:.12em;padding:10px 14px;min-height:42px;border-color:#666;transition:background .2s,color .2s}
body.home .mm366-legal-next{border-top:1px solid #444;margin-top:46px;padding-top:23px}
body.home .mm366-legal-next a{display:inline-flex;gap:22px;align-items:center;text-decoration:none;font-size:11px;letter-spacing:.17em;font-weight:650;color:#fff}
body.home .mm366-legal-next a span{font-size:20px;font-weight:400;transition:transform .2s}
body.home .mm366-legal-next a:hover span{transform:translate(3px,-3px)}
@media(max-width:760px){body.home .mm366-legal-section{padding:72px 22px}body.home .mm366-legal-section>.mm-ed-inner{display:block}body.home .mm366-legal-section .mm-ed-kicker{margin-bottom:24px}body.home .mm366-legal-section h2{position:static;margin:0 0 46px;font-size:clamp(44px,11vw,68px)}body.home .mm366-legal-section .mm366-legal-copy{font-size:15px}body.home .mm366-legal-section .mm366-legal-copy h3{padding-top:22px}}

/* 0.2y: independently adjustable scroll motion for each featured photo strip. */
body.home .mm-featured-strip[data-scroll-speed]{will-change:transform}
@media(prefers-reduced-motion:reduce){body.home .mm-featured-strip[data-scroll-speed]{transform:none!important;will-change:auto}}

/* Press – independent from existing editorial sections */
.mm366-press{padding:110px 0 70px;background:#0b0b0b;color:#f7f7f7}.mm366-press>.mm-ed-inner{margin-bottom:65px}.mm366-press-intro{max-width:650px;color:#bcbcbc;line-height:1.7}.mm366-press-article{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:clamp(25px,5vw,90px);padding:40px clamp(22px,6vw,100px) 100px;max-width:1600px;margin:auto}.mm366-press-right .mm366-press-pages{order:2}.mm366-press-pages{display:flex;gap:14px;overflow-x:auto;min-width:0}.mm366-press-page{display:block;border:0;padding:0;background:transparent;flex:0 0 auto;max-width:100%;cursor:zoom-in}.mm366-press-page img{display:block;width:auto;max-width:100%;max-height:65vh;object-fit:contain}.mm366-press-text h3{font-size:clamp(28px,3vw,52px);font-weight:400;line-height:1.1}.mm366-press-description{line-height:1.8;color:#ddd}.mm366-press-text a{text-decoration:underline;text-underline-offset:5px}.mm366-press-strip{margin:0 0 90px}.mm366-press-dialog{border:0;background:#080808;color:#fff;width:96vw;max-width:none;height:94vh;max-height:none;padding:0}.mm366-press-dialog::backdrop{background:#000e}.mm366-press-dialog-controls{display:flex;justify-content:flex-end;gap:12px;padding:12px 20px}.mm366-press-dialog-controls button{background:#222;border:1px solid #777;border-radius:50%;width:42px;height:42px;color:#fff;font-size:22px}.mm366-press-dialog-scroll{overflow:auto;height:calc(100% - 70px);text-align:center}.mm366-press-dialog-scroll img{width:100%;height:auto;max-width:none}@media(max-width:700px){.mm366-press-article{grid-template-columns:1fr}.mm366-press-right .mm366-press-pages{order:0}.mm366-press-page img{max-height:60vh}}

/* Independent PRESS page: reuse editorial typography and responsive spacing. */
.mm366-press-page{background:#0b0b0b;min-height:100svh}
.mm366-press-page .mm366-press{padding-top:clamp(125px,15vh,210px)}
.mm366-press-page .mm366-press>.mm-ed-inner{width:min(1180px,calc(100% - 44px));margin-inline:auto}
.mm366-press-page .mm366-press h2,.mm366-press-page .mm366-press-empty h1{font-size:clamp(50px,8vw,120px);line-height:.94;letter-spacing:-.055em;font-weight:400;text-transform:uppercase;margin:0 0 55px}
.mm366-press-page .mm366-press-intro{font-size:clamp(16px,1.4vw,21px)}
.mm366-press-page .mm366-press-empty{min-height:80svh}

/* 0.3q: PRESS-only image parallax. Home photo strips remain unchanged. */
.mm366-press-page .mm366-press-strip .mm-featured-card{overflow:hidden}
.mm366-press-page .mm366-press-strip .mm-featured-card img,
.mm366-press-page .mm366-press-strip .mm-featured-card:hover img,
.mm366-press-page .mm366-press-strip .mm-featured-card:focus-visible img{
 transform:translate3d(0,var(--mm366-press-shift,0px),0) scale(2);
 transition:filter .5s ease;will-change:transform;
}
@media(prefers-reduced-motion:reduce){
 .mm366-press-page .mm366-press-strip .mm-featured-card img{transform:none!important;will-change:auto}
}
