/** Shopify CDN: Minification failed

Line 484:0 Unexpected "}"

**/
/* Kive Studio: responsive corrections layer.
   Loaded after kive-studio.css. Every rule below either sits inside a max-width media query
   (so desktop is untouched) or only removes accidental sideways overflow. */
 
/* the footer/header bleed rules overshoot the viewport by 8px, which caused sideways scrolling
   (and a cut-off right edge on desktop when the page was nudged). clip keeps sticky elements working. */
html,body{overflow-x:clip}
 
/* ---------- tablet + phone (≤860px, the site's own single-column breakpoint) ---------- */
@media (max-width:860px){
  /* research mode content was hidden by an older mobile rule */
  .pj-wrap.rm .pj > .rs2{display:block!important}
  /* research footer: return to the normal stacked mobile footer */
  body.research .foot .wrap{grid-template-columns:1fr 1fr!important}
  body.research .foot .ft-news{grid-column:1 / -1}
  /* long reference links and notes wrap instead of pushing the page wide */
  .rs2 p,.rs2 li,.rs2 a,.rs2 .pp-ph{overflow-wrap:anywhere}
}
 
/* ---------- research mode, tablet portrait + phone (≤900px): one column ---------- */
@media (max-width:900px){
  .rs3{grid-template-columns:1fr!important;column-gap:0!important}
  .rs3-toc{position:static!important;margin:0 0 36px!important}
  .rs3-row{grid-template-columns:1fr!important;row-gap:18px!important;column-gap:0!important;margin-bottom:56px!important}
  .rs3-row .rs3-tx{max-width:none!important}
  .rs3-row.noimg{row-gap:0!important}
}
 
