/* work.css -- styles for /work, /work-tr, /work-de.
   Loaded after style.css, which owns the nav, the fonts, every colour token
   and the reusable card/button/eyebrow/contact-band pieces this file reuses
   rather than re-declares (.btn-primary, .btn-secondary, .s-label, .s-title,
   .s-link, .contact-inner, .contact-title, .contact-sub, .pill/.pills, the
   card recipe --card/--border/14px radius/box-shadow that .exp-card and
   .work-card already use elsewhere). Everything here is prefixed .wk- so
   nothing here can shadow a class the landing page or an indicator page
   already depends on -- this page used to carry its own unprefixed
   .offer-card/.legal/.lead inline, which is exactly the kind of collision a
   shared stylesheet has to avoid. */

.wk-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

/* ── HERO ── */
.wk-hero {
    padding: calc(var(--nav-h) + 5rem) var(--pad-x) 5rem;
    max-width: 1160px;
    margin: 0 auto;
}

.wk-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 3.5rem;
    align-items: center;
}

.wk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .24em;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.wk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    flex-shrink: 0;
    position: relative;
}

.wk-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--emerald);
    animation: wk-pulse 2.2s ease-out infinite;
}

@keyframes wk-pulse {
    0% {
        transform: scale(.6);
        opacity: .8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* A ring that never settles reads as broken, not "live", to anyone who finds
   motion disorienting -- so the dot itself stays, only the pulse stops. */
@media (prefers-reduced-motion: reduce) {
    .wk-dot::after {
        animation: none;
        opacity: 0;
    }
}

.wk-h1 {
    font-family: var(--ff-display);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.wk-h1 em {
    font-style: italic;
    color: var(--navy);
}

.wk-lead {
    font-size: 1.1rem;
    color: var(--mid);
    max-width: 480px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.wk-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── live proof panel ── */
.wk-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(27, 42, 92, .06);
    overflow: hidden;
    font-family: var(--ff-mono);
}

.wk-panel-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: .68rem;
    letter-spacing: .08em;
    color: var(--muted);
}

.wk-panel-head .wk-dot {
    width: 6px;
    height: 6px;
}

.wk-panel-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
}

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

.wk-panel-k {
    color: var(--muted);
}

.wk-panel-v {
    color: var(--navy);
    font-weight: 700;
    text-align: right;
}

/* The TipRanks row carries a dated sub-line -- a success rate without a
   date reads as evergreen, and this one moves every time the numbers on
   the landing page's own TipRanks section are refreshed. */
.wk-panel-note {
    display: inline-block;
    margin-top: .2rem;
    color: var(--muted);
    font-weight: 400;
    font-size: .68rem;
}

/* ── SECTION SHARED ── */
.wk-section {
    padding: 5.5rem var(--pad-x);
    max-width: 1160px;
    margin: 0 auto;
}

.wk-head {
    margin-bottom: 2.75rem;
}

/* ── SERVICES ── */
.wk-svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.wk-svc-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 1px 4px rgba(27, 42, 92, .06);
    transition: all .3s var(--ease);
}

.wk-svc-card:hover {
    border-color: var(--border-a);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 42, 92, .12), 0 0 0 1px var(--navy-08);
}

.wk-svc-index {
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .1em;
    color: var(--navy);
    margin-bottom: .9rem;
}

.wk-svc-t {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    margin-bottom: .6rem;
}

.wk-svc-d {
    color: var(--mid);
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

/* Featured card (contract valuation) -- the one service this page most wants
   a small-fund or family-office reader to notice, so it gets the inverse
   treatment the rest of the grid doesn't, rather than a bigger card that
   would break the 2x2 rhythm. */
.wk-svc-card.featured {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.wk-svc-card.featured .wk-svc-index {
    color: rgba(255, 255, 255, .6);
}

.wk-svc-card.featured .wk-svc-d {
    color: rgba(255, 255, 255, .75);
}

.wk-svc-card.featured .pill {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .8);
}

/* ── AI x FINANCE ──
   Deliberately not another .wk-svc-card: a thin accent border and a faint
   grid line background set it apart from the services grid above so it
   reads as "current work", not a fifth service offering. */
.wk-aif {
    position: relative;
}

.wk-aif::before {
    content: '';
    position: absolute;
    inset: 0 var(--pad-x);
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
    opacity: .35;
    pointer-events: none;
}

.wk-aif-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.wk-aif-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--navy-08);
    border-top: 2px solid var(--navy);
    border-radius: 10px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: all .3s var(--ease);
}

a.wk-aif-link:hover {
    border-color: var(--border-a);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 42, 92, .12), 0 0 0 1px var(--navy-08);
}

.wk-aif-tag {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--ff-mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: .9rem;
}

.wk-aif-arrow {
    color: var(--muted);
    transition: all .25s;
}

a.wk-aif-link:hover .wk-aif-arrow {
    color: var(--navy);
    transform: translate(2px, -2px);
}

.wk-aif-t {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    margin-bottom: .6rem;
}

.wk-aif-d {
    color: var(--mid);
    font-size: .9rem;
    line-height: 1.6;
}

/* ── PROOF ── */
.wk-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.wk-proof-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(27, 42, 92, .06);
    transition: all .3s var(--ease);
}

