/* Baan Ah Chew deck: additions to base.css (base.css is the approved style frames, v06) */

/* ---------- layout helpers on the baseline grid ---------- */
.at { position: absolute; }
[style*="--r:"] { top: calc(var(--b) * var(--r)); }
[style*="--h:"] { height: calc(var(--b) * var(--h)); }
.full { left: 11.1%; width: 77.8%; }
h2 { font-family: var(--head); font-weight: normal; font-size: 1.7cqw; line-height: calc(var(--b) * 1.5); text-wrap: balance; }
.sp { height: var(--b); } .sp2 { height: calc(var(--b) * .5); }
.quote { font-family: var(--head); font-size: 1.5cqw; line-height: calc(var(--b) * 1.5); color: var(--wine); text-wrap: balance; }
.ourread { font-family: var(--fine); font-size: .95cqw; line-height: var(--b); color: var(--graphite); }
.partword { font-family: var(--display); font-size: 8.4cqw; line-height: calc(var(--b) * 5); color: var(--wine); }
.num { position: absolute; font-family: var(--display); font-size: 3.4cqw; line-height: calc(var(--b) * 2); color: var(--wine); }
.meta { display: grid; grid-template-columns: auto 1fr; column-gap: 1.4cqw; }
.meta dt { font-family: var(--fine); font-size: 1.02cqw; line-height: var(--b); color: var(--orange-text); }
.meta dd { font-size: 1.23cqw; line-height: var(--b); }
ul.plain { list-style: none; }
ul.plain li { padding-left: 1.4cqw; position: relative; }
ul.plain li::before { content: ""; position: absolute; left: .1cqw; top: calc(var(--b) * .42); width: .5cqw; height: .5cqw; border-radius: 50%; background: var(--wine); filter: url(#rough); }

/* contents lines and press lists, with dot leaders */
.lead { display: flex; align-items: baseline; gap: .5cqw; font-size: 1.36cqw; line-height: calc(var(--b) * 2); }
.lead i { flex: 1; height: .2cqw; transform: translateY(-.3cqw); background: radial-gradient(circle, var(--ink) .07cqw, transparent .08cqw) repeat-x left / .62cqw .2cqw; }
.lead b { font-family: var(--display); font-weight: normal; color: var(--blue); font-size: 1.5cqw; }
.lead.big span:first-child { font-family: var(--head); font-size: 1.7cqw; }
.lead.small { font-size: 1.16cqw; line-height: calc(var(--b) * 1.5); } .lead.small b { font-family: var(--fine); font-size: 1.02cqw; color: var(--orange-text); }

/* ledger rows: a date or a name in the margin column, the entry beside it */
.row { display: grid; grid-template-columns: 7.2cqw 1fr; column-gap: 1cqw; margin-bottom: var(--b); }
.row .when { font-family: var(--display); font-size: 1.45cqw; line-height: var(--b); color: var(--wine); }
.row .src { font-family: var(--fine); font-size: .9cqw; line-height: var(--b); color: var(--graphite); }
.row.wide { grid-template-columns: 9.6cqw 1fr; }
.row .who { font-family: var(--head); font-size: 1.36cqw; line-height: var(--b); }
.lai { display: grid; grid-template-columns: 3.4cqw 1fr; column-gap: .6cqw; }
.lai dt { font-family: var(--fine); font-size: 1cqw; line-height: var(--b); color: var(--blue); }
.lai dd { font-size: 1.14cqw; line-height: var(--b); text-wrap: pretty; }

/* photographs and film pasted on the page */
.print .img img, .print .img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.3) saturate(.8) contrast(.93) brightness(1.03); }
.print .img.has::before { opacity: .14; z-index: 1; }
.print .img.has::after { z-index: 1; }
.print.cap .img { bottom: calc(var(--b) * 2.1); }
.print .cr { position: absolute; left: .8cqw; right: .8cqw; bottom: .3cqw; font-family: var(--fine); font-size: .74cqw; line-height: 1.25; color: var(--graphite); }
.print .cr b { font-weight: normal; color: var(--ink); font-size: .9cqw; }

