/* Project pages. The homepage's system, carried over: paper and ink, Jost for reading, DM Mono for labels, Unbounded
   for the wordmark only, the six-level type scale, square corners, a heavy ink rule opening each section, and full-width
   bands of colour for a payoff. The pages lead with photos; the words come after. */
:root{
  --paper:#f1ece2; --paper-2:#e7e0d2; --ink:#151515; --ink-soft:#4b4843; --rule:#151515;
  --red:#d63a26; --ochre:#b17f28; --green:#3d8b4f; --pink:#c47163; --yellow:#f0b429; --blue:#1f4fa3;
  --fs-headline:clamp(1.75rem, 1rem + 2.1vw, 2.625rem);      /* 28 → 42 */
  --fs-statement:clamp(1.375rem, 1rem + 1.25vw, 2rem);       /* 22 → 32 */
  --fs-title:clamp(1.2rem, 1rem + .65vw, 1.5rem);            /* 19 → 24 */
  --fs-lede:clamp(1.1rem, .95rem + .45vw, 1.25rem);          /* 18 → 20 */
  --fs-body:clamp(1rem, .9rem + .3vw, 1.125rem);             /* 16 → 18 */
  --fs-small:.875rem;
  --maxw:1280px; --gutter:max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); --col-gap:24px;
  --sans:"Jost", "Futura", "Century Gothic", -apple-system, sans-serif;
  --mono:"DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (max-width:700px){ :root{--col-gap:16px;} }
*{box-sizing:border-box;}
html{background:var(--ink); scroll-behavior:smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%;}
/* Chrome on iPhone fills the strips beside the notch itself, with the page's background colour: the second paper there, the page itself kept on paper by a paper layer over the body. */
.crios, .crios body{background-color:var(--paper-2);}
.crios body{background-image:linear-gradient(var(--paper), var(--paper));}
body{margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans); font-size:var(--fs-body); line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
a{color:inherit;}
img{display:block; max-width:100%;}
h1, h2, h3, p, figure{margin:0;}
h1, h2, h3{font-weight:700; letter-spacing:-0.025em; line-height:1.02;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter);}
.label{font-family:var(--mono); font-size:.75rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase;}
.nw{white-space:nowrap;}
@media (max-width:700px){ .nw{white-space:normal;} }   /* phones: long phrases may wrap rather than overflow */
.ph{white-space:nowrap;}   /* a short phrase that holds together at every width, so phones break only between phrases */
.sr-only{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;}

/* Header: the homepage's, as it is there with no colour behind it: the menu on the left, the wordmark lockup in the
   middle (MA in outline, what I do in an ink panel; on phones, MA solid with the outlined strip under it), "Let's talk" on
   the right. Copied from index.html; keep the two in step. */
.s3-topbar{padding:clamp(14px, 2vw, 24px) max(clamp(16px, 2.5vw, 32px), env(safe-area-inset-right, 0px)) 0 max(clamp(16px, 2.5vw, 32px), env(safe-area-inset-left, 0px));}
/* ---------- Header: nav in the corners, name in the center ---------- */
.site-header{position:relative; z-index:5; background:var(--paper);}
main{background:linear-gradient(var(--paper-2), var(--paper) clamp(96px, 12vw, 180px)) top / 100% clamp(96px, 12vw, 180px) no-repeat;}   /* under the header, the second paper, quickly giving way to paper */
/* Wide (landscape), as on the homepage: the header split down the middle, paper on the left and the hero's first colour on the
   right, and JEFF MA across the split, the space between the words on it (the script sets --shift). */