.wk-proof-card:hover {
    border-color: var(--border-a);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 42, 92, .12), 0 0 0 1px var(--navy-08);
}

/* Classic padding-box ratio rather than the `aspect-ratio` property: Helium
   (and presumably other Chromium builds) computes a UA aspect-ratio hint off
   the img's own width/height *attributes* -- kept here so a slow connection
   reserves the right space before the image decodes -- and that hint fights
   the authored `aspect-ratio: 1200/630` once the element also sits inside a
   CSS grid, stretching the image to several times its card's height. Sizing
   through the wrapper's padding-top sidesteps the conflict entirely: it
   never touches the img's own box, so the same 1200x630 ratio just doesn't
   have anything to fight over the img's height. */
.wk-proof-thumb {
    position: relative;
    width: 100%;
    padding-top: 52.5%;
    overflow: hidden;
    background: var(--surface);
}

.wk-proof-card img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wk-proof-body {
    padding: 1.5rem 1.65rem;
}

.wk-proof-t {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--ff-display);
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.wk-proof-arrow {
    color: var(--muted);
    transition: all .25s;
}

.wk-proof-card:hover .wk-proof-arrow {
    color: var(--navy);
    transform: translate(3px, -3px);
}

.wk-proof-d {
    color: var(--mid);
    font-size: .88rem;
    line-height: 1.6;
}

/* ── EXPERIENCE ──
   A vertical timeline: mono dates, a thin left rule with dot markers at
   each entry, plain text below -- no card chrome, since four short entries
   in a row of cards would repeat the services/proof grids above it rather
   than read as a chronology. */
.wk-tl {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--border);
}

.wk-tl-item {
    position: relative;
    padding: 0 0 2.25rem 2rem;
}

.wk-tl-item:last-child {
    padding-bottom: 0;
}

.wk-tl-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: .3rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 3px var(--bg);
}

.wk-tl-date {
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: .5rem;
}

.wk-tl-role {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.wk-tl-d {
    color: var(--mid);
    font-size: .92rem;
    line-height: 1.65;
}

.wk-tl-edu {
    margin: 2.25rem 0 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    color: var(--mid);
    font-size: .88rem;
    line-height: 1.6;
}

/* ── PRINCIPLES ── */
.wk-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.wk-princ-t {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.wk-princ-d {
    color: var(--mid);
    font-size: .92rem;
    line-height: 1.65;
}

/* ── PROFILE AT A GLANCE ──
   The canonical fact sheet: a semantic dl beside a visible FAQ, both read
   by people and by the AI tools this page is written for. Nothing here is
   decorative -- every row and every answer also lives in the page's own
   JSON-LD (ProfilePage/Person/FAQPage), so the two must keep saying the
   same thing. */
.wk-glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.wk-facts {
    margin: 0;
    border-top: 1px solid var(--border);
}

.wk-fact {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
}

.wk-fact dt {
    font-family: var(--ff-mono);
    font-size: .72rem;
    letter-spacing: .04em;
    color: var(--muted);
}

.wk-fact dd {
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--mid);
}

.wk-fact dd a {
    color: var(--navy);
}

.wk-faq {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.wk-faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.wk-faq-item summary {
    cursor: pointer;
    font-family: var(--ff-display);
    font-size: .98rem;
    font-weight: 600;
    color: var(--navy);
}

.wk-faq-item p {
    margin: .85rem 0 0;
    color: var(--mid);
    font-size: .88rem;
    line-height: 1.65;
}

.wk-faq-item p a {
    color: var(--navy);
}

/* ── CONTACT BAND ──
   Reuses .contact-inner/.s-label-inv/.contact-title/.contact-sub verbatim
   from style.css (the landing page's own #contact) -- only the navy
   background/border is redeclared here, since this band's id is
   "get-in-touch" (the page's own in-page anchor) rather than "contact". */
.wk-contact-band {
    background: var(--navy);
    border-top: 1px solid var(--border);
}

.wk-contact-email {
    display: inline-block;
    font-family: var(--ff-mono);
    font-size: clamp(1.3rem, 4vw, 2rem);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    padding-bottom: .3rem;
    margin-bottom: 2rem;
    transition: all .2s;
}

.wk-contact-email:hover {
    border-bottom-color: rgba(255, 255, 255, .7);
}

.wk-contact-actions {
    display: flex;
    justify-content: center;
}

.wk-disclaimer {
    color: rgba(255, 255, 255, .45);
    font-size: .78rem;
    max-width: 480px;
    margin: 2.5rem auto 0;
    line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .wk-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .wk-lead {
        max-width: 100%;
    }

    .wk-proof-grid {
        grid-template-columns: 1fr;
    }

    .wk-aif-grid {
        grid-template-columns: 1fr;
    }

    .wk-glance-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 720px) {
    .wk-svc-grid {
        grid-template-columns: 1fr;
    }

    .wk-principles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wk-fact {
        grid-template-columns: 1fr;
        gap: .3rem;
    }
}

@media (max-width: 560px) {
    .wk-hero {
        padding: calc(var(--nav-h) + 3rem) var(--pad-x) 3.5rem;
    }

    .wk-section {
        padding: 3.5rem var(--pad-x);
    }
}