/* kitchen tickets on a rail */
.rail { position: absolute; height: .5cqw; border-radius: .3cqw; background: linear-gradient(#d8d2c4, #7a766e 60%, #55524d); box-shadow: 0 .14cqw .24cqw rgba(30,18,4,.45); }
.ticket { position: absolute; padding: calc(var(--b) * 1.5) 1.3cqw calc(var(--b) * 1.5); }
.ticket::before { content: ""; position: absolute; inset: 0; background: var(--scrap); filter: url(#rough); box-shadow: 0 .12cqw .35cqw rgba(40,25,5,.3);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 94% 100%, 88% 97%, 82% 100%, 76% 97%, 70% 100%, 64% 97%, 58% 100%, 52% 97%, 46% 100%, 40% 97%, 34% 100%, 28% 97%, 22% 100%, 16% 97%, 10% 100%, 4% 97%, 0 100%); }
.ticket::after { content: ""; position: absolute; left: 44%; top: -1cqw; width: 1.7cqw; height: 2.3cqw; border-radius: .3cqw; background: linear-gradient(90deg, #5a564f, #cfcabd 45%, #6d6962); box-shadow: 0 .1cqw .2cqw rgba(30,18,4,.5); }
.ticket > * { position: relative; }
.ticket .tn { font-family: var(--display); font-size: 3cqw; line-height: calc(var(--b) * 2); color: var(--wine); }
.ticket p { font-size: 1.14cqw; }
.ticket .because { font-family: var(--fine); font-size: .98cqw; color: var(--graphite); margin-top: calc(var(--b) * .5); padding-top: calc(var(--b) * .5); border-top: 1px dashed rgba(27,22,19,.5); }

/* set menus */
.setmenu .mn { font-family: var(--display); font-size: 4.2cqw; line-height: calc(var(--b) * 2.5); color: var(--ink); }
.setmenu ul { list-style: none; margin-top: calc(var(--b) * .5); }
.setmenu li { padding: calc(var(--b) * .25) 0; background: radial-gradient(circle, rgba(27,22,19,.6) .05cqw, transparent .06cqw) repeat-x left top / .5cqw .14cqw; }
.price { display: flex; align-items: baseline; gap: .5cqw; margin-top: var(--b); }
.price i { flex: 1; height: .2cqw; transform: translateY(-.3cqw); background: radial-gradient(circle, var(--ink) .07cqw, transparent .08cqw) repeat-x left / .62cqw .2cqw; }
.price b { font-family: var(--display); font-weight: normal; font-size: 1.7cqw; color: var(--wine); }
.wash { position: absolute; mix-blend-mode: multiply; filter: url(#wcbox); }

/* what opens behind a pencilled note */
.pencil[data-tap] { cursor: pointer; }
.pencil[data-tap]::before { content: ""; position: absolute; inset: -9px -8px; } /* bigger hit area for a fingertip, nothing drawn */
.overleaf { position: absolute; left: 53.4%; width: 39.6%; top: calc(var(--b) * 5); padding: calc(var(--b) * 1.5) 1.9cqw calc(var(--b) * 1.5); z-index: 6; display: none; transform: rotate(.8deg); }
.overleaf::before { content: ""; position: absolute; inset: 0; background: var(--scrap); filter: url(#deckle2); box-shadow: 0 .3cqw 1.4cqw rgba(30,18,4,.55); }
.overleaf > * { position: relative; }
.overleaf.open { display: block; }
.overleaf h3 { font-family: var(--head); font-weight: normal; font-size: 1.5cqw; line-height: calc(var(--b) * 2); }
.overleaf ul { list-style: none; }
.overleaf li, .overleaf p { font-size: 1.08cqw; line-height: var(--b); margin-bottom: calc(var(--b) * .5); text-wrap: pretty; }
.overleaf .close { position: absolute; right: 1.4cqw; top: calc(var(--b) * .8); font-family: var(--fine); font-size: 1cqw; color: var(--graphite); cursor: pointer; }
body.reading .live { display: none; } body:not(.reading) .reading { display: none; }
body.reading .overleaf { display: block; }

/* ---------- three ways to look at the deck ---------- */
body { padding: 0; }
main { display: flex; gap: 3vw; align-items: center; height: 100vh; padding: 0 calc((100vw - min(94vw, calc(94vh * 4 / 3))) / 2); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; }
main .page { flex: 0 0 auto; width: min(94vw, calc(94vh * 4 / 3)); margin: 0; scroll-snap-align: center; }
body.review main { display: block; height: auto; padding: 26px 0; overflow: visible; }
body.review main .page { width: min(96vw, 1366px); margin: 0 auto 44px; }
body.plan main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2vw 1vw; height: auto; padding: 1.2vw; overflow: visible; }
body.plan main .page { width: 100%; }
body.plan main .page::after { content: attr(data-n) "  " attr(data-plan); position: absolute; left: 0; bottom: -1.5vw; font-family: var(--fine); font-size: .85vw; color: #cdbf9f; }
body.plan main { row-gap: 2.6vw; }

/* phone: text first. One column per spread (left page, right page, then the slips), body text about 16 px.
   Sizes in the deck are in cqw, so the sheet keeps a wide 1400 px sizing box while each item is laid out at screen width. */
body.phone main { display: block; height: auto; padding: 0; overflow: visible; }
body.phone .page { width: 100vw; aspect-ratio: auto; height: auto; margin: 0 0 14px; overflow: hidden; background: var(--paper) url("assets/textures/paper_base.jpg") top center / 100% auto repeat-y; box-shadow: inset 0 0 28px rgba(132,84,24,.32); }
body.phone .sheet { position: relative; inset: auto; width: 1400px; container-type: inline-size; --b: 23px; padding: 28px 20px 30px; }
body.phone .sheet > * { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: calc(100vw - 40px) !important; height: auto !important; transform: none !important; margin: 0 0 18px; }
body.phone .sheet > :is(.paper, .ruled, .age, .tex, .wear, .gutter, .staples, .baselines, .tabs, .kmark, .grid, .imprint, .folio, .pin, .motif, .wash, .bigword, .rail, .deco, .pencil),
body.phone .overleaf .close, body.phone .tape { display: none !important; }
body.phone .sheet > .pic:not(:has(img, video, svg)) { --pw: min(45vw, calc(30vh * var(--ar))) !important; } /* empty frames waiting for a photo stay small */
body.phone .sheet > .pic { --pw: min(calc(100vw - 40px), calc(52vh * var(--ar))); width: var(--pw) !important; left: calc((100vw - 40px - var(--pw)) / 2) !important; aspect-ratio: var(--ar); margin: 6px 0 22px; }
body.phone .print .cr { font-size: 12px; line-height: 1.3; } body.phone .print .cr b { font-size: 13px; }
body.phone .pbreak { height: 0; margin: 8px 0 26px; border-top: 1px dashed rgba(27,22,19,.35); }
body.phone h1, body.phone h1.h-long { font-size: 29px; line-height: 35px; }
body.phone .recipe-title { font-size: 42px; line-height: 48px; }
body.phone .bignum { font-size: 58px; line-height: 64px; }
body.phone .partword { font-size: 60px; line-height: 70px; white-space: normal; }
body.phone .setmenu .mn { font-size: 44px; line-height: 50px; }
body.phone .lead { line-height: 34px; } body.phone .lead.small { line-height: 28px; }
body.phone :is(.row, .row.wide) { grid-template-columns: 6.4em 1fr; }
body.phone :is(.slip, .ticket, .overleaf) { padding: 18px 18px 16px; }
body.phone .overleaf { margin-top: 6px; }
body.phone .entry { margin-bottom: 10px; }
body.phone .sheet > .num { float: left; width: auto !important; margin: 0 12px 0 0; line-height: 34px; }

/* ---------- notes: press C, or tap Notes, then click anything ---------- */
#notebar { position: fixed; left: 10px; bottom: 10px; z-index: 50; display: flex; gap: 6px; font-family: var(--fine); font-size: 13px; }
#notebar button { font: inherit; color: #1b1613; background: #EDAA38; border: 0; border-radius: 3px; padding: 6px 10px; cursor: pointer; }
#notebar button.ghost { background: #3a342c; color: #e9dfc8; }
body.commenting .sheet { cursor: crosshair; }
body.commenting #notebar button#nb-toggle { background: #9F182F; color: #fff; }
.pin { position: absolute; z-index: 20; width: 2.1cqw; height: 2.1cqw; margin: -1.05cqw 0 0 -1.05cqw; border-radius: 50%; background: #9F182F; color: #fff; font-family: var(--fine); font-size: 1.05cqw; display: flex; align-items: center; justify-content: center; box-shadow: 0 .1cqw .3cqw rgba(0,0,0,.5); cursor: pointer; }
#notelist { position: fixed; left: 10px; bottom: 48px; z-index: 50; width: min(420px, 90vw); max-height: 60vh; overflow: auto; background: #F3ECD8; color: #1b1613; font-family: var(--fine); font-size: 13px; line-height: 1.4; padding: 12px 14px; border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.6); display: none; }
#notelist.open { display: block; }
#notelist ol { margin: 6px 0 0 18px; } #notelist li { margin-bottom: 8px; } #notelist small { color: #6a5d4c; display: block; }
body.review #notebar, body.plan #notebar { opacity: .9; }
@media print { #notebar, #notelist { display: none; } }

/* ---------- round 1 (deck v05) ---------- */
/* Kulusuk wordmark at the foot of every page, in its own colours (was the embossed word "Kulusuk"; the text stays for screen readers) */
.kmark { width: 3.3cqw; aspect-ratio: 891 / 992; bottom: calc(var(--b) * 1.1); background: url("assets/brand/kulusuk-wordmark.webp") center / contain no-repeat; font-size: 0; color: transparent; text-shadow: none; overflow: hidden; }
/* confidentiality line on the cover */
.disclaimer { font-family: var(--fine); font-size: .82cqw; line-height: var(--b); letter-spacing: .03em; color: var(--graphite); }
/* spread 2: contents spread down the page; motifs in a darker tone */
.contents .lead { line-height: calc(var(--b) * 3); }
svg.motif.dark { filter: brightness(.58) saturate(1.3) contrast(1.15); }
/* problem / proposal / how on spread 4: one paragraph, three run-in parts */
p.pph span { display: block; margin-bottom: calc(var(--b) * .5); }
.ri { font-family: var(--fine); font-weight: normal; font-size: 1.02cqw; color: var(--blue); letter-spacing: .02em; }
body.phone .sheet > .disclaimer { font-size: 12px; line-height: 1.4; }

/* long headlines run smaller on a tighter multiple of the baseline */
h1.h-long { font-size: 2.34cqw; line-height: calc(var(--b) * 1.5); }
.partword { font-size: 6.4cqw; white-space: nowrap; }
.row { grid-template-columns: 8.6cqw 1fr; }
.row.wide { grid-template-columns: 9.6cqw 1fr; }
.row .when { text-wrap: balance; }
p.pph span:last-child { margin-bottom: 0; }
.lag ul.plain.fine li { font-family: var(--fine); font-size: 1.02cqw; }

/* ---------- round 2: material pass, "printed, then kept" (Francesca, 16 Nov 2026) ----------
   Print (type, rules, frames, figures, motifs) is flat and square. Objects (prints, slips, cards) are straight-cut,
   no shadow, a 1 px contact line. Wear is never drawn. The fold is the only shadow. */
/* paper: two real leaves, white-balanced to #EADCBC, their own edges as alpha */
.sheet > .paper { background: none; filter: none; }
.sheet > .paper i { position: absolute; top: 0; bottom: 0; width: 50%; background: center / 100% 100% no-repeat; }
.sheet > .paper .pl { left: 0; background-image: url("assets/textures/leaf_verso_nypl_wb_v02.webp"); }
.sheet > .paper .pr { right: 0; background-image: url("assets/textures/leaf_recto_nypl_wb_v02.webp"); }
.sheet > .paper.pv1 i { transform: scaleY(-1); }
.sheet > .paper:is(.pv2, .pv3) .pl { background-image: url("assets/textures/leaf_recto_nypl_wb_v02.webp"); transform: scaleX(-1); }
.sheet > .paper:is(.pv2, .pv3) .pr { background-image: url("assets/textures/leaf_verso_nypl_wb_v02.webp"); transform: scaleX(-1); }
.sheet > .paper.pv3 i { transform: scale(-1, -1) !important; }
/* roll-out (critique r2, note 2): a second pair of leaves from the same album, same four arrangements as pv0 to pv3 */
.sheet > .paper:is(.pv4, .pv5) .pl { background-image: url("assets/textures/leaf_verso2_nypl_wb.webp"); }
.sheet > .paper:is(.pv4, .pv5) .pr { background-image: url("assets/textures/leaf_recto2_nypl_wb.webp"); }
.sheet > .paper.pv5 i { transform: scaleY(-1); }
.sheet > .paper:is(.pv6, .pv7) .pl { background-image: url("assets/textures/leaf_recto2_nypl_wb.webp"); transform: scaleX(-1); }
.sheet > .paper:is(.pv6, .pv7) .pr { background-image: url("assets/textures/leaf_verso2_nypl_wb.webp"); transform: scaleX(-1); }
.sheet > .paper.pv7 i { transform: scale(-1, -1) !important; }
/* feint grid, printed: horizontals on the 42-row baseline at 8%, verticals 4%, margin rules 14% (Francesca r1 values). No fade, no wobble. */
.sheet > .ruled { inset: 0; opacity: 1; filter: none; -webkit-mask-image: none; mask-image: none;
  background-image: linear-gradient(90deg, transparent calc(7.4% - 1px), rgba(184,71,63,.14) calc(7.4% - 1px) 7.4%, transparent 7.4%), linear-gradient(90deg, transparent 92.6%, rgba(184,71,63,.14) 92.6% calc(92.6% + 1px), transparent calc(92.6% + 1px)), repeating-linear-gradient(180deg, transparent 0 calc(var(--b) - 1px), rgba(110,143,184,.08) calc(var(--b) - 1px) var(--b)), repeating-linear-gradient(90deg, transparent 0 calc(var(--b) - 1px), rgba(110,143,184,.04) calc(var(--b) - 1px) var(--b)); }
/* the fold: #3C2408 multiply, 22% at the fold, gone within 4% of the spread width */
.sheet > .gutter { z-index: 3; left: 46%; width: 8%; background: linear-gradient(90deg, rgba(60,36,8,0), rgba(60,36,8,.05) 25%, rgba(60,36,8,.22) 50%, rgba(60,36,8,.05) 75%, rgba(60,36,8,0)); }
.sheet > :is(.age, .tex, .wear, .staples) { display: none; }
/* ink: text multiplied into the paper; ink spread on display type only */
.inked { filter: none; }
.sheet :is(h1, .partword, .recipe-title, .bignum, .num) { filter: url(#inkspread); }
.sheet :is(h1, h2, h3, p, li, dt, dd, .lead, .entry, .num, .label, .folio, .imprint, .partword, .recipe-title, .bignum, .quote, .fine, .cr) { mix-blend-mode: multiply; }
/* nothing printed is tilted; objects sit square unless they carry .tilt (one per spread, 1.2 deg at most, caption only) */
.sheet :is(.print, .slip, .overleaf, .ticket, svg.motif, svg.at, .bigword, .pencil) { transform: none !important; }
.sheet .print.tilt { transform: rotate(var(--tilt, .8deg)) !important; }
.pencil::after { display: none; }
.bigword { opacity: .16; }
/* rules and frames straight */
.rule, .frame2::before, .frame2::after, .ln, ul.plain li::before, .legend i, .wash, .ink { filter: none; }
/* no tape until the studio scan exists */
.tape { display: none !important; }
/* objects: straight-cut, no shadow, 1 px contact line lower and right */
.print::before { background: #F4EFE2; filter: none; box-shadow: 1px 1px 0 rgba(60,40,15,.22); bottom: var(--cap, 0px); }
.print .img { inset: var(--bd, .5cqw) var(--bd, .5cqw) calc(var(--cap, 0px) + var(--bd, .5cqw)); filter: none; background: #F4EFE2; }
.print.cap .img { bottom: calc(var(--cap, 0px) + var(--bd, .5cqw)); }
.print .img::before, .print .img::after, .print .img.has::before, .print .img.has::after { display: none; }
/* one grade for every print: warm, soft, lifted blacks, multiplied onto the stock so no white outshines its border */
.print .img img, .print .img video { filter: sepia(.14) saturate(.88) contrast(.84) brightness(1.03); mix-blend-mode: multiply; }
.print .cr { left: 0; right: 0; bottom: 0; font-family: var(--fine); font-size: .95cqw; line-height: calc(var(--b) * .75); color: var(--ink); }
.print .cr b { font-size: .95cqw; }
.slip::before { filter: none; box-shadow: 1px 1px 0 rgba(60,40,15,.22); background: #F3ECD8 url("assets/textures/card_cream_wb.webp"); background-size: 41cqw auto; background-position: var(--sx, 50%) var(--sy, 50%); }
/* roll-out (note 9): the same card stock, at the same scale, on overleaf slips, tickets and chart panels */
.overleaf::before, .ticket::before, .print.clip::before { background: #F3ECD8 url("assets/textures/card_cream_wb.webp"); background-size: 41cqw auto; background-position: var(--sx, 50%) var(--sy, 50%); }
.tabs b::before { filter: none; box-shadow: none; border-radius: 0 .35cqw .35cqw 0; background: #D9CBAA url("assets/textures/card_cream_wb.webp") 0 0 / 14cqw auto; background-blend-mode: multiply; }
.tabs b.on::before { box-shadow: none; background: url("assets/textures/tab_mustard_rijksmuseum.webp") 0 0 / 22cqw auto; }
.tabs b:nth-child(2)::before { background-position: 30% 20%; } .tabs b:nth-child(3)::before { background-position: 60% 45%; }
.tabs b:nth-child(4)::before { background-position: 85% 70%; } .tabs b:nth-child(5)::before { background-position: 15% 90%; }
.tabs b:nth-child(6)::before { background-position: 45% 10%; } .tabs b:nth-child(7)::before { background-position: 75% 55%; }
.ticket::before { filter: none; box-shadow: 1px 1px 0 rgba(60,40,15,.22); clip-path: none; }
.ticket::after, .rail { box-shadow: none; }
/* roll-out (note 11): rail and clips printed flat */
.rail { height: .3cqw; border-radius: 0; background: var(--ink); }
.ticket::after { background: var(--graphite); border-radius: 0; }
.overleaf::before { filter: none; box-shadow: 1px 1px 0 rgba(60,40,15,.3), 0 0 0 1px rgba(60,40,15,.12); }
.serves::before { filter: none; mix-blend-mode: multiply; opacity: 1; }
/* the blurred highlight blobs go (replaced by one straight tint bar on a spread at most) */
svg.motif:has(> ellipse[filter="url(#bloom)"]) { display: none; }
.tint { position: absolute; background: #E0A502; opacity: .3; mix-blend-mode: multiply; pointer-events: none; }
/* one-ink plate: printed in the page, no border, multiplied */
.plate { position: absolute; }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .78; }
.plate-cr, .capline { font-family: var(--fine); font-size: .95cqw; line-height: calc(var(--b) * .75); color: var(--ink); }
/* note block: bounded by a rule, set square on the paper (no card) */
.note { position: absolute; padding-left: 1.2cqw; border-left: .16cqw solid var(--ink); }
/* the cover's logo: a straight-cut washed insert */
.print.washed .img img { filter: sepia(.3) saturate(.5) contrast(.62) brightness(1.24); }
/* r2 (critique r1): spread 8 numerals hang between the margin rule and the column; a full row between run-in paragraphs */
.num.hang { font-size: 3cqw; width: 2.6cqw; text-align: right; }
p.pph.rowgap span { margin-bottom: var(--b); } p.pph.rowgap span:last-child { margin-bottom: 0; }
/* spread 19: the Tonight card, a straight-cut card with an inner double rule in wine */
.slip.tcard { padding: 0; }
.slip.tcard::after { content: ""; position: absolute; inset: .5cqw; border: .34cqw double #9F182F; }
.slip.tcard .tword { display: flex; height: 100%; align-items: center; justify-content: center; font-family: "Blue Cashews"; font-size: 2.2cqw; line-height: 1; color: var(--wine); }
/* roll-out: picture credits on the closing spread */
.credits p.fine { font-size: .9cqw; margin-bottom: calc(var(--b) * .5); text-wrap: pretty; }

/* ---------- layout round (16 Nov): spreads 9, 10, 11, 17, 18, 23, 24 ---------- */
/* 9: the long overleaf, wider and set a touch tighter so it stays under 49 cqw tall */
.overleaf.tight li { font-size: 1cqw; margin-bottom: calc(var(--b) * .25); }
/* 10: a mark beside each competitor; the logo where one was found, the name set in type where not, same size */
.comp { display: grid; grid-template-columns: 5.6cqw 1fr; column-gap: 1.6cqw; align-items: start; }
.cmark { width: 5.6cqw; height: 8.8cqw; margin-top: calc(var(--b) * .25); }
.cmark.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cmark.typed { border: .16cqw solid var(--ink); border-radius: 2.8cqw; display: flex; align-items: center; justify-content: center; text-align: center; mix-blend-mode: multiply; }
.cmark.typed span { font-family: var(--head); font-size: 1.05cqw; line-height: 1.25; color: var(--wine); }
/* 11: drawn faces for the personas (row 55). Fallback, as before: set --faces:none and --face-room:0cqw */
.sheet { --faces: block; --face-room: 6.4cqw; }
.pface { display: var(--faces); position: absolute; width: 5cqw; left: 1.2cqw; top: calc(var(--b) * .9); }
.slip.hasface { padding-left: calc(1.4cqw + var(--face-room)); }
.note.hasface { padding-left: calc(1.2cqw + var(--face-room)); }
.note.hasface .pface { left: 1cqw; top: 0; }
.hasface.pair { padding-left: calc(var(--face-room) * 1.25); }
.hasface.pair .pface { width: 3.9cqw; left: 0; top: calc(var(--b) * .2); }
.hasface.pair .pface.p2 { left: 3.6cqw; top: calc(var(--b) * 2); }
/* 17: four strip labels, cut from real stocks, laid across the spread (the Pricing reference) */
.strip { position: absolute; display: grid; grid-template-columns: 10cqw 1fr 11.4cqw; column-gap: 1.6cqw; align-items: start; padding: calc(var(--b) * .5) 1.4cqw; box-shadow: 1px 1px 0 rgba(60,40,15,.22); background: center / cover no-repeat; }
.strip.pic-left { grid-template-columns: 11.4cqw 10cqw 1fr; }
.strip.s-wine { background-image: url("assets/textures/strip_wine_rijksmuseum.webp"); }
.strip.s-mustard { background-image: url("assets/textures/strip_mustard_rijksmuseum.webp"); }
.strip.s-pale { background-image: url("assets/textures/strip_pale-yellow_rijksmuseum_v02.webp"); }
.strip.s-kraft { background-image: url("assets/textures/strip_kraft_1906.webp"); }
.strip .bignum { font-size: 3cqw; line-height: calc(var(--b) * 1.75); color: var(--wine); white-space: nowrap; }
.strip h2 { font-size: 1.5cqw; line-height: calc(var(--b) * 1.25); }
.strip ul.plain { column-count: 2; column-gap: 1.6cqw; }
.strip ul.plain li { font-size: .98cqw; line-height: calc(var(--b) * .8); break-inside: avoid; margin-bottom: calc(var(--b) * .2); }
.strip ul.plain li::before { top: calc(var(--b) * .3); }
.strip .sp-pic { height: calc(var(--b) * 4); background: #F4EFE2; padding: .3cqw; }
.strip .sp-pic img { display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(.14) saturate(.88) contrast(.84) brightness(1.03); }
.strip .sp-cap { position: absolute; top: 100%; margin-top: calc(var(--b) * .2); font-family: var(--fine); font-size: .95cqw; line-height: calc(var(--b) * .75); color: var(--ink); white-space: nowrap; }
.strip.pic-right .sp-cap { right: 1.4cqw; } .strip.pic-left .sp-cap { left: 1.4cqw; }
.strip.s-wine, .strip.s-wine * { mix-blend-mode: normal !important; }
.strip.s-wine :is(h2, li, .label, .bignum) { color: #F3ECD8; }
.strip.s-wine ul.plain li::before { background: #F3ECD8; }
.strip.s-mustard .bignum { color: var(--ink); }
/* 23: the type-and-colour card */
.spec .spec-name { font-family: var(--display); font-size: 2.3cqw; line-height: calc(var(--b) * 2); color: var(--wine); }
.spec .spec-head { font-family: var(--head); font-size: 1.5cqw; line-height: calc(var(--b) * 1.5); }
.spec .spec-body { font-size: 1.14cqw; line-height: var(--b); }
.spec .chips { display: flex; gap: .8cqw; margin-top: calc(var(--b) * .5); }
.spec .chips i { flex: 1; height: calc(var(--b) * 3.5); background: #B8323B; mix-blend-mode: multiply; }
.spec .spec-note { position: absolute; left: 1.4cqw; right: 1.4cqw; bottom: calc(var(--b) * .5); color: var(--graphite); }
/* 24: three served works on one card of frames */
.works { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 1.2cqw; padding: calc(var(--b) * .75) 1.2cqw calc(var(--b) * .5); }
.works .img { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #F4EFE2; border: .3cqw solid #F4EFE2; }
.works .img :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(.14) saturate(.88) contrast(.84) brightness(1.03); }
.works .cr { font-family: var(--fine); font-size: .9cqw; line-height: calc(var(--b) * .75); margin-top: calc(var(--b) * .3); color: var(--ink); }
.works .cr b { font-weight: normal; }
.strip { grid-template-columns: 12.6cqw 1fr 11.4cqw; } .strip.pic-left { grid-template-columns: 11.4cqw 12.6cqw 1fr; }
.strip .bignum { font-size: 2.7cqw; }
.spec .spec-name { font-size: 1.9cqw; white-space: nowrap; }

/* ---------- full-deck critique r1 (Francesca, 16 Nov) ---------- */
/* fix 2: row 55 faces off (the drawn heads wait for the studio scan); delete these two lines to switch them back on */
.sheet { --faces: none; --face-room: 0cqw; }
.hasface.pair { padding-left: 0; }
/* fix 5: the typed marks are ruled labels in the deck's print, same footprint as the logo */
.cmark.typed { border: .34cqw double var(--ink); border-radius: 0; }
/* fix 1: delivered work shows as delivered, no print grade */
.works .img :is(img, video) { filter: none; }
.works video { cursor: pointer; }

/* round 2 sign-off: spread 10 logos (Francesca, 16 Nov) */
.comp .cmark.logo img { object-position: center top; }
.cmark.typed.lh { padding: .3cqw; }
.cmark.typed.lh img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cmark.logo.haawm { height: 2.6cqw; background: #000; padding: .39cqw; box-sizing: border-box; }
.cmark.logo.anngel { height: 5.6cqw; }
.cmark.logo.anngel img { object-fit: cover; }
