/* ==========================================================
   Sabrina Qranfal - professional version (pro*.html)
   Bold editorial zine: color-blocked sections, heavy squat headlines,
   cut-out paper collage, highlighter bars, vertical labels.
   Body copy stays clean and easy to read.
   ========================================================== */

:root {
  --red: #b8432f;
  --red-deep: #8f2f20;
  --blue: #2493b3;
  --blue-deep: #146a82;
  --mustard: #e6ae37;
  --cream: #f2e8d6;
  --paper: #fbf6ec;
  --ink: #1b1916;
  --ink-2: #3d3832;
  --muted: #6e665c;
  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --label: "Archivo", "Arial Narrow", sans-serif;
  --sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 36px;
  /* a case study carries pictures beside its text, so it is given more room
     than a page of running prose wants */
  --wrap-wide: 1500px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--mustard); color: var(--ink); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }

.pro-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
/* A case study is pictures beside words the whole way down, so it is given the
   wider measure: the cover, every step and the next-project card all line up
   on the same edges, and the rail follows because it reads --wrap too. */
body.cs-body { --wrap: var(--wrap-wide); }

/* ---------------- color-blocked sections ---------------- */

.zs { position: relative; padding: 96px 0; overflow: hidden; }
.bg-blue    { background: var(--blue);    color: var(--ink); }
.bg-red     { background: var(--red);     color: var(--cream); }
.bg-mustard { background: var(--mustard); color: var(--ink); }
.bg-cream   { background: var(--cream);   color: var(--ink); }
.bg-ink     { background: var(--ink);     color: var(--cream); }

/* ---------------- type ---------------- */

