/* Sane Seven — Contact Sheet · theme.css */

/* ───────── Fonts (bundled, no third-party requests) ───────── */
@font-face{font-family:'S7 Hand';src:url(../fonts/homemade-apple-latin-400-normal.woff2) format('woff2');font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'S7 Hand';src:url(../fonts/la-belle-aurore-latin-ext-400-normal.woff2) format('woff2');font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Instrument Serif';src:url(../fonts/instrument-serif-latin-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:'Instrument Serif';src:url(../fonts/instrument-serif-latin-ext-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Instrument Serif';src:url(../fonts/instrument-serif-latin-400-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:'Instrument Serif';src:url(../fonts/instrument-serif-latin-ext-400-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';src:url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');font-weight:400;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:'IBM Plex Mono';src:url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2');font-weight:400;font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';src:url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');font-weight:500;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:'IBM Plex Mono';src:url(../fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2');font-weight:500;font-display:swap;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF}

/* ───────── Tokens ───────── */
:root{
  --paper:#ffffff; --ink:#121211; --muted:#8d8b85; --hair:#e6e4df; --red:#750000;
  --g:max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --head-h:84px; --wpadmin:0px;
  --serif:'Instrument Serif','Times New Roman',serif;
  --mono:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  --hand:'S7 Hand','Bradley Hand','Segoe Print',cursive;
  color-scheme:light;
}
@media (min-width:900px){ :root{ --g:max(40px,4vw); --head-h:122px } }
.admin-bar{ --wpadmin:46px }
@media (min-width:783px){ .admin-bar{ --wpadmin:32px } }

*,*::before,*::after{box-sizing:border-box}
html{background:var(--paper);color:var(--ink);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
html.has-dialog{overflow:hidden}
body{margin:0;font-family:var(--mono);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;
  min-height:100vh;min-height:calc(100svh - var(--wpadmin));display:flex;flex-direction:column}
#main{flex:1 0 auto}
img{max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,p,ol,ul,figure{margin:0}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:var(--g);top:-60px;z-index:100;background:var(--ink);color:var(--paper);padding:8px 12px;font-size:12px;text-decoration:none}
.skip:focus{top:8px}
:focus-visible{outline:1.5px solid var(--ink);outline-offset:3px}

@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s}

