/* ==========================================================================
   Wateka — Landing page design system
   Direction: Modern executive / editorial ledger
   Layered on top of Bootstrap 5.3.8 (grid + a few utilities only)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — self-hosted variable, latin subset. No external requests.
   -------------------------------------------------------------------------- */

@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/urbanist-var.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/ibm-plex-sans-var.woff2') format('woff2-variations');
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   Colours are stored as raw HSL channels so opacity can be composed
   inline: hsl(var(--wk-gold) / .18)
   -------------------------------------------------------------------------- */

:root {
    /* Ink — the dark teal the page is built on */
    --wk-ink:            178 94% 10%;
    --wk-ink-deep:       178 94% 6%;
    --wk-ink-abyss:      178 94% 4%;

    /* Raised surfaces on ink */
    --wk-surface:        178 80% 13%;
    --wk-surface-2:      178 50% 16%;

    /* Brand */
    --wk-teal:           181 95% 33%;
    --wk-teal-deep:      179 71% 21%;
    /* Darker teal reserved for text on the light "paper" sections. The 33%
       teal only reaches 3.0:1 on #FAFAFA — fine for large headings, but it
       fails AA for body and small caps. 25% clears 4.5:1 on both paper and
       white. */
    --wk-teal-ink:       181 95% 25%;
    --wk-gold:            42 88% 82%;
    --wk-gold-deep:       38 80% 70%;

    /* Type */
    --wk-cream:           38 68% 93%;
    --wk-muted:          170 20% 55%;

    /* Lines */
    --wk-border:         178 40% 20%;
    --wk-border-soft:    178 40% 20%;

    /* Paper — the light section that breaks the dark */
    --wk-paper:            0 0% 98%;
    --wk-paper-card:       0 0% 100%;
    --wk-paper-border:   178 20% 88%;

    /* Typography */
    --wk-font-display: 'Urbanist', ui-sans-serif, system-ui, sans-serif;
    --wk-font-body: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;

    /* Elevation — a 3-step scale, not one generic shadow */
    --wk-rise-1: 0 1px 2px hsl(var(--wk-ink-abyss) / .28);
    --wk-rise-2: 0 12px 28px -14px hsl(var(--wk-ink-abyss) / .45);
    --wk-rise-3: 0 32px 70px -28px hsl(var(--wk-ink-abyss) / .60);
    --wk-hairline: inset 0 1px 0 0 hsl(var(--wk-gold) / .12);

    /* Motion */
    --wk-ease: cubic-bezier(.16, 1, .3, 1);
    --wk-fast: .22s;
    --wk-base: .42s;
    --wk-slow: .9s;

    /* Rhythm */
    --wk-gutter: 1.25rem;
    --wk-section-y: clamp(4.5rem, 9vw, 7.5rem);
    --wk-radius: 3px;   /* deliberately sharp — editorial, not bubbly */
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    /* offset for the sticky masthead when jumping to #anchors */
    scroll-padding-top: 6rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: hsl(var(--wk-ink));
    color: hsl(var(--wk-cream));
    font-family: var(--wk-font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--wk-font-display);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.022em;
    margin: 0;
    text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

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

/* Visible, high-contrast focus. Never removed. */
:focus-visible {
    outline: 2px solid hsl(var(--wk-gold));
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: hsl(var(--wk-gold) / .9);
    color: hsl(var(--wk-ink));
}

.wk-skip {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: hsl(var(--wk-gold));
    color: hsl(var(--wk-ink));
    font-weight: 600;
    transition: top var(--wk-fast) var(--wk-ease);
}
.wk-skip:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   4. Texture — the signature. An 88px ledger grid + film grain.
   Both are pure CSS: no image requests, no blurred blobs.
   -------------------------------------------------------------------------- */

.wk-grid-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, hsl(var(--wk-gold) / .055) 1px, transparent 1px),
        linear-gradient(to bottom, hsl(var(--wk-gold) / .055) 1px, transparent 1px);
    background-size: 88px 88px;
}

.wk-grid-texture--paper {
    background-image:
        linear-gradient(to right, hsl(var(--wk-ink) / .05) 1px, transparent 1px),
        linear-gradient(to bottom, hsl(var(--wk-ink) / .05) 1px, transparent 1px);
}

