/* ============================================================
   MSoftware — Editorial & engineered.
   Warm paper, near-black ink, one vermilion signal accent.
   Type-led, ruled, numbered. The site is the proof of maatwerk.
   ============================================================ */

@supports not (color: oklch(0 0 0)) {
    :root { color-scheme: light; }
}

:root {
    color-scheme: light;

    /* Surfaces — warm bone paper */
    --paper:     oklch(0.975 0.008 75);
    --paper-2:   oklch(0.955 0.012 72);
    --card:      oklch(0.995 0.004 75);

    /* Ink — warm near-black */
    --ink:       oklch(0.205 0.014 60);
    --ink-2:     oklch(0.420 0.014 60);
    --ink-3:     oklch(0.520 0.014 62);

    /* Rules */
    --rule:      oklch(0.880 0.010 70);
    --rule-2:    oklch(0.780 0.014 68);

    /* Accent — electric magenta (#d000cf) */
    --accent:      oklch(0.600 0.276 329);
    --accent-deep: oklch(0.470 0.235 329);
    --accent-tint: oklch(0.950 0.050 329);
    /* small accent text (numerals/labels): deep on paper, light on ink — both AA */
    --accent-num:  var(--accent-deep);

    /* Glass material — frosted warm-white, light-theme safe (high opacity) */
    --glass-bg:  oklch(0.992 0.006 75 / 0.66);
    --glass-brd: oklch(1 0 0 / 0.6);
    --glass-sh:  0 22px 48px -26px oklch(0.42 0.05 60 / 0.5);

    /* Ink-drenched sections */
    --ink-bg:    oklch(0.205 0.016 60);
    --ink-bg-2:  oklch(0.255 0.016 62);
    --on-ink:    oklch(0.955 0.010 75);
    --on-ink-2:  oklch(0.760 0.012 70);
    --rule-ink:  oklch(0.340 0.014 62);

    /* States */
    --ok:        oklch(0.520 0.130 160);
    --warn:      oklch(0.560 0.130 70);
    --danger:    oklch(0.545 0.200 25);

    /* Type */
    --sans:    'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --display: 'Clash Display', 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono:    ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

    /* Metrics */
    --maxw: 1240px;
    --gutter: clamp(1.25rem, 4.5vw, 3rem);
    --nav-h: 72px;

    /* Easing */
    --e-out: cubic-bezier(0.16, 1, 0.3, 1);
    --e-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    overflow-x: clip; /* clip (not hidden): prevents h-scroll without breaking position:sticky */
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.62;
    color: var(--ink-2);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    font-feature-settings: 'ss01', 'ss03', 'cv11';
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--e-out); }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--display);
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}
/* Headings get programmatic focus (Blazor a11y) — no visible ring */
h1:focus, h1:focus-visible, h2:focus, h2:focus-visible { outline: none; }

.tabular { font-variant-numeric: tabular-nums; }
.mono {
    font-family: var(--mono);
    font-feature-settings: normal;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: clamp(4.5rem, 10vw, 8.5rem);
    position: relative;
}
.section--alt { background: var(--paper-2); }

/* Ink-drenched section */
.section--ink {
    background: var(--ink-bg);
    color: var(--on-ink-2);
    --accent-num: oklch(0.760 0.180 329);
    position: relative;
    isolation: isolate;
}
.section--ink .wrap { position: relative; z-index: 1; }
/* glow clipped by its own wrapper so it never blocks position:sticky inside the section */
.ink-glow-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
/* magenta glow — reads as a true glow on near-black */
.ink-glow {
    position: absolute;
    z-index: 0;
    left: -12vw; bottom: -22vw;
    width: 46vw; height: 46vw;
    max-width: 720px; max-height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.620 0.270 329 / 0.24), transparent 70%);
    filter: blur(54px);
    pointer-events: none;
    animation: drift2 30s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes drift2 { to { transform: translate(6vw, -5vh) scale(1.16); } }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-ink); }

/* ============================================================
   Index header — the signature motif: [01] LABEL ─────────
   ============================================================ */
