/* ranwick, the unslop edition (25 Nov 2026): the parts that the elegant site did not have.
   Loaded by every page of redesign/deslop-studio/ as assets/deslop.css (written by deslop.py).
   Colours come from the page's own set tokens (--bg, --ink, --dim, --acc, --line), so every part follows the section
   colour as the page scrolls. Two fixed colours only: the red pen (problems) and the coral stamp (PASS). */
:root { --pen: #FF3B30; --pen-soft: #E5484D; --lulus: #FF6A55; }

/* ---------------------------------------------------------------- hero: the red pen crosses out each AI tell */
.hero--old .swap__scribble { stroke: var(--pen) !important; stroke-width: 4 !important; }

/* ---------------------------------------------------------------- small shared bits */
.dsx-lead { max-width: 34em; margin-top: clamp(14px, 2vw, 22px); font: 400 clamp(17px, 1.3vw, 20px)/1.5 var(--f-gr); color: var(--dim); text-wrap: pretty; }
.dsx-gloss { display: block; margin-top: 12px; font: 700 13px/1.3 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dsx-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px; border-top: 1px solid var(--line); }
.dsx-foot p { max-width: 46em; font: 400 15px/1.5 var(--f-gr); color: var(--dim); }
.dsx-foot__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.dsx-src { margin-top: clamp(26px, 4vw, 40px); font: 400 13px/1.6 var(--f-gr); color: var(--dim); }
.dsx-src b { font: 700 12px/1 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; color: var(--ink); }
.dsx-src a { color: inherit; text-underline-offset: 3px; }
.dsx-src a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- 01 why now: the numbers */
.dsx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(32px, 5vw, 60px); }
.dsx-stat { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 18px; border-top: 2px solid var(--ink); }
.dsx-stat .dsx-stat__n { font: var(--w-px) clamp(54px, 6.6vw, 104px)/.88 var(--f-px); letter-spacing: var(--ls-px); color: var(--acc); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dsx-stat .dsx-stat__n small { font-size: .42em; letter-spacing: -.01em; margin-left: .08em; }
.dsx-stat p:not(.dsx-stat__n) { font: 400 16px/1.5 var(--f-gr); color: var(--ink); text-wrap: pretty; }
.dsx-stat__when { font: 700 12px/1.3 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: auto; }
@media (max-width: 1080px) { .dsx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dsx-stats { grid-template-columns: minmax(0, 1fr); } }
.dsx-punch { margin-top: clamp(48px, 7vw, 96px); max-width: 24em; font: var(--w-px) clamp(30px, 3.8vw, 58px)/1.06 var(--f-px); letter-spacing: var(--ls-px); color: var(--ink); text-wrap: balance; }
.dsx-punch em { font-style: normal; color: var(--acc); }
.dsx-details { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: clamp(20px, 3vw, 30px); }
.dsx-details li { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 15px/1.3 var(--f-gr); color: var(--ink); }
.dsx-details li span { position: relative; }
.dsx-details li span::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; background: var(--pen); transform: rotate(-2.5deg); border-radius: 2px; }
.dsx-details li small { font: 700 11px/1 "Courier Prime", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-left: 6px; }
.dsx-calm { margin-top: clamp(22px, 3vw, 32px); max-width: 44em; font: 400 17px/1.55 var(--f-gr); color: var(--dim); }
.dsx-calm b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- numbered cards (rescue steps, house rules, the series) */
.dsx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(30px, 4.6vw, 56px); counter-reset: dsx; }
.dsx-cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dsx-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsx-cards > li { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 16px; border-top: 2px solid var(--ink); }
.dsx-cards__n { font: 700 13px/1 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dsx-cards h3 { font: var(--w-px) clamp(24px, 2.2vw, 32px)/1.02 var(--f-px); letter-spacing: var(--ls-px); color: var(--ink); text-wrap: balance; }
.dsx-cards p { font: 400 16px/1.5 var(--f-gr); color: var(--ink); opacity: .86; text-wrap: pretty; }
.dsx-cards .dsx-tag { align-self: flex-start; margin-top: auto; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font: 700 11px/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1080px) { .dsx-cards, .dsx-cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dsx-cards, .dsx-cards--5, .dsx-cards--3 { grid-template-columns: minmax(0, 1fr); } }
.dsx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(30px, 4vw, 48px); }
.dsx-fine { margin-top: 16px; font: 400 14px/1.5 var(--f-gr); color: var(--dim); }
html[data-set="lime"] .dsx-cta .btn { background: #190F24; color: var(--bg); }

/* ---------------------------------------------------------------- Case 001: slop, the Loop, the fix */
.kes { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(30px, 4.6vw, 56px); }
.kes__stage { min-width: 0; max-width: 560px; width: 100%; justify-self: center; }
.kes__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.kes__slug { font: 700 13px/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.kes__verdict { display: flex; gap: 14px; font: 700 13px/1 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; }
.vbox { display: inline-flex; align-items: center; gap: 7px; color: var(--dim); transition: color .2s; }
.vbox i { position: relative; width: 17px; height: 17px; border: 2px solid currentColor; border-radius: 3px; }
.vbox i::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid currentColor; border-width: 0 2.6px 2.6px 0;
  transform: rotate(42deg) scale(0); transform-origin: 60% 60%; transition: transform .22s cubic-bezier(.2,.9,.3,1.4); }
.vbox.on { color: var(--ink); }
.vbox.on i::after { transform: rotate(42deg) scale(1); }
.vbox[data-v="slop"].on { color: var(--pen); }
.kes__frame { position: relative; aspect-ratio: 4 / 5; container-type: inline-size; overflow: hidden; border-radius: 14px; background: #1E1410;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 34px 70px -34px rgba(25, 15, 36, .55); isolation: isolate; }
.art, .kes__notes { position: absolute; inset: 0; }
.art { transition: opacity .01s; }
.kes[data-show="fix"] .art--slop, .kes[data-show="slop"] .art--fix, .kes[data-show="fix"] .kes__pen, .kes[data-show="fix"] .kes__notes { visibility: hidden; }
.kes__pen { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.kes__pen path { fill: none; stroke: var(--pen); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 1.4px #fff) drop-shadow(0 0 1.4px #fff); }
.kes__pen .pen.on path { animation: pen-draw .62s cubic-bezier(.45,.05,.3,1) forwards; }
.kes__pen .pen.on path:nth-child(2) { animation-delay: .14s; } .kes__pen .pen.on path:nth-child(3) { animation-delay: .28s; }
.kes__pen .pen.on path:nth-child(4) { animation-delay: .42s; }
@keyframes pen-draw { to { stroke-dashoffset: 0; } }
.kes__notes { z-index: 3; pointer-events: none; }
.kes__notes .pnote { position: absolute; padding: .35em .6em; border-radius: .3em; background: #fff; color: #C21F15; font: 700 3.1cqw/1.1 "Courier Prime", ui-monospace, monospace;
  letter-spacing: .02em; white-space: nowrap; box-shadow: 0 .2em .6em rgba(0,0,0,.25); opacity: 0; transform: translateY(.4em) rotate(var(--r, -3deg)); transition: opacity .25s, transform .3s; }
.kes[data-show="slop"] .pnote.on { opacity: 1; transform: translateY(0) rotate(var(--r, -3deg)); transition-delay: .35s; }
.kes__px { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.stamp { position: absolute; z-index: 5; padding: .18em .42em .14em; border: .1em solid currentColor; border-radius: .14em; font: 900 9cqw/1 "Gabarito", system-ui, sans-serif;
  letter-spacing: .05em; opacity: 0; pointer-events: none; }
.stamp--slop { left: 50%; top: 40%; color: var(--pen); background: rgba(255,255,255,.94); transform: translate(-50%, -50%) rotate(-10deg) scale(1.7); }
.stamp--lulus { right: 6%; bottom: 2.6%; color: #190F24; background: var(--lulus); transform: rotate(-8deg) scale(1.7); }
.kes.is-slop .stamp--slop { animation: stamp-slop .42s cubic-bezier(.2,.9,.25,1.15) forwards; }
.kes.is-lulus .stamp--lulus { animation: stamp-lulus .42s cubic-bezier(.2,.9,.25,1.15) forwards; }
.kes.is-stepping .stamp--slop { animation: none; opacity: 0; }
@keyframes stamp-slop { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-10deg) scale(1.7); } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(-10deg) scale(1); } }
@keyframes stamp-lulus { 0% { opacity: 0; transform: rotate(-8deg) scale(1.7); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
.kes__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; }
.kes__tracker { font: 700 13px/1 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; color: var(--ink); }
.kes__tracker i { display: inline-block; width: 22px; height: 8px; margin-left: 3px; border-radius: 2px; background: var(--line); vertical-align: 1px; transition: background .25s; }
.kes__tracker i.on { background: var(--acc); }
html[data-set="lime"] .kes__tracker i.on { background: #190F24; }
.kes__btns { display: flex; gap: 8px; }
.kes__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  color: var(--ink); font: 600 14px/1 var(--f-gr); cursor: pointer; transition: background .2s, color .2s; }
.kes__btn:hover, .kes__btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.kes__cap { margin-top: 14px; min-height: 1.5em; font: var(--w-px) clamp(20px, 1.8vw, 26px)/1.15 var(--f-px); letter-spacing: var(--ls-px); color: var(--ink); opacity: 0; transition: opacity .3s; }
.kes__cap small { display: block; margin-top: 4px; font: 700 12px/1.3 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.kes.is-lulus .kes__cap { opacity: 1; }
.kes__note { margin-top: 12px; font: 400 13px/1.5 var(--f-gr); color: var(--dim); }
.kes__steps { display: grid; gap: 10px; counter-reset: k; }
.kes__intro { margin-bottom: 8px; font: 400 16px/1.55 var(--f-gr); color: var(--dim); }
.kstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; width: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px;
  background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.kstep:hover { border-color: var(--ink); }
.kstep[aria-current="step"] { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.kstep__n { grid-row: span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);
  font: var(--w-px) 20px/1 var(--f-px); transition: background .2s, color .2s; }
.kstep[aria-current="step"] .kstep__n, .kstep.done .kstep__n { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.kstep__name { font: 700 12px/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.kstep__en { font: var(--w-px) clamp(20px, 1.7vw, 24px)/1.05 var(--f-px); letter-spacing: var(--ls-px); }
.kstep__do { font: 400 15px/1.45 var(--f-gr); color: var(--dim); }
.kstep__do b { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) { .kes { grid-template-columns: minmax(0, 1fr); } .kes__stage { max-width: 520px; } }

/* the slop board: everything the Loop takes out, drawn on purpose. The board is a 40 x 50 grid of design units;
   1 unit = 2.5cqw of the frame. Positions and font sizes are in cqw, so no page rule and no element font size can move them. */
.art.art--slop { overflow: hidden; color: #fff; font-size: 2.5cqw; font-family: "Poppins", "Gabarito", system-ui, sans-serif;
  background: radial-gradient(55% 38% at 78% 30%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 62%),
              radial-gradient(48% 34% at 12% 88%, rgba(34, 211, 238, .5), rgba(34, 211, 238, 0) 70%),
              radial-gradient(40% 30% at 90% 92%, rgba(250, 204, 21, .45), rgba(250, 204, 21, 0) 70%),
              linear-gradient(155deg, #4C1D95 0%, #9D174D 46%, #EA580C 100%); }
.art--slop > *, .art--fix > * { position: absolute; margin: 0; max-width: none; padding: 0; }
.art--slop .sl-flare { left: 55cqw; top: 7.5cqw; width: 45cqw; height: 45cqw; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,240,200,.25) 40%, rgba(255,255,255,0)); }
.art--slop .sl-spark { color: #FFF7AE; font-size: calc(var(--s, 1.6) * 2.5cqw); line-height: 1; text-shadow: 0 0 .4em #fff, 0 0 .9em #FDE047; }
.art--slop .sl-stars { left: 5cqw; top: 4.25cqw; font: 800 3.4cqw/1 "Poppins", sans-serif; color: #FDE047; text-shadow: 0 0 .5em rgba(253, 224, 71, .9); letter-spacing: .02em; }
.art--slop .sl-stars small { display: block; margin-top: .25em; font: 600 .62em/1 "Poppins", sans-serif; color: #fff; letter-spacing: .04em; }
.art--slop .sl-seal { right: 4cqw; top: 3cqw; width: 20.5cqw; height: 20.5cqw; border-radius: 50%; display: grid; place-content: center; text-align: center;
  font-size: 2.5cqw; transform: rotate(12deg); background: radial-gradient(circle at 35% 30%, #FFF4B0, #FBBF24 45%, #D97706); color: #7C2D12;
  box-shadow: 0 0 0 .3em rgba(255,255,255,.35), 0 0 2.2em rgba(251, 191, 36, .9); }
.art--slop .sl-seal b { font: 800 3em/0.9 "Big Shoulders Display", "Gabarito", sans-serif; }
.art--slop .sl-seal span { font: 800 .82em/1.1 "Poppins", sans-serif; letter-spacing: .06em; }
.art--slop .sl-shop { left: 4.5cqw; top: 13.6cqw; font: 400 7.1cqw/1 "Limelight", "Gabarito", serif; letter-spacing: .02em; white-space: nowrap;
  background: linear-gradient(90deg, #F0ABFC, #67E8F9 55%, #FDE047); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 .22em rgba(240, 171, 252, .95)); }
.art--slop .sl-s1 { left: 5cqw; top: 25.5cqw; font: 800 6.25cqw/1 "Poppins", sans-serif; color: #FDE047; text-shadow: 0 0 .35em #F59E0B, 0 .08em 0 #9A3412;
  transform: rotate(-4deg); white-space: nowrap; }
.art--slop .sl-dish { left: 6.5cqw; top: 38.5cqw; font: 400 4cqw/1 "Yeseva One", Georgia, serif; color: #67E8F9; text-shadow: 0 0 .4em rgba(103, 232, 249, .9); }
.art--slop .sl-food { left: 48cqw; top: 26.5cqw; font-size: 26cqw; line-height: 1;
  filter: drop-shadow(0 0 .08em #fff) drop-shadow(0 0 .22em rgba(255, 220, 120, .9)) saturate(1.5); }
.art--slop .sl-s2 { left: 5cqw; top: 61cqw; font: 600 3.55cqw/1 "Cinzel", Georgia, serif; color: #BEF264; text-shadow: 0 0 .4em rgba(190, 242, 100, .9); white-space: nowrap; }
.art--slop .sl-s3 { right: 4.5cqw; top: 69cqw; font: 700 3.7cqw/1 "Unbounded", sans-serif; color: #F9A8D4; text-shadow: 0 0 .45em #EC4899; transform: rotate(3deg); white-space: nowrap; }
.art--slop .sl-menu { left: 5cqw; right: 5cqw; top: 78.5cqw; display: grid; gap: .35em; padding: .9em 1.1em; border-radius: .8em; font-size: 2.5cqw;
  background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 .12em rgba(255,255,255,.35) inset, 0 0 1.6em rgba(236, 72, 153, .55); list-style: none; }
.art--slop .sl-menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin: 0; padding: 0; border: 0; }
.art--slop .sl-menu span { font: 600 1.45em/1.1 "Big Shoulders Display", sans-serif; letter-spacing: .02em; color: #fff; }
.art--slop .sl-menu li:nth-child(2) span { font-family: "Italiana", serif; font-weight: 400; color: #FDE68A; }
.art--slop .sl-menu li:nth-child(3) span { font-family: "Syne", sans-serif; color: #A5F3FC; }
.art--slop .sl-menu b { font: 800 1.35em/1.1 "Syne", sans-serif; color: #22D3EE; text-shadow: 0 0 .4em rgba(34, 211, 238, .9); }
.art--slop .sl-menu li:nth-child(even) b { color: #FDE047; text-shadow: 0 0 .4em rgba(253, 224, 71, .9); }
.art--slop .sl-s4 { left: 5cqw; top: 109.25cqw; font: 800 3.4cqw/1 "Poppins", sans-serif; color: #FDBA74; letter-spacing: .05em; text-shadow: 0 0 .4em #EA580C; white-space: nowrap; }
.art--slop .sl-hours { left: 5cqw; right: 5cqw; bottom: 3.75cqw; font: 500 2.55cqw/1.2 "Instrument Sans", sans-serif; color: rgba(255, 255, 255, .62); letter-spacing: .01em; }

/* the fixed board: one message, one colour, the big thing first, no AI marks, the same facts */
.art.art--fix { overflow: hidden; background: #FBF3E8; color: #1E1410; font-size: 2.5cqw; font-family: "Instrument Sans", system-ui, sans-serif; }
.art--fix .fx-top { left: 6cqw; right: 6cqw; top: 5.75cqw; display: flex; justify-content: space-between; gap: 1em; padding-bottom: .8em; border-bottom: .14em solid #1E1410;
  font: 700 2.6cqw/1.25 "Courier Prime", ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; color: #1E1410; }
.art--fix .fx-top span { text-align: right; }
.art--fix .fx-h { left: 5.25cqw; top: 16.5cqw; font: 900 23cqw/.84 "Gabarito", system-ui, sans-serif; letter-spacing: -.055em; color: #1E1410; }
.art--fix .fx-price { right: 6cqw; top: 15cqw; width: 23cqw; height: 23cqw; border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: 2.5cqw;
  background: #C8321F; color: #FBF3E8; transform: rotate(-9deg); }
.art--fix .fx-price b { display: block; font: 900 2.5em/.9 "Gabarito", system-ui, sans-serif; letter-spacing: -.04em; }
.art--fix .fx-price small { display: block; margin-top: .45em; font: 700 .86em/1.15 "Courier Prime", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.art--fix .fx-s { left: 6cqw; top: 56cqw; font: italic 600 6.25cqw/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: -.02em; color: #C8321F; }
.art--fix .fx-menu { left: 6cqw; right: 6cqw; top: 68.5cqw; font-size: 2.5cqw; list-style: none; border-top: .14em solid #1E1410; }
.art--fix .fx-menu li { display: flex; align-items: baseline; gap: .5em; margin: 0; padding: .62em 0; border-bottom: .08em solid rgba(30, 20, 16, .22);
  font: 500 1.6em/1.1 "Instrument Sans", system-ui, sans-serif; color: #1E1410; }
.art--fix .fx-menu li::after { content: ""; order: 2; flex: 1; border-bottom: .1em dotted rgba(30, 20, 16, .45); transform: translateY(-.22em); }
.art--fix .fx-menu span { order: 1; }
.art--fix .fx-menu b { order: 3; font-weight: 700; font-variant-numeric: tabular-nums; }
.art--fix .fx-menu li:first-child b { color: #C8321F; }

/* small boards on the services page (no controls) */
.dsx-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.dsx-mini figure { margin: 0; min-width: 0; }
.dsx-mini .kes__frame { border-radius: 12px; }
.dsx-mini figcaption { margin-top: 8px; font: 700 12px/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.dsx-mini .stamp { opacity: 1; animation: none; }
.dsx-mini .stamp--slop { transform: translate(-50%, -50%) rotate(-10deg); font-size: 11cqw; }
.dsx-mini .stamp--lulus { transform: rotate(-8deg); font-size: 9cqw; }
.dsx-mini .kes__pen path { stroke-dashoffset: 0; animation: none; }

/* ---------------------------------------------------------------- the Loop page: the table, the tells, the series */
.dsx-table-wrap { margin-top: clamp(30px, 4.6vw, 56px); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dsx-table { width: 100%; min-width: 760px; border-collapse: collapse; font: 400 16px/1.5 var(--f-gr); color: var(--ink); }
.dsx-table th, .dsx-table td { padding: 18px 16px 18px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.dsx-table thead th { padding-top: 0; border-top: 0; font: 700 12px/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dsx-table tbody th { width: 30%; }
.dsx-table tbody th b { display: block; font: 700 12px/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.dsx-table tbody th span { display: block; margin-top: 6px; font: var(--w-px) clamp(22px, 2vw, 30px)/1.04 var(--f-px); letter-spacing: var(--ls-px); }
.dsx-tells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); margin-top: clamp(30px, 4.6vw, 56px); }
.dsx-tells h3 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); font: var(--w-px) clamp(22px, 2vw, 30px)/1.05 var(--f-px); letter-spacing: var(--ls-px); }
.dsx-tells ul { display: grid; gap: 0; }
.dsx-tells li { padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 16px/1.45 var(--f-gr); color: var(--ink); }
.dsx-tells .out li span { position: relative; }
.dsx-tells .out li span::after { content: ""; position: absolute; left: -3px; right: -3px; top: 55%; height: 2px; background: var(--pen); transform: rotate(-2deg); border-radius: 2px; }
.dsx-tells .keep li::before { content: ""; display: inline-block; width: 8px; height: 13px; margin: 0 12px 0 3px; border: solid var(--ink); border-width: 0 2.4px 2.4px 0; transform: rotate(42deg) translateY(-2px); }
@media (max-width: 899px) { .dsx-tells { grid-template-columns: minmax(0, 1fr); } }
.dsx-format { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: clamp(30px, 4.6vw, 56px); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; }
.dsx-format li { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 18px 22px; border-left: 2px solid var(--ink); }
.dsx-format li:first-child { border-left: 0; }
.dsx-format b { font: 700 12px/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dsx-format strong { font: var(--w-px) clamp(22px, 2vw, 30px)/1 var(--f-px); letter-spacing: var(--ls-px); }
.dsx-format span { font: 400 15px/1.45 var(--f-gr); }
@media (max-width: 899px) { .dsx-format { grid-template-columns: minmax(0, 1fr); } .dsx-format li { border-left: 0; border-top: 2px solid var(--ink); } .dsx-format li:first-child { border-top: 0; } }

/* ---------------------------------------------------------------- footer motto */
.ft .ft__motto { color: #F2F2EE; margin: 0 0 clamp(14px, 2.4vw, 28px); font: var(--w-px) clamp(40px, 7.4vw, 116px)/.9 var(--f-px); letter-spacing: var(--ls-px); text-wrap: balance; }
.ft .ft__motto span { color: var(--acc); }
.ft .ft__motto small { display: block; margin-top: 14px; font: 700 13px/1.3 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

@media (prefers-reduced-motion: reduce) {
  .kes__pen .pen.on path { animation: none; stroke-dashoffset: 0; }
  .kes.is-slop .stamp--slop, .kes.is-lulus .stamp--lulus { animation: none; opacity: 1; }
  .kes.is-slop .stamp--slop { transform: translate(-50%, -50%) rotate(-10deg); }
  .kes.is-lulus .stamp--lulus { transform: rotate(-8deg); }
  .pnote, .kes__cap { transition: none; }
}


/* ---------------------------------------------------------------- 01 not an AI agency: the red pen crosses out the category */
.dsx-no { display: grid; justify-items: start; gap: clamp(2px, .6vw, 8px); margin-top: clamp(8px, 2vw, 20px); }
.dsx-no li span { position: relative; display: inline-block; font: var(--w-px) clamp(30px, 4.1vw, 62px)/1.04 var(--f-px); letter-spacing: var(--ls-px);
  color: var(--dim); transition: color .3s; }
.dsx-no li span::after { content: ""; position: absolute; left: -.08em; right: -.08em; top: 50%; height: .09em; border-radius: .05em; background: var(--pen);
  transform: rotate(-2deg) scaleX(1); transform-origin: left center; transition: transform .42s cubic-bezier(.45,.05,.3,1); }
.dsx-anim .dsx-no li:not(.is-struck) span { color: var(--ink); }
.dsx-anim .dsx-no li:not(.is-struck) span::after { transform: rotate(-2deg) scaleX(0); }
.dsx-yes { margin-top: clamp(30px, 5vw, 64px); font: var(--w-px) clamp(42px, 7.2vw, 124px)/.96 var(--f-px); letter-spacing: var(--ls-px); color: var(--ink);
  text-wrap: balance; transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
.dsx-anim .dsx-yes:not(.is-on) { opacity: 0; transform: translateY(26px); }

/* ---------------------------------------------------------------- Work: real client work, the 90s Card series (30 Nov 2026) */
.rgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.film__media--tall { aspect-ratio: 9 / 16; }
.rcard__ai { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 6px 9px 5px; border-radius: 999px;
  font: 700 11px/1 "Courier Prime", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(25, 15, 36, .78); color: #FBF3E8; }
.rcard__ai--none { background: #FBF3E8; color: #1E1410; }
.dlg--real { width: min(900px, calc(100vw - 32px)); }
.dlg--real .dlg__in { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.dlg--real .dlg__media { aspect-ratio: 9 / 16; background: #000; }
.dlg--real .dlg__media video { object-fit: contain; cursor: auto; }
@media (max-width: 1040px) { .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlg--real .dlg__in { grid-template-columns: minmax(0, 1fr); }
  .dlg--real .dlg__media { aspect-ratio: auto; height: min(68svh, 620px); }
}

/* the home page (index.html) does not load site.css: the Work page's grid, tile and dialog rules, copied from it
   (identical values, so the Work page, which loads both, does not change) */
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 34px) clamp(14px, 1.8vw, 26px); }
.fcard__open { position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; border-radius: 14px; }
.fcard__open .film__media { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.fcard__open:hover .film__media, .fcard__open:focus-visible .film__media { transform: rotate(-1.2deg) scale(1.015); }
.fcard__cap { display: flex; flex-direction: column; gap: 3px; padding-top: 12px; }
.fcard__cap strong { font: var(--w-gr) 19px/1.2 var(--f-gr); letter-spacing: -.02em; }
.fcard__cap span { font-size: 15px; color: var(--dim); }
.fcard__more { position: absolute; right: 10px; top: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; }
.fcard__more .pix { width: 16px; height: 16px; }
.fcard__open:hover .fcard__more, .fcard__open:focus-visible .fcard__more { opacity: 1; transform: none; }
.dlg { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); padding: 0; border: 1.5px solid var(--ink); border-radius: 22px; background: var(--bg); color: var(--ink); overflow: auto; }
.dlg::backdrop { background: rgba(25,15,36,.74); }
.dlg__in { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.dlg__media { position: relative; aspect-ratio: 3 / 4; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.dlg__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.dlg__media .film__n { position: absolute; left: 12px; top: 12px; z-index: 2; }
.dlg__body { display: flex; flex-direction: column; gap: 14px; align-self: center; padding: clamp(24px, 3vw, 44px); }
.dlg__body h2 { font: var(--w-px) clamp(34px, 3.6vw, 54px)/1 var(--f-px); letter-spacing: var(--ls-px); }
.dlg__desc { font-size: 17px; color: var(--dim); }
.dlg__body .fine { margin-top: 0; }
.dlg__body .btn { align-self: flex-start; }
.dlg__x { position: absolute; right: 12px; top: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px 8px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); cursor: pointer; font: 600 13px/1 var(--f-gr); }
.dlg__x .pix { width: 12px; height: 12px; }
.facts2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1.5px solid var(--ink); }
.facts2 > div { padding: 11px 0 10px; border-bottom: 1px solid var(--line); }
.facts2 dt { font: var(--w-hand) calc(16px * var(--hs))/1.1 var(--f-hand); color: var(--dim); }
.facts2 dd { margin: 4px 0 0; font-weight: 600; }
@media (hover: none) { .fcard__more { opacity: 1; transform: none; } }
.fine { margin-top: 18px; font-size: 14.5px; line-height: 1.5; color: var(--dim); max-width: 62em; }
/* the Work page's own rules above come after these in deslop.css, so restate the real-work ones last */
.rgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dlg--real { width: min(900px, calc(100vw - 32px)); }
.dlg--real .dlg__in { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.dlg--real .dlg__media { aspect-ratio: 9 / 16; background: #000; }
.dlg--real .dlg__media video { object-fit: contain; cursor: auto; }
@media (max-width: 1040px) { .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlg--real .dlg__in { grid-template-columns: minmax(0, 1fr); }
  .dlg--real .dlg__media { aspect-ratio: auto; height: min(68svh, 620px); }
}

/* the numbers in Why now link their own sources (30 Nov 2026) */
.dsx-stat__when a { color: inherit; text-underline-offset: 3px; }
.dsx-stat__when a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- Case 001 as real posters (30 Nov 2026) */
.art__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art.art--fix { color: #fff; background: #B8321F; font-family: "Inter Tight", "Instrument Sans", system-ui, sans-serif; }   /* beats the old menu board rule */
.fx2-top { position: absolute; left: 5.5cqw; right: 5.5cqw; top: 5cqw; display: flex; justify-content: space-between; gap: 3cqw; font: 600 2.6cqw/1.25 "Inter Tight", system-ui, sans-serif; }
.fx2-top span { font-weight: 400; opacity: .88; text-align: right; }
.fx2-h { position: absolute; left: 5.5cqw; top: 13cqw; font: 600 13cqw/.95 "Inter Tight", system-ui, sans-serif; letter-spacing: -.05em; }
.fx2-s { position: absolute; left: 5.8cqw; top: 27.5cqw; font: 400 5.4cqw/1 "Inter Tight", system-ui, sans-serif; letter-spacing: -.02em; opacity: .92; }
.fx2-price { position: absolute; right: 5.5cqw; top: 14cqw; text-align: right; }
.fx2-price b { display: block; font: 600 7.2cqw/1 "Inter Tight", system-ui, sans-serif; letter-spacing: -.04em; }
.fx2-price small { display: block; margin-top: .6cqw; font: 700 2cqw/1.2 "Courier Prime", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.fx2-menu { position: absolute; left: 5.5cqw; top: 38cqw; width: 42cqw; font: 400 2.75cqw/1.2 "Inter Tight", system-ui, sans-serif; }
.fx2-menu li { display: flex; justify-content: space-between; gap: 2cqw; padding: 1.1cqw 0; border-bottom: 1px solid rgba(255,255,255,.32); }
.fx2-menu b { font-weight: 600; }

/* ---------------------------------------------------------------- Posters, unslopped (30 Nov 2026): slop first, then the fix */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 40px) clamp(14px, 2vw, 28px); }
.pst { min-width: 0; }
.pst__frame { position: relative; aspect-ratio: 4 / 5; container-type: inline-size; overflow: hidden; border-radius: 14px; background: #1E1410; isolation: isolate;
  box-shadow: 0 34px 70px -38px rgba(25, 15, 36, .55); }
.pst__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pst__pen { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; transition: opacity .3s; }
.pst__pen path { fill: none; stroke: var(--pen); stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 1.4px #fff) drop-shadow(0 0 1.4px #fff); }
.pst.is-pen .pst__pen path { animation: pen-draw .6s cubic-bezier(.45,.05,.3,1) forwards; }
.pst.is-pen .pst__pen path:nth-child(2) { animation-delay: .35s; }
.pst.is-pen .pst__pen path:nth-child(3) { animation-delay: .7s; }
.pst.is-pen .pst__pen path:nth-child(4) { animation-delay: 1.05s; }
.pst__notes { position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: opacity .3s; }
.pst__notes span { position: absolute; padding: .35em .6em; border-radius: .3em; background: #fff; color: #C21F15; font: 700 3.6cqw/1.1 "Courier Prime", ui-monospace, monospace;
  white-space: nowrap; box-shadow: 0 .2em .6em rgba(0,0,0,.3); opacity: 0; transform: translateY(.4em) rotate(var(--r, -3deg)); transition: opacity .25s, transform .3s; }
.pst.is-pen .pst__notes span { opacity: 1; transform: translateY(0) rotate(var(--r, -3deg)); transition-delay: calc(.45s + var(--i) * .35s); }
/* the fix wipes in with the scroll: --p goes 0 -> 1 as the card rises through the screen (part_deslop.js) */
.pst__fix { position: absolute; inset: 0; z-index: 4; color: var(--pst-ink, #fff); clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0);
  font-family: "Inter Tight", "Instrument Sans", system-ui, sans-serif; }
.pst.is-manual .pst__fix { transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); }
.pst__pen, .pst__notes { opacity: calc(1 - var(--p, 0) * 1.6); }
.pst__edge { position: absolute; top: 0; bottom: 0; left: calc(var(--p, 0) * 100%); z-index: 6; width: 1cqw; margin-left: -.5cqw; border-radius: 1cqw;
  background: var(--pen); box-shadow: 0 0 0 .35cqw rgba(255, 255, 255, .9), 0 0 3cqw rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.pst.is-wiping .pst__edge { opacity: 1; }
.pst.is-manual .pst__edge { transition: left .9s cubic-bezier(.7, 0, .2, 1), opacity .2s; }
.pst__top { position: absolute; left: 6cqw; right: 6cqw; top: 5.5cqw; display: flex; justify-content: space-between; gap: 3cqw; font: 600 2.8cqw/1.25 "Inter Tight", system-ui, sans-serif;
  color: var(--pst-top, #fff); text-shadow: var(--pst-top-sh, none); }
.pst__top span { font-weight: 400; opacity: .85; }
/* each text line takes the colour measured on its own photo (media/posters/check_ink.py) */
.pst__type { position: absolute; color: var(--pst-ink, #fff); text-shadow: var(--pst-ink-sh, none); }
.pst__type--top { left: 6cqw; right: 6cqw; top: 14cqw; text-align: center; }
.pst__type--bl { left: 6cqw; right: 28cqw; bottom: 17cqw; }
.pst__type--left { left: 6cqw; right: 18cqw; top: 56cqw; }
.pst__h { font: 600 9.4cqw/.98 "Inter Tight", system-ui, sans-serif; letter-spacing: -.05em; }
.pst__type--left .pst__h { font-size: 8.2cqw; }
.pst__h--sm { font-size: 7.4cqw; }
.pst__s { margin-top: 2.4cqw; font: 400 3.7cqw/1.25 "Inter Tight", system-ui, sans-serif; letter-spacing: -.01em; opacity: .92; }
.pst__foot { position: absolute; left: 6cqw; right: 6cqw; bottom: 4.5cqw; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2cqw;
  font: 400 2cqw/1.3 "Inter Tight", system-ui, sans-serif; color: var(--pst-foot, #fff); text-shadow: var(--pst-foot-sh, none); }
.pst__foot b { display: block; font: 700 1.75cqw/1.25 "Courier Prime", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.pst .stamp { font-size: 8cqw; }
.pst .stamp--slop { left: 50%; top: 50%; }
.pst .stamp--lulus { right: 5%; top: 3.5%; bottom: auto; font-size: 6.2cqw; }
.pst.is-slop:not(.is-wiping):not(.is-fixed) .stamp--slop { animation: stamp-slop .42s cubic-bezier(.2,.9,.25,1.15) 1.1s forwards; }
.pst.is-fixed .stamp--lulus { animation: stamp-lulus .42s cubic-bezier(.2,.9,.25,1.15) .1s forwards; }
.pst__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.pst__bar p { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pst__bar p b { font: var(--w-gr) 18px/1.2 var(--f-gr); letter-spacing: -.02em; }
.pst__bar p span { font-size: 14px; color: var(--dim); }
@media (max-width: 1040px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pst.is-manual .pst__fix, .pst.is-manual .pst__edge { transition: none; } .pst.is-pen .pst__pen path { animation-duration: .01s; } }

/* the home page's pricing block is an ask for a quote now (30 Nov 2026) */
.ask-price { margin-top: clamp(56px, 8vw, 110px); padding-top: clamp(28px, 4vw, 44px); border-top: 2px solid var(--ink); max-width: 980px; }
.ask-price .big { margin-top: 10px; }
.ask-price__lead { margin-top: 18px; max-width: 40em; font: 400 clamp(16px, 1.3vw, 19px)/1.55 var(--f-gr); color: var(--dim); }
.ask-price__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }

/* the divider between the unslop services and the made-right services */
.dsx-divide { margin: clamp(56px, 8vw, 110px) 0 clamp(8px, 2vw, 20px); padding-top: 18px; border-top: 2px solid var(--ink);
  font: var(--w-px) clamp(34px, 4.6vw, 68px)/1 var(--f-px); letter-spacing: var(--ls-px); color: var(--ink); }
.dsx-divide small { display: block; margin-top: 12px; font: 700 13px/1.3 "Courier Prime", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.svx__media .dsx-mini { width: 100%; }
.dsx-mini--one { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