/* Fades the grid out toward the section edges so it never looks like a table */
.wk-grid-texture--fade {
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
}

.wk-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* A hairline gold rule — the ledger motif that ties sections together */
.wk-rule {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(
        to right,
        transparent,
        hsl(var(--wk-gold) / .28) 15%,
        hsl(var(--wk-gold) / .28) 85%,
        transparent
    );
}

/* --------------------------------------------------------------------------
   5. Layout — Bootstrap's container/grid, retuned to this page's rhythm
   -------------------------------------------------------------------------- */

/* Wider than Bootstrap's default so the editorial layout can breathe */
@media (min-width: 1200px) { .container { max-width: 1280px; } }
@media (min-width: 1400px) { .container { max-width: 1360px; } }

/* The ledger grid: a hairline rule between every cell, no doubled borders.
   Wrapper owns top + left; each column owns right + bottom. Works at any
   column count, so it survives every Bootstrap breakpoint change. */
.wk-grid-ledger {
    border-top: 1px solid hsl(var(--wk-border) / .6);
    border-left: 1px solid hsl(var(--wk-border) / .6);
    border-radius: var(--wk-radius);
    overflow: hidden;
}

.wk-grid-ledger > [class*='col-'] {
    border-right: 1px solid hsl(var(--wk-border) / .6);
    border-bottom: 1px solid hsl(var(--wk-border) / .6);
    display: flex;
    flex-direction: column;
}

.wk-grid-ledger--paper {
    border-top-color: hsl(var(--wk-paper-border));
    border-left-color: hsl(var(--wk-paper-border));
}

.wk-grid-ledger--paper > [class*='col-'] {
    border-right-color: hsl(var(--wk-paper-border));
    border-bottom-color: hsl(var(--wk-paper-border));
}

.wk-section {
    position: relative;
    overflow: hidden;
    padding-block: var(--wk-section-y);
}

.wk-section--paper {
    background-color: hsl(var(--wk-paper));
    color: hsl(var(--wk-ink));
}

.wk-section--paper h1,
.wk-section--paper h2,
.wk-section--paper h3 { color: hsl(var(--wk-ink)); }

/* --------------------------------------------------------------------------
   6. Section headers — numbered ledger tabs (01 / 02 / 03 …)
   -------------------------------------------------------------------------- */

.wk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    font-family: var(--wk-font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: hsl(var(--wk-gold));
}

.wk-section--paper .wk-eyebrow { color: hsl(var(--wk-teal-ink)); }

.wk-eyebrow__index {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    padding-right: .625rem;
    border-right: 1px solid currentColor;
    opacity: .7;   /* .55 fell to 4.3:1 on ink — under AA for 12px text */
}

.wk-eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: wk-pulse 2.4s var(--wk-ease) infinite;
}

.wk-h2 {
    font-size: clamp(2.1rem, 5.2vw, 3.5rem);
    margin-top: 1.5rem;
}

.wk-lede {
    max-width: 46ch;
    margin-top: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: hsl(var(--wk-muted));
}

.wk-section--paper .wk-lede { color: hsl(var(--wk-ink) / .68); }

.wk-accent { color: hsl(var(--wk-gold)); }
/* Bright teal lands at exactly 3.01:1 here — technically large-text AA, but
   with no margin at all. The darker ink teal clears it comfortably. */
.wk-section--paper .wk-accent { color: hsl(var(--wk-teal-ink)); }

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

.wk-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    min-height: 48px;              /* comfortable touch target */
    padding: .8125rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--wk-radius);
    font-family: var(--wk-font-body);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    overflow: hidden;
    transition:
        background-color var(--wk-base) var(--wk-ease),
        border-color var(--wk-base) var(--wk-ease),
        color var(--wk-base) var(--wk-ease),
        transform var(--wk-fast) var(--wk-ease);
}

.wk-btn:active { transform: translateY(1px); }

.wk-btn__arrow {
    transition: transform var(--wk-base) var(--wk-ease);
    flex-shrink: 0;
}

.wk-btn:hover .wk-btn__arrow { transform: translateX(3px); }

