/* c.pages.css — multi-page component styles (nav-active, page
   heads, previews, cases, process, manifest, trust). Loaded after
   c.css, before c.mobile.css — preserves the original cascade. */
/* ============================================================
   MULTI-PAGE SITE — nav active, page heads, previews, cases
   ============================================================ */

/* active nav */
.c-navlinks a { position: relative; }
.c-navlinks a.is-active { color: var(--blue); }
.c-navlinks a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--blue); }
.c-logo { cursor: pointer; }

/* editorial page header (dedicated pages) */
.c-page-head { padding: 60px var(--pad-x) 44px; border-bottom: 1px solid var(--line); position: relative; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px; }
.c-page-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; margin-bottom: 34px; border-bottom: 1px solid var(--line-2); }
.c-page-meta .c-lbl, .c-page-meta .sh-r { white-space: nowrap; }
.c-page-title { font-family: "Space Grotesk",sans-serif; font-weight: 600; font-size: clamp(34px, 3.8vw, 60px); letter-spacing: -.032em; line-height: 1.04; max-width: 20ch; }
.c-page-intro { margin-top: 22px; font-size: 18px; line-height: 1.62; color: var(--ink-2); max-width: 58ch; }

/* strong view-all action bar */
.c-viewall { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px var(--pad-x); border-top: 1px solid var(--line); transition: background .2s ease; }
.c-viewall:hover { background: var(--paper); }
.c-viewall .va-note { display: block; font-family: "IBM Plex Mono",monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.c-viewall .va-label { font-family: "Space Grotesk",sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -.015em; color: var(--ink); transition: color .18s ease; }
.c-viewall:hover .va-label { color: var(--blue); }
.c-viewall .va-arr { width: 50px; height: 50px; flex: none; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.c-viewall .va-arr svg { width: 18px; height: 18px; transition: transform .24s cubic-bezier(.2,.7,.2,1); }
.c-viewall:hover .va-arr { background: var(--blue); color: #fff; border-color: var(--blue); }
.c-viewall:hover .va-arr svg { transform: translateX(3px); }

/* services preview rows */
.c-svc-prev { }
.c-svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 26px var(--pad-x); border-top: 1px solid var(--line-2); transition: background .18s ease; }
.c-svc-row:first-child { border-top: 0; }
.c-svc-row:hover { background: var(--paper); }
.c-svc-ic.sm { width: 48px; height: 48px; }
.c-svc-ic.sm svg { width: 23px; height: 23px; }
.c-svc-row:hover .c-svc-ic.sm { background: var(--blue); color: #fff; border-color: var(--blue); }
.srow-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.srow-t { font-family: "Space Grotesk",sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -.015em; color: var(--ink); transition: color .18s ease; }
.c-svc-row:hover .srow-t { color: var(--blue); }
.srow-d { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.srow-ix { font-family: "IBM Plex Mono",monospace; font-size: 12px; color: var(--muted); }

.c-svc-grid.as-page { padding-top: 28px; }

/* process */
.c-proc { display: grid; grid-template-columns: repeat(4,1fr); }
.c-proc-step { padding: 38px 30px; border-right: 1px solid var(--line); }
.c-proc-step:last-child { border-right: 0; }
.c-proc-step .pk { font-family: "IBM Plex Mono",monospace; font-size: 13px; color: var(--blue); letter-spacing: .04em; }
.c-proc-step h3 { font-size: 21px; margin-top: 18px; letter-spacing: -.02em; }
.c-proc-step p { margin-top: 11px; font-size: 14px; color: var(--ink-2); line-height: 1.58; }

/* projects (Work) */
.c-cases { }
.c-case { display: grid; grid-template-columns: 1.05fr 1fr; border-top: 1px solid var(--line); }
.c-case:first-child { border-top: 0; }
.c-case-l { padding: var(--pad-x); border-right: 1px solid var(--line); }
.c-case.flip .c-case-l { border-right: 0; }
.c-case.flip .c-case-r { border-right: 1px solid var(--line); }
@media (min-width: 981px) { .c-case.flip .c-case-l { order: 2; } .c-case.flip .c-case-r { order: 1; } }
.c-case-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.c-status { font-family: "IBM Plex Mono",monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 9px; }
.c-status::before { content: ""; width: 7px; height: 7px; background: var(--blue); flex: none; }
.c-case-l .wt { display: flex; gap: 8px; }
.c-case-l :is(h2,h3) { font-size: 32px; margin-top: 20px; letter-spacing: -.025em; }
.c-case-l .ws { margin-top: 16px; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; max-width: 44ch; }
.c-case-l .c-wtags { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.c-case-r { padding: var(--pad-x); background: var(--bg); display: flex; align-items: center; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 40px 40px; }

/* manifest spec visual */
.c-manifest { width: 100%; background: var(--paper); border: 1px solid var(--ink); }
.c-manifest-h { padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: "IBM Plex Mono",monospace; font-size: 12.5px; letter-spacing: .04em; display: flex; align-items: center; justify-content: space-between; }
.c-manifest-h .tr { color: var(--blue); }
.c-manifest-b { padding: 4px 18px 18px; }
.c-mrow { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.c-mrow .mn { font-family: "Space Grotesk",sans-serif; font-weight: 600; font-size: 30px; color: var(--blue); letter-spacing: -.02em; min-width: 2.5ch; }
.c-mrow .mt { font-family: "IBM Plex Mono",monospace; font-size: 12.5px; color: var(--ink-2); letter-spacing: .02em; }
.c-mstack { padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.c-mstack span { font-family: "IBM Plex Mono",monospace; font-size: 12px; padding: 5px 11px; border: 1px solid var(--line); color: var(--ink-2); letter-spacing: .02em; }

/* contact CTA band (previews + page bottoms) */
.c-cta-band { padding: 64px var(--pad-x); max-width: 760px; }
.c-cta-band h2 { font-family: "Space Grotesk",sans-serif; font-weight: 600; font-size: 42px; margin-top: 16px; letter-spacing: -.03em; line-height: 1.05; }
.c-cta-band h2 .ac { color: var(--blue); }
.c-cta-intro.big { margin-top: 0; font-size: 18px; max-width: 46ch; }
.c-cta.as-page .c-cta-l { display: flex; flex-direction: column; justify-content: center; }
.fdot2 { width: 3px; height: 3px; background: #8A8C94; border-radius: 50%; }

/* trust indicators — engineering stack */
.c-trust { border-bottom: 1px solid var(--line); }
.c-trust-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--pad-x); border-bottom: 1px solid var(--line-2); }
.c-trust-head .c-lbl, .c-trust-head .sh-r { white-space: nowrap; }
.c-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.c-trust-cell { padding: 20px 28px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; transition: background .18s ease; }
.c-trust-cell:nth-child(4n) { border-right: 0; }
.c-trust-cell:nth-child(n+5) { border-bottom: 0; }
.c-trust-cell:hover { background: var(--paper); }
.c-trust-cell .tc-name { font-family: "Space Grotesk",sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -.015em; color: var(--ink); }
.c-trust-cell .tc-cat { font-family: "IBM Plex Mono",monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-trust-cell:hover .tc-name { color: var(--blue); }