.mega {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 9.6rem);
  line-height: .86;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
  overflow-wrap: anywhere;
}
.big { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: -.005em; margin: 0; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.t-red { color: var(--red); }
.t-blue { color: var(--blue); }
.t-mustard { color: var(--mustard); }
.t-cream { color: var(--cream); }
.t-ink { color: var(--ink); }

/* highlighter bars: solid blocks behind labels and key phrases */
.hl {
  display: inline;
  padding: .12em .5em;
  font-family: var(--label);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl.red { background: var(--red); color: var(--cream); }
.hl.blue { background: var(--blue); color: var(--ink); }
.hl.mustard { background: var(--mustard); color: var(--ink); }
.hl.cream { background: var(--cream); color: var(--ink); }
mark.hl-text { background: var(--mustard); color: var(--ink); padding: .05em .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* vertical labels running up the edge of a section */
.vlabel {
  position: absolute;
  top: 96px;
  right: 14px;
  writing-mode: vertical-rl;
  font-family: var(--label);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .85;
  pointer-events: none;
}
.vlabel.left { right: auto; left: 14px; transform: rotate(180deg); }

/* a block of readable copy on paper, so it stays easy to read on any color */
.paper-block {
  background: var(--paper);
  color: var(--ink);
  padding: 26px 28px;
  box-shadow: 8px 8px 0 rgba(27, 25, 22, .9);
}
.paper-block p { margin: 0 0 14px; }
.paper-block p:last-child { margin-bottom: 0; }

/* cut-out paper pieces: each image is a slightly tilted print with a hard shadow */
.cutout {
  display: block;
  background: var(--paper);
  padding: 12px;
  box-shadow: 9px 10px 0 rgba(27, 25, 22, .85);
  transform: rotate(var(--r, -1.5deg));
}
.cutout img { width: 100%; }

/* hover on a project: a solid color wash over the picture with a big label.
   Each project sets --acc (wash color) and --acc-ink (label color). */
.wash-box { position: relative; display: block; }
.wash {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  background: var(--acc, var(--red));
  color: var(--acc-ink, var(--cream));
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.wash span { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1; transform: translateY(10px); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.ztile .wash span { font-size: 1.1rem; }
/* A tile says what the piece is, rather than only "See all". The line about it
   is the point of hovering; the prompt underneath is a small footnote. */
.ztile .wash { align-content: center; gap: 12px; place-items: center; }
.ztile .wash .wash-line {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: none;
  font-size: clamp(.9rem, 1.5vw, 1.02rem);
  line-height: 1.45;
  max-width: 32ch;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6;
  overflow: hidden;
}
.ztile .wash .wash-go {
  font-family: var(--label);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .82;
}
@media (max-width: 620px) { .ztile .wash .wash-line { -webkit-line-clamp: 4; font-size: .86rem; } }
.spread-art:focus-visible .wash, .ztile:focus-visible .wash { opacity: .93; }
.spread-art:focus-visible .wash span, .ztile:focus-visible .wash span { transform: none; }
@media (hover: hover) {
  .spread:hover .wash, .ztile:hover .wash { opacity: .93; }
  .spread:hover .wash span, .ztile:hover .wash span { transform: none; }
  .spread:hover h3 { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 5px; text-underline-offset: 8px; }
  .ztile:hover .ztile-title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
  .ztile:hover .zcount { opacity: 0; }
}

.body-copy { font-size: 1.06rem; line-height: 1.75; max-width: 62ch; }

/* ---------------- buttons + links ---------------- */

.zbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: var(--label);
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--red);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.zbtn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--red); }
.zbtn.light { color: var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); }
.zbtn.light:hover { box-shadow: 3px 3px 0 var(--ink); }
.zbtn:disabled { opacity: .55; cursor: default; }
.zactions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------- header + footer ---------------- */

.pro-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  flex-wrap: wrap;
  padding: 14px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.pro-mark { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.pro-header nav { display: flex; gap: 6px; flex-wrap: wrap; }
.pro-header nav a {
  font-family: var(--label);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 10px;
  transition: background .12s, color .12s;
}
.pro-header nav a:hover { background: var(--mustard); }
.pro-header nav a[aria-current="page"] { background: var(--red); color: var(--cream); }

.pro-footer { padding: 90px 0 36px; }
.pro-footer .mega { color: var(--mustard); margin-bottom: 40px; }
.pro-footer.compact { padding-top: 40px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; flex-wrap: wrap; padding-top: 22px; border-top: 2px solid rgba(242, 232, 214, .25); }
.foot-row p { margin: 0; font-family: var(--label); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.foot-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-row nav a { font-family: var(--label); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.foot-row nav a:hover { color: var(--mustard); }
.foot-alt { margin: 18px 0 0; font-size: .9rem; opacity: .75; }
.foot-alt a { color: var(--mustard); }

/* ---------------- home: hero ---------------- */

/* collage bits used in the hero: masking tape and marker doodles */
.tape { position: absolute; z-index: 3; top: -13px; left: 50%; width: 84px; height: 24px; background: rgba(251, 246, 236, .72); transform: translateX(-50%) rotate(-5deg); pointer-events: none; }
.mark { position: absolute; z-index: 4; pointer-events: none; overflow: visible; fill: none; stroke: var(--mustard); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.mark.cream { stroke: var(--cream); }

/* the name printed slightly off register, over a mustard and a red band */
.misreg { color: var(--cream); text-shadow: .045em .04em 0 var(--red), -.028em -.03em 0 var(--mustard); }
.hero { padding: 60px 0 100px; overflow: hidden; }
.hero-chips { margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips .hl { font-size: .74rem; }
.hero-name { margin: 0; position: relative; z-index: 2; font-size: clamp(3.2rem, 12.5vw, 11rem); line-height: .9; }
.hero-name span { position: relative; display: block; width: fit-content; padding-right: .16em; }
.hero-name span::before { content: ""; position: absolute; z-index: -1; left: -100vw; right: -.3em; top: 22%; bottom: 8%; background: var(--mustard); }
.hero-name span:nth-child(2) { margin-left: .5em; }
.hero-name span:nth-child(2)::before { background: var(--red); right: -1.4em; top: 30%; }

/* statement and buttons, with the photo pinned beside them */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 70px; align-items: start; margin-top: 48px; }
.hero-copy .paper-block { max-width: 620px; transform: rotate(-1deg); font-size: 1.12rem; line-height: 1.6; }
.hero-copy .zactions { margin-top: 30px; }
.hero-me { position: relative; width: 340px; margin-right: 40px; }
.hero-portrait { position: relative; transform: rotate(3deg); }
.hero-portrait.photo { background: var(--paper); padding: 9px 9px 30px; box-shadow: 8px 8px 0 rgba(27, 25, 22, .85); }
.hero-portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.hero-me .mark { left: -110px; top: -10px; width: 90px; height: 60px; }

/* ---------------- home: project spreads ---------------- */

.sec-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 64px; }
.sec-title p { margin: 0; max-width: 40ch; font-size: 1.02rem; }
.spread { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 50px 60px; align-items: center; position: relative; }
.spread + .spread { margin-top: 110px; }
.spread:nth-of-type(even) .spread-art { order: 2; }
.spread-art { position: relative; display: block; text-decoration: none; }
.spread.acc-mustard { --acc-ink: var(--ink); }
.spread-art .cutout { --r: -2deg; }
.spread:nth-of-type(even) .spread-art .cutout { --r: 2deg; }
.spread-art .cutout img { display: block; height: auto; }   /* the picture's own shape, never cropped to a frame */
.spread-num {
  position: absolute;
  z-index: 2;
  top: -34px;
  left: -14px;
  font-family: var(--display);
  font-size: clamp(3.6rem, 7vw, 6rem);
  line-height: 1;
  color: var(--acc, var(--red));
  -webkit-text-stroke: 3px var(--ink);
  pointer-events: none;
}
.spread:nth-of-type(even) .spread-num { left: auto; right: -14px; }
.spread h3 { margin: 16px 0 16px; color: var(--acc, var(--red)); }
.spread .body-copy { margin: 0 0 18px; }
.ztags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.ztags li { font-family: var(--label); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border: 2px solid currentColor; }

/* research: two spreads side by side on red */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.duo .card { display: block; text-decoration: none; color: var(--cream); }
/* These two are presentation slides, far wider than 4:3. Forcing them into a
   fixed frame and filling it cut a third off each one, and letterboxing them
   instead would leave a band of white inside the card. So the frame takes the
   slide's own shape: nothing cropped, nothing padded out. */
.duo .cutout img { display: block; height: auto; }
.duo .card:nth-child(1) .cutout { --r: -1.6deg; }
.duo .card:nth-child(2) .cutout { --r: 1.8deg; }
/* the research cards answer hover the same way the project spreads do, in blue
   so they read as their own kind of work */
.duo .card { --acc: var(--blue); --acc-ink: var(--cream); }
@media (hover: hover) {
  .duo .card:hover .wash { opacity: .93; }
  .duo .card:hover .wash span { transform: none; }
}
.duo .card:focus-visible .wash { opacity: .93; }
.duo .card:focus-visible .wash span { transform: none; }
.duo h3 { margin: 30px 0 12px; color: var(--mustard); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.duo p { margin: 0 0 18px; max-width: 46ch; }
.duo .card:hover h3 { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }

/* ---------------- home: more work ---------------- */

/* each group is a folder: a tab on top of a colored panel */
.zfolder { --panel: var(--cream); --panel-ink: var(--ink); --w1: var(--red); --w2: var(--blue); --w3: var(--ink); }
.zfolder.panel-blue { --panel: var(--blue); --panel-ink: var(--cream); --w1: var(--red); --w2: var(--ink); --w3: var(--mustard); }
.zfolder.panel-red { --panel: var(--red); --panel-ink: var(--cream); --w1: var(--blue); --w2: var(--ink); --w3: var(--mustard); }
.zfolder + .zfolder { margin-top: 70px; }
.zfolder-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 -3px;
  padding: 14px 24px 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--panel-ink);
  background: var(--panel);
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.zfolder-num { font-size: .6em; opacity: .7; }
.zfolder-tab small { font-family: var(--label); font-weight: 800; font-size: .72rem; letter-spacing: .12em; opacity: .8; }
.zfolder-panel { padding: 34px 32px 40px; color: var(--panel-ink); background: var(--panel); border: 3px solid var(--ink); border-radius: 0 12px 12px 12px; box-shadow: 10px 10px 0 var(--ink); }
.zfolder-intro { margin: 0 0 32px; max-width: 60ch; font-size: 1.02rem; }
.zsub + .zsub { margin-top: 44px; }
.zsub-label { margin: 0 0 22px; font-family: var(--label); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.zsub-label .hl { font-size: .86rem; margin-right: 6px; }
.zfolder:not(.open) .extra { display: none; }
/* let a held-back piece through when it is needed to finish the bottom row */
.zfolder:not(.open) .extra.fill { display: list-item; }
.zmore { margin-top: 38px; }
.panel-cream .zmore { box-shadow: 5px 5px 0 var(--red); }

/* the mosaic: big pieces take a 2x2 block, wide ones two columns */
/* columns, not a grid of cells: now that each tile is the shape of its own
   picture, a grid of mixed shapes left holes wherever nothing happened to fit.
   Columns pack top to bottom and leave none. */
/* --cols is set per folder by fitColumns(), so a folder of three pieces makes
   three columns rather than three plus an empty one */
.ztiles { list-style: none; margin: 0; padding: 0; columns: 230px var(--cols, 4); column-gap: 26px; }
.ztiles li { margin: 0 0 36px; break-inside: avoid; }
.ztile { display: block; width: 100%; padding: 0; text-align: left; color: inherit; background: none; border: 0; cursor: zoom-in; }
.ztile .cutout { --r: 0deg; padding: 10px; }
.ztiles li.big .cutout { --r: -1.6deg; padding: 14px; }
.panel-blue .ztiles li.big .cutout { --r: 1.4deg; }
/* wash colors cycle across the tiles, picked to stand out from the panel */
.ztiles li:nth-child(3n+1) { --acc: var(--w1); }
.ztiles li:nth-child(3n+2) { --acc: var(--w2); }
.ztiles li:nth-child(3n) { --acc: var(--w3); }
.panel-blue .ztiles li:nth-child(3n), .panel-red .ztiles li:nth-child(3n) { --acc-ink: var(--ink); }
/* No fixed frame. A tile used to be 4:3 whatever was in it, so an upright
   piece sat in the middle with a slab of white either side. The tile now takes
   the picture's own shape, so there is nothing around the picture at all. */
.ztile-img { position: relative; display: block; background: #fff; }
.ztiles li.big .ztile-title { margin-top: 22px; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.ztile-blurb { display: block; margin-top: 10px; max-width: 46ch; font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.55; letter-spacing: 0; text-transform: none; }
.ztile-img img { display: block; width: 100%; height: auto; }
.ztile-title { display: block; margin-top: 16px; font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; line-height: 1.1; }
.ztile-meta { display: block; margin-top: 4px; font-family: var(--label); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.zcount { position: absolute; top: 8px; right: 8px; padding: 3px 8px; font-family: var(--label); font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); background: var(--ink); }

/* ---------------- case study ---------------- */

.cs-cover { padding: 50px 0 70px; }
.cs-back { margin: 0 0 40px; }
.cs-back a { text-decoration: none; }
.cs-cover .mega { font-size: clamp(3rem, 10vw, 8.6rem); margin: 22px 0 30px; }
.cs-cover-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px 56px; align-items: start; }
.cs-cover .paper-block { font-size: 1.15rem; line-height: 1.6; transform: rotate(-1deg); }
.cs-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cs-facts li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cs-facts b { font-family: var(--label); font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: 3px 8px; background: var(--ink); color: var(--cream); }
.cs-facts span, .cs-facts a { font-weight: 500; }
.cs-hero { cursor: zoom-in; }
.cs-hero.cutout { --r: 2deg; }

.cs-spread .pro-wrap {
  display: grid;
  /* the words keep a readable measure and the pictures take everything left */
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 40px 56px;
  align-items: start;
}
/* a step whose words are the whole point still reads in one measure */
.cs-text.cs-wide .paper-block { max-width: 78ch; }
/* The data blocks: a table or a chart gets the full width under the row.
   It has to be ordered last, or spanning both columns splits the row it was
   placed in and the paragraph drops into the picture column behind it. */
.cs-extra { order: 3; margin-top: 6px; }
.cs-extra > :first-child { margin-top: 0; }
/* Alternating sides: the narrow column moves with the words. Without swapping
   the template too, flipping only reordered the cells and the pictures
   inherited the 340px column while the paragraph sprawled across the rest. */
@media (min-width: 901px) {
  .cs-spread.flip .pro-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
}
.cs-spread.flip .cs-text { order: 2; }
/* a full width section reads top to bottom, so the words come first whichever
   way round the alternating layout would have put them, and they do not stick */
.cs-spread.flip .cs-text.cs-wide { order: 0; }
.cs-text.cs-wide .paper-block { position: static; max-width: 78ch; }
.cs-head { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 18px; margin-bottom: 10px; }
.cs-head .step-num { font-family: var(--display); font-size: clamp(3.6rem, 8vw, 6.6rem); line-height: .8; color: var(--accent, var(--mustard)); -webkit-text-stroke: 3px var(--ink); }
.cs-head .big { line-height: .9; }
.cs-text .paper-block { position: sticky; top: 96px; }
/* Pictures pack by the size they actually are instead of each one taking a row
   of its own. --w is the picture's real width in pixels, set by fitFigures()
   once it has loaded: a wide shot asks for more of the row and runs across,
   two uprights fall side by side, a run of small details sits three or four
   across. Nothing is blown up past 1.5x its real pixels, so a 160px detail
   stays sharp instead of being stretched to fill 630px. */
.cs-figs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 34px; }
.cs-fig {
  margin: 0;
  /* --w: the width this shape wants on a shared row. --mx: 1.5x its real
     pixels, which it is never drawn past. Both are set by fitFigures(). */
  flex: 1 1 var(--w, 420px);
  min-width: min(100%, 190px);
  max-width: min(100%, var(--mx, 100%));
}
/* a picture wide enough to be the point of the step keeps the whole row, while
   still refusing to be blown up past its real pixels */
.cs-fig.is-wide { flex-basis: 100%; }
.cs-fig .cutout { padding: 10px; }
.cs-figs .cs-fig:nth-child(odd) .cutout { --r: -1.2deg; }
.cs-figs .cs-fig:nth-child(even) .cutout { --r: 1deg; }
.cs-fig img { cursor: zoom-in; background: #fff; }
.cs-row { display: flex; gap: 10px; align-items: flex-start; }
.cs-row img { flex: 1 1 0; width: 0; min-width: 0; }
.cs-fig figcaption { margin-top: 14px; font-size: .9rem; }
.cs-fig figcaption span { font-family: var(--label); font-weight: 700; letter-spacing: .04em; }
.cs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.cs-gallery .cutout { padding: 8px; }
.cs-gallery .cutout:nth-child(odd) { --r: -1.4deg; }
.cs-gallery .cutout:nth-child(even) { --r: 1.2deg; }
.cs-gallery img { display: block; height: auto; cursor: zoom-in; }
.cs-wide { grid-column: 1 / -1; }
.cs-pages { display: grid; gap: 26px; }
.cs-pages img { width: 100%; background: #fff; box-shadow: 8px 8px 0 rgba(27, 25, 22, .85); cursor: zoom-in; }
.cs-story { overflow: hidden; box-shadow: 10px 10px 0 rgba(27, 25, 22, .85); }
.cs-demo { width: 100%; height: 760px; box-sizing: content-box; border: 3px solid var(--ink); background: #f2f0eb; box-shadow: 10px 10px 0 rgba(27, 25, 22, .85); }
.cs-next { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 60px; align-items: center; text-decoration: none; }
.cs-next .mega { color: var(--mustard); font-size: clamp(2.8rem, 8vw, 6.4rem); margin-top: 16px; }
.cs-next p { max-width: 44ch; }
.cs-next .cutout { --r: 2deg; }
.cs-next .cutout img { display: block; height: auto; }

/* ---- a set read as a list: picture on the left, its words beside it ----- */
.cs-list { display: grid; gap: 30px; }
.cs-list-row {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.cs-list-shot {
  display: block;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(27, 25, 22, .85);
}
.cs-list-shot img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.cs-list-text { font-size: 1rem; line-height: 1.6; max-width: 54ch; }
/* the name leads, the note sits under it, then the description */
.cs-list-text b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cs-list-text i {
  display: block;
  font-style: normal;
  font-family: var(--label);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
@media (max-width: 760px) {
  .cs-list-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cs-list-shot { max-width: 320px; }
}

/* ---- a reel of boards: one at a time, the next showing at the edge ------ */
/* Narrower than the breakpoint the boards simply stack, which is how they read
   best on half a screen; the sliding only starts when there is room for it. */
.cs-reel { position: relative; }
/* room for the tilt and the hard shadow each frame casts: with a tight gap the
   next board's shadow landed on the line of text above it */
.reel-track { display: grid; gap: 54px; }
.reel-item { margin: 0; min-width: 0; }
/* stacked, the copies would just repeat the set, so they are not shown */
.reel-clone { display: none; }
.reel-item img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.reel-item figcaption { margin-top: 26px; font-size: .9rem; line-height: 1.45; opacity: .8; }

/* The one that was taken forward is ringed, so it is obvious which of the
   three the project came out of. The ring uses the section's own accent, not
   a fixed colour: on the red band a red ring was invisible. The other two are
   held back so the difference reads at a glance. */
.reel-item .cutout { position: relative; display: block; }
/* The chosen board sits on a slab of colour, which reads from across the page.
   An outline alone did not: it was the same colour as the band behind it. */
.reel-item.is-chosen {
  background: var(--mustard);
  padding: 22px 22px 26px;
  box-shadow: 12px 13px 0 rgba(27, 25, 22, .85);
}
.reel-item.is-chosen figcaption { opacity: 1; font-weight: 700; color: var(--ink); }
.cs-reel:has(.is-chosen) .reel-item:not(.is-chosen) .cutout { filter: saturate(.55) brightness(.94); }
.cs-reel:has(.is-chosen) .reel-item:not(.is-chosen) figcaption { opacity: .72; }
.reel-nav, .reel-dots { display: none; }

@media (min-width: 1100px) {
  /* the track slides, and the window it slides inside is the section itself */
  .cs-reel { overflow: hidden; padding: 0 0 6px; }
  .reel-track { display: flex; transition: transform .6s cubic-bezier(.3, .7, .2, 1); }
  /* narrow enough that the slide either side shows at the edges, so it is
     clear there is more in both directions */
  .reel-item { flex: 0 0 66%; }
  /* One height for every slide, and the width follows the picture. Fixing the
     width too drew a white box around an upright shot, which read as the
     picture not filling its frame; this way each one fills the frame it has. */
  .reel-item img {
    height: clamp(300px, 56vh, 620px);
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
  }
  .reel-item .cutout { width: fit-content; margin: 0 auto; }
  /* the ones either side are dimmed, so the eye stays on the one being read */
  .reel-item { opacity: .32; transition: opacity .4s ease; }
  .reel-item.is-on { opacity: 1; }
  /* the whole edge is the target, top to bottom, so reaching for the arrow
     cannot miss and land on the picture instead */
  .reel-nav {
    position: absolute;
    top: 0; bottom: 0;
    width: clamp(64px, 11%, 150px);
    display: grid;
    align-items: center;
    padding: 0 14px;
    border: 0;
    background: none;
    cursor: pointer;
    z-index: 2;
  }
  .reel-nav.prev { left: 0; justify-items: start; }
  .reel-nav.next { right: 0; justify-items: end; }
  .reel-nav span {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    font-size: 1.2rem;
    transition: background .15s, transform .15s;
  }
  .reel-nav:hover span { background: var(--red); transform: scale(1.06); }
  .reel-nav:focus-visible span { outline: 3px solid var(--mustard); outline-offset: 3px; }
  .reel-dots { display: flex; gap: 9px; justify-content: center; margin: 20px 0 0; }
  .reel-dot {
    width: 11px; height: 11px;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: none;
    cursor: pointer;
  }
  .reel-dot[aria-current="true"] { background: var(--ink); }
  .cs-reel.single .reel-nav, .cs-reel.single .reel-dots { display: none; }
  /* the copies exist so the run never has to rewind; they are shown only here,
     where the track slides */
  .reel-clone { display: block; }
}
@media (prefers-reduced-motion: reduce) { .reel-track { transition: none; } }

/* ---------------- resume ---------------- */
/* the resume is shown on the page rather than only offered as a download, so
   it can be read without leaving the site; the buttons above it still give
   the file itself */
.cv-hero { padding-bottom: 46px; }
.cv-hero .mega { color: var(--ink); }
.cv-sheet-band { padding-top: 40px; padding-bottom: 64px; }
.cv-sheet { display: grid; gap: 26px; justify-items: center; }
.cv-sheet canvas, .cv-sheet img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  background: #fff;
  box-shadow: 10px 10px 0 rgba(27, 25, 22, .85);
  border: 3px solid var(--ink);
}
.cv-status { font-family: var(--label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* a project you can actually use says so on the cover, as a button */
.cs-demo-cta { margin-top: 26px; }

/* Packaging runs full width so its before and after pairs can sit side by
   side, but the lone shot among them then filled the screen. It is held to a
   readable size and centred, while the pairs keep the width they need.
   Scoped here rather than to every wide section: the presentation slides in
   Anthropometry are meant to be as large as the page allows. */
/* the direct child only: a pair wraps its two shots in .cs-row inside the same
   frame, and those keep the width they need */
#package .cs-fig > .cutout:not(:has(.cs-row)) { width: fit-content; margin: 0 auto; }
#package .cs-fig > .cutout > img { max-height: 58vh; width: auto; max-width: 100%; }

/* ---------------- about ---------------- */

.ab-hero .mega { color: var(--cream); font-size: clamp(3.4rem, 13vw, 10.5rem); position: relative; z-index: 2; }
.ab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px 60px; align-items: start; margin-top: 10px; }
/* the photo drops to sit level with the text rather than tucking up under the
   heading, which only looked right while the heading was small */
.ab-portrait { position: relative; z-index: 1; max-width: 280px; margin-top: 78px; transform: rotate(-3deg); }
.ab-portrait.photo { background: var(--paper); padding: 10px 10px 34px; box-shadow: 10px 10px 0 rgba(27, 25, 22, .85); }
.ab-grid.no-portrait { grid-template-columns: minmax(0, 860px); margin-top: 10px; }
.ab-grid.no-portrait .paper-block { margin-top: 0; }
.ab-grid .paper-block { margin-top: 70px; font-size: 1.08rem; line-height: 1.75; }
.ab-skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.ab-skills h3 { margin: 0 0 16px; }
.ab-skills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-skills li { font-family: var(--label); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; background: var(--ink); color: var(--cream); }
.ab-timeline { list-style: none; margin: 0; padding: 0; }
.ab-timeline > li { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 10px 40px; padding: 30px 0; border-top: 3px solid var(--ink); }
.ab-timeline > li:last-child { border-bottom: 3px solid var(--ink); }
.ab-timeline h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.05; margin: 0 0 6px; }
.ab-org { margin: 0 0 10px; font-weight: 600; }
.ab-timeline ul { margin: 0; padding-left: 18px; max-width: 64ch; }
.ab-timeline ul li { margin-top: 4px; }
.ab-outside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.ab-outside article { background: var(--paper); color: var(--ink); padding: 26px; box-shadow: 8px 8px 0 rgba(27, 25, 22, .85); transform: rotate(var(--r, 0deg)); }
.ab-outside article:nth-child(1) { --r: -1.4deg; }
.ab-outside article:nth-child(2) { --r: 1deg; }
.ab-outside article:nth-child(3) { --r: -.6deg; }
.ab-outside h3 { margin: 0 0 10px; color: var(--red); font-size: 1.7rem; }
.ab-outside p { margin: 0; }
.ab-outside button { margin-top: 16px; }
.ab-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 60px; align-items: start; }
.ab-contact .mega { color: var(--mustard); font-size: clamp(3rem, 8vw, 6.6rem); margin-bottom: 26px; }
.ab-links { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.pro-form { display: grid; gap: 16px; }
.pro-form label { display: grid; gap: 6px; font-family: var(--label); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.pro-form input, .pro-form textarea { font: inherit; font-family: var(--sans); font-size: 1rem; letter-spacing: 0; text-transform: none; padding: 12px 14px; color: var(--ink); background: #fff; border: 3px solid var(--ink); resize: vertical; }
.pro-form input:focus, .pro-form textarea:focus { outline: 3px solid var(--mustard); outline-offset: 0; }
.pro-form input[name="_gotcha"] { position: absolute; left: -9999px; width: 1px; height: 1px; padding: 0; border: 0; }
.pro-form .zbtn { justify-self: start; }
.pro-note { margin: 0; font-weight: 600; }
.pro-note.bad { color: var(--red-deep); }

/* ---------------- gentle reveal ---------------- */

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------------- popup (shared with the playful site's script) ---------------- */

.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; background: rgba(27, 25, 22, .95); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; background: #fff; border: 8px solid var(--paper); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox figure:has(figcaption:not([hidden])) img { max-height: 72vh; }
.lightbox figcaption { max-width: min(66ch, 92vw); color: var(--cream); text-align: center; line-height: 1.55; }
.lightbox figcaption[hidden] { display: none; }
.lightbox figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; color: var(--mustard); margin-bottom: 6px; }
.lightbox figcaption span { font-size: .98rem; opacity: .9; }
.lightbox figcaption .lb-count { display: inline-block; margin-bottom: 10px; padding: 3px 8px; font-style: normal; font-family: var(--label); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--red); color: var(--cream); }
.lightbox.multi figure img { max-height: 62vh; }
.lightbox.multi figure:has(figcaption:not([hidden])) img { max-height: 58vh; }
.lightbox.can-zoom img { cursor: zoom-in; }
.lightbox.zoomed { display: block; overflow: auto; padding: 0; cursor: default; }
.lightbox.zoomed figure { display: flex; align-items: center; width: max-content; min-height: 100%; }
.lightbox.zoomed img { max-width: none; max-height: none; cursor: zoom-out; border: 0; }
.lightbox.zoomed figcaption, .lightbox.zoomed .lb-nav, .lightbox.zoomed .lb-dots, .lightbox.zoomed .lb-hint { display: none; }
.lb-close { position: fixed; top: 16px; right: 16px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; color: var(--ink); background: var(--mustard); border: 3px solid var(--ink); cursor: pointer; }
.lb-nav { position: fixed; top: 50%; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; padding: 0; background: var(--paper); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--red); cursor: pointer; transform: translateY(-50%); }
.lb-nav:hover { background: var(--mustard); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-nav[hidden] { display: none; }
.lb-nav svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lb-dots[hidden] { display: none; }
.lb-dots button { position: relative; width: 11px; height: 11px; padding: 0; background: transparent; border: 2px solid var(--cream); cursor: pointer; }
.lb-dots button::after { content: ""; position: absolute; inset: -8px; }
.lb-dots button[aria-current="true"] { background: var(--mustard); border-color: var(--mustard); }
.lb-hint { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; padding: 6px 12px; font-family: var(--label); font-weight: 700; font-size: .8rem; letter-spacing: .06em; color: var(--ink); background: var(--mustard); white-space: nowrap; pointer-events: none; }
.lb-hint[hidden] { display: none; }

/* ---------------- tablets and phones ---------------- */

@media (max-width: 900px) {
  .zs { padding: 70px 0; }
  .vlabel { display: none; }
  /* minmax(0, 1fr) rather than 1fr: a plain 1fr track is floored by its
     contents, so one wide picture widened the column and pushed the whole
     page sideways on a phone */
  .spread, .duo, .cs-cover-grid, .cs-spread .pro-wrap, .cs-next, .ab-grid, .ab-skills, .ab-outside, .ab-contact { grid-template-columns: minmax(0, 1fr); }
  .spread:nth-of-type(even) .spread-art, .cs-spread.flip .cs-text { order: 0; }
  .hero-grid { gap: 30px 40px; }
  .hero-me { width: 260px; margin: 10px 10px 0 0; }
  .hero-me .mark { display: none; }
  .cs-text .paper-block { position: static; }
  .ab-grid { margin-top: 20px; }
  .ab-grid .paper-block { margin-top: 0; }
  .ab-timeline > li { grid-template-columns: 1fr; }
  .ztiles { column-width: 210px; }
  .zfolder-panel { padding: 28px 22px 32px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-me { width: clamp(180px, 52vw, 250px); margin: 10px 8% 20px auto; }
  .pro-header { padding-top: 10px; padding-bottom: 10px; }
  .pro-header nav a { padding: 5px 7px; font-size: .72rem; }
  .paper-block { padding: 20px; box-shadow: 6px 6px 0 rgba(27, 25, 22, .9); }
  .cutout { padding: 8px; box-shadow: 6px 7px 0 rgba(27, 25, 22, .85); }
  .spread + .spread { margin-top: 80px; }
  .spread-num { -webkit-text-stroke-width: 2px; }
  .ztiles { column-width: 150px; column-gap: 16px; }
  .ztiles li { margin-bottom: 26px; }
  .ztile-title { font-size: .9rem; }
  .zfolder-tab { padding: 12px 16px 10px; gap: 10px; }
  .zfolder-tab small { display: none; }
  .zfolder-panel { padding: 22px 16px 28px; box-shadow: 6px 6px 0 var(--ink); }
  .cs-row { flex-wrap: wrap; }
  .cs-row img { min-width: 40%; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
/* ---------------- cursor (mouse only) ----------------
   A chunky mustard arrow, red over anything clickable. The popup keeps
   its own zoom cursors. */

@media (hover: hover) and (pointer: fine) {
  html { cursor: url("../icons/cursor-pro.svg") 3 2, auto; }
  a, button, label, .zbtn, .ztile, .cs-hero, .cs-fig img, .cs-gallery img, .cs-pages img { cursor: url("../icons/cursor-pro-link.svg") 3 2, pointer; }
  .zbtn:disabled { cursor: url("../icons/cursor-pro.svg") 3 2, default; }
  input, textarea { cursor: text; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wash, .wash span { transition: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cutout { transition: none; }
}

/* ---- a finished case study page, section by section --------------------- */
/* a quiet second tone so consecutive sections read as separate blocks */
.bg-sand { background: #efe7d9; color: var(--ink); }

.cs-plain { padding-top: 54px; padding-bottom: 54px; }
/* Plain block flow, not a flex column. Safari treats an <img> flex item with
   `height: auto` as having no definite height and collapses every one after
   the first, so on a Mac the page showed its opening slide and nothing else.
   Stacking them normally gives the same result everywhere. */
.cs-page {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .16);
}
.cs-page img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 -1px;          /* no hairline between the slides */
  cursor: zoom-in;
}

/* ---- a process step written as real page content -----------------------
   These replace the flat picture of a board: the words are the site's own
   type, so they reflow, can be selected, and are read by a screen reader. */

/* a row of small cards, each a finding with its own icon */
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-top: 26px; }
.cs-card {
  background: var(--paper, #fbf8f1);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(27, 25, 22, .85);
  padding: 20px 20px 22px;
}
.cs-card img { height: 62px; width: auto; margin-bottom: 14px; }
.cs-card b {
  display: block; margin-bottom: 8px;
  font-family: var(--label); font-weight: 700; font-size: .82rem;
  letter-spacing: .07em; text-transform: uppercase; line-height: 1.25;
}
.cs-card p { margin: 0; font-size: 1rem; line-height: 1.55; }

/* the task analysis: one row per stage, each step a chip, the painful ones
   marked so the pattern is visible at a glance rather than described */
.cs-task { margin-top: 28px; display: grid; gap: 18px; }
.cs-task-row { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 16px 20px; align-items: start; }
.cs-task-row > h4 {
  margin: 0; display: flex; gap: 10px; align-items: baseline;
  font-family: var(--label); font-weight: 700; font-size: .92rem;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1.25;
}
.cs-task-row > h4 i { font-style: normal; font-family: var(--display); font-size: 1.2rem; opacity: .5; }
.cs-task-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-task-steps span {
  flex: 0 1 auto; padding: 9px 12px; background: #fff; border: 2px solid rgba(27, 25, 22, .3);
  font-size: .92rem; line-height: 1.3;
}
/* a step that hurts: the one thing the table is actually for */
.cs-task-steps span.hard { background: var(--mustard); border-color: var(--ink); font-weight: 600; }
.cs-task-key { margin-top: 6px; font-size: .92rem; opacity: .8; }
.cs-task-key b { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 7px; background: var(--mustard); border: 2px solid var(--ink); }

/* a headline figure, with the sentence it belongs to underneath */
.cs-stats { display: flex; flex-wrap: wrap; gap: 30px 46px; margin-top: 28px; }
.cs-stats > div { flex: 1 1 200px; min-width: 0; }
.cs-stats b {
  display: block; font-family: var(--display); line-height: .95;
  font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--red);
}
.cs-stats.on-dark b { color: var(--mustard); }
.cs-stats p { margin: 10px 0 0; font-size: 1rem; line-height: 1.5; }
.cs-stats small { display: block; margin-top: 4px; font-size: .88rem; opacity: .72; }

/* survey results as bars that are actually drawn, so the numbers can be read
   out and the chart reflows instead of being a picture of a chart */
.cs-bars { margin-top: 26px; display: grid; gap: 14px; }
.cs-bars .row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.cs-bars .lab { font-size: .98rem; line-height: 1.3; }
.cs-bars .track { height: 26px; background: rgba(27, 25, 22, .1); }
.cs-bars .fill { display: block; height: 100%; background: var(--acc, var(--blue)); }
.cs-bars .val { font-family: var(--label); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.cs-bars .val span { opacity: .65; margin-left: 6px; font-weight: 400; }
.cs-note { margin-top: 12px; font-size: .88rem; opacity: .72; }

/* a column chart, where the comparison is between heights */
.cs-cols { display: flex; align-items: flex-end; gap: 18px; margin-top: 26px; height: 230px; }
.cs-cols figure { flex: 1 1 0; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.cs-cols b { font-family: var(--label); font-weight: 700; font-size: 1.05rem; margin-bottom: 7px; }
.cs-cols i { display: block; background: var(--acc, var(--blue)); }
.cs-cols figcaption { margin-top: 9px; font-size: .9rem; }

/* the steps of a plan, along a line */
.cs-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 26px; margin-top: 28px; }
.cs-timeline > div { position: relative; padding-top: 30px; border-top: 3px solid var(--ink); }
.cs-timeline > div::before {
  content: ""; position: absolute; top: -11px; left: 0; width: 19px; height: 19px;
  border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink);
}
.cs-timeline em { display: block; font-style: normal; font-family: var(--label); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.cs-timeline b { display: block; margin: 6px 0 8px; font-family: var(--display); font-size: 1.15rem; }
.cs-timeline p { margin: 0; font-size: .96rem; line-height: 1.5; }

/* a comparison grid: who offers what */
.cs-matrix { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: .95rem; }
.cs-matrix th, .cs-matrix td { padding: 12px 10px; text-align: center; border-bottom: 2px solid rgba(27, 25, 22, .18); }
.cs-matrix thead th { background: var(--ink); color: var(--cream); font-family: var(--label); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.cs-matrix tbody th { text-align: left; font-family: var(--label); font-weight: 700; }
.cs-matrix tbody tr.mine { background: var(--mustard); }
.cs-matrix .yes { font-size: 1.1rem; }
.cs-matrix .no { opacity: .35; }

/* ---- overview: every picture, with its description under it -------------
   Grouped the way the project groups them. Pictures in a group sit side by
   side when they fit and wrap when they do not, each keeping its own shape
   with its words directly underneath. */
/* A category with several pictures takes a row to itself. The ones holding a
   single picture would otherwise each waste a whole row, so they gather onto
   one row together at the end instead of sitting alone. */
.cs-shots { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 46px 34px; margin-top: 8px; }
.cs-shots-set { min-width: 0; flex: 1 1 100%; }
.cs-shots-set.solo { flex: 0 1 auto; max-width: 100%; order: 1; }
.cs-shots-run {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px;
  margin-top: 18px;
}
/* The photographs arrive in every proportion, from square to tall. Left to
   their own shapes they made a ragged wall of boxes, so each one now sits in
   a frame of the same size, centred inside it at its own proportions. The
   frame is fitted to the picture rather than the picture to the frame: no
   photograph is cropped to make the row line up. */
.cs-shot { margin: 0; flex: 0 1 300px; min-width: 0; }
/* the pictures are cut out, so the frame is the paper itself: a white
   ground behind them printed as a card and broke the run of the sheet */
.cs-shot .cutout {
  padding: 14px; height: 330px; background: none;
  display: flex; align-items: center; justify-content: center;
}
.cs-shot img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain; background: none; cursor: zoom-in;
}
.cs-shot figcaption { margin-top: 14px; font-size: .97rem; line-height: 1.55; max-width: 42ch; }

@media (max-width: 560px) {
  .cs-shots { gap: 34px; }
  .cs-shots-run { gap: 22px; }
  .cs-shot { flex: 1 1 100%; }
  .cs-shot .cutout { height: 300px; }
}
/* a clip sits in the picture row like any other figure, and claims the row so
   it is big enough to watch */
.cs-clip { margin: 0; flex: 1 1 100%; max-width: 100%; }
/* in a run of board slides the clip lines up with them rather than running
   wider, and takes a little air so it does not look welded to the slide */
.cs-plain .cs-clip { max-width: 1100px; margin: 26px auto; }
.cs-clip video {
  display: block; width: 100%; height: auto; background: var(--ink);
  border: 3px solid var(--ink); box-shadow: 10px 10px 0 rgba(27, 25, 22, .85);
}
.cs-clip figcaption { margin-top: 14px; font-size: .9rem; }
.cs-clip figcaption span { font-family: var(--label); font-weight: 700; letter-spacing: .04em; }

/* a citation list, numbered the way the board numbers them */
.cs-sources { margin: 24px 0 0; padding-left: 1.4em; font-size: .95rem; line-height: 1.6; }
.cs-sources li { margin-bottom: 7px; overflow-wrap: anywhere; }

/* somebody's own words, given room */
.cs-quote { margin: 26px 0 0; padding: 20px 24px; border-left: 6px solid var(--red); font-size: 1.08rem; line-height: 1.55; font-style: italic; }
.cs-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: .85rem; opacity: .7; }

@media (max-width: 760px) {
  .cs-bars .row { grid-template-columns: 1fr auto; }
  .cs-bars .lab { grid-column: 1 / -1; }
  .cs-cols { height: 180px; gap: 10px; }
  .cs-matrix { font-size: .85rem; }
  .cs-matrix th, .cs-matrix td { padding: 9px 5px; }
}

/* colour chips, read as colour rather than as a picture of colour */
.cs-chips { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.cs-chips figure { margin: 0; width: 132px; }
.cs-chips span { display: block; height: 84px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 rgba(27, 25, 22, .85); }
.cs-chips figcaption {
  margin-top: 9px; font-family: var(--label); font-weight: 700;
  font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
}
.cs-chips figure.pick span { outline: 4px solid var(--blue); outline-offset: 4px; }

@media (max-width: 760px) {
  .cs-task-row { grid-template-columns: 1fr; gap: 10px; }
  .cs-card { padding: 16px 16px 18px; box-shadow: 4px 4px 0 rgba(27, 25, 22, .85); }
  .cs-chips figure { width: 104px; }
  .cs-chips span { height: 64px; }
}

/* ---- overview: the shots grouped, each group saying what it shows -------
   These sit flat rather than tilted: a rotated card throws its corners and
   its hard shadow outside its own box, which is what was landing on top of
   the captions and the next group's heading. */
.cs-set + .cs-set { margin-top: 34px; }
.cs-set-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin: 0 0 14px; padding-bottom: 7px;
  border-bottom: 2px solid currentColor;
}
.cs-set-name { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.cs-set-note { font-size: .92rem; opacity: .72; }

/* ---- one picture at a time, arrows either side, the rest small below ---- */
.cs-car { max-width: 920px; }
.cs-car-stage {
  position: relative;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(27, 25, 22, .18);
  padding: 16px;
  /* a floor only, not a fixed height: a wide shot used to sit in the middle of
     a tall white stage with a band of nothing above and below it */
  min-height: 0;
}
.cs-car-stage img {
  max-width: 100%;
  max-height: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}
/* Full width overview: the stage takes the room it is given and the
   thumbnails stand beside it rather than under it, so a wide screen is used
   instead of leaving a band of empty colour down one side. */
.cs-wide .cs-car { max-width: none; }
@media (min-width: 1100px) {
  .cs-wide .cs-car {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    grid-template-areas: "stage thumbs" "caption thumbs";
    align-items: start;
    gap: 10px 26px;
  }
  .cs-wide .cs-car-stage { grid-area: stage; }
  .cs-wide .cs-car-stage img { max-height: 560px; }
  .cs-wide .cs-car-cap { grid-area: caption; margin-top: 4px; }
  .cs-wide .cs-car-thumbs {
    grid-area: thumbs;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-top: 0;
    max-height: 560px;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .cs-wide .cs-car-thumb { width: 100%; height: auto; }
  .cs-wide .cs-car-thumb img { width: 100%; height: auto; }
}
/* The arrow is a full height strip down the side of the picture rather than a
   small disc floating on it. The disc is still what you see, but the target is
   the whole strip, so reaching for the arrow no longer lands on the picture and
   opens it full size by mistake. The middle is left clear for that. */
.cs-car-arrow {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(56px, 20%, 130px);
  padding: 0 10px;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  align-items: center;
  z-index: 2;
}
.cs-car-arrow.prev { left: 0; justify-items: start; }
.cs-car-arrow.next { right: 0; justify-items: end; }
.cs-car-arrow span {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 1rem; line-height: 1;
  transition: background .15s, transform .15s;
}
.cs-car-arrow:hover span { background: var(--mustard); transform: scale(1.08); }
.cs-car-arrow:focus-visible span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.cs-car.single .cs-car-arrow,
.cs-car.single .cs-car-thumbs { display: none; }

.cs-car-cap { margin: 10px 2px 0; font-size: .88rem; line-height: 1.45; opacity: .78; }
.cs-car-cap[hidden] { display: none; }
/* a caption can name the piece first: the name carries, the note under it is
   the scent, and the rest is the description */
.cs-car-cap b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  opacity: 1;
  margin-bottom: 3px;
}
.cs-car-cap i {
  display: block;
  font-style: normal;
  font-family: var(--label);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.cs-car-cap { opacity: 1; }
.cs-car-cap { color: inherit; }

.cs-car-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
/* as wide as the picture needs at a shared height, rather than a fixed box
   with the picture floating in the middle of it */
.cs-car-thumb {
  width: auto; height: 66px;
  padding: 4px;
  background: #fff;
  border: 2px solid rgba(27, 25, 22, .35);
  border-radius: 6px;
  cursor: pointer;
}
.cs-car-thumb img { width: auto; height: 100%; display: block; }
.cs-car-thumb[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--mustard); }

/* ---- the jump rail down the side of a long process --------------------- */
/* A bar along the bottom rather than a column down the side: the side version
   floated over the artwork. The page reserves room for it so it never covers
   anything. */
.cs-rail {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 40; opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
  background: var(--cream);
  border-top: 2px solid var(--ink);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .12);
  padding: 7px 12px;
}
.cs-rail.on { opacity: 1; visibility: visible; }
.cs-rail ol {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; gap: 4px; justify-content: center;
  max-width: 1100px; overflow-x: auto;
}
.cs-rail li { flex: 0 0 auto; }
.cs-rail a {
  display: flex; align-items: baseline; gap: 7px;
  padding: 6px 11px; border-radius: 7px;
  text-decoration: none; color: var(--ink);
  font-size: .8rem; line-height: 1.2; white-space: nowrap;
}
.cs-rail .n { font-weight: 800; opacity: .5; font-size: .7rem; }
.cs-rail .t { opacity: .68; }
.cs-rail a:hover { background: rgba(0, 0, 0, .07); }
.cs-rail a:hover .t,
.cs-rail a[aria-current="true"] .t { opacity: 1; font-weight: 700; }
.cs-rail a[aria-current="true"] .n { opacity: 1; }
.has-rail { padding-bottom: 58px; }

/* ---- phones ------------------------------------------------------------- */
@media (max-width: 860px) {
  .cs-rail ol { justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .cs-rail a { padding: 6px 9px; font-size: .76rem; }
  .cs-car-stage { padding: 10px; }
  .cs-car-stage img { max-height: 280px; }
  .cs-car-arrow span { width: 32px; height: 32px; }   /* the strip stays full height */
  .cs-car-thumb { width: auto; height: 52px; }
  .cs-plain { padding-top: 30px; padding-bottom: 30px; }
  .cs-page { border-radius: 6px; box-shadow: 0 8px 20px rgba(0, 0, 0, .14); }
  .cs-set-head { gap: 4px; }
}

/* ---- overview with a single picture: text beside it, no frame ---------- */
.cs-solo-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 34px 48px;
  align-items: center;
}
.cs-solo { margin: 0; }
.cs-solo img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;       /* the shot already matches the page colour */
  border: 0;
  box-shadow: none;
  cursor: zoom-in;
}
@media (max-width: 860px) {
  .cs-solo-row { grid-template-columns: 1fr; gap: 20px; }
}
/* the single-picture row spans the whole spread, not one of its columns */
.cs-solo-spread .cs-solo-row { grid-column: 1 / -1; width: 100%; }

/* the email link in the contact block */
.ab-email { color: var(--mustard); text-underline-offset: 3px; }
.ab-email:hover { color: var(--cream); }

/* an unfinished project is labelled as such, in a colour that cannot be missed */
.wip-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--mustard);
  font-family: var(--label);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ztags li.wip { background: var(--ink); color: var(--mustard); border-color: var(--ink); }

/* ==========================================================
   Native process blocks (.pz-*)
   A scrolling presentation board rebuilt as real markup: the words are
   selectable text and every photograph is its own <img data-zoom>, so it
   opens large on a click. Shared by every project, so a board only has to
   supply content, not its own styles.
   ========================================================== */

.pz { display: grid; gap: 40px; }
.pz-block { display: grid; gap: 18px; }

/* the sentence that opens a section on the board */
.pz-lede {
  margin: 0; max-width: 62ch;
  font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2);
}

/* The board runs three levels and no more: the section title, one size of
   sub-head used for everything from "THE PROBLEM" to "DESIGN OPPORTUNITIES",
   and the body. So `.pz-h` and `h4` are deliberately the same size here, and
   only the little figure labels sit below them. */
/* A group heading, e.g. "Design opportunities", sits a clear step above the
   item titles under it, so the section reads as one thing with parts rather
   than a flat list of equal headings. */
.pz-h {
  margin: 0 0 4px; font-family: var(--label);
  text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(21px, 2.1vw, 30px); font-weight: 700; line-height: 1.15;
  color: var(--ink);
}
.pz-h + p { margin-bottom: 4px; max-width: 62ch; }
.pz h4 {
  margin: 0 0 4px; font-family: var(--label);
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(14px, 1.15vw, 17px); font-weight: 700; line-height: 1.3;
  color: var(--ink);
}

/* the small label that names a picture, e.g. "CAD MODEL" */
.pz-tag {
  margin: 0 0 -6px; font-family: var(--label);
  text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.pz p, .pz-half p, .pz-col p, .pz-aside-text p {
  margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6;
}

/* ---- columns of text, optionally with a picture above each ---- */
.pz-cols { display: grid; gap: 30px 34px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pz-cols.pz-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pz-cols.pz-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pz-col { min-width: 0; display: grid; gap: 10px; align-content: start; }
.pz-iter { gap: 8px; }

/* ---- two halves side by side ---- */
.pz-split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.pz-half { min-width: 0; display: grid; gap: 12px; align-content: start; }

/* ---- a picture with its notes beside it ---- */
.pz-aside { display: grid; gap: 26px 34px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.pz-aside-text { display: grid; gap: 10px; align-content: start; }
.pz-aside-text h4 { margin-top: 8px; }
.pz-aside-text h4:first-child { margin-top: 0; }
@media (max-width: 820px) { .pz-aside { grid-template-columns: minmax(0, 1fr); } }

/* ---- figures ---- */
.pz-fig { margin: 0; }
.pz-fig img {
  width: 100%; border-radius: 3px; cursor: zoom-in;
  background: var(--paper);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pz-fig img:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27, 25, 22, .14); }
.pz-plain img { background: none; }
.pz-fig figcaption {
  margin-top: 8px; display: flex; gap: 24px; justify-content: space-between;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .08em;
  font-size: 11px; color: var(--muted);
}
.pz-cap figcaption { justify-content: flex-start; }
.pz-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.pz-row > .pz-fig { flex: 1 1 200px; min-width: 0; }
/* two pictures sharing one frame inside a card */
.pz-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pz-pair img { width: 100%; border-radius: 3px; cursor: zoom-in; }

/* ---- cards: a picture over its own heading and line ---- */
.pz-cards { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pz-cards.pz-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pz-cards.pz-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.pz-card {
  margin: 0; min-width: 0; display: grid; gap: 12px; align-content: start;
  background: var(--paper); border-radius: 4px; padding: 20px;
  box-shadow: 0 1px 0 rgba(27, 25, 22, .06);
}
.pz-card > img, .pz-card > .pz-pair { width: 100%; }
.pz-card > img { border-radius: 3px; cursor: zoom-in; transition: transform .18s ease; }
.pz-card > img:hover { transform: translateY(-2px); }
.pz-card figcaption { display: grid; gap: 6px; }
.pz-tinted .pz-card { background: var(--cream); }

/* ---- a tinted band for a note the board set apart ---- */
.pz-note, .pz-tint {
  background: var(--cream); border-left: 4px solid var(--accent, var(--red));
  padding: 22px 26px; border-radius: 3px;
}
.pz-tint { border-left: 0; padding: 26px; }
.pz-note h4 { color: var(--accent, var(--red)); }

/* ---- task analysis: phases down the side, steps across ---- */
.pz-ta { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.pz-ta-row {
  display: grid; gap: 10px 26px;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr); align-items: start;
}
.pz-ta-phase {
  margin: 0; display: flex; gap: 10px; align-items: baseline;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .05em;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.pz-ta-num { font-family: var(--display); font-size: 20px; color: var(--accent, var(--red)); line-height: 1; }
.pz-ta-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pz-ta-card {
  flex: 1 1 128px; min-width: 110px; max-width: 190px;
  background: var(--paper); border-radius: 3px; padding: 10px 12px;
  font-size: 13.5px; line-height: 1.4; color: var(--ink-2);
}
.pz-ta-card span {
  display: block; font-family: var(--label); font-size: 11px;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 3px;
}
/* the painful steps, the whole point of the analysis */
.pz-ta-card.hot { background: #cdc3e8; color: var(--ink); }
.pz-ta-card.hot span { color: #514574; }
.pz-key {
  margin: 0; display: flex; align-items: center; gap: 9px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .1em;
  font-size: 11px; color: var(--muted);
}
.pz-key-chip { width: 26px; height: 13px; border-radius: 2px; background: #cdc3e8; }
@media (max-width: 760px) { .pz-ta-row { grid-template-columns: minmax(0, 1fr); } }

/* ---- swatches: flat colour chips, or a material photographed ---- */
.pz-sw { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.pz-sw.pz-5 { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.pz-sw.pz-2 { grid-template-columns: repeat(2, minmax(0, 72px)); }
.pz-sw li {
  min-width: 0; display: grid; gap: 9px; align-content: start;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .07em;
  font-size: 11px; color: var(--muted);
}
.pz-sw .pz-chip { display: block; height: 86px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(27, 25, 22, .08); }
.pz-sw.pz-2 .pz-chip { height: 30px; }
.pz-sw img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; cursor: zoom-in; }
.pz-bare { gap: 10px; }

/* ---- a row of reference images, equal height ---- */
.pz-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pz-strip img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; cursor: zoom-in; }

@media (max-width: 620px) {
  .pz { gap: 30px; }
  .pz-card { padding: 16px; }
}
/* Icons drawn at different proportions (a tall stooped figure beside a wide
   battery) would make four cards of four different heights, so an icon card
   gets a fixed band to sit in and keeps its own shape inside it. */
.pz-icons .pz-card > img { height: 150px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; justify-self: start; }
@media (max-width: 620px) { .pz-icons .pz-card > img { height: 110px; } }
/* ---- arrangements the board uses that the generic blocks do not cover ---- */

/* two pictures one above the other, as the board stacks the refilling views */
.pz-stack { display: grid; gap: 14px; }

/* a wide card holding its own pair, set beside a normal card: the board's
   "tilting bottle support" sits next to "slots for dish support" this way */
.pz-mixrow { display: grid; gap: 26px; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: start; }
.pz-wide-card { display: grid; gap: 16px; }
/* the inner pair shares the outer card's paper, so it does not read as cards
   sitting inside a card */
.pz-flat .pz-card { background: none; padding: 0; box-shadow: none; }
@media (max-width: 860px) { .pz-mixrow { grid-template-columns: minmax(0, 1fr); } }

/* the picture column narrower than usual, where the board gives the notes the
   greater share of the width */
.pz-aside.pz-narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
@media (max-width: 820px) { .pz-aside.pz-narrow { grid-template-columns: minmax(0, 1fr); } }
.pz-aside-text .pz-fig { margin: 6px 0; }
/* ---- readability and lift ----------------------------------------------
   The step blocks used to sit straight on the section colour, which put dark
   grey type on red. Each one now rides on a paper panel with the same hard
   offset shadow the text boxes use, so the copy is always dark-on-paper and
   the pictures lift off the page the same way. */
.cs-extra {
  background: var(--paper);
  color: var(--ink);
  padding: 34px 36px;
  box-shadow: 8px 8px 0 rgba(27, 25, 22, .9);
}
@media (max-width: 620px) { .cs-extra { padding: 22px 20px; box-shadow: 5px 5px 0 rgba(27, 25, 22, .9); } }

/* cards sit on the panel, so they take the deeper tint to stay distinct */
.pz-card { background: var(--cream); }
.pz-tinted .pz-card, .pz-note, .pz-tint { background: #efe3cd; }
.pz-note { border-left: 4px solid var(--red); }
.pz-note h4 { color: var(--red); }
.pz-ta-card { background: #fff; }
.pz-ta-num { color: var(--red); }

/* every picture is a print on the page, not a flat image in the flow */
.pz-fig img, .pz-card > img, .pz-pair img, .pz-sw img, .pz-strip img, .pz-sw .pz-chip {
  background: #fff;
  box-shadow: 6px 6px 0 rgba(27, 25, 22, .85);
}
.pz-fig img, .pz-card > img, .pz-pair img { border-radius: 0; }
/* the hover lift moves into the shadow, matching the buttons */
.pz-fig img { transition: transform .12s ease, box-shadow .12s ease; }
.pz-fig img:hover, .pz-card > img:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 rgba(27, 25, 22, .85);
}
/* a little room so the shadow is never clipped by the next element */
.pz-row, .pz-stack, .pz-cards, .pz-cols, .pz-split, .pz-sw, .pz-strip { padding-bottom: 6px; }
.pz-fig { padding-right: 6px; }
@media (max-width: 620px) {
  .pz-fig img, .pz-card > img, .pz-pair img, .pz-sw img, .pz-strip img, .pz-sw .pz-chip {
    box-shadow: 4px 4px 0 rgba(27, 25, 22, .85);
  }
}
/* ---- How It Works: the two gestures as a numbered sequence ---- */
.pz-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.pz-steps > li { min-width: 0; display: grid; gap: 16px; align-content: start; }
.pz-step-text { display: grid; gap: 6px; }
.pz-step-n {
  margin: 0; font-family: var(--display); line-height: 1;
  font-size: clamp(30px, 3.4vw, 46px); color: var(--red);
}
/* the lids are small details beside the gestures, so they are held back */
.pz-iconpair { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 680px; }

/* a figure that should not claim an equal share of its row, like the single
   standing figure the board sets beside a wider illustration */
.pz-narrowfig { flex: 0 1 34%; }
/* ---- the short version -------------------------------------------------
   A scannable summary at the head of every case study, so someone deciding
   whether to back the work can get the problem, the evidence and the outcome
   in about two minutes without reading the process. */
.cs-tldr { display: grid; gap: 18px; }
.cs-tldr-tag {
  margin: 0 0 8px; font-family: var(--label);
  text-transform: uppercase; letter-spacing: .14em;
  font-size: 11px; font-weight: 700; color: var(--red);
}
/* the claim, on its own, above the parts that back it up */
.cs-tldr-head { max-width: 54ch; }
.cs-tldr-head p:last-child {
  margin: 0; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.3;
  font-weight: 600; color: var(--ink);
}
/* one card per part, so the case is scanned rather than read */
.cs-tldr-list { margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cs-tldr-list > div { min-width: 0; padding: 20px 22px; }
.cs-tldr-list dt {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .09em;
  font-size: 11px; font-weight: 700; color: var(--red); margin-bottom: 6px;
}
.cs-tldr-list dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
@media (max-width: 620px) {
  .cs-tldr-list { grid-template-columns: minmax(0, 1fr); }
  .cs-tldr-list > div { padding: 16px 18px; }
}
/* ---- How It Works: the two gestures as alternating full width rows, each
   paired with the lid mark that identifies its module ---- */
.pz-run { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.pz-run-row {
  display: grid; gap: 30px 44px; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.pz-run-row.flip > .pz-fig { order: 2; }
.pz-run-text { display: grid; gap: 6px; align-content: center; }
.pz-run-text p:not(.pz-step-n) { max-width: 46ch; }
/* the embossed lid, shown small beside the gesture it belongs to */
.pz-mark { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.pz-mark img { width: 92px; flex: none; cursor: zoom-in; }
.pz-mark span {
  display: grid; gap: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2);
}
.pz-mark strong {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .07em;
  font-size: 11.5px; color: var(--ink);
}
.pz-foot {
  margin: 0; padding-top: 20px; max-width: 70ch;
  border-top: 2px solid rgba(27, 25, 22, .14);
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
}
@media (max-width: 860px) {
  .pz-run-row { grid-template-columns: minmax(0, 1fr); }
  .pz-run-row.flip > .pz-fig { order: 0; }
}
/* Two illustrations of very different proportions sat side by side were being
   forced to equal widths, which blew the tall one up and squashed the wide
   one. In a row they are sized by height instead, as they are on the board,
   and sit on a common baseline. */
.pz-row { align-items: flex-end; }
.pz-row > .pz-fig { flex: 0 1 auto; }
.pz-row > .pz-fig img { width: auto; max-width: 100%; max-height: 300px; }
@media (max-width: 760px) { .pz-row > .pz-fig img { max-height: 210px; } }
/* `.pz h4` and `.pz p` are more specific than a bare class, so a group heading
   marked `.pz-h` and the big step numeral were both being overridden back to
   body size. Stated at matching specificity here. */
.pz .pz-h {
  font-size: clamp(21px, 2.1vw, 30px); font-weight: 700;
  letter-spacing: .01em; line-height: 1.15; margin-bottom: 6px;
}
.pz .pz-step-n {
  font-family: var(--display); line-height: 1;
  font-size: clamp(28px, 3vw, 42px); color: var(--red); margin: 0 0 2px;
}
/* ---- alignment ---------------------------------------------------------
   Pictures of different proportions sitting in the same row were each taking
   their own height, so the headings under them started at different places.
   Every repeating group now gives its pictures a band of fixed height and
   lets each one sit inside it at its own shape, which lines the text up. */

/* cards in a grid: the picture area is the same height in every card */
.pz-cards .pz-card > img,
.pz-cards .pz-card > .pz-pair {
  height: 200px; width: 100%; object-fit: contain; object-position: center bottom;
}
.pz-cards .pz-card > .pz-pair img { height: 100%; width: 100%; object-fit: contain; }
.pz-icons .pz-card > img { height: 150px; object-position: left center; }
/* a taller band where the studies are full sheets rather than single objects */
.pz-band .pz-card > img { height: 320px; object-position: center; }
@media (max-width: 620px) {
  .pz-cards .pz-card > img, .pz-cards .pz-card > .pz-pair { height: 150px; }
  .pz-band .pz-card > img { height: 220px; }
}

/* two sketch sheets side by side, so their captions start on the same line */
.pz-split .pz-fig img { max-height: 520px; width: auto; margin-inline: auto; }
.pz-split .pz-half { align-content: start; }

/* the CAD study is a reference for the model beside it, so it is held smaller
   than the photograph of the thing that was actually built */
.pz-iter .pz-fig img { width: auto; margin-inline: auto; }
.pz-iter .pz-fig:nth-of-type(1) img { max-height: 150px; }
.pz-iter .pz-fig:nth-of-type(2) img { max-height: 230px; }
.pz-iter { grid-template-rows: auto auto auto auto auto 1fr; }

/* the chosen direction, called out rather than left as another block */
.pz-chosen {
  background: #efe3cd; border-left: 5px solid var(--red);
  padding: 26px 28px; display: grid; gap: 10px;
}
.pz-chosen-tag {
  margin: 0; font-family: var(--label); text-transform: uppercase;
  letter-spacing: .14em; font-size: 11px; font-weight: 700; color: var(--red);
}
.pz-chosen .pz-fig { margin-top: 8px; }
/* The gesture photographs were running at full column width, which made each
   row taller than a screen and pushed the two steps far apart. They are held
   to a fixed height instead, so both rows match and the section reads as one
   short sequence rather than two posters. */
.pz-run { gap: 30px; }
.pz-run-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 24px 40px; }
.pz-run-row > .pz-fig { justify-self: start; }
.pz-run-row > .pz-fig img { max-height: 300px; width: auto; max-width: 100%; }
.pz-run-row.flip > .pz-fig { justify-self: end; }
.pz-mark img { width: 74px; }
@media (max-width: 860px) {
  .pz-run-row > .pz-fig, .pz-run-row.flip > .pz-fig { justify-self: start; }
  .pz-run-row > .pz-fig img { max-height: 230px; }
}
/* ---- later corrections -------------------------------------------------- */

/* the ideation sheets were capped too hard and ended up small */
.pz-split .pz-fig img { max-height: 760px; }

/* Background: the two illustrations in a column sit beside each other rather
   than wrapping onto separate lines when the column gets narrow */
.pz-col .pz-row { flex-wrap: nowrap; gap: 14px; }
.pz-col .pz-row > .pz-fig { min-width: 0; }
.pz-col .pz-row > .pz-fig img { max-height: 240px; }
@media (max-width: 700px) { .pz-col .pz-row > .pz-fig img { max-height: 170px; } }

/* Refined sketches: the sheet was swamping the note beside it. The two share
   the row more evenly and the sheet is held to a height. */
.pz-sheet { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.pz-sheet .pz-fig img { max-height: 430px; width: auto; }
@media (max-width: 820px) { .pz-sheet { grid-template-columns: minmax(0, 1fr); } }

/* Initial exploration: the CAD study is labelled and tinted so it reads as a
   drawing, while the photograph of the built model is left plain and larger */
.pz-iter .pz-tag {
  display: inline-block; margin: 0 0 6px; padding: 3px 9px;
  background: var(--ink); color: var(--paper); letter-spacing: .1em;
}
.pz-iter .pz-tag + .pz-fig { background: #efe3cd; padding: 12px; }
.pz-iter .pz-tag + .pz-fig img { box-shadow: none; }
.pz-iter .pz-tag:nth-of-type(2) { background: var(--red); }

/* the four dispenser studies, side by side, with the one taken forward marked */
.pz-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.pz-opts > li { min-width: 0; position: relative; display: grid; gap: 8px; }
.pz-opts .pz-fig img { width: 100%; }
.pz-opt-tag {
  justify-self: start; font-family: var(--label); text-transform: uppercase;
  letter-spacing: .1em; font-size: 10.5px; font-weight: 700;
  color: var(--paper); background: var(--red); padding: 3px 9px;
}
.pz-opts .is-chosen .pz-fig img { box-shadow: 6px 6px 0 var(--red); }

/* a pair of pictures inside one card needs room under it for its shadow, or
   the caption crowds up against them */
.pz-cards .pz-card > .pz-pair { gap: 12px; margin-bottom: 8px; }
.pz-card figcaption { margin-top: 2px; }
/* the opening line of a section, given the same rule-and-weight treatment as
   the closing note so a section is bracketed top and bottom */
.pz-head-note {
  margin: 0; padding-bottom: 20px; max-width: 70ch;
  border-bottom: 2px solid rgba(27, 25, 22, .14);
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
}
/* A fixed height on the pair alone does not constrain its grid row, which was
   still sizing to the pictures and spilling them out over the caption below.
   The row is tied to the container height instead. */
.pz-cards .pz-card > .pz-pair {
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}
.pz-cards .pz-card > .pz-pair img { height: 100%; min-height: 0; object-fit: contain; }
/* Nothing is cropped by the page. The swatches and the mood board were being
   forced into a square and a 3:4 box with `cover`, which quietly cut the edges
   off each photograph to make it fill the shape. Each one is shown whole at
   its own proportions instead. */
.pz-sw img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.pz-strip { align-items: start; }
.pz-strip img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
/* ==========================================================
   Work menu
   Hovering Work drops the project list, so one case study can be swapped for
   another without going back to the index. Rows are plain paper with dark
   type; a small square of colour at the left says what kind of work it is,
   taken from the project's category or the folder's own panel colour. The
   blurb stays hidden until that one row is pointed at.
   ========================================================== */
.work-menu { position: relative; display: inline-block; }
/* a bridge over the gap, so the panel does not close while moving onto it */
.work-menu::after { content: ""; position: absolute; top: 100%; right: 0; width: 100%; height: 12px; }

.work-pop {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  width: min(94vw, 400px); padding: 14px 0 10px;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 rgba(27, 25, 22, .9);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.work-menu:hover .work-pop, .work-menu.is-open .work-pop {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.wm-head {
  margin: 0 0 4px; padding: 0 16px;
  font-family: var(--label); text-transform: uppercase;
  letter-spacing: .16em; font-size: 10px; font-weight: 700; color: var(--muted);
}
.wm-head + ul { margin: 0; padding: 0; list-style: none; }
/* a heavier rule between the groups than between the rows inside one */
.work-pop ul + .wm-head {
  margin-top: 0; padding-top: 13px;
  border-top: 3px solid var(--ink);
}
.work-pop li { --wm: var(--ink); }

/* a rule down the left in the category colour, rather than a chip beside it */
.work-pop li + li { border-top: 1px solid rgba(27, 25, 22, .13); }
.work-pop li a {
  display: grid; grid-template-columns: 3px minmax(0, 1fr);
  gap: 0 13px; align-items: start;
  padding: 9px 16px; text-decoration: none; color: var(--ink);
}
.work-pop li a::before {
  content: ""; width: 3px; align-self: stretch; grid-row: 1 / span 2;
  background: var(--wm);
  transition: width .14s ease, transform .14s ease;
}
.work-pop li a:hover, .work-pop li a:focus-visible { background: var(--cream); }
.work-pop li a[aria-current="page"] { background: var(--cream); }

.wm-name {
  grid-column: 2; display: block;
  font-family: var(--label); font-weight: 700;
  font-size: 15px; letter-spacing: .01em; line-height: 1.25; color: var(--ink);
  transition: color .14s ease;
}
/* colour arrives on hover: the rule thickens and the title takes its colour */
.work-pop li a:hover::before,
.work-pop li a:focus-visible::before,
.work-pop li a[aria-current="page"]::before { width: 6px; transform: translateX(-2px); }
.work-pop li a:hover .wm-name,
.work-pop li a:focus-visible .wm-name,
.work-pop li a[aria-current="page"] .wm-name { color: var(--wm); }
/* the description belongs to the row being pointed at and nothing else */
.wm-note {
  grid-column: 2; display: block; margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  font-family: var(--sans); font-size: 12.5px; line-height: 1.45; color: var(--ink-2);
  transition: max-height .2s ease, opacity .16s ease, margin-top .2s ease;
}
.work-pop li a:hover .wm-note,
.work-pop li a:focus-visible .wm-note { max-height: 5em; opacity: 1; margin-top: 4px; }

.wm-all {
  display: block; margin-top: 2px; padding: 8px 16px 2px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .1em;
  font-size: 11px; font-weight: 700; color: var(--red); text-decoration: none;
}
.wm-all:hover { text-decoration: underline; }
/* on a phone the header has no room for a panel, so Work is just a link */
@media (max-width: 720px) { .work-pop { display: none; } }
/* ---- numbered sub-steps and the alternative panel -----------------------
   Cheetah Pals runs numbered sub-steps inside each section, and carries a
   second concept alongside the chosen one in a panel set apart from it. */
.pz-sub { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.pz-sub > li { display: grid; gap: 14px; }
.pz .pz-sub .pz-h { display: flex; align-items: baseline; gap: 12px; }
.pz-sub-n {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mustard); color: var(--ink);
  font-family: var(--label); font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  align-self: center;
}
/* the concept that ran alongside, held back from the chosen direction */
.pz-alt {
  background: #efe3cd; border-radius: 3px;
  padding: 26px 28px; display: grid; gap: 18px;
}
.pz-alt-tag, .pz-col.pz-tint .pz-tag {
  margin: 0; font-family: var(--label); text-transform: uppercase;
  letter-spacing: .12em; font-size: 11px; font-weight: 700; color: var(--muted);
}
.pz-col.pz-tint { background: #efe3cd; padding: 20px; border-radius: 3px; }
.pz-alt .pz-card { background: var(--paper); }
@media (max-width: 620px) { .pz-alt { padding: 18px 16px; } }
/* ---- corrections -------------------------------------------------------
   1. Figures cut from a board carry the board's own background, so painting
      white behind them showed as a pale border on some and not others. The
      backing is dropped; the hard shadow alone separates them from the page.
   2. The alternative concept is a side note, not a second main thread, so its
      pictures run smaller than the chosen direction's. */
.pz-fig img, .pz-card > img, .pz-pair img, .pz-sw img, .pz-strip img, .pz-opts img {
  background: none;
}
.pz-alt { padding: 20px 22px; }
.pz-alt .pz-h { font-size: clamp(15px, 1.3vw, 18px); }
.pz-alt .pz-fig img, .pz-alt .pz-card > img {
  max-height: 190px; width: auto; max-width: 100%;
}
.pz-alt .pz-cards { gap: 16px; }
.pz-alt .pz-card { padding: 14px; }
.pz-alt p { font-size: 14px; }
.pz-col.pz-tint .pz-fig img { max-height: 190px; width: auto; }
@media (max-width: 620px) { .pz-alt .pz-fig img, .pz-alt .pz-card > img { max-height: 140px; } }
/* The chosen direction has to outweigh the alternative on the page, not just
   in the wording. The selected column takes most of the width and its pictures
   run large; the alternative is a narrow column with small ones. */
.pz-cols.pz-main-alt {
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  align-items: start;
}
.pz-cols.pz-main-alt > .pz-col:first-child .pz-row > .pz-fig img { max-height: 260px; }
.pz-col.pz-tint .pz-fig img,
.pz-cols.pz-main-alt > .pz-col.pz-tint .pz-fig img { max-height: 125px; width: auto; }
/* the turtle panel inside a section is a footnote to it */
.pz-alt .pz-fig img, .pz-alt .pz-card > img { max-height: 150px; }
.pz-alt .pz-cards.pz-3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 820px) {
  .pz-cols.pz-main-alt { grid-template-columns: minmax(0, 1fr); }
  .pz-cols.pz-main-alt > .pz-col.pz-tint .pz-fig img { max-height: 150px; }
}
/* A figure inside a sub-step was taking whatever width it was given, so a wide
   sketch sheet rendered a metre tall. They are held to a readable band, the
   way the board sets them against its text. */
.pz-sub .pz-fig img { max-height: 340px; width: auto; max-width: 100%; }
.pz-sub .pz-stack .pz-fig img { max-height: 230px; }
.pz-sub .pz-row > .pz-fig img { max-height: 300px; }
@media (max-width: 760px) { .pz-sub .pz-fig img { max-height: 220px; } }
/* ==========================================================
   palette-v2
   Carnelian, orange and dandelion against skobeloff and jungle green, with a
   warm sand for paper. Scoped to the page that opts in, so the rest of the
   site keeps the old scheme while this is being judged. Every token the site
   already uses is redefined here, so nothing has to be restyled.
   ========================================================== */
body.palette-v2 {
  --red: #AD0417;          /* Carnelian */
  --red-deep: #7C020F;
  --orange: #F9810D;       /* Orange */
  --mustard: #FFB242;      /* Dandelion */
  --blue: #266A6A;         /* Skobeloff, in the slot the old teal-blue held */
  --blue-deep: #012B2A;    /* Jungle Green */
  --cream: #EFE3C8;        /* the sand from the second reference */
  --paper: #F8F1E0;
  --ink: #012B2A;          /* jungle green reads as the near black here */
  --ink-2: #1D4140;
  --muted: #6E7F72;
}

/* Jungle green is lighter than the old near black, so type set on it needs the
   warm paper rather than the cream to stay crisp. */
body.palette-v2 .bg-ink { background: var(--ink); color: var(--paper); }
body.palette-v2 .bg-blue { background: var(--blue); color: var(--paper); }
body.palette-v2 .bg-red { background: var(--red); color: var(--paper); }

/* Orange is the one colour the old scheme had no slot for. It carries the
   accents that used to fall back to mustard, so the palette reads complete. */
body.palette-v2 .zbtn { box-shadow: 5px 5px 0 var(--orange); }
body.palette-v2 .zbtn:hover { box-shadow: 3px 3px 0 var(--orange); }
body.palette-v2 .zbtn.light { box-shadow: 5px 5px 0 var(--ink); }
body.palette-v2 .zbtn.light:hover { box-shadow: 3px 3px 0 var(--ink); }
body.palette-v2 .panel-cream .zmore { box-shadow: 5px 5px 0 var(--orange); }
body.palette-v2 .work-pop li a[aria-current="page"] { background: var(--cream); }
/* ==========================================================
   mag — the editorial trial
   A design monthly: Bodoni for display, the grotesque kept for body and
   captions, paper carrying the page with the palette reduced to rules and
   numerals, a 12 column grid used asymmetrically, and the collage idiom
   (tilts, pushpins, hard offset shadows) removed. Scoped to the page that
   opts in, so the rest of the site is untouched.
   ========================================================== */

body.mag {
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --grid: repeat(12, minmax(0, 1fr));
  --col-gap: 28px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

/* ---- the page sheds its colour blocks: paper carries everything ---- */
body.mag .zs { background: var(--paper); color: var(--ink); padding: 110px 0; overflow: visible; }
body.mag .zs.bg-blue,
body.mag .zs.bg-red,
body.mag .zs.bg-mustard,
body.mag .zs.bg-cream,
body.mag .zs.bg-sand { background: var(--paper); color: var(--ink); }
/* one dark close, so the page ends on something */
body.mag .pro-footer, body.mag .zs.bg-ink { background: var(--ink); color: var(--paper); }

/* a hairline rule opens each section, with its number set in the accent */
body.mag .zs + .zs { border-top: 1px solid rgba(1, 43, 42, .18); }

/* ---- display type ---- */
body.mag .mega, body.mag h1, body.mag h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  text-transform: none;
  color: var(--ink);
}
body.mag .mega { font-size: clamp(44px, 7.2vw, 104px); }
body.mag .misreg { text-shadow: none; }
body.mag .t-red, body.mag .t-cream, body.mag .t-ink, body.mag .t-blue { color: var(--ink); }
body.mag h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

/* body copy and the small caps that label things */
body.mag p, body.mag li { font-family: var(--sans); }
body.mag .vlabel,
body.mag .zfolder-num,
body.mag .case-num,
body.mag .chip {
  font-family: var(--label); text-transform: uppercase;
  letter-spacing: .14em; font-size: 10.5px; font-weight: 700;
}

/* ---- collage removed ---- */
body.mag .cutout,
body.mag .ztile .cutout,
body.mag .paper-block,
body.mag .hero-portrait.photo,
body.mag .ab-portrait.photo,
body.mag .case-shot,
body.mag .zfolder-panel {
  transform: none !important;
  box-shadow: none !important;
  border: 0;
  background: transparent;
  padding: 0;
}
body.mag .pin, body.mag .wash { display: none !important; }
body.mag img { border-radius: 0; }

/* the statement is a standfirst, not a pinned note */
body.mag .hero-copy .paper-block {
  background: none; padding: 0; max-width: 46ch;
  font-family: var(--serif); font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.45; color: var(--ink);
}
body.mag mark, body.mag .hl {
  background: none; color: var(--red); padding: 0;
  box-shadow: inset 0 -0.5em 0 rgba(173, 4, 23, .13);
}

/* ---- the grid ---- */
body.mag .pro-wrap {
  width: min(94vw, 1320px); margin-inline: auto;
  display: grid; grid-template-columns: var(--grid); gap: 0 var(--col-gap);
}
body.mag .pro-wrap > * { grid-column: 1 / -1; }

/* section headings take the first five columns, their deck the next four */
body.mag .zs > .pro-wrap > h2 { grid-column: 1 / span 7; margin: 0 0 10px; }
body.mag .zs > .pro-wrap > p  { grid-column: 1 / span 5; color: var(--ink-2); margin: 0 0 54px; }

/* ---- case studies: asymmetric, alternating ---- */
body.mag .case {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: var(--grid); gap: 26px var(--col-gap);
  align-items: start; padding: 0 0 92px;
}
body.mag .case + .case { padding-top: 92px; border-top: 1px solid rgba(1, 43, 42, .18); }
body.mag .case-shot { grid-column: 1 / span 7; display: block; }
body.mag .case-text { grid-column: 9 / span 4; }
/* every other one flips, which is what gives a feature its rhythm */
body.mag .case:nth-child(even) .case-shot { grid-column: 6 / span 7; }
body.mag .case:nth-child(even) .case-text { grid-column: 1 / span 4; }
body.mag .case-shot img { width: 100%; height: auto; display: block; }
body.mag .case h3 { font-size: clamp(30px, 3.4vw, 52px); margin: 0 0 12px; }
body.mag .case-num { color: var(--red); display: block; margin-bottom: 14px; }
body.mag .case-blurb { font-size: 16px; color: var(--ink-2); max-width: 40ch; }
body.mag .chips { margin: 16px 0 0; }
body.mag .chip {
  background: none; color: var(--muted); border: 1px solid rgba(1,43,42,.25);
  padding: 5px 9px; margin: 0 6px 6px 0;
}
/* the step list under a case becomes a plate list */
body.mag .case-steps { margin-top: 20px; border-top: 1px solid rgba(1,43,42,.18); padding-top: 14px; }
body.mag .case-steps a { font-size: 13px; color: var(--ink-2); }
body.mag .case-steps img { display: none; }

/* ---- research pair ---- */
body.mag .duo { grid-column: 1 / -1; display: grid; grid-template-columns: var(--grid); gap: 46px var(--col-gap); }
body.mag .duo > * { grid-column: span 6; }

/* ---- folders become plate sections, not coloured panels ---- */
body.mag .zfolder { background: none; margin-top: 76px; }
body.mag .zfolder + .zfolder { border-top: 1px solid rgba(1,43,42,.18); padding-top: 60px; }
body.mag .zfolder-tab {
  background: none; color: var(--ink); border: 0; padding: 0; margin: 0 0 8px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 38px);
  display: flex; align-items: baseline; gap: 14px;
}
body.mag .zfolder-num { color: var(--red); }
body.mag .zfolder-tab small { font-family: var(--label); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
body.mag .zfolder-intro { max-width: 52ch; color: var(--ink-2); margin: 0 0 30px; }
body.mag .ztiles { gap: 30px var(--col-gap); }
body.mag .ztile { background: none; border: 0; box-shadow: none; }
body.mag .ztile-img img { width: 100%; height: auto; }
body.mag .ztile-title {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .1em;
  font-size: 11px; font-weight: 700; color: var(--ink); margin-top: 10px; display: block;
}
body.mag .zcount { background: none; color: var(--muted); font-size: 10px; letter-spacing: .12em; }

/* ---- buttons: a rule and a word, not a slab ---- */
body.mag .zbtn {
  background: none !important; color: var(--ink) !important;
  border: 0; border-bottom: 2px solid var(--red);
  box-shadow: none !important; padding: 4px 0; margin-right: 26px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .12em;
  font-size: 11px; font-weight: 700;
}
body.mag .zbtn:hover { transform: none; border-bottom-color: var(--orange); }

/* ---- the quiet fixed header ---- */
body.mag .pro-header {
  background: rgba(248, 241, 224, .94);
  border-bottom: 1px solid rgba(1, 43, 42, .18);
  backdrop-filter: saturate(140%) blur(8px);
}
body.mag .pro-mark {
  font-family: var(--serif); font-weight: 400; letter-spacing: .01em;
  text-transform: none; font-size: 19px; color: var(--ink);
}
body.mag .pro-header nav a {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .13em;
  font-size: 10.5px; font-weight: 700; color: var(--ink-2); background: none;
}
body.mag .pro-header nav a[aria-current="page"] { color: var(--red); background: none; }

/* ---- footer ---- */
body.mag .pro-footer .mega { color: var(--paper); }
body.mag .pro-footer a { color: var(--mustard); }

@media (max-width: 900px) {
  body.mag .pro-wrap { width: 92vw; }
  body.mag .case-shot, body.mag .case-text,
  body.mag .case:nth-child(even) .case-shot,
  body.mag .case:nth-child(even) .case-text { grid-column: 1 / -1; }
  body.mag .zs > .pro-wrap > h2, body.mag .zs > .pro-wrap > p { grid-column: 1 / -1; }
  body.mag .duo > * { grid-column: 1 / -1; }
  body.mag .zs { padding: 70px 0; }
}
/* the hero name's colour bars and misregistration belong to the zine, not to
   a magazine cover: the serif carries it on its own */
body.mag .hero-name span::before,
body.mag .hero-name span::after { display: none; }
body.mag .hero-name { font-size: clamp(3rem, 9vw, 7.6rem); line-height: .95; }
body.mag .hero-name span { padding-right: 0; }

/* the standfirst keeps the serif; body.mag p was overriding it */
body.mag .hero-copy .paper-block p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

/* the chips above the name read as a dateline */
body.mag .hero-chips { gap: 0 18px; margin-bottom: 34px; }
body.mag .hero-chips .hl {
  background: none; color: var(--muted); box-shadow: none; padding: 0;
  font-family: var(--label); text-transform: uppercase;
  letter-spacing: .14em; font-size: 10.5px; font-weight: 700;
}
body.mag .hero-chips .hl + .hl::before { content: "\00b7"; margin-right: 18px; color: var(--muted); }

/* the hero sits on the grid like everything else */
body.mag .hero .pro-wrap { align-items: start; }
body.mag .hero-copy { grid-column: 1 / span 7; }
body.mag .hero-me { grid-column: 9 / span 4; }
body.mag .hero-me img { width: 100%; height: auto; }
body.mag .hero-arrow, body.mag .hero svg { display: none; }
@media (max-width: 900px) {
  body.mag .hero-copy, body.mag .hero-me { grid-column: 1 / -1; }
}
/* ---- case studies on the home page use .spread, not .case ---------------
   An asymmetric pair on the 12 column grid: artwork across seven columns,
   the deck in four, flipping every other one so the feature has a rhythm. */
body.mag #spreads { display: grid; gap: 0; }
body.mag .spread {
  display: grid; grid-template-columns: var(--grid); gap: 26px var(--col-gap);
  align-items: center; padding: 86px 0; margin: 0;
  background: none; border: 0;
}
body.mag .spread + .spread { border-top: 1px solid rgba(1, 43, 42, .18); }
body.mag .spread-art { grid-column: 1 / span 7; display: block; position: relative; }
body.mag .spread > div { grid-column: 9 / span 4; }
body.mag .spread:nth-of-type(even) .spread-art { grid-column: 6 / span 7; }
body.mag .spread:nth-of-type(even) > div { grid-column: 1 / span 4; }
body.mag .spread-art img { width: 100%; height: auto; display: block; }
body.mag .spread .cutout, body.mag .spread .wash-box { display: block; padding: 0; background: none; }

/* the numeral becomes a folio mark in the accent colour */
body.mag .spread-num {
  position: static; display: block; margin: 0 0 12px;
  font-family: var(--label); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; color: var(--acc, var(--red));
  background: none; padding: 0; border: 0; box-shadow: none;
  -webkit-text-stroke: 0; text-shadow: none;
}
body.mag .spread h3.big {
  font-family: var(--serif); font-weight: 400; text-transform: none;
  font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02;
  letter-spacing: -0.015em; margin: 0 0 14px; color: var(--ink);
}
body.mag .spread .hl {
  background: none; box-shadow: none; padding: 0; color: var(--muted);
  font-family: var(--label); text-transform: uppercase;
  letter-spacing: .14em; font-size: 10.5px; font-weight: 700;
}
body.mag .spread .body-copy { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 42ch; margin: 0 0 18px; }
body.mag .ztags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; }
body.mag .ztags li {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .1em;
  font-size: 10px; font-weight: 700; color: var(--muted);
  border: 1px solid rgba(1, 43, 42, .25); padding: 5px 9px; background: none;
}
@media (max-width: 900px) {
  body.mag .spread { padding: 54px 0; }
  body.mag .spread-art, body.mag .spread > div,
  body.mag .spread:nth-of-type(even) .spread-art,
  body.mag .spread:nth-of-type(even) > div { grid-column: 1 / -1; }
}
/* ==========================================================
   mag, second pass — the business card, at magazine scale
   Stone paper and near-black from the card, its letterspaced serif caps blown
   up until the size itself is the boldness, and the film photograph's amber
   and dusk teal alternating as accents. Colour is rationed to rules, numerals
   and a single highlighted phrase. A fine grain sits over the page so the
   stone reads as pressed stock rather than a flat fill.
   ========================================================== */

body.palette-v2.mag {
  --stone: #E7E2D9;        /* the card */
  --stone-deep: #DAD4C8;
  --ink: #16150F;          /* the card's near black */
  --ink-2: #413E35;
  --muted: #837C6E;
  --amber: #C8732F;        /* the sun in the film photograph */
  --amber-soft: #E08A3C;
  --teal: #2E4A57;         /* its sky and sea */

  /* the site's existing tokens are remapped onto the new scheme, so nothing
     downstream has to be rewritten */
  --paper: var(--stone);
  --cream: var(--stone-deep);
  --red: var(--amber);
  --red-deep: #A65A22;
  --blue: var(--teal);
  --blue-deep: #203742;
  --mustard: var(--amber-soft);
  --orange: var(--amber);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  background: var(--stone);
  color: var(--ink);
}

/* ---- pressed paper ----------------------------------------------------
   A fine fractal noise laid over the whole page at very low opacity. It is
   fixed, so it behaves like the surface the page is printed on rather than
   something that scrolls with the content. Photographs sit above it. */
body.palette-v2.mag::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}
body.palette-v2.mag > * { position: relative; z-index: 2; }

/* ---- display: the card's caps, letterspaced, set large ---- */
body.palette-v2.mag .mega,
body.palette-v2.mag h1,
body.palette-v2.mag h2,
body.palette-v2.mag h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .085em;
  line-height: 1.04;
  color: var(--ink);
}
body.palette-v2.mag .mega { font-size: clamp(38px, 6.4vw, 92px); }

/* the hero reads like the card: name, rule, letterspaced role */
body.palette-v2.mag .hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
body.palette-v2.mag .hero-name { order: 1; margin: 0; font-size: clamp(2.6rem, 7.6vw, 6.4rem); letter-spacing: .09em; }
body.palette-v2.mag .hero-chips { order: 2; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--ink); width: 100%; max-width: 560px; }
body.palette-v2.mag .hero-copy .paper-block { order: 3; margin-top: 40px; }
body.palette-v2.mag .hero-copy .zactions { order: 4; margin-top: 36px; }
body.palette-v2.mag .hero-chips .hl {
  letter-spacing: .3em; font-size: 10px; color: var(--ink-2);
}
body.palette-v2.mag .hero-chips .hl + .hl::before { content: "/"; margin-right: 18px; color: var(--muted); }

/* the standfirst stays serif but drops to lower case, so the caps above it
   keep their authority */
body.palette-v2.mag .hero-copy .paper-block p {
  font-family: var(--serif); text-transform: none; letter-spacing: 0;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.5; font-weight: 400;
}
body.palette-v2.mag mark, body.palette-v2.mag .hero-copy .hl {
  color: var(--amber); box-shadow: none; background: none; font-style: italic;
}

/* ---- the accent alternates down the page ---- */
body.palette-v2.mag .spread:nth-of-type(odd)  { --acc: var(--amber) !important; }
body.palette-v2.mag .spread:nth-of-type(even) { --acc: var(--teal) !important; }
body.palette-v2.mag .spread-num { color: var(--acc); letter-spacing: .28em; }
body.palette-v2.mag .spread h3.big { font-size: clamp(26px, 2.9vw, 42px); letter-spacing: .07em; }
body.palette-v2.mag .spread > div { border-top: 1px solid var(--acc); padding-top: 20px; }
body.palette-v2.mag .spread + .spread { border-top: 1px solid rgba(22, 21, 15, .16); }

/* section headings and their folios */
body.palette-v2.mag .zs > .pro-wrap > h2 { letter-spacing: .08em; }
body.palette-v2.mag .vlabel { color: var(--muted); letter-spacing: .3em; }
body.palette-v2.mag .zfolder-num { color: var(--amber); letter-spacing: .24em; }
body.palette-v2.mag .zfolder:nth-of-type(even) .zfolder-num { color: var(--teal); }
body.palette-v2.mag .zfolder-tab { letter-spacing: .07em; }

/* links are a word over a hairline in the accent */
body.palette-v2.mag .zbtn {
  border-bottom-color: var(--amber);
  letter-spacing: .24em; font-size: 10px; color: var(--ink) !important;
}
body.palette-v2.mag .zbtn:hover { border-bottom-color: var(--teal); }

/* tags lose their boxes: small caps on a rule reads quieter */
body.palette-v2.mag .ztags li, body.palette-v2.mag .chip {
  border: 0; border-top: 1px solid rgba(22, 21, 15, .2);
  padding: 7px 0 0; margin-right: 22px; letter-spacing: .2em; color: var(--muted);
}

/* ---- header and footer ---- */
body.palette-v2.mag .pro-header {
  background: rgba(231, 226, 217, .93);
  border-bottom: 1px solid rgba(22, 21, 15, .2);
}
body.palette-v2.mag .pro-mark {
  text-transform: uppercase; letter-spacing: .22em; font-size: 14px;
}
body.palette-v2.mag .pro-header nav a { letter-spacing: .2em; font-size: 10px; }
body.palette-v2.mag .pro-header nav a[aria-current="page"] { color: var(--amber); }
body.palette-v2.mag .pro-footer, body.palette-v2.mag .zs.bg-ink { background: var(--ink); color: var(--stone); }
body.palette-v2.mag .pro-footer .mega { color: var(--stone); }
body.palette-v2.mag .pro-footer a { color: var(--amber-soft); }
/* `.misreg` set the name in cream for the old scheme's misregistered print
   effect. With the shadow removed, and cream now close to the stone, it was
   invisible, so the name takes the ink directly. */
body.palette-v2.mag .misreg,
body.palette-v2.mag .hero-name,
body.palette-v2.mag .hero-name span { color: var(--ink); text-shadow: none; -webkit-text-stroke: 0; }

/* the taped-photo decoration belongs to the collage, not the card */
body.palette-v2.mag .hero-portrait::before,
body.palette-v2.mag .hero-portrait::after,
body.palette-v2.mag .hero-me::before,
body.palette-v2.mag .hero-me::after,
body.palette-v2.mag .tape { display: none !important; }
body.palette-v2.mag .hero-portrait, body.palette-v2.mag .hero-me {
  background: none; padding: 0; box-shadow: none; transform: none;
}
/* The hero's parts are siblings of a .hero-grid wrapper, not children of
   .hero-copy, so the card's sequence has to be set on the wrap itself:
   name, rule and role, then the statement and portrait beneath. */
body.palette-v2.mag .hero .pro-wrap { align-items: start; row-gap: 0; }
body.palette-v2.mag .hero-name  { order: 1; grid-column: 1 / span 10; margin: 0; }
body.palette-v2.mag .hero-chips { order: 2; grid-column: 1 / span 7; }
body.palette-v2.mag .hero-grid  { order: 3; grid-column: 1 / -1; margin-top: 64px; }

/* inside the wrapper, the statement takes the measure and the portrait the
   outer columns, as a feature opening would */
body.palette-v2.mag .hero-grid {
  display: grid; grid-template-columns: var(--grid); gap: 40px var(--col-gap);
  align-items: start;
}
body.palette-v2.mag .hero-copy { grid-column: 1 / span 6; }
body.palette-v2.mag .hero-me   { grid-column: 8 / span 4; }
body.palette-v2.mag .hero-copy .paper-block { order: 0; margin-top: 0; }
body.palette-v2.mag .hero-copy .zactions { order: 1; margin-top: 34px; }

@media (max-width: 900px) {
  body.palette-v2.mag .hero-name,
  body.palette-v2.mag .hero-chips,
  body.palette-v2.mag .hero-copy,
  body.palette-v2.mag .hero-me { grid-column: 1 / -1; }
  body.palette-v2.mag .hero-grid { margin-top: 40px; }
}
/* ==========================================================
   mag, third pass — heavier, and teal only
   The amber is dropped: dusk teal is the single accent, so the page reads as
   one colour against stone rather than two alternating. Display weight goes
   up to 700 and the small caps to a heavier grade, so the type carries more
   authority without losing the card's letterforms.
   ========================================================== */

/* one accent, used everywhere the amber was */
body.palette-v2.mag {
  --amber: #2E4A57;
  --amber-soft: #3C6273;
  --red: #2E4A57;
  --red-deep: #203742;
  --mustard: #3C6273;
  --orange: #2E4A57;
}

/* ---- heavier display ---- */
body.palette-v2.mag .mega,
body.palette-v2.mag h1,
body.palette-v2.mag h2,
body.palette-v2.mag h3,
body.palette-v2.mag .zfolder-tab {
  font-weight: 700;
  letter-spacing: .055em;
}
body.palette-v2.mag .mega { font-size: clamp(42px, 7vw, 104px); }
body.palette-v2.mag .hero-name { font-weight: 700; font-size: clamp(2.9rem, 8.4vw, 7.2rem); letter-spacing: .06em; }
body.palette-v2.mag .spread h3.big { font-weight: 700; font-size: clamp(30px, 3.3vw, 50px); letter-spacing: .05em; }
body.palette-v2.mag .zfolder-tab { font-size: clamp(26px, 2.8vw, 42px); }

/* the standfirst gains weight too, so it holds its own under the name */
body.palette-v2.mag .hero-copy .paper-block p {
  font-weight: 500;
  font-size: clamp(21px, 2.1vw, 30px);
}

/* ---- heavier small caps throughout ---- */
body.palette-v2.mag .hero-chips .hl,
body.palette-v2.mag .spread-num,
body.palette-v2.mag .zfolder-num,
body.palette-v2.mag .vlabel,
body.palette-v2.mag .zbtn,
body.palette-v2.mag .ztags li,
body.palette-v2.mag .chip,
body.palette-v2.mag .ztile-title,
body.palette-v2.mag .pro-header nav a,
body.palette-v2.mag .pro-mark {
  font-weight: 800;
}
body.palette-v2.mag .spread-num { font-size: 12px; }
body.palette-v2.mag .zbtn { font-size: 11px; border-bottom-width: 2px; }
body.palette-v2.mag .hero-chips .hl { font-size: 11px; color: var(--ink); }

/* ---- everything that was amber is now the one teal ---- */
body.palette-v2.mag .spread:nth-of-type(odd),
body.palette-v2.mag .spread:nth-of-type(even) { --acc: var(--teal) !important; }
body.palette-v2.mag .spread-num,
body.palette-v2.mag .zfolder-num,
body.palette-v2.mag .zfolder:nth-of-type(even) .zfolder-num,
body.palette-v2.mag .pro-header nav a[aria-current="page"],
body.palette-v2.mag mark,
body.palette-v2.mag .hero-copy .hl { color: var(--teal); }
body.palette-v2.mag .zbtn { border-bottom-color: var(--teal); }
body.palette-v2.mag .zbtn:hover { border-bottom-color: var(--ink); }
body.palette-v2.mag .spread > div { border-top: 2px solid var(--teal); }
body.palette-v2.mag .pro-footer a { color: var(--amber-soft); }

/* the rule under the name carries the accent now that it is the only one */
body.palette-v2.mag .hero-chips { border-top: 2px solid var(--teal); }
/* the heavier name pushed the calls to action below the fold on a laptop, so
   the opening is tightened to bring them back into the first screen */
body.palette-v2.mag .hero { padding-top: 74px; padding-bottom: 80px; }
body.palette-v2.mag .hero-grid { margin-top: 42px; }
body.palette-v2.mag .hero-chips { margin-top: 22px; padding-top: 20px; }
body.palette-v2.mag .hero-copy .zactions { margin-top: 26px; }
body.palette-v2.mag .hero-copy .paper-block p { font-size: clamp(19px, 1.85vw, 26px); line-height: 1.45; }
/* ==========================================================
   mag, fourth pass — the deck's structure over the card's letterforms
   The presentation reference is tight and heavy where the card is spaced and
   fine, so the two are given different jobs: the name keeps the card's
   letterspacing, while section headings and project titles take the deck's
   tight heavy caps. Folio numbers become parenthetical and large, captions
   become dense blocks of small caps hung on rules.
   ========================================================== */

/* ---- section headings: the deck's tight, heavy caps, much larger ---- */
body.palette-v2.mag .zs > .pro-wrap > h2,
body.palette-v2.mag .mega {
  font-weight: 700;
  letter-spacing: -0.005em;      /* tight, like the deck */
  line-height: 0.92;
  font-size: clamp(54px, 10vw, 148px);
}
body.palette-v2.mag .zs > .pro-wrap > h2 { grid-column: 1 / span 10; }

/* the deck hangs a rule under its headings */
body.palette-v2.mag .zs > .pro-wrap > h2::after {
  content: ""; display: block; height: 3px; background: var(--teal);
  margin-top: 22px; width: 100%;
}
body.palette-v2.mag .zs > .pro-wrap > p { margin-top: 20px; }

/* the name stays the card: spaced, but larger and heavier */
body.palette-v2.mag .hero-name {
  font-weight: 700;
  letter-spacing: .055em;
  font-size: clamp(3.1rem, 9.2vw, 8.2rem);
  line-height: 1.0;
}

/* ---- project titles: tight and heavy, bigger ---- */
body.palette-v2.mag .spread h3.big {
  font-weight: 700;
  letter-spacing: -0.005em;
  font-size: clamp(38px, 4.4vw, 70px);
  line-height: 0.95;
  margin: 0 0 16px;
}
body.palette-v2.mag .zfolder-tab {
  font-weight: 700; letter-spacing: -0.005em;
  font-size: clamp(34px, 3.8vw, 58px);
}

/* ---- folio numbers, parenthetical and large, as the deck sets them ---- */
body.palette-v2.mag .spread-num {
  font-family: var(--serif); font-weight: 700; letter-spacing: 0;
  font-size: clamp(30px, 3.2vw, 46px); line-height: 1;
  color: var(--teal); margin-bottom: 18px;
}
body.palette-v2.mag .spread-num::before { content: "("; }
body.palette-v2.mag .spread-num::after  { content: ")"; }
body.palette-v2.mag .zfolder-num {
  font-family: var(--serif); font-weight: 700; letter-spacing: 0;
  font-size: .8em; color: var(--teal);
}
body.palette-v2.mag .zfolder-num::before { content: "("; }
body.palette-v2.mag .zfolder-num::after  { content: ")"; }

/* ---- dense caption blocks hung on rules, the deck's other signature ---- */
body.palette-v2.mag .spread .body-copy {
  font-size: 13.5px; line-height: 1.45; letter-spacing: .01em;
  color: var(--ink); max-width: 34ch; margin: 0 0 20px;
}
body.palette-v2.mag .spread .hl {
  font-weight: 800; letter-spacing: .22em; font-size: 10px; color: var(--teal);
}
body.palette-v2.mag .ztags {
  border-top: 1px solid var(--ink); padding-top: 12px; gap: 0; display: block;
}
body.palette-v2.mag .ztags li {
  display: block; border: 0; padding: 0 0 4px; margin: 0;
  font-size: 9.5px; letter-spacing: .2em; font-weight: 800;
  line-height: 1.5; color: var(--ink-2);
}
body.palette-v2.mag .spread > div { border-top-width: 3px; padding-top: 18px; }

/* ---- the dateline tightens into one dense stack ---- */
body.palette-v2.mag .hero-chips { border-top-width: 3px; }
body.palette-v2.mag .hero-chips .hl {
  font-size: 10px; letter-spacing: .24em; line-height: 1.9; font-weight: 800;
}

/* ---- links read as hard labels ---- */
body.palette-v2.mag .zbtn {
  font-size: 11px; letter-spacing: .2em; font-weight: 800;
  border-bottom-width: 3px; padding-bottom: 5px;
}

@media (max-width: 900px) {
  body.palette-v2.mag .zs > .pro-wrap > h2,
  body.palette-v2.mag .mega { font-size: clamp(40px, 12vw, 70px); }
  body.palette-v2.mag .spread h3.big { font-size: clamp(30px, 8vw, 44px); }
}
/* ==========================================================
   mag, fifth pass — the deck's heading structure, correctly aimed
   The section heading is wrapped in .sec-title, so the fourth pass aimed its
   rule at a child that does not exist and nothing was drawn. This points at
   the real element, pushes the display sizes up another step, and carries the
   same treatment onto the research cards, which were left behind.
   ========================================================== */

body.palette-v2.mag .sec-title h2,
body.palette-v2.mag .mega {
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 0.88;
  font-size: clamp(60px, 11.5vw, 172px);
}

/* the deck hangs a heavy rule under every heading, with the standfirst
   sitting under it rather than beside it */
body.palette-v2.mag .sec-title {
  display: block;
  border-bottom: 4px solid var(--teal);
  padding-bottom: 26px;
  margin-bottom: 54px;
}
body.palette-v2.mag .sec-title p {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ink);
}

/* the name takes the same step up, keeping the card's open letterspacing */
body.palette-v2.mag .hero-name {
  font-weight: 700;
  letter-spacing: .05em;
  font-size: clamp(3.3rem, 10.4vw, 9.4rem);
  line-height: 0.98;
}

/* project and research titles, matched to each other and set heavier */
body.palette-v2.mag .spread h3.big,
body.palette-v2.mag .card h3.big {
  font-weight: 700;
  letter-spacing: -0.012em;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.93;
  margin: 0 0 16px;
  color: var(--ink);
}
body.palette-v2.mag .card p {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 40ch;
}
body.palette-v2.mag .zfolder-tab {
  font-weight: 700; letter-spacing: -0.012em;
  font-size: clamp(38px, 4.4vw, 66px);
}

@media (max-width: 900px) {
  body.palette-v2.mag .sec-title h2,
  body.palette-v2.mag .mega { font-size: clamp(42px, 13vw, 76px); }
  body.palette-v2.mag .spread h3.big,
  body.palette-v2.mag .card h3.big { font-size: clamp(32px, 9vw, 48px); }
}
/* ==========================================================
   swiss — the ruled grid layer
   The reference is a Swiss poster made into a page: a hairline grid ruled
   across the whole screen, one full bleed photograph behind it, the name set
   so large it runs off the edges, and everything else reduced to small
   neutral type snapped into single cells. The serif stays for display, so the
   business card is still underneath it.
   ========================================================== */

body.palette-v2.mag.swiss {
  --cell: 12.5vw;                      /* square cells, eight across */
  --rule: rgba(22, 21, 15, .22);
}

/* the grid itself: fixed, so it stays put while the page moves under it */
body.palette-v2.mag.swiss > .swiss-grid {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right,  var(--rule) 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px var(--cell));
}
body:not(.swiss) .swiss-grid { display: none; }

/* ---- the opening screen ---- */
body.palette-v2.mag.swiss .hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;                    /* this is what clips the name */
  display: flex;
  align-items: stretch;
}



body.palette-v2.mag.swiss .hero .vlabel { z-index: 4; }

/* the opening screen is laid out on the same eight cells as the grid, so
   everything in it lands on a line */
body.palette-v2.mag.swiss .hero .pro-wrap {
  position: relative; z-index: 3;
  width: 100%; max-width: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: var(--cell) 1fr auto;
  min-height: 100svh;
  padding-bottom: 34px;
  column-gap: 0;
}

/* the dateline sits under the wordmark, in the first cell of the top row */
body.palette-v2.mag.swiss .hero-chips {
  grid-column: 1 / span 3; grid-row: 1;
  align-self: end; margin: 0 0 14px; padding: 0 0 0 26px; border: 0;
  display: block;
}
body.palette-v2.mag.swiss .hero-chips .hl {
  display: block; background: none; color: var(--ink);
  font-size: 9.5px; letter-spacing: .2em; line-height: 1.8; font-weight: 700;
  padding: 0;
}

/* the name, set past the width of the screen and cut by its edges */
body.palette-v2.mag.swiss .hero-name {
  grid-column: 1 / -1; grid-row: 2;
  align-self: center;
  margin: 0 0 0 -1vw;
  font-size: clamp(96px, 19.5vw, 340px);
  line-height: .76;
  letter-spacing: -.02em;
  white-space: nowrap;
}
body.palette-v2.mag.swiss .hero-name span { display: block; }
body.palette-v2.mag.swiss .hero-name span:nth-child(2) { margin-left: 12vw; }

/* .hero-grid only existed to pair the copy with the portrait; on this layout
   its two halves are placed on the grid themselves */
body.palette-v2.mag.swiss .hero-grid { display: contents; }

/* the statement, as a caption block pinned into two cells on the right */
body.palette-v2.mag.swiss .hero-copy {
  grid-column: 6 / span 2; grid-row: 3;
  align-self: start; margin-top: 22px;
}
body.palette-v2.mag.swiss .hero-copy .paper-block { margin: 0; padding: 0; background: none; border: 0; }
body.palette-v2.mag.swiss .hero-copy p {
  font-size: 11px; line-height: 1.6; letter-spacing: .005em; margin: 0;
}
body.palette-v2.mag.swiss .hero-copy .hl-text { background: none; font-style: italic; }

/* the links become the reference's small stacked list */
body.palette-v2.mag.swiss .zactions { display: block; margin-top: 18px; }
body.palette-v2.mag.swiss .hero .zbtn {
  display: block; border: 0; box-shadow: none; background: none;
  padding: 0; margin: 0 0 3px;
  font-size: 9.5px; letter-spacing: .18em; font-weight: 700; color: var(--ink);
}
body.palette-v2.mag.swiss .hero .zbtn:hover { color: var(--teal); }

/* the portrait keeps its place, shrunk to a single cell at the bottom left */
body.palette-v2.mag.swiss .hero-me {
  grid-column: 2 / span 1; grid-row: 3;
  align-self: start; margin-top: 22px;
  width: var(--cell); max-width: var(--cell); min-width: 0;
}
body.palette-v2.mag.swiss .hero-me img { width: 100%; height: auto; filter: grayscale(1); }
body.palette-v2.mag.swiss .hero-me .mark { display: none; }

/* the page number, as the reference sets it: a small one over a large one */
body.palette-v2.mag.swiss .swiss-folio {
  grid-column: 1 / span 1; grid-row: 3;
  align-self: start; margin: 20px 0 0; padding-left: 26px;
  font-family: var(--serif); font-weight: 700; line-height: 1;
  font-size: 52px; color: var(--ink);
}
body.palette-v2.mag.swiss .swiss-folio span {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; color: var(--teal); margin-bottom: 2px;
}
body:not(.swiss) .swiss-folio { display: none; }

/* the sections below keep their layout; they only lose the rule that used to
   separate them, because the grid already draws one */
body.palette-v2.mag.swiss .zs + .zs { border-top: 0; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss { --cell: 25vw; }
  .swiss-grid {
    background-image:
      repeating-linear-gradient(to right,  var(--rule) 0 1px, transparent 1px 25%),
      repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px var(--cell));
  }
  body.palette-v2.mag.swiss .hero .pro-wrap {
    display: block; padding: 120px 22px 60px;
  }
  body.palette-v2.mag.swiss .hero { min-height: 0; }
  body.palette-v2.mag.swiss .hero-name { font-size: clamp(42px, 13vw, 76px); white-space: normal; margin-left: 0; }
  body.palette-v2.mag.swiss .hero-name span:nth-child(2) { margin-left: 0; }
  body.palette-v2.mag.swiss .hero-chips { padding-left: 0; margin-bottom: 22px; }
  body.palette-v2.mag.swiss .hero-grid { display: block; }
  body.palette-v2.mag.swiss .hero-copy { margin-top: 26px; }
  body.palette-v2.mag.swiss .hero-me { max-width: 150px; margin-top: 26px; }
  body.palette-v2.mag.swiss .swiss-folio { padding-left: 0; }
}
/* ==========================================================
   poster — the gig poster palette and duotone
   Taken from the fourth reference: a pale chartreuse ground, one deep petrol
   teal doing all the work in the photograph, and black type over ruled lines.
   The photograph is mapped between those two colours rather than left grey,
   which is what makes a screenprinted poster look like one.
   ========================================================== */

body.palette-v2.mag.swiss {
  --stone: #E7E4BD;          /* the poster's pale chartreuse ground */
  --paper: var(--stone);
  --ink: #101010;            /* a printed black, not the warm near black */
  --ink-2: #3A3A32;
  --teal: #17646C;           /* the petrol the photograph is printed in */
  --teal-deep: #0C3B42;
  --rule: rgba(16, 16, 16, .20);
}

/* the ruled grid picks up a trace of the teal, the way a second plate would */
body.palette-v2.mag.swiss > .swiss-grid {
  background-image:
    repeating-linear-gradient(to right,  rgba(23, 100, 108, .26) 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(to bottom, rgba(16, 16, 16, .13)   0 1px, transparent 1px var(--cell));
}

/* ---- the hero photograph, printed in two inks ---- */
body.palette-v2.mag.swiss .hero { isolation: isolate; }

/* no photographic ground: the posters all stand a single cut-out figure on a
   flat colour, and the type is what fills the sheet */
body.palette-v2.mag.swiss .hero { background: var(--stone); }
body.palette-v2.mag.swiss .hero::before,
body.palette-v2.mag.swiss .hero::after { content: none; }
.hero-plate { display: none; }
/* the teal plate: the shadows are clamped to the petrol */


/* the portrait is printed on the same two plates */
body.palette-v2.mag.swiss .hero-me {
  isolation: isolate; position: relative;
}
body.palette-v2.mag.swiss .hero-me img {
  filter: grayscale(1) contrast(1.1);
}
body.palette-v2.mag.swiss .hero-me::after {
  content: ""; position: absolute; inset: 0;
  background: var(--teal); mix-blend-mode: lighten; pointer-events: none;
}
body.palette-v2.mag.swiss .hero-me::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--stone); mix-blend-mode: darken; pointer-events: none;
}

/* ---- the poster's small annotations, set in the gutters ---- */
body.palette-v2.mag.swiss .hero-chips .hl { color: var(--ink); }
body.palette-v2.mag.swiss .hero-chips .hl:first-child { color: var(--teal); }
body.palette-v2.mag.swiss .swiss-folio { color: var(--ink); }
body.palette-v2.mag.swiss .swiss-folio span { color: var(--teal); }
body.palette-v2.mag.swiss .hero .vlabel { color: var(--teal); }

/* ---- the sections below: black on the pale ground, teal on the rules ---- */
body.palette-v2.mag.swiss .sec-title { border-bottom-color: var(--teal); }
body.palette-v2.mag.swiss .spread > div { border-top-color: var(--teal); }
body.palette-v2.mag.swiss .spread-num,
body.palette-v2.mag.swiss .zfolder-num,
body.palette-v2.mag.swiss .spread .hl { color: var(--teal); }
body.palette-v2.mag.swiss .ztags { border-top-color: var(--teal); }
body.palette-v2.mag.swiss .zbtn { color: var(--ink); border-bottom-color: var(--teal); }
body.palette-v2.mag.swiss .zbtn:hover { color: var(--teal); }
body.palette-v2.mag.swiss .pro-footer,
body.palette-v2.mag.swiss .zs.bg-ink { background: var(--teal-deep); color: var(--stone); }
/* ==========================================================
   poster, second pass — the figure on a flat sheet
   The hero loses its photograph. The posters all stand one cut-out figure on
   a flat colour and let the type fill the rest of the sheet, so the portrait
   is enlarged into that role, printed in the petrol ink, with the name run
   straight across it.
   ========================================================== */

body.palette-v2.mag.swiss .hero { background: var(--stone); }
body.palette-v2.mag.swiss .hero::before,
body.palette-v2.mag.swiss .hero::after { content: none; }
.hero-plate { display: none; }

/* the figure: three cells wide, standing on the bottom line of the sheet */
body.palette-v2.mag.swiss .hero-me {
  grid-column: 5 / span 3; grid-row: 1 / span 3;
  align-self: end; justify-self: center;
  width: 100%; max-width: none; min-width: 0;
  margin: 0; z-index: 1;
  isolation: isolate; position: relative;
}
body.palette-v2.mag.swiss .hero-me img {
  display: block; width: 100%; height: auto;
  filter: contrast(1.12) url(#duotone);
}
body.palette-v2.mag.swiss .hero-me::before,
body.palette-v2.mag.swiss .hero-me::after { content: none; }
body.palette-v2.mag.swiss .hero-portrait,
body.palette-v2.mag.swiss .hero-portrait .tape { background: none; border: 0; box-shadow: none; }
body.palette-v2.mag.swiss .hero-portrait .tape { display: none; }

/* the page number moves out of the figure column, to the last cell */
body.palette-v2.mag.swiss .swiss-folio {
  grid-column: 8 / span 1; grid-row: 3;
  align-self: end; justify-self: end;
  margin: 0 0 4px; padding: 0 26px 0 0; text-align: right;
}

/* the name runs over the figure, which is what the posters do with theirs */
body.palette-v2.mag.swiss .hero-name { z-index: 2; position: relative; }

/* the caption block and the links move clear of the figure, to the far right
   column where the reference pins its small print */
body.palette-v2.mag.swiss .hero-copy {
  grid-column: 1 / span 2; grid-row: 3;
  align-self: end; margin: 0 0 6px; z-index: 2; position: relative;
}
body.palette-v2.mag.swiss .hero-copy p { padding-left: 26px; }
body.palette-v2.mag.swiss .zactions { padding-left: 26px; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss .hero-me {
    width: 60%; max-width: 260px; margin-top: 26px;
  }
  body.palette-v2.mag.swiss .hero-copy p,
  body.palette-v2.mag.swiss .zactions { padding-left: 0; }
}
/* the sign off is a paragraph, so the body copy measure was clamping it to a
   column and breaking the words apart at display size */
body.palette-v2.mag.swiss .pro-footer .mega {
  grid-column: 1 / -1;          /* the footer wrap is a 12 column grid */
  max-width: none; width: 100%;
  font-size: clamp(54px, 9vw, 150px);
  line-height: .9;
  letter-spacing: -0.012em;
}
body.palette-v2.mag.swiss .pro-footer .foot-row a:hover { color: var(--stone); }
/* ==========================================================
   poster, third pass — the theatre bill
   The reference sets its title in a very narrow, very heavy grotesque and
   prints the photograph as a coarse halftone, so the picture reads as dots
   rather than as a photograph until you are close to it. Here the dots stay
   on until a project is pointed at, and the colour comes back with them.
   ========================================================== */

body.palette-v2.mag.swiss {
  /* Archivo carries a width axis, so one family gives both the narrow heavy
     display and the plain small print */
  --poster: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* ---- display type: narrow, heavy, tight ---- */
body.palette-v2.mag.swiss .hero-name,
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-family: var(--poster);
  font-variation-settings: "wdth" 68;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: .86;
}
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(64px, 13vw, 200px); }
/* the name carries .mega too, so it has to be set after it to win */
body.palette-v2.mag.swiss h1.hero-name {
  letter-spacing: -0.012em;
  font-size: clamp(96px, 25vw, 460px);
  line-height: .84;
}
/* the hero's small print joins the rest of the poster's plain setting */
body.palette-v2.mag.swiss .hero-copy p,
body.palette-v2.mag.swiss .hero-copy .hl-text {
  font-family: var(--poster);
  font-variation-settings: "wdth" 100;
  font-weight: 500; font-style: normal;
}
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(44px, 5.6vw, 88px); }
body.palette-v2.mag.swiss .pro-footer .mega { font-size: clamp(58px, 10vw, 168px); }

/* the folio numerals and the small print take the same family, plain width */
body.palette-v2.mag.swiss .spread-num,
body.palette-v2.mag.swiss .zfolder-num,
body.palette-v2.mag.swiss .swiss-folio {
  font-family: var(--poster);
  font-variation-settings: "wdth" 100;
  font-weight: 800;
}
/* the reference sets its credits letterspaced and bold, close under the title */
body.palette-v2.mag.swiss .sec-title p,
body.palette-v2.mag.swiss .spread .body-copy,
body.palette-v2.mag.swiss .card p {
  font-family: var(--poster);
  font-variation-settings: "wdth" 100;
  font-weight: 500;
  letter-spacing: .005em;
}

/* ---- the halftone: every project picture is screened until it is pointed at
   ---- */
body.palette-v2.mag.swiss .wash-box,
body.palette-v2.mag.swiss .ztile { position: relative; }

body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img {
  filter: grayscale(1) contrast(1.45) brightness(1.06);
  transition: filter .45s ease;
}

/* the screen itself: a fine grid of ground coloured dots laid over the
   picture with lighten, so it eats into the darks and leaves the lights
   alone, which is how a coarse halftone reads */
body.palette-v2.mag.swiss .wash-box::after,
body.palette-v2.mag.swiss .ztile::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, var(--stone) 42%, transparent 46%);
  background-size: 5px 5px;
  mix-blend-mode: lighten;
  opacity: 1;
  transition: opacity .45s ease;
}

/* pointing at a project lifts the screen and the colour comes back */
body.palette-v2.mag.swiss .spread-art:hover .wash-box img,
body.palette-v2.mag.swiss .card:hover .wash-box img,
body.palette-v2.mag.swiss .ztile:hover img { filter: none; }
body.palette-v2.mag.swiss .spread-art:hover .wash-box::after,
body.palette-v2.mag.swiss .card:hover .wash-box::after,
body.palette-v2.mag.swiss .ztile:hover::after { opacity: 0; }

/* a picture opened in the lightbox is the real thing, never screened */
body.palette-v2.mag.swiss .lightbox img { filter: none; }

@media (prefers-reduced-motion: reduce) {
  body.palette-v2.mag.swiss .wash-box img,
  body.palette-v2.mag.swiss .ztile img,
  body.palette-v2.mag.swiss .wash-box::after,
  body.palette-v2.mag.swiss .ztile::after { transition: none; }
}

@media (max-width: 900px) {
  body.palette-v2.mag.swiss .hero-name { font-size: clamp(46px, 14vw, 84px); }
  body.palette-v2.mag.swiss .sec-title h2,
  body.palette-v2.mag.swiss .mega { font-size: clamp(44px, 14vw, 82px); }
  body.palette-v2.mag.swiss .spread h3.big,
  body.palette-v2.mag.swiss .card h3.big { font-size: clamp(34px, 10vw, 52px); }
}
/* a word was being split across lines, which only happens when something up
   the cascade allows a break anywhere; display type never breaks mid word */
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss h1.hero-name,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  max-width: none;
}
/* The More work tiles are mostly drawings: light linework on white paper. The
   contrast the photographs need erases them, so they are only taken to grey
   and screened lightly, and they come back in colour the same way. */
body.palette-v2.mag.swiss .ztile img {
  filter: grayscale(1) contrast(1.06);
}
body.palette-v2.mag.swiss .ztile::after {
  background-image: radial-gradient(circle at 50% 50%, var(--stone) 34%, transparent 38%);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: .5;
}
body.palette-v2.mag.swiss .ztile:hover::after { opacity: 0; }
/* ==========================================================
   mono — black and white, the studio and the modular grid
   Four references: a Herman Miller sheet that sets every object in its own
   ruled cell, a studio site that leaves most of the page empty and runs its
   work as one line of small prints, a staggered moodboard, and a photocopied
   poster. What they share is a near white ground, black type, small bracketed
   labels, and ruled structure. The colour comes out.
   ========================================================== */

body.palette-v2.mag.swiss {
  --stone: #F2F1EC;          /* the near white of the studio reference */
  --paper: var(--stone);
  --ink: #0B0B0B;
  --ink-2: #6B6B66;
  --teal: #0B0B0B;           /* the accent folds into the black */
  --teal-deep: #141414;
  --rule: rgba(11, 11, 11, .16);
  --hair: rgba(11, 11, 11, .28);
}

/* the ruled grid goes quiet: it is structure now, not a second ink */
body.palette-v2.mag.swiss > .swiss-grid {
  background-image:
    repeating-linear-gradient(to right,  rgba(11, 11, 11, .10) 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(to bottom, rgba(11, 11, 11, .07) 0 1px, transparent 1px var(--cell));
}

/* the photocopied grain of the fourth reference, a little heavier than the
   paper texture the editorial pass used */
body.palette-v2.mag.swiss::before { opacity: .62; }

/* ---- the opening screen: mostly empty, the way the studio sets it ---- */
body.palette-v2.mag.swiss .hero .pro-wrap {
  grid-template-rows: var(--cell) auto auto 1fr;
  row-gap: 0;
  padding-bottom: 42px;
}
body.palette-v2.mag.swiss h1.hero-name {
  grid-row: 2;
  align-self: start;
  font-size: clamp(74px, 17vw, 280px);
  margin-top: 8px;
}
/* the label block the references pin above the title, in brackets */
body.palette-v2.mag.swiss .hero-chips { grid-row: 1; align-self: end; }
body.palette-v2.mag.swiss .hero-chips::before {
  content: "(01)";
  display: block; margin-bottom: 10px;
  font-family: var(--poster); font-weight: 800;
  font-size: 10px; letter-spacing: .14em; color: var(--ink);
}
body.palette-v2.mag.swiss .hero-copy {
  grid-column: 1 / span 3; grid-row: 3;
  align-self: start; margin: 26px 0 0;
}
body.palette-v2.mag.swiss .hero-copy p { padding-left: 26px; max-width: 42ch; }

/* the portrait leaves the sheet: it is a frame in the filmstrip now */
body.palette-v2.mag.swiss .hero-grid > .hero-me { display: none; }

/* ---- the filmstrip ---- */
body.palette-v2.mag.swiss .strip {
  grid-column: 1 / -1; grid-row: 4;
  align-self: end;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 0 26px;
  min-width: 0;
}
body.palette-v2.mag.swiss .strip-i {
  position: relative; display: block;
  flex: 0 1 92px; min-width: 0;
  text-decoration: none; color: var(--ink);
}
body.palette-v2.mag.swiss .strip-i.big { flex: 0 0 208px; margin: 0 16px; }
body.palette-v2.mag.swiss .strip-i img {
  display: block; width: 100%; height: 118px; object-fit: cover;
  filter: grayscale(1) contrast(1.25);
  transition: filter .4s ease;
}
body.palette-v2.mag.swiss .strip-i.big img,
body.palette-v2.mag.swiss .strip-i.big figure { height: auto; }
body.palette-v2.mag.swiss .strip-i.big img { height: 252px; object-fit: contain; }
body.palette-v2.mag.swiss .strip-i figure { margin: 0; background: none; border: 0; box-shadow: none; }
body.palette-v2.mag.swiss .strip-i .tape { display: none; }
/* the title appears under a frame only when it is pointed at */
body.palette-v2.mag.swiss .strip-t {
  position: absolute; left: 0; top: calc(100% + 6px);
  font-family: var(--poster); font-weight: 800;
  font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; opacity: 0; transition: opacity .3s ease;
}
body.palette-v2.mag.swiss .strip-i:hover img { filter: none; }
body.palette-v2.mag.swiss .strip-i:hover .strip-t { opacity: 1; }

/* ---- Selected work becomes the modular sheet ---- */
body.palette-v2.mag.swiss #spreads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
body.palette-v2.mag.swiss .spread {
  display: flex; flex-direction: column;
  margin: 0; padding: 30px 30px 34px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  gap: 0;
}
body.palette-v2.mag.swiss .spread > div { border-top: 0; padding-top: 22px; }
body.palette-v2.mag.swiss .spread-art { order: 1; margin: 14px 0 0; display: block; }
body.palette-v2.mag.swiss .spread > div { order: 2; margin-top: auto; }
body.palette-v2.mag.swiss .spread-num {
  order: 0; font-size: 11px; letter-spacing: .14em; margin: 0;
}
body.palette-v2.mag.swiss .spread-art .cutout,
body.palette-v2.mag.swiss .spread-art .wash-box { display: block; }
body.palette-v2.mag.swiss .spread-art img {
  width: 100%; height: 300px; object-fit: contain;
}
body.palette-v2.mag.swiss .spread h3.big { font-size: clamp(32px, 3.4vw, 54px); }
body.palette-v2.mag.swiss .spread .body-copy { max-width: 42ch; }

/* ---- research keeps its pair, on the same hairlines ---- */
body.palette-v2.mag.swiss .duo {
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
body.palette-v2.mag.swiss .duo .card {
  margin: 0; padding: 30px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(30px, 3vw, 46px); }

@media (max-width: 1100px) {
  body.palette-v2.mag.swiss .strip-i { flex: 0 1 68px; }
  body.palette-v2.mag.swiss .strip-i img { height: 88px; }
  body.palette-v2.mag.swiss .strip-i.big { flex: 0 0 150px; }
  body.palette-v2.mag.swiss .strip-i.big img { height: 182px; }
}
@media (max-width: 900px) {
  body.palette-v2.mag.swiss #spreads { grid-template-columns: minmax(0, 1fr); }
  body.palette-v2.mag.swiss .strip { flex-wrap: wrap; justify-content: flex-start; }
  body.palette-v2.mag.swiss .hero-copy p { padding-left: 0; }
}
/* ---- mono, second pass: the opening screen has to fit one screen ----
   The first arrangement stacked a two line name over the filmstrip and ran
   past the fold, so the strip was never seen. The name goes onto one line
   instead, running off the right edge the way a poster lets it, which buys
   back the height the strip needs and leaves the sheet mostly empty. */

body.palette-v2.mag.swiss .hero .pro-wrap {
  grid-template-rows: auto auto auto 1fr;
  padding: 104px 0 42px;
}
body.palette-v2.mag.swiss h1.hero-name {
  grid-row: 2;
  font-size: clamp(56px, 15vw, 240px);
  line-height: .9;
  white-space: nowrap;
  margin: 18px 0 0 -0.5vw;
}
body.palette-v2.mag.swiss h1.hero-name span { display: inline-block; }
body.palette-v2.mag.swiss h1.hero-name span + span { margin-left: .2em; }

body.palette-v2.mag.swiss .hero-copy { margin-top: 34px; }

/* the strip sits on the bottom line of the sheet, at a size that leaves the
   middle of the page empty */
body.palette-v2.mag.swiss .strip-i { flex: 0 1 86px; }
body.palette-v2.mag.swiss .strip-i img { height: 104px; }
body.palette-v2.mag.swiss .strip-i.big { flex: 0 0 168px; margin: 0 18px; }
body.palette-v2.mag.swiss .strip-i.big img { height: 196px; }

@media (max-width: 1100px) {
  body.palette-v2.mag.swiss .strip-i { flex: 0 1 62px; }
  body.palette-v2.mag.swiss .strip-i img { height: 78px; }
  body.palette-v2.mag.swiss .strip-i.big { flex: 0 0 124px; }
  body.palette-v2.mag.swiss .strip-i.big img { height: 150px; }
}
@media (max-width: 900px) {
  body.palette-v2.mag.swiss h1.hero-name { white-space: normal; font-size: clamp(42px, 13vw, 76px); }
  body.palette-v2.mag.swiss h1.hero-name span { display: block; }
  body.palette-v2.mag.swiss h1.hero-name span + span { margin-left: 0; }
}
/* ---- mono, third pass: the strip keeps every frame whole ----
   Cover was cutting the edges off the project shots. The reference's row is
   made of frames of different sizes anyway, so each one keeps its own shape
   and the row is aligned on its centre line. */
body.palette-v2.mag.swiss .strip { align-items: center; }
body.palette-v2.mag.swiss .strip-i img,
body.palette-v2.mag.swiss .strip-i.big img {
  width: 100%; height: auto; object-fit: fill;
  max-height: 150px;
}
body.palette-v2.mag.swiss .strip-i.big img { max-height: 212px; }
body.palette-v2.mag.swiss .strip-i { flex: 0 1 104px; }
body.palette-v2.mag.swiss .strip-i.big { flex: 0 0 176px; }
body.palette-v2.mag.swiss h1.hero-name span + span { margin-left: .1em; }
/* the footer links were still taking the old scheme's blue */
body.palette-v2.mag.swiss .pro-footer a { color: var(--stone); }
body.palette-v2.mag.swiss .pro-footer a:hover { color: #fff; }
body.palette-v2.mag.swiss .pro-footer .foot-row { border-top-color: rgba(242, 241, 236, .35); }
/* ==========================================================
   mono, fourth pass — grain instead of dots, and more of the sheet
   The dot screen was reading as a pattern laid on top of the work rather
   than as a way of printing it, so it comes off. In its place: a hard black
   and white with the photocopied grain of the fourth reference, which sits
   in the picture instead of over it. Around that, more of what the
   references actually do: a trimmed frame, bracketed section numbers, a
   large word turned on its side down the margin, and a staggered band of
   prints where the folders used to sit in a tidy row.
   ========================================================== */

/* ---- the dot screen comes off every picture ---- */
body.palette-v2.mag.swiss .wash-box::after,
body.palette-v2.mag.swiss .ztile::after,
body.palette-v2.mag.swiss .strip-i::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23g)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
  opacity: .5;
}
/* a harder black and white, the way a photocopy flattens a picture */
body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .strip-i img {
  filter: grayscale(1) contrast(1.3) brightness(1.04);
}
body.palette-v2.mag.swiss .ztile img {
  filter: grayscale(1) contrast(1.14);
}

/* ---- the sheet is trimmed, the way the moodboard and the studio frame
   their pages ---- */
body.palette-v2.mag.swiss > .swiss-grid::before {
  content: "";
  position: absolute; inset: 16px;
  border: 1px solid var(--hair);
}

/* ---- every section carries its number in brackets ---- */
body.palette-v2.mag.swiss .sec-title h2::before {
  content: "(00)";
  display: block; margin-bottom: 16px;
  font-family: var(--poster); font-variation-settings: "wdth" 100;
  font-weight: 800; font-size: 10px; letter-spacing: .16em;
  color: var(--ink);
}
body.palette-v2.mag.swiss #work .sec-title h2::before { content: "(02)"; }
body.palette-v2.mag.swiss #research-sec .sec-title h2::before { content: "(03)"; }
body.palette-v2.mag.swiss #more-sec .sec-title h2::before { content: "(04)"; }

/* ---- the margin word: the reference runs its title up the side of the
   sheet, so the section label does the same at a size you can read ---- */
body.palette-v2.mag.swiss .zs > .vlabel {
  font-family: var(--poster);
  font-variation-settings: "wdth" 68;
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 3.2vw, 56px);
  letter-spacing: -0.01em;
  color: rgba(11, 11, 11, .11);
  white-space: nowrap;
}

/* ---- the folders stagger, the way prints are laid out on a board ---- */
body.palette-v2.mag.swiss .ztile { transition: transform .35s ease; }
body.palette-v2.mag.swiss .ztile:nth-child(3n + 2) { transform: translateY(22px); }
body.palette-v2.mag.swiss .ztile:nth-child(4n + 3) { transform: translateY(-16px); }
body.palette-v2.mag.swiss .ztile:hover { transform: translateY(0); }

/* ---- the work cells gain the reference's thin inner rule under the
   caption, so each cell reads as a printed card ---- */
body.palette-v2.mag.swiss .spread .ztags {
  border-top: 1px solid var(--hair);
  margin-top: 14px; padding-top: 10px;
}

@media (max-width: 900px) {
  body.palette-v2.mag.swiss > .swiss-grid::before { inset: 8px; }
  body.palette-v2.mag.swiss .zs > .vlabel { display: none; }
  body.palette-v2.mag.swiss .ztile:nth-child(3n + 2),
  body.palette-v2.mag.swiss .ztile:nth-child(4n + 3) { transform: none; }
}
/* the margin word was set so large it ran into the name and was trimmed off
   at the bottom of taller sections; it belongs in the margin, not across it */
body.palette-v2.mag.swiss .zs > .vlabel {
  font-size: clamp(16px, 1.9vw, 30px);
  color: rgba(11, 11, 11, .14);
  letter-spacing: .02em;
}
/* ==========================================================
   mono, fifth pass — the two posters, properly
   The page had the structure of the references but none of their nerve. The
   dance poster sets a title so narrow and so tall that it fills the sheet
   edge to edge, with the credits ranged in a tight column beside it. The
   photocopied poster turns a word on its side and runs it the full height of
   the page, over the picture rather than beside it, on paper that is grainy
   everywhere. Both of those come in here.
   ========================================================== */

/* ---- the display face goes as narrow and as tall as the axis allows ---- */
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss h1.hero-name,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-variation-settings: "wdth" 62;
  font-weight: 900;
  letter-spacing: -0.022em;
  line-height: .8;
}
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(74px, 15.5vw, 248px); }
body.palette-v2.mag.swiss h1.hero-name { font-size: clamp(60px, 17vw, 270px); }
body.palette-v2.mag.swiss .spread h3.big { font-size: clamp(36px, 4.2vw, 68px); }

/* ---- the section head is set the way the dance poster sets its title:
   the words pushed out to both edges, the credits in a tight column under
   the right half, the number and the label under the left ---- */
body.palette-v2.mag.swiss .sec-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 18px;
  align-items: start;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 70px;
}
body.palette-v2.mag.swiss .sec-title h2 {
  grid-column: 1 / -1;
  text-align: justify;
  text-align-last: justify;
  margin: 0;
}
body.palette-v2.mag.swiss .sec-title h2 br { display: none; }
body.palette-v2.mag.swiss .sec-title h2::before { display: none; }

/* the left hand note, the poster's one line of plain type under the title */
body.palette-v2.mag.swiss .sec-title::before {
  grid-column: 1; grid-row: 2;
  content: "(00)";
  font-family: var(--poster); font-variation-settings: "wdth" 100;
  font-weight: 800; font-size: 10px; letter-spacing: .18em;
  color: var(--ink); align-self: start;
}
body.palette-v2.mag.swiss #work .sec-title::before { content: "(02) \2014  FOUR STUDIO PROJECTS \00B7 2024\2013 2026"; }
body.palette-v2.mag.swiss #research-sec .sec-title::before { content: "(03) \2014  FIELD WORK \00B7 HUMAN FACTORS"; }
body.palette-v2.mag.swiss #more-sec .sec-title::before { content: "(04) \2014  DRAWING \00B7 SHOP \00B7 CAD"; }

/* the credits column: ranged right of centre, set tight and small */
body.palette-v2.mag.swiss .sec-title p {
  grid-column: 2; grid-row: 2;
  margin: 0; max-width: 34ch;
  font-size: 13px; line-height: 1.35; letter-spacing: 0;
  font-weight: 600;
}

/* ---- the word turned on its side, running the height of the section ---- */
body.palette-v2.mag.swiss .zs { position: relative; }
body.palette-v2.mag.swiss .zs::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 10px;
  display: flex; align-items: center;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--poster); font-variation-settings: "wdth" 62;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(54px, 7vw, 118px); line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink); opacity: .07;
  pointer-events: none;
}
body.palette-v2.mag.swiss #work::after { content: "WORK"; }
body.palette-v2.mag.swiss #research-sec::after { content: "RESEARCH"; }
body.palette-v2.mag.swiss #more-sec::after { content: "MORE"; }
body.palette-v2.mag.swiss .hero::after { content: "PORTFOLIO"; }
/* the small label in the margin steps back, now that the big word is there */
body.palette-v2.mag.swiss .zs > .vlabel {
  font-size: 9px; letter-spacing: .2em;
  font-variation-settings: "wdth" 100;
  color: var(--ink-2);
}

/* ---- the paper is grainy everywhere, not only inside the pictures ---- */
body.palette-v2.mag.swiss::before { opacity: .78; }

/* ---- the work cells: the picture fills its cell to the trim ---- */
body.palette-v2.mag.swiss .spread { padding: 0; position: relative; }
body.palette-v2.mag.swiss .spread-art { margin: 0; }
body.palette-v2.mag.swiss .spread-art img {
  width: 100%; height: auto; object-fit: fill;
}
body.palette-v2.mag.swiss .spread > div { padding: 24px 28px 32px; }
body.palette-v2.mag.swiss .spread-num {
  position: absolute; top: 14px; left: 18px; z-index: 3;
  margin: 0; font-size: 10px; letter-spacing: .18em;
}

@media (max-width: 900px) {
  body.palette-v2.mag.swiss .sec-title { grid-template-columns: minmax(0, 1fr); }
  body.palette-v2.mag.swiss .sec-title h2 { text-align: left; text-align-last: left; }
  body.palette-v2.mag.swiss .sec-title h2 br { display: inline; }
  body.palette-v2.mag.swiss .sec-title p,
  body.palette-v2.mag.swiss .sec-title::before { grid-column: 1; grid-row: auto; }
  body.palette-v2.mag.swiss .zs::after { display: none; }
}
/* ---- mono, sixth pass: the justified title has to fit its line ----
   Justifying only pushes words apart when they already share a line, so the
   title is sized to fit the column with room to spare and the gap does the
   rest. A one word heading has nothing to push against, so it is set larger
   and lightly letterspaced until it fills the measure on its own. */
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(56px, 11.4vw, 166px); }
body.palette-v2.mag.swiss #research-sec .sec-title h2 {
  font-size: clamp(70px, 17.5vw, 282px);
  letter-spacing: -0.012em;
}
body.palette-v2.mag.swiss .sec-title h2 { overflow-x: clip; }

/* the turned word is centred on the height of its section, not pinned to the
   top corner where it sat over the wordmark */
body.palette-v2.mag.swiss .zs::after {
  top: 50%; bottom: auto; left: 8px;
  display: block;
  transform: translateY(-50%) rotate(180deg);
}
/* ---- the opening screen carries the portrait alone ----
   With the row of project prints gone there is nothing to set the picture
   against, so it takes the height the row used to occupy and sits on the
   bottom line of the sheet on its own. */
body.palette-v2.mag.swiss .strip { gap: 0; }
body.palette-v2.mag.swiss .strip-i.big {
  flex: 0 0 auto; margin: 0;
}
body.palette-v2.mag.swiss .strip-i.big img { max-height: 300px; width: auto; }
/* the picture has to leave the opening screen exactly one screen tall */
body.palette-v2.mag.swiss .hero .pro-wrap { padding-bottom: 24px; }
body.palette-v2.mag.swiss .strip-i.big img { max-height: 230px; }
/* the wrap was asking for a full screen of its own and then adding its
   padding on top, so the last row sat below the fold and was clipped; the
   hero already is a full screen, so the wrap just fills it */
body.palette-v2.mag.swiss .hero .pro-wrap {
  box-sizing: border-box;
  min-height: 0;
  height: 100%;
}
/* nine pixels of the picture were still past the fold */
body.palette-v2.mag.swiss .strip-i.big img { max-height: 218px; }

/* ==========================================================
   mono, seventh pass — the irregular modular sheet, and the teal haze
   Two changes. The work was sitting in four equal squares, which reads as a
   catalogue rather than a composed sheet; the reference's grid has cells of
   different widths and gives one of them to a block of type instead of an
   object. And the pictures carry the petrol teal as their dark ink until they
   are pointed at, when the real photograph comes back.
   ========================================================== */

/* ---- the teal haze ---- */
body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img,
body.palette-v2.mag.swiss .strip-i img {
  filter: contrast(1.08) url(#duotone-teal);
  transition: filter .45s ease;
}
/* the portrait on the opening screen stays off the colour */
body.palette-v2.mag.swiss .strip-i.big img {
  filter: contrast(1.12) url(#duotone);
}
body.palette-v2.mag.swiss .spread-art:hover .wash-box img,
body.palette-v2.mag.swiss .card:hover .wash-box img,
body.palette-v2.mag.swiss .ztile:hover img { filter: none; }

/* ---- the sheet: twelve columns, cells of different widths ---- */
body.palette-v2.mag.swiss #spreads {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
body.palette-v2.mag.swiss .spread:nth-of-type(1) { grid-column: span 7; }
body.palette-v2.mag.swiss .spread:nth-of-type(2) { grid-column: span 5; }
body.palette-v2.mag.swiss .spread-note          { grid-column: span 4; }
body.palette-v2.mag.swiss .spread:nth-of-type(3) { grid-column: span 4; }
body.palette-v2.mag.swiss .spread:nth-of-type(4) { grid-column: span 4; }

/* the cell of type, set the way the reference sets its one block of copy */
body.palette-v2.mag.swiss .spread-note {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px 28px 30px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
body.palette-v2.mag.swiss .spread-note p {
  margin: 0; font-family: var(--poster); font-variation-settings: "wdth" 100;
  font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--ink);
}
body.palette-v2.mag.swiss .spread-note .note-k {
  font-weight: 800; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 14px;
}
body.palette-v2.mag.swiss .spread-note .note-f {
  margin-top: 20px; padding-top: 12px;
  border-top: 1px solid var(--hair);
  font-size: 9.5px; letter-spacing: .16em; font-weight: 800;
  text-transform: uppercase; color: var(--ink-2);
}

/* a wider cell can carry a bigger title than a narrow one */
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(40px, 4.4vw, 76px); }
body.palette-v2.mag.swiss .spread:nth-of-type(3) h3.big,
body.palette-v2.mag.swiss .spread:nth-of-type(4) h3.big { font-size: clamp(28px, 2.9vw, 44px); }

/* ---- research takes the same uneven rhythm ---- */
body.palette-v2.mag.swiss .duo {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
body.palette-v2.mag.swiss .duo .card:nth-child(1) { grid-column: span 5; }
body.palette-v2.mag.swiss .duo .card:nth-child(2) { grid-column: span 7; }
body.palette-v2.mag.swiss .duo .card:nth-child(3) { grid-column: span 12; }
body.palette-v2.mag.swiss .duo .card:nth-child(3) {
  display: grid; grid-template-columns: 7fr 5fr; gap: 0 32px; align-items: center;
}

@media (max-width: 1000px) {
  body.palette-v2.mag.swiss .spread:nth-of-type(1),
  body.palette-v2.mag.swiss .spread:nth-of-type(2),
  body.palette-v2.mag.swiss .spread:nth-of-type(3),
  body.palette-v2.mag.swiss .spread:nth-of-type(4),
  body.palette-v2.mag.swiss .spread-note,
  body.palette-v2.mag.swiss .duo .card:nth-child(1),
  body.palette-v2.mag.swiss .duo .card:nth-child(2),
  body.palette-v2.mag.swiss .duo .card:nth-child(3) { grid-column: span 12; }
  body.palette-v2.mag.swiss .duo .card:nth-child(3) { display: block; }
}
/* ==========================================================
   mono, eighth pass — the poster's furniture
   The reference is a type poster with a soft dark mass sitting behind the
   headline, thin construction circles struck across it, and the margins
   filled with small marks: a barcode, the year, a list of words turned on
   its side, and short notes ruled off in the corners. The ground warms from
   a cool white to bone to match it, which means the light end of both
   duotone plates moves with it.
   ========================================================== */

body.palette-v2.mag.swiss {
  --stone: #EEEAE0;          /* bone, the reference's ground */
  --paper: var(--stone);
  --ink: #141310;            /* a warm near black rather than a flat one */
  --ink-2: #6A675E;
  --rule: rgba(20, 19, 16, .16);
  --hair: rgba(20, 19, 16, .26);
}

/* ---- the layer the furniture sits on, under everything that is read ---- */
body.palette-v2.mag.swiss .marks {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  font-family: var(--poster); font-variation-settings: "wdth" 100;
  color: var(--ink);
}
body:not(.swiss) .marks { display: none; }

/* the soft dark mass behind the headline */
body.palette-v2.mag.swiss .orb {
  position: absolute; right: 16%; top: 34%;
  width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%,
              rgba(20, 19, 16, .92) 0%,
              rgba(20, 19, 16, .62) 38%,
              rgba(20, 19, 16, .18) 66%,
              rgba(20, 19, 16, 0) 78%);
  filter: blur(26px);
  opacity: .5;
}

/* the construction circles, struck in a hairline over it */
body.palette-v2.mag.swiss .ring {
  position: absolute; border: 1px solid rgba(20, 19, 16, .3);
  border-radius: 50%;
}
body.palette-v2.mag.swiss .ring.r1 {
  right: 22%; top: 20%;
  width: 30vw; height: 30vw; max-width: 400px; max-height: 400px;
}
body.palette-v2.mag.swiss .ring.r2 {
  right: 10%; top: 44%;
  width: 24vw; height: 24vw; max-width: 320px; max-height: 320px;
  border-color: rgba(20, 19, 16, .22);
}

/* ---- the marks in the margins ---- */
body.palette-v2.mag.swiss .barcode {
  position: absolute; top: 118px; right: 58px;
  width: 112px; height: 30px;
  background-image: repeating-linear-gradient(to right,
    var(--ink) 0 2px, transparent 2px 4px,
    var(--ink) 4px 5px, transparent 5px 9px,
    var(--ink) 9px 12px, transparent 12px 14px);
}
body.palette-v2.mag.swiss .mark-yr {
  position: absolute; top: 76px; right: 58px; margin: 0;
  font-weight: 800; font-size: 12px; letter-spacing: .14em;
}
body.palette-v2.mag.swiss .mark-yr2 {
  position: absolute; right: 54px; bottom: 34px; margin: 0;
  font-variation-settings: "wdth" 62; font-weight: 900;
  font-size: 30px; line-height: .84; text-align: right;
}
body.palette-v2.mag.swiss .mark-yr2 span { display: block; }

/* the list of words turned on its side, with the reference's bullets */
body.palette-v2.mag.swiss .axis {
  position: absolute; right: 24px; top: 50%; margin: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-weight: 800; font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink);
}
body.palette-v2.mag.swiss .axis b { font-weight: 800; opacity: .5; }

/* the short notes, each ruled off the way the reference rules them */
body.palette-v2.mag.swiss .note {
  position: absolute; margin: 0; max-width: 20ch;
  padding-top: 10px; border-top: 1px solid var(--ink);
  font-weight: 700; font-size: 10px; line-height: 1.7;
  letter-spacing: .1em; text-transform: uppercase;
}
body.palette-v2.mag.swiss .note.n1 { left: 26px; bottom: 210px; }
body.palette-v2.mag.swiss .note.n2 { right: 58px; bottom: 210px; text-align: right; }
body.palette-v2.mag.swiss .note.n2 { border-top-color: var(--ink); }

body.palette-v2.mag.swiss .star {
  position: absolute; left: 26px; bottom: 150px; margin: 0;
  font-size: 15px; line-height: 1; opacity: .7;
}

/* the name is struck over the mass, not under it */
body.palette-v2.mag.swiss .hero .pro-wrap { z-index: 3; }

@media (max-width: 1000px) {
  body.palette-v2.mag.swiss .barcode,
  body.palette-v2.mag.swiss .axis,
  body.palette-v2.mag.swiss .note,
  body.palette-v2.mag.swiss .star,
  body.palette-v2.mag.swiss .ring { display: none; }
  body.palette-v2.mag.swiss .orb { opacity: .35; }
}
/* ---- the furniture, adjusted against the reference ----
   The dark mass was so diffuse it read as a smudge on the screen rather than
   as a printed shape, the lower note sat on top of the links, and the year
   at the foot lost its second line off the bottom edge. */
body.palette-v2.mag.swiss .orb {
  opacity: .88;
  filter: blur(16px);
  background: radial-gradient(circle at 44% 42%,
              rgba(20, 19, 16, .98) 0%,
              rgba(20, 19, 16, .86) 30%,
              rgba(20, 19, 16, .42) 56%,
              rgba(20, 19, 16, .10) 72%,
              rgba(20, 19, 16, 0) 80%);
}
body.palette-v2.mag.swiss .note.n1 { bottom: 150px; }
body.palette-v2.mag.swiss .note.n2 { bottom: 160px; }
body.palette-v2.mag.swiss .star { bottom: 96px; }
body.palette-v2.mag.swiss .mark-yr2 { bottom: 52px; font-size: 26px; }
body.palette-v2.mag.swiss .axis { letter-spacing: .2em; right: 42px; }
/* the second line of the year was six pixels past the bottom edge */
body.palette-v2.mag.swiss .mark-yr2 { bottom: 62px; }

/* ==========================================================
   card — the business card's ground, and the work it asked for
   The card is a warm greige sheet with one thin arc struck across a
   sculptural image. That ground becomes the page's, the arc becomes the mark
   the portrait is set against, and the portrait stops floating in the middle
   of the opening screen and is anchored to the right of it.
   Along with it: a cast shadow under every featured piece, a harder teal so
   the work carries while it is held back, a stipple that comes in on hover,
   and small copy that is no longer losing itself in the paper.
   ========================================================== */

body.palette-v2.mag.swiss {
  --stone: #E6E2D8;          /* the card's greige */
  --paper: var(--stone);
  --ink: #16150F;
  --ink-2: #5E5B51;
  --rule: rgba(22, 21, 15, .17);
  --hair: rgba(22, 21, 15, .27);
}

/* ---- the card's arc ---- */
body.palette-v2.mag.swiss .arc {
  position: absolute; right: 2%; bottom: -16%;
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  border: 1px solid rgba(22, 21, 15, .38);
  border-radius: 50%;
}
body.palette-v2.mag.swiss .ring.r1 { border-color: rgba(22, 21, 15, .2); }
body.palette-v2.mag.swiss .ring.r2 { border-color: rgba(22, 21, 15, .14); }

/* ---- the portrait, anchored rather than floating ----
   It is ranged to the right of the sheet, sitting on the bottom rule with
   the arc running behind it, and it carries a caption of its own so it reads
   as a plate in the composition instead of a picture dropped in the middle. */
body.palette-v2.mag.swiss .strip {
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 64px 0 26px;
}
body.palette-v2.mag.swiss .hero .pro-wrap { padding-bottom: 30px; }
body.palette-v2.mag.swiss .strip-i.big { position: relative; }
body.palette-v2.mag.swiss .strip-i.big img { max-height: 252px; }
body.palette-v2.mag.swiss .strip-i.big::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px;
  height: 1px; background: var(--ink);
}
body.palette-v2.mag.swiss .strip-i.big::after {
  content: "(FIG. 1) SABRINA QRANFAL";
  position: absolute; left: 0; top: -31px;
  font-family: var(--poster); font-variation-settings: "wdth" 100;
  font-weight: 800; font-size: 9px; letter-spacing: .18em; color: var(--ink);
  white-space: nowrap;
}
/* the right hand note moves clear of the plate */
body.palette-v2.mag.swiss .note.n2 { bottom: 318px; }

/* ---- the featured pieces cast a shadow ---- */
body.palette-v2.mag.swiss .spread-art { padding: 26px 26px 0; }
body.palette-v2.mag.swiss .duo .card .cutout { display: block; }
body.palette-v2.mag.swiss .wash-box {
  box-shadow: 0 14px 30px rgba(22, 21, 15, .20),
              0 3px 7px rgba(22, 21, 15, .14);
  transition: box-shadow .45s ease, transform .45s ease;
}
body.palette-v2.mag.swiss .spread-art:hover .wash-box,
body.palette-v2.mag.swiss .card:hover .wash-box {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(22, 21, 15, .28),
              0 5px 11px rgba(22, 21, 15, .18);
}
body.palette-v2.mag.swiss .ztile .ztile-img {
  display: block;
  box-shadow: 0 8px 18px rgba(22, 21, 15, .16);
  transition: box-shadow .4s ease;
}
body.palette-v2.mag.swiss .ztile:hover .ztile-img {
  box-shadow: 0 16px 34px rgba(22, 21, 15, .24);
}

/* ---- the teal is held harder, so the work carries from across the room;
   the true colour state is untouched, because it has no filter at all ---- */
body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img,
body.palette-v2.mag.swiss .strip-i img {
  filter: contrast(1.42) brightness(1.02) url(#duotone-teal);
}

/* ---- the stipple comes in on hover, the print idiom rather than a fade ---- */
body.palette-v2.mag.swiss .wash-box::before,
body.palette-v2.mag.swiss .ztile .ztile-img::before {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, var(--ink) 34%, transparent 38%);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity .35s ease;
}
body.palette-v2.mag.swiss .ztile .ztile-img { position: relative; }
body.palette-v2.mag.swiss .spread-art:hover .wash-box::before,
body.palette-v2.mag.swiss .card:hover .wash-box::before,
body.palette-v2.mag.swiss .ztile:hover .ztile-img::before { opacity: .22; }
/* and the grain lifts as the colour arrives, so the two cross over */
body.palette-v2.mag.swiss .spread-art:hover .wash-box::after,
body.palette-v2.mag.swiss .card:hover .wash-box::after,
body.palette-v2.mag.swiss .ztile:hover::after { opacity: .16; }

/* ---- small copy stops disappearing into the paper ---- */
body.palette-v2.mag.swiss .ztile-blurb,
body.palette-v2.mag.swiss .spread .body-copy,
body.palette-v2.mag.swiss .card p,
body.palette-v2.mag.swiss .sec-title p,
body.palette-v2.mag.swiss .spread-note p {
  font-family: var(--poster); font-variation-settings: "wdth" 100;
  font-weight: 600; color: var(--ink); opacity: 1;
  font-size: 13px; line-height: 1.45;
}
body.palette-v2.mag.swiss .ztile-meta,
body.palette-v2.mag.swiss .zfolder-count,
body.palette-v2.mag.swiss .zcount {
  color: var(--ink); opacity: 1; font-weight: 800;
}
body.palette-v2.mag.swiss .ztile-title { color: var(--ink); font-weight: 800; }
body.palette-v2.mag.swiss .spread .hl,
body.palette-v2.mag.swiss .hero-chips .hl { color: var(--ink); }

@media (max-width: 1000px) {
  body.palette-v2.mag.swiss .arc { display: none; }
  body.palette-v2.mag.swiss .strip { justify-content: flex-start; padding: 0; }
  body.palette-v2.mag.swiss .strip-i.big::before,
  body.palette-v2.mag.swiss .strip-i.big::after { display: none; }
}
/* ---- the plate is bound by the room that is left ----
   A percentage height against a row that sizes itself from its content is
   circular, and the picture resolved to the full width of the sheet. The row
   is allowed to shrink instead, and the picture keeps a measured height that
   the rows above it are sized to leave room for. */
body.palette-v2.mag.swiss .hero .pro-wrap {
  grid-template-rows: auto auto auto minmax(0, 1fr);
  padding-bottom: 24px;
}
body.palette-v2.mag.swiss .strip {
  min-height: 0; height: auto; padding-top: 0;
  align-items: flex-end;
}
body.palette-v2.mag.swiss .strip-i.big { height: auto; display: block; }
body.palette-v2.mag.swiss .strip-i.big img {
  max-height: 196px; width: auto; max-width: 100%;
}
/* the plate now occupies the bottom right of the sheet, so the marks that
   used to sit there move to the left margin and stack under the note */
body.palette-v2.mag.swiss .note.n1 { bottom: 178px; }
body.palette-v2.mag.swiss .star { bottom: 128px; }
body.palette-v2.mag.swiss .mark-yr2 {
  left: 26px; right: auto; bottom: 36px; text-align: left;
}
/* ==========================================================
   card, second pass — the hover screen, the cast shadow, the drift
   The stipple that came in on hover was a regular dot grid, which reads as a
   mesh laid over the photograph rather than as print. It comes off, and the
   paper grain carries the hover on its own. The shadow under a featured
   piece tightens so it sits on the sheet instead of hovering in fog. And the
   circles behind the name drift toward the pointer.
   ========================================================== */

/* ---- the dot screen comes off the hover entirely ---- */
body.palette-v2.mag.swiss .wash-box::before,
body.palette-v2.mag.swiss .ztile .ztile-img::before { content: none; }
/* the grain stays through the hover instead, just lighter, so the picture
   still reads as something printed once the colour arrives */
body.palette-v2.mag.swiss .spread-art:hover .wash-box::after,
body.palette-v2.mag.swiss .card:hover .wash-box::after,
body.palette-v2.mag.swiss .ztile:hover::after { opacity: .3; }

/* ---- a tighter, harder cast shadow ---- */
body.palette-v2.mag.swiss .wash-box {
  box-shadow: 0 2px 4px rgba(22, 21, 15, .28),
              0 9px 16px rgba(22, 21, 15, .24);
}
body.palette-v2.mag.swiss .spread-art:hover .wash-box,
body.palette-v2.mag.swiss .card:hover .wash-box {
  transform: translateY(-6px);
  box-shadow: 0 3px 6px rgba(22, 21, 15, .34),
              0 16px 26px rgba(22, 21, 15, .30);
}
body.palette-v2.mag.swiss .ztile .ztile-img {
  box-shadow: 0 2px 3px rgba(22, 21, 15, .22),
              0 6px 12px rgba(22, 21, 15, .18);
}
body.palette-v2.mag.swiss .ztile:hover .ztile-img {
  box-shadow: 0 3px 5px rgba(22, 21, 15, .28),
              0 11px 20px rgba(22, 21, 15, .24);
}

/* ---- the circles drift toward the pointer ----
   The script writes two numbers between -0.5 and 0.5 onto the marks layer and
   each shape multiplies them by its own distance, so the nearer shapes move
   further and the set reads as having depth. */
body.palette-v2.mag.swiss .orb {
  transform: translate3d(calc(var(--mx, 0) * 54px), calc(var(--my, 0) * 38px), 0);
  will-change: transform;
}
body.palette-v2.mag.swiss .arc {
  transform: translate3d(calc(var(--mx, 0) * -46px), calc(var(--my, 0) * -30px), 0);
  will-change: transform;
}
body.palette-v2.mag.swiss .ring.r1 {
  transform: translate3d(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -18px), 0);
}
body.palette-v2.mag.swiss .ring.r2 {
  transform: translate3d(calc(var(--mx, 0) * 32px), calc(var(--my, 0) * 22px), 0);
}

/* a slow turn underneath it, so the sheet is never completely still */
@keyframes markDrift {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}
body.palette-v2.mag.swiss .ring.r1 { animation: markDrift 190s linear infinite; }
body.palette-v2.mag.swiss .ring.r2 { animation: markDrift 240s linear infinite reverse; }

@media (prefers-reduced-motion: reduce) {
  body.palette-v2.mag.swiss .orb,
  body.palette-v2.mag.swiss .arc,
  body.palette-v2.mag.swiss .ring { transform: none; animation: none; }
}
/* ==========================================================
   card, third pass — the film photograph's colour in the blur
   The soft mass behind the name takes its colour from the photograph: a hot
   amber flare on one side, the sea blue of the sky on the other, the dusk
   brown of the foreground underneath. It stays the same soft blurred shape,
   it just stops being a grey smudge. The teal over the work brightens, and
   the ruled grid stops crossing the project pictures.
   ========================================================== */

body.palette-v2.mag.swiss .orb {
  opacity: .82;
  filter: blur(22px);
  background:
    /* the sun flare, off centre the way it falls in the photograph */
    radial-gradient(circle at 64% 34%,
      rgba(255, 206, 142, .95) 0%,
      rgba(243, 158, 74, .88) 18%,
      rgba(206, 103, 56, .62) 36%,
      rgba(140, 62, 46, .28) 54%,
      rgba(140, 62, 46, 0) 70%),
    /* the sea blue running under it */
    radial-gradient(circle at 33% 58%,
      rgba(46, 103, 126, .9) 0%,
      rgba(31, 74, 99, .64) 30%,
      rgba(27, 60, 82, .24) 54%,
      rgba(27, 60, 82, 0) 70%),
    /* the dusk brown the whole thing sits on */
    radial-gradient(circle at 50% 74%,
      rgba(86, 42, 36, .55) 0%,
      rgba(70, 34, 30, .26) 40%,
      rgba(70, 34, 30, 0) 66%);
}

/* the teal plate is brighter now, so the picture does not need to be held as
   hard to keep its shape */
body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img,
body.palette-v2.mag.swiss .strip-i img {
  filter: contrast(1.26) brightness(1.06) url(#duotone-teal);
}

/* ---- the ruled grid stops at the edge of a project picture ----
   The grid is a fixed sheet drawn over the page, so a picture is lifted above
   it rather than the grid being cut, which keeps the lines continuous
   everywhere else. */
body.palette-v2.mag.swiss .spread-art .wash-box,
body.palette-v2.mag.swiss .duo .card .wash-box { z-index: 4; }
/* main was given a z-index of its own, which makes it a stacking context and
   traps everything inside it below the grid however high the picture is set.
   Dropping that cap lets the one element that asks to be above the grid get
   there, while everything else stays underneath it as before. */
body.palette-v2.mag.swiss main { z-index: auto; }
/* ==========================================================
   accent — the two inks carried through the whole page
   The page has been black on greige with the colour trapped inside the
   pictures. Here the petrol and the amber come out of them: the petrol takes
   every rule, every number and the close of the page, and the amber takes the
   small marks that are meant to be found rather than read. The mass behind
   the name leans the same way, mostly sea with the flare pushed to its edge.
   ========================================================== */

body.palette-v2.mag.swiss {
  --teal: #15616B;
  --teal-bright: #1E7C86;
  --teal-deep: #0B3A41;
  --amber: #D9802E;
  --amber-deep: #B9631C;
}

/* ---- the mass behind the name: sea first, flare second ---- */
body.palette-v2.mag.swiss .orb {
  opacity: .85;
  background:
    /* the flare, pushed out to the top edge and kept small */
    radial-gradient(circle at 76% 22%,
      rgba(255, 201, 132, .88) 0%,
      rgba(226, 138, 56, .62) 13%,
      rgba(190, 96, 46, .28) 26%,
      rgba(190, 96, 46, 0) 40%),
    /* the sea, now the body of it */
    radial-gradient(circle at 44% 52%,
      rgba(32, 124, 134, .95) 0%,
      rgba(21, 97, 107, .82) 26%,
      rgba(17, 74, 88, .48) 48%,
      rgba(14, 58, 72, .16) 66%,
      rgba(14, 58, 72, 0) 78%),
    /* the dusk underneath, cooled toward the sea */
    radial-gradient(circle at 54% 78%,
      rgba(60, 50, 46, .45) 0%,
      rgba(40, 46, 48, .20) 42%,
      rgba(40, 46, 48, 0) 66%);
}

/* ---- the pictures are held darker, and further apart ---- */
body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img,
body.palette-v2.mag.swiss .strip-i img {
  filter: contrast(1.52) brightness(.98) url(#duotone-teal);
}

/* ---- the petrol takes the rules and the numbers ---- */
body.palette-v2.mag.swiss .sec-title { border-bottom-color: var(--teal); }
body.palette-v2.mag.swiss .spread-num,
body.palette-v2.mag.swiss .zfolder-num { color: var(--teal); }
body.palette-v2.mag.swiss .ztags { border-top-color: var(--teal); }
body.palette-v2.mag.swiss .spread > div { border-top-color: var(--teal); }
body.palette-v2.mag.swiss .spread-note .note-f { border-top-color: var(--teal); }
body.palette-v2.mag.swiss #spreads,
body.palette-v2.mag.swiss .spread,
body.palette-v2.mag.swiss .spread-note,
body.palette-v2.mag.swiss .duo .card {
  border-color: rgba(21, 97, 107, .35);
}
body.palette-v2.mag.swiss > .swiss-grid {
  background-image:
    repeating-linear-gradient(to right,  rgba(21, 97, 107, .20) 0 1px, transparent 1px 12.5%),
    repeating-linear-gradient(to bottom, rgba(21, 97, 107, .12) 0 1px, transparent 1px var(--cell));
}
body.palette-v2.mag.swiss > .swiss-grid::before { border-color: rgba(21, 97, 107, .45); }
body.palette-v2.mag.swiss .zs::after { color: var(--teal); opacity: .09; }
body.palette-v2.mag.swiss .ring { border-color: rgba(21, 97, 107, .26); }
body.palette-v2.mag.swiss .arc { border-color: rgba(21, 97, 107, .45); }

/* ---- the amber takes the small marks ---- */
body.palette-v2.mag.swiss .sec-title::before { color: var(--amber-deep); }
body.palette-v2.mag.swiss .hero-chips::before { color: var(--amber-deep); }
body.palette-v2.mag.swiss .swiss-folio span { color: var(--amber-deep); }
body.palette-v2.mag.swiss .spread .hl,
body.palette-v2.mag.swiss .ztile-meta,
body.palette-v2.mag.swiss .zcount { color: var(--amber-deep); }
body.palette-v2.mag.swiss .axis b { color: var(--amber); opacity: 1; }
body.palette-v2.mag.swiss .star { color: var(--amber); opacity: 1; }
body.palette-v2.mag.swiss .note { border-top-color: var(--amber-deep); }
body.palette-v2.mag.swiss .mark-yr { color: var(--amber-deep); }
body.palette-v2.mag.swiss .mark-yr2 { color: var(--teal); }
body.palette-v2.mag.swiss .barcode { background-color: var(--teal); }
body.palette-v2.mag.swiss .strip-i.big::before { background: var(--teal); }
body.palette-v2.mag.swiss .strip-i.big::after { color: var(--amber-deep); }

/* ---- links read in the petrol and answer in the amber ---- */
body.palette-v2.mag.swiss .zbtn {
  color: var(--teal); border-bottom-color: var(--teal);
}
body.palette-v2.mag.swiss .zbtn:hover {
  color: var(--amber-deep); border-bottom-color: var(--amber-deep);
}
body.palette-v2.mag.swiss .pro-header nav a:hover,
body.palette-v2.mag.swiss .pro-header nav a[aria-current="page"] { color: var(--teal); }
body.palette-v2.mag.swiss .cs-rail a:hover .t,
body.palette-v2.mag.swiss .cs-rail a[aria-current="true"] .t { color: var(--teal); }
body.palette-v2.mag.swiss .cs-rail .n { color: var(--amber-deep); }
body.palette-v2.mag.swiss .ztile:hover .ztile-title { text-decoration-color: var(--amber); }

/* ---- the page closes on the deep petrol ---- */
body.palette-v2.mag.swiss .pro-footer,
body.palette-v2.mag.swiss .zs.bg-ink {
  background: var(--teal-deep); color: var(--stone);
}
body.palette-v2.mag.swiss .pro-footer a { color: var(--stone); }
body.palette-v2.mag.swiss .pro-footer a:hover { color: var(--amber); }
body.palette-v2.mag.swiss .pro-footer .foot-row { border-top-color: rgba(230, 226, 216, .3); }
/* ==========================================================
   air — negative space, and a different face on the titles
   The last reference holds almost nothing on the sheet: a small boxed mark,
   a photograph the size of a postcard, a few dashes, and a great deal of
   paper. Two things follow from it. The page is given much more room, so
   every block is surrounded rather than packed. And the titles leave the
   condensed grotesque for Syne, a display face with letterforms of its own,
   while the small marks go to a monospace, which is what the reference fills
   its margins with.
   ========================================================== */

body.palette-v2.mag.swiss {
  --poster: "Syne", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mark: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* ---- the titles ---- */
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss h1.hero-name,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-family: var(--poster);
  font-variation-settings: normal;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: .88;
}
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(46px, 8.4vw, 128px); }
body.palette-v2.mag.swiss #research-sec .sec-title h2 { font-size: clamp(54px, 11vw, 176px); }
body.palette-v2.mag.swiss h1.hero-name { font-size: clamp(44px, 10.5vw, 168px); line-height: .94; }
body.palette-v2.mag.swiss .spread h3.big { font-size: clamp(24px, 2.6vw, 40px); }
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(28px, 3.1vw, 50px); }
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(24px, 2.4vw, 36px); }
body.palette-v2.mag.swiss .zfolder-tab { font-size: clamp(26px, 2.8vw, 42px); }
body.palette-v2.mag.swiss .pro-footer .mega { font-size: clamp(40px, 6.4vw, 108px); }