/* Primary — gold. The single loudest element on the page, used sparingly. */
.wk-btn--primary {
    background: hsl(var(--wk-gold));
    color: hsl(var(--wk-ink));
    box-shadow: var(--wk-rise-2);
}

.wk-btn--primary:hover {
    background: hsl(var(--wk-gold-deep));
    color: hsl(var(--wk-ink));
}

/* Ghost — hairline border on ink */
.wk-btn--ghost {
    border-color: hsl(var(--wk-gold) / .28);
    color: hsl(var(--wk-cream));
    background: hsl(var(--wk-surface) / .4);
}

.wk-btn--ghost:hover {
    border-color: hsl(var(--wk-gold) / .6);
    background: hsl(var(--wk-surface));
    color: hsl(var(--wk-cream));
}

.wk-section--paper .wk-btn--ghost {
    border-color: hsl(var(--wk-ink) / .2);
    color: hsl(var(--wk-ink));
    background: transparent;
}

.wk-section--paper .wk-btn--ghost:hover {
    border-color: hsl(var(--wk-teal-ink));
    color: hsl(var(--wk-teal-ink));
    background: transparent;
}

/* Quiet text link with an animated underline */
.wk-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    color: hsl(var(--wk-cream));
    transition: color var(--wk-base) var(--wk-ease);
}

.wk-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: hsl(var(--wk-gold));
    transition: width var(--wk-base) var(--wk-ease);
}

.wk-link:hover { color: hsl(var(--wk-gold)); }
.wk-link:hover::after { width: 100%; }

/* --------------------------------------------------------------------------
   8. Masthead
   -------------------------------------------------------------------------- */

.wk-masthead {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid hsl(var(--wk-gold) / .14);
    background: hsl(var(--wk-ink) / .85);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
            backdrop-filter: blur(18px) saturate(1.4);
    transition: box-shadow var(--wk-base) var(--wk-ease),
                background-color var(--wk-base) var(--wk-ease);
}

.wk-masthead[data-scrolled='true'] {
    background: hsl(var(--wk-ink) / .96);
    box-shadow: var(--wk-rise-2);
}

.wk-masthead__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: .875rem;
}

.wk-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.wk-brand__mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid hsl(var(--wk-gold) / .25);
    border-radius: var(--wk-radius);
    background: hsl(var(--wk-teal-deep) / .4);
    overflow: hidden;
}

.wk-brand__mark img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform var(--wk-slow) var(--wk-ease);
}

.wk-brand:hover .wk-brand__mark img { transform: scale(1.12); }

.wk-brand__name {
    font-family: var(--wk-font-display);
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1;
}

.wk-brand__kicker {
    display: block;
    margin-top: .25rem;
    font-size: .625rem;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: hsl(var(--wk-muted));
}

.wk-nav {
    display: none;
    align-items: center;
    gap: 2.25rem;
}

.wk-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;          /* comfortable target; these are desktop-only */
    font-size: .9375rem;
    font-weight: 500;
    color: hsl(var(--wk-cream) / .78);
    transition: color var(--wk-base) var(--wk-ease);
}

.wk-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    /* Anchored to the text, not the 44px hit area — otherwise the underline
       floats well below the word it belongs to. */
    bottom: calc(50% - .85em);
    width: 0;
    height: 1px;
    background: hsl(var(--wk-gold));
    transition: width var(--wk-base) var(--wk-ease);
}

.wk-nav__link:hover,
.wk-nav__link:focus-visible { color: hsl(var(--wk-gold)); }
.wk-nav__link:hover::after { width: 100%; }

.wk-masthead__actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.wk-burger {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid hsl(var(--wk-border));
    border-radius: var(--wk-radius);
    background: transparent;
    color: hsl(var(--wk-cream));
    cursor: pointer;
    transition: border-color var(--wk-base) var(--wk-ease);
}

.wk-burger:hover { border-color: hsl(var(--wk-gold) / .5); }

@media (min-width: 992px) {
    .wk-nav,
    .wk-masthead__actions { display: flex; }
    .wk-burger { display: none; }
}