.idx {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.idx__no {
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-num);
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.idx__label {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    flex-shrink: 0;
}
.section--ink .idx__label { color: var(--on-ink-2); }
.idx__rule {
    flex: 1;
    height: 1px;
    background: var(--rule-2);
    min-width: 2rem;
}
.section--ink .idx__rule { background: var(--rule-ink); }

/* Section title + lead */
.h-sect {
    font-size: clamp(2rem, 5vw, 3.5rem);
    max-width: 18ch;
    letter-spacing: -0.025em;
    line-height: 1.02;
}
.h-sect em { font-style: normal; color: var(--accent); }

.lead {
    margin-top: 1.5rem;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 56ch;
}
.section--ink .lead { color: var(--on-ink-2); }

/* ============================================================
   Buttons — ink primary, ruled secondary
   ============================================================ */
.btn {
    --bg: transparent;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.5rem;
    border: 1px solid transparent;
    background-color: var(--bg);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    border-radius: 2px;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s var(--e-out), background-color 0.2s var(--e-out),
                color 0.2s var(--e-out), border-color 0.2s var(--e-out),
                background-position 0.7s var(--e-out);
    will-change: transform;
}
.btn svg { width: 1em; height: 1em; transition: transform 0.25s var(--e-out); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--ink {
    background-color: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    /* shine sweep lives in the background layer, behind the text */
    background-image: linear-gradient(100deg, transparent 40%, oklch(1 0 0 / 0.22) 50%, transparent 60%);
    background-size: 220% 100%;
    background-position: 125% 0;
    background-repeat: no-repeat;
}
.btn--ink:hover:not(:disabled) {
    background-color: var(--accent-deep);
    border-color: var(--accent-deep);
    background-position: -25% 0;
}
.btn--ink:hover:not(:disabled) svg { transform: translateX(4px); }

.btn--line {
    background: transparent;
    color: var(--ink);
    border-color: var(--rule-2);
}
.btn--line:hover:not(:disabled) { border-color: var(--ink); }

.section--ink .btn--line { color: var(--on-ink); border-color: var(--rule-ink); }
.section--ink .btn--line:hover:not(:disabled) { border-color: var(--on-ink); }
.section--ink .btn--ink { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.9rem; }

/* Text link with animated underline */
.link {
    color: var(--ink);
    font-weight: 600;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: background-size 0.3s var(--e-out);
}
.link:hover { background-size: 100% 2px; }
.link::after { content: ' →'; color: var(--accent-deep); }

/* ============================================================
   Site navigation
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--e-out), border-color 0.3s var(--e-out);
}
.nav.is-scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(165%);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    border-bottom-color: var(--glass-brd);
    box-shadow: 0 10px 28px -20px oklch(0.42 0.05 60 / 0.55), inset 0 1px 0 oklch(1 0 0 / 0.6);
}
.nav__inner {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
}
.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1;
}
.nav__brand .ms-logo { width: 30px; height: 30px; color: var(--accent); }

.nav__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0; padding: 0;
}
.nav__links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-2);
    position: relative;
    padding: 0.3rem 0;
}
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    transition: right 0.3s var(--e-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__cta { justify-self: end; display: inline-flex; align-items: center; gap: 0.5rem; }

.nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--rule-2);
    border-radius: 2px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--ink);
}

@media (max-width: 880px) {
    .nav__inner { display: flex; justify-content: space-between; }
    .nav__links { display: none; }
    .nav__cta .btn--ink { display: none; }
    .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; }
}

/* ============================================================
   Wordmark + logo
   ============================================================ */
.wordmark {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-size: 2.15rem;
    line-height: 1;
}
.wordmark__rest { font-weight: 500; opacity: 0.92; }
.ms-logo--mono { color: currentColor; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    isolation: isolate;
    margin-top: calc(-1 * var(--nav-h));
    padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem));
    padding-bottom: clamp(3.5rem, 8vw, 6rem);
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
/* blueprint grid, fading toward the top-right */
.hero__bg::before {
    content: "";
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(var(--rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(125% 95% at 78% 6%, #000 0%, transparent 62%);
            mask-image: radial-gradient(125% 95% at 78% 6%, #000 0%, transparent 62%);
}
/* soft magenta glow, slowly drifting */
.hero__bg::after {
    content: "";
    position: absolute;
    top: -16vw; right: -8vw;
    width: 52vw; height: 52vw;
    max-width: 760px; max-height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.600 0.276 329 / 0.18), transparent 70%);
    filter: blur(46px);
    animation: drift 26s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes drift { to { transform: translate(-5vw, 5vh) scale(1.14); } }
/* second aurora orb — cooler magenta, drifts the other way for depth */
.hero__aurora {
    position: absolute;
    bottom: -18vw; left: -8vw;
    width: 44vw; height: 44vw;
    max-width: 620px; max-height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.620 0.230 312 / 0.16), transparent 70%);
    filter: blur(60px);
    animation: drift 32s ease-in-out infinite alternate-reverse;
    will-change: transform;
}
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}
.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-2);
    margin-bottom: 1.75rem;
    padding: 0.5rem 0.95rem 0.5rem 0.85rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
            backdrop-filter: blur(10px) saturate(150%);
    border-radius: 999px;
    box-shadow: 0 6px 16px -10px oklch(0.45 0.05 60 / 0.4), inset 0 1px 0 oklch(1 0 0 / 0.7);
}
.hero__kicker::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: pulse-dot 2.6s var(--e-out) infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 oklch(0.600 0.276 329 / 0.55); }
    70%      { box-shadow: 0 0 0 7px oklch(0.600 0.276 329 / 0); }
}
.hero__title {
    font-size: clamp(2.4rem, 4.9vw, 4.35rem);
    line-height: 0.96;
    letter-spacing: -0.042em;
    font-weight: 700;
    color: var(--ink);
    max-width: 20ch;
    hyphens: auto;
}
.hero__title .accent {
    position: relative;
    color: var(--accent);
    background: linear-gradient(100deg, var(--accent-deep) 0%, var(--accent) 35%, oklch(0.620 0.230 312) 65%, var(--accent) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: accent-sheen 7s ease-in-out infinite;
}
@keyframes accent-sheen {
    0%, 100% { background-position: 0% 0; }
    50%      { background-position: 100% 0; }
}
/* reveal target — block so long words wrap instead of clipping */
.hero__line { display: block; }
.hero__line > * { display: block; }
.hero__lead {
    margin-top: 1.85rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 46ch;
}
.hero__actions {
    margin-top: 2.25rem;
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero proof band — frosted glass panel */
.hero__proof {
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
            backdrop-filter: blur(14px) saturate(150%);
    border-radius: 16px;
    box-shadow: var(--glass-sh), inset 0 1px 0 oklch(1 0 0 / 0.7);
    overflow: hidden;
}
.proof {
    padding: clamp(1.5rem, 2.4vw, 2rem);
    border-left: 1px solid var(--rule);
}
.proof:first-child { border-left: 0; }
.proof__n {
    font-family: var(--display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
}
.proof__n .u { color: var(--accent); }
.proof__l {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: var(--ink-3);
    line-height: 1.45;
    max-width: 24ch;
}

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { order: -1; }
}
@media (max-width: 520px) {
    .hero__proof { grid-template-columns: 1fr; }
    .proof { padding: 1.4rem 1.5rem; border-left: 0; border-bottom: 1px solid var(--rule); }
    .proof:last-child { border-bottom: 0; }
    .proof__l { max-width: none; }
}

/* ============================================================
   Hero showcase — framed browser, light + accent
   ============================================================ */
.hero__visual { position: relative; }
.showcase {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    aspect-ratio: 5 / 4;
    background: var(--card);
    border: 1px solid var(--rule-2);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 0 var(--rule), 24px 24px 0 -1px var(--paper-2),
                24px 24px 0 0 var(--rule);
}
.showcase__chrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.9rem;
    background: var(--paper-2);
    border-bottom: 1px solid var(--rule);
    position: relative;
    z-index: 2;
}
.showcase__dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.showcase__dot--r { background: var(--accent); }
.showcase__dot--y { background: var(--rule-2); }
.showcase__dot--g { background: var(--rule-2); }
.showcase__url {
    margin-left: 0.6rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--ink-3);
}