@media (orientation:landscape){ .site-header{background:linear-gradient(90deg, var(--paper) 50%, #e6422a 50%);} }
.s3-wm{position:relative; left:var(--shift, 0px);}
.s3-wm.across .s3-b{color:var(--paper); -webkit-text-fill-color:var(--paper); text-shadow:none;}
.topbar{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:start; gap:24px;
  padding-top:clamp(20px, 3vw, 36px); padding-bottom:14px;
}
.s3-topbar.topbar{padding-top:clamp(14px, 2vw, 24px);}   /* the homepage's, so the header doesn't move between them */
.nav{display:flex; gap:28px; align-items:center; min-height:46px;}
.nav-right{justify-content:flex-end;}
.nav-role{margin:0; font-size:0.95rem; font-weight:500; white-space:nowrap;}   /* what I do, where the section links were */
.nav-left{position:relative; gap:16px;}
/* The menu button: three ink bars, square like everything else; they turn into an X when the menu is open. */
.menu-btn{flex:none; display:grid; place-content:center; gap:5px; width:46px; height:46px; padding:0; border:2px solid var(--ink); background:var(--paper); cursor:pointer;}
.menu-btn i{display:block; width:20px; height:2px; background:var(--ink); transition:transform .2s, opacity .2s;}
.menu-btn:hover{background:var(--ink);} .menu-btn:hover i{background:var(--paper);}
.menu-btn[aria-expanded="true"] i:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-btn[aria-expanded="true"] i:nth-child(2){opacity:0;}
.menu-btn[aria-expanded="true"] i:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.menu{position:absolute; top:calc(100% + 8px); left:0; z-index:20; display:flex; flex-direction:column; min-width:240px; padding:8px 0; background:var(--ink);}
.menu[hidden]{display:none;}
.menu a{padding:12px 20px; color:var(--paper); text-decoration:none; font-size:var(--fs-title); font-weight:700; line-height:1.15;}
.menu a:hover, .menu a:focus-visible{background:var(--red); outline:none;}
/* ---------- Contact overlay: paper, ink, square corners, the site's own type ---------- */
/* In the menu it's an action, not a place: a paper button like the header's, set apart under a rule. */
.menu .menu-talk{display:flex; align-items:center; gap:10px; margin:10px 20px 10px; padding:12px 18px; background:var(--paper); color:var(--ink); font-size:var(--fs-body); font-weight:500; position:relative;}
.menu .menu-talk::before{content:""; width:9px; height:9px; border-radius:50%; background:var(--yellow); flex:none;}
.menu .menu-talk::after{content:""; position:absolute; left:-20px; right:-20px; top:-11px; height:1px; background:color-mix(in srgb, var(--paper) 25%, transparent);}
.menu .menu-talk:hover, .menu .menu-talk:focus-visible{background:var(--yellow); color:var(--ink);}
.menu .menu-talk:hover::before, .menu .menu-talk:focus-visible::before{background:var(--ink);}
@media (max-width:520px){ .nav-role{white-space:normal; line-height:1.2; font-size:.85rem;} .nav-left{gap:10px;} }   /* phones: the role wraps beside the button */
.nav a{text-decoration:none; font-size:0.95rem; font-weight:500;}
.nav a.btn{font-size:1.05rem;}   /* the button keeps its own size, not the nav links' */
.nav a:not(.btn):hover{text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:2px;}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--ink); color:var(--paper); text-decoration:none;
  padding:12px 20px; font-weight:500; font-size:1.05rem; border:2px solid var(--ink); white-space:nowrap; flex:none;   /* the closing band's "Let's talk" size */
  transition:background .2s, color .2s;
}
.btn:hover{background:var(--yellow); color:var(--ink); border-color:var(--yellow);}   /* as the closing band's "Let's talk": yellow, its dot turning ink */
.btn:hover .dot{background:var(--ink);}
.btn:hover, .cta-big:hover, .menu .menu-talk:hover{text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px;}   /* the buttons' words underline on hover, as the nav links do */
.btn .dot{width:9px; height:9px; border-radius:50%; background:var(--yellow);}
.brand{text-align:center;}
/* The lockup: what I do, in a paper panel after MA. All in em of the wordmark, measured from Unbounded 800:
   the panel is the caps' height (0.75em), its left edge runs parallel to the A's right stroke (0.45 across per 1 down),
   and the ink bar that ends it is as wide as the M's stem (0.22em). */
.wm-panel{--h:.75em; display:inline-block; box-sizing:border-box; height:var(--h); overflow:hidden; vertical-align:baseline;   /* inline-block with overflow hidden: its bottom edge sits on MA's baseline */
  width:3.374em; margin-left:-.056em; padding:.0525em .11em .0475em 0; background:var(--paper);   /* clear of the A by 0.28em all the way down, a touch more than the A's right stroke */
  clip-path:polygon(0 0, 100% 0, 100% 100%, calc(.45 * var(--h)) 100%);
  font-family:"Unbounded", var(--sans); font-weight:700; font-size:1em; letter-spacing:0; text-transform:uppercase; color:var(--ink); -webkit-text-fill-color:var(--ink);}
/* Unbounded's E bows in on its left side; here it is redrawn plain, from the font's own measurements (stem 0.196em,
   arms 0.168/0.15/0.168em, same advance), as a picture behind the real, transparent letter, so the text still reads and copies. */
.ealt{display:inline-block; width:.7936em; height:.75em; overflow:hidden; vertical-align:baseline; letter-spacing:0; margin-right:var(--ls, 0);
  color:transparent; -webkit-text-fill-color:transparent; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 793.6 750'%3E%3Cg fill='%23151515'%3E%3Crect x='47' y='0' width='196' height='750'/%3E%3Crect x='47' y='0' width='692' height='168'/%3E%3Crect x='47' y='300' width='663' height='150'/%3E%3Crect x='47' y='582' width='697' height='168'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; font-weight:inherit; line-height:1;}
.wm-bar{display:inline-block; width:.1em; height:.75em; overflow:hidden; vertical-align:baseline; background:var(--ink);}   /* the bar that ends the panel: narrower than any stem (0.1em against the M's 0.22em), so it never reads as a letter of the name; outside the panel so it stays ink */
@media (max-width:639px){ .wm-bar{display:none;} }
/* Stacked, with no colour behind it, the lockup inverts: MA in outline, the panel in ink with paper type, the bar in outline. */
.s3-wm:not(.across) .s3-b{color:var(--paper); -webkit-text-fill-color:var(--paper); text-shadow:1.50px 0.00px 0 var(--ink), 1.39px 0.57px 0 var(--ink), 1.06px 1.06px 0 var(--ink), 0.57px 1.39px 0 var(--ink), 0.00px 1.50px 0 var(--ink), -0.57px 1.39px 0 var(--ink), -1.06px 1.06px 0 var(--ink), -1.39px 0.57px 0 var(--ink), -1.50px 0.00px 0 var(--ink), -1.39px -0.57px 0 var(--ink), -1.06px -1.06px 0 var(--ink), -0.57px -1.39px 0 var(--ink), -0.00px -1.50px 0 var(--ink), 0.57px -1.39px 0 var(--ink), 1.06px -1.06px 0 var(--ink), 1.39px -0.57px 0 var(--ink);}   /* outline drawn as a ring of shadows: a stroke would trace Unbounded's overlapping contours inside the letters */
.s3-wm:not(.across) .wm-panel{background:var(--ink); color:var(--paper); -webkit-text-fill-color:var(--paper);}
.s3-wm:not(.across) .wm-panel .ealt{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 793.6 750'%3E%3Cg fill='%23f1ece2'%3E%3Crect x='47' y='0' width='196' height='750'/%3E%3Crect x='47' y='0' width='692' height='168'/%3E%3Crect x='47' y='300' width='663' height='150'/%3E%3Crect x='47' y='582' width='697' height='168'/%3E%3C/g%3E%3C/svg%3E"); -webkit-text-fill-color:transparent;}
.s3-wm:not(.across) .wm-bar{background:none; box-shadow:inset 0 0 0 1.5px var(--ink);}
.wm-panel-in{display:flex; flex-direction:column; justify-content:space-between; align-items:flex-end; height:100%;}
.wm-panel-in span{display:block; font-size:.205em; line-height:.86; white-space:nowrap; letter-spacing:var(--ls); margin-right:calc(-1 * var(--ls));}   /* the trailing tracking is taken back, so the ink ends flush */
/* Each line tracked so it starts 0.16em in from the slanted edge, at its own height: the left edges follow the A's angle.
   The first line sits 0.03em further in: its round S, open at the top left, looks set out against the angle otherwise. */
.wm-panel-in span:nth-child(1){--ls:.0292em;}   /* "Strategy and story": re-tracked so its ink starts where "Story and message" did */
.wm-panel-in span:nth-child(2){--ls:.0199em;}
.wm-panel-in span:nth-child(3){--ls:.0229em;}
/* Phones, as on the homepage: the menu on the left and the lockup on the right of one row ("Let's talk" is in the menu).
   Under JEFF MA, the three lines of what I do in an outlined panel; the script sizes the wordmark to the panel and places it. */
@media (max-width:639px){
  .s3-topbar.topbar{grid-template-columns:auto minmax(0, 1fr); align-items:start; column-gap:16px;}
  .s3-topbar.topbar .nav-right{display:none;}
  .s3-topbar.topbar .brand{grid-column:2; grid-row:1; justify-self:end; text-align:right; padding-bottom:var(--ph, 0px);}
  .site-header .wm-services{display:none;}   /* the panel says it */
  .site-header .s3-wm{position:relative;}   /* the panel is placed from the wordmark */
  .site-header .wordmark .s3-wm{font-size:calc(((.45 + 1.0966) * 1.5px + 3.474 * 11px / .205) / 5.674);}   /* the size the script will set (the panel's width over JEFF MA's ink, 5.674em), so the header doesn't jump while the page loads */
  .site-header .s3-wm .wm-panel{--bar:.1em; --b:1.5px; --h:calc(.75em + 2 * var(--b)); position:absolute; left:var(--pl, 0px); top:calc(100% + var(--pg, 6px)); width:calc((.45 + 1.0966) * var(--b) + 3.474em); height:var(--h); margin:0;
    padding:calc(var(--b) + .0525em) calc(var(--bar) + .11em) calc(var(--b) + .0475em) 0; box-sizing:border-box; display:block; overflow:visible; font-size:calc(var(--pf, 11px) / .205); text-align:right;
    background:var(--ink); color:var(--ink); -webkit-text-fill-color:var(--ink); clip-path:polygon(0 0, 100% 0, 100% 100%, calc(.45 * var(--h, 40px)) 100%);}
  .site-header .s3-wm .wm-panel::before{content:""; position:absolute; inset:0 var(--bar) 0 0; background:var(--paper);   /* the paper inside the outline, a 1.5px rule square to the slant */
    clip-path:polygon(calc(1.547 * var(--b)) var(--b), 100% var(--b), 100% calc(100% - var(--b)), calc(.45 * var(--h, 40px) + .647 * var(--b)) calc(100% - var(--b)));}
  .site-header .s3-wm .wm-panel .ealt{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 793.6 750'%3E%3Cg fill='%23151515'%3E%3Crect x='47' y='0' width='196' height='750'/%3E%3Crect x='47' y='0' width='692' height='168'/%3E%3Crect x='47' y='300' width='663' height='150'/%3E%3Crect x='47' y='582' width='697' height='168'/%3E%3C/g%3E%3C/svg%3E"); -webkit-text-fill-color:transparent;}
  .site-header .wm-panel-in{position:relative;}
}
/* Under 1,060px the lockup and "Let's talk" can't both fit, so the button gives way (it's in the menu); the wordmark
   scales so the lockup (about 9.1em wide) fits between the side columns. */
@media (min-width:640px) and (max-width:1059px){ .topbar .nav-right .btn{display:none;} .topbar .wordmark .s3-wm{font-size:min(3.33rem, calc((50vw - 40px) / 5.92));} }   /* the homepage's: the lockup reaches 5.92em right of the middle */
/* Small: MA in solid ink, and what I do in a strip of its own under the name: one line, outlined in ink, its left edge and
   dividers at the A's angle (0.45 across per 1 down), closed by the same ink bar as the lockup. All in em of the strip's type. */
.wm-services{display:none;}
@media (max-width:639px){
  .wm-services{--h:1.4em; --b:max(1.25px, .09em); --bar:.4em; position:relative; display:flex; width:max-content; height:var(--h); box-sizing:border-box; margin:.6em auto 0; padding-right:var(--bar);
    background:var(--ink); clip-path:polygon(0 0, 100% 0, 100% 100%, calc(.45 * var(--h)) 100%);
    font:700 min(14px, calc((100vw - 32px) / 45.4))/1 "Unbounded", var(--sans); text-transform:uppercase; white-space:nowrap; color:var(--ink);}   /* as wide as the window allows, gutters kept */
  .wm-services::before{content:""; position:absolute; inset:0 var(--bar) 0 0; background:var(--paper);   /* the paper inside the outline: a rule all round (0.09em, as in the drawing, but never under 1.25px), measured square to the slanted edge */
    clip-path:polygon(calc(1.547 * var(--b)) var(--b), 100% var(--b), 100% calc(100% - var(--b)), calc(.45 * var(--h) + .647 * var(--b)) calc(100% - var(--b)));}
  .wm-services .sv{position:relative; display:block; padding:0 .45em 0 .5em; line-height:var(--h);}
  .wm-services .sv:first-child{padding-left:.85em;}   /* half the slant (0.315em) in from the corner, then the same 0.5em as after each divider */
  .wm-services .sv:last-child{padding-right:.5em;}
  .wm-services .sv + .sv::before{content:""; position:absolute; left:calc(-.5 * var(--b)); top:0; bottom:0; width:var(--b); background:var(--ink); transform:skewX(24.23deg);}   /* atan(0.45) */
}

/* Wordmark: JEFF MA, set in Unbounded. */
.wordmark{display:block; text-decoration:none; text-align:center;}
.wm{
  display:inline-block; font-family:"Unbounded", var(--sans); font-weight:800; line-height:1;
  font-size:clamp(2rem, 8.9vw, 3.33rem); letter-spacing:0.01em; white-space:nowrap;
}

@media (max-width:700px){
  .topbar{grid-template-columns:1fr 1fr; row-gap:18px;}
  .topbar .brand{grid-column:1 / -1; grid-row:2;}
  .nav{gap:20px;}
}


/* Section marks, as on the homepage: a heavy ink rule and a label just under it. */
.sec-mark{margin:0 0 clamp(28px, 4vw, 48px); padding-top:14px; border-top:6px solid var(--ink); font-family:var(--sans); font-weight:600; font-size:var(--fs-small); letter-spacing:.1em;}
section{padding-block:clamp(48px, 7vw, 96px) 0;}

/* Opening: what it is, the title, the one-line story (the homepage card's), then the main picture. */
.open{padding-top:clamp(32px, 5vw, 64px);}
.open h1{font-size:var(--fs-headline); max-width:20em; text-wrap:balance;}
.lede{margin-top:14px; max-width:34em; font-size:var(--fs-lede); line-height:1.45; color:var(--ink-soft); text-wrap:balance;}   /* balanced, free breaks: even lines */
.hero{margin-top:clamp(28px, 4vw, 48px); background:var(--paper-2);}
.hero img{width:100%; height:auto;}
/* No picture yet: a field of colour with the client's initials, until the photos come. */
.hero.mono{aspect-ratio:16 / 9; display:grid; place-items:center; font-weight:700; letter-spacing:-0.03em; font-size:clamp(4rem, 14vw, 9rem);}
.mono.on-ink{background:var(--ink); color:var(--paper);}
.mono.on-blue{background:var(--blue); color:var(--paper);}
.mono.on-paper{background:var(--paper-2); color:var(--ink);}

/* The photos, in rows of one, two or three. Pictures sharing a row are sized by their proportions (flex-grow is each one's
   width over its height), so they come out the same height and the row runs the full width. Phones: one to a row. */
.photos{display:flex; flex-direction:column; gap:var(--col-gap); padding-top:var(--col-gap); container-type:inline-size;}   /* a container, so the GIF's rule can be sized against the column (cqw) */
.prow{display:flex; gap:var(--col-gap); align-items:flex-start;}
.prow > figure{flex:var(--r) 1 0; min-width:0; position:relative;}
.photos figure > img, .photos figure > iframe{background:var(--paper-2);}
.photos img{width:100%; height:auto;}
.photos video{display:block; width:100%; height:auto; background:var(--paper-2);}
.photos .cutout > img{background:none;}
.photos .sheet > img{box-sizing:border-box; padding:clamp(12px, 2vw, 28px); background:#fff;}   /* a diagram as published: on white, with a margin of its own */   /* cutouts carry their own shape; the paper shows through */
.photos .framed{display:flex; justify-content:center; background:var(--ink);}   /* a low-resolution clip, kept small rather than stretched, its margins filled with the frame's ink so it sits in one band, */
.photos .framed img{width:auto; max-width:55%; box-sizing:border-box; border:calc((100cqw - 2 * var(--col-gap)) / 64) solid var(--ink);}   /* in an ink rule as heavy as the notebook photo's frame on screen: 60 of its 1,217px, the notebook a third of its three-across row (1.127 of 3.556) */
@media (max-width:600px){ .photos .framed img{width:100%; max-width:none; border-width:calc(100cqw * 60 / 1217);} }   /* stacked, the notebook takes the full column; and the clip does too, no wider than its own 480px here, so no margins to fill */
.photos .inset{padding-inline:calc(2 * ((100% - 11 * var(--col-gap)) / 12 + var(--col-gap)));}   /* a row set in from each side by two columns of the 12 */
@media (max-width:600px){ .photos .inset{padding-inline:0;} }   /* phones: full width */
.photos .rule{width:100%; margin:var(--col-gap) 0; border:0; border-top:1px solid color-mix(in srgb, var(--rule) 25%, transparent);}   /* the hairline the More work list uses, with a gap's extra room each side */
.photos .flush{margin-top:calc(-1 * var(--col-gap));}   /* a row that reads on from the one above, with no gap between them */
.photos .video .frame{position:relative; aspect-ratio:16 / 9; background:var(--ink); overflow:hidden;}
.photos .video iframe{position:absolute; inset:-2px; width:calc(100% + 4px); height:calc(100% + 4px); border:0;}   /* a touch larger than its frame, cropped: the player's sliver of black, where the frame's 16:9 doesn't land on whole pixels, falls outside */
/* The films' own player: the film on ink, and under a scrim along its foot a bar of square controls in the site's type —
   play, a scrubber, the time, sound and full screen. It shows while paused, on hover or focus, and for a moment after a tap. */
.player .frame{position:relative; aspect-ratio:16 / 9; background:var(--ink); overflow:hidden;}
.player video{position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover; cursor:pointer;}
.player:fullscreen .frame{aspect-ratio:auto; height:100%;} .player:fullscreen video{object-fit:contain;}
.pl-bar{position:absolute; left:0; right:0; bottom:0; display:flex; align-items:center; gap:clamp(8px, 1.2vw, 16px); padding:clamp(28px, 4vw, 48px) clamp(10px, 1.6vw, 20px) clamp(10px, 1.4vw, 18px);
  background:linear-gradient(transparent, rgba(21, 21, 21, .72)); color:var(--paper); opacity:0; transition:opacity .3s;}
.player.is-paused .pl-bar, .player:hover .pl-bar, .player:focus-within .pl-bar, .player.is-awake .pl-bar{opacity:1;}
.pl-btn{flex:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; height:36px; min-width:36px; padding:0 10px; border:1.5px solid var(--paper); background:transparent; color:var(--paper); font:500 .75rem/1 var(--mono); letter-spacing:.08em; text-transform:uppercase; cursor:pointer;}
.pl-btn:hover, .pl-btn:focus-visible{background:var(--paper); color:var(--ink);}
.pl-btn svg{width:14px; height:14px; fill:currentColor; flex:none;}
.pl-play{padding:0;}
.pl-sound.is-muted{background:var(--paper); color:var(--ink);}   /* muted, the sound button is the one that asks to be pressed */
.pl-sound.is-muted:hover, .pl-sound.is-muted:focus-visible{background:var(--yellow); border-color:var(--yellow);}
.pl-time{flex:none; font:500 .75rem/1 var(--mono); letter-spacing:.08em; font-variant-numeric:tabular-nums; white-space:nowrap;}
.pl-seek{flex:1 1 auto; min-width:40px; height:36px; margin:0; background:transparent; -webkit-appearance:none; appearance:none; cursor:pointer; --p:0%;}
.pl-seek::-webkit-slider-runnable-track{height:3px; background:linear-gradient(90deg, var(--paper) var(--p), rgba(241, 236, 226, .35) var(--p));}
.pl-seek::-moz-range-track{height:3px; background:linear-gradient(90deg, var(--paper) var(--p), rgba(241, 236, 226, .35) var(--p));}
.pl-seek::-webkit-slider-thumb{-webkit-appearance:none; width:12px; height:12px; margin-top:-4.5px; border:0; border-radius:0; background:var(--paper);}
.pl-seek::-moz-range-thumb{width:12px; height:12px; border:0; border-radius:0; background:var(--paper);}
.pl-seek:focus-visible{outline:2px solid var(--yellow); outline-offset:2px;}
@media (max-width:600px){ .pl-time{display:none;} .pl-sound span{display:none;} .pl-sound{padding:0;} }   /* phones: play, scrubber, sound and full screen */
.photos figcaption{margin-top:10px; color:var(--ink-soft);}
.photos figcaption .nw{white-space:nowrap;}   /* captions are short: their phrases stay whole on phones too, so lines break only between them */
/* To redo: a picture that still has the old rounded corners, marked so it isn't mistaken for finished. */
.redo::after{content:"To redo · square corners"; position:absolute; left:50%; top:50%; transform:translate(-50%, -50%) rotate(-8deg); padding:.4em .9em; background:var(--red); color:var(--paper); font-family:var(--mono); font-size:clamp(.8rem, .6rem + 1vw, 1.3rem); font-weight:500; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; pointer-events:none;}
.redo > img{opacity:.55;}
@media (max-width:600px){ .prow{flex-direction:column;} .prow > figure{flex:none; width:100%;} }

/* About: the label on the left, the account in a readable measure beside it, on the 12-column grid. */
.about{display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); column-gap:var(--col-gap); row-gap:20px;}
.about .sec-mark{grid-column:1 / -1; margin-bottom:0;}
.about-copy{grid-column:1 / span 7; font-size:var(--fs-lede); line-height:1.55; text-wrap:pretty;}
.about-copy p + p{margin-top:1em;}
/* The films page: each film first, then its title over the account and facts. */
.film-video{margin-bottom:clamp(28px, 4vw, 48px);}
.facts .hang{text-indent:-.475em;}   /* the opening quote hangs (its width in Jost), so the words line up with the facts above and below */
.film-video .rule{margin:0 0 clamp(28px, 4vw, 48px);}   /* between the two films: the same space under it as between a film and its title */
.film-title{grid-column:1 / -1; font-size:clamp(1.75rem, 3.2vw, 2.75rem);}
.film-about + .photos{margin-top:clamp(48px, 7vw, 96px);}
.facts{grid-column:9 / -1; margin:0; display:flex; flex-direction:column; gap:18px;}
.facts dt{margin-bottom:4px; color:var(--ink-soft);}
.facts dd{margin:0; line-height:1.45;}
.links{display:flex; flex-direction:column; gap:8px; margin:0; padding:0; list-style:none;}
.links a{text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px;}
.links a:hover{text-decoration-thickness:2px;}
@media (max-width:900px){ .about-copy, .facts{grid-column:1 / -1;} }

/* What changed: the outcome, knocked out of a band of colour, as the homepage's payoffs are. */
.payoff{margin-top:clamp(48px, 7vw, 96px); background:var(--payoff, var(--green)); color:var(--paper); padding:clamp(72px, 10vw, 144px) var(--gutter); text-align:center;}
.payoff .label{opacity:.85;}
.payoff p.big{max-width:24em; margin:18px auto 0; font-size:min(var(--fs-headline), calc((100vw - 32px) / 13.6)); font-weight:700; line-height:1.2; text-wrap:balance;}
@media (min-width:601px){ .payoff .grp{white-space:nowrap;} }   /* wider screens: a name or noun phrase split into phone-sized phrases holds together again */
.payoff .gains{list-style:none; margin:28px auto 0; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px;}
.payoff .gains li{padding:.02em .5em .06em; background:var(--paper); color:var(--payoff, var(--green)); font-weight:500;}   /* small madlib boxes: a set, showing the range */

/* More work: the other projects, a thumbnail and the title on each ruled line. */
/* More work: all four projects as cards, two by two: the picture at 3:2, the title, and what kind of work it is. The page
   you're on stays in its place in the set, marked and not a link: its picture under an ink veil that says so. Phones: one
   to a row, the picture beside the words. */
.more-list{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:clamp(28px, 3.5vw, 40px) var(--col-gap); margin:0; padding:0; list-style:none;}
.more-list a, .more-list .is-current > div{display:block; text-decoration:none;}
.mp-thumb{position:relative; display:block; width:100%; aspect-ratio:3 / 2; overflow:hidden; background:var(--paper-2);}
.mp-thumb img{width:100%; height:100%; object-fit:cover;}
.mp-thumb.mono{display:grid; place-items:center; font-weight:700; font-size:.85rem;}
.mp-title{display:block; margin-top:16px; font-size:var(--fs-title); font-weight:700; letter-spacing:-0.01em; line-height:1.15; text-wrap:balance;}
.mp-cat{display:block; margin-top:8px; color:var(--ink-soft);}
.more-list a:hover .mp-title, .more-list a:focus-visible .mp-title{text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:2px;}
.mp-now{position:absolute; inset:0; display:grid; place-items:center; padding:8px; background:rgba(21, 21, 21, .62); color:var(--paper); text-align:center;}
@media (max-width:640px){
  .more-list{grid-template-columns:minmax(0, 1fr); gap:20px;}
  .more-list a, .more-list .is-current > div{display:grid; grid-template-columns:clamp(88px, 26vw, 140px) minmax(0, 1fr); column-gap:16px; align-items:center;}
  .mp-thumb{grid-row:1 / span 2;} .mp-title{margin-top:0; align-self:end;} .mp-cat{align-self:start; margin-top:6px;}
  .mp-now{font-size:.625rem;}
}

/* The closing band: the homepage's last band, streamlined to one line. Its madlib asks about this page's subject, beside
   the same yellow "Let's talk", in the homepage's closing blue; the footer follows straight on. */
.end-band{margin-top:clamp(64px, 9vw, 128px); background:var(--blue); color:var(--paper); padding-block:clamp(48px, 6vw, 80px);}
.end-band .wrap{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:20px 40px;}
.end-ask{margin:0; font-size:clamp(1.6rem, 3.4vw, 2.5rem); font-weight:700; line-height:1.3; letter-spacing:-0.01em; text-align:center;}
.end-ask .box{display:inline-block; background:var(--paper); color:var(--blue); padding:.02em .14em .06em; white-space:nowrap;}
.end-ask .hang{display:inline-block; width:0;}   /* the full stop takes no room, so the line centres on its words and the stop hangs */
.end-cta{display:inline-flex; align-items:center; gap:12px; padding:14px 24px; border:2px solid var(--yellow); background:var(--yellow); color:var(--ink); font-size:1.05rem; font-weight:500; line-height:1.2; text-decoration:none; white-space:nowrap; transition:background .2s, color .2s;}
.end-cta .dot{width:9px; height:9px; border-radius:50%; background:var(--ink); flex:none;}
.end-cta:hover, .end-cta:focus-visible{background:var(--ink); border-color:var(--ink); color:var(--paper); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px;}
.end-cta:hover .dot, .end-cta:focus-visible .dot{background:var(--yellow);}
body:has(.end-band) footer{margin-top:0;}
/* The not-found page: the homepage's yellow button, and the work beside it as a plain link. */
.nf-links{margin:clamp(28px, 4vw, 40px) 0 0; display:flex; flex-wrap:wrap; align-items:center; gap:16px 28px;}
.nf-work{font-weight:500; text-underline-offset:4px;}
body:has(.nf-links){min-height:100svh; display:flex; flex-direction:column;} body:has(.nf-links) main{flex:1;}   /* a short page: the footer still sits at the foot of the screen */
footer{margin-top:clamp(64px, 9vw, 128px); padding:32px 0 40px; font-size:var(--fs-small);}
footer .wrap{display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:12px;}
.foot-name{display:inline-flex; align-items:center; gap:12px;}
.foot-name .wm{font-size:1.3rem; text-decoration:none;}   /* a link home, set as the wordmark: no underline */
.foot-in{display:block; width:22px; height:22px; color:var(--ink);}
.foot-in svg{display:block; width:100%; height:100%; fill:currentColor;}
.foot-in:hover{color:var(--blue);}

/* The floating "Let's talk": the header's button, kept in reach once the header has gone. Ink, so it stands out on paper and on
   every colour band, inside a paper rule so it still shows over the ink bands, with a soft shadow off photos and film.
   It comes in once the top of the page (the homepage's hero, or a page's header) has scrolled away, and steps aside
   while the closing band's own "Let's talk", or the footer, is in view. */
.fab{position:fixed; z-index:20; right:max(16px, env(safe-area-inset-right, 0px)); bottom:max(20px, env(safe-area-inset-bottom, 0px));
  display:inline-flex; align-items:center; gap:10px; padding:12px 20px; border:2px solid var(--paper); background:var(--ink); color:var(--paper);
  font-family:var(--sans); font-size:1.05rem; font-weight:500; line-height:1.2; text-decoration:none; white-space:nowrap; box-shadow:0 6px 20px rgba(21, 21, 21, .22);
  opacity:0; transform:translateY(12px); visibility:hidden; pointer-events:none; transition:opacity .25s, transform .25s, visibility 0s .25s, background .2s, color .2s, border-color .2s;}
.fab.is-on{opacity:1; transform:none; visibility:visible; pointer-events:auto; transition:opacity .25s, transform .25s, visibility 0s, background .2s, color .2s, border-color .2s;}
.fab .dot{width:9px; height:9px; border-radius:50%; background:var(--yellow); flex:none;}
.fab:hover, .fab:focus-visible{background:var(--yellow); border-color:var(--ink); color:var(--ink); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px;}   /* as the header's button: yellow, its dot turning ink */
.fab:hover .dot, .fab:focus-visible .dot{background:var(--ink);}
@media (prefers-reduced-motion:reduce){ .fab, .fab.is-on{transform:none;} }
