/* ------------------------------------------------------------------ clients band (v8.1, 9 October 2026)
   "Running on Nizento": one row of client marks on a paper-2 ledger strip.
   Logos show in full brand colour inside matching white cards; the card lifts and takes a gold edge on hover. */
.clients { background: var(--paper-2); border-block: 1px solid var(--line); }
.clients-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s5); }
.clients-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 22ch; margin-top: var(--s2); }
.clients-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.client { position: relative; display: grid; grid-template-rows: 112px auto; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
a.client:hover, a.client:focus-visible { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(14, 27, 37, .35); }
.client-logo { display: grid; place-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.client-logo img { max-width: 100%; max-height: 72px; width: auto; height: auto; transition: transform .3s var(--ease); }
.client-logo img.badge { width: 72px; height: 72px; max-height: none; border-radius: 14px; object-fit: cover; }
a.client:hover .client-logo img, a.client:focus-visible .client-logo img { transform: scale(1.04); }
.client-meta { display: grid; align-content: start; gap: 2px; padding: 12px 14px 14px; }
.client-meta b { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.client-meta span { font: 500 10.5px/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
a.client .client-meta b::after { content: " →"; color: var(--gold-text); opacity: 0; transition: opacity .2s var(--ease); }
a.client:hover .client-meta b::after, a.client:focus-visible .client-meta b::after { opacity: 1; }
.client-word { display: grid; justify-items: center; gap: 2px; color: var(--navy-2); }
.client-word small { font: 500 10px/1 var(--f-mono); letter-spacing: .32em; text-transform: uppercase; }
.client-word strong { font: 700 1.7rem/1 var(--f-display); letter-spacing: -0.01em; font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144; }
.clients-note { margin-top: var(--s3); font: 500 11px/1.5 var(--f-mono); letter-spacing: .08em; color: var(--slate); }
@media (max-width: 1040px) { .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .clients-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; } .client { grid-template-rows: 96px auto; } .client-logo img { max-height: 58px; } .client-logo img.badge { width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .client, .client-logo img { transition: none; } a.client:hover { transform: none; } }

/* ------------------------------------------------------------------ client demos (13 October 2026)
   Greenwich University and Fatman Burgers cards open a live model in a dialog (assets/js/client-demos.js). */
.client-demo-tag { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 5px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--paper-2); border: 1px solid var(--line); padding: 4px 6px; border-radius: 2px; }
.client-demo-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: block; }
a.client:hover .client-demo-tag, a.client:focus-visible .client-demo-tag { border-color: var(--gold); }
.demo-dialog { width: min(1240px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #24363F; border-radius: 4px; background: #0E1B25; color: #F1F2ED; overflow: hidden; }
.demo-dialog[open] { display: flex; flex-direction: column; }
.demo-dialog::backdrop { background: rgba(8, 15, 21, .78); }
.demo-dialog-bar { display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px; border-bottom: 1px solid #24363F; }
.demo-dialog-bar p { margin: 0; flex: 1; min-width: 0; font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #8C98A1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-dialog-full { font-size: 13px; color: #D9AE63; text-decoration: none; white-space: nowrap; }
.demo-dialog-full:hover { text-decoration: underline; }
.demo-dialog-close { appearance: none; display: grid; place-items: center; width: 36px; height: 36px; background: transparent; border: 1px solid #24363F; border-radius: 2px; color: #F1F2ED; cursor: pointer; }
.demo-dialog-close:hover { border-color: #8C98A1; }
.demo-dialog-close svg { width: 14px; height: 14px; }
.demo-dialog-body { overflow: auto; overscroll-behavior: contain; padding: 0 clamp(8px, 2vw, 20px); }
.demo-dialog-body iframe { display: block; width: 100%; height: 1150px; border: 0; background: #0E1B25; }
html.demo-open { overflow: hidden; }
@media (max-width: 620px) { .demo-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; } .demo-dialog-full { display: none; } .client-demo-tag { top: 6px; right: 6px; } }
@media (prefers-reduced-motion: no-preference) { html:not(.lite) .demo-dialog[open] { animation: demo-in .25s var(--ease); } }
@keyframes demo-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