.showcase__stage { position: relative; flex: 1; width: 100%; height: calc(100% - 2.6rem); }
.showcase__screen {
    position: absolute;
    inset: 0;
    padding: 1.2rem 1.35rem 1.35rem calc(40px + 1.15rem);
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
/* app-shell rail */
.showcase__rail {
    position: absolute; left: 0; top: 0; bottom: 0; width: 40px; z-index: 1;
    background: var(--paper-2); border-right: 1px solid var(--rule);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.8rem 0;
}
.rail__logo { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); }
.rail__dot { width: 15px; height: 15px; border-radius: 5px; background: var(--rule-2); }
.rail__dot.is-on { background: var(--ink); }
/* cycle mode (hero / product): auto-rotate */
.showcase--cycle .showcase__screen { animation: showcase-cycle 25s ease-in-out infinite; }
.showcase--cycle .showcase__screen:nth-child(1) { animation-delay: 0s; }
.showcase--cycle .showcase__screen:nth-child(2) { animation-delay: 5s; }
.showcase--cycle .showcase__screen:nth-child(3) { animation-delay: 10s; }
.showcase--cycle .showcase__screen:nth-child(4) { animation-delay: 15s; }
.showcase--cycle .showcase__screen:nth-child(5) { animation-delay: 20s; }
/* stepped mode (meescroller): JS toggles .is-active */
.showcase--stepped .showcase__screen { transition: opacity 0.45s var(--e-out); }
.showcase--stepped .showcase__screen.is-active { opacity: 1; }