/* ---- every small mark goes to the monospace ---- */
body.palette-v2.mag.swiss .hero-chips .hl,
body.palette-v2.mag.swiss .hero-chips::before,
body.palette-v2.mag.swiss .sec-title::before,
body.palette-v2.mag.swiss .spread-num,
body.palette-v2.mag.swiss .zfolder-num,
body.palette-v2.mag.swiss .swiss-folio,
body.palette-v2.mag.swiss .spread .hl,
body.palette-v2.mag.swiss .ztags li,
body.palette-v2.mag.swiss .ztile-meta,
body.palette-v2.mag.swiss .ztile-title,
body.palette-v2.mag.swiss .zcount,
body.palette-v2.mag.swiss .zbtn,
body.palette-v2.mag.swiss .note,
body.palette-v2.mag.swiss .axis,
body.palette-v2.mag.swiss .mark-yr,
body.palette-v2.mag.swiss .mark-yr2,
body.palette-v2.mag.swiss .strip-i.big::after,
body.palette-v2.mag.swiss .spread-note .note-k,
body.palette-v2.mag.swiss .spread-note .note-f,
body.palette-v2.mag.swiss .zs > .vlabel,
body.palette-v2.mag.swiss .cs-rail {
  font-family: var(--mark);
  font-variation-settings: normal;
  font-weight: 700;
}
body.palette-v2.mag.swiss .swiss-folio { font-weight: 700; }

