:root{--bg:#233044;--ink:#0e1420;--work:#e85d2a;--rest:#1f8a70;--muted:rgba(255,255,255,.7);--surface:rgba(255,255,255,.08)}
*{box-sizing:border-box}html,body{margin:0}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:#fff;line-height:1.55}
a{color:#9ecbff}
header.site{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;max-width:960px;margin:0 auto}
header.site .brand{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-decoration:none}
header.site .brand-word text{fill:#fff;font-family:inherit;font-size:12px;font-weight:800}
/* Facing the icon: the drawing looks right, so it is flipped to push against the mark. */
.brand-figure{flex:0 0 auto;align-self:flex-end;position:relative;height:118px;margin:0 auto 0 2px}
.brand-figure svg{display:block;height:118px;width:auto;transform:scaleX(-1)}
/* Narrow: the mark and the figure keep the first line, the nav takes its own. */
@media (max-width:720px){
  header.site{flex-wrap:wrap;padding-bottom:12px}
  header.site nav{flex:1 0 100%;display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:12px}
  header.site nav a{margin-left:0}
  .langs{margin-left:0}
}
header.site .brand img{border-radius:22px;display:block;box-shadow:0 10px 30px rgba(0,0,0,.35)}
header.site nav a{margin-left:18px;color:var(--muted);text-decoration:none;font-size:14px}
/* The language switcher sits in the nav and reads as one control, not three links. */
.langs{margin-left:18px;display:inline-flex;gap:2px;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:2px}
.langs button{border:0;background:none;color:var(--muted);font:inherit;font-size:12px;letter-spacing:.04em;padding:2px 8px;border-radius:999px;cursor:pointer}
.langs button:hover{color:#fff}
.langs button[aria-current=true]{background:rgba(255,255,255,.14);color:#fff}
main{max-width:960px;margin:0 auto;padding:24px}
.hero{padding:56px 0 32px}
.hero h1{font-size:clamp(34px,6vw,56px);margin:0 0 12px;line-height:1.05}
.hero p{font-size:18px;color:var(--muted);max-width:640px}
.cta{display:inline-block;margin:18px 12px 0 0;padding:14px 20px;border-radius:14px;background:#fff;color:var(--ink);font-weight:700;text-decoration:none}
.cta.sec{background:var(--surface);color:#fff}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:28px;align-items:start}
.card{background:var(--surface);border-radius:18px;padding:18px}
.card h3{margin:0 0 6px;font-size:17px}.card p{margin:0;color:var(--muted);font-size:15px}
.doc h1{font-size:32px}.doc h2{margin-top:32px;font-size:22px}.doc p,.doc li{color:#e9edf3;font-size:16px}
.doc table{border-collapse:collapse;width:100%;font-size:15px}.doc th,.doc td{border-bottom:1px solid rgba(255,255,255,.15);padding:8px;text-align:left;vertical-align:top}
footer{max-width:960px;margin:48px auto 24px;padding:0 24px;color:var(--muted);font-size:13px}
.phase{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:700}
.work{background:var(--work)}.rest{background:var(--rest)}

.shots{display:flex;gap:16px;overflow-x:auto;padding:8px 0 16px;scroll-snap-type:x mandatory}
.shots figure{margin:0;flex:0 0 220px;scroll-snap-align:start}
.shots img{width:220px;height:auto;border-radius:22px;box-shadow:0 14px 40px rgba(0,0,0,.4);display:block}
.shots figcaption{font-size:13px;color:var(--muted);margin-top:8px;text-align:center}

.ai-line{background:rgba(232,93,42,.16);border-left:4px solid var(--work);padding:12px 16px;border-radius:12px;color:#fff!important;font-size:16px!important;max-width:720px!important}
.cta.ai{background:var(--work);color:#fff}

.ai-buttons{display:flex;flex-wrap:wrap;gap:0}
.ai-buttons .cta{font:inherit;font-weight:700;border:0;cursor:pointer}
.ai-note{font-size:15px!important;color:var(--muted);max-width:640px;margin:14px 0 0}
.ai-fallback{display:block;width:100%;max-width:640px;margin-top:12px;padding:10px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.25);color:#fff;font:inherit;font-size:14px;min-height:90px}

/* The clip is tall and narrow; the words about it sit alongside rather than under. */
.create{display:flex;gap:36px;align-items:flex-start;flex-wrap:wrap}
.create-copy{flex:1 1 400px;min-width:0}
.create-copy h2{margin-top:0}
.create-copy .hero p,.create-copy p{max-width:none}
.demo-clip{flex:0 0 auto;margin:6px 0 0;max-width:100%}
/* Sized by height so the clip ends about where the words beside it do. */
.demo-clip video{height:min(480px,70vh);width:auto;max-width:100%;border-radius:20px;box-shadow:0 14px 40px rgba(0,0,0,.4);display:block;background:#000}
.demo-clip figcaption{font-size:14px;color:var(--muted);margin-top:10px;max-width:260px}
.demo-clip figcaption strong{color:#fff}

/* ---- catalog: search, facets, cards ---- */
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.linkish{background:none;border:0;padding:0;color:#9ecbff;font:inherit;cursor:pointer;text-decoration:underline}
.disclosure{font-size:14px!important;color:var(--muted);max-width:720px;margin-top:12px}
.disclosure strong{color:#fff}
main h2{font-size:22px;margin:40px 0 0}

.filters{margin-top:16px;display:flex;flex-direction:column;gap:14px}
.filters .search input{width:100%;max-width:520px;padding:11px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.25);color:#fff;font:inherit;font-size:16px}
.filters .search input::placeholder{color:rgba(255,255,255,.45)}
.filter-row{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;font-size:14px;color:var(--muted)}
.filter-row select{margin-left:6px;padding:7px 9px;border-radius:9px;border:1px solid rgba(255,255,255,.18);background:#1b2536;color:#fff;font:inherit;font-size:14px}
.filter-row .toggle{display:flex;align-items:center;gap:7px;cursor:pointer}

.chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.chips-label{font-size:13px;color:var(--muted);margin-right:2px;min-width:66px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;font:inherit;font-size:13px;cursor:pointer}
.chip:hover{border-color:rgba(255,255,255,.4)}
.chip.on{background:#fff;color:var(--ink);border-color:#fff;font-weight:600}
.chip-n{opacity:.55;font-size:12px}
.chip.on .chip-n{opacity:.6}
/* The long tail of tags stays folded until someone asks for it. */
.chips .chip.extra{display:none}
.chips.all .chip.extra{display:inline-flex}

.result-line{font-size:14px;color:var(--muted);margin:0}
.empty{color:var(--muted);margin:24px 0}

.entry .badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.entry .badges:empty{display:none}
.badge{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:3px 8px;border-radius:999px}
.badge.ok{background:var(--rest);color:#fff}
.badge.pick{background:var(--work);color:#fff}
/* A paid slot is outlined rather than filled: it must read as a label, never as approval. */
.badge.paid{background:transparent;border:1px solid rgba(255,255,255,.45);color:var(--muted)}
.badge.lvl{background:rgba(255,255,255,.12);color:var(--muted)}
.entry .meta{font-size:13px!important;color:var(--muted);margin-bottom:8px!important}
.entry .tag-line{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px!important}
.tag{padding:3px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
.tag:hover{color:#fff;border-color:rgba(255,255,255,.35)}
.tag.on{background:#fff;color:var(--ink);border-color:#fff}
.entry .actions{display:flex;gap:14px;align-items:center;margin-top:14px!important;font-size:14px}
.entry .actions .open{font-weight:700;text-decoration:none;color:#fff;background:var(--work);padding:7px 13px;border-radius:10px}
.entry .actions .json{color:var(--muted);font-size:13px}

.featured .grid{margin-top:14px}