/* Mobile drawer */
.wk-drawer {
    display: none;
    border-top: 1px solid hsl(var(--wk-gold) / .14);
    background: hsl(var(--wk-ink) / .99);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
}

.wk-drawer[data-open='true'] {
    display: block;
    animation: wk-fade-in var(--wk-base) var(--wk-ease) both;
}

@media (min-width: 992px) {
    .wk-drawer[data-open='true'] { display: none; }
}

.wk-drawer__inner {
    display: flex;
    flex-direction: column;
    padding-block: .5rem 1.5rem;
}

.wk-drawer__link {
    padding-block: .9375rem;
    border-bottom: 1px solid hsl(var(--wk-border) / .5);
    font-size: 1rem;
    font-weight: 500;
    color: hsl(var(--wk-cream) / .85);
    transition: color var(--wk-fast) var(--wk-ease);
}

.wk-drawer__link:hover { color: hsl(var(--wk-gold)); }

.wk-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.wk-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(3.5rem, 8vw, 6rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    background:
        radial-gradient(ellipse 70% 55% at 78% 8%, hsl(var(--wk-teal) / .16), transparent 65%),
        radial-gradient(ellipse 60% 50% at 8% 92%, hsl(var(--wk-gold) / .06), transparent 60%),
        linear-gradient(180deg, hsl(var(--wk-ink)), hsl(var(--wk-ink-deep)));
}

.wk-hero__title {
    font-size: clamp(2.75rem, 7.4vw, 5.25rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: .98;
    margin-top: 1.75rem;
}

.wk-hero__sub {
    max-width: 52ch;
    margin-top: 1.75rem;
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    line-height: 1.68;
    color: hsl(var(--wk-cream) / .72);
}

.wk-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
    margin-top: 2.5rem;
}

.wk-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.25rem;
    margin-top: 2.25rem;
    font-size: .8125rem;
    color: hsl(var(--wk-muted));
}

.wk-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.wk-hero__meta svg { color: hsl(var(--wk-teal)); flex-shrink: 0; }

/* --- Provisioning panel: dramatises zero-touch onboarding --------------- */

.wk-panel {
    position: relative;
    border: 1px solid hsl(var(--wk-gold) / .16);
    border-radius: var(--wk-radius);
    background: hsl(var(--wk-surface) / .72);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    box-shadow: var(--wk-rise-3), var(--wk-hairline);
    padding: clamp(1.5rem, 3.5vw, 2rem);
}

.wk-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid hsl(var(--wk-border) / .7);
}

.wk-panel__label {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: hsl(var(--wk-muted));
}

.wk-panel__title {
    margin-top: .5rem;
    font-family: var(--wk-font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.wk-panel__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .4375rem;
    padding: .3125rem .625rem;
    border: 1px solid hsl(var(--wk-teal) / .35);
    border-radius: 2px;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: hsl(var(--wk-teal));
    background: hsl(var(--wk-teal) / .1);
}

.wk-panel__badge i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    animation: wk-pulse 1.8s var(--wk-ease) infinite;
}

.wk-prov {
    list-style: none;
    margin: 0;
    padding: 1.25rem 0 0;
}

.wk-prov__row {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding-block: .75rem;
    border-bottom: 1px solid hsl(var(--wk-border) / .45);
    transition: opacity var(--wk-base) var(--wk-ease);
}

.wk-prov__row:last-child { border-bottom: 0; }

/* Only dim the pending rows when JS is there to tick them through */
.js .wk-prov__row[data-done='false'] { opacity: .35; }

/* Default = the completed state, so a no-JS render shows a finished
   provisioning run rather than a row of blank circles. */
.wk-prov__tick {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1px solid hsl(var(--wk-teal));
    border-radius: 50%;
    background: hsl(var(--wk-teal) / .16);
    color: hsl(var(--wk-teal));
    transition: all var(--wk-base) var(--wk-ease);
}

.js .wk-prov__row[data-done='false'] .wk-prov__tick {
    border-color: hsl(var(--wk-border));
    background: transparent;
    color: transparent;
}

.wk-prov__name {
    flex: 1;
    font-size: .9375rem;
    color: hsl(var(--wk-cream) / .85);
}