/* ---- the air ---- */
body.palette-v2.mag.swiss .zs { padding: 190px 0; }
body.palette-v2.mag.swiss .sec-title {
  margin-bottom: 120px;
  column-gap: 72px;
  row-gap: 30px;
}
body.palette-v2.mag.swiss .spread-art { padding: 52px 52px 0; }
body.palette-v2.mag.swiss .spread > div { padding: 34px 52px 56px; }
body.palette-v2.mag.swiss .spread-note { padding: 52px; }
body.palette-v2.mag.swiss .duo .card { padding: 52px; }
body.palette-v2.mag.swiss .spread-num { top: 26px; left: 30px; }
body.palette-v2.mag.swiss .spread h3.big { margin-bottom: 20px; }
body.palette-v2.mag.swiss .spread .body-copy { margin-bottom: 30px; }
body.palette-v2.mag.swiss .ztags { margin-top: 24px; padding-top: 16px; }

/* the folders get the same room between the title and the prints */
body.palette-v2.mag.swiss .zfolder-panel { padding-top: 24px; }
body.palette-v2.mag.swiss .zfolder + .zfolder { margin-top: 90px; }

/* the opening screen stops filling itself to the edges */
body.palette-v2.mag.swiss .hero .pro-wrap { padding: 136px 0 34px; }
body.palette-v2.mag.swiss .hero-copy { margin-top: 56px; }
body.palette-v2.mag.swiss .strip-i.big img { max-height: 176px; }

