/* cwvermaak.tech — product catalogue for CW Vermaak Consulting.
   One stylesheet, no framework; the site is a handful of pages. */

:root {
    --ink: #101b2d;
    --ink-soft: #3d4a5e;
    --muted: #6b7788;
    --line: #dfe4ec;
    --bg: #ffffff;
    --bg-alt: #f6f8fb;
    --accent: #1f5fa8;
    --accent-dark: #16467c;
    --radius: 10px;
    --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--ink);
    color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---- top bar ---- */
.topbar { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 650; }
.brand-mark {
    display: inline-grid; place-items: center; width: 34px; height: 34px;
    background: var(--ink); color: #fff; border-radius: 8px;
    font-size: .85rem; letter-spacing: .04em; font-weight: 700;
}
.brand-text em { font-style: normal; color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.is-current { color: var(--accent); }

/* ---- hero / page heads ---- */
.hero { padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-head { padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--muted); font-weight: 600; margin-bottom: .75rem; }
.eyebrow a { color: var(--muted); text-decoration: none; }
.eyebrow a:hover { color: var(--accent); }
.lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 70ch; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.btn {
    display: inline-block; padding: .7rem 1.4rem; border-radius: var(--radius);
    background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
    border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--accent); }
.btn-quiet:hover { background: var(--bg-alt); color: var(--accent-dark); }

