/* ============ shared bits ============ */
body.mfw .mf-hero,body.mfw .mf-statement,body.mfw .mf-reveal,body.mfw .mf-pairs,body.mfw .mf-index,body.mfw .mf-stories{color:var(--mf-bone);font-family:var(--mf-sans)}
body.mfw .mf-hero *,body.mfw .mf-statement *,body.mfw .mf-reveal *,body.mfw .mf-pairs *,body.mfw .mf-index *,body.mfw .mf-stories *{box-sizing:border-box}
body.mfw .mf-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 24px;flex-wrap:wrap;padding-inline:var(--mf-gutter)}
body.mfw .mf-head-title{margin:0;font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(48px,7.5vw,120px));line-height:.88;letter-spacing:-.005em;color:var(--mf-bone);text-wrap:balance}
body.mfw .mf-head-title .mf-ser{color:var(--mf-ice);letter-spacing:-.03em;font-size:calc(1em / var(--mf-dk));line-height:.9}
body.mfw .mf-head-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
body.mfw .mf-note{font-family:var(--mf-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-fog)}
body.mfw .mf-note.is-link,body.mfw .mf-note.is-bright{color:var(--mf-bone);text-decoration:none}
body.mfw .mf-note.is-link:hover{color:var(--mf-rust)}
body.mfw .mf-statement .mf-disp,body.mfw .mf-head-title .mf-disp{font-family:var(--mf-display);font-weight:900;text-transform:uppercase}
/* ============ film title ============ */
body.mfw .mf-hero{position:relative;height:var(--mf-hero-len,320vh)}
body.mfw .mf-hero-stage{position:sticky;top:0;height:100vh;height:100svh;min-height:520px;overflow:hidden;background:#000}
body.mfw .mf-hero .mf-reel{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(1.12) saturate(1.06)}
body.mfw .mf-tint{position:absolute;inset:0;pointer-events:none;opacity:0;
  -webkit-backdrop-filter:grayscale(1) contrast(1.1);backdrop-filter:grayscale(1) contrast(1.1);
  -webkit-mask-image:radial-gradient(circle var(--r,240px) at var(--mx,50%) var(--my,50%),transparent 0,transparent 55%,#000 100%);
  mask-image:radial-gradient(circle var(--r,240px) at var(--mx,50%) var(--my,50%),transparent 0,transparent 55%,#000 100%)}
body.mfw .mf-cut{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:1}
body.mfw .mf-cut .mf-t{font-family:var(--mf-display);font-weight:900;letter-spacing:-.01em}
body.mfw .mf-cut-fill{transition:none}
body.mfw .mf-hero-cap{position:absolute;left:0;right:0;bottom:clamp(28px,6vh,64px);display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:end;padding-inline:var(--mf-gutter);z-index:3}
body.mfw .mf-hero-cap .l{font-family:var(--mf-serif);font-style:italic;font-weight:var(--mf-sw);font-size:clamp(22px,2.4vw,34px);color:var(--mf-ice);line-height:1.1}
body.mfw .mf-hero-cap .r{justify-self:end;text-align:right;font-family:var(--mf-display);font-weight:700;text-transform:uppercase;letter-spacing:.02em;font-size:calc(var(--mf-dk) * clamp(24px,2.6vw,38px));color:var(--mf-rust);line-height:1}
body.mfw .mf-hero-cap .c{text-align:center;display:flex;flex-direction:column;gap:6px;align-items:center;font-size:15px;line-height:1.4}
body.mfw .mf-hero-cap .hint,body.mfw .mf-hero-after .hint{font-family:var(--mf-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-fog)}
body.mfw .mf-hero-after{position:absolute;left:var(--mf-gutter);right:var(--mf-gutter);bottom:clamp(28px,6vh,64px);z-index:3;opacity:0;display:flex;flex-direction:column;gap:8px;pointer-events:none}
body.mfw .mf-hero-after b{font-family:var(--mf-serif);font-style:italic;font-weight:var(--mf-sw);font-size:clamp(40px,5.4vw,84px);line-height:1;letter-spacing:-.02em;text-shadow:0 2px 30px rgba(0,0,0,.5)}
body.mfw .mf-hero-after .hint{color:var(--mf-bone);text-shadow:0 1px 12px rgba(0,0,0,.6)}
@media (max-width:700px){body.mfw .mf-hero-cap{grid-template-columns:1fr 1fr}
body.mfw .mf-hero-cap .c{grid-column:1 / -1;grid-row:1}}
/* ============ statement ============ */
body.mfw .mf-statement{padding:clamp(96px,16vh,180px) var(--mf-gutter) clamp(56px,8vh,96px);display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
body.mfw .mf-kicker{font-family:var(--mf-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-fog)}
body.mfw .mf-statement p{margin:0;max-width:30ch;font-size:clamp(30px,3.6vw,56px);line-height:1.1;letter-spacing:-.015em;text-wrap:balance;color:var(--mf-bone)}
body.mfw .mf-statement p .mf-ser{color:var(--mf-ice)}
body.mfw .mf-statement p .mf-disp{color:var(--mf-rust);font-size:.55em;letter-spacing:.005em;font-weight:700;vertical-align:.08em}
/* ============ reveal ============ */
body.mfw .mf-reveal{position:relative;height:var(--mf-rev-len,220vh)}
body.mfw .mf-reveal-stage{position:sticky;top:0;height:100vh;overflow:hidden;background:var(--mf-ink)}
body.mfw .mf-reveal .mf-reveal-img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:var(--mf-fx,50%) var(--mf-fy,50%);will-change:clip-path,transform,filter}
body.mfw .mf-reveal[data-fx="frame"] .mf-reveal-img{clip-path:inset(22% 34%);filter:grayscale(1);transform:scale(1.1)}
body.mfw .mf-reveal[data-fx="develop"] .mf-reveal-img{filter:brightness(.04) contrast(1.8);transform:scale(1.06);
  -webkit-mask-image:radial-gradient(circle at var(--mf-fx,50%) var(--mf-fy,50%),#000 0,#000 var(--r,6%),transparent calc(var(--r,6%) + 22%));
  mask-image:radial-gradient(circle at var(--mf-fx,50%) var(--mf-fy,50%),#000 0,#000 var(--r,6%),transparent calc(var(--r,6%) + 22%))}
body.mfw .mf-reveal[data-fx="iris"] .mf-reveal-img{clip-path:circle(8% at 50% 50%);transform:scale(1.25) rotate(-4deg)}
body.mfw .mf-ring{position:absolute;left:50%;top:50%;width:16vmax;height:16vmax;margin:-8vmax 0 0 -8vmax;border:1px solid var(--mf-bone);border-radius:50%;pointer-events:none;opacity:.8}
body.mfw .mf-rev-word{position:absolute;left:50%;top:50%;z-index:2;margin:0;white-space:nowrap;pointer-events:none;mix-blend-mode:difference;color:#fff;line-height:.85;transform:translate(-50%,-50%)}
body.mfw .mf-rev-word.is-disp{font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(80px,17vw,300px))}
body.mfw .mf-rev-word.is-ser{font-family:var(--mf-serif);font-style:italic;font-weight:var(--mf-sw);font-size:clamp(80px,15vw,260px);letter-spacing:-.04em}
body.mfw .mf-rev-cap{position:absolute;left:var(--mf-gutter);bottom:clamp(28px,6vh,64px);z-index:3;display:flex;flex-direction:column;gap:8px;max-width:min(620px,calc(100% - 2 * var(--mf-gutter)));opacity:0}
body.mfw .mf-rev-cap .lbl{font-family:var(--mf-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;text-shadow:0 1px 12px rgba(0,0,0,.6)}
body.mfw .mf-rev-cap b{font-family:var(--mf-serif);font-style:italic;font-weight:var(--mf-sw);font-size:clamp(32px,4vw,60px);line-height:1.02;letter-spacing:-.02em;text-shadow:0 2px 30px rgba(0,0,0,.55)}
/* ============ pairs ============ */
body.mfw .mf-pairs{position:relative;background:var(--mf-ink)}
body.mfw .mf-pairs-stage{padding-block:clamp(72px,12vh,140px) 40px;display:flex;flex-direction:column;gap:40px}
body.mfw .mf-track{display:flex;flex-direction:column;gap:88px;padding-inline:var(--mf-gutter)}
body.mfw .mf-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
body.mfw .mf-pair h3{margin:0;font-family:var(--mf-serif);font-style:italic;font-weight:var(--mf-sw);font-size:clamp(34px,4vw,64px);line-height:1;letter-spacing:-.02em;color:var(--mf-bone)}
body.mfw .mf-imgs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
body.mfw .mf-pair figure{margin:0;display:flex;flex-direction:column;gap:10px;min-height:0}
body.mfw .mf-pair figure img{width:100%!important;height:auto;aspect-ratio:4/5;object-fit:cover;max-width:none}
body.mfw .mf-pair figure.is-bw img{filter:grayscale(1) contrast(1.12)}
body.mfw .mf-pair figcaption{display:flex;justify-content:space-between;gap:12px;font-family:var(--mf-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-fog)}
body.mfw .mf-pair figcaption b{font-weight:500}
body.mfw .mf-pair .a figcaption b{color:var(--mf-ice)}
body.mfw .mf-pair .b figcaption b{color:var(--mf-rust)}
body.mfw .mf-progress{height:1px;background:var(--mf-line);margin-inline:var(--mf-gutter);position:relative}
body.mfw .mf-progress i{position:absolute;left:0;top:-1px;height:3px;width:0;background:var(--mf-bone)}
@media (min-width:860px){body.mfw .mf-pairs.is-pinned{height:calc(var(--mf-n) * 100vh)}
body.mfw .mf-pairs.is-pinned .mf-pairs-stage{position:sticky;top:0;height:100vh;overflow:hidden;padding-block:clamp(84px,11vh,120px) 36px;justify-content:space-between;gap:28px}
body.mfw .mf-pairs.is-pinned .mf-track{flex-direction:row;gap:0;padding:0;width:calc(var(--mf-n) * 100vw);will-change:transform;flex:1;min-height:0}
body.mfw .mf-pairs.is-pinned .mf-pair{width:100vw;flex:none;padding-inline:var(--mf-gutter);grid-template-columns:minmax(0,.62fr) minmax(0,2fr);grid-template-rows:minmax(0,1fr);align-items:end;gap:clamp(24px,3vw,48px);height:100%}
body.mfw .mf-pairs.is-pinned .mf-pair h3{align-self:center;font-size:clamp(48px,5.6vw,96px)}
body.mfw .mf-pairs.is-pinned .mf-imgs{height:100%;min-height:0;gap:clamp(12px,1.6vw,24px)}
body.mfw .mf-pairs.is-pinned .mf-pair figure{height:100%}
body.mfw .mf-pairs.is-pinned .mf-pair figure img{aspect-ratio:auto;flex:1;min-height:0;height:0!important}
body.mfw .mf-pairs.is-pinned .mf-pair .b{padding-top:7vh}}
/* ============ collections index ============ */
body.mfw .mf-index{padding-block:clamp(96px,14vh,160px) clamp(80px,12vh,140px)}
body.mfw .mf-index ol{list-style:none;margin:40px 0 0;padding:0 var(--mf-gutter)}
body.mfw .mf-index li{border-top:1px solid var(--mf-line);margin:0}
body.mfw .mf-index li:last-child{border-bottom:1px solid var(--mf-line)}
body.mfw .mf-row{display:grid;grid-template-columns:44px minmax(0,1fr) 36px;align-items:center;gap:12px 16px;padding-block:18px;position:relative;z-index:2;color:var(--mf-bone);text-decoration:none}
body.mfw .mf-row .n{font-family:var(--mf-mono);font-size:12px;color:var(--mf-rust);font-variant-numeric:tabular-nums}
body.mfw .mf-row .t{font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(36px,6.4vw,104px));line-height:.9;transition:transform .5s cubic-bezier(.2,.8,.2,1),color .3s}
body.mfw .mf-row .t .s{display:none;font-family:var(--mf-serif);font-style:italic;font-weight:var(--mf-sw);text-transform:none;font-size:calc(1em / var(--mf-dk));letter-spacing:-.03em}
body.mfw .mf-row .d{display:none;font-family:var(--mf-mono);font-size:12px;color:var(--mf-fog);letter-spacing:.06em;text-transform:uppercase}
body.mfw .mf-row .go{justify-self:end;font-size:22px;transition:transform .4s}
body.mfw .mf-row .thumbs{grid-column:2 / 4;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin-top:6px}
body.mfw .mf-row .thumbs img{width:112px!important;height:80px!important;max-width:none;object-fit:cover;flex:none}
body.mfw .mf-hint-mouse{display:none}
@media (min-width:860px){body.mfw .mf-row{grid-template-columns:72px minmax(0,1fr) 300px 44px}
body.mfw .mf-row .d{display:block}
body.mfw .mf-row .thumbs{display:none}
body.mfw .mf-hint-mouse{display:inline}
body.mfw .mf-row:hover .t,body.mfw .mf-row:focus-visible .t{transform:translateX(24px);color:var(--mf-ice)}
body.mfw .mf-row:hover .t .u,body.mfw .mf-row:focus-visible .t .u{display:none}
body.mfw .mf-row:hover .t .s,body.mfw .mf-row:focus-visible .t .s{display:inline}
body.mfw .mf-row:hover .go{transform:translateX(-8px) rotate(-45deg)}}
body.mfw .mf-trail{position:fixed;left:0;top:0;width:240px;height:300px;object-fit:cover;pointer-events:none;z-index:1;opacity:0;
  transform:translate(-50%,-50%) scale(.6);transition:opacity .5s ease,transform .6s cubic-bezier(.2,.8,.2,1);box-shadow:0 24px 60px rgba(0,0,0,.55)}
body.mfw .mf-trail.on{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(var(--rot,0deg))}
body.mfw .mf-trail.old{opacity:0;transform:translate(-50%,-50%) scale(.85) rotate(var(--rot,0deg))}
/* ============ stories ============ */
body.mfw .mf-stories{padding-block:clamp(40px,8vh,96px) clamp(96px,14vh,160px);display:flex;flex-direction:column;gap:48px}
body.mfw .mf-feature{position:relative;display:block;height:clamp(520px,92vh,980px);overflow:hidden;margin-inline:var(--mf-gutter);color:var(--mf-bone);text-decoration:none;background:var(--mf-ink-2)}
body.mfw .mf-feature .mf-feature-bg{position:absolute;left:0;top:-8%;width:100%!important;height:116%!important;max-width:none;object-fit:cover;will-change:transform}
body.mfw .mf-feature::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,12,11,0) 35%,rgba(11,12,11,.86))}
body.mfw .mf-feature .inner{position:absolute;left:clamp(20px,4vw,56px);right:clamp(20px,4vw,56px);bottom:clamp(24px,5vh,56px);z-index:2;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:end}
body.mfw .mf-feature .txt{display:flex;flex-direction:column;gap:18px}
body.mfw .mf-feature .ttl{font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(52px,8.6vw,160px));line-height:.96;letter-spacing:-.01em;text-wrap:balance}
body.mfw .mf-feature .ex{max-width:46ch;color:var(--mf-soft);font-family:var(--mf-sans);font-size:17px;line-height:1.6}
body.mfw .mf-pill{display:inline-flex;align-self:flex-start;align-items:center;gap:10px;height:48px;padding:0 22px;border:1px solid var(--mf-bone);font:600 13px/1 var(--mf-sans);letter-spacing:.12em;text-transform:uppercase;transition:background .3s,color .3s}
body.mfw .mf-pill svg{width:18px;height:18px}
body.mfw .mf-feature:hover .mf-pill{background:var(--mf-bone);color:var(--mf-ink)}
body.mfw .mf-feature .side{display:none}
@media (min-width:860px){body.mfw .mf-feature .inner{grid-template-columns:minmax(0,1fr) 240px}
body.mfw .mf-feature .side{display:block;position:relative;width:240px!important;height:320px!important;max-width:none;object-fit:cover;box-shadow:0 30px 60px rgba(0,0,0,.5);transform:rotate(3deg)}}
body.mfw .mf-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;padding-inline:var(--mf-gutter)}
body.mfw .mf-card{position:relative;display:flex;flex-direction:column;gap:14px;color:var(--mf-bone);text-decoration:none}
body.mfw .mf-card .ph{position:relative;overflow:hidden;aspect-ratio:16/10;background:var(--mf-ink-2)}
body.mfw .mf-card .ph img{width:100%!important;height:100%!important;max-width:none;object-fit:cover;filter:grayscale(1);transform:scale(1.04);transition:filter .8s ease,transform 1.2s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-card:hover .ph img,body.mfw .mf-card:focus-visible .ph img{filter:grayscale(0);transform:scale(1)}
body.mfw .mf-card .ph b{position:absolute;left:18px;bottom:14px;right:18px;font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(32px,3.2vw,56px));line-height:1;color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.6)}
body.mfw .mf-card .ex{color:var(--mf-soft);font-family:var(--mf-sans);font-size:16px;max-width:48ch;line-height:1.6}
@media (min-width:860px){body.mfw .mf-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.mfw .mf-card:nth-child(2){margin-top:12vh}}
/* ============ motion preferences + editor ============ */
@media (prefers-reduced-motion: reduce){body.mfw .mf-hero{height:auto}
body.mfw .mf-hero-stage{position:relative}
body.mfw .mf-reveal{height:auto}
body.mfw .mf-reveal-stage{position:relative;height:80vh}
body.mfw .mf-reveal .mf-reveal-img{clip-path:none!important;-webkit-mask-image:none!important;mask-image:none!important;filter:none!important;transform:none!important}
body.mfw .mf-rev-cap{opacity:1}
body.mfw .mf-ring{display:none}
body.mfw .mf-row .t,body.mfw .mf-card .ph img,body.mfw .mf-trail{transition:none}}
/* keep link colours when the theme sets its own link hover colour */
body.mfw .mf-row:hover,body.mfw .mf-row:focus,body.mfw .mf-card:hover,body.mfw .mf-card:focus,body.mfw .mf-feature:hover,body.mfw .mf-feature:focus{color:var(--mf-bone)}
/* the theme sets its own font on every link; widget links keep the Marfeldt fonts */
body.mfw .mf-feature,body.mfw .mf-card,body.mfw .mf-row,body.mfw .mf-stories a,body.mfw .mf-index a{font-family:var(--mf-sans)}
/* featured story + cards: hover */
body.mfw .mf-feature .mf-feature-bg{transition:scale 1.4s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-feature:hover .mf-feature-bg,body.mfw .mf-feature:focus-visible .mf-feature-bg{scale:1.04}
body.mfw .mf-feature .ttl{transition:color .4s,transform .6s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-feature:hover .ttl,body.mfw .mf-feature:focus-visible .ttl{color:var(--mf-ice);transform:translateX(12px)}
body.mfw .mf-feature .side{transition:transform .8s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-feature:hover .side{transform:rotate(0deg) translateY(-8px)}
body.mfw .mf-card .ph b{transition:color .4s}
body.mfw .mf-card:hover .ph b,body.mfw .mf-card:focus-visible .ph b{color:var(--mf-ice)}
@media (prefers-reduced-motion: reduce){body.mfw .mf-feature .mf-feature-bg,body.mfw .mf-feature .ttl,body.mfw .mf-feature .side{transition:none}}