@media (max-width: 1000px) {
  body.palette-v2.mag.swiss .zs { padding: 96px 0; }
  body.palette-v2.mag.swiss .sec-title { margin-bottom: 56px; }
  body.palette-v2.mag.swiss .spread-art { padding: 24px 24px 0; }
  body.palette-v2.mag.swiss .spread > div { padding: 22px 24px 30px; }
  body.palette-v2.mag.swiss .spread-note,
  body.palette-v2.mag.swiss .duo .card { padding: 24px; }
}
/* the hero is a .zs too, so the new section padding was being added around a
   screen that already sets its own; it keeps its own margins */
body.palette-v2.mag.swiss .hero { padding: 0; }
/* ==========================================================
   titles — Big Shoulders Display
   Syne was too far from the condensed poster setting that was working. This
   goes back to a narrow heavy face, but one with a signature of its own: the
   curves are cut flat on their sides and the terminals are sheared at an
   angle, so at this size it reads as drawn rather than as a default
   condensed grotesque. Being narrow again, it can carry more size.
   ========================================================== */

body.palette-v2.mag.swiss {
  --poster: "Big Shoulders Display", "Big Shoulders", "Archivo",
            "Helvetica Neue", Arial, sans-serif;
}

body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss h1.hero-name,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-weight: 800;
  letter-spacing: -0.004em;
  line-height: .84;
}
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(64px, 12.4vw, 196px); }
body.palette-v2.mag.swiss #research-sec .sec-title h2 { font-size: clamp(74px, 16vw, 258px); }
body.palette-v2.mag.swiss h1.hero-name { font-size: clamp(58px, 14.5vw, 238px); line-height: .9; }
body.palette-v2.mag.swiss .spread h3.big { font-size: clamp(30px, 3.4vw, 54px); }
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(36px, 4vw, 66px); }
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(30px, 3.1vw, 48px); }
body.palette-v2.mag.swiss .zfolder-tab { font-size: clamp(32px, 3.6vw, 56px); }
body.palette-v2.mag.swiss .pro-footer .mega { font-size: clamp(52px, 8.6vw, 150px); }
/* ---- running copy is never set in the display face ----
   The body text was pointed at the poster variable back when that variable
   held Archivo, so swapping the titles to a condensed display face dragged
   every paragraph along with it. Copy goes to its own face and stays there
   whatever the titles become. */
body.palette-v2.mag.swiss .hero-copy p,
body.palette-v2.mag.swiss .hero-copy .hl-text,
body.palette-v2.mag.swiss .sec-title p,
body.palette-v2.mag.swiss .spread .body-copy,
body.palette-v2.mag.swiss .card p,
body.palette-v2.mag.swiss .ztile-blurb,
body.palette-v2.mag.swiss .spread-note p,
body.palette-v2.mag.swiss .zfolder-intro,
body.palette-v2.mag.swiss .pro-footer .foot-row p {
  font-family: var(--body);
  font-variation-settings: "wdth" 100;
  font-weight: 500;
}
body.palette-v2.mag.swiss .spread-note .note-k,
body.palette-v2.mag.swiss .spread-note .note-f { font-family: var(--mark); }
/* the lower left corner had the links, the note, the asterisk and the year
   all stacked into the same few centimetres; the note moves out into the
   empty middle of the sheet, and the plate comes back inside the trim */
body.palette-v2.mag.swiss .note.n1 { left: 41%; bottom: 196px; }
body.palette-v2.mag.swiss .star { bottom: 112px; }
body.palette-v2.mag.swiss .strip-i.big img { max-height: 150px; }
/* ==========================================================
   titles — option 10, Instrument Serif
   A high contrast display serif, which is the closest of the set to the
   business card and the only one that is not a grotesque. It draws at a
   single weight, so it is never asked for a bold it does not have, and the
   thin strokes need size to survive, so the titles run larger than the
   condensed faces did.
   ========================================================== */

body.palette-v2.mag.swiss {
  --poster: "Instrument Serif", "Times New Roman", serif;
}

body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss h1.hero-name,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-weight: 400;           /* the face has one weight; never synthesise */
  letter-spacing: -0.022em;
  line-height: .88;
}
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(58px, 11vw, 174px); }
body.palette-v2.mag.swiss #research-sec .sec-title h2 { font-size: clamp(68px, 14.5vw, 232px); }
body.palette-v2.mag.swiss h1.hero-name { font-size: clamp(54px, 13vw, 212px); line-height: .92; }
body.palette-v2.mag.swiss .spread h3.big { font-size: clamp(30px, 3.4vw, 54px); }
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(34px, 3.9vw, 64px); }
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(30px, 3.1vw, 48px); }
body.palette-v2.mag.swiss .zfolder-tab { font-size: clamp(30px, 3.4vw, 52px); }
body.palette-v2.mag.swiss .pro-footer .mega { font-size: clamp(48px, 8vw, 138px); }
/* ==========================================================
   tint — a wash rather than a replacement
   The duotone threw away the photograph's own colour and printed it in two
   inks, which read as washed out next to the paper. This keeps most of the
   picture and lays the petrol over it as a wash: the image is only partly
   desaturated, and a teal layer blended on hue alone pulls what is left
   toward the palette without flattening it. Hover still clears it entirely.
   ========================================================== */