/* ---- bands and cards ---- */
.band { padding: 3rem 0; }
.band-alt { background: var(--bg-alt); }
.band-title { margin-bottom: 1.5rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .2rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card-tag { color: var(--accent); font-size: .9rem; font-weight: 500; margin-bottom: .6rem; }
.card-sum { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.card-foot { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin: .75rem 0 0; }
.card-link { font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace; font-size: .8rem; }

.pill {
    display: inline-block; padding: .18rem .6rem; border-radius: 999px;
    font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em;
    background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line);
}
.pill-live { background: #e8f5ec; color: #1d7a3e; border-color: #bfe3cb; }
.pill-mvp-running { background: #eef6ee; color: #3f7a4a; border-color: #cde3d2; }
.pill-flagship { background: #e9f0fa; color: var(--accent-dark); border-color: #c5d8ef; }
.pill-pro-bono { background: #fdf2e4; color: #9a6411; border-color: #f0ddbd; }

/* ---- product detail ---- */
.summary { font-size: 1.075rem; color: var(--ink-soft); }
.points { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.points li { margin-bottom: .5rem; color: var(--ink-soft); }
.sub { margin-top: 2rem; font-size: 1.1rem; }
.stack { font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace; font-size: .85rem; color: var(--muted); line-height: 1.8; }
.note { border-left: 3px solid var(--line); padding-left: 1rem; color: var(--muted); }
.back { margin-top: 2.5rem; }
.contact-line { font-size: 1.3rem; font-weight: 600; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 2.5rem 0; margin-top: 2rem; }
.footer-inner { display: grid; gap: 1rem; }
.footer-name { font-weight: 650; margin: 0; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--accent); }

@media (min-width: 720px) {
    .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
    .footer-inner .small { grid-column: 1 / -1; }
}

/* ---- interface mock-ups -------------------------------------------------
   Representative drawings, never screenshots. Built from App\Mockups and
   rendered by partials/mock.twig. See the header of Mockups.php for why
   real screenshots and the existing spec wireframes are both unusable. */

.shot-figure { margin: 0 0 1.5rem; }

.shot {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 27, 45, .05), 0 8px 24px rgba(16, 27, 45, .06);
    font-size: .78rem;
}

.shot-bar {
    display: flex; align-items: center; gap: .4rem;
    padding: .55rem .8rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.shot-dot { width: 9px; height: 9px; border-radius: 50%; background: #d4dae4; flex: none; }
.shot-title { margin-left: .5rem; color: var(--muted); font-weight: 600; font-size: .75rem; }

.shot-body { display: grid; grid-template-columns: 136px 1fr; min-height: 236px; }

.shot-nav {
    border-right: 1px solid var(--line);
    padding: .7rem .55rem;
    display: flex; flex-direction: column; gap: .15rem;
    background: #fcfdfe;
}
.shot-nav-item {
    padding: .34rem .5rem; border-radius: 6px;
    color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-nav-item.is-on { background: #e9f0fa; color: var(--accent-dark); font-weight: 600; }

.shot-main { padding: .8rem .9rem; display: flex; flex-direction: column; gap: .4rem; }

/* list */
.shot-head {
    display: flex; justify-content: space-between;
    text-transform: uppercase; letter-spacing: .07em;
    font-size: .64rem; color: var(--muted); font-weight: 650;
    padding-bottom: .35rem; border-bottom: 1px solid var(--line);
}
.shot-row {
    display: flex; align-items: center; gap: .5rem;
    padding: .45rem .1rem; border-bottom: 1px solid #f0f3f7;
}
.shot-row-label { flex: 1; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-row-meta { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.shot-tag {
    font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 650;
    padding: .1rem .4rem; border-radius: 999px;
    background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line);
    white-space: nowrap;
}
.shot-tag-encrypted, .shot-tag-approved, .shot-tag-mastered,
.shot-tag-resolved, .shot-tag-consent, .shot-tag-registered { background: #e8f5ec; color: #1d7a3e; border-color: #bfe3cb; }
.shot-tag-critical { background: #fdeaea; color: #a52222; border-color: #f2c4c4; }
.shot-tag-warning, .shot-tag-due { background: #fdf4e3; color: #96620f; border-color: #f0dcb5; }

/* board */
.shot-lane {
    font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 650;
    color: #96620f; background: #fdf4e3; border: 1px solid #f0dcb5;
    border-radius: 5px; padding: .15rem .45rem; align-self: flex-start;
}
.shot-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.shot-col { background: var(--bg-alt); border-radius: 7px; padding: .4rem; }
.shot-col-head {
    font-size: .64rem; font-weight: 650; color: var(--ink-soft);
    margin-bottom: .35rem; display: flex; align-items: center; gap: .25rem;
}
.shot-wip {
    font-size: .55rem; background: #fff; border: 1px solid var(--line);
    border-radius: 999px; padding: 0 .3rem; color: var(--muted);
}
.shot-card {
    background: #fff; border: 1px solid var(--line); border-radius: 5px;
    padding: .4rem; margin-bottom: .3rem;
    display: flex; flex-direction: column; gap: .22rem;
}
.shot-card span { height: 5px; border-radius: 3px; background: #e6eaf1; }
/* width comes from the inline style in mock.twig, per card. */

/* chart */
.shot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.shot-stat { background: var(--bg-alt); border-radius: 7px; padding: .5rem .6rem; }
.shot-stat-label { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.shot-stat-value { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.shot-bars { display: flex; align-items: flex-end; gap: .3rem; height: 112px; margin-top: auto; }
.shot-bar-col { flex: 1; background: linear-gradient(180deg, #4d87c7, #1f5fa8); border-radius: 3px 3px 0 0; min-height: 6px; }

/* split */
.shot-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: .6rem; height: 100%; }
.shot-split-left { display: flex; flex-direction: column; gap: .28rem; }
.shot-mini {
    background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px;
    padding: .35rem .5rem; color: var(--ink-soft); font-size: .72rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-split-right { background: var(--bg-alt); border-radius: 7px; padding: .6rem; }
.shot-cipher { display: flex; flex-direction: column; gap: .32rem; }
.shot-cipher span {
    height: 7px; border-radius: 3px;
    background: repeating-linear-gradient(90deg, #cfd7e3 0 7px, transparent 7px 11px);
}
.shot-cipher span:nth-child(3) { width: 72%; }
.shot-cipher span:nth-child(6) { width: 84%; }
.shot-score { display: flex; flex-direction: column; gap: .7rem; padding-top: .3rem; }
.shot-stave { height: 1px; background: var(--ink-soft); box-shadow: 0 4px 0 var(--ink-soft), 0 8px 0 var(--ink-soft), 0 12px 0 var(--ink-soft), 0 16px 0 var(--ink-soft); opacity: .35; }

/* tiles */
.shot-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; align-content: center; height: 100%; }
.shot-tile {
    border: 1px solid var(--line); border-radius: 7px; padding: .7rem .5rem;
    text-align: center; background: var(--bg-alt);
}
.shot-tile.is-on { border-color: var(--accent); background: #e9f0fa; box-shadow: 0 0 0 2px rgba(31, 95, 168, .12); }
.shot-tile-name { display: block; font-weight: 650; color: var(--ink); }
.shot-tile-os { display: block; font-size: .68rem; color: var(--muted); }

.shot-caption { margin-top: .6rem; font-size: .78rem; color: var(--muted); }

@media (max-width: 560px) {
    .shot-body { grid-template-columns: 1fr; min-height: 0; }
    .shot-nav { flex-direction: row; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line); }
    .shot-board { grid-template-columns: repeat(2, 1fr); }
    .shot-split { grid-template-columns: 1fr; }
}

/* Bar heights and card widths live here, not in a style attribute.
   Tina4 3.13 sends "style-src 'self' 'nonce-...'" with no 'unsafe-inline',
   so the browser silently drops every style="" attribute and the bars
   collapse to min-height. Confirmed in-browser on 2026-10-15: the inline
   height was present in the DOM and the computed height was still 6px,
   while the same value set through the CSSOM applied immediately. */
.shot-bars .shot-bar-col:nth-child(1)  { height: 38px; }
.shot-bars .shot-bar-col:nth-child(2)  { height: 52px; }
.shot-bars .shot-bar-col:nth-child(3)  { height: 44px; }
.shot-bars .shot-bar-col:nth-child(4)  { height: 61px; }
.shot-bars .shot-bar-col:nth-child(5)  { height: 73px; }
.shot-bars .shot-bar-col:nth-child(6)  { height: 58px; }
.shot-bars .shot-bar-col:nth-child(7)  { height: 80px; }
.shot-bars .shot-bar-col:nth-child(8)  { height: 66px; }
.shot-bars .shot-bar-col:nth-child(9)  { height: 71px; }
.shot-bars .shot-bar-col:nth-child(10) { height: 85px; }
.shot-bars .shot-bar-col:nth-child(11) { height: 62px; }
.shot-bars .shot-bar-col:nth-child(12) { height: 77px; }

.shot-card:nth-child(2n)   span:last-child { width: 56%; }
.shot-card:nth-child(2n+1) span:last-child { width: 72%; }
.shot-card:nth-child(3n)   span:last-child { width: 64%; }

/* ---- the code-wall hero ------------------------------------------------
   Recovered from the WordPress install that held this domain until
   2026-10-15 (wp-content/uploads/2026/01), where it was the landing page's
   background. Re-encoded from a 1,778 KB PNG to a 156 KB JPEG - it is a
   noisy near-photographic image and PNG was the wrong format for it.

   It is used on the hero and page heads only, never behind body copy: it is
   dark, busy and full of text of its own, and running it the length of a
   product page would make the real words harder to read. The gradient over
   it is not decoration either - it is what keeps the headline legible over
   the brighter patches of code. */

.hero,
.page-head {
    background-color: #0b1422;
    background-image:
        linear-gradient(180deg, rgba(8, 14, 24, .80) 0%, rgba(8, 14, 24, .93) 100%),
        url("/img/code-wall.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    color: #e8edf5;
}

.hero h1,
.page-head h1 { color: #ffffff; }

.hero .lede,
.page-head .lede { color: #c6d2e2; }

.hero .eyebrow,
.page-head .eyebrow { color: #8ba0ba; }

.page-head .eyebrow a { color: #a6bcd6; text-decoration: none; }
.page-head .eyebrow a:hover { color: #ffffff; text-decoration: underline; }

/* The quiet button was accent-on-white; on the dark band it needs its own
   treatment or it disappears. */
.hero .btn-quiet {
    color: #d7e5f7;
    border-color: rgba(255, 255, 255, .35);
    background: transparent;
}
.hero .btn-quiet:hover {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, .55);
}

/* Accent blue on near-black fails contrast; lift it on the dark band only. */
.page-head .card-link { color: #8ec0f0; }
.page-head .card-link:hover { color: #ffffff; }
