/* Villain Boutique */
:root {
  --bg: #0f0c13;
  --surface: #18141e;
  --surface-2: #211b29;
  --line: #322a3d;
  --text: #f1ece3;
  --muted: #a69fb0;
  --gold: #c8a55e;
  --gold-ink: #17120a;
  --plum: #8f6be8;
  --danger: #ff8a8a;
  --ok: #8fd6a4;
  --tile: #f4f1ec;
  --radius: 10px;
  --wrap: 1120px;
  --display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: #e3c583; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9em; }
.lede { font-size: 1.12rem; color: #d9d2e0; max-width: 62ch; }
section { padding: 56px 0; }
section.tight { padding: 32px 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(15, 12, 19, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.brand span { color: var(--gold); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--text); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px !important; }
.cart-count { background: var(--gold); color: var(--gold-ink); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 20px 18px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .cart-link { width: auto !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 8px; padding: 12px 22px; border: 1px solid var(--gold); background: var(--gold); color: var(--gold-ink); transition: background .15s, color .15s; }
.btn:hover { background: #dbbb78; color: var(--gold-ink); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 420px at 85% -10%, rgba(143, 107, 232, .22), transparent 60%), radial-gradient(700px 380px at 0% 110%, rgba(200, 165, 94, .12), transparent 60%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero-art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tile); aspect-ratio: 4 / 3; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .hero { padding: 44px 0 36px; } .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Grids and cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card a.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.card:hover { border-color: #4a3f5a; }
.thumb { aspect-ratio: 4 / 3; background: var(--tile); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.blank, .gallery-main.blank { background: linear-gradient(135deg, #2a2138, #17121f); display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px; font-family: var(--display); font-size: 1.15rem; color: var(--gold); letter-spacing: .03em; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; margin: 0; line-height: 1.35; }
.card-body .tag { color: var(--muted); font-size: .88rem; margin: 0; }
.price { font-weight: 700; color: var(--text); margin-top: auto; padding-top: 8px; }
.card-actions { padding: 0 16px 16px; }
.card-actions .btn { width: 100%; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip { font: inherit; font-size: .9rem; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); font-weight: 600; }
.chip-n { font-size: .78em; opacity: .65; margin-left: 2px; font-weight: 500; }

/* Feature blocks */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: start; }
@media (max-width: 820px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { margin-bottom: .4em; }
.panel p:last-child { margin-bottom: 0; }
.step-num { font-family: var(--display); color: var(--gold); font-size: 1.6rem; display: block; margin-bottom: 6px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding: 6px 0 6px 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tile); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: #d9d2e0; max-width: 70ch; }

/* Product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; gap: 24px; } }
.gallery-main { aspect-ratio: 4 / 3; background: var(--tile); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 56px; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--tile); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.product .price { font-size: 1.5rem; padding: 0; margin: 0 0 14px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin: 18px 0; }
.note { font-size: .9rem; color: var(--muted); }

/* Forms */
label { display: block; font-size: .9rem; font-weight: 600; margin: 0 0 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.qty { width: 84px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); display: none; }
.form-status.show { display: block; }
.form-status.ok { border-color: var(--ok); color: var(--ok); }
.form-status.err { border-color: var(--danger); color: var(--danger); }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item .thumb { width: 76px; flex: none; border-radius: 6px; font-size: .7rem !important; padding: 4px !important; }
.cart-item a { color: var(--text); text-decoration: none; font-weight: 600; }
.cart-table .num { text-align: right; white-space: nowrap; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: .88rem; text-decoration: underline; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--danger); }
.summary { max-width: 380px; margin-left: auto; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 700; font-size: 1.15rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 10px; }
.summary .btn { width: 100%; }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .summary { max-width: none; }
}

/* Prose pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--text); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px); background: var(--text); color: #17121f; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast a { color: #5a3fc0; margin-left: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Villainous Things menu group */
.nav-group { position: relative; display: inline-flex; flex-direction: column; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px; background: var(--surface, #17121d); border: 1px solid var(--line, #322a3d); border-radius: 10px; z-index: 30; flex-direction: column; gap: 2px; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { display: flex; }
.nav-menu a { padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.nav.open .nav-group { display: flex; }
.nav.open .nav-menu { display: flex; position: static; border: 0; padding: 0 0 0 14px; background: none; }
.chip-group { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-left: 10px; border-left: 1px solid var(--line, #322a3d); }
.chip.group { font-weight: 700; }
.chip.sub { font-size: .85em; }

.villain-sub { margin-top: 32px; }
.villain-sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.villain-sub-head h3 { margin: 0; }

/* ---------- AI solutions (2026-11-24) ---------- */
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cols-4 { grid-template-columns: 1fr; } }

.pipeline-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pipeline-title { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.pipeline { list-style: none; margin: 0; padding: 0; position: relative; }
.pipeline::before { content: ""; position: absolute; left: 30px; top: 14px; bottom: 14px; border-left: 1px dashed var(--line); }
.pipeline li { position: relative; display: grid; grid-template-columns: 62px 1fr; column-gap: 12px; padding: 8px 0; align-items: baseline; }
.pipeline li b { font-weight: 700; }
.pipeline li span:last-child { grid-column: 2; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.pipe-tag { grid-row: span 2; align-self: start; position: relative; z-index: 1; text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 0; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
.pipe-tag.ai { border-color: var(--plum); color: #c4b2f5; }
.pipe-tag.rule { border-color: var(--gold); color: var(--gold); }
.pipe-tag.human { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

.project-link { display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; transition: border-color .15s; }
.project-link:hover { border-color: var(--gold); color: var(--text); }
.project-link h3 { margin: 4px 0 0; }
.project-link .go { margin-top: auto; color: var(--gold); font-weight: 600; font-size: .92rem; }
.status { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 10px; border: 1px solid var(--line); color: var(--muted); }
.status.live { border-color: var(--ok); color: var(--ok); }
.status.alpha { border-color: var(--danger); color: var(--danger); }
.alpha-note { margin: 10px 0 14px; padding: 10px 14px; border-left: 3px solid var(--danger); background: var(--surface); border-radius: 0 8px 8px 0; font-size: .92rem; }
.alpha-note strong { color: var(--danger); }
.tool-card.no-img { grid-template-columns: 1fr; max-width: 78ch; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: 78ch; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px solid var(--line); color: #d9d2e0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.steps li b { color: var(--text); }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tool-grid div { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.tool-grid b { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.tool-grid span { color: var(--text); }
@media (max-width: 820px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tool-grid { grid-template-columns: 1fr; } }

.status-box { margin-top: 32px; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; max-width: 78ch; }
.status-box p { margin: 4px 0 0; color: #d9d2e0; }

.project-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.project-row:last-child { border-bottom: 0; }
.project-row h3 { margin: 8px 0 .4em; }
.project-row p { max-width: 70ch; }
.mini { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .project-row { grid-template-columns: 1fr; } }

/* ---------- Case study page (2026-11-24) ---------- */
.cs-hero h1 { max-width: 22ch; }
.cs-meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 40px; margin: 28px 0 0; }
.cs-meta dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cs-meta dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 700px) { .cs-meta { grid-template-columns: 1fr 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--display); font-size: 2.2rem; color: var(--gold); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
.cs-toc { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; padding-bottom: 4px; }
.cs-toc a { font-size: .88rem; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.cs-toc a:hover { border-color: var(--gold); color: var(--gold); }
.cs-sub { margin-top: 40px; }
.cs-sub-h2 { margin-top: 56px; }
.split3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 28px 0 0; }
.split3 .pipe-tag { display: inline-block; padding: 3px 12px; margin-bottom: 10px; }
@media (max-width: 820px) { .split3 { grid-template-columns: 1fr; } }
.shot { margin: 28px 0 0; }
.shot img, .shot video { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; line-height: 1.5; max-width: 80ch; }
.shot figcaption b { color: var(--text); }
.shots-2 { gap: 24px; }
.shots-2 .shot { margin-top: 24px; }
.phone-row { display: grid; grid-template-columns: 1fr 1fr 2.6fr; gap: 24px; align-items: start; margin-top: 4px; }
.phone-row .phone img { max-height: 560px; width: auto; max-width: 100%; margin: 0 auto; }
@media (max-width: 820px) { .phone-row { grid-template-columns: 1fr 1fr; } .phone-row .phone-video { grid-column: 1 / -1; } }
.lessons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.lessons .panel p { margin-bottom: .6em; }
@media (max-width: 820px) { .lessons { grid-template-columns: 1fr; } }
.mini-checks { padding-left: 1.2em; color: #d9d2e0; max-width: 78ch; }
.mini-checks li { margin-bottom: 6px; }
.tool-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.tool-card:last-child { border-bottom: 0; }
.tool-card img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.tool-card h3 { margin: 8px 0 .4em; }
@media (max-width: 820px) { .tool-card { grid-template-columns: 1fr; gap: 16px; } }
.cs-cta { border-top: 1px solid var(--line); }
.print-only { display: none; }

/* Print / PDF: light paper, no menus or videos, keep figures whole */
@media print {
  @page { size: Letter; margin: 14mm 14mm 16mm; }
  :root { --bg: #fff; --surface: #f6f3ee; --surface-2: #efe9df; --line: #ddd5c8; --text: #17121f; --muted: #555060; --gold: #8a6a24; --plum: #5a3fc0; --ok: #1f7a43; }
  body { background: #fff; color: var(--text); font-size: 10.5pt; line-height: 1.5; }
  .site-header, .site-footer, .cs-toc, .btn-row, .sr-only, .shot.video, .tool-card .btn { display: none !important; }
  .print-only { display: block !important; }
  .hero { background: none; padding: 0 0 12pt; border: 0; }
  section { padding: 16pt 0; }
  .band { background: none; border: 0; }
  .lede, .steps li, .mini-checks, details p { color: #2d2836; }
  .wrap { max-width: none; padding: 0; }
  h1 { font-size: 24pt; } h2 { font-size: 16pt; } h3 { font-size: 12pt; }
  .stats b { font-size: 20pt; }
  .panel, .shot, .tool-card, .stats, .tool-grid, .steps li, .lessons .panel { break-inside: avoid; }
  h2, h3, .eyebrow { break-after: avoid; }
  #guardrails { break-before: page; } #guardrails .wrap { break-inside: avoid; }
  .cols-2, .shots-2 { grid-template-columns: 1fr 1fr !important; gap: 14pt !important; }
  .cols-3, .split3 { grid-template-columns: repeat(3, 1fr) !important; gap: 10pt !important; }
  .lessons { grid-template-columns: 1fr 1fr !important; gap: 10pt !important; }
  .stats { grid-template-columns: repeat(4, 1fr) !important; }
  .stats div { padding: 10pt; } .stats span { font-size: 8.5pt; }
  .tool-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .cs-meta { grid-template-columns: repeat(4, auto) !important; }
  .panel { padding: 10pt; }
  .lede { font-size: 11.5pt; }
  .shot { margin-top: 10pt; }
  .shot figcaption { font-size: 8.5pt; margin-top: 4pt; }
  .phone-row { grid-template-columns: 1fr 1fr 1fr 1fr !important; }
  .phone-row .phone img { max-height: 70mm; }
  .tool-card { grid-template-columns: 1fr 1.2fr !important; gap: 14pt !important; padding: 10pt 0; }
  .tool-card img { max-height: 46mm; width: auto; }
  .tool-card { padding: 6pt 0; }
  .cs-cta { padding-top: 6pt; }
  .steps li { padding: 5pt 0 5pt 34pt; }
  .steps li::before { width: 22px; height: 22px; top: 5pt; font-size: 9pt; }
  .pipe-tag.ai { color: var(--plum); }
  .cs-sub, .cs-sub-h2 { margin-top: 16pt; }
  section { padding: 10pt 0; }
  .pipe-tag.human { color: #fff; }
  .phone-row { grid-template-columns: 1fr 1fr; }
  .phone-row .phone img { max-height: 120mm; }
  img { max-width: 100% !important; }
  a { color: var(--text); text-decoration: none; }
}

/* ---------- Work overview + next-case links (2026-11-24) ---------- */
.feature-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .feature-cases { grid-template-columns: 1fr; } }
.feature-case { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .15s; }
.feature-case:hover { border-color: var(--gold); color: var(--text); }
.feature-case img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.fc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fc-body h2 { margin: 4px 0 0; font-size: 1.6rem; }
.fc-facts { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.fc-facts li { font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--muted); }
.fc-facts b { color: var(--gold); }
.feature-case .go, .next-case .go { margin-top: auto; color: var(--gold); font-weight: 600; }
.next-case { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; margin-top: 20px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.next-case:hover { border-color: var(--gold); color: var(--text); }
.next-case img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.next-case h3 { margin: 8px 0 .4em; }
@media (max-width: 700px) { .next-case { grid-template-columns: 1fr; gap: 14px; } }
@media print {
  .next-case { display: none !important; }
  #more, #tools:has(.next-case) { display: none !important; }
  .kc #origin .cols-2 { grid-template-columns: 1.2fr 1fr !important; }
  .status-box { background: var(--surface); }
  .status-box p { color: #2d2836 !important; }
  .kc #app .shots-2 { display: none !important; }
  .kc #app .shot img { max-height: 120mm; width: auto; margin: 0 auto; }
  .kc .cs-cta { break-before: avoid; }
}

/* ---------- KillCalculator case study extras (2026-11-24) ---------- */
.origin-box { background: var(--surface); border: 1px solid var(--gold); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; max-width: none; }
.origin-box p { color: #d9d2e0; }
.origin-box p:last-child { margin-bottom: 0; }
.alert-box { background: rgba(255,138,138,.06); border: 1px solid rgba(255,138,138,.5); border-left: 4px solid var(--danger); border-radius: var(--radius); padding: 20px 24px; margin-top: 18px; }
.alert-box h3 { color: var(--danger); margin-top: 0; }
.alert-box p { color: #d9d2e0; max-width: 80ch; }
.alert-box p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 18px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.cost-table th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cost-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cost-table td span { display: block; font-size: .8rem; color: var(--muted); }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.cost-total td { border-top: 2px solid var(--gold); border-bottom: 0; color: var(--gold); font-weight: 700; font-size: 1rem; }
.small-note { font-size: .82rem; margin-top: 10px; max-width: 90ch; }
.tool-grid.four { grid-template-columns: repeat(4, 1fr); }
.tool-grid.four b { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.tool-grid.four span { color: var(--muted); font-size: .88rem; }
@media (max-width: 1000px) { .tool-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tool-grid.four { grid-template-columns: 1fr; } }
@media print {
  .origin-box p, .alert-box p { color: #2d2836 !important; }
  .origin-box, .alert-box, .table-wrap { background: var(--surface); break-inside: avoid; }
  .tool-grid.four { grid-template-columns: repeat(4, 1fr) !important; }
  .cost-table { font-size: 8.5pt; min-width: 0; }
  .kc #premium .cols-2 { grid-template-columns: 1.2fr 1fr !important; }
}

/* ---------- Clothing (2026-11-26) ---------- */
.nav a.nav-hot { color: var(--gold); font-weight: 600; }
.footer-grid { grid-template-columns: 1.4fr repeat(auto-fit, minmax(130px, 1fr)); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Homepage clothing hero */
.fashion-hero { padding: 0; border-bottom: 1px solid var(--line); background: radial-gradient(900px 500px at 100% 0%, rgba(200, 165, 94, .16), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(143, 107, 232, .18), transparent 60%); overflow: hidden; }
.fh-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; min-height: min(78vh, 720px); padding-top: 40px; padding-bottom: 40px; }
.fh-copy h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.01em; margin-bottom: .35em; }
.fh-copy h1 em { font-style: italic; color: var(--gold); }
.fh-copy .lede { margin-bottom: 1.6em; }
.fh-copy .btn { padding: 14px 28px; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.fh-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.fh-strip li::before { content: "\2726"; color: var(--gold); margin-right: 8px; }
.fh-collage { position: relative; height: min(64vh, 600px); min-height: 380px; }
.fh-collage:not(.has-pics) { border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, #2a2138 0%, #17121f 55%, #3a2b18 100%); display: grid; place-items: center; }
.fh-collage:not(.has-pics)::after { content: "VB"; font-family: var(--display); font-size: clamp(5rem, 14vw, 10rem); color: var(--gold); opacity: .55; letter-spacing: .04em; }
.fh-pic { position: absolute; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--tile); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.fh-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.fh-pic:hover img { transform: scale(1.04); }
.fh-pic.p0 { left: 18%; top: 0; width: 46%; height: 100%; z-index: 2; }
.fh-pic.p1 { left: 0; top: 14%; width: 30%; height: 62%; z-index: 1; }
.fh-pic.p2 { right: 0; top: 24%; width: 32%; height: 66%; z-index: 3; }
@media (max-width: 820px) {
  .fh-grid { grid-template-columns: 1fr; min-height: 0; gap: 26px; padding-top: 32px; }
  .fh-collage { height: 440px; min-height: 0; }
}

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.ctiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 36px; }
.ctiles:empty { display: none; }
.ctile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #2a2138, #17121f); border: 1px solid var(--line); display: flex; align-items: flex-end; text-decoration: none; }
.ctile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.ctile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(10, 8, 14, .85)); }
.ctile span { position: relative; z-index: 1; padding: 14px; color: #fff; font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.ctile:hover img { transform: scale(1.05); }

/* Fashion product grid and cards */
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
@media (max-width: 1000px) { .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
.fcard { display: flex; flex-direction: column; min-width: 0; }
.fcard-media { position: relative; }
.fcard-img { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--tile); }
.fcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s, transform .5s; }
.fcard-img img.alt { opacity: 0; }
.fcard:hover .fcard-img img.alt { opacity: 1; }
.fcard:hover .fcard-img img { transform: scale(1.02); }
.fcard-blank { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px; font-family: var(--display); color: var(--gold); background: linear-gradient(160deg, #2a2138, #17121f); }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; transform: translateY(8px); opacity: 0; font: inherit; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(247, 245, 240, .95); color: #17121f; border: 0; border-radius: 6px; padding: 10px; cursor: pointer; transition: opacity .2s, transform .2s; }
.fcard:hover .quick, .quick:focus-visible { opacity: 1; transform: translateY(0); }
@media (hover: none) { .quick { opacity: 1; transform: none; font-size: .72rem; padding: 8px; left: 6px; right: 6px; bottom: 6px; } }
.fcard-body { color: var(--text); text-decoration: none; padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.fcard-body h3 { font-family: var(--body); font-size: .92rem; font-weight: 500; line-height: 1.35; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fcard-body:hover { color: var(--text); }
.fcard-body:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.fprice { font-weight: 700; margin: 2px 0 0; }
.fdots { display: flex; gap: 5px; align-items: center; margin: 6px 0 0; }
.fdots span { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.fdots em { font-style: normal; font-size: .78rem; color: var(--muted); }

/* Colour and size picker */
.picker { margin: 18px 0 4px; }
.opt { margin-bottom: 16px; }
.opt-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.opt-label b { color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; margin-left: 4px; }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; padding: 3px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.swatch[aria-pressed="true"] { border: 2px solid var(--gold); padding: 2px; }
.size-btn { min-width: 52px; font: inherit; font-size: .9rem; font-weight: 600; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.size-btn:hover:not(:disabled) { border-color: var(--gold); }
.size-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.size-btn:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.product.apparel { grid-template-columns: 1.15fr .85fr; }
.product.apparel .gallery-main { aspect-ratio: 3 / 4; }
.product.apparel .gallery-main img { object-fit: cover; object-position: top; }
.product.apparel .thumbs button { width: 60px; height: 80px; }
.product.apparel .buy-row .btn { flex: 1; min-width: 200px; padding: 14px 22px; text-transform: uppercase; letter-spacing: .06em; }
.product.apparel details { padding: 12px 0; }
@media (max-width: 820px) { .product.apparel { grid-template-columns: 1fr; } }

/* Quick add sheet */
.sheet-veil { position: fixed; inset: 0; z-index: 60; background: rgba(8, 6, 12, .7); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sheet { position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.sheet-grid { display: grid; grid-template-columns: 220px 1fr; gap: 22px; }
.sheet-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; background: var(--tile); }
.sheet h3 { font-family: var(--body); font-size: 1.05rem; margin: 0 28px 4px 0; }
.sheet .btn { width: 100%; margin-top: 6px; }
.sheet-more { margin: 10px 0 0; font-size: .9rem; }
.sheet-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; }
@media (max-width: 560px) {
  .sheet-veil { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 14px 14px 0 0; max-height: 88vh; }
  .sheet-grid { grid-template-columns: 96px 1fr; gap: 14px; }
}

/* Clothing page */
.cl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.cl-head h1 { margin: 0; }
.cl-head #cl-count { color: var(--muted); }
.cl-dept { display: flex; gap: 6px; margin-left: auto; }
.dept { font: inherit; font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 6px 10px; cursor: pointer; }
.dept[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--gold); }
.cl-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.cl-cats:empty { display: none; }
.cl-cats .chip { white-space: nowrap; }
.cl-tools { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 12px 0; margin-bottom: 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
.fsel { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fsel select { width: auto; min-width: 140px; padding: 8px 10px; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.cl-tools .link-btn { align-self: center; margin-left: 4px; }
.cl-empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }
@media (max-width: 680px) {
  .cl-dept { margin-left: 0; width: 100%; }
  .cl-tools { display: grid; grid-template-columns: 1fr 1fr; }
  .fsel select { min-width: 0; width: 100%; }
}
.hero h2.hero-h { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }

/* ---------- Villainess Things theme: black and stencil red (clothing pages) ---------- */
.nav a.nav-hot { color: #ee2225; }
.vt {
  --bg: #000;
  --surface: #0b0b0b;
  --surface-2: #151515;
  --line: #2b2b2b;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --gold: #ee2225;
  --gold-ink: #000;
  --plum: #ee2225;
  --tile: #111;
  --stencil: "Allerta Stencil", "Stencil", "Stencil Std", Impact, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.vt a:hover { color: #ff5a5c; }
.vt .btn:hover { background: #ff3b3e; border-color: #ff3b3e; color: #000; }
.vt .btn.ghost { color: var(--text); border-color: #444; background: transparent; }
.vt .btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.vt h1, .vt h2, .vt .ctile span, .vt .opt-label, .vt .dept, .vt .eyebrow { font-family: var(--stencil); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.vt h1, .vt h2 { color: var(--gold); }
.vt .lede, .vt details p { color: #d6d6d6; }
.vt .site-header, .vt.site-header { background: rgba(0, 0, 0, .94); }
.vt .site-header .brand, .vt .site-footer .brand { font-family: var(--stencil); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; }
.vt .fcard-blank, .vt .ctile { background: linear-gradient(160deg, #1a0405, #000); }
.vt .fdots span { border-color: #555; }
.vt .size-btn[aria-pressed="true"] { background: var(--gold); color: #000; border-color: var(--gold); }
.vt .quick { background: rgba(0, 0, 0, .86); color: #fff; border: 1px solid #ee2225; }
.vt .quick:hover { background: #ee2225; color: #000; }
section.fashion-hero.vt { background: radial-gradient(900px 520px at 100% 0%, rgba(238, 34, 37, .16), transparent 60%), radial-gradient(700px 480px at 0% 100%, rgba(238, 34, 37, .08), transparent 60%), #000; border-bottom: 1px solid #1d1d1d; }
.vt .fh-copy h1 { color: var(--text); font-size: clamp(2.6rem, 7.4vw, 5.4rem); line-height: 1; }
.vt .fh-copy h1 em { font-style: normal; color: var(--gold); }
.vt .fh-strip li::before { content: "\25A0"; color: var(--gold); }
.vt .fh-collage:not(.has-pics) { background: linear-gradient(160deg, #1c0405 0%, #000 60%); border-color: #2b2b2b; }
.vt .fh-collage:not(.has-pics)::after { font-family: var(--stencil); color: var(--gold); opacity: .8; }
.vt .fh-pic { border-color: #2b2b2b; box-shadow: 0 24px 60px rgba(238, 34, 37, .12); }
.vt .chip { border-color: #3a3a3a; }

/* The "Villainess Things" poster on the homepage */
.slogan { padding: 56px 0; border-bottom: 1px solid #1d1d1d; text-align: center; }
.slogan-art { display: block; max-width: 880px; margin: 0 auto; }
.slogan-art img { width: 100%; height: auto; }
.slogan-cta { justify-content: center; margin-top: 26px; }
.slogan-cta .btn { padding: 14px 30px; font-family: var(--stencil); font-weight: 400; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px) { .slogan { padding: 36px 0; } }

/* ---------- Whole site on the black and red theme (2026-11-26) ---------- */
.vt .hero { background: radial-gradient(900px 420px at 85% -10%, rgba(238, 34, 37, .16), transparent 60%), #000; border-bottom-color: #1d1d1d; }
.vt .steps li, .vt .mini-checks, .vt .origin-box p, .vt .alert-box p, .vt .status-box p { color: #d6d6d6; }
.vt .card:hover { border-color: #5a1214; }
.vt .thumb.blank, .vt .gallery-main.blank { background: linear-gradient(160deg, #1c0405, #000); color: var(--gold); font-family: var(--stencil); text-transform: uppercase; }
.vt .prose h2 { color: var(--gold); }
.vt .site-footer h4 { font-family: var(--stencil); font-weight: 400; color: var(--gold); }
.vt .pipe-tag.ai { color: #ff8a8c; }
.vt .pipe-tag.human { color: #000; }
.vt .status.live { border-color: var(--ok); color: var(--ok); }
/* Printed and PDF copies of the case studies stay on white paper */
@media print {
  .vt { --bg: #fff; --surface: #f6f3ee; --surface-2: #efe9df; --line: #ddd5c8; --text: #17121f; --muted: #555060; --gold: #8a6a24; --plum: #5a3fc0; background: #fff; color: var(--text); }
  .vt h1, .vt h2 { color: var(--text); }
}