body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img {
  filter: grayscale(.52) contrast(1.12) brightness(1.02);
  transition: filter .45s ease;
}
/* the wash: hue and saturation only, so the picture keeps its own light */
body.palette-v2.mag.swiss .wash-box::before,
body.palette-v2.mag.swiss .ztile .ztile-img::before {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  background: var(--teal);
  mix-blend-mode: color;
  opacity: .46;
  transition: opacity .45s ease;
}
body.palette-v2.mag.swiss .spread-art:hover .wash-box::before,
body.palette-v2.mag.swiss .card:hover .wash-box::before,
body.palette-v2.mag.swiss .ztile:hover .ztile-img::before { opacity: 0; }

/* the portrait on the opening screen is still printed in one ink */
body.palette-v2.mag.swiss .strip-i img {
  filter: contrast(1.12) url(#duotone);
}

@media (prefers-reduced-motion: reduce) {
  body.palette-v2.mag.swiss .wash-box::before,
  body.palette-v2.mag.swiss .ztile .ztile-img::before { transition: none; }
}
/* ==========================================================
   titles — option 01, Anton
   A single weight condensed poster face: heavy, narrow, with a very high x
   height. It only draws at 400, so the titles are pinned there and never ask
   for a bold the family does not contain.
   ========================================================== */

body.palette-v2.mag.swiss {
  --poster: "Anton", "Archivo", "Helvetica Neue", Arial, sans-serif;
}

body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss h1.hero-name,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-weight: 400;
  letter-spacing: -0.006em;
  line-height: .86;
}
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(58px, 11.2vw, 178px); }
body.palette-v2.mag.swiss #research-sec .sec-title h2 { font-size: clamp(66px, 14vw, 226px); }
body.palette-v2.mag.swiss h1.hero-name { font-size: clamp(52px, 13vw, 212px); line-height: .92; }
body.palette-v2.mag.swiss .spread h3.big { font-size: clamp(27px, 3.1vw, 48px); }
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(32px, 3.6vw, 58px); }
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(27px, 2.8vw, 42px); }
body.palette-v2.mag.swiss .zfolder-tab { font-size: clamp(28px, 3.2vw, 48px); }
body.palette-v2.mag.swiss .pro-footer .mega { font-size: clamp(46px, 7.6vw, 132px); }

/* ==========================================================
   tint — the ink is duller, the photograph is not
   Blending on colour means the wash's own saturation is what the picture
   takes on, so a muted ink gives a muted tint. The ink is dropped to a grey
   green and the picture is left nearer its own colour than before, so what
   is dulled is the wash rather than the work underneath it.
   ========================================================== */

body.palette-v2.mag.swiss { --wash: #5C7577; }

body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img {
  filter: grayscale(.28) contrast(1.08) brightness(1.01);
}
body.palette-v2.mag.swiss .wash-box::before,
body.palette-v2.mag.swiss .ztile .ztile-img::before {
  background: var(--wash);
  opacity: .62;
}
/* ==========================================================
   orb — teal at the core, orange at the rim
   One gradient rather than overlapping washes, so the two colours meet in a
   single ring instead of sitting beside each other. The teal holds most of
   the radius and the orange is only the outer edge of it, burning off before
   the shape ends.
   ========================================================== */

body.palette-v2.mag.swiss .orb {
  opacity: .9;
  filter: blur(26px);
  background: radial-gradient(circle at 50% 50%,
    rgba(28, 118, 128, .97)  0%,
    rgba(21,  97, 107, .95) 28%,
    rgba(26, 105, 112, .86) 46%,
    rgba(78, 108,  96, .72) 58%,
    rgba(168, 118,  58, .62) 68%,
    rgba(214, 126,  48, .58) 77%,
    rgba(201, 106,  40, .30) 87%,
    rgba(201, 106,  40, 0)   96%);
}

/* ==========================================================
   bands — a new arrangement for the projects
   The cells were a catalogue: four equal boxes, each holding a picture above
   a caption. The references do something else. The dance poster lets its
   title cross the photograph, the Tallinn sheet runs its pictures off the
   edge of the paper, and both leave the middle of the sheet empty. So each
   project becomes a full width band: the picture pushed off one side of the
   page, the title crossing into it, the rest of the copy ranged in a narrow
   column on the other side, and the side swapping with every project.
   ========================================================== */

body.palette-v2.mag.swiss #spreads {
  display: block;
  border: 0;
}
body.palette-v2.mag.swiss .spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 34px;
  align-items: center;
  border: 0;
  border-top: 1px solid rgba(21, 97, 107, .32);
  padding: 104px 0 112px;
  margin: 0;
  position: relative;
  overflow: visible;
}
body.palette-v2.mag.swiss .spread:first-of-type { border-top: 0; padding-top: 0; }

/* the picture, pushed off the outer edge of the page */
body.palette-v2.mag.swiss .spread-art {
  grid-row: 1; grid-column: 1 / span 7;
  padding: 0; margin: 0;
  width: calc(100% + 150px);
  margin-left: -150px;
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-art {
  grid-column: 6 / span 7;
  margin-left: 0; margin-right: -150px;
}
body.palette-v2.mag.swiss .spread-art img { width: 100%; height: auto; }

/* the copy, in a narrow column on the other side */
body.palette-v2.mag.swiss .spread > div {
  grid-row: 1; grid-column: 8 / span 5;
  align-self: center;
  padding: 0; margin: 0;
  border: 0;
  z-index: 5;
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) > div {
  grid-column: 1 / span 5;
  text-align: right;
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) .body-copy,
body.palette-v2.mag.swiss .spread:nth-of-type(even) .ztags { margin-left: auto; }

/* the title crosses into the picture, the way the poster sets its own over
   the photograph */
body.palette-v2.mag.swiss .spread h3.big {
  position: relative; z-index: 6;
  margin-left: -1.1em;
  font-size: clamp(32px, 4.4vw, 76px);
  mix-blend-mode: multiply;
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) h3.big {
  margin-left: 0; margin-right: -1.1em;
}
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(32px, 4.4vw, 76px); }

/* the number sits large in the margin, above the band */
body.palette-v2.mag.swiss .spread-num {
  position: absolute; top: 70px; left: 0; z-index: 6;
  font-size: 12px; letter-spacing: .2em;
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-num { left: auto; right: 0; }
body.palette-v2.mag.swiss .spread:first-of-type .spread-num { top: -34px; }

/* the block of type keeps a band of its own, set in the middle of the page */
body.palette-v2.mag.swiss .spread-note {
  display: block;
  border: 0; border-top: 1px solid rgba(21, 97, 107, .32);
  padding: 96px 0 100px;
  margin: 0;
  max-width: 62ch; margin-left: auto; margin-right: auto;
  text-align: center;
}
body.palette-v2.mag.swiss .spread-note p { font-size: 15px; line-height: 1.6; }
body.palette-v2.mag.swiss .spread-note .note-f {
  border-top: 0; margin-top: 24px;
}

@media (max-width: 1000px) {
  body.palette-v2.mag.swiss .spread,
  body.palette-v2.mag.swiss .spread:nth-of-type(even) { display: block; padding: 56px 0 64px; }
  body.palette-v2.mag.swiss .spread-art,
  body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-art {
    width: 100%; margin: 0;
  }
  body.palette-v2.mag.swiss .spread > div,
  body.palette-v2.mag.swiss .spread:nth-of-type(even) > div { text-align: left; margin-top: 22px; }
  body.palette-v2.mag.swiss .spread h3.big,
  body.palette-v2.mag.swiss .spread:nth-of-type(even) h3.big { margin: 0 0 14px; }
  body.palette-v2.mag.swiss .spread-num { position: static; }
}
/* ==========================================================
   tighter — everything down a size, and the numbers cut off
   The arrangement stays; the scale comes down so more than one project is on
   screen at a time. Titles, section heads and the opening name all drop, the
   bands lose most of their padding, and each picture is capped in height so
   a tall shot cannot stretch its band. The folio becomes what the reference
   does with it: a heavy figure set over the top of the picture and cut off
   by its edge.
   ========================================================== */

/* ---- display sizes, all down a step ---- */
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(38px, 7vw, 108px); }
body.palette-v2.mag.swiss #research-sec .sec-title h2 { font-size: clamp(44px, 9vw, 142px); }
body.palette-v2.mag.swiss h1.hero-name { font-size: clamp(40px, 9.4vw, 152px); }
body.palette-v2.mag.swiss .spread h3.big { font-size: clamp(22px, 2.4vw, 36px); }
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(24px, 2.7vw, 42px); }
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(22px, 2.2vw, 33px); }
body.palette-v2.mag.swiss .zfolder-tab { font-size: clamp(22px, 2.4vw, 34px); }
body.palette-v2.mag.swiss .pro-footer .mega { font-size: clamp(36px, 5.6vw, 94px); }

/* ---- the page closes up ---- */
body.palette-v2.mag.swiss .zs { padding: 104px 0; }
body.palette-v2.mag.swiss .hero { padding: 0; }
body.palette-v2.mag.swiss .sec-title { margin-bottom: 54px; column-gap: 48px; row-gap: 18px; }
body.palette-v2.mag.swiss .spread { padding: 52px 0 58px; column-gap: 28px; }
body.palette-v2.mag.swiss .spread-note { padding: 54px 0 56px; }
body.palette-v2.mag.swiss .duo .card { padding: 34px; }
body.palette-v2.mag.swiss .zfolder + .zfolder { margin-top: 54px; }
body.palette-v2.mag.swiss .spread h3.big { margin-bottom: 14px; }
body.palette-v2.mag.swiss .spread .body-copy { margin-bottom: 20px; }
body.palette-v2.mag.swiss .ztags { margin-top: 16px; padding-top: 10px; }

/* ---- the picture is capped, so a tall shot cannot stretch its band ---- */
body.palette-v2.mag.swiss .spread-art {
  grid-column: 1 / span 6;
  width: calc(100% + 92px); margin-left: -92px;
  overflow: hidden;              /* this is what cuts the figure off */
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-art {
  grid-column: 7 / span 6;
  margin-left: 0; margin-right: -92px;
}
body.palette-v2.mag.swiss .spread > div { grid-column: 7 / span 6; }
body.palette-v2.mag.swiss .spread:nth-of-type(even) > div { grid-column: 1 / span 6; }
body.palette-v2.mag.swiss .spread-art img {
  width: 100%; height: auto; max-height: 400px; object-fit: contain;
}

/* ---- the folio, set heavy over the picture and cut off by its edge ---- */
body.palette-v2.mag.swiss .spread-num {
  position: absolute; z-index: 7;
  top: -0.3em; left: 14px; right: auto; bottom: auto;
  margin: 0; padding: 0;
  font-family: var(--poster); font-weight: 400;
  font-size: clamp(76px, 9.4vw, 158px); line-height: .78;
  letter-spacing: -0.01em;
  color: rgba(238, 236, 228, .88);
  pointer-events: none;
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-num { left: 106px; }
body.palette-v2.mag.swiss .spread-num::before,
body.palette-v2.mag.swiss .spread-num::after { content: none; }
body.palette-v2.mag.swiss .spread:first-of-type .spread-num { top: -0.3em; }

@media (max-width: 1000px) {
  body.palette-v2.mag.swiss .zs { padding: 72px 0; }
  body.palette-v2.mag.swiss .spread-num { font-size: clamp(56px, 16vw, 92px); left: 10px; }
  body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-num { left: 10px; }
  body.palette-v2.mag.swiss .spread-art img { max-height: none; }
}
/* the figure was a pale fill, which disappeared over the lighter pictures;
   a thin dark edge under it keeps it readable on both a bright marble top
   and a dark wooden one, without turning it into a solid block */
body.palette-v2.mag.swiss .spread-num {
  color: rgba(244, 242, 235, .95);
  text-shadow: 0 0 1px rgba(22, 21, 15, .42),
               0 1px 4px rgba(22, 21, 15, .28);
}

/* one more step down, so a second project is always on screen with the first */
body.palette-v2.mag.swiss .spread { padding: 42px 0 46px; }
body.palette-v2.mag.swiss .spread-art img { max-height: 330px; }
body.palette-v2.mag.swiss .spread-num { font-size: clamp(64px, 7.8vw, 128px); }
body.palette-v2.mag.swiss .spread-note { padding: 44px 0 46px; }
/* ==========================================================
   the folio moves off the picture
   It sits above the picture instead, on the paper, still set heavy and still
   cut off along its top. The cut is done on the figure itself rather than by
   an ancestor clipping it, because the pictures deliberately run past the
   edge of their band and clipping the band would cut those off too.
   ========================================================== */

body.palette-v2.mag.swiss .spread-art { overflow: visible; }

body.palette-v2.mag.swiss .spread-num {
  position: static;
  display: block;
  margin: 0 0 10px 92px;          /* clears the picture's bleed on this side */
  padding: 0;
  font-family: var(--poster); font-weight: 400;
  font-size: clamp(60px, 7.4vw, 122px);
  line-height: .78;
  letter-spacing: -0.01em;
  color: rgba(21, 97, 107, .55);
  text-shadow: none;
  clip-path: inset(32% 0 0 0);     /* the top third is cut away */
  pointer-events: none;
}
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-num {
  margin-left: 0;                  /* that band bleeds the other way */
}
/* a last step down, so two whole projects sit on one screen together */
body.palette-v2.mag.swiss .spread { padding: 34px 0 38px; }
body.palette-v2.mag.swiss .spread-art img { max-height: 296px; }
body.palette-v2.mag.swiss .spread-num {
  font-size: clamp(54px, 6.6vw, 104px);
  margin-bottom: 8px;
}
/* the wash over a More work tile was being composited against the page
   rather than against the picture, because its box was not a group of its
   own; isolating it makes the blend land the way it does on the project
   pictures, whose box already forms one */
body.palette-v2.mag.swiss .ztile .ztile-img {
  isolation: isolate;
  position: relative;
  display: block;
}
/* ==========================================================
   the wash becomes one filter
   The overlay approach worked on the project pictures, whose box happens to
   form a compositing group, and silently did nothing on the More work tiles,
   whose box does not. A filter has no such condition: it mixes the muted
   duotone back over the photograph inside a single pass, so every picture on
   the page is washed the same way and hover still clears it completely.
   ========================================================== */

body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img {
  filter: url(#wash);
  transition: filter .45s ease;
}
/* the overlay is retired, so nothing is tinted twice */
body.palette-v2.mag.swiss .wash-box::before,
body.palette-v2.mag.swiss .ztile .ztile-img::before { content: none; }

body.palette-v2.mag.swiss .spread-art:hover .wash-box img,
body.palette-v2.mag.swiss .card:hover .wash-box img,
body.palette-v2.mag.swiss .ztile:hover img { filter: none; }
/* ==========================================================
   contrast — the pictures sit off the paper
   The wash mapped a picture's highlights to the ground colour itself, so the
   light parts of every photograph matched the sheet exactly and the edges
   dissolved. The ramp now stops well short of the paper at its top end and
   goes deeper at its bottom, and every picture is given a hairline edge and
   a firmer shadow, so it reads as a plate laid on the page.
   ========================================================== */

body.palette-v2.mag.swiss .wash-box {
  box-shadow: 0 0 0 1px rgba(22, 21, 15, .42),
              0 3px 5px rgba(22, 21, 15, .30),
              0 12px 22px rgba(22, 21, 15, .26);
}
body.palette-v2.mag.swiss .spread-art:hover .wash-box,
body.palette-v2.mag.swiss .card:hover .wash-box {
  box-shadow: 0 0 0 1px rgba(22, 21, 15, .55),
              0 4px 7px rgba(22, 21, 15, .34),
              0 20px 34px rgba(22, 21, 15, .32);
}
body.palette-v2.mag.swiss .ztile .ztile-img {
  box-shadow: 0 0 0 1px rgba(22, 21, 15, .34),
              0 2px 4px rgba(22, 21, 15, .24),
              0 8px 15px rgba(22, 21, 15, .20);
}
body.palette-v2.mag.swiss .ztile:hover .ztile-img {
  box-shadow: 0 0 0 1px rgba(22, 21, 15, .48),
              0 3px 6px rgba(22, 21, 15, .30),
              0 13px 24px rgba(22, 21, 15, .26);
}
/* ==========================================================
   the rail — Selected work slides past
   The bands are replaced by a row of cards that drifts on its own and stops
   the moment you point at it, so it can be read rather than watched. It is a
   real scroller underneath, which is what gives it a trackpad, a touch screen
   and a keyboard for nothing; the script only adds the drift and the drag.
   The stroke around a picture comes off at the same time, and the frames are
   filled rather than fitted, so no paper shows inside one.
   ========================================================== */

/* ---- no outline on a picture; the shadow carries it instead ---- */
body.palette-v2.mag.swiss .wash-box {
  box-shadow: 0 6px 10px rgba(22, 21, 15, .26),
              0 18px 34px rgba(22, 21, 15, .30);
}
body.palette-v2.mag.swiss .spread-art:hover .wash-box,
body.palette-v2.mag.swiss .card:hover .wash-box {
  box-shadow: 0 10px 16px rgba(22, 21, 15, .30),
              0 28px 50px rgba(22, 21, 15, .36);
}
body.palette-v2.mag.swiss .ztile .ztile-img {
  box-shadow: 0 4px 8px rgba(22, 21, 15, .22),
              0 12px 24px rgba(22, 21, 15, .24);
}
body.palette-v2.mag.swiss .ztile:hover .ztile-img {
  box-shadow: 0 7px 12px rgba(22, 21, 15, .26),
              0 20px 36px rgba(22, 21, 15, .30);
}

/* ---- the track ---- */
body.palette-v2.mag.swiss #spreads {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  padding-bottom: 14px;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
body.palette-v2.mag.swiss #spreads::-webkit-scrollbar { display: none; }
body.palette-v2.mag.swiss #spreads.dragging { cursor: grabbing; }
body.palette-v2.mag.swiss #spreads.dragging a { pointer-events: none; }

/* ---- a card ---- */
body.palette-v2.mag.swiss .spread,
body.palette-v2.mag.swiss .spread:nth-of-type(even) {
  display: block;
  flex: 0 0 clamp(280px, 25vw, 400px);
  width: clamp(280px, 25vw, 400px);
  border: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  position: relative;
}

/* the picture fills its frame: no paper inside the edges */
body.palette-v2.mag.swiss .spread-art,
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-art {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}
body.palette-v2.mag.swiss .spread-art .cutout,
body.palette-v2.mag.swiss .spread-art .wash-box { display: block; }
body.palette-v2.mag.swiss .spread-art .wash-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
body.palette-v2.mag.swiss .spread-art img,
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-art img {
  width: 100%; height: 100%; max-height: none;
  object-fit: cover; object-position: center;
  display: block;
}

/* the number sits above the card, still cut off along its top */
body.palette-v2.mag.swiss .spread-num,
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-num {
  position: static; display: block;
  margin: 0 0 6px; padding: 0;
  font-size: clamp(42px, 3.6vw, 60px);
  clip-path: inset(32% 0 0 0);
}

body.palette-v2.mag.swiss .spread > div,
body.palette-v2.mag.swiss .spread:nth-of-type(even) > div {
  display: block; margin: 0; padding: 18px 0 0;
  border: 0; text-align: left;
}
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .spread:nth-of-type(even) h3.big,
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big {
  margin: 8px 0 10px;
  font-size: clamp(24px, 2.2vw, 34px);
  mix-blend-mode: normal;
}
body.palette-v2.mag.swiss .spread .body-copy,
body.palette-v2.mag.swiss .spread:nth-of-type(even) .body-copy {
  margin: 0 0 14px; max-width: none;
}
body.palette-v2.mag.swiss .spread .ztags,
body.palette-v2.mag.swiss .spread:nth-of-type(even) .ztags { margin-left: 0; }

/* the block of type travels in the row as a card of its own */
body.palette-v2.mag.swiss .spread-note {
  flex: 0 0 clamp(260px, 22vw, 330px);
  width: clamp(260px, 22vw, 330px);
  display: flex; flex-direction: column; justify-content: center;
  border: 0; border-left: 1px solid var(--hair);
  margin: 0; padding: 0 0 0 26px;
  max-width: none; text-align: left;
}
body.palette-v2.mag.swiss .spread-note .note-f { border-top: 1px solid var(--hair); }

@media (max-width: 760px) {
  body.palette-v2.mag.swiss .spread,
  body.palette-v2.mag.swiss .spread:nth-of-type(even) {
    flex-basis: 78vw; width: 78vw;
  }
  body.palette-v2.mag.swiss .spread-note { flex-basis: 78vw; width: 78vw; }
}
/* ==========================================================
   elegance — the technical signals come out
   What was reading as tech was mostly the typewriter face: a monospace on
   every label, number and caption makes a page look like a terminal however
   it is coloured. Those go to the business card's serif, set small and
   widely spaced. With it: the barcode goes, the ruled grid loses its
   horizontals and most of its weight, the hairlines get finer, and the
   shadows stop being UI drop shadows and become the soft lift of a print
   lying on paper.
   ========================================================== */

body.palette-v2.mag.swiss {
  --mark: "Cormorant Garamond", "Didot", Georgia, serif;
  --hair: rgba(22, 21, 15, .18);
  --rule: rgba(22, 21, 15, .11);
}

/* the small print: a serif, larger than the mono was, and more open */
body.palette-v2.mag.swiss .hero-chips .hl,
body.palette-v2.mag.swiss .hero-chips::before,
body.palette-v2.mag.swiss .sec-title::before,
body.palette-v2.mag.swiss .spread-num,
body.palette-v2.mag.swiss .zfolder-num,
body.palette-v2.mag.swiss .swiss-folio,
body.palette-v2.mag.swiss .spread .hl,
body.palette-v2.mag.swiss .ztags li,
body.palette-v2.mag.swiss .ztile-meta,
body.palette-v2.mag.swiss .ztile-title,
body.palette-v2.mag.swiss .zcount,
body.palette-v2.mag.swiss .zbtn,
body.palette-v2.mag.swiss .note,
body.palette-v2.mag.swiss .axis,
body.palette-v2.mag.swiss .mark-yr,
body.palette-v2.mag.swiss .mark-yr2,
body.palette-v2.mag.swiss .strip-i.big::after,
body.palette-v2.mag.swiss .spread-note .note-k,
body.palette-v2.mag.swiss .spread-note .note-f,
body.palette-v2.mag.swiss .zs > .vlabel,
body.palette-v2.mag.swiss .cs-rail {
  font-family: var(--mark);
  font-weight: 600;
  font-variation-settings: normal;
}
body.palette-v2.mag.swiss .spread .hl,
body.palette-v2.mag.swiss .ztile-meta,
body.palette-v2.mag.swiss .sec-title::before,
body.palette-v2.mag.swiss .hero-chips::before {
  font-size: 12.5px; letter-spacing: .26em;
}
body.palette-v2.mag.swiss .hero-chips .hl { font-size: 12px; letter-spacing: .26em; line-height: 2; }
body.palette-v2.mag.swiss .ztags li { font-size: 12px; letter-spacing: .22em; }
body.palette-v2.mag.swiss .zbtn { font-size: 12.5px; letter-spacing: .26em; border-bottom-width: 1px; }
body.palette-v2.mag.swiss .note { font-size: 12px; letter-spacing: .16em; line-height: 1.9; }
body.palette-v2.mag.swiss .axis { font-size: 12px; letter-spacing: .34em; }
body.palette-v2.mag.swiss .ztile-title { font-size: 13px; letter-spacing: .2em; }
body.palette-v2.mag.swiss .mark-yr { font-size: 14px; letter-spacing: .2em; }
body.palette-v2.mag.swiss .zs > .vlabel { font-size: 11px; letter-spacing: .3em; }
body.palette-v2.mag.swiss .cs-rail { font-size: 12px; letter-spacing: .18em; }
body.palette-v2.mag.swiss .spread-note .note-k { font-size: 12.5px; letter-spacing: .26em; }
body.palette-v2.mag.swiss .spread-note .note-f { font-size: 11.5px; letter-spacing: .2em; }
body.palette-v2.mag.swiss .strip-i.big::after { font-size: 11.5px; letter-spacing: .24em; }

/* the barcode was the most literal piece of technical furniture on the page */
body.palette-v2.mag.swiss .barcode { display: none; }
body.palette-v2.mag.swiss .mark-yr { top: 92px; }

/* the grid keeps its columns and loses its rows, at a fraction of the weight */
body.palette-v2.mag.swiss > .swiss-grid {
  background-image:
    repeating-linear-gradient(to right, rgba(22, 21, 15, .07) 0 1px, transparent 1px 12.5%);
}
body.palette-v2.mag.swiss > .swiss-grid::before { border-color: rgba(22, 21, 15, .22); }
body.palette-v2.mag.swiss .ring { border-color: rgba(21, 97, 107, .16); }
body.palette-v2.mag.swiss .arc { border-color: rgba(21, 97, 107, .3); }

/* the rules thin out */
body.palette-v2.mag.swiss .sec-title { border-bottom: 1px solid var(--hair); padding-bottom: 20px; }
body.palette-v2.mag.swiss .ztags { border-top-color: var(--hair); }
body.palette-v2.mag.swiss .spread-note { border-left-color: var(--hair); }
body.palette-v2.mag.swiss .spread-note .note-f { border-top-color: var(--hair); }
body.palette-v2.mag.swiss .note { border-top-color: rgba(185, 99, 28, .55); }

/* the pictures lift off the sheet rather than casting a UI shadow */
body.palette-v2.mag.swiss .wash-box {
  box-shadow: 0 10px 26px rgba(22, 21, 15, .17),
              0 30px 60px rgba(22, 21, 15, .13);
}
body.palette-v2.mag.swiss .spread-art:hover .wash-box,
body.palette-v2.mag.swiss .card:hover .wash-box {
  box-shadow: 0 16px 36px rgba(22, 21, 15, .22),
              0 40px 78px rgba(22, 21, 15, .17);
}
body.palette-v2.mag.swiss .ztile .ztile-img {
  box-shadow: 0 7px 18px rgba(22, 21, 15, .15),
              0 20px 40px rgba(22, 21, 15, .11);
}
body.palette-v2.mag.swiss .ztile:hover .ztile-img {
  box-shadow: 0 11px 24px rgba(22, 21, 15, .19),
              0 28px 54px rgba(22, 21, 15, .15);
}

/* the mass behind the name settles back a little */
body.palette-v2.mag.swiss .orb { opacity: .72; filter: blur(34px); }
/* The opening screen asks for a whole screen of height but starts below the
   header, so everything hung off its bottom edge was sitting under the fold.
   It takes the header's height off its own. */
body.palette-v2.mag.swiss .hero {
  min-height: calc(100vh - 58px);
  min-height: calc(100svh - 58px);
}

/* the serif sets wider than the typewriter did, so the corner notes need a
   narrower measure and more room away from the margin furniture */
body.palette-v2.mag.swiss .note { max-width: 22ch; line-height: 1.8; }
body.palette-v2.mag.swiss .note.n2 { right: 88px; bottom: 300px; }
body.palette-v2.mag.swiss .note.n1 { left: 41%; bottom: 158px; }
body.palette-v2.mag.swiss .star { display: none; }
/* the plate's caption ran under the page number; it only needs the figure */
body.palette-v2.mag.swiss .strip-i.big::after { content: "FIG. 1"; }
/* ==========================================================
   to the wireframe
   The arrangement in the drawing is the one the page already has, piece for
   piece. What differs is the typography: the titles are a high contrast
   serif at a light weight rather than a heavy condensed grotesque, and the
   name sits inside the page's margins, justified across the measure, instead
   of running off both edges.
   ========================================================== */

body.palette-v2.mag.swiss {
  --poster: "Cormorant Garamond", "Didot", Georgia, serif;
}

body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss h1.hero-name,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-weight: 500;
  letter-spacing: .005em;
  line-height: .96;
}

/* ---- the name: one line, inside the margins, filling the measure ---- */
body.palette-v2.mag.swiss h1.hero-name {
  grid-column: 1 / -1;
  padding: 0 30px;
  margin: 10px 0 0;
  font-size: clamp(42px, 9.4vw, 152px);
  line-height: 1.02;
  letter-spacing: .01em;
  white-space: normal;
  text-align: justify;
  text-align-last: justify;
}
body.palette-v2.mag.swiss h1.hero-name span { display: inline; }
body.palette-v2.mag.swiss h1.hero-name span + span { margin-left: 0; }
body.palette-v2.mag.swiss h1.hero-name span + span::before { content: " "; }

/* ---- the rest of the display sizes, set for a lighter face ---- */
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega { font-size: clamp(40px, 7.8vw, 122px); }
body.palette-v2.mag.swiss #research-sec .sec-title h2 { font-size: clamp(48px, 10.4vw, 166px); }
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(26px, 2.6vw, 40px); }
body.palette-v2.mag.swiss .card h3.big { font-size: clamp(26px, 2.6vw, 38px); }
body.palette-v2.mag.swiss .zfolder-tab { font-size: clamp(26px, 2.6vw, 40px); }
body.palette-v2.mag.swiss .pro-footer .mega { font-size: clamp(40px, 6.6vw, 112px); }

/* the folio over a card is the same serif, so it stops being a slab */
body.palette-v2.mag.swiss .spread-num {
  font-weight: 500; letter-spacing: .02em;
  font-size: clamp(40px, 3.4vw, 56px);
  clip-path: none;                 /* a light serif reads as a mistake cut */
  color: var(--teal);
}

/* the plate sits on the bottom edge of the sheet, as the drawing has it */
body.palette-v2.mag.swiss .hero .pro-wrap { padding-bottom: 0; }
body.palette-v2.mag.swiss .strip { padding-right: 58px; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss h1.hero-name {
    text-align: left; text-align-last: left; padding: 0;
    font-size: clamp(38px, 11vw, 64px);
  }
}
/* everything in the left column hangs off the same margin as the name */
body.palette-v2.mag.swiss .hero-chips { padding-left: 30px; }
body.palette-v2.mag.swiss .hero-copy p,
body.palette-v2.mag.swiss .zactions { padding-left: 30px; }
body.palette-v2.mag.swiss .mark-yr2 { left: 30px; }
body.palette-v2.mag.swiss .note.n1 { left: 38%; }

/* the plate runs to the foot of the sheet, as the drawing has it */
body.palette-v2.mag.swiss .strip { align-items: flex-end; }
body.palette-v2.mag.swiss .strip-i.big img { max-height: 190px; }
/* the plate was seven pixels past the foot of the sheet */
body.palette-v2.mag.swiss .strip-i.big img { max-height: 180px; }

/* ==========================================================
   the name fills the measure by size, not by stretched spaces
   Justifying a two word line puts every leftover pixel into the one space
   between them, so the gap ballooned on a wide screen and vanished on a
   narrow one. Instead the line is set solid, with its normal word space, and
   the type size itself is tied to the width of the page: at weight 700 this
   name measures 9.38 times its font size, so dividing the available width by
   a shade over that fills the line at any width with the same gap.
   ========================================================== */

body.palette-v2.mag.swiss h1.hero-name {
  font-size: calc((100vw - 92px) / 9.5);
  white-space: nowrap;
  text-align: left;
  text-align-last: auto;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.04;
  padding: 0 30px;
}

/* the rest of the titles take the heavier weight too */
body.palette-v2.mag.swiss .sec-title h2,
body.palette-v2.mag.swiss .mega,
body.palette-v2.mag.swiss .spread h3.big,
body.palette-v2.mag.swiss .card h3.big,
body.palette-v2.mag.swiss .zfolder-tab,
body.palette-v2.mag.swiss .pro-footer .mega {
  font-weight: 600;
}
body.palette-v2.mag.swiss .spread-num { font-weight: 600; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss h1.hero-name {
    white-space: normal;
    font-size: clamp(38px, 11vw, 64px);
    padding: 0;
  }
}
/* The two words are separate spans with nothing between them, so there was
   never a real space: the gap you saw on a wide screen was justification
   stretching an empty seam. The gap is set as a margin instead, a shade over
   the face's own word space, so it is the same at every width. */
body.palette-v2.mag.swiss h1.hero-name span + span::before { content: none; }
body.palette-v2.mag.swiss h1.hero-name span + span { margin-left: .26em; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss h1.hero-name span { display: block; }
  body.palette-v2.mag.swiss h1.hero-name span + span { margin-left: 0; }
}
/* An earlier rule set the gap as 12vw through span:nth-child(2). A pseudo
   class counts as a class, so that selector outranked the newer one however
   far down the file it sat; this matches it on the same ground. */
body.palette-v2.mag.swiss h1.hero-name span:nth-child(2) { margin-left: .26em; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss h1.hero-name span:nth-child(2) { margin-left: 0; }
}
/* tuned against the measured ratio: the line is 9.38 times its font size
   wide including the word gap, and the slack covers a scrollbar, which 100vw
   counts but the page cannot use */
body.palette-v2.mag.swiss h1.hero-name { font-size: calc((100vw - 76px) / 9.38); }
/* ==========================================================
   sm — the Smiski project's own blocks
   The drawings came out of screenshots, so none of them is larger than about
   250px and a few are smaller. Every one is capped near its own size and
   contained, so nothing is stretched past what the file actually holds, and
   the rows centre rather than stretch to fill.
   ========================================================== */

.sm-row {
  display: grid;
  gap: 34px 30px;
  align-items: end;
  justify-items: center;
  margin: 26px 0 0;
}
.sm-row.sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm-row.sm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm-row.sm-stages { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--hair, rgba(22,21,15,.18)); }

.sm-row figure { margin: 0; max-width: 100%; text-align: center; }
.sm-row img { display: block; height: auto; max-width: 100%; object-fit: contain; }

/* the drawings keep to their own size; the photographs may fill the column */
.sm-art img { width: auto; max-height: 280px; margin: 0 auto; }
.sm-art.sm-big img { max-height: 420px; }
.sm-stages .sm-art img { max-height: 210px; }
.sm-photo img { width: 100%; max-height: 360px; object-fit: contain; }

.sm-row figcaption {
  margin-top: 12px;
  font-size: 13px; line-height: 1.5;
  max-width: 34ch; margin-left: auto; margin-right: auto;
}
.sm-row figcaption b { display: block; font-weight: 700; }

.sm-lead { font-size: 1.1em; line-height: 1.5; margin: 0 0 4px; }
.sm-meta, .sm-note, .sm-cap {
  margin: 20px 0 0;
  font-size: 13px; line-height: 1.55;
  max-width: 62ch;
}
.sm-note { padding-top: 12px; border-top: 1px solid var(--hair, rgba(22,21,15,.18)); }