@keyframes showcase-cycle {
    0%    { opacity: 0; transform: translateY(8px); }
    2.4%  { opacity: 1; transform: translateY(0); }
    17.6% { opacity: 1; transform: translateY(0); }
    20%   { opacity: 0; transform: translateY(-6px); }
    100%  { opacity: 0; }
}

.screen__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; }
.screen__eyebrow {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.3rem;
}
.screen__title { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.screen__pill {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    border: 1px solid var(--rule-2);
    color: var(--ink-2);
}
.screen__pill--live { color: var(--accent); border-color: oklch(0.600 0.276 329 / 0.4); }
.screen__pill--live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.screen__pill--ai { color: var(--accent); border-color: oklch(0.600 0.276 329 / 0.4); }

.screen__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.kpi { border: 1px solid var(--rule); border-radius: 3px; padding: 0.55rem 0.6rem; }
.kpi__value { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1; }
.kpi__label { font-size: 0.62rem; color: var(--ink-3); margin-top: 0.3rem; }
.screen__chart { border: 1px solid var(--rule); border-radius: 3px; padding: 0.65rem; flex: 1; min-height: 0; }
.screen__chart svg { width: 100%; height: 100%; }

.screen__chips { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.chip { font-size: 0.64rem; padding: 0.22rem 0.55rem; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); font-family: var(--mono); }
.chip--on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.screen__table { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; overflow: hidden; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 0.6rem; align-items: center; padding: 0.45rem 0.55rem; border: 1px solid var(--rule); border-radius: 3px; }
.row__id { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-3); }
.row__name { font-size: 0.76rem; color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__status { font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.2rem 0.45rem; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--ink-2); white-space: nowrap; }
.row__status--ok { color: var(--ok); border-color: oklch(0.520 0.130 160 / 0.4); }
.row__status--warn { color: var(--warn); border-color: oklch(0.560 0.130 70 / 0.45); }
.row__status--accent { color: var(--accent); border-color: oklch(0.600 0.276 329 / 0.4); }
.row__status--neutral { color: var(--ink-3); }

.screen__flow { flex: 1; min-height: 0; border: 1px solid var(--rule); border-radius: 3px; padding: 0.5rem; display: flex; align-items: center; }
.screen__flow svg { width: 100%; height: 100%; }
.screen__meta { display: flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.62rem; color: var(--ink-3); }
.dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--rule-2); display: inline-block; }

