/* VCNITY case study and card. Kept apart from styles.css so parallel branches merge cleanly. */
/* Colours from the VCNITY prototype: warm amber with its navy navigation bar */
.theme-amber>a{background:#f6c56f;color:#25223f}
.theme-amber .work-tag{background:#25223f;color:#fff}
.theme-amber .work-text>p{color:#3a3550}
.theme-amber .arrow-button{background:#25223f;color:#fff}
.theme-amber .case-cover,.case-main.theme-amber .case-cover{background:#fbe3b4}
.case-main.theme-amber{--cc:#fbe3b4;--ci:#25223f;--cs:#4a4536;--ca:#8a5a00;--teal:#8a5a00;--tint:#fbe3b4;--lead:#25223f;--lead-under:#fff}
body:has(.case-main.theme-amber){--dot:#25223f;--dot-on:#fff;--ca:#8a5a00}

/* Two phones, as on the other app cards */
.vcnity-art{display:flex;align-items:center;justify-content:center;gap:32px;padding:24px}
.vcnity-art .phone{width:min(220px,30%);max-width:none;flex:none;border:6px solid #25223f;border-radius:32px;overflow:hidden;background:#25223f;box-shadow:0 18px 36px #25223f33}
.vcnity-art .phone img{display:block;width:100%;height:auto;border-radius:0}
.vcnity-art .phone-one{transform:rotate(-6deg);translate:0 8%}
.vcnity-art .phone-two{transform:rotate(6deg);translate:0 -8%}
.case-main .case-cover .vcnity-art{width:min(1000px,100%);height:auto;aspect-ratio:auto;overflow:visible;gap:48px;padding:40px 24px}
.case-main .case-cover .vcnity-art .phone{width:min(240px,30vw);translate:none}
@media(max-width:700px){.vcnity-art{gap:16px}.vcnity-art .phone{border-width:4px;border-radius:24px}.case-main .case-cover .vcnity-art{gap:16px;padding:32px 8px}.case-main .case-cover .vcnity-art .phone{width:min(180px,38vw)}}

/* SUS comparison */
.vc-sus-card{background:#fff;border-radius:24px;padding:32px;box-shadow:0 2px 6px #1e2a400f}
.vc-sus-title{margin:0 0 24px;font:600 16px/1.4 var(--body);color:#25223f}
.vc-sus ul{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.vc-sus li{display:grid;grid-template-columns:180px 1fr 56px;align-items:center;gap:16px;margin:0}
.vc-sus li::before{content:none}
.vc-sus-label{font-size:16px;line-height:1.4}
.vc-sus-bar{height:16px;border-radius:999px;background:#f1ede4;overflow:hidden}
.vc-sus-bar i{display:block;height:100%;width:calc(var(--v) * 100%);background:#e5a23a;border-radius:inherit}
.vc-sus-bar.is-ref i{background:#25223f}
.vc-sus b{font:700 20px/1 var(--body);text-align:right}
@media(max-width:700px){.vc-sus-card{padding:24px}.vc-sus li{grid-template-columns:1fr 48px;gap:8px 12px}.vc-sus-label{grid-column:1/-1}}

/* Issue table */
.vc-issues table{width:100%;border-collapse:collapse;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 2px 6px #1e2a400f;font-size:16px;line-height:1.5}
.vc-issues caption{text-align:left;font:600 16px/1.4 var(--body);padding:0 0 12px;color:#25223f}
.vc-issues th,.vc-issues td{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid #ece8df}
.vc-issues thead th{font-weight:600;font-size:14px;color:#555b66;background:#faf7f0}
.vc-issues tbody th{font-weight:600}
.vc-issues tr:last-child>*{border-bottom:0}
.vc-pri{display:inline-block;padding:4px 12px;border-radius:999px;font-weight:600;font-size:14px;white-space:nowrap}
.vc-pri-high{background:#25223f;color:#fff}
.vc-pri-medium{background:#fff;color:#25223f;box-shadow:inset 0 0 0 1.5px #25223f}
@media(max-width:700px){.vc-issues thead{display:none}.vc-issues tr{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:16px;border-bottom:1px solid #ece8df}.vc-issues tr:last-child{border-bottom:0}.vc-issues th,.vc-issues td{padding:0;border:0}.vc-issues td:nth-child(2){grid-column:1/-1;grid-row:2;color:#555b66}.vc-issues td:last-child{grid-column:2;grid-row:1}}

/* Quote with its source */
.vc-quote cite{display:block;margin-top:16px;font:400 16px/1.5 var(--body);font-style:normal;color:#555b66;letter-spacing:0}
.vc-quote p{margin:0}

.vc-persona img,.vc-wide img{border-radius:16px;box-shadow:0 2px 6px #1e2a400f}

/* Numbered design changes */
.vc-changes{list-style:none;counter-reset:vc;margin:32px 0 48px;padding:0;display:grid;gap:16px}
.vc-changes li{counter-increment:vc;display:grid;grid-template-columns:40px 1fr;gap:4px 16px;margin:0;padding:24px;background:#fff;border-radius:16px;box-shadow:0 2px 6px #1e2a400f}
.vc-changes li::before{content:counter(vc);grid-row:1/3;width:32px;height:32px;border-radius:50%;background:#f6c56f;color:#25223f;display:grid;place-items:center;font:700 16px/1 var(--body);position:static;margin:0}
.vc-changes h3{margin:0;font-size:20px;line-height:1.3}
.vc-changes p{margin:0;font-size:16px;line-height:1.5}

/* Rows of screens and sketches */
.vc-row{display:flex;justify-content:center;align-items:flex-end;gap:24px;margin:24px 0 48px;flex-wrap:wrap}
.vc-row figure{margin:0;flex:1 1 0;min-width:0;max-width:280px;text-align:center}
.vc-row img,.vc-row video{display:block;width:100%;height:auto;border-radius:16px;background:#fff;box-shadow:0 2px 6px #1e2a401a}
.vc-row figcaption{margin-top:12px;font-size:16px;line-height:1.5;color:#555b66}
.vc-pair figure:first-child{max-width:320px}
.vc-proto video,.vc-proto img,.vc-pair img{border-radius:24px}
@media(max-width:700px){.vc-row{gap:12px}.vc-sketches figure{flex-basis:calc(50% - 6px)}.vc-row figcaption{font-size:16px}}

/* Retest results */
.vc-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}
.vc-two>div{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 6px #1e2a400f}
.vc-two h3{margin:0 0 12px}
.vc-two ul{margin:0;padding-left:20px}
.vc-two li{font-size:16px;line-height:1.5;margin:0 0 8px}
@media(max-width:700px){.vc-two{grid-template-columns:1fr}}

@media(prefers-reduced-motion:reduce){.vcnity-art .phone{transition:none}}

/* Figure images keep their own proportions */
.case-main.theme-amber .case-body img,.case-main.theme-amber .case-body video{height:auto;max-width:100%}

/* Sketches: larger, with a little more line contrast so pencil marks read */
.vc-row.vc-sketches{gap:16px;align-items:flex-start}
.vc-row.vc-sketches figure{max-width:none;flex:1 1 0}
.vc-sketches img{filter:contrast(1.25) saturate(1.1);border:1px solid #ece8df;box-shadow:none}
@media(max-width:700px){.vc-row.vc-sketches figure{flex:1 1 100%;max-width:420px}}

/* Research plan steps */
.vc-steps{list-style:none;margin:24px 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.vc-steps li{margin:0;padding:24px;background:#fff;border-radius:16px;box-shadow:0 2px 6px #1e2a400f}
.vc-steps li::before{content:none}
.vc-steps h3{margin:4px 0;font-size:20px;line-height:1.3}
.vc-steps p{margin:0;font-size:16px;line-height:1.5;color:#555b66}
.vc-steps .vc-step-n{color:#8a5a00;font-weight:600}
@media(max-width:700px){.vc-steps{grid-template-columns:1fr}}

/* Question lists: interview topics and honeycomb facets */
.vc-topics,.vc-facets{margin:24px 0 32px;display:grid;gap:12px}
.vc-topics>div,.vc-facets>div{display:grid;grid-template-columns:200px 1fr;gap:4px 24px;padding:16px 24px;background:#fff;border-radius:16px;box-shadow:0 2px 6px #1e2a400f}
.vc-topics dt,.vc-facets dt{font-weight:600;font-size:16px;line-height:1.5}
.vc-topics dd,.vc-facets dd{margin:0;font-size:16px;line-height:1.5}
@media(max-width:700px){.vc-topics>div,.vc-facets>div{grid-template-columns:1fr}}

/* Seven tasks */
.vc-tasks{margin:24px 0 32px;padding-left:24px}
.vc-tasks li{font-size:16px;line-height:1.5;margin:0 0 8px}

/* Captured documents and photos */
.vc-doc img{display:block;width:100%;border:1px solid #ece8df;border-radius:16px;background:#fff}
.vc-doc{max-width:760px;margin-left:auto!important;margin-right:auto!important}
.vc-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;align-items:center;margin:24px 0 48px}
.vc-split .case-figure{margin:0!important;max-width:none}
@media(max-width:800px){.vc-split{grid-template-columns:1fr}}
.vc-gallery{display:grid;gap:16px;margin:24px 0 40px}
.vc-gallery-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.vc-gallery-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.vc-gallery figure{margin:0}
.vc-gallery img{display:block;width:100%;border-radius:12px;border:1px solid #ece8df;background:#fff}
.vc-gallery figcaption{margin-top:8px;font-size:16px;line-height:1.5;color:#555b66}
@media(max-width:700px){.vc-gallery-3,.vc-gallery-2{grid-template-columns:1fr}}

/* SUS rows: participants, the average and the benchmark */
.vc-sus li.is-avg .vc-sus-label,.vc-sus li.is-avg b{font-weight:700}
.vc-sus li.is-avg{padding-top:12px;border-top:1px solid #ece8df}
.vc-sus li.is-ref .vc-sus-bar i{background:#25223f}
.vc-sus li:not(.is-avg):not(.is-ref) .vc-sus-bar i{background:#f2cf91}

/* Ranking table */
.vc-rank td{text-align:center;font-weight:600;width:64px}
.vc-rank tr.is-top>*{background:#fdf1d9}
@media(max-width:700px){.vc-rank thead{display:table-header-group}.vc-rank tr{display:table-row;padding:0}.vc-rank th,.vc-rank td{display:table-cell;padding:12px 8px;border-bottom:1px solid #ece8df}.vc-rank td{grid-column:auto;grid-row:auto;color:inherit;width:40px}}

/* Eight themes */
.vc-themes{list-style:none;counter-reset:th;margin:24px 0 32px;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px 16px}
.vc-themes li{counter-increment:th;display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:0;padding:12px 16px;background:#fff;border-radius:12px;font-size:16px;line-height:1.5;box-shadow:0 2px 6px #1e2a400f}
.vc-themes li::before{content:counter(th) ".";font-weight:600;color:#8a5a00;position:static;margin:0;background:none;width:auto;height:auto}
.vc-themes span{flex:1}
.vc-themes b{font-weight:500;font-size:14px;color:#555b66;white-space:nowrap}
@media(max-width:700px){.vc-themes{grid-template-columns:1fr}}

/* Fixes after the first desktop check */
.vc-sus-bar{display:block;min-width:48px}
.vc-table-title{margin:0 0 12px;font:600 16px/1.4 var(--body);color:#25223f}
.vc-gallery-1{grid-template-columns:1fr}
/* Sketches and research photos break out to the wide figure width on desktop, like other case figures */
@media(min-width:901px){
  .case-body .vc-sketches,.case-body .vc-gallery{margin-left:calc(min(1000px,94vw) / -2 + 50%);margin-right:calc(min(1000px,94vw) / -2 + 50%)}
  .vc-row.vc-sketches figure{max-width:none}
}

/* SUS: sheet and scores stacked, both readable */
.vc-sus-stack{display:grid;gap:24px;margin:24px 0 48px}
.vc-sus-stack .case-figure{margin:0!important;max-width:none}
.vc-sus-stack .vc-sus-sheet{max-width:560px;margin:0 auto!important}
.vc-sus-stack .vc-sus-sheet img{border:1px solid #ece8df;border-radius:16px;background:#fff;padding:16px}
.vc-sus-stack .vc-sus li{grid-template-columns:200px 1fr 64px}
.vc-sus-stack .vc-sus-bar{height:20px}
@media(max-width:700px){.vc-sus-stack .vc-sus li{grid-template-columns:1fr 48px}}

/* Card sorting materials: three tidy sets with the printed wording */
.vc-materials{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:16px;margin:24px 0 40px;align-items:start}
.vc-set{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 6px #1e2a400f}
.vc-set h4{margin:0 0 16px;font:600 16px/1.4 var(--body);color:#25223f;display:flex;justify-content:space-between}
.vc-set h4 span{font-weight:500;color:#555b66}
.vc-set ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.vc-set li{margin:0;padding:8px 12px;border-radius:8px;font:500 14px/1.4 var(--body);color:#1e1e20}
.vc-set li::before{content:none}
.vc-set-cat ul{grid-template-columns:repeat(2,1fr)}
.vc-set-cat li{background:#dcf0cf;border:1px solid #b9de9f}
.vc-set-feat ul{grid-template-columns:repeat(2,1fr)}
.vc-set-feat li{background:#f0f9ea;border:1px solid #cfe9bf}
.vc-set-rank li{background:#fbe1cf;border:1px solid #f1b98f}
@media(min-width:901px){.case-body .vc-materials{margin-left:calc(min(1000px,94vw) / -2 + 50%);margin-right:calc(min(1000px,94vw) / -2 + 50%)}}
@media(max-width:800px){.vc-materials{grid-template-columns:1fr}}

/* Review pass 1 */
/* Transcripts: wider so the coded text reads at body size */
.case-body .vc-doc{max-width:none;margin-left:calc(min(880px,94vw) / -2 + 50%)!important;margin-right:calc(min(880px,94vw) / -2 + 50%)!important}
.vc-doc img{padding:24px;box-shadow:0 2px 6px #1e2a400f}
.vc-doc figcaption,.vc-sus-sheet figcaption{text-align:center}
@media(max-width:900px){.case-body .vc-doc{margin-left:0!important;margin-right:0!important}.vc-doc img{padding:8px}}
/* Research photos: one size per row */
.vc-gallery-3 img{aspect-ratio:4/3;object-fit:cover;height:auto}
/* Card labels at body size */
.vc-set li{font-size:16px;line-height:1.4}
/* Sketches: same box height, whole drawing visible */
.vc-sketches img{height:440px!important;width:100%;object-fit:contain;background:#fff;padding:12px}
@media(max-width:700px){.vc-sketches img{height:auto!important}}
/* Screens: identical phone frame and width in every pair */
.vc-pair,.vc-proto{align-items:flex-start;gap:32px}
.vc-pair figure,.vc-pair figure:first-child,.vc-proto figure{flex:0 1 260px;max-width:260px}
.vc-pair img,.vc-proto img,.vc-proto video{border:6px solid #25223f;border-radius:32px;background:#25223f;box-shadow:0 12px 24px #25223f1f}
@media(max-width:700px){.vc-pair,.vc-proto{gap:12px}.vc-pair img,.vc-proto img,.vc-proto video{border-width:4px;border-radius:20px}}
.vc-sus-stack .vc-sus-sheet{max-width:440px}
/* Footer in the app navy, not the dark amber text accent */
body:has(.case-main.theme-amber) .footer.is-on{background-color:#25223f}
@media(max-width:700px){.vc-pair,.vc-proto{flex-wrap:nowrap}.vc-pair figure,.vc-pair figure:first-child,.vc-proto figure{flex:1 1 0;max-width:none}}
/* SUS sheet: centred in the text column, same frame as the score card */
.vc-sus-stack .vc-sus-sheet{max-width:none;margin:0!important}
.vc-sus-stack .vc-sus-sheet img{display:block;width:100%;height:auto;padding:24px;border:0;border-radius:24px;background:#fff;box-shadow:0 2px 6px #1e2a400f}
.vc-sus-stack figcaption{text-align:left}

/* One document page per step, beside the content it supports */
.vc-docs{display:flex;justify-content:center;gap:24px;margin:32px 0 40px}
.vc-docs figure{margin:0;flex:0 1 360px}
.vc-docs img{display:block;width:100%;height:auto;background:#fff;border:1px solid #ece8df;border-radius:12px;box-shadow:0 8px 24px #1e2a4014}
.vc-docs figcaption{margin-top:12px;font-size:16px;line-height:1.5;color:#555b66;text-align:center}
@media(max-width:700px){.vc-docs{gap:12px}.vc-docs figure{flex:1 1 0}.vc-docs figcaption{font-size:16px}}
.vc-doc-btn{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:12px}
.vc-doc-btn:focus-visible{outline:2px solid #8a5a00;outline-offset:4px}
.vc-doc-btn img{transition:transform .2s}
.vc-doc-btn:hover img{transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.vc-doc-btn img{transition:none}.vc-doc-btn:hover img{transform:none}}