/* ---------- phone (≤760px) ---------- */
@media (max-width:760px){
  .top-img{height:calc(env(safe-area-inset-top,0px) + 96px)}
 
  /* HOME: diagram exactly as on desktop (labels on the drawing), scaled down; legend list hidden */
  #v-home{padding-top:120px!important}
  .dg .lab{display:inline!important}
  .dg-legend{display:none!important}
  /* more room between the diagram and the list */
  .fig1 figcaption{margin-top:130px!important}
 
  /* everything from "Select a node" down: desktop proportions, smaller */
  .fig1 figcaption{font-size:10px!important}
  .reg-head{margin-bottom:12px}
  .reg-head .toggle,.reg-head .toggle *{font-size:12px!important}
  .reg-head > :last-child{font-size:10px!important}
  .ix-filter{font-size:9.5px!important;column-gap:12px!important}
  .ix-filter button{font-size:9.5px!important}
  .ix-filter button sup{font-size:6px!important;vertical-align:4px}
  .row{grid-template-columns:72px minmax(0,1fr)!important;min-height:28px!important;column-gap:6px!important}
  .row .c{font-size:10px!important;padding:3px 8px!important}
  .row .dt{font-size:8px!important}
  .row .tt{padding-left:12px!important;padding-right:12px!important;white-space:nowrap!important}
  .row .tt,.row .tt-in,.row .tt-full{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;min-width:0;text-wrap:nowrap!important}
  .row .tt-in{display:block;max-width:100%}
 
  /* gallery: keep the image sizes, text matches the project rows */
  .ov-t,.ov-t .rn,.ov-t a,.ov-m,.ov-m .wt,.ov-m b,.ov-m a,.ov-stack a,.ov-stack .rn{font-size:10px!important}
  .ov-m .sc{font-size:8px!important}
  .ov-stack a{height:15px!important;line-height:15px!important}
 
  /* STUDIO: section labels left, text right, as on desktop; smaller type */
  #v-studio.st2{font-size:10.5px}
  #v-studio .st2-r p,#v-studio .st2-r a,#v-studio .st2-r li,#v-studio .st2-l,#v-studio .st2-l *{font-size:10.5px!important}
  #v-studio .st2-lbl{font-size:8.5px!important}
  #v-studio .st2-sec{grid-template-columns:34% minmax(0,1fr)!important;column-gap:14px!important;row-gap:0!important;padding-bottom:34px}
  #v-studio.st2{row-gap:64px!important}
 
  /* CONTACT: same two-part layout, text on the right side like desktop */
  #v-contact .ct4-txt{margin-top:48px}
  #v-contact .ct4-sec{grid-template-columns:34% minmax(0,1fr)!important;column-gap:14px!important;row-gap:0!important}
  #v-contact .ct4-txt p,#v-contact .ct4-txt a,#v-contact .ct4-txt button,#v-contact .ct4-txt span{font-size:10.5px!important}
  #v-contact .ct4-lbl{font-size:8.5px!important}
  #v-contact .ct4-sec + .ct4-sec{margin-top:64px}
 
  /* PROJECT OVERVIEW images: full width, tight gaps, pairs side by side (reference: pablocastilloluna.com) */
  .pj-imgs{gap:8px!important;margin-top:56px}
  .pj-imgs .pcap{display:none!important}
  .pj-imgs .r-hero .pj-fig,.pj-imgs .r-single .pj-fig{width:100%!important;margin:0!important}
  .pj-imgs .r-pairW{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .pj-imgs .band{background:transparent!important;width:auto!important;margin:0!important;padding:0!important;height:auto!important}
  .pj-imgs .band-in{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:0!important;transform:none!important;position:static!important;height:auto!important}
  .pj-imgs .band-cell{width:auto!important;height:auto!important;padding:0!important}
  .pj-imgs .band-cell .pj-fig{width:100%!important;margin:0!important}
  .pj-imgs img{width:100%!important;height:auto!important;display:block}
  .pj-imgs > div,.pj-imgs > div > div{margin:0!important}
 
  /* RESEARCH MODE: tighter image spacing, smaller toggle */
  .rs3-im{gap:8px!important}
  .rs2 .rs2-row{gap:8px!important;margin-bottom:4px!important}
  .rs3-row{row-gap:14px!important;margin-bottom:44px!important}
  .rtog{height:26px!important;padding:0 3px 0 10px!important;gap:7px!important;font-size:10px!important}
  .rtog > span:first-child{font-size:10px!important}
  .rtog .rt-ic{width:11px!important;height:11px!important}
  .rtog .rt-k{width:32px!important;height:18px!important}
  .rtog .rt-k::after{top:2px!important;left:2px!important;width:12px!important;height:12px!important}
  .rtog[aria-pressed="true"] .rt-k::after{transform:translateX(14px)!important}
 
  /* research contents: horizontal, same branch linework */
  .rs3-tl{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;align-items:flex-start;gap:0 22px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:4px}
  .rs3-tl::-webkit-scrollbar{display:none}
  .rs3-grp{flex:none;margin:0!important;width:max-content}
  .rs3-gl,.rs3-st > a{white-space:nowrap}
  .rs3,.rs3-main{grid-template-columns:minmax(0,1fr)!important}
  .rs3 > *,.rs3-toc,.rs3-main,.rs3-row > *{min-width:0}
  .rs3-tl{gap:0 26px!important;max-width:100%}
 
  /* FOOTER: much smaller, on one line where it fits */
  .foot{padding-top:28px!important;padding-bottom:28px!important}
  .foot .wrap,body.research .foot .wrap{grid-template-columns:repeat(3,auto) minmax(0,1fr)!important;column-gap:16px!important;row-gap:0!important;font-size:8.5px!important;align-items:start!important}
  .foot .wrap *{font-size:8.5px!important;line-height:1.35!important}
  .foot .ft-news,body.research .foot .ft-news{grid-column:auto!important;min-width:0}
  .foot .ft-k{margin:0 0 2px!important}
  .foot .ft-row{gap:6px}
  .foot .ft-row input{min-width:0;width:100%;padding:2px 0!important}
 
  /* ---- round 3 ---- */
  /* landing: more room under the header bar; smaller nav */
  #v-home{padding-top:190px!important}
  .hdr.hdr3 .nv{font-size:12px!important}
  .hdr.hdr3 .nv-r{gap:12px!important}
 
  /* studio + contact: one shared, smaller size */
  #v-studio .st2-r p,#v-studio .st2-r a,#v-studio .st2-r li,#v-studio .st2-l,#v-studio .st2-l *,
  #v-contact .ct4-txt p,#v-contact .ct4-txt a,#v-contact .ct4-txt button,#v-contact .ct4-txt span{font-size:9.5px!important;line-height:1.45!important;letter-spacing:0!important}
  #v-studio .st2-lbl,#v-contact .ct4-lbl{font-size:8px!important;line-height:1.45!important}
  #v-studio .st2-found .note b{font-size:9.5px!important}
  #v-studio.st2{row-gap:120px!important}
 
  /* project overview images: nearly edge to edge, stacked directly under each other; true pairs stay two-up */
  .pj-imgs{width:calc(100vw - 12px)!important;margin-left:calc(50% - 50vw + 6px)!important;margin-right:0!important;gap:6px!important;display:flex!important;flex-direction:column!important}
  .pj-imgs > *{width:100%!important;max-width:none!important}
  .pj-imgs .r-pairW,.pj-imgs .band-in{gap:6px!important;align-items:start}
  .pj-imgs .band-in{grid-template-columns:1fr!important}
  .pj-imgs .band-in:has(> .band-cell:nth-child(2):last-child){grid-template-columns:1fr 1fr!important}
  .pj-imgs button{display:block;width:100%;padding:0;border:0;background:none}
 
  /* case studies + research mode: smaller type */
  .pj-info .pj-title,.pj-info .pj-title *{font-size:13px!important}
  .pj-info .pj-desc,.pj-info .pj-desc *,.pj-list dd,.pj-list dd *{font-size:9.5px!important;line-height:1.45!important}
  .pj-list dt{font-size:8.5px!important}
  .ent-bar .eb-back,.ent-bar .eb-num{font-size:9.5px!important}
  .xref .cap,.xref .num,.xref .w{font-size:8.5px!important}
  .xref .t{font-size:11px!important}
  .rs2 .rs3-h h2.rs2-hd,#v-entry .rs2 .rs3-h h2.rs2-hd{font-size:13px!important}
  .rs2 .rs2-s h3.rs2-hd,#v-entry .rs2 .rs2-s h3.rs2-hd{font-size:8.5px!important}
  .rs2 p,.rs2 li,#v-entry .rs2 .rs2-s:not(.rs2-refs) p,#v-entry .rs2 .rs2-s:not(.rs2-refs) li,#v-entry .rs2-cap{font-size:9.5px!important;line-height:1.45!important}
  #v-entry .rs2 .rs3-toc p.rs3-gl,#v-entry .rs2 .rs3-st > a{font-size:8px!important}
  .rs2-f,.rs2-f *{font-size:10px!important}
 
  /* ---- round 4: research mode spacing ---- */
  body.research .pj{padding-top:112px!important}
  body.research .pj > .ent-bar{margin-bottom:40px!important}
  .rs3-h{margin:0 0 30px!important}
  /* hairline branches on phones */
  .rs3-sub{position:relative;border-left:0!important}
  .rs3-sub::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:#111;transform:scaleX(.34);transform-origin:left}
  .rs3-toc{margin:0 0 64px!important}
  /* clear space between a text block and the images under it; images themselves stay tight */
  .rs3-row{row-gap:30px!important;margin-bottom:56px!important}
  .rs3-row.noimg{row-gap:0!important}
  .rs2 .rs2-cap,#v-entry .rs2 .rs2-cap{margin:6px 0 22px!important}
  .rs3-im > .rs2-s:last-child .rs2-cap{margin-bottom:0!important}
  /* Minxcenter: show the triptych as two photos side by side (see kive-mobile.js) */
  .kv-ph-hide{display:none!important}
  .pj-imgs .kv-pair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  .pj-imgs .kv-pair img{width:100%!important;height:auto!important;display:block}
  .pj-imgs .frame{background:transparent!important}
  .pj-imgs .frame img{height:100%!important;object-fit:cover!important}
}
 
/* ---------- all widths: diagram background under the header ----------
   The header used a separate, scroll-synced copy of the photo, which lagged a frame behind the page while
   scrolling and cut the drawing off in a hard bar. While the photo is behind the header, the header is now
   simply transparent: the one real photo and the drawing scroll under the navigation, with nothing to sync. */
/* The header band is never partly visible over a photo (a partly white band over a fading photo is what read as a bar):
   - photo under the header: the band is hidden at once (the photo starts its fade-in from nothing, so the switch is invisible);
   - photo switched off: the band waits for the photo's .75s fade-out to finish, then appears at once over the plain page;
   - while the page scrolls it switches instantly, as before (kv-scrolling, kive-mobile.js). */
body.dgbg-top .top::before{opacity:0!important;transition:none!important}
.top::before{transition:opacity 0s linear .75s!important}
body.kv-scrolling .top::before{transition:none!important}
.top-img{visibility:hidden!important}
 
/* ---------- all widths: contact page without the photo; text keeps its place on the right ---------- */
#v-contact .ct4-img{display:none!important}
@media (min-width:761px){#v-contact .ct4-txt{grid-column:2}}
@media (max-width:760px){#v-contact .ct4-txt{margin-top:0!important}}
 
 
/* ---------- round 5 ---------- */
/* related list: same size relationship to the body text as the rest of the case study (all widths) */
#v-entry[data-id] .xref .t{font-size:12.5px!important;line-height:1.4!important}
#v-entry[data-id] .xref .w,#v-entry[data-id] .xref .num{font-size:10.5px!important}
#v-entry[data-id] .xref .cap{font-size:10px!important}
#v-entry[data-id] .xref li a{gap:3px!important;padding:11px 0!important}
 
@media (max-width:760px){
  /* related list on phones, scaled with the 9.5px body */
  #v-entry[data-id] .xref .t{font-size:10.5px!important}
  #v-entry[data-id] .xref .w,#v-entry[data-id] .xref .num,#v-entry[data-id] .xref .cap{font-size:8.5px!important}
  #v-entry[data-id] .xref li a{padding:9px 0!important}
 
  /* studio: contact links and founded note sit in the right-hand text column */
  #v-studio .st2-l{margin-left:calc(34% + 14px)}
 
  /* footer: three info columns spread evenly, newsletter on its own row at the bottom, all one small size */
  .foot .wrap,body.research .foot .wrap{grid-template-columns:repeat(3,auto)!important;justify-content:space-between!important;column-gap:12px!important;row-gap:22px!important}
  .foot .wrap *,.foot .ft-news *{font-size:7.5px!important;line-height:1.4!important}
  .foot .ft-news,body.research .foot .ft-news{grid-column:1 / -1!important}
  .foot .ft-k{margin:0 0 3px!important}
  .foot .ft-t{margin:0 0 6px!important}
}
 
/* footer type, slightly smaller (all widths) */
.foot .wrap,.foot .wrap *{font-size:12.5px!important}
@media (max-width:760px){.foot .wrap *,.foot .ft-news *{font-size:7px!important}}
 
/* case study overview footer (desktop): it follows all of the case study and spans the full width beneath both columns,
   exactly like the footer on every other page (same rules research mode already uses). The fixed image column ends where
   the footer begins: see the footer section in kive-mobile.js. Phones already stack the footer after everything. */
@media (min-width:861px){
  body:has(#v-entry:not([hidden]) .pj-wrap:not(.rm)) .foot{width:auto!important;margin-right:calc(-1 * (var(--gutr) + 8px))!important;padding-right:calc(var(--gutr) + 8px)!important}
  body:has(#v-entry:not([hidden]) .pj-wrap:not(.rm)) .foot .wrap{grid-template-columns:1fr 1fr 1fr minmax(280px,1.6fr)!important}
  body:has(#v-entry:not([hidden]) .pj-wrap:not(.rm)) .ft-news{grid-column:auto!important}
  /* the footer is layered above the fixed image column (z 20) and below the header mask (25) and header (40):
     an image can never show over the footer, even mid-scroll */
  body:has(#v-entry:not([hidden]) .pj-wrap:not(.rm)) .foot{position:relative;z-index:22}
}
 
/* Fix 10b — homepage diagram sits low in the first screen.
   Desktop/tablet: the diagram is a little smaller (max 1100px), limited by the window height so it always fits, and placed so
   its lowest point is ~72px (about 1.5cm) above the bottom of the window. ~185px (about 1.5in) from the diagram to the
   Gallery / Projects heading. The diagram photo always fills the first screen. */
@media (min-width:761px){
  :root{--kv-dgw:min(1100px, calc(100vw - 32px), calc((100vh - 51px - 150px) * 2.74))}
  @supports (height:100svh){:root{--kv-dgw:min(1100px, calc(100vw - 32px), calc((100svh - 51px - 150px) * 2.74))}}
  #v-home .dg{max-width:var(--kv-dgw)}
  .home{padding-top:max(110px, calc(100vh - 72px - var(--kv-dgw) * .3486))!important}
  @supports (height:100svh){.home{padding-top:max(110px, calc(100svh - 72px - var(--kv-dgw) * .3486))!important}}
  .fig1 figcaption{margin-top:134px!important}
  #dgBg{min-height:100vh}
  @supports (height:100svh){#dgBg{min-height:100svh}}
}
@media (max-width:760px){
  .fig1 figcaption{margin-top:190px!important}
}
 
/* Fix 11 — Studio page, phones only: the contact links and founders block are smaller and start at the left edge
   (in line with the About label). Desktop is unchanged. */
@media (max-width:760px){
  #v-studio.st2 > div.st2-l{margin-left:0!important}
  #v-studio.st2 > div.st2-l,#v-studio.st2 > div.st2-l *{font-size:8px!important;line-height:1.45!important}
  #v-studio.st2 > div.st2-l .st2-found{margin-top:16px!important;width:min(150px,100%)!important}
  #v-studio.st2 > div.st2-l .st2-found .note b{font-size:7.5px!important;letter-spacing:.02em}
}
 
/* Phones and small tablets (860px and below): case study overview as a viewer (see kive-mobile.js). Desktop unchanged. */
.kv-m-hero,.kv-m-strip{display:none}
@media (max-width:860px){
  #v-entry .pj-wrap:not(.rm) .pj-imgs{display:none!important}
  /* tighter top: the image sits close under the header and the Research mode / Index bar */
  #v-entry .pj-wrap:not(.rm) .pj:has(> .kv-m-hero){padding-top:96px!important}
  #v-entry .pj-wrap:not(.rm) .pj:has(> .kv-m-hero) > .ent-bar{margin-bottom:14px!important}
  #v-entry .pj-wrap:not(.rm) .kv-m-hero{display:flex;align-items:center;justify-content:center;margin:0 0 20px;
    height:min(46vh,calc((100vw - 32px) / 1.25));height:min(46svh,calc((100vw - 32px) / 1.25));min-height:220px}
  .kv-m-hero img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in;
    opacity:1;transition:opacity .28s ease}
  .kv-m-hero img.kv-fade{opacity:0}
  /* the strip stays at the bottom of the screen while reading, and stops above the footer at the end of the page */
  #v-entry:not([hidden]) .pj-wrap:not(.rm) .kv-m-strip:not(.kv-one){display:flex;position:sticky;bottom:0;z-index:40;
    width:100vw;margin-left:calc(50% - 50vw);box-sizing:content-box;
    height:72px;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff;overflow-x:auto;overflow-y:hidden;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .kv-m-strip::-webkit-scrollbar{display:none}
  .kv-m-strip button{flex:1 0 58px;height:72px;padding:0;margin:0;border:0;background:#eee;cursor:pointer}
  .kv-m-strip img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .2s ease}
  .kv-m-strip button.on img{opacity:.45}
}
/* Fix 12 — phones only: smaller, tighter type on case studies (project overview + research mode, same sizes) */
@media (max-width:760px){
  /* titles */
  html body #v-entry#v-entry .pj-info .pj-title,html body #v-entry#v-entry .pj-info .pj-title *,
  html body #v-entry#v-entry .rs2 h2.rs2-hd{font-size:12px!important;line-height:1.2!important}
  html body #v-entry#v-entry .pj-info .pj-title{margin-bottom:12px!important}
  /* body text */
  html body #v-entry#v-entry .pj-info .pj-desc,html body #v-entry#v-entry .pj-info .pj-desc *,
  html body #v-entry#v-entry .pj-list dd,html body #v-entry#v-entry .pj-list dd *,
  html body #v-entry#v-entry .rs2 p,html body #v-entry#v-entry .rs2 li,html body #v-entry#v-entry .rs2 .rs2-tx,
  html body #v-entry#v-entry .rs2 .pp-ph,html body #v-entry#v-entry .rs2-cap,html body #v-entry#v-entry .rs2 h3.rs2-hd{font-size:8.5px!important;line-height:1.3!important}
  html body #v-entry#v-entry .pj-info .pj-desc{margin-bottom:7px!important}
  /* references: a touch smaller than the text, as before */
  html body #v-entry#v-entry .rs2-refs li,html body #v-entry#v-entry .rs2-refs .rs2-tx,html body #v-entry#v-entry .rs2-refs p{font-size:8px!important;line-height:1.3!important}
  /* small labels */
  html body #v-entry#v-entry .pj-list dt,
  html body #v-entry#v-entry .rs2 .rs3-toc a,html body #v-entry#v-entry .rs2 .rs3-toc p.rs3-gl{font-size:7.5px!important;line-height:1.3!important}
  html body #v-entry#v-entry .pj-list{row-gap:11px!important;margin-top:20px!important}
  html body #v-entry#v-entry .rs2-f,html body #v-entry#v-entry .rs2-f *{font-size:8px!important}
}
/* Fix 12b — phones only: case study text 2px larger (overview + research mode + references) */
@media (max-width:760px){
  html body #v-entry#v-entry#v-entry .pj-info .pj-title,html body #v-entry#v-entry#v-entry .pj-info .pj-title *,
  html body #v-entry#v-entry#v-entry .rs2 h2.rs2-hd{font-size:15.5px!important}
  html body #v-entry#v-entry#v-entry .pj-info .pj-desc,html body #v-entry#v-entry#v-entry .pj-info .pj-desc *,
  html body #v-entry#v-entry#v-entry .pj-list dd,html body #v-entry#v-entry#v-entry .pj-list dd *,
  html body #v-entry#v-entry#v-entry .rs2 p:not(.kv-rf-h),html body #v-entry#v-entry#v-entry .rs2 .rs2-txt li:not(.kv-rf-list > li),
  html body #v-entry#v-entry#v-entry .rs2 .rs2-tx,html body #v-entry#v-entry#v-entry .rs2 .pp-ph,
  html body #v-entry#v-entry#v-entry .rs2-cap,html body #v-entry#v-entry#v-entry .rs2 h3.rs2-hd{font-size:12px!important}
  html body #v-entry#v-entry#v-entry .pj-list dt,
  html body #v-entry#v-entry#v-entry .rs2 .rs3-toc a,html body #v-entry#v-entry#v-entry .rs2 .rs3-toc p.rs3-gl,
  html body #v-entry#v-entry#v-entry .rs2 .rs2-refs p.kv-rf-h,html body #v-entry#v-entry#v-entry .rs2 .rs2-refs p.kv-rf-h *{font-size:11px!important}
  html body #v-entry#v-entry#v-entry .rs2 .rs2-refs ol.kv-rf-list > li,
  html body #v-entry#v-entry#v-entry .rs2-refs li,html body #v-entry#v-entry#v-entry .rs2-refs .rs2-tx{font-size:11px!important}
  html body #v-entry#v-entry#v-entry .rs2-f,html body #v-entry#v-entry#v-entry .rs2-f *{font-size:11px!important}
  /* Fix 13 — phones only: larger text on the Studio, Contact, Index/Gallery and article pages and in the footer
   (in step with the case study sizes; the header, the homepage diagram and desktop are unchanged) */
@media (max-width:760px){
  /* Studio */
  html body #v-studio#v-studio .st2-r p,html body #v-studio#v-studio .st2-r p *,
  html body #v-studio#v-studio .st2-ul a{font-size:12.5px!important}
  html body #v-studio#v-studio .st2-l a,html body #v-studio#v-studio .st2-found span{font-size:10.5px!important}
  html body #v-studio#v-studio .st2-found b,html body #v-studio#v-studio .st2-lbl{font-size:10px!important}
  /* Contact */
  html body #v-contact#v-contact .ct4-sec p,html body #v-contact#v-contact .ct4-sec p *,
  html body #v-contact#v-contact .ct4-sec button{font-size:12.5px!important}
  html body #v-contact#v-contact .ct4-lbl{font-size:10px!important}
  /* Index / Gallery lists */
  html body #v-home#v-home .ov-t,html body #v-home#v-home .ov-t *,
  html body #v-home#v-home .ov-m,html body #v-home#v-home .ov-m *,
  html body #v-home#v-home .tt-full,html body #v-home#v-home .fig1 figcaption span{font-size:12px!important}
  html body #v-home#v-home .ov-m .sc,html body #v-home#v-home span.c{font-size:10px!important}
  html body #v-home#v-home .ix-filter button{font-size:11.5px!important}
  html body #v-home#v-home .ix-filter button sup{font-size:7.5px!important}
  /* footer */
  html body .foot .wrap p,html body .foot .wrap p *,html body .foot .wrap button,
  html body .foot .wrap input{font-size:9px!important}
  /* articles */
  html body .kv-art .kv-art-l p{font-size:10px!important}
  html body .kv-art .kv-art-l .kv-art-type{font-size:9.5px!important}
  html body .kv-art .kv-art-body,html body .kv-art .kv-art-body p,html body .kv-art .kv-art-body li,html body .kv-art .kv-art-body span,
  html body .kv-art .kv-art-body a,html body .kv-art .kv-art-body strong,html body .kv-art .kv-art-body b,html body .kv-art .kv-art-body em,
  html body .kv-art .kv-art-body i,html body .kv-art .kv-art-body blockquote{font-size:11.5px!important}
  html body .kv-art .kv-art-body figcaption,html body .kv-art .kv-art-body h5,html body .kv-art .kv-art-body h6,
  html body .kv-art .kv-art-body h5 *,html body .kv-art .kv-art-body h6 *{font-size:10px!important}
  html body .kv-art .kv-end-h{font-size:9.5px!important}
  html body .kv-art .kv-cr-writer{font-size:11.5px!important}
  html body .kv-art .kv-cr-images,html body .kv-art .kv-cr-links{font-size:10.5px!important}
  html body .kv-art .kv-art-refs-list li{font-size:10px!important}
}
}
/* Fix 14 — phones only: the homepage diagram is redrawn for the phone (kive-mobile.js builds it into .dg):
   the four practice sheets over the Ctrl+Save hall, Subculture and Institutional as its foundation, the CORE key.
   Taps go to the desktop diagram (kept, hidden), so filtering and the background photos work exactly as before.
   Desktop is unchanged. */
.kv-mdg{display:none}
@media (max-width:760px){
  .dg #dgSvg{display:none!important}
  .kv-mdg{display:block;margin:0 -16px;width:calc(100% + 32px)}
  .kv-mdg svg{display:block;width:100%;height:auto;overflow:hidden}
  .fig1 figcaption{margin-top:28px!important}
  #v-home{padding-top:104px!important}
  .kv-mdg .kv-sh{fill:#fff;stroke:#111;stroke-width:.8;transition:fill .2s,stroke .2s}
  .kv-mdg .kv-t{fill:#111;font-size:16px;letter-spacing:.32px;text-transform:uppercase;transition:fill .2s}
  .kv-mdg .kv-sheet,.kv-mdg .kv-lab,.kv-mdg .kv-hit{cursor:pointer;-webkit-tap-highlight-color:transparent}
  .kv-mdg .kv-hit{fill:transparent;stroke:none}
  .kv-mdg .kv-lead polyline,.kv-mdg .kv-lead polygon{fill:none;stroke:#111;stroke-width:.3}
  .kv-mdg .kv-key-t{fill:#111;font-size:10px;letter-spacing:.3px}
  .kv-mdg .kv-lab rect{fill:transparent}
  .kv-mdg .kv-lab text{fill:#a3a3a3;font-size:10px;letter-spacing:.3px}
  /* selected / lit: same signals as the desktop diagram */
  .kv-mdg .kv-sheet.is-lit .kv-sh{stroke:var(--signal,#111)}
  .kv-mdg .kv-sheet.is-lit .kv-t{fill:var(--signal,#111)}
  .kv-mdg .kv-sheet.reveal .kv-sh{fill:var(--signal,#111);stroke:var(--signal,#111)}
  .kv-mdg .kv-sheet.reveal .kv-t{fill:#fff}
  .kv-mdg .kv-sheet.is-on .kv-sh{stroke-width:1.4}
  .kv-mdg .kv-lab.is-lit text{fill:var(--signal,#111)}
  .kv-mdg .kv-lab.is-on text{text-decoration:underline}
  /* over a background photo: hairlines and the key turn white, like the desktop leads and labels */
  body.dgbg-on .kv-mdg .kv-lead polyline,body.dgbg-on .kv-mdg .kv-lead polygon,body.dgbg-on .kv-mdg .kv-ctx{stroke:#fff}
  body.dgbg-on .kv-mdg .kv-key-t,body.dgbg-on .kv-mdg .kv-lab:not(.is-lit):not(.is-on) text{fill:#fff}
  body.dgbg-dark .kv-mdg .kv-logo{filter:invert(1)}
}
/* Fix 15 — phones only: the footer and the Related list under case studies at the Studio / Contact body size (12.5px).
   Size only: each keeps its own font (Related list in Akhbar, footer in Inter Tight). */
@media (max-width:760px){
  html body .foot .wrap p,html body .foot .wrap p *,html body .foot .wrap a,html body .foot .wrap button,html body .foot .wrap input,html body .foot .wrap input::placeholder,
  html body #v-entry#v-entry .xref,html body #v-entry#v-entry .xref *,html body #v-entry#v-entry .pager,html body #v-entry#v-entry .pager *{
    font-size:12.5px!important;line-height:1.45!important}
}
/* Fix 14b — phones only: styles for the diagonal-cascade drawing (replaces the hall drawing; works with Fix 14) */
@media (max-width:760px){
  .kv-mdg .ak{font-family:Akhbar,"Helvetica Neue",Arial,sans-serif;text-transform:uppercase}
  .kv-mdg .kv-slab,.kv-mdg .kv-out{cursor:pointer;-webkit-tap-highlight-color:transparent}
  .kv-mdg .kv-outlab text{fill:#111!important;font-size:11px!important}
  .kv-mdg .kv-outlab text tspan{fill:#7a7a7a}
  .kv-mdg .kv-key-t{font-size:10.5px}
  /* over a background photo: the logo, every line, CORE and the list all turn white */
  body.dgbg-on .kv-mdg .kv-lead{stroke:#fff!important}
  body.dgbg-on .kv-mdg .kv-key-t,body.dgbg-on .kv-mdg .kv-lab text,body.dgbg-on .kv-mdg .kv-lab text tspan{fill:#fff!important}
  body.dgbg-on .kv-mdg .kv-logo{filter:invert(1)!important}
}
/* Fix 16 — Minxcenter: body text in Resist Display like every other case study (desktop and phones).
   Headings and small labels stay in Akhbar, as on the other case studies. */
html body #v-entry#v-entry[data-id="minxcenter"] .pj-info .pj-desc,html body #v-entry#v-entry[data-id="minxcenter"] .pj-info .pj-desc *,
html body #v-entry#v-entry[data-id="minxcenter"] .pj-list dd,html body #v-entry#v-entry[data-id="minxcenter"] .pj-list dd *,
html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) p:not(.rs3-gl),
html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) li,
html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) .rs2-tx,
html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) .rs2-tx span,
html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-cap{
  font-family:"Resist Display","Helvetica Neue",Arial,sans-serif!important;font-weight:500!important;font-style:normal;
  letter-spacing:0!important;text-transform:none!important;-webkit-text-stroke:.04px currentColor!important}
@media (min-width:761px){
  html body #v-entry#v-entry[data-id="minxcenter"] .pj-info .pj-desc,html body #v-entry#v-entry[data-id="minxcenter"] .pj-info .pj-desc *,
  html body #v-entry#v-entry[data-id="minxcenter"] .pj-list dd,html body #v-entry#v-entry[data-id="minxcenter"] .pj-list dd *,
  html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) p:not(.rs3-gl),
  html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) li,
  html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) .rs2-tx,
  html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-s:not(.rs2-refs) .rs2-tx span,
  html body #v-entry#v-entry[data-id="minxcenter"] .rs2 .rs2-cap{font-size:11px!important;line-height:1.45!important}
}
  
 
/* Fix 17 (TEST) — research mode in black: black page, white text, white footer, red switch when research mode is on.
   TO TRY ANOTHER COLOUR: change the two codes on the next line (the page colour, and the switch colour), then Save. */
:root{--kv-rm-bg:#232323;--kv-rm-switch:#e10600}
html body.research{--paper:var(--kv-rm-bg)!important;--ink:#fff!important;--ink-2:#fff!important;--rule:rgba(255,255,255,.22)!important;background:var(--kv-rm-bg)!important;color:#fff!important}
html body.research::before,html body.research .top::before,html body.research .ed-mask{background:var(--kv-rm-bg)!important}
html body.research .top,html body.research .top *,html body.research .hdr,html body.research .navx a,html body.research .navx span{color:#fff!important}
html body.research #v-entry#v-entry#v-entry,html body.research #v-entry#v-entry#v-entry *:not(svg):not(path):not(circle):not(g){color:#fff!important}
html body.research #v-entry#v-entry#v-entry .rs2-f{background:var(--kv-rm-bg)!important}
html body.research #v-entry#v-entry#v-entry .kv-rf-g + .kv-rf-g{border-top-color:rgba(255,255,255,.3)!important}
html body.research #v-entry#v-entry#v-entry .kv-rf a{border-bottom-color:rgba(255,255,255,.5)!important;text-decoration-color:rgba(255,255,255,.5)!important}
html body.research #v-entry *{border-color:rgba(255,255,255,.22)}
html body.research #v-entry a{text-decoration-color:rgba(255,255,255,.5)!important}
html body.research #v-entry .kv-rf a{border-bottom-color:rgba(255,255,255,.5)!important}
html body.research #v-entry .rs3-st,html body.research #v-entry .rs3-st *{border-color:rgba(255,255,255,.5)!important}
html body.research #v-entry#v-entry#v-entry .rs3 .is-on,html body.research #v-entry#v-entry#v-entry .rs3 .is-on *,html body.research #v-entry#v-entry#v-entry .rs3 a[aria-current],html body.research #v-entry#v-entry#v-entry .rs3 .on{color:var(--signal,#e10600)!important}
/* the switch */
html body.research .pj > .ent-bar .rtog.rtog.rtog,html body.research #v-entry#v-entry#v-entry .rtog{background:var(--kv-rm-bg)!important;color:#fff!important;border:1px solid #fff!important}
html body .rtog[aria-pressed="true"] .rt-k{background:var(--kv-rm-switch)!important;border-color:var(--kv-rm-switch)!important}
html body .rtog[aria-pressed="true"] .rt-k::after{border-color:#fff!important;background:#fff!important}
/* footer: exactly as on the Contact page (white, grey text) */
html body.research .foot{background:#fff!important;color:#8a8a8a!important;box-shadow:0 100vh 0 100vh #fff!important;border-top-color:#8a8a8a!important}
html body.research .foot *{color:#8a8a8a!important}
html body.research .foot .muted{color:#b5b5b5!important}
html body.research .foot input::placeholder{color:#b5b5b5!important}
@media (min-width:761px){html body.research .foot .wrap{row-gap:24px!important}}
html body.research .foot .ft-row{border-bottom-color:rgba(0,0,0,.14)!important}
/* the band along the bottom of case studies (title, research / Project overview): removed, in both views */
html body #v-entry#v-entry .rs2-f,html body .rs2 > .rs2-f{display:none!important}
 
/* Fix 18 — case studies: no caption band (title → place, year — client) under the overview photos,
   and no title band along the bottom of research mode. Desktop and phones. */
html body #v-entry#v-entry .ed-pane .ed-cap,html body #v-entry#v-entry .ed-cap{display:none!important}
html body #v-entry#v-entry .rs2-f,html body .rs2 > .rs2-f{display:none!important}
/* the last overview photo sits flush on the footer (no white strip under it) */
html body #v-entry#v-entry .ed-pane .ed-row:nth-last-child(2),html body #v-entry#v-entry .ed-pane .ed-row:last-child{margin-bottom:0!important}

/* Fix 19 — no hairline above the footer: a 2px strip in the footer's own colour closes any gap left by rounding
   between the page (or the last photo) and the footer. Works for the dark and the white footer. */
html body .foot{position:relative}
html body .foot::before{content:"";position:absolute;left:0;right:0;top:-2px;height:2px;background:inherit;pointer-events:none}

/* Fix 20 — case study overview: the small labels (Type, Practice, Collaborators, Date, Credit …) in Akhbar,
   matching the research-mode subheadings. Size unchanged. */
html body #v-entry#v-entry .pj-list dt,html body #v-entry#v-entry .pj-list dt *{
  font-family:Akhbar,"Helvetica Neue",Arial,sans-serif!important;font-weight:400!important;
  text-transform:uppercase!important;letter-spacing:.02em!important;-webkit-text-stroke:.154px currentColor!important}
   


/* Fix 21 (v3) — research mode contents list: References turns red like the current section while its list
   shows on the left. */
html body.research #v-entry#v-entry#v-entry#v-entry .rs3 .rs3-st > a.kv-on,html body.research #v-entry#v-entry#v-entry#v-entry .rs3 .rs3-st > a.kv-on *{
  color:var(--signal,#e10600)!important;-webkit-text-stroke-color:var(--signal,#e10600)!important}
   

  html body.research #v-entry#v-entry .rs2{position:relative;margin-top:-70px!important}
  html body.research #v-entry#v-entry .rs2 > .rs3-h{position:absolute!important;left:212px;top:-66px;margin:0!important}
}
 