.screen__split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.6rem; align-items: stretch; }
.screen__side { border: 1px solid var(--rule); border-radius: 3px; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; position: relative; overflow: hidden; }
.screen__side--old { opacity: 0.55; }
.screen__side-label { position: absolute; bottom: 0.4rem; left: 0.6rem; font-family: var(--mono); font-size: 0.55rem; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.codeline { height: 5px; background: var(--rule-2); border-radius: 2px; }
.codeline.w-95 { width: 95%; } .codeline.w-72 { width: 72%; } .codeline.w-88 { width: 88%; }
.codeline.w-55 { width: 55%; } .codeline.w-80 { width: 80%; } .codeline.w-66 { width: 66%; } .codeline.w-90 { width: 90%; }
.screen__split-arrow { align-self: center; color: var(--accent); }
.block { border-radius: 3px; background: var(--paper-2); }
.block--bar { height: 7px; background: var(--rule); overflow: hidden; }
.block--bar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.block--card { height: 28px; }
.block--row { height: 8px; }
.block--row-sm { width: 60%; }
.block--tile { height: 26px; }

/* depth + detail (lifts the flat mockups) */
.kpi, .screen__chart, .row, .screen__flow, .screen__side { background: var(--paper); box-shadow: 0 1px 2px oklch(0.45 0.03 60 / 0.07); }
.kpi__value { display: inline-flex; align-items: baseline; gap: 0.18rem; }
.kpi__trend { color: var(--ok); font-size: 0.7em; font-style: normal; }
.row__av { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-tint); border: 1px solid oklch(0.600 0.276 329 / 0.3); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.row__av::after { content: attr(data-i); font-size: 0.5rem; font-weight: 700; color: var(--accent-deep); }
.screen__wire { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.5rem; position: relative; padding: 0.2rem 0; }
.viz-cursor { position: absolute; right: 20%; bottom: 16%; width: 0; height: 0; border-left: 10px solid var(--ink); border-bottom: 10px solid transparent; transform: rotate(-12deg); filter: drop-shadow(0 1px 1px oklch(0.4 0.04 60 / 0.3)); }

@media (max-width: 900px) { .showcase { max-width: 100%; aspect-ratio: 16/11; } }
@media (max-width: 520px) { .showcase { aspect-ratio: 4/3; box-shadow: 0 1px 0 var(--rule); } }

/* ============================================================
   Hero stage — showcase + floating glass cards
   ============================================================ */
.hero__stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    isolation: isolate;
}
/* soft accent glow plate lifting the showcase off the paper */
.hero__stage::before {
    content: '';
    position: absolute;
    inset: -10% -8%;
    z-index: 0;
    background: radial-gradient(58% 58% at 52% 42%, oklch(0.620 0.276 329 / 0.20), transparent 70%);
    filter: blur(22px);
    pointer-events: none;
}
.hero__stage .showcase { position: relative; z-index: 1; }

.floatcard {
    position: absolute;
    z-index: 3;
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
            backdrop-filter: blur(16px) saturate(170%);
    border-radius: 14px;
    box-shadow: var(--glass-sh), inset 0 1px 0 oklch(1 0 0 / 0.7);
    overflow: hidden;
    will-change: transform;
}
/* stacked content faces — cross-fade in lockstep with the showcase screens */
.floatface {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.85rem;
    opacity: 0;
    animation: showcase-cycle 25s ease-in-out infinite;
}
/* delays match the showcase screens — note the rail offsets them: AI (last) shows first at 0s */
.floatface:nth-child(1) { animation-delay: 5s; }   /* Dashboard */
.floatface:nth-child(2) { animation-delay: 10s; }  /* Klantportaal */
.floatface:nth-child(3) { animation-delay: 15s; }  /* Integratie */
.floatface:nth-child(4) { animation-delay: 20s; }  /* Modernisering */
.floatface:nth-child(5) { animation-delay: 0s; }   /* AI */
.floatface--metric { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.floatcard__body { display: flex; flex-direction: column; min-width: 0; }
.floatcard__label {
    font-family: var(--mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-3);
}
.floatcard__value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-top: 0.18rem;
    white-space: nowrap;
}
.floatcard__value--lg {
    font-family: var(--display);
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0.15rem;
}
.floatcard__icon {
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--accent-tint);
    border: 1px solid oklch(0.600 0.276 329 / 0.3);
    color: var(--accent-deep);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.floatcard__icon svg { width: 16px; height: 16px; }

.floatcard--a { top: 7%;    left: -8%;  width: 13.5rem; height: 3.65rem; animation: floaty 6s ease-in-out infinite; }
.floatcard--b { bottom: 7%; right: -7%; width: 8.5rem;  height: 4.15rem; animation: floaty 7.5s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
/* GSAP owns the float when active (entrance + perpetual y + pointer parallax) */
.gsap-active .floatcard { animation: none !important; }

/* keep cards inside the frame on tablet, drop them on small phones */
@media (max-width: 900px) {
    .hero__stage { max-width: 520px; }
    .floatcard--a { left: 1%; }
    .floatcard--b { right: 1%; }
}
@media (max-width: 600px) { .floatcard { display: none; } }

/* ============================================================
   Services — editorial ledger (no cards)
   ============================================================ */
.ledger { border-top: 1px solid var(--ink); }
.ledger__row {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 3rem);
    padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
    border-bottom: 1px solid var(--rule);
    position: relative;
}
.ledger__no {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent-num);
    font-weight: 500;
    padding-top: 0.5rem;
}
.ledger__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
@media (min-width: 860px) {
    .ledger__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
}
.ledger__head {
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.05;
    transition: transform 0.35s var(--e-out);
}
.ledger__row:hover .ledger__head { transform: translateX(8px); color: var(--accent); }
.ledger__text { color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; }
.ledger__fit { margin-top: 0.9rem; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); line-height: 1.5; }
.ledger__fit b { color: var(--ink); font-weight: 500; }