/* ───────── Header ───────── */
.site-head{
  position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;
  height:calc(var(--head-h) + env(safe-area-inset-top));padding:env(safe-area-inset-top) var(--g) 0;background:var(--paper);
}
.brand-block{display:grid;gap:8px;min-width:0}
.brand{font-family:var(--serif);font-weight:400;font-size:clamp(27px,7.6vw,46px);line-height:.9;letter-spacing:-.018em}
@media (min-width:900px){ .brand{font-size:clamp(44px,4vw,64px)} .brand-block{gap:10px} }
.brand a{text-decoration:none}
.tag{font-size:9px;line-height:1.45;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
@media (min-width:900px){ .tag{font-size:10.5px;letter-spacing:.16em} }

/* About: three stripes, a plain link (not a menu). On hover the middle stripe draws in and the label slides in. */
.about-btn{position:relative;flex:none;display:grid;place-items:center;width:44px;height:44px;margin-right:-9px;color:var(--ink);text-decoration:none}
.about-bars{width:26px;height:16px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.5}
.about-bars .m{transform-box:fill-box;transform-origin:100% 50%;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.about-tip{position:absolute;right:calc(100% + 2px);top:50%;transform:translate(6px,-50%);opacity:0;font-size:9px;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;pointer-events:none;transition:opacity .25s,transform .25s cubic-bezier(.2,.7,.2,1)}
.about-btn:focus-visible{outline:none}
.about-btn:focus-visible .m{transform:scaleX(.55)}
.about-btn:focus-visible .about-tip{opacity:1;transform:translate(0,-50%)}
@media (hover:hover){
  .about-btn:hover .m{transform:scaleX(.55)}
  .about-btn:hover .about-tip{opacity:1;transform:translate(0,-50%)}
}
@media (min-width:900px){ .about-btn{margin-right:-7px} .about-bars{width:30px;height:18px} .about-tip{font-size:10px} }
/* Top right: About's label slides in to the left of the stripes. */
.head-tools{position:relative;flex:none;display:flex;align-items:center}
.head-tools .about-btn{position:static}
/* The pencil tool beside the menu: an eraser while the pencil is on, a grease pencil while it is off.
   Held, it leaves its place and follows the finger (the flying copy is .tool-ghost). */
.tool{appearance:none;background:none;border:0;padding:0;margin:0;flex:none;width:40px;height:44px;display:grid;place-items:center;
  color:var(--ink);cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.tool[hidden],html:not(.s7js) .tool{display:none}
.tool svg,.tool-ghost svg{overflow:visible;fill:none;stroke:currentColor;stroke-linejoin:round;stroke-linecap:round}
.tool svg{grid-area:1/1;width:22px;height:22px;stroke-width:1.3;transition:opacity .15s}
.tool .t-pen,.ink-off .tool .t-eraser{display:none}
.ink-off .tool .t-pen{display:block}
.t-rub{fill:var(--muted);fill-opacity:.38}
.t-lead{fill:currentColor}
.tool.is-out svg{opacity:0}
.tool:focus-visible{outline:none}
.tool:focus-visible svg{outline:1.5px solid var(--ink);outline-offset:4px;border-radius:2px}
@media (hover:hover){ .tool:hover svg{transform:rotate(-8deg);transition:transform .25s cubic-bezier(.2,.7,.2,1)} }
@media (min-width:900px){ .tool{width:44px} .tool svg{width:24px;height:24px} }
.tool-ghost{position:fixed;left:0;top:0;width:56px;height:56px;z-index:60;pointer-events:none;color:var(--ink);transform-origin:0 0;will-change:transform}
.tool-ghost svg{width:100%;height:100%;stroke-width:.75;display:block}
.tool-ghost .t-pen,.tool-ghost .t-eraser{display:block}
/* Rubbing out: the frame's pencil, copied onto one layer the finger erases. Drawing: a layer over the page, then
   the strokes stay on the photograph as that frame's own pencil. */
.erase-layer{position:absolute;z-index:3;pointer-events:none}
.frame.is-erasing .ink,.frame.is-erasing .note,.frame.is-erasing .ink-own{visibility:hidden}
.paint-layer{position:fixed;left:0;top:0;width:100%;height:100%;z-index:50;pointer-events:none}
.ink-own{position:absolute;pointer-events:none}
.frame.has-own .ink,.frame.has-own .note{display:none}
.ink-off .ink-own{visibility:hidden}
.ink-off .frame.is-painting .ink-own{visibility:visible}
.ink-fading :is(.ink,.note,.cell-note,.ink-own){opacity:0;transition:opacity .25s ease-out}

/* ───────── Reel (home hero, roll page, loupe) ───────── */
.hero{
  position:relative;overflow:hidden;
  height:calc(100svh - var(--head-h) - env(safe-area-inset-top) - var(--wpadmin));min-height:430px;
  display:grid;grid-template-rows:1fr auto;padding:0 var(--g) calc(env(safe-area-inset-bottom) + 14px);
}
.reel{
  position:relative;margin-inline:calc(var(--g) * -1);min-height:0;
  container-type:size;touch-action:pan-y;cursor:grab;outline:none;
  user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;
}
.reel.is-dragging{cursor:grabbing}
.kbd .reel:focus-visible{box-shadow:inset 0 0 0 1px var(--hair)}
.reel-noscript{position:absolute;inset:0;margin:auto;max-height:90%;width:auto}
.track{position:absolute;inset:0;opacity:0;transition:opacity .25s}
.is-ready .track{opacity:1}
.frame{position:absolute;left:50%;top:50%;translate:-50% -50%;width:max-content;visibility:hidden;pointer-events:none;margin:0}
/* The print, its grease strokes and the note always fit the reel exactly.
   --exl/--exr/--eyt/--eyb: how far the scribble reaches past the print, in print widths/heights. */
.plate{
  --m:12px; --nh:clamp(40px,7.5cqh,62px); --sh:0px;
  --w:min(
    calc((100cqw - 2 * var(--m)) / (1 + var(--exl) + var(--exr))),
    calc((100cqh - var(--nh) - var(--sh) - 2 * var(--m)) * var(--ar) / (1 + var(--eyt) + var(--eyb))),
    1100px);
  position:relative;width:var(--w);
  padding-top:calc(var(--w) / var(--ar) * var(--eyt));
  padding-bottom:calc(var(--w) / var(--ar) * var(--eyb) + var(--nh) + var(--sh));
  translate:calc(var(--w) * (var(--exl) - var(--exr)) / 2) 0;
}
.photo{position:relative;aspect-ratio:var(--ar);background:#f3f2ee}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none}

/* Grease pencil: four clipped copies of the strokes wiped on in stroke order, one per red mark */
.ink{position:absolute;pointer-events:none}
.ink i{position:absolute;inset:0;background:var(--src) 0 0/100% 100% no-repeat;clip-path:inset(0 100% 100% 0)}
.ink i.m{background-image:var(--red);clip-path:circle(0 at 50% 50%)}

.strip{position:absolute;left:0;right:0;bottom:var(--sh);height:var(--nh);display:flex;justify-content:space-between;align-items:center;gap:12px}
.strip.flip{flex-direction:row-reverse}
.edge{font-size:9px;letter-spacing:.2em;color:var(--muted);white-space:nowrap;display:inline-flex;align-items:center;gap:.6em}
.edge b{width:0;height:0;border-block:3.5px solid transparent;border-left:6px solid currentColor;opacity:.8}
.note,.cell-note{
  font-family:var(--hand);color:var(--red);white-space:nowrap;line-height:1.25;
  transform:rotate(var(--rot,-4deg));transform-origin:100% 60%;
  clip-path:inset(-50% 108% -50% -8%);
}
.note{font-size:clamp(16px,calc(var(--nh) * .44),28px)}
.strip.flip .note{transform-origin:0 60%}
/* Typed name: who is in the picture. Stays when the pencil is switched off. */
.meta-line{display:grid;gap:4px;min-width:0}
.strip.flip .meta-line{justify-items:end;text-align:right}
.name{font-family:var(--serif);font-size:clamp(15px,calc(var(--nh) * .34),21px);line-height:1.1;letter-spacing:-.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.strip.is-tight .name{white-space:normal;overflow:visible;line-height:1.05}
/* Films: a cover (or the first frame), a play button, then the player in the print's place. No grease pencil box. */
.photo .still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.play{position:absolute;inset:0;margin:auto;width:max-content;height:max-content;display:grid;justify-items:center;gap:10px;padding:10px;
  appearance:none;background:none;border:0;color:var(--ink);font:inherit;cursor:pointer;pointer-events:auto}
.play-disc{width:clamp(52px,13cqmin,74px);height:auto;display:block;filter:drop-shadow(0 2px 14px rgba(0,0,0,.18));transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.play-disc circle{fill:rgba(255,255,255,.94)}
.play-disc path{fill:var(--ink)}
.play-word{font-size:9px;line-height:1;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;background:var(--paper);padding:6px 9px 5px;border-radius:99px}
/* YouTube only: what pressing play does, before anything loads from YouTube */
.play-note{max-width:min(250px,78cqw);margin-top:-4px;font-size:10px;line-height:1.4;letter-spacing:.01em;text-align:center;color:var(--ink);background:var(--paper);padding:5px 10px 4px;border-radius:9px}
.play:focus-visible{outline:none}
.play:focus-visible .play-disc{transform:scale(1.07);outline:1.5px solid var(--ink);outline-offset:3px;border-radius:50%}
@media (hover:hover){ .play:hover .play-disc{transform:scale(1.07)} }
.photo.is-playing>img,.photo.is-playing .still,.photo.is-playing .play{visibility:hidden}
.player{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#000;pointer-events:auto}
/* Over a playing film, clear of its controls along the bottom: swipes move the reel, a tap pauses. */
.film-skin{position:absolute;left:0;right:0;top:0;bottom:min(54px,32%);z-index:1;pointer-events:auto;cursor:grab}
.reel.is-dragging .film-skin{cursor:grabbing}
.ink-off .ink,.ink-off .note,.ink-off .cell-note{visibility:hidden}

.reel-foot{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px}
/* Foot-left groups the counter with the circled "i" that opens a frame's notes. */
.foot-left{display:flex;align-items:center;gap:16px}
/* The trigger is a grease-pencil "note" in the theme's own hand, underlined by hand; the line draws on when hovered. */
.note-i{appearance:none;background:none;border:0;padding:0;cursor:pointer;flex:none;line-height:1;color:var(--red)}
.note-i[hidden]{display:none}
.note-word{position:relative;display:inline-block;font-family:var(--hand);font-size:clamp(18px,4.4vw,22px);line-height:1;color:var(--red);padding:0 3px 5px;transition:opacity .2s}
.note-ul{position:absolute;left:-2px;bottom:0;width:calc(100% + 6px);height:8px;overflow:visible}
.note-ul path{fill:none;stroke:var(--red);stroke-width:1.6;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:64;stroke-dashoffset:0}
@keyframes s7note-draw{from{stroke-dashoffset:64}to{stroke-dashoffset:0}}
@media (hover:hover){ .note-i:hover .note-ul path{animation:s7note-draw .5s cubic-bezier(.3,.1,.35,1)} }
.note-i:focus-visible{outline:none}
.note-i:focus-visible .note-ul path{animation:s7note-draw .5s cubic-bezier(.3,.1,.35,1)}
.note-i[aria-expanded="true"] .note-word{opacity:.5}

/* The notes sheet: a text card that rises from the foot, the image dimmed behind it. */
.note-sheet{position:absolute;inset:0;z-index:7;display:flex;align-items:flex-end;pointer-events:none}
.note-sheet[hidden]{display:none}
.note-sheet-scrim{position:absolute;inset:0;border:0;padding:0;background:color-mix(in srgb,var(--paper) 70%,transparent);opacity:0;transition:opacity .34s ease;pointer-events:auto;cursor:pointer}
.note-open .note-sheet-scrim{opacity:1}
.note-sheet-card{position:relative;width:100%;max-height:72%;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);border-top:1px solid var(--ink);
  padding:clamp(22px,4vw,40px) var(--g) calc(env(safe-area-inset-bottom) + clamp(22px,4vw,40px));
  transform:translateY(102%);transition:transform .42s cubic-bezier(.2,.7,.2,1);pointer-events:auto}
.note-open .note-sheet-card{transform:none}
.note-sheet-grip{display:block;width:40px;height:3px;border-radius:3px;background:var(--hair);margin:0 0 clamp(16px,3vw,26px)}
.note-eyebrow{font-family:var(--mono,ui-monospace,monospace);font-size:11px;letter-spacing:.22em;color:var(--muted);margin:0 0 10px}
.note-name{font-family:var(--serif);font-weight:400;font-size:clamp(24px,5vw,40px);line-height:1.04;letter-spacing:-.01em;margin:0 0 clamp(12px,2vw,18px);max-width:22ch}
.note-name[hidden]{display:none}
.note-body{font-family:var(--serif);font-size:clamp(16px,2.3vw,20px);line-height:1.58;letter-spacing:-.003em;color:var(--ink);max-width:54ch;white-space:pre-line}
@media (prefers-reduced-motion:reduce){ .note-sheet-card,.note-sheet-scrim{transition:none} }
.counter{display:flex;align-items:center;gap:10px}
.drum{
  display:flex;font-size:clamp(36px,11vw,58px);font-weight:500;line-height:1;height:1.5em;
  -webkit-mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);
          mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);
}
.wheel{position:relative;height:100%;perspective:3.6em}
.wheel.w2{width:1.32em}
.wheel.w1{width:.68em}
.cyl{position:absolute;left:0;right:0;top:calc(50% - .55em);height:1.1em;transform-style:preserve-3d;will-change:transform}
.cyl span{position:absolute;inset:0;display:grid;place-items:center;background:var(--paper);border-block:1px solid var(--hair);backface-visibility:hidden;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
/* "/ 10" keeps its place beside the drum: an empty second row where the switch used to be */
.meta{display:grid;grid-template-rows:auto 22px;gap:7px;justify-items:start}
.of{font-size:11px;letter-spacing:.16em;color:var(--muted)}
/* Expand: a small stack of prints, a quarter of the way in from the right and a little above the counter's
   midline; it is there as soon as the reel heads for a frame that holds a series. */
.expand{position:absolute;left:75%;top:50%;translate:-50% calc(-50% - 24px);
  appearance:none;background:none;border:0;color:var(--ink);font:inherit;font-size:9px;line-height:1;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;
  display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 6px;white-space:nowrap;
  visibility:hidden;opacity:0;transition:opacity .15s,visibility 0s .15s}
.expand.is-on{visibility:visible;opacity:1;transition:opacity .15s,visibility 0s}
.expand-stack{width:30px;height:24px;flex:none;overflow:visible;fill:var(--paper);stroke:currentColor;stroke-width:1.2;stroke-linejoin:round}
.expand-stack rect{transform-box:fill-box;transform-origin:0 100%;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.expand .p2,.expand .p3{transform:translate(-4px,4px)}
.expand .p3{transform:translate(-8px,7px)}
.expand.is-on .p2{transform:rotate(-2deg)}
.expand.is-on .p3{transform:rotate(-4deg);transition-delay:.05s}
.expand-word{border-bottom:1px solid currentColor;padding-bottom:2px}
.expand:focus-visible{outline:none}
.expand:focus-visible .expand-word{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.expand.is-loading{opacity:.45;cursor:progress}
@media (hover:hover){ .expand.is-on:hover .p2{transform:translate(1px,-1px) rotate(-3deg)} .expand.is-on:hover .p3{transform:translate(2px,-2px) rotate(-6deg)} }
@media (min-width:900px){ .expand{font-size:10px} .expand-stack{width:34px;height:27px} }
@media (max-height:500px) and (orientation:landscape){ .expand{translate:-50% -50%} }

/* ───────── Contact sheet ───────── */
.sheet{padding:clamp(40px,8vw,96px) var(--g) clamp(48px,8vw,110px)}
.sheet-head{position:relative;z-index:6;display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:clamp(22px,4vw,44px)}
.sheet-title{font-family:var(--serif);font-weight:400;font-size:clamp(40px,11vw,104px);line-height:.9;letter-spacing:-.02em}
.roll-no,.roll-meta{font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.roll+.roll{margin-top:clamp(44px,7vw,88px)}
/* A shared #roll-ID link lands with the Contact Sheet heading and Rolls list still in view, not scrolled past. */
.roll{scroll-margin-top:clamp(150px,26vh,300px)}
.roll-head{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:6px 16px;border-top:1px solid var(--ink);padding-top:10px;margin-bottom:clamp(16px,3vw,28px)}
.roll-title{font-family:var(--serif);font-weight:400;font-size:clamp(24px,6vw,40px);line-height:1;letter-spacing:-.01em}
.roll-title a{text-decoration:none}
.roll-title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
@media (max-width:599px){ .roll-head{grid-template-columns:1fr auto} .roll-title{grid-column:1/-1;grid-row:2} }
.sheet-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,34px) clamp(12px,2.4vw,28px)}
@media (min-width:640px){ .sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (min-width:960px){ .sheet-grid{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (min-width:1280px){ .sheet-grid{grid-template-columns:repeat(6,minmax(0,1fr))} }
.cell-btn{display:block;text-decoration:none;cursor:zoom-in;color:inherit}
.cell-box{position:relative;display:grid;place-items:center;aspect-ratio:4/5;container-type:size}
.cell-photo{
  --m:6px;
  --w:min(calc((100cqw - 2 * var(--m)) / (1 + var(--exl) + var(--exr))), calc((100cqh - 2 * var(--m)) * var(--ar) / (1 + var(--eyt) + var(--eyb))));
  position:relative;display:block;width:var(--w);aspect-ratio:var(--ar);background:#f3f2ee;
  translate:calc(var(--w) * (var(--exl) - var(--exr)) / 2) calc(var(--w) / var(--ar) * (var(--eyt) - var(--eyb)) / 2);
}
.cell-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:opacity .3s}
.cell-btn:hover .cell-photo img{opacity:.86}
.edge-row{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;min-width:0}
.cell-tag{font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink);white-space:nowrap}
/* A frame that holds a series: the same small stack of prints as Expand, beside its number */
.cell-set{display:inline-flex;align-items:center;line-height:0}
.stack-icon{width:19px;height:15px;overflow:visible;fill:var(--paper);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}
.stack-icon .p2{transform:rotate(-2deg);transform-box:fill-box;transform-origin:0 100%}
.stack-icon .p3{transform:rotate(-4deg);transform-box:fill-box;transform-origin:0 100%}
/* A film on the sheet: its still with a small play mark */
.cell-photo .still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cell-play{position:absolute;inset:0;margin:auto;width:clamp(28px,22cqw,40px);height:clamp(28px,22cqw,40px);pointer-events:none}
.cell-play svg{width:100%;height:100%;display:block;filter:drop-shadow(0 1px 8px rgba(0,0,0,.2))}
.cell-play circle{fill:rgba(255,255,255,.94)}
.cell-play path{fill:var(--ink)}

/* ───────── Rolls list (beside the contact sheet heading) ───────── */
.rf{position:relative;flex:none}
/* The editor's arrow: a short, thick stroke of the red grease pencil with one bend, hung over "Rolls" and aimed
   at the middle of the word, a little clear of it. Part of the pencil (the eraser takes it away); it draws itself
   in when the heading comes into view. Its tip sits at 86% / 83% of its own box. */
.rf-word{position:relative}
.rf-arrow{position:absolute;left:50%;bottom:100%;width:26px;height:21.6px;translate:calc(-86.1% - 6px) calc(16.7% - 7px);
  overflow:visible;pointer-events:none;fill:none;stroke:var(--red);stroke-width:4.4;stroke-linecap:round;stroke-linejoin:round;transition:opacity .15s}
.s7js .rf-arrow path{stroke-dasharray:1 2;stroke-dashoffset:1.05}
.s7js .rf-arrow.is-drawn .a1{stroke-dashoffset:0;transition:stroke-dashoffset .38s cubic-bezier(.4,.1,.35,1) .1s}
.s7js .rf-arrow.is-drawn .a2{stroke-dashoffset:0;transition:stroke-dashoffset .18s cubic-bezier(.3,.1,.5,1) .5s}
.rf.is-open .rf-arrow{opacity:0}
.ink-off .rf-arrow{visibility:hidden}
@media (min-width:900px){ .rf-arrow{width:32.4px;height:27px;translate:calc(-86.1% - 7.6px) calc(16.7% - 9px)} }
.rf[hidden]{display:none}
.rf-btn{appearance:none;background:none;border:0;color:var(--ink);font:inherit;font-size:9.5px;line-height:1;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;
  display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 0 0 10px;margin:-14px 0}
.rf-word{border-bottom:1px solid currentColor;padding-bottom:2px}
.rf-n{color:var(--muted)}
.rf-btn > svg{width:11px;height:8px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.rf.is-open .rf-btn > svg{transform:rotate(180deg)}
.rf-btn:focus-visible{outline:none}
.rf-btn:focus-visible .rf-word{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.rf-panel{position:absolute;right:0;top:calc(100% + 18px);width:min(360px,calc(100vw - 2 * var(--g)));max-height:min(64svh,520px);overflow:auto;overscroll-behavior:contain;
  background:var(--paper);border:1px solid var(--ink);box-shadow:0 18px 40px -18px rgba(0,0,0,.28);padding:6px 0 4px;animation:rf-in .22s cubic-bezier(.2,.7,.2,1)}
.rf-panel[hidden]{display:none}
/* Under the roll: the same list, centred, opening upwards over the roll it changes. */
.sheet-foot{position:relative;z-index:6;display:flex;justify-content:center;margin-top:clamp(36px,6vw,64px)}
.rf--foot .rf-panel{right:auto;left:50%;top:auto;bottom:calc(100% + 16px);translate:-50% 0;animation-name:rf-up}
@keyframes rf-up{from{opacity:0;transform:translateY(4px)}}
.rf--foot .rf-btn > svg{transform:rotate(180deg)}
.rf--foot.is-open .rf-btn > svg{transform:none}
@keyframes rf-in{from{opacity:0;transform:translateY(-4px)}}
.rf-search{display:block;padding:6px 14px 10px;border-bottom:1px solid var(--hair);position:sticky;top:-6px;background:var(--paper);z-index:1}
.rf-search input{width:100%;appearance:none;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:none;padding:8px 0 6px;font:inherit;font-size:16px;font-family:var(--serif);color:var(--ink);outline:none}
.rf-search input::placeholder{color:var(--muted)}
.rf-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.rf-list{list-style:none;padding:0;margin:0}
.rf-list li[hidden]{display:none}
.rf-item{appearance:none;background:none;border:0;width:100%;text-align:left;color:var(--ink);font:inherit;cursor:pointer;
  display:grid;grid-template-columns:40px 26px 1fr auto;align-items:center;gap:12px;padding:9px 14px}
.rf-list li+li .rf-item{border-top:1px solid var(--hair)}
.rf-thumb{width:40px;height:40px;background:#f3f2ee;overflow:hidden}
.rf-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.rf-no{font-size:10px;letter-spacing:.12em;color:var(--muted);justify-self:center;display:grid;place-items:center;width:26px;height:22px}
.rf-title{font-family:var(--serif);font-size:19px;line-height:1.1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-count{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
/* The roll on show: its number ringed in grease pencil */
.rf-item[aria-current] .rf-no{color:var(--red);border:1.5px solid var(--red);border-radius:52% 46% 55% 44% / 48% 56% 44% 52%;transform:rotate(-6deg)}
.rf-item:focus-visible{outline:none;background:#f6f5f1}
@media (hover:hover){ .rf-item:hover{background:#f6f5f1} }
.rf-none{padding:14px;font-size:11px;color:var(--muted)}
.rf-all{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 0;padding:12px 14px 10px;border-top:1px solid var(--ink);
  font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;text-decoration:none}
.rf-all svg{width:15px;height:10px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover){ .rf-all:hover svg{transform:translateX(3px)} }
@media (min-width:900px){ .rf-btn{font-size:10.5px} }
.cell-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 8px;min-height:30px;margin-top:4px}
.cell-meta{display:grid;gap:3px;min-width:0;flex:1 1 auto}
.cell-name{font-family:var(--serif);font-size:clamp(14px,3.8vw,17px);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cell-note{flex-basis:100%;text-align:right;font-size:clamp(12px,3.3vw,15px);margin-top:-2px}

/* ───────── Loupe ───────── */
.loupe{position:fixed;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;padding:0;border:0;background:var(--paper);color:var(--ink)}
.loupe::backdrop{background:var(--paper)}
.loupe-in{position:relative;height:100%;display:grid;grid-template-rows:auto 1fr auto;padding:calc(env(safe-area-inset-top) + 10px) var(--g) calc(env(safe-area-inset-bottom) + 14px)}
.loupe-head{position:relative;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px}
.loupe-label{flex:1;min-width:0;display:grid;gap:5px}
.loupe-kicker{font-size:9px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.loupe-kicker:empty{display:none}
.loupe-title{font-family:var(--serif);font-size:clamp(22px,6vw,34px);line-height:1.05;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.x{appearance:none;border:1px solid currentColor;border-radius:50%;background:var(--paper);color:var(--ink);width:44px;height:44px;position:relative;cursor:pointer;flex:none;padding:0;transition:background .2s,color .2s}
.x::before,.x::after{content:'';position:absolute;left:50%;top:50%;width:18px;height:1.5px;background:currentColor;border-radius:1px}
.x::before{transform:translate(-50%,-50%) rotate(45deg)}
.x::after{transform:translate(-50%,-50%) rotate(-45deg)}
.x:focus-visible{background:var(--ink);color:var(--paper);outline:none}
@media (hover:hover){ .x:hover{background:var(--ink);color:var(--paper)} }
.x[hidden]{display:none}
.x--back::before,.x--back::after{content:none}
.x--back svg{position:absolute;left:50%;top:50%;translate:-50% -50%;width:18px;height:11px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.loupe[open] .loupe-in{animation:loupe-in .32s cubic-bezier(.2,.7,.2,1)}
@keyframes loupe-in{from{opacity:0}}
/* A series opened from a page reel stays unseen until its images are ready, then cuts in on the same photograph
   (which never blinks); only the loupe's own lines fade in. */
.loupe.is-pending,.loupe.is-pending::backdrop{opacity:0}
.loupe.is-pending .loupe-in,.loupe.is-cut .loupe-in{animation:none}
.loupe.is-cut .loupe-head,.loupe.is-cut .reel-foot{animation:loupe-in .3s cubic-bezier(.2,.7,.2,1)}

/* ───────── Roll page ───────── */
.roll-intro{padding:clamp(36px,7vw,80px) var(--g) 0;display:grid;gap:12px;max-width:980px}
.roll-intro-title{font-family:var(--serif);font-weight:400;font-size:clamp(44px,12vw,112px);line-height:.88;letter-spacing:-.02em}
.roll-intro-text{font-family:var(--serif);font-size:clamp(19px,4.6vw,28px);line-height:1.25;max-width:34ch}
.roll-intro-text p{margin:0}
.hero--roll + .roll-intro + .sheet .sheet-title{font-size:clamp(30px,7vw,56px)}
.roll-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 var(--g) clamp(48px,8vw,96px)}
.roll-nav a{display:grid;gap:4px;text-decoration:none;border-top:1px solid var(--ink);padding-top:10px}
.roll-nav span{font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.roll-nav b{font-family:var(--serif);font-weight:400;font-size:clamp(20px,4.6vw,32px);line-height:1.05}
.roll-nav-next{grid-column:2;text-align:right}

/* ───────── Pages (About and the rest): one quiet column ───────── */
.page-main{max-width:820px;padding:clamp(36px,9vw,120px) var(--g) clamp(56px,9vw,120px);animation:page-in .5s ease both}
.page-main:has(> .back){padding-top:clamp(10px,3.5vw,56px)}
.back{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin:0 0 clamp(18px,4vw,44px);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;text-decoration:none}
.back svg{width:30px;height:10px;flex:none;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover){ .back:hover svg{transform:translateX(-5px)} }
@media (min-width:900px){ .back{font-size:10.5px} }
@keyframes page-in{from{opacity:0;transform:translateY(6px)}}
.page-kicker{font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.page-title{font-family:var(--serif);font-weight:400;font-size:clamp(48px,13vw,120px);line-height:.88;letter-spacing:-.02em;margin-bottom:clamp(28px,5vw,56px)}
.page-list-title{font-family:var(--serif);font-weight:400;font-size:clamp(26px,6vw,40px);margin:0 0 14px}
.page-list-title a{text-decoration:none}
.entry{font-family:var(--serif);font-size:clamp(20px,5vw,27px);line-height:1.32;letter-spacing:-.004em;max-width:32ch}
.entry>*+*{margin-top:.85em}
.entry h2,.entry h3,.entry h4{font-family:var(--mono);font-weight:500;font-size:9.5px;line-height:1.5;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-top:clamp(40px,7vw,64px)}
.entry h2+*,.entry h3+*,.entry h4+*{margin-top:12px}
.entry ul,.entry ol{list-style:none;padding:0}
.entry li+li{margin-top:.12em}
.entry a{text-decoration-thickness:1px;text-underline-offset:4px}
.entry img{display:block;height:auto}
.entry figure{margin-block:1.6em}
.entry figcaption{font-family:var(--mono);font-size:11px;color:var(--muted);margin-top:8px}

/* ───────── Contact (footer) ───────── */
.contact-title{font-family:var(--mono);font-weight:500;font-size:9.5px;line-height:1.5;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin:0 0 14px}
.contact-intro{font-family:var(--serif);font-size:clamp(19px,4.8vw,24px);line-height:1.28;margin:0 0 16px;max-width:30ch}
.contact-email{display:inline-block;font-family:var(--serif);font-size:clamp(28px,7.6vw,56px);line-height:1.05;letter-spacing:-.015em;text-decoration:none;word-break:break-word}
.contact-email:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.contact-email.is-empty{font-size:18px;color:var(--muted)}
.contact-rows{margin:22px 0 0;display:grid;gap:8px}
.contact-rows div{display:grid;grid-template-columns:92px 1fr;gap:12px;align-items:baseline}
.contact-rows dt{font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.contact-rows dd{margin:0;font-size:13px;line-height:1.55}
.contact-rows a{text-decoration:none;border-bottom:1px solid var(--hair)}
.contact-rows a:hover{border-color:currentColor}

/* ───────── Footer ───────── */
.site-foot{border-top:1px solid var(--ink);margin:0 var(--g);padding:clamp(28px,6vw,64px) 0 calc(env(safe-area-inset-bottom) + 24px)}
.foot-legal{margin-top:clamp(28px,5vw,48px);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;font-size:9px;letter-spacing:.06em;line-height:1.7;color:var(--muted)}
.foot-links{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot-links a{text-decoration:none;letter-spacing:.2em;text-transform:uppercase}
.foot-links a:hover{color:var(--ink)}

/* ───────── WordPress core classes ───────── */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.screen-reader-text:focus{clip-path:none;width:auto;height:auto;background:var(--paper);padding:8px 12px;z-index:100}
.alignleft{float:left;margin:.4em 1.6em 1em 0}
.alignright{float:right;margin:.4em 0 1em 1.6em}
.aligncenter{display:block;margin-inline:auto}
.wp-caption,.gallery-caption,.wp-caption-text{font-size:11px;color:var(--muted)}
.wp-caption{max-width:100%}
.sticky,.bypostauthor{position:relative}

/* ───────── Misc ───────── */
.empty{min-height:50svh;display:grid;place-content:center;text-align:center;gap:8px;padding:40px var(--g);color:var(--muted)}
.empty a{color:var(--ink)}
.nav-links{display:flex;gap:16px;margin-top:32px;font-size:11px}

@media (max-height:500px) and (orientation:landscape){
  :root{--head-h:66px}
  .brand{font-size:24px}
  .brand-block{gap:5px}
  .tag{font-size:8.5px}
  .drum{font-size:30px}
  .hero{min-height:300px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .page-main{animation:none}
  .about-bars .m,.about-tip,.back svg{transition:none}
  .loupe[open] .loupe-in,.loupe.is-cut .loupe-head,.loupe.is-cut .reel-foot{animation:none}
  .expand,.expand.is-on,.expand-stack rect,.rf-panel,.tool svg{transition:none;animation:none}
  .s7js .rf-arrow path{stroke-dashoffset:0;transition:none}
  @view-transition{navigation:none}
}