.wk-prov__count {
    font-family: var(--wk-font-display);
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: hsl(var(--wk-gold));
}

.wk-panel__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid hsl(var(--wk-border) / .7);
}

.wk-panel__foot-label {
    font-size: .8125rem;
    color: hsl(var(--wk-muted));
}

.wk-panel__foot-value {
    font-family: var(--wk-font-display);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: hsl(var(--wk-gold));
    letter-spacing: -.02em;
}

/* --------------------------------------------------------------------------
   10. Proof strip — real, verifiable numbers only
   -------------------------------------------------------------------------- */

.wk-proof {
    position: relative;
    border-block: 1px solid hsl(var(--wk-gold) / .14);
    background: hsl(var(--wk-ink-deep));
}

/* The proof strip sits edge-to-edge and the section already carries its own
   top/bottom rules — so drop the wrapper border and trim the outer cell
   edges, or they double up into a 2px line. */
.wk-proof .wk-grid-ledger {
    border-top: 0;
    border-left: 0;
    border-radius: 0;
}

.wk-proof .wk-grid-ledger > [class*='col-']:last-child { border-right: 0; }

@media (min-width: 768px) {
    /* four across: every cell is on the last row */
    .wk-proof .wk-grid-ledger > [class*='col-'] { border-bottom: 0; }
}

@media (max-width: 767.98px) {
    /* two across: trim the right column and the bottom row */
    .wk-proof .wk-grid-ledger > [class*='col-']:nth-child(2n) { border-right: 0; }
    .wk-proof .wk-grid-ledger > [class*='col-']:nth-last-child(-n+2) { border-bottom: 0; }
}

.wk-proof__cell {
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 2.5vw, 2rem);
}

.wk-proof__value {
    font-family: var(--wk-font-display);
    font-size: clamp(2rem, 5vw, 2.875rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
    color: hsl(var(--wk-gold));
    line-height: 1;
}

.wk-proof__label {
    margin-top: .75rem;
    font-size: .8125rem;
    line-height: 1.5;
    color: hsl(var(--wk-muted));
}

/* --------------------------------------------------------------------------
   11. Problem — the fragmentation the product removes
   -------------------------------------------------------------------------- */

.wk-fragment {
    flex: 1;
    padding: 1.5rem 1.25rem;
    background: hsl(var(--wk-ink));
    transition: background-color var(--wk-slow) var(--wk-ease);
}

.wk-fragment:hover { background: hsl(var(--wk-surface) / .6); }

.wk-fragment__tool {
    font-family: var(--wk-font-display);
    font-size: .9375rem;
    font-weight: 700;
    color: hsl(var(--wk-cream) / .9);
}

.wk-fragment__gap {
    margin-top: .5rem;
    font-size: .8125rem;
    line-height: 1.55;
    color: hsl(var(--wk-muted));
}

.wk-fragment__cost {
    display: inline-block;
    margin-top: .875rem;
    padding: .1875rem .5rem;
    border: 1px solid hsl(var(--wk-gold) / .22);
    border-radius: 2px;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: hsl(var(--wk-gold) / .85);
}

/* --------------------------------------------------------------------------
   12. Modules — the ledger grid
   -------------------------------------------------------------------------- */

.wk-module {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: hsl(var(--wk-ink));
    overflow: hidden;
    transition: background-color var(--wk-slow) var(--wk-ease);
}

.wk-module:hover { background: hsl(var(--wk-surface) / .75); }

/* Gold corner wipe on hover */
.wk-module::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    pointer-events: none;
    transform: scale(0);
    transform-origin: top right;
    background: linear-gradient(to bottom left, hsl(var(--wk-gold) / .18), transparent 70%);
    transition: transform var(--wk-slow) var(--wk-ease);
}

.wk-module:hover::before { transform: scale(1); }

.wk-module__head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wk-module__index {
    font-family: var(--wk-font-display);
    font-size: 1.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    /* .24 was only 1.9:1 — invisible to low-vision users. .45 clears the
       3:1 large-text threshold and still reads as a ghost next to the
       full-gold hover state. */
    color: hsl(var(--wk-gold) / .45);
    transition: color var(--wk-base) var(--wk-ease);
}