/* ============================================================
   Use-cases — Was → Nu transformations
   ============================================================ */
.cases {
    margin-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--rule);
}
.case {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem 2rem;
    padding-block: 1.4rem;
    border-bottom: 1px solid var(--rule);
    align-items: baseline;
}
@media (min-width: 760px) {
    .case { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); }
}
.case__title {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.case__title .tag {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    border: 1px solid oklch(0.600 0.276 329 / 0.45);
    border-radius: 999px;
    padding: 0.1rem 0.4rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}
.case__shift {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
    font-size: 1.02rem;
    line-height: 1.4;
}
.case__from { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--rule-2); }
.case__arrow { color: var(--accent-deep); font-weight: 700; flex-shrink: 0; transition: transform 0.3s var(--e-out); }
.case__to {
    color: var(--ink);
    font-weight: 600;
    background-image: linear-gradient(var(--accent-tint), var(--accent-tint));
    background-size: 0% 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
    box-decoration-break: clone;
    transition: background-size 0.4s var(--e-out);
}
.case:hover .case__arrow { transform: translateX(5px); }
.case:hover .case__to { background-size: 100% 100%; }

.cases__cta {
    margin-top: clamp(2rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 1.1rem;
    color: var(--ink-2);
    max-width: 60ch;
}

/* ============================================================
   Process — ink-drenched numbered timeline
   ============================================================ */
.steps {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.steps__line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--rule-ink);
}
.steps__fill {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
}
.step {
    padding: 2rem clamp(1rem, 2vw, 1.75rem) 0 0;
    position: relative;
}
.step__no {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent-num);
    letter-spacing: 0.06em;
}
.step h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    margin: 0.9rem 0 0.7rem;
    color: var(--on-ink);
}
.step p { font-size: 0.98rem; line-height: 1.55; color: var(--on-ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps__line, .steps__fill { display: none; } .step { padding-right: 0; border-top: 1px solid var(--rule-ink); } }

/* ============================================================
   About — statement + commitments ledger
   ============================================================ */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.creed {
    font-family: var(--display);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 16ch;
}
.creed em { font-style: normal; color: var(--accent); }
@media (min-width: 900px) { .creed { position: sticky; top: calc(var(--nav-h) + 2.5rem); } }

.commit { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.commit li {
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
}
.commit__no { font-family: var(--mono); font-size: 0.78rem; color: var(--accent-num); padding-top: 0.2rem; }
.commit strong { display: block; font-size: 1.15rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; font-family: var(--display); margin-bottom: 0.35rem; }
.commit span { color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   Tech stack — engineered ticker
   ============================================================ */
.ticker {
    margin-top: 1.75rem;
    border-block: 1px solid var(--ink);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__row { overflow: hidden; }
.ticker__row + .ticker__row { border-top: 1px solid var(--rule); }
.ticker__track { display: flex; width: max-content; }
.ticker__track--l { animation: ticker-l 38s linear infinite; }
.ticker__track--r { animation: ticker-r 52s linear infinite; }
@keyframes ticker-l { from { transform: translateX(0); }      to { transform: translateX(-20%); } }
@keyframes ticker-r { from { transform: translateX(-20%); }   to { transform: translateX(0); } }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.ticker__group li {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-right: 2rem;
    font-family: var(--mono);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: color 0.2s var(--e-out);
}
.ticker__group li::before { content: '/'; color: var(--accent); }
.ticker__group li:hover { color: var(--accent); }
.ticker__row--muted .ticker__group li { color: var(--ink-3); font-size: clamp(1rem, 1.7vw, 1.35rem); }
.ticker__row--muted .ticker__group li::before { color: var(--rule-2); }
.ticker__row--muted .ticker__group li:hover { color: var(--ink); }

/* ============================================================
   FAQ — ruled accordion
   ============================================================ */
.faq { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.25;
    transition: color 0.2s var(--e-out);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: '';
    flex-shrink: 0;
    width: 16px; height: 16px;
    background:
        linear-gradient(var(--accent), var(--accent)) center / 16px 2px no-repeat,
        linear-gradient(var(--accent), var(--accent)) center / 2px 16px no-repeat;
    transition: transform 0.3s var(--e-out);
}
.faq__item[open] .faq__q::after { transform: rotate(135deg); }
.faq__q:hover { color: var(--accent); }
.faq__a { padding: 0 0 1.5rem; color: var(--ink-2); line-height: 1.62; max-width: 70ch; }

/* ============================================================
   Contact — editorial finale
   ============================================================ */
.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.contact__statement {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--ink);
    max-width: 12ch;
    margin-bottom: 1.5rem;
}
.contact__statement em { font-style: normal; color: var(--accent); }
.contact__intro { color: var(--ink-2); max-width: 38ch; margin-bottom: 2.5rem; font-size: 1.05rem; }

.contact__info { border-top: 1px solid var(--rule); }
.contact__info > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
.contact__info dt { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0; }
.contact__info dd { margin: 0; color: var(--ink); font-size: 0.98rem; font-variant-numeric: tabular-nums; }
.contact__info dd a { border-bottom: 1px solid var(--rule-2); padding-bottom: 1px; transition: border-color 0.2s; }
.contact__info dd a:hover { border-bottom-color: var(--accent); color: var(--accent-deep); }

.contact__tape {
    margin-top: 2rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--ink-3);
    text-transform: uppercase;
    line-height: 1.8;
}

/* Form */
.contact__form {
    background: var(--card);
    border: 1px solid var(--rule-2);
    border-radius: 4px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.field { margin-bottom: 1.2rem; position: relative; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field--row { grid-template-columns: 1fr; } }
.field label, .field .label {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: var(--ink-3);
    margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--rule-2);
    background: var(--paper);
    color: var(--ink);
    font-size: 0.98rem;
    border-radius: 3px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px oklch(0.600 0.276 329 / 0.16);
}
.field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
        linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
    background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 2rem;
}
.field select option { background: var(--card); color: var(--ink); }
.field .validation-message { color: var(--danger); font-size: 0.8rem; margin-top: 0.35rem; display: block; }
.field--honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-result {
    margin-top: 1.25rem;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 3px;
    background: var(--accent-tint);
    border: 1px solid oklch(0.600 0.276 329 / 0.3);
    color: var(--ink);
}
.form-result--error { background: oklch(0.955 0.045 25); border-color: oklch(0.545 0.200 25 / 0.35); }

.spinner {
    width: 14px; height: 14px;
    border: 2px solid oklch(1 0 0 / 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
    border-top: 1px solid var(--ink);
    padding-block: 2.5rem;
    font-size: 0.85rem;
    color: var(--ink-3);
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer__brand .ms-logo { width: 20px; height: 20px; color: var(--accent); }
.footer__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.footer__meta a:hover { color: var(--accent); }

[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* Fine paper grain — tactile texture, very subtle */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Scroll reveal + motion handoff
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--e-out), transform 0.7s var(--e-out);
    transition-delay: calc(var(--reveal-i, 0) * 60ms);
}
[data-reveal].is-in-view { opacity: 1; transform: none; }

.gsap-active [data-reveal] { transition: none; }
.gsap-active .hero__title .hero__line > * { will-change: transform; }

/* Scroll-progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress__bar { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--accent); }

/* ============================================================
   Blazor framework overrides
   ============================================================ */
#blazor-error-ui {
    background: var(--ink);
    color: var(--on-ink);
    border-top: 2px solid var(--accent);
    bottom: 0; box-sizing: border-box; display: none;
    left: 0; padding: 0.85rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .reload { color: var(--accent); margin-left: 0.5rem; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
.blazor-error-boundary { background: oklch(0.955 0.045 25); padding: 1rem 1.25rem; color: var(--ink); border-radius: 3px; }
.blazor-error-boundary::after { content: "Er ging iets mis bij het laden van dit onderdeel."; }

/* ============================================================
   Werkwijze — meescroller (sticky visual + stepped content)
   ============================================================ */
.flow { margin-top: clamp(2.5rem, 5vw, 4rem); position: relative; }
.flow__counter {
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--on-ink-2);
    margin-bottom: 1.1rem;
    display: flex; gap: 0.45rem; align-items: baseline;
}
.flow__counter-now { color: var(--accent-num); font-size: 1.15rem; }
.flow__counter-sep, .flow__counter-total { color: var(--rule-ink); }
.fstep h3 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); margin: 0.7rem 0 0.7rem; color: var(--on-ink); }
.fstep p { font-size: 1.02rem; line-height: 1.6; color: var(--on-ink-2); max-width: 44ch; }
.flow__sticky .showcase { box-shadow: 0 1px 0 var(--rule), 0 34px 70px -34px oklch(0.600 0.276 329 / 0.55); }