@media (max-width: 760px) {
  .sm-row.sm-2, .sm-row.sm-3 { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sm-art img, .sm-art.sm-big img { max-height: 260px; }
}
/* ==========================================================
   the case studies join the scheme
   Applying the home page's classes brings the paper, the faces, the grid and
   the trim across, but two habits of the old collage survive in the case
   study's own markup: the hard offset shadow behind every panel, and the
   solid black chips in the header. Both are quietened here.
   ========================================================== */

body.palette-v2.mag.swiss .cs-extra,
body.palette-v2.mag.swiss .cs-wide,
body.palette-v2.mag.swiss .cs-spread .paper-block,
body.palette-v2.mag.swiss .cs-note {
  box-shadow: none;
  border: 0;
  background: none;
}
body.palette-v2.mag.swiss .cs-extra { padding-left: 0; padding-right: 0; }

/* the metadata reads as small caps on a rule, like everything else */
body.palette-v2.mag.swiss .cs-meta b,
body.palette-v2.mag.swiss .cs-facts b,
body.palette-v2.mag.swiss .cs-head b {
  background: none;
  color: var(--amber-deep);
  font-family: var(--mark);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .26em;
  padding: 0;
  border: 0;
}

/* the step number and its title sit on one line, both in the serif */
body.palette-v2.mag.swiss .cs-spread h2,
body.palette-v2.mag.swiss .cs-num {
  font-family: var(--poster);
  font-weight: 600;
  letter-spacing: .005em;
}
body.palette-v2.mag.swiss .cs-num { color: var(--teal); }

/* the sections take the page's own rhythm rather than full colour bands */
body.palette-v2.mag.swiss .cs-spread,
body.palette-v2.mag.swiss .zs.cs-spread { background: var(--paper); }
body.palette-v2.mag.swiss .cs-spread + .cs-spread {
  border-top: 1px solid var(--hair);
}
/* the step number was a 60px slab in the old display face with a three pixel
   stroke around it; it becomes the same bracketed small caps mark the rest of
   the page labels itself with, set above the heading rather than beside it */
body.palette-v2.mag.swiss .cs-head { display: block; }
body.palette-v2.mag.swiss .step-num {
  display: block;
  font-family: var(--mark);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .26em;
  line-height: 1.6;
  color: var(--amber-deep);
  -webkit-text-stroke: 0;
  text-shadow: none;
  margin: 0 0 8px;
}
body.palette-v2.mag.swiss .step-num::before { content: "("; }
body.palette-v2.mag.swiss .step-num::after { content: ")"; }
/* ==========================================================
   pw — Pressly's process sections
   Built to the supplied column plan: paired action units, an eight and four
   split for ideation and the prototype, a three step sequence with the
   transitions written between them, and four actions in a row at the end.
   The pictures are never tinted and never cropped, which the handoff asks
   for, so they are contained inside their frames.
   ========================================================== */

.pw-body { max-width: 56ch; margin: 0 0 26px; }

.pw-row { display: grid; gap: 32px; align-items: start; }
.pw-row.pw-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pw-row.pw-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pw-row figure, .pw-seq figure, .pw-split figure { margin: 0; }
.pw-row img, .pw-seq img, .pw-split img {
  display: block; width: 100%; height: auto;
  object-fit: contain; background: none;
}
.pw-row figcaption, .pw-seq figcaption, .pw-split figcaption {
  margin-top: 12px; font-size: 14px; line-height: 1.5;
}
.pw-row figcaption b, .pw-split figcaption b {
  font-weight: 600; margin-right: .5em; color: var(--teal, #15616B);
}

/* the two action units: the old action as a symbol, then the press */
.pw-act { text-align: left; }
.pw-sym { display: block; width: 40px; }
.pw-sym img { width: 100%; height: auto; }
.pw-down {
  display: block; width: 1px; height: 26px; margin: 8px 0 8px 20px;
  background: var(--teal, #15616B); position: relative;
}
.pw-down::after {
  content: ""; position: absolute; left: -3px; bottom: 0;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 6px solid var(--teal, #15616B);
}

/* eight columns beside four: the spread, then the one that was chosen */
.pw-split { display: grid; grid-template-columns: 8fr 4fr; gap: 32px; align-items: start; }
.pw-split .pw-row { gap: 24px; }
.pw-picked img, .pw-main img { width: 100%; }
.pw-picked { outline: 1px solid var(--teal, #15616B); outline-offset: 10px; }
.pw-mark {
  display: inline-block; margin-right: .6em;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber-deep, #B9631C);
}
.pw-stack { display: grid; gap: 26px; }

/* three stages with the change written between them */
.pw-seq { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; }
.pw-step {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2, #5E5B51); text-align: center;
  max-width: 11ch; line-height: 1.6;
}
.pw-step::before { content: ""; display: block; height: 1px; background: var(--teal, #15616B); margin: 0 auto 10px; width: 26px; }

@media (max-width: 900px) {
  .pw-row.pw-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-split { grid-template-columns: minmax(0, 1fr); }
  .pw-seq { grid-template-columns: minmax(0, 1fr); }
  .pw-step { max-width: none; }
  .pw-picked { outline-offset: 6px; }
}
@media (max-width: 560px) {
  .pw-row.pw-2, .pw-row.pw-4 { grid-template-columns: minmax(0, 1fr); }
}
/* The handoff asks for a smaller comparison diagram in research rather than a
   second hero sized image, and one consistent viewing scale across the final
   row. Capping the heights does both, and aligning the figures to the top of
   their row keeps the captions on one line together. */
.pw-row.pw-2 .pw-act .pw-shot { max-height: 300px; width: auto; }
.pw-row.pw-4 img { max-height: 260px; width: auto; margin: 0 auto; }
.pw-row.pw-4 figure, .pw-row.pw-2 figure, .pw-seq figure { align-self: start; }
.pw-seq { align-items: start; }
.pw-seq img { max-height: 230px; width: auto; margin: 0 auto; }
.pw-seq figcaption, .pw-row.pw-4 figcaption { text-align: center; }
.pw-act figcaption { text-align: left; }
.pw-step { align-self: center; }
.pw-split .pw-row img { max-height: 280px; width: auto; margin: 0 auto; }
.pw-picked img { max-height: 320px; width: auto; margin: 0 auto; }
.pw-main img { max-height: 420px; width: auto; margin: 0 auto; }
.pw-stack img { max-height: 240px; width: auto; margin: 0 auto; }
/* the four final actions share one picture area so their labels line up */
.pw-row.pw-4 figure { display: grid; grid-template-rows: 260px auto; align-items: end; }
.pw-row.pw-2 .pw-act { display: grid; grid-template-rows: auto auto 300px auto; align-items: end; }
@media (max-width: 900px) {
  .pw-row.pw-4 figure { grid-template-rows: 220px auto; }
  .pw-row.pw-2 .pw-act { grid-template-rows: auto auto 240px auto; }
}
/* three across for a final row of three, and a two step sequence for a stage
   that has one change rather than two */
.pw-row.pw-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pw-row.pw-3 figure { display: grid; grid-template-rows: 300px auto; align-items: end; }
.pw-row.pw-3 img { max-height: 300px; width: auto; margin: 0 auto; }
.pw-row.pw-3 figcaption { text-align: center; }
.pw-seq.pw-seq-2 { grid-template-columns: 1fr auto 1fr; }

@media (max-width: 900px) {
  .pw-row.pw-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw-row.pw-3 figure { grid-template-rows: 230px auto; }
  .pw-seq.pw-seq-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pw-row.pw-3 { grid-template-columns: minmax(0, 1fr); }
}
/* ==========================================================
   the pointer, and the room above the name
   The old pointer was a filled slab with a hard offset behind it, drawn for
   the collage scheme. This one is the same arrow reduced to a hairline
   outline: pale enough to read over a dark photograph, fine enough to read
   over the paper, and the petrol fill marks something that opens. Scoped to
   the pages wearing this scheme, so the archived site keeps its own.
   ========================================================== */

@media (pointer: fine) {
  body.palette-v2.mag.swiss,
  body.palette-v2.mag.swiss .zbtn:disabled {
    cursor: url("../icons/cursor-ed.svg") 3 2, auto;
  }
  body.palette-v2.mag.swiss a,
  body.palette-v2.mag.swiss button,
  body.palette-v2.mag.swiss label,
  body.palette-v2.mag.swiss .zbtn,
  body.palette-v2.mag.swiss .ztile,
  body.palette-v2.mag.swiss .cs-hero,
  body.palette-v2.mag.swiss .cs-fig img,
  body.palette-v2.mag.swiss .cs-gallery img,
  body.palette-v2.mag.swiss .cs-pages img,
  body.palette-v2.mag.swiss [data-zoom] {
    cursor: url("../icons/cursor-ed-link.svg") 3 2, pointer;
  }
}

/* the opening screen started a long way under the header */
body.palette-v2.mag.swiss .hero .pro-wrap { padding-top: 76px; }
/* ==========================================================
   sm, second pass — hierarchy instead of a block of text
   Each section was a heading with a paragraph sitting under it at one size.
   Now the first sentence is lifted into a serif deck, the explanation drops
   to a smaller sans beneath it, and the research notes hang off a rule. The
   copy also moves beside the pictures where the section has room for it,
   which is what the supplied plan asked for.
   ========================================================== */

.sm-deck {
  font-family: var(--poster, Georgia, serif);
  font-weight: 500;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.22;
  letter-spacing: .004em;
  max-width: 24ch;
  margin: 0 0 16px;
}
.sm-deck-wide { max-width: 40ch; }
.sm-sub {
  font-size: 13.5px; line-height: 1.6; max-width: 46ch; margin: 0 0 16px;
}
.sm-aside .sm-note, .sm-note {
  font-size: 12px; line-height: 1.7; max-width: 42ch;
  margin: 18px 0 0; padding-top: 12px;
  border-top: 1px solid var(--hair, rgba(22,21,15,.18));
}

/* copy beside pictures, on the plan's own column splits */
.sm-split { display: grid; gap: 40px; align-items: start; margin-top: 8px; }
.sm-split.sm-4-8 { grid-template-columns: 4fr 8fr; }
.sm-split.sm-8-4 { grid-template-columns: 8fr 4fr; }
.sm-split.sm-6-6 { grid-template-columns: 1fr 1fr; }
.sm-split .sm-row { margin-top: 0; }
.sm-aside { align-self: center; }
.sm-aside .sm-deck { margin-bottom: 14px; }

@media (max-width: 900px) {
  .sm-split.sm-4-8, .sm-split.sm-8-4, .sm-split.sm-6-6 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sm-aside { align-self: start; }
  .sm-deck { max-width: none; }
}
/* ==========================================================
   the staggered sheet — Selected work and Research to the wireframe
   The drifting rail is gone. The four projects sit in one row at four
   different sizes and four different baselines, each with its number above
   and its title under a short rule, which is what the drawing shows. The
   blurbs and tag lists come off: the drawing gives a card a title and an
   arrow, nothing more.
   ========================================================== */

body.palette-v2.mag.swiss #spreads {
  display: grid;
  grid-template-columns: 320fr 420fr 256fr 240fr;
  align-items: end;
  gap: 0 34px;
  overflow: visible;
  cursor: auto;
  padding: 0;
  border: 0;
}
body.palette-v2.mag.swiss .spread,
body.palette-v2.mag.swiss .spread:nth-of-type(even) {
  display: block; width: auto; flex: none;
  margin: 0; padding: 0; border: 0; text-align: left;
}
/* the four baselines in the drawing */
body.palette-v2.mag.swiss .spread:nth-of-type(1) { padding-bottom: 46px; }
body.palette-v2.mag.swiss .spread:nth-of-type(2) { padding-bottom: 0; }
body.palette-v2.mag.swiss .spread:nth-of-type(3) { padding-bottom: 36px; }
body.palette-v2.mag.swiss .spread:nth-of-type(4) { padding-bottom: 36px; }

/* the picture keeps the drawing's proportion for its slot */
body.palette-v2.mag.swiss .spread-art .wash-box { aspect-ratio: auto; overflow: hidden; }
body.palette-v2.mag.swiss .spread:nth-of-type(1) .wash-box { aspect-ratio: 320 / 290; }
body.palette-v2.mag.swiss .spread:nth-of-type(2) .wash-box { aspect-ratio: 420 / 390; }
body.palette-v2.mag.swiss .spread:nth-of-type(3) .wash-box { aspect-ratio: 256 / 230; }
body.palette-v2.mag.swiss .spread:nth-of-type(4) .wash-box { aspect-ratio: 240 / 290; }

/* number above, title and arrow under a short rule */
body.palette-v2.mag.swiss .spread-num {
  margin: 0 0 10px; clip-path: none;
  font-size: 12.5px; letter-spacing: .26em; color: var(--amber-deep);
}
body.palette-v2.mag.swiss .spread > div { padding: 16px 0 0; }
body.palette-v2.mag.swiss .spread .hl,
body.palette-v2.mag.swiss .spread .body-copy,
body.palette-v2.mag.swiss .spread .ztags { display: none; }
body.palette-v2.mag.swiss .spread h3.big {
  margin: 0; font-size: clamp(18px, 1.7vw, 26px);
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
body.palette-v2.mag.swiss .spread h3.big::after {
  content: "\2192"; font-family: var(--mark); color: var(--teal);
  font-size: .8em; flex: none;
}
body.palette-v2.mag.swiss .spread > div .zbtn {
  display: block; margin: 10px 0 0; padding: 0; border: 0;
  width: 46%; height: 2px; background: var(--ink-2); opacity: .5;
  font-size: 0; color: transparent;
}

/* the block of type is not part of this arrangement */
body.palette-v2.mag.swiss .spread-note { display: none; }

/* ---- research: one wide, one smaller, both ranged on the same baseline ---- */
body.palette-v2.mag.swiss .duo {
  display: grid; grid-template-columns: 806fr 466fr; gap: 34px;
  align-items: end; border: 0;
}
body.palette-v2.mag.swiss .duo .card {
  padding: 0; border: 0; margin: 0; display: block;
}
body.palette-v2.mag.swiss .duo .card:nth-child(3) { display: none; }
body.palette-v2.mag.swiss .duo .card .wash-box { aspect-ratio: 806 / 234; overflow: hidden; }
body.palette-v2.mag.swiss .duo .card:nth-child(2) .wash-box { aspect-ratio: 466 / 192; }
body.palette-v2.mag.swiss .duo .card img { width: 100%; height: 100%; object-fit: cover; }
body.palette-v2.mag.swiss .duo .card p { display: none; }
body.palette-v2.mag.swiss .card h3.big {
  margin: 16px 0 0; font-size: clamp(18px, 1.7vw, 26px);
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}
body.palette-v2.mag.swiss .card h3.big::after {
  content: "\2192"; font-family: var(--mark); color: var(--teal); font-size: .8em; flex: none;
}
body.palette-v2.mag.swiss .duo .card .zbtn {
  display: block; margin: 10px 0 0; padding: 0; border: 0;
  width: 46%; height: 2px; background: var(--ink-2); opacity: .5;
  font-size: 0; color: transparent;
}

@media (max-width: 900px) {
  body.palette-v2.mag.swiss #spreads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  body.palette-v2.mag.swiss .spread:nth-of-type(n) { padding-bottom: 0; }
  body.palette-v2.mag.swiss .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body.palette-v2.mag.swiss #spreads { grid-template-columns: minmax(0, 1fr); }
}
/* the collector reel: one row of photographs that drifts past */
.sm-reel { margin-top: 8px; }
.sm-reel-track {
  display: flex; gap: 18px; align-items: flex-end;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; cursor: grab;
  overscroll-behavior-x: contain;
  padding-bottom: 6px;
}
.sm-reel-track::-webkit-scrollbar { display: none; }
.sm-reel-track.dragging { cursor: grabbing; }
.sm-reel-track figure { margin: 0; flex: 0 0 auto; }
.sm-reel-track img {
  display: block; width: auto; height: 230px; max-width: none;
  object-fit: contain;
}
.sm-reel-cap {
  margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; max-width: 56ch;
}
.sm-reel-cap span { color: var(--ink-2, #5E5B51); }
/* the pair of arrows that walk the row one photograph at a time */
.sm-reel-nav { display: flex; gap: 8px; margin-top: 12px; }
.sm-reel-btn {
  width: 38px; height: 30px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 15px; line-height: 1;
  color: var(--ink, #16150F); background: transparent;
  border: 1px solid var(--hair, rgba(22,21,15,.18));
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.sm-reel-btn:hover,
.sm-reel-btn:focus-visible {
  background: var(--teal, #15616B); border-color: var(--teal, #15616B);
  color: var(--stone, #E6E2D8);
}

@media (max-width: 760px) {
  .sm-reel-track img { height: 170px; }
}
/* a scroller inside a grid or flex parent needs permission to be narrower
   than its contents, or it pushes the whole page sideways instead */
.sm-reel, .sm-split, .sm-split > *, .sm-row, .sm-row > * { min-width: 0; }
.sm-reel-track { max-width: 100%; }
/* ----------------------------------------------------------
   the Smiski assembly material: a four up row, a left to right
   lifecycle strip, numbered folding steps, and the full guide sheets
   ---------------------------------------------------------- */
.sm-row.sm-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .sm-row.sm-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sm-flow {
  display: flex; align-items: flex-end; justify-content: flex-start;
  gap: 14px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--hair, rgba(22,21,15,.18));
}
.sm-flow figure { margin: 0; text-align: center; max-width: 160px; }
.sm-flow img {
  display: block; width: auto; max-width: 100%; max-height: 112px;
  margin: 0 auto 10px; object-fit: contain;
}
.sm-flow figcaption {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2, #5E5B51);
}
.sm-flow .sm-arrow {
  align-self: center; padding-bottom: 22px;
  color: var(--teal, #15616B); font-size: 15px;
}

.sm-steps {
  display: grid; gap: 30px 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0; padding: 0; list-style: none;
  counter-reset: sm-step;
}
.sm-steps > li { margin: 0; counter-increment: sm-step; }
/* the step drawings carry their own numbers, so the sheet does not add a second set */

/* every step sits in a frame of the same height so the row reads as a
   sequence; the drawings vary a lot in shape, so each is centred inside
   its frame at its own proportions rather than stretched to fill it */
.sm-steps figure {
  margin: 0 0 12px; height: 180px;
  display: flex; align-items: center; justify-content: center;
}
.sm-steps img {
  display: block; width: auto; max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.sm-steps p { margin: 0; font-size: 13px; line-height: 1.6; }
.sm-steps b { display: block; font-weight: 700; }
@media (max-width: 760px) { .sm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sm-sheet { margin: 26px 0 0; text-align: center; }
.sm-sheet img {
  display: block; width: auto; max-width: 100%; max-height: 560px;
  margin: 0 auto; object-fit: contain;
}
.sm-sheet figcaption {
  margin-top: 10px; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2, #5E5B51);
}
/* the cards still carried the column spans from the modular sheet, so each
   one claimed seven columns of a four column grid and invented empty ones */
body.palette-v2.mag.swiss #spreads > * { grid-column: auto; grid-row: auto; }
body.palette-v2.mag.swiss .spread:nth-of-type(1),
body.palette-v2.mag.swiss .spread:nth-of-type(2),
body.palette-v2.mag.swiss .spread:nth-of-type(3),
body.palette-v2.mag.swiss .spread:nth-of-type(4),
body.palette-v2.mag.swiss .spread:nth-of-type(even) { grid-column: auto; }
body.palette-v2.mag.swiss .duo > * { grid-column: auto; }
/* the even numbered cards were still taking the band layout's large clipped
   figure; all four read the same way now */
body.palette-v2.mag.swiss .spread:nth-of-type(even) .spread-num,
body.palette-v2.mag.swiss .spread:nth-of-type(odd) .spread-num {
  font-size: 12.5px; letter-spacing: .26em; clip-path: none;
  margin: 0 0 10px; color: var(--amber-deep);
}
/* the research cards kept their twelve column spans, set through nth-child,
   which outranks a plain reset; these match it on the same ground */
body.palette-v2.mag.swiss .duo .card:nth-child(1),
body.palette-v2.mag.swiss .duo .card:nth-child(2) { grid-column: auto; }
body.palette-v2.mag.swiss .duo .card:nth-child(3) { display: none; }
/* ==========================================================
   two by two, with a pecking order
   Selected work moves off one line into a two by two block, and the four
   projects stop being equals: Pressly takes the most room and the largest
   title, then Cheetah Pals, then ClipFit, then Everwood Soap. Size, title
   and the amount of air around each one all step down together, so the
   order reads before any of it is read.
   ========================================================== */

body.palette-v2.mag.swiss #spreads {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: start;
  gap: 76px 54px;
}
body.palette-v2.mag.swiss .spread,
body.palette-v2.mag.swiss .spread:nth-of-type(even) { padding-bottom: 0; }

/* each project keeps its own share of its column */
body.palette-v2.mag.swiss .spread:nth-of-type(1) { width: 100%; }
body.palette-v2.mag.swiss .spread:nth-of-type(2) { width: 92%; margin-top: 44px; }
body.palette-v2.mag.swiss .spread:nth-of-type(3) { width: 74%; }
body.palette-v2.mag.swiss .spread:nth-of-type(4) { width: 62%; margin-top: 30px; }

body.palette-v2.mag.swiss .spread:nth-of-type(1) .wash-box { aspect-ratio: 7 / 5; }
body.palette-v2.mag.swiss .spread:nth-of-type(2) .wash-box { aspect-ratio: 1 / 1; }
body.palette-v2.mag.swiss .spread:nth-of-type(3) .wash-box { aspect-ratio: 5 / 4; }
body.palette-v2.mag.swiss .spread:nth-of-type(4) .wash-box { aspect-ratio: 4 / 5; }

/* the titles step down with them */
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big { font-size: clamp(26px, 2.8vw, 44px); }
body.palette-v2.mag.swiss .spread:nth-of-type(2) h3.big { font-size: clamp(22px, 2.2vw, 34px); }
body.palette-v2.mag.swiss .spread:nth-of-type(3) h3.big { font-size: clamp(19px, 1.8vw, 27px); }
body.palette-v2.mag.swiss .spread:nth-of-type(4) h3.big { font-size: clamp(17px, 1.6vw, 23px); }

/* ---- the section head stops stretching its one space ---- */
body.palette-v2.mag.swiss .sec-title h2 {
  text-align: left;
  text-align-last: auto;
}

/* ---- the opening screen starts closer under the header ---- */
body.palette-v2.mag.swiss .hero .pro-wrap { padding-top: 48px; }

/* ---- each section is marked off, quietly ---- */
body.palette-v2.mag.swiss .zs + .zs { border-top: 1px solid var(--hair); }
body.palette-v2.mag.swiss #research-sec,
body.palette-v2.mag.swiss .zs.bg-mustard {
  background-image: linear-gradient(rgba(22, 21, 15, .022), rgba(22, 21, 15, .022));
}

@media (max-width: 900px) {
  body.palette-v2.mag.swiss #spreads { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  body.palette-v2.mag.swiss .spread:nth-of-type(n) { width: 100%; margin-top: 0; }
}
/* ==========================================================
   closer, and with a line of copy each
   The four projects sit nearer together, and each one carries the short
   description it already has in the data. The portrait leaves the opening
   screen and appears beside the wordmark instead, small enough to read as a
   mark rather than a photograph.
   ========================================================== */

body.palette-v2.mag.swiss #spreads { gap: 54px 36px; }
body.palette-v2.mag.swiss .spread:nth-of-type(2) { margin-top: 30px; }
body.palette-v2.mag.swiss .spread:nth-of-type(4) { margin-top: 22px; }

/* the description comes back, sized against its project's rank */
body.palette-v2.mag.swiss .spread .body-copy {
  display: block;
  margin: 10px 0 0;
  font-size: 13px; line-height: 1.5;
  max-width: 42ch;
  color: var(--ink-2);
}
body.palette-v2.mag.swiss .spread:nth-of-type(1) .body-copy { font-size: 14px; color: var(--ink); }
body.palette-v2.mag.swiss .spread > div .zbtn { margin-top: 14px; }

/* the portrait as a mark beside the wordmark */
body.palette-v2.mag.swiss .pro-mark {
  display: inline-flex; align-items: center; gap: 10px;
}
body.palette-v2.mag.swiss .pro-mark-face {
  width: 26px; height: 32px; object-fit: cover; object-position: center 18%;
  display: block; filter: url(#wash);
}
@media (max-width: 560px) {
  body.palette-v2.mag.swiss .pro-mark-face { display: none; }
}

/* the opening screen keeps the room the portrait used to take */
body.palette-v2.mag.swiss .strip { display: none; }
/* ==========================================================
   the side panel, and sections that announce themselves
   The jump bar moves off the bottom of the window and up the left margin,
   where it reads as a contents list rather than a toolbar: a number, a rule
   that grows when you are in that section, and the name. The big ghosted
   word that used to sit in that margin comes off to make room for it. Each
   section is also marked harder: a rule across the top, its own slight shift
   in the paper, and more air before the title.
   ========================================================== */

body.palette-v2.mag.swiss .cs-rail {
  position: fixed;
  left: 26px; right: auto; bottom: auto; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  background: none; border: 0; box-shadow: none; padding: 0;
  font-family: var(--mark); font-weight: 600;
  font-size: 11px; letter-spacing: .18em;
}
body.palette-v2.mag.swiss .cs-rail ol {
  display: block; margin: 0; padding: 0; max-width: none; overflow: visible;
}
body.palette-v2.mag.swiss .cs-rail li { display: block; }
body.palette-v2.mag.swiss .cs-rail a {
  display: grid;
  grid-template-columns: 2.6em 22px auto;
  align-items: center; gap: 0 10px;
  padding: 7px 0; border-radius: 0;
  white-space: nowrap; text-transform: uppercase;
  color: var(--ink-2);
}
body.palette-v2.mag.swiss .cs-rail a:hover { background: none; }
body.palette-v2.mag.swiss .cs-rail .n { font-size: 10px; opacity: 1; color: var(--amber-deep); }

/* the rule between the number and the name grows for the section you are in */
body.palette-v2.mag.swiss .cs-rail a::before {
  content: ""; display: block; height: 1px; width: 12px;
  background: currentColor; opacity: .5;
  transition: width .3s ease, opacity .3s ease;
}
body.palette-v2.mag.swiss .cs-rail a:hover::before,
body.palette-v2.mag.swiss .cs-rail a[aria-current="true"]::before {
  width: 22px; opacity: 1;
}
body.palette-v2.mag.swiss .cs-rail .t { opacity: .75; font-weight: 600; }
body.palette-v2.mag.swiss .cs-rail a:hover .t,
body.palette-v2.mag.swiss .cs-rail a[aria-current="true"] .t {
  opacity: 1; color: var(--teal);
}

/* the margin is the panel's now */
body.palette-v2.mag.swiss .zs::after { display: none; }

/* ---- the sections are marked harder ---- */
body.palette-v2.mag.swiss .zs + .zs { border-top: 1px solid rgba(21, 97, 107, .4); }
body.palette-v2.mag.swiss #research-sec,
body.palette-v2.mag.swiss .zs.bg-mustard {
  background-image: linear-gradient(rgba(22, 21, 15, .04), rgba(22, 21, 15, .04));
}
body.palette-v2.mag.swiss .sec-title::before { padding-top: 4px; }
body.palette-v2.mag.swiss .zs { padding-top: 118px; }

/* the page keeps clear of the panel */
@media (min-width: 1200px) {
  body.palette-v2.mag.swiss.has-rail main { padding-left: 86px; }
}
@media (max-width: 1199px) {
  body.palette-v2.mag.swiss .cs-rail { display: none; }
}
/* ==========================================================
   the overview points get a box
   Problem, Evidence, Outcome and where it stands were four runs of type with
   nothing holding them apart. Each one sits in a quiet box now: a hairline,
   a shade of the paper, and its label in the amber small caps the rest of
   the page labels with. Enough to separate them, not enough to read as a
   row of cards.
   ========================================================== */

body.palette-v2.mag.swiss .cs-tldr-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  align-items: stretch;
}
body.palette-v2.mag.swiss .cs-tldr-list .paper-block {
  background: linear-gradient(rgba(22, 21, 15, .028), rgba(22, 21, 15, .028));
  border: 1px solid var(--hair);
  box-shadow: none;
  padding: 20px 20px 22px;
  margin: 0;
}
body.palette-v2.mag.swiss .cs-tldr-list dt {
  font-family: var(--mark);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}
body.palette-v2.mag.swiss .cs-tldr-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}

@media (max-width: 760px) {
  body.palette-v2.mag.swiss .cs-tldr-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
/* the panel's margin is taken from the sections, not from the opening
   screen: the name is sized against the full window and would run off the
   edge if the whole page were inset */
@media (min-width: 1200px) {
  body.palette-v2.mag.swiss.has-rail main { padding-left: 0; }
  body.palette-v2.mag.swiss.has-rail .zs:not(.hero) > .pro-wrap { padding-left: 86px; }
}
/* ==========================================================
   the side panel comes off, and the Work menu joins the scheme
   The margin goes back to the turned section word. The menu loses the heavy
   border, the hard offset shadow and the coloured category bars: it becomes
   a sheet of the same paper with hairline rules, serif names and a teal mark
   that grows for whichever project you are pointing at.
   ========================================================== */

body.palette-v2.mag.swiss .cs-rail { display: none; }
body.palette-v2.mag.swiss.has-rail .zs:not(.hero) > .pro-wrap { padding-left: 0; }
body.palette-v2.mag.swiss .zs::after { display: block; }

/* ---- the menu ---- */
body.palette-v2.mag.swiss .work-pop {
  width: min(94vw, 364px);
  padding: 10px 0 8px;
  background: var(--stone);
  border: 1px solid var(--hair);
  box-shadow: 0 14px 34px rgba(22, 21, 15, .16),
              0 40px 70px rgba(22, 21, 15, .10);
}
body.palette-v2.mag.swiss .work-pop ul + .wm-head {
  border-top: 1px solid var(--hair);
  padding-top: 12px;
}
body.palette-v2.mag.swiss .work-pop .wm-head {
  font-family: var(--mark); font-weight: 600;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--amber-deep);
  padding: 4px 18px 8px; margin: 0;
}
body.palette-v2.mag.swiss .work-pop li + li { border-top: 1px solid rgba(22, 21, 15, .1); }
body.palette-v2.mag.swiss .work-pop li a {
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 0 12px; padding: 10px 18px;
}

/* the category colour becomes one quiet rule in the palette's own teal */
body.palette-v2.mag.swiss .work-pop li a::before {
  width: 10px; height: 1px; align-self: center; grid-row: 1;
  background: var(--teal); opacity: .45;
  transition: width .18s ease, opacity .18s ease;
}
body.palette-v2.mag.swiss .work-pop li a:hover::before,
body.palette-v2.mag.swiss .work-pop li a:focus-visible::before,
body.palette-v2.mag.swiss .work-pop li a[aria-current="page"]::before {
  width: 14px; opacity: 1; transform: none;
}
body.palette-v2.mag.swiss .work-pop li a:hover,
body.palette-v2.mag.swiss .work-pop li a:focus-visible,
body.palette-v2.mag.swiss .work-pop li a[aria-current="page"] {
  background: linear-gradient(rgba(22, 21, 15, .035), rgba(22, 21, 15, .035));
}

body.palette-v2.mag.swiss .wm-name {
  font-family: var(--poster); font-weight: 600;
  font-size: 19px; letter-spacing: .004em; line-height: 1.2;
  color: var(--ink);
}
body.palette-v2.mag.swiss .work-pop li a:hover .wm-name,
body.palette-v2.mag.swiss .work-pop li a:focus-visible .wm-name,
body.palette-v2.mag.swiss .work-pop li a[aria-current="page"] .wm-name { color: var(--teal); }

body.palette-v2.mag.swiss .wm-note {
  font-family: var(--body); font-size: 12.5px; line-height: 1.5; color: var(--ink-2);
}
body.palette-v2.mag.swiss .wm-all {
  font-family: var(--mark); font-weight: 600;
  font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--teal); padding: 10px 18px 4px;
  border-top: 1px solid var(--hair); margin-top: 6px;
}
body.palette-v2.mag.swiss .wm-all:hover { color: var(--amber-deep); text-decoration: none; }
/* the header carries a z-index of its own, which traps the menu inside it at
   that level; the name sits at the same level and is painted later, so it
   covered the menu. The header goes above the page's content instead. */
body.palette-v2.mag.swiss .pro-header { z-index: 60; }
/* ==========================================================
   clearing the opening screen
   The name was sized to fill the window and ran under the turned list in the
   right margin, and the ghosted section word sat beneath it on the left. The
   name is sized to stop short of the margin furniture, the ghost comes off
   the opening screen only, and the whole block starts closer to the header.
   ========================================================== */

body.palette-v2.mag.swiss h1.hero-name { font-size: calc((100vw - 150px) / 9.38); }
body.palette-v2.mag.swiss .hero::after { content: none; }
body.palette-v2.mag.swiss .hero .pro-wrap { padding-top: 26px; }
/* Pressly's closing row reads as two lines of two rather than one line of
   four, so each action is large enough to read */
.pw-row.pw-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 34px; }
.pw-row.pw-4 figure { grid-template-rows: 300px auto; }
.pw-row.pw-4 img { max-height: 300px; }
@media (max-width: 760px) {
  .pw-row.pw-4 { grid-template-columns: minmax(0, 1fr); }
  .pw-row.pw-4 figure { grid-template-rows: 230px auto; }
}
/* The name was sized purely as a fraction of the window, so on a wider
   screen it grew taller and dropped into the note on the right. It is capped
   now, the note is moved clear of it, and the block starts higher still. */
body.palette-v2.mag.swiss h1.hero-name {
  font-size: min(calc((100vw - 150px) / 9.38), 148px);
}
body.palette-v2.mag.swiss .note.n2 { bottom: 236px; }
body.palette-v2.mag.swiss .hero .pro-wrap { padding-top: 10px; }
/* ==========================================================
   smaller featured pictures, fuller research frames, one line per folder
   The project pictures come down a size so the four of them read as an
   index rather than four posters. The research frames grow to hold a whole
   hero rather than a strip of one. And each More work folder is a single
   line of small prints that lift and enlarge under the pointer.
   ========================================================== */

/* ---- the featured pictures, a size down ---- */
body.palette-v2.mag.swiss .spread:nth-of-type(1) { width: 82%; }
body.palette-v2.mag.swiss .spread:nth-of-type(2) { width: 76%; }
body.palette-v2.mag.swiss .spread:nth-of-type(3) { width: 62%; }
body.palette-v2.mag.swiss .spread:nth-of-type(4) { width: 52%; }

/* ---- research: a frame deep enough for the whole picture ---- */
body.palette-v2.mag.swiss .duo { grid-template-columns: 1fr 1fr; gap: 40px; }
body.palette-v2.mag.swiss .duo .card .wash-box,
body.palette-v2.mag.swiss .duo .card:nth-child(2) .wash-box { aspect-ratio: 3 / 2; }
body.palette-v2.mag.swiss .duo .card img { object-fit: cover; object-position: center; }

/* ---- each folder is one line that enlarges under the pointer ---- */
body.palette-v2.mag.swiss .ztiles {
  display: flex; flex-wrap: nowrap; align-items: flex-start;
  gap: 18px; margin: 0; padding: 0; list-style: none;
}
body.palette-v2.mag.swiss .ztiles > li {
  flex: 1 1 0; min-width: 0; width: auto; margin: 0;
}
body.palette-v2.mag.swiss .ztiles > li.extra { display: block; }
body.palette-v2.mag.swiss .ztile {
  transform: none; width: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
body.palette-v2.mag.swiss .ztile .ztile-img { overflow: hidden; }
body.palette-v2.mag.swiss .ztile img {
  width: 100%; height: 150px; object-fit: cover;
  transition: transform .4s ease;
}
/* pointing at a print lifts it out of the line */
body.palette-v2.mag.swiss .ztile:hover,
body.palette-v2.mag.swiss .ztile:focus-visible {
  transform: scale(1.16) translateY(-8px); z-index: 6; position: relative;
}
body.palette-v2.mag.swiss .ztiles > li:first-child .ztile:hover { transform-origin: left center; }
body.palette-v2.mag.swiss .ztiles > li:last-child .ztile:hover { transform-origin: right center; }
body.palette-v2.mag.swiss .ztile-title,
body.palette-v2.mag.swiss .ztile-meta { font-size: 10.5px; letter-spacing: .18em; }
body.palette-v2.mag.swiss .ztile-blurb { display: none; }
body.palette-v2.mag.swiss .ztiles li.big .ztile-title { font-size: 13px; margin-top: 10px; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss .ztiles { flex-wrap: wrap; }
  body.palette-v2.mag.swiss .ztiles > li { flex: 0 0 calc(50% - 9px); }
  body.palette-v2.mag.swiss .ztile:hover { transform: none; }
  body.palette-v2.mag.swiss .duo { grid-template-columns: minmax(0, 1fr); }
}
/* The tiles were filling a landscape frame with cover, which cut the top and
   bottom off anything portrait: the basketball and the diffuser are both
   taller than they are wide and lost about forty per cent of their height.
   Containing them keeps every piece whole inside the same frame. */
body.palette-v2.mag.swiss .ztile img {
  object-fit: contain;
  object-position: center;
  height: 164px;
}
body.palette-v2.mag.swiss .ztile .ztile-img {
  display: grid; place-items: center;
  background: linear-gradient(rgba(22, 21, 15, .02), rgba(22, 21, 15, .02));
}
/* ==========================================================
   Selected work takes the research arrangement
   Two equal columns, equal frames, the picture filling each one, the title
   and its arrow under a short rule. The staggered sizes and baselines come
   off, so the four projects read as a set rather than a ranking.
   ========================================================== */

body.palette-v2.mag.swiss #spreads {
  grid-template-columns: 1fr 1fr;
  gap: 54px 40px;
  align-items: start;
}
body.palette-v2.mag.swiss .spread:nth-of-type(1),
body.palette-v2.mag.swiss .spread:nth-of-type(2),
body.palette-v2.mag.swiss .spread:nth-of-type(3),
body.palette-v2.mag.swiss .spread:nth-of-type(4) {
  width: 100%; margin-top: 0; padding-bottom: 0;
}
body.palette-v2.mag.swiss .spread:nth-of-type(1) .wash-box,
body.palette-v2.mag.swiss .spread:nth-of-type(2) .wash-box,
body.palette-v2.mag.swiss .spread:nth-of-type(3) .wash-box,
body.palette-v2.mag.swiss .spread:nth-of-type(4) .wash-box {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
body.palette-v2.mag.swiss .spread-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
body.palette-v2.mag.swiss .spread:nth-of-type(1) h3.big,
body.palette-v2.mag.swiss .spread:nth-of-type(2) h3.big,
body.palette-v2.mag.swiss .spread:nth-of-type(3) h3.big,
body.palette-v2.mag.swiss .spread:nth-of-type(4) h3.big {
  font-size: clamp(18px, 1.7vw, 26px);
  margin: 16px 0 0;
}
body.palette-v2.mag.swiss .spread:nth-of-type(1) .body-copy { font-size: 13px; color: var(--ink-2); }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss #spreads { grid-template-columns: minmax(0, 1fr); }
}
/* ==========================================================
   each print keeps its own shape
   The tiles ran from 0.77 to 1.63 in proportion, so one fixed frame could
   only either cut the tall ones or leave paper showing around them. The
   frame takes each picture's own shape instead: nothing is cropped and
   nothing is padded. The row is aligned on its foot so the captions line up
   while the tops stay ragged, which is what a row of prints does.
   ========================================================== */

body.palette-v2.mag.swiss .ztiles { align-items: flex-end; }
body.palette-v2.mag.swiss .ztile .ztile-img {
  display: block;
  background: none;
  overflow: hidden;
}
body.palette-v2.mag.swiss .ztile img {
  width: 100%; height: auto;
  max-height: none;
  object-fit: fill;
}
/* ==========================================================
   one frame, nothing cropped, nothing showing
   Uniform boxes, no cropping and no visible padding can only hold together
   if the padding is the page's own paper and nothing draws an edge around
   it. So the frames are all one size, each picture is contained inside its
   own, the ground is the paper exactly, and the shadow comes off the frame.
   What lifts on hover is the picture, not a card.
   ========================================================== */

body.palette-v2.mag.swiss .ztiles { align-items: flex-start; }
body.palette-v2.mag.swiss .ztile .ztile-img {
  display: grid; place-items: center;
  height: 172px;
  background: var(--stone);
  box-shadow: none;
  overflow: hidden;
}
body.palette-v2.mag.swiss .ztile:hover .ztile-img { box-shadow: none; }
body.palette-v2.mag.swiss .ztile img {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  body.palette-v2.mag.swiss .ztile .ztile-img { height: 150px; }
}
/* The pictures were capped at their own pixel size, so a smaller source sat
   well inside its frame while a larger one filled it, and the row looked
   uneven even though every box was identical. Giving each picture the whole
   frame and containing it scales every one up or down until it touches the
   frame on one side: same boxes, nothing cropped, nothing undersized. */
body.palette-v2.mag.swiss .ztile img {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  object-fit: contain;
  object-position: center;
}
/* ==========================================================
   the notes join the layout
   They were floating over the opening screen, anchored to its bottom edge,
   so on a shorter window they rose into the name and on a wider one they met
   its last letters. They are grid items now, in the row under the statement,
   and the year sits with them: nothing in the opening screen can land on
   anything else, at any window size.
   ========================================================== */

body.palette-v2.mag.swiss .note.n1,
body.palette-v2.mag.swiss .note.n2,
body.palette-v2.mag.swiss .mark-yr2 {
  position: static;
  left: auto; right: auto; top: auto; bottom: auto;
  grid-row: 4;
  align-self: start;
  margin: 0;
}
body.palette-v2.mag.swiss .note.n1 { grid-column: 3 / span 2; }
body.palette-v2.mag.swiss .note.n2 {
  grid-column: 6 / span 3; text-align: right; justify-self: end;
  padding-right: 30px;
}
body.palette-v2.mag.swiss .mark-yr2 {
  grid-column: 1 / span 2;
  align-self: end;
  padding-left: 30px;
  text-align: left;
}
body.palette-v2.mag.swiss .note { max-width: 26ch; }
body.palette-v2.mag.swiss .hero .pro-wrap { padding-bottom: 34px; }

@media (max-width: 900px) {
  body.palette-v2.mag.swiss .note.n1,
  body.palette-v2.mag.swiss .note.n2,
  body.palette-v2.mag.swiss .mark-yr2 {
    grid-column: 1 / -1; text-align: left; justify-self: start;
    padding: 0; margin-top: 22px;
  }
}
.sm-steps + .sm-sheet { margin-bottom: 8px; }
h4.sm-lead { margin: 44px 0 2px; letter-spacing: .02em; }

/* ----------------------------------------------------------
   Pressly: the annotated overview diagrams. They are transparent
   drawings whose callout labels sit near the edges, so each one runs
   wide on the paper with room around it rather than in a boxed frame.
   ---------------------------------------------------------- */
.pw-diagram { margin: 30px 0 0; }
/* The callout labels are typeset into the drawing in a font that is not the
   site's. Rather than redraw the artwork, each label is covered by a patch
   of the paper it sits on and set again in live text, so the words are the
   same and the type matches everything else. The boxes are given in percent
   of the drawing, so they hold at any width; cqw sizes the type against the
   drawing rather than the page. */
.pw-dgm {
  position: relative; display: block;
  max-width: 980px; margin: 0 auto;
  container-type: inline-size;
}
.pw-dgm img { display: block; width: 100%; height: auto; }
.pw-tag {
  position: absolute;
  left: var(--l); top: var(--t);
  min-width: var(--w); min-height: var(--h);
  display: flex; align-items: center; justify-content: center;
  background: var(--paper, #E6E2D8); color: var(--ink, #16150F);
  font-family: var(--body, "Archivo", Arial, sans-serif);
  font-weight: 500; font-size: 2.4cqw; line-height: 1.1;
  letter-spacing: .01em; white-space: nowrap;
}
@supports not (font-size: 1cqw) {
  .pw-tag { font-size: clamp(11px, 2.4vw, 23px); }
}
.pw-diagram figcaption {
  margin: 10px auto 0; max-width: 62ch;
  font-size: .95rem; line-height: 1.55; text-align: center;
  color: var(--ink-2, #5E5B51);
}
/* a clip that has shown itself sits on its own line, centred */
.sm-clip { margin: 30px 0 0; }
/* ----------------------------------------------------------
   the header stays at the top of the window
   Every direct child of the body is given position: relative so the sheet
   can stack them, and that rule, being more specific, quietly took the
   header off its sticky perch. Naming the header back puts it there, so
   the wordmark and the menu are reachable from anywhere on the page.
   ---------------------------------------------------------- */
body.palette-v2.mag > .pro-header { position: sticky; top: 0; }
/* ----------------------------------------------------------
   the wireframe a prototype was built from, shown directly above it
   ---------------------------------------------------------- */
.cs-wire { margin: 0 0 30px; }
.cs-wire img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--hair, rgba(22,21,15,.18));
  background: #fff; cursor: zoom-in;
}
.cs-wire figcaption {
  margin-top: 12px; max-width: 72ch;
  font-size: .95rem; line-height: 1.55; color: var(--ink-2, #5E5B51);
}
/* The same rule that unsticks the header also took the lightbox off the
   viewport and dropped it at the foot of the page, so a picture opened
   below everything instead of over it. It is named back to fixed. */
body.palette-v2.mag > .lightbox { position: fixed; inset: 0; z-index: 150; }
/* ==========================================================
   the Starbucks audit, set natively
   Twelve slides as live text. The two charts are rebuilt from the recorded
   counts rather than pictured, so they stay sharp and can be read out by a
   screen reader from the table beneath them. The photographs are small
   because they are the originals embedded in the deck, so they are used
   near their own size and never stretched.
   ========================================================== */
.sb-head {
  margin: 48px 0 6px; font-family: var(--poster, Georgia, serif);
  font-weight: 400; font-size: 1.6rem; letter-spacing: .01em;
}
.sb-lede { margin: 0 0 20px; font-size: 1.02rem; line-height: 1.55; max-width: 62ch; }
.sb-note {
  margin: 22px 0 0; padding-top: 14px; max-width: 72ch;
  border-top: 1px solid var(--hair, rgba(22,21,15,.18));
  font-size: .9rem; line-height: 1.6; color: var(--ink-2, #5E5B51);
}
.sb-goal {
  margin: 28px 0 0; font-family: var(--poster, Georgia, serif);
  font-size: 1.5rem; line-height: 1.3; max-width: 30ch;
}

.sb-cards { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.sb-card {
  padding: 22px; background: rgba(22,21,15,.035);
  border-top: 2px solid var(--teal, #15616B);
}
.sb-card.sb-plain { background: none; border-top-color: var(--amber, #D9802E); }
.sb-card h4 {
  margin: 0 0 10px; font-family: var(--poster, Georgia, serif);
  font-weight: 400; font-size: 1.22rem;
}
.sb-card p { margin: 0 0 10px; font-size: .95rem; line-height: 1.55; }
.sb-card p:last-child { margin-bottom: 0; }
.sb-obs { color: var(--ink-2, #5E5B51); font-size: .85rem !important; }

/* the cup chart: coffee height is the count, a full cup is twelve */
.sb-cups { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; gap: 14px; margin: 4px 0 0; }
.sb-cup { min-width: 0; text-align: center; }
.sb-cup-body {
  display: block; position: relative; height: 150px; margin: 0 auto 10px;
  width: 100%; max-width: 62px;
  border: 1.5px solid var(--ink, #16150F);
  border-top: none; border-radius: 0 0 14px 14px;
  overflow: hidden;
}
.sb-cup-body i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--f); background: var(--teal, #15616B); }
.sb-cup b { display: block; font-size: 1.05rem; font-weight: 700; }
.sb-cup em { display: block; font-style: normal; font-size: .76rem; letter-spacing: .06em; color: var(--ink-2, #5E5B51); }
.sb-key { margin: 18px 0 0; font-size: .86rem; line-height: 1.6; color: var(--ink-2, #5E5B51); }
.sb-sw { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--teal, #15616B); vertical-align: -1px; }
.sb-sw.on { background: var(--teal, #15616B); }

/* the mobile chart: forty dots, thirty of them filled */
.sb-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; max-width: 420px; margin: 4px 0 0; }
.sb-dots span { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--teal, #15616B); }
.sb-dots span.on { background: var(--teal, #15616B); }

.sb-receipt {
  margin: 26px 0 0; padding: 20px 22px; max-width: 380px;
  background: rgba(22,21,15,.035);
  border-left: 2px solid var(--amber, #D9802E);
}
.sb-receipt-head { margin: 0 0 14px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.sb-receipt dl { margin: 0; }
.sb-receipt dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px solid var(--hair, rgba(22,21,15,.18)); }
.sb-receipt dt, .sb-receipt dd { margin: 0; font-size: .92rem; }
.sb-receipt dd { font-weight: 700; }
.sb-receipt-big { margin: 16px 0 0; font-family: var(--poster, Georgia, serif); font-size: 2.1rem; line-height: 1; }
.sb-receipt-big span { display: block; margin-top: 6px; font-family: var(--body); font-size: .82rem; letter-spacing: .06em; }

.sb-stats { display: flex; gap: 40px; flex-wrap: wrap; margin: 26px 0 0; }
.sb-stat { margin: 0; }
.sb-stat b { display: block; font-family: var(--poster, Georgia, serif); font-weight: 400; font-size: 3rem; line-height: 1; }
.sb-stat span { display: block; margin-top: 6px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2, #5E5B51); }

.sb-table { margin: 22px 0 0; font-size: .9rem; }
.sb-table summary { cursor: pointer; color: var(--teal, #15616B); }
.sb-table table { border-collapse: collapse; margin-top: 12px; }
.sb-table caption { text-align: left; padding-bottom: 8px; color: var(--ink-2, #5E5B51); }
.sb-table th, .sb-table td { padding: 5px 20px 5px 0; text-align: left; border-bottom: 1px solid var(--hair, rgba(22,21,15,.18)); font-weight: 400; }

.sb-pair { display: grid; gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; margin-top: 8px; }
.sb-three { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; margin-top: 8px; }
.sb-pair figure, .sb-three figure { margin: 0; }
/* the photographs are the originals from the deck and only a few hundred
   pixels across, so they are shown near their own size rather than blown up */
.sb-pair img, .sb-three img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 330px; object-fit: contain;
}
.sb-motives img { max-height: 240px; }
.sb-recs img { max-height: 400px; }
.sb-pair figcaption, .sb-three figcaption {
  margin-top: 12px; font-size: .92rem; line-height: 1.55; max-width: 44ch;
}
.sb-pair figcaption b, .sb-three figcaption b {
  display: block; font-weight: 700; margin-bottom: 4px;
}
.sb-rate { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2, #5E5B51); }
.sb-rate b { color: var(--ink, #16150F); }

.sb-quotes { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 32px; }
.sb-quotes blockquote { margin: 0; padding-left: 18px; border-left: 2px solid var(--teal, #15616B); }
.sb-quotes p { margin: 0; font-size: .97rem; line-height: 1.6; }
.sb-kind { margin-bottom: 10px !important; font-size: .72rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2, #5E5B51); }

.sb-oc { width: 100%; border-collapse: collapse; margin-top: 8px; }
.sb-oc caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sb-oc th, .sb-oc td {
  padding: 16px 20px 16px 0; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--hair, rgba(22,21,15,.18));
  font-weight: 400; font-size: .97rem; line-height: 1.55;
}
.sb-oc thead th { border-bottom: 2px solid var(--ink, #16150F); }
.sb-oc thead th span {
  display: block; margin-bottom: 6px;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal, #15616B);
}
.sb-oc tbody td:last-child { color: var(--ink-2, #5E5B51); }

.cs-again { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .sb-cards, .sb-three, .sb-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .sb-cards, .sb-three, .sb-quotes, .sb-pair { grid-template-columns: minmax(0, 1fr); }
  .sb-cups { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 12px; }
  .sb-cup-body { height: 110px; }
  .sb-dots { grid-template-columns: repeat(8, 1fr); gap: 9px; }
  .sb-oc, .sb-oc thead, .sb-oc tbody, .sb-oc tr, .sb-oc th, .sb-oc td { display: block; }
  .sb-oc thead th { padding-bottom: 8px; }
  .sb-oc tbody tr { padding: 14px 0; border-bottom: 1px solid var(--hair, rgba(22,21,15,.18)); }
  .sb-oc tbody td { border: none; padding: 4px 0; }
}
/* the next project card at the foot kept its picture at natural size, which
   pushed the whole page sideways on a phone; the frame and its picture are
   held to the column they sit in */
.cs-next { min-width: 0; }
.cs-next .cutout { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.cs-next .cutout img { display: block; width: 100%; height: auto; }
/* The unboxing was filmed on a phone, so it stands taller than it is wide.
   Run full width it dwarfed everything, so the four stills pair off two by
   two and the clip stands beside them at the height of that block: the same
   moment, broken down on one side and running on the other. */
.sm-unbox {
  display: grid; gap: 30px;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start; margin-top: 8px;
}
.sm-unbox-stills { margin-top: 0; }
.sm-clip-tall { margin: 0; }
.sm-clip-tall video {
  display: block; width: 100%; height: auto;
  max-width: 270px; margin: 0; background: #000;
}
.sm-clip-tall figcaption {
  margin-top: 12px; max-width: 270px;
  font-size: .85rem; line-height: 1.5; color: var(--ink-2, #5E5B51);
}
@media (max-width: 860px) {
  .sm-unbox { grid-template-columns: minmax(0, 1fr); }
  .sm-clip-tall video, .sm-clip-tall figcaption { max-width: 240px; margin-left: auto; margin-right: auto; }
  .sm-clip-tall figcaption { text-align: center; }
}
/* ----------------------------------------------------------
   the contact section sits on the deep teal panel, but its heading and
   links had kept the ink colour meant for the pale paper, so they were
   almost invisible against it. On this panel they take the paper colour,
   with amber for the hover and for the rule under the address.
   ---------------------------------------------------------- */
body.palette-v2.mag.swiss #contact .mega,
body.palette-v2.mag.swiss #contact h2 { color: var(--stone, #E6E2D8); }
body.palette-v2.mag.swiss #contact a,
body.palette-v2.mag.swiss #contact a span { color: var(--stone, #E6E2D8); }
body.palette-v2.mag.swiss #contact .ab-email {
  color: var(--stone, #E6E2D8);
  text-decoration-color: var(--amber, #D9802E);
  text-underline-offset: 4px;
}
body.palette-v2.mag.swiss #contact a:hover,
body.palette-v2.mag.swiss #contact a:hover span,
body.palette-v2.mag.swiss #contact a:focus-visible { color: var(--amber, #D9802E); }/* the two buttons use the pale variant meant for a pale ground; on this
   panel they are drawn as outlines in the paper colour instead */
body.palette-v2.mag.swiss #contact .zbtn,
body.palette-v2.mag.swiss #contact .zbtn.light,
body.palette-v2.mag.swiss #contact .zbtn.light span {
  /* the button colour is forced with !important further up the sheet, so
     overriding it on this panel has to be forced in turn */
  color: var(--stone, #E6E2D8) !important;
  border-bottom-color: rgba(230, 226, 216, .5);
}
body.palette-v2.mag.swiss #contact .zbtn:hover,
body.palette-v2.mag.swiss #contact .zbtn.light:hover,
body.palette-v2.mag.swiss #contact .zbtn.light:hover span {
  color: var(--amber, #D9802E) !important;
  border-bottom-color: var(--amber, #D9802E);
}
/* ----------------------------------------------------------
   the dishwashing task analysis
   Five stages across, their sub tasks in a row each, with the steps that
   depend on grip filled in teal. Set as live text rather than pictured, so
   it is readable at any size and can be read out in order.
   ---------------------------------------------------------- */
.ta { list-style: none; margin: 22px 0 0; padding: 0; }
.ta-stage {
  display: grid; grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px 18px; align-items: start;
  padding: 14px 0; border-top: 1px solid var(--hair, rgba(22,21,15,.18));
}
.ta-stage:last-child { border-bottom: 1px solid var(--hair, rgba(22,21,15,.18)); }
.ta-no {
  grid-row: 1; grid-column: 1; margin: 0;
  font-family: var(--poster, Georgia, serif); font-size: 1.5rem; line-height: 1;
  color: var(--amber, #D9802E);
}
.ta-name {
  grid-row: 1; grid-column: 1; margin: 30px 0 0;
  font-weight: 700; font-size: .95rem; line-height: 1.35;
}
.ta-steps {
  grid-row: 1; grid-column: 2; margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ta-steps li {
  flex: 0 1 auto; padding: 9px 13px;
  background: rgba(22,21,15,.045);
  font-size: .88rem; line-height: 1.3;
}
.ta-steps li.grip { background: var(--teal, #15616B); color: var(--stone, #E6E2D8); }
.ta-steps li span {
  display: block; margin-bottom: 3px;
  font-size: .68rem; letter-spacing: .1em; opacity: .7;
}
.ta-sw {
  display: inline-block; width: 11px; height: 11px;
  background: var(--teal, #15616B); vertical-align: -1px;
}
.ta-demands {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px; align-items: end; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid var(--hair, rgba(22,21,15,.18));
}
.ta-demands figure { margin: 0; text-align: center; }
.ta-demands img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 150px; margin: 0 auto 12px; object-fit: contain;
}
.ta-demands figcaption { font-size: .86rem; line-height: 1.5; color: var(--ink-2, #5E5B51); }
.ta-demands figcaption b { display: block; font-weight: 700; color: var(--ink, #16150F); margin-bottom: 3px; }
@media (max-width: 760px) {
  .ta-stage { grid-template-columns: minmax(0, 1fr); }
  .ta-no, .ta-name, .ta-steps { grid-row: auto; grid-column: 1; }
  .ta-name { margin-top: 2px; }
  .ta-demands { grid-template-columns: minmax(0, 1fr); }
}
/* ----------------------------------------------------------
   the next project card at the foot of a case study
   It sits on the deep teal panel but had kept the ink colour meant for
   the pale paper, so the project name and the arrow were unreadable. The
   colour is forced here because the sheet forces it further up.
   ---------------------------------------------------------- */
body.palette-v2.mag.swiss .bg-ink .cs-next .mega,
body.palette-v2.mag.swiss .bg-ink .cs-next p,
body.palette-v2.mag.swiss .bg-ink .cs-next span { color: var(--stone, #E6E2D8) !important; }
body.palette-v2.mag.swiss .bg-ink .cs-next .hl {
  color: var(--amber, #D9802E) !important; background: none;
}
body.palette-v2.mag.swiss .bg-ink .cs-next:hover .mega,
body.palette-v2.mag.swiss .bg-ink .cs-next:focus-visible .mega { color: var(--amber, #D9802E) !important; }
/* ----------------------------------------------------------
   the wireframe and the prototype are two different things
   One is a drawing, the other is software running. Stacked flush they read
   as one long picture, so each is given a label and a band of its own, with
   a rule between them and the drawing set back on a tinted ground.
   ---------------------------------------------------------- */
.cs-stage { margin: 0; }
.cs-stage-k {
  margin: 0 0 14px;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-2, #5E5B51);
}
.cs-stage-k::before {
  content: ""; display: inline-block;
  width: 26px; height: 1px; margin-right: 12px; vertical-align: 4px;
  background: var(--teal, #15616B);
}
.cs-stage-wire {
  padding: 26px 26px 30px;
  background: rgba(22, 21, 15, .045);
}
.cs-stage-live {
  margin-top: 46px; padding-top: 34px;
  border-top: 1px solid var(--hair, rgba(22,21,15,.18));
}
.cs-stage-live .cs-stage-k::before { background: var(--amber, #D9802E); }
.cs-stage .cs-wire { margin: 0; }
@media (max-width: 620px) {
  .cs-stage-wire { padding: 18px 18px 22px; }
  .cs-stage-live { margin-top: 34px; padding-top: 26px; }
}
/* ----------------------------------------------------------
   the statement under the name
   It was set at a fixed 11px, which reads as a caption rather than as the
   one paragraph that introduces her. It scales with the window now, and
   the measure is held so the longer lines still break sensibly.
   ---------------------------------------------------------- */
body.palette-v2.mag.swiss .hero-copy p {
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.55;
  letter-spacing: 0;
  max-width: 38ch;
}
/* ----------------------------------------------------------
   the pictures are left alone
   Every project picture and tile was passed through the #wash filter, which
   mixed a teal duotone back over the photograph and cleared on hover. The
   photographs now show their own colour at rest, so nothing has to be
   hovered to be seen properly. The plate edge and shadow stay.
   ---------------------------------------------------------- */
body.palette-v2.mag.swiss .wash-box img,
body.palette-v2.mag.swiss .ztile img,
body.palette-v2.mag.swiss .spread-art:hover .wash-box img,
body.palette-v2.mag.swiss .card:hover .wash-box img,
body.palette-v2.mag.swiss .ztile:hover img {
  filter: none;
}
/* the last of the printed marks on the opening screen: the section number
   above her standing. The screen now carries her name, her details and her
   statement, and nothing that is only decoration. */
body.palette-v2.mag.swiss .hero-chips::before { content: none; }

/* ==========================================================
   sections told apart by their ground
   The section heads are the original ones, printed across the top of each
   section. What changed is underneath them: the three sections sit on
   different papers, a shade apart rather than a world apart, with the seam
   eased so the change is felt on the way past rather than met as an edge.
   ========================================================== */

/* ---- the grounds ----
   A deep teal slab against pale paper cut the page into three unrelated
   pieces. The grounds now step through one family of papers, a shade apart
   rather than a world apart, and each section opens with a band that eases
   out of the colour above it, so the change is felt on the way past rather
   than met as an edge. The rail and the hairline keep them distinct. */
body.palette-v2.mag.swiss #work {
  background-color: #F1EEE6;
  background-image: linear-gradient(to bottom, #E6E2D8, #F1EEE6);
  background-size: 100% 190px; background-repeat: no-repeat;
}
body.palette-v2.mag.swiss #research-sec {
  background-color: #E4E2D9;
  background-image: linear-gradient(to bottom, #F1EEE6, #E4E2D9);
  background-size: 100% 190px; background-repeat: no-repeat;
}
body.palette-v2.mag.swiss #more-sec {
  background-color: #D8D2C4;
  background-image: linear-gradient(to bottom, #E4E2D9, #D8D2C4);
  background-size: 100% 190px; background-repeat: no-repeat;
}
body.palette-v2.mag.swiss .sec-rail { padding: 70px 0 76px; }
/* a hairline where one ground gives way to the next, so the seam is read
   even where the two papers are close */
body.palette-v2.mag.swiss .sec-rail > .pro-wrap { position: relative; }
body.palette-v2.mag.swiss .sec-rail > .pro-wrap::before {
  content: ""; position: absolute; left: 0; right: 0; top: -70px;
  border-top: 1px solid var(--hair, rgba(22,21,15,.16));
}

/* The ghosted section word was how a section announced itself before the
   rail existed. With the name now set down the margin it is the same word
   twice, and on the dark ground it printed as a smudge across the work. */
body.palette-v2.mag.swiss #work::after,
body.palette-v2.mag.swiss #research-sec::after,
body.palette-v2.mag.swiss #more-sec::after { content: none; }

/* the small pieces keep their own step: larger than before, well under the
   case study titles. Set against the section id, since the board's own
   rules further up are more specific than the class on its own. */
body.palette-v2.mag.swiss #more-sec .ztile-title,
body.palette-v2.mag.swiss #more .ztile-title {
  font-size: 15px; letter-spacing: .09em; line-height: 1.3;
}
/* ==========================================================
   the project titles carry the page
   They were set at 18px in a light serif, quieter than the section head
   above them and barely louder than their own caption, so a reader's eye
   landed on the furniture rather than the work. Each project now names
   itself at display size in the heaviest cut of the face, and the research
   cards and the small pieces step down from it by a clear interval.
   ========================================================== */
body.palette-v2.mag.swiss #spreads .spread h3,
body.palette-v2.mag.swiss #spreads .spread h3.big,
body.palette-v2.mag.swiss #work .spread h3 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .004em;
  color: var(--ink, #16150F);
  margin-bottom: 12px;
}
body.palette-v2.mag.swiss #research .card h3,
body.palette-v2.mag.swiss #research .card h3.big,
body.palette-v2.mag.swiss #research-sec .card h3 {
  font-size: clamp(22px, 2.15vw, 33px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: .004em;
  margin-bottom: 9px;
}
/* the caption underneath drops back so the title has somewhere to be loud */
body.palette-v2.mag.swiss #spreads .spread h3 + p,
body.palette-v2.mag.swiss #research .card h3 + p {
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2, #5E5B51);
}
body.palette-v2.mag.swiss #more-sec .ztile-title,
body.palette-v2.mag.swiss #more .ztile-title {
  font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1.3;
}
@media (max-width: 860px) {
  body.palette-v2.mag.swiss #spreads .spread h3,
  body.palette-v2.mag.swiss #spreads .spread h3.big { font-size: clamp(24px, 6.4vw, 32px); }
  body.palette-v2.mag.swiss #research .card h3,
  body.palette-v2.mag.swiss #research .card h3.big { font-size: clamp(20px, 5.4vw, 27px); }
}
/* ==========================================================
   a single takeaway is a statement, not a card
   Where a project's overview carries one point, boxing it like one of four
   left it reading as a footnote. On its own it drops the frame and takes
   display size, with the counts and the three capacities it turns on
   picked out, so the problem lands before the paragraph does.
   ========================================================== */
body.palette-v2.mag.swiss .cs-tldr-list.one {
  display: block; margin-top: 26px;
}
body.palette-v2.mag.swiss .cs-tldr-list.one > .paper-block {
  background: none; border: 0; box-shadow: none;
  padding: 0; max-width: 38ch;
  border-top: 2px solid var(--ink, #16150F);
  padding-top: 18px;
}
body.palette-v2.mag.swiss .cs-tldr-list.one dt {
  margin: 0 0 16px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--amber-deep, #B9631C);
}
body.palette-v2.mag.swiss .cs-tldr-list.one dd {
  margin: 0;
  font-family: var(--poster, Georgia, serif);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.22;
  letter-spacing: .002em;
  max-width: 38ch;
}
/* the counts carry the weight of the sentence */
body.palette-v2.mag.swiss .tl-n {
  font-weight: 700;
  font-size: 1.22em;
  letter-spacing: .01em;
}
/* and the capacities the task turns on: the teal does the work on its own,
   so there is no rule under them competing with it */
body.palette-v2.mag.swiss .tl-m {
  background: none; color: var(--teal, #15616B);
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
}
@media (max-width: 860px) {
  body.palette-v2.mag.swiss .cs-tldr-list.one > .paper-block,
  body.palette-v2.mag.swiss .cs-tldr-list.one dd { max-width: none; }
  body.palette-v2.mag.swiss .cs-tldr-list.one dd { font-size: clamp(20px, 5.4vw, 28px); }
}/* the card width the four up list uses is far too narrow for a statement
   set at display size, and it is set further up the sheet, so the solo
   case is named again here at matching strength */
body.palette-v2.mag.swiss .cs-tldr .cs-tldr-list.one > .paper-block,
body.palette-v2.mag.swiss .cs-tldr .cs-tldr-list.one > .paper-block dd {
  max-width: min(100%, 720px);
}
/* ==========================================================
   on a phone
   The site was drawn for a wide sheet, and three things did not survive
   the trip down to 390px: the next project card held its title on one
   unbreakable line and pushed the page sideways, the small print was set
   below the size a phone can comfortably read, and the links were thin
   enough to be hard to hit with a thumb.
   ========================================================== */
@media (max-width: 860px) {

  /* the project names grew longer, and this one was set not to wrap, so a
     title like "Soap Collection and Packaging" ran 80px past the screen */
  body.palette-v2.mag.swiss .cs-next .mega,
  body.palette-v2.mag.swiss .cs-next p.mega {
    white-space: normal;
    font-size: clamp(26px, 7.4vw, 40px);
    line-height: 1.05;
  }
  body.palette-v2.mag.swiss .mega { white-space: normal; }

  /* nothing on a phone is set under 12px: the counts, the tags, the
     captions and the small labels all come up to a readable size */
  body.palette-v2.mag.swiss .zcount,
  body.palette-v2.mag.swiss .ztile-meta,
  body.palette-v2.mag.swiss .ztags li,
  body.palette-v2.mag.swiss .hl,
  body.palette-v2.mag.swiss .cs-set-note,
  body.palette-v2.mag.swiss .spread .hl,
  body.palette-v2.mag.swiss .sm-note,
  body.palette-v2.mag.swiss .sm-cap,
  body.palette-v2.mag.swiss .sm-meta,
  body.palette-v2.mag.swiss .sb-key,
  body.palette-v2.mag.swiss .pw-diagram figcaption,
  body.palette-v2.mag.swiss .cs-shot figcaption,
  body.palette-v2.mag.swiss .ta-steps li,
  body.palette-v2.mag.swiss .ta-demands figcaption {
    font-size: 12.5px;
    line-height: 1.55;
  }
  body.palette-v2.mag.swiss .pro-header nav a,
  body.palette-v2.mag.swiss .zbtn,
  body.palette-v2.mag.swiss .wm-name,
  body.palette-v2.mag.swiss .ztile-title { font-size: 12.5px; letter-spacing: .14em; }

  /* a thumb needs something to land on, so every link and button on a
     phone is at least the usual 44px tall, without moving anything */
  body.palette-v2.mag.swiss .pro-header nav a,
  body.palette-v2.mag.swiss .pro-mark {
    display: inline-flex; align-items: center;
    min-height: 44px;
  }
  body.palette-v2.mag.swiss .zbtn {
    display: inline-flex; align-items: center;
    min-height: 44px; padding-top: 2px; padding-bottom: 2px;
  }
  body.palette-v2.mag.swiss .zactions { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
}
/* a second pass on the phone sizes: these all sit behind selectors with an
   extra class further up the sheet, so they are named at that strength */
@media (max-width: 860px) {
  body.palette-v2.mag.swiss .hero .zbtn,
  body.palette-v2.mag.swiss .zactions .zbtn,
  body.palette-v2.mag.swiss .cs-again .zbtn { font-size: 12.5px; letter-spacing: .16em; }
  body.palette-v2.mag.swiss .cs-tldr .cs-tldr-tag,
  body.palette-v2.mag.swiss .cs-tldr-list dt,
  body.palette-v2.mag.swiss .cs-stage .cs-stage-k,
  body.palette-v2.mag.swiss .sm-row figcaption,
  body.palette-v2.mag.swiss .sm-flow figcaption,
  body.palette-v2.mag.swiss .sm-steps p,
  body.palette-v2.mag.swiss .sm-clip-tall figcaption,
  body.palette-v2.mag.swiss .ta-steps li,
  body.palette-v2.mag.swiss .sb-receipt dt,
  body.palette-v2.mag.swiss .sb-receipt dd { font-size: 12px; }
  body.palette-v2.mag.swiss .ta-steps li span,
  body.palette-v2.mag.swiss .sm-cup em { font-size: 11px; }
}
/* A phone has no hover, so the link under each project, which grows out of
   nothing when a mouse comes near it, never appeared and left a dead strip
   under the title. On a touch screen it is simply shown. */
@media (max-width: 860px) {
  body.palette-v2.mag.swiss .spread > div .zbtn,
  body.palette-v2.mag.swiss .duo .card .zbtn {
    font-size: 12.5px; letter-spacing: .16em; opacity: 1;
  }
  /* and the one label still set under 12px on a phone */
  body.palette-v2.mag.swiss .cs-tldr-list.one dt { font-size: 12px; }
}
/* on a phone the name sat flush to the screen edge while the details and
   the statement were indented 30px, so the opening screen read as two
   different margins; the name joins the others */
@media (max-width: 860px) {
  body.palette-v2.mag.swiss h1.hero-name,
  body.palette-v2.mag.swiss .hero-name { padding-left: 30px; padding-right: 18px; margin-left: 0; }
  body.palette-v2.mag.swiss .hero .pro-wrap { padding-right: 8px; }
}
/* ==========================================================
   Using it: the pictures stayed 300px tall while their frame shrank
   The four steps sit in frames whose picture row is fixed, and that row
   gets shorter as the window narrows, but the pictures kept their own
   height and so hung 70px out of the bottom of the frame and over the
   step underneath. Each picture is now sized by its frame rather than by
   itself, and contained, so nothing is cropped and nothing overlaps.
   ========================================================== */
body.palette-v2.mag.swiss .pw-row figure > img {
  width: 100%; height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
/* the label under each step was smaller than the captions elsewhere on
   the page; it names the action, so it carries a little more weight */
body.palette-v2.mag.swiss .pw-row figcaption {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .01em;
}
body.palette-v2.mag.swiss .pw-row figcaption b {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--amber-deep, #B9631C);
  margin-right: 8px;
}
@media (max-width: 860px) {
  body.palette-v2.mag.swiss .pw-row figcaption { font-size: 15px; }
  body.palette-v2.mag.swiss .pw-row figcaption b { font-size: 12px; }
}