.wk-module:hover .wk-module__index { color: hsl(var(--wk-gold)); }

.wk-module__hr {
    flex: 1;
    height: 1px;
    background: hsl(var(--wk-border));
    transition: background-color var(--wk-base) var(--wk-ease);
}

.wk-module:hover .wk-module__hr { background: hsl(var(--wk-gold) / .4); }

.wk-module__icon { color: hsl(var(--wk-teal)); flex-shrink: 0; }

.wk-module__name {
    margin-top: 1.5rem;
    font-family: var(--wk-font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.wk-module__desc {
    margin-top: .625rem;
    font-size: .875rem;
    line-height: 1.6;
    color: hsl(var(--wk-muted));
}

.wk-module__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.wk-module__tags li {
    padding: .25rem .5rem;
    border: 1px solid hsl(var(--wk-border));
    border-radius: 2px;
    font-size: .6875rem;
    color: hsl(var(--wk-cream) / .6);
}

.wk-module__underline {
    display: block;
    width: 0;
    height: 1px;
    margin-top: 1.5rem;
    background: hsl(var(--wk-gold) / .5);
    transition: width var(--wk-slow) var(--wk-ease);
}

.wk-module:hover .wk-module__underline { width: 100%; }

/* --------------------------------------------------------------------------
   13. Lifecycle — six stages on a spine
   -------------------------------------------------------------------------- */

.wk-lifecycle {
    position: relative;
    z-index: 2;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    list-style: none;
    padding: 0;
}

.wk-stage {
    position: relative;
    padding: 2rem 1.5rem 2rem 0;
}

/* The spine: a horizontal rule the stage markers sit on.
   2.9375rem = 2rem of padding-top + half the 30px marker, so the rule
   passes through the marker's centre rather than clipping its edge. */
.wk-stage::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2.9375rem;
    width: 100%;
    height: 1px;
    /* Gold hairline, not --wk-border: the border teal is so close to the ink
       background that the spine disappeared entirely against the grid
       texture. This is the ledger rule the whole page is built around. */
    background: hsl(var(--wk-gold) / .22);
}

.wk-stage:last-child::before {
    background: linear-gradient(to right, hsl(var(--wk-gold) / .22) 55%, transparent);
}

.wk-stage__marker {
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid hsl(var(--wk-gold) / .35);
    border-radius: 50%;
    background: hsl(var(--wk-ink));
    font-family: var(--wk-font-display);
    font-size: .75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: hsl(var(--wk-gold));
    z-index: 2;
    transition: all var(--wk-base) var(--wk-ease);
}

.wk-stage:hover .wk-stage__marker {
    background: hsl(var(--wk-gold));
    color: hsl(var(--wk-ink));
    border-color: hsl(var(--wk-gold));
    transform: scale(1.1);
}

.wk-stage__name {
    margin-top: 1.5rem;
    font-family: var(--wk-font-display);
    font-size: 1.0625rem;
    font-weight: 700;
}

.wk-stage__desc {
    margin-top: .5rem;
    padding-right: .5rem;
    font-size: .8125rem;
    line-height: 1.6;
    color: hsl(var(--wk-muted));
}

/* --- Lifecycle on paper -------------------------------------------------
   Every part of the stage is tuned for ink, so the light variant needs its
   own values: gold vanishes on off-white, and --wk-muted drops to ~1.8:1. */

.wk-section--paper .wk-stage::before {
    background: hsl(var(--wk-teal-ink) / .3);
}

.wk-section--paper .wk-stage:last-child::before {
    background: linear-gradient(to right, hsl(var(--wk-teal-ink) / .3) 55%, transparent);
}

.wk-section--paper .wk-stage__marker {
    border-color: hsl(var(--wk-teal-ink) / .4);
    background: hsl(var(--wk-paper));
    color: hsl(var(--wk-teal-ink));
}

.wk-section--paper .wk-stage:hover .wk-stage__marker {
    border-color: hsl(var(--wk-teal-ink));
    background: hsl(var(--wk-teal-ink));
    color: hsl(var(--wk-paper));
}

.wk-section--paper .wk-stage__desc {
    color: hsl(var(--wk-ink) / .72);
}

/* --------------------------------------------------------------------------
   14. Pillars — why Wateka (on paper)
   -------------------------------------------------------------------------- */

.wk-pillar {
    flex: 1;
    padding: clamp(1.75rem, 3vw, 2.25rem);
    background: hsl(var(--wk-paper-card));
    transition: background-color var(--wk-base) var(--wk-ease);
}

.wk-pillar:hover { background: hsl(var(--wk-teal) / .04); }

.wk-pillar__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid hsl(var(--wk-teal) / .3);
    border-radius: var(--wk-radius);
    color: hsl(var(--wk-teal-ink));   /* 3:1 minimum for meaningful graphics */
    background: hsl(var(--wk-teal) / .07);
}