@media (min-width: 900px) {
    .flow { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
    .flow__sticky { position: sticky; top: calc(var(--nav-h) + 3.5rem); }
    .fstep { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.38; transition: opacity 0.4s var(--e-out); }
    .fstep:first-child { min-height: 58vh; }
    .fstep:last-child { min-height: 62vh; }
    .fstep.is-active { opacity: 1; }
}
@media (max-width: 899px) {
    .flow__visual { display: none; }
    .fstep { padding: 1.6rem 0; border-top: 1px solid var(--rule-ink); }
}

/* ============================================================
   Use-cases — color-blocked panels
   ============================================================ */
.blocks { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 880px) { .blocks { grid-template-columns: 1fr; } }
.block-card {
    border-radius: 5px;
    padding: clamp(1.5rem, 2.4vw, 2.1rem);
    display: flex; flex-direction: column;
    min-height: 340px;
}
.block-card--magenta { background: var(--accent-deep); color: #fff; }
.block-card--ink { background: var(--ink-bg); color: var(--on-ink); }
.block-card--paper { background: var(--card); color: var(--ink); border: 1px solid var(--rule-2); }
.block-card__tag { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.78; }
.block-card__title { font-family: var(--display); font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.04; letter-spacing: -0.02em; margin: 1.5rem 0 1.1rem; color: inherit; }
.shifts { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; }
.shifts li { padding: 0.7rem 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.55rem; font-size: 0.95rem; line-height: 1.35; border-top: 1px solid; }
.block-card--magenta .shifts li, .block-card--ink .shifts li { border-color: oklch(1 0 0 / 0.18); }
.block-card--paper .shifts li { border-color: var(--rule); }
.shifts li:first-child { border-top: 0; }
.sh__from { opacity: 0.78; text-decoration: line-through; text-decoration-thickness: 1px; }
.sh__arrow { font-weight: 700; }
.block-card--paper .sh__arrow { color: var(--accent-deep); }
.sh__to { font-weight: 600; }

.hero__visual { position: relative; }

/* ============================================================
   Statement — editorial maatwerk pull-quote (type only)
   ============================================================ */
.stmt__kicker {
    display: inline-flex; align-items: center; gap: 0.7rem;
    font-family: var(--mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    margin-bottom: 1.75rem;
}
.stmt__kicker::before { content: ''; width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }
.stmt__lead {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2rem, 4.8vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ink);
    max-width: 22ch;
    text-wrap: balance;
}
.stmt__lead em { font-style: normal; color: var(--accent); }
.stmt__cta { margin-top: 2rem; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .showcase--stepped .showcase__screen { transition: none; }
    html { scroll-behavior: auto; }
    .ticker__track { animation: none !important; transform: none !important; }
    .ticker { -webkit-mask-image: none; mask-image: none; }
    .ticker__row { overflow-x: auto; }
    .ticker__group:not(:first-child) { display: none; }
    .hero__kicker::before { animation: none !important; }
    .hero__bg::after, .hero__aurora, .ink-glow { animation: none !important; }
    .floatcard { animation: none !important; }
    .floatface { animation: none !important; opacity: 0 !important; }
    .floatface:nth-child(1) { opacity: 1 !important; }
    .hero__title .accent { animation: none !important; background-position: 0 0 !important; }
    .scroll-progress { display: none; }
    .steps__fill { transform: scaleX(1) !important; }
    .showcase__screen { animation-duration: 0.01ms; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