.wk-pillar__name {
    margin-top: 1.5rem;
    font-family: var(--wk-font-display);
    font-size: 1.0625rem;
    font-weight: 700;
}

.wk-pillar__desc {
    margin-top: .625rem;
    font-size: .875rem;
    line-height: 1.65;
    color: hsl(var(--wk-ink) / .72);   /* .62 was 4.3:1 on white — under AA */
}

/* --------------------------------------------------------------------------
   15. Closing CTA
   -------------------------------------------------------------------------- */

.wk-cta {
    position: relative;
    overflow: hidden;
    border-top: 1px solid hsl(var(--wk-gold) / .16);
    background:
        radial-gradient(ellipse 60% 70% at 85% 50%, hsl(var(--wk-teal) / .18), transparent 65%),
        linear-gradient(180deg, hsl(var(--wk-ink)), hsl(var(--wk-ink-deep)));
    padding-block: clamp(4rem, 8vw, 6.5rem);
}

.wk-cta__title {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -.03em;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.wk-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid hsl(var(--wk-border));
    background: hsl(var(--wk-ink-deep));
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.wk-footer__blurb {
    margin-top: 1.5rem;
    max-width: 34ch;
    font-size: .875rem;
    line-height: 1.7;
    color: hsl(var(--wk-muted));
}

.wk-footer__heading {
    font-family: var(--wk-font-body);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: hsl(var(--wk-gold));
}

.wk-footer__list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.wk-footer__list a {
    font-size: .875rem;
    color: hsl(var(--wk-muted));
    transition: color var(--wk-base) var(--wk-ease);
}

.wk-footer__list a:hover { color: hsl(var(--wk-gold)); }

.wk-footer__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--wk-border) / .6);
    font-size: .8125rem;
    color: hsl(var(--wk-muted));
}

@media (min-width: 768px) {
    .wk-footer__bottom { flex-direction: row; }
}

.wk-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Placeholder marker — makes unfilled brand data obvious rather than fake */
.wk-todo {
    border-bottom: 1px dashed hsl(var(--wk-gold) / .45);
    cursor: help;
}

/* --------------------------------------------------------------------------
   17. Motion — entrance reveals
   -------------------------------------------------------------------------- */

@keyframes wk-fade-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

@keyframes wk-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .3; }
}

@keyframes wk-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

/* Scroll reveal.
   Gated behind .js — an inline script in <head> sets that class. Without
   JavaScript the rule never applies and every section is simply visible,
   so a script failure can never leave the page blank. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity var(--wk-slow) var(--wk-ease),
        transform var(--wk-slow) var(--wk-ease);
    transition-delay: var(--wk-delay, 0ms);
}

.js [data-reveal][data-inview='true'] {
    opacity: 1;
    transform: none;
}

/* Hero content animates immediately rather than waiting on the observer */
.wk-enter {
    animation: wk-rise var(--wk-slow) var(--wk-ease) both;
    animation-delay: var(--wk-delay, 0ms);
}

/* --------------------------------------------------------------------------
   18. Reduced motion — honour the OS preference completely
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    .wk-enter { animation: none; }

    /* Provisioning rows render complete instead of ticking through */
    .wk-prov__row { opacity: 1; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */

@media print {
    .wk-masthead, .wk-drawer, .wk-grid-texture, .wk-cta { display: none; }
    body { background: #fff; color: #000; }
}
