/* About / Careers shared design kit — clean editorial, on-brand with category pages.
   Prefix: np-ak-  (Neural About Kit). Loaded by who-we-are, culture, commitment, careers. */

/* ---- Base ---- */
.np-ak body,
body.np-ak {
    background: #FFFFFF;
}

.np-ak-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 3rem;
}

.np-ak-container--narrow {
    max-width: 820px;
}

/* ---- Hero (no background image) ---- */
.np-ak-hero {
    background: #FFFFFF;
    padding: calc(var(--header-height, 75px) + 3.25rem) 0 3.5rem;
}

.np-ak-hero__title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #111827;
    margin: 0 0 1.5rem 0;
    max-width: 16ch;
}

.np-ak-hero__lede {
    font-family: var(--font-primary);
    font-size: clamp(1.125rem, 1.6vw, 1.3rem);
    font-weight: 300;
    line-height: 1.7;
    color: #4B5563;
    margin: 0;
    max-width: 640px;
}

.np-ak-hero__lede + .np-ak-hero__lede {
    margin-top: 1.25rem;
}

/* italic accent inside any kit headline */
.np-ak-em {
    font-style: italic;
    font-weight: 300;
}

/* ---- Sections ---- */
.np-ak-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: #FFFFFF;
}

.np-ak-section + .np-ak-section {
    border-top: 1px solid rgba(17, 24, 39, 0.07);
}

.np-ak-section--tint {
    background: #FAFAFA;
}

/* Section headline — leads each section; no overline above it. */
.np-ak-h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #111827;
    margin: 0 0 1.75rem 0;
    max-width: 24ch;
    position: relative;
    display: inline-block;
}

.np-ak-h2--underline::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
    margin-top: 1rem;
}

/* small number that can sit before a section/headline */
.np-ak-index {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #9CA3AF;
    display: block;
    margin-bottom: 0.75rem;
}

/* ---- Prose ---- */
.np-ak-prose {
    max-width: 720px;
}

.np-ak-prose p {
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 300;
    color: #374151;
    margin: 0 0 1.25rem 0;
}

.np-ak-prose p:last-child {
    margin-bottom: 0;
}

.np-ak-prose strong {
    font-weight: 600;
    color: #111827;
}

.np-ak-prose em {
    font-style: italic;
    color: #111827;
}

.np-ak-prose a,
.np-ak-link {
    color: var(--neural-purple, #3c1361);
    text-decoration: underline;
    text-decoration-color: rgba(60, 19, 97, 0.3);
    text-underline-offset: 2px;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.np-ak-prose a:hover,
.np-ak-link:hover {
    color: var(--neural-orange, #d97706);
    text-decoration-color: rgba(217, 119, 6, 0.7);
}

/* ---- Grids ---- */
.np-ak-grid {
    display: grid;
    gap: 1.5rem;
}

.np-ak-grid--2 { grid-template-columns: repeat(2, 1fr); }
.np-ak-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---- Card (the category card system) ---- */
.np-ak-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    padding: 1.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(17, 24, 39, 0.04);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease;
}

.np-ak-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neural-purple, #3c1361), var(--neural-orange, #d97706));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.np-ak-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(60, 19, 97, 0.08);
    border-color: rgba(60, 19, 97, 0.15);
}

.np-ak-card:hover::before {
    transform: scaleX(1);
}

.np-ak-card__media {
    position: relative;
    width: calc(100% + 3.5rem);
    margin: -1.75rem -1.75rem 1.5rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a0a0a;
}

.np-ak-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
}

/* brand duotone wash — opt-in (e.g. a real photo) */
.np-ak-card__media--duotone img {
    object-position: 50% 24%;
    filter: grayscale(100%) contrast(1.08) brightness(0.94);
}

.np-ak-card__media--duotone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(60, 19, 97, 0.62) 0%, rgba(60, 19, 97, 0.12) 48%, rgba(217, 119, 6, 0.5) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.np-ak-card__num {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #9CA3AF;
    margin: 0 0 0.875rem 0;
}

.np-ak-card__title {
    font-family: var(--font-primary);
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.3;
    color: #111827;
    margin: 0 0 0.625rem 0;
    letter-spacing: -0.01em;
}

.np-ak-card__role {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neural-orange, #d97706);
    margin: 0 0 0.875rem 0;
}

.np-ak-card__body {
    font-family: var(--font-primary);
    font-size: 0.9688rem;
    font-weight: 300;
    line-height: 1.65;
    color: #4B5563;
    margin: 0;
}

.np-ak-card__body + .np-ak-card__body {
    margin-top: 0.875rem;
}

/* ---- Highlight card (gradient-bordered, for special blocks) ---- */
.np-ak-highlight {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 6px -1px rgba(17, 24, 39, 0.04);
    overflow: hidden;
}

.np-ak-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neural-purple, #3c1361) 0%, var(--neural-orange, #d97706) 60%, var(--neural-purple, #3c1361) 100%);
}

/* ---- CTAs ---- */
.np-ak-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neural-purple, #3c1361);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.np-ak-cta:hover {
    color: var(--neural-orange, #d97706);
    gap: 0.875rem;
}

/* primary solid button — used for the single strongest CTA on a page */
.np-ak-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #FFFFFF;
    background: #111827;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, gap 0.25s ease;
}

.np-ak-btn:hover {
    background: var(--neural-purple, #3c1361);
    transform: translateY(-2px);
    gap: 0.875rem;
}

/* ---- Split hero (text + visual) ---- */
.np-ak-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

/* ---- Gradient visual panel ---- */
.np-ak-visual {
    background: linear-gradient(135deg, rgba(60, 19, 97, 0.04), rgba(217, 119, 6, 0.04));
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    padding: 2rem 2.25rem;
}

/* Stat panel (vertical, inside a visual) */
.np-ak-stat {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.np-ak-stat:first-child { padding-top: 0; }
.np-ak-stat:last-child { padding-bottom: 0; border-bottom: none; }

.np-ak-stat__value {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #111827;
    min-width: 2.5ch;
}

.np-ak-stat__label {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.4;
    color: #6B7280;
}

/* Horizontal stat strip */
.np-ak-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.np-ak-stats .np-ak-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0;
    border-bottom: none;
}

/* ---- Pillars (numbered rich card grid) ---- */
.np-ak-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ---- Feature row (text + visual, reversible) ---- */
.np-ak-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.np-ak-feature--reverse .np-ak-feature__text { order: 2; }

/* sub-cards inside a visual panel */
.np-ak-minicard {
    background: #FFFFFF;
    border: 1px solid rgba(17, 24, 39, 0.07);
    border-radius: 12px;
    padding: 1.125rem 1.25rem;
}

.np-ak-minicard + .np-ak-minicard { margin-top: 1rem; }

.np-ak-minicard__label {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.np-ak-minicard__label .np-ak-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.np-ak-minicard__text {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.5;
    color: #6B7280;
    margin: 0;
}

/* ---- Monogram / icon tile ---- */
.np-ak-mono {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(60, 19, 97, 0.1), rgba(217, 119, 6, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--neural-purple, #3c1361);
    margin-bottom: 1.25rem;
}

/* ---- Media band (looping gif / image) ---- */
.np-ak-media {
    margin: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.np-ak-media__frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.16);
    background: #0a0a0a;
}

.np-ak-media__frame img,
.np-ak-media__frame video {
    display: block;
    width: 100%;
    height: auto;
}

.np-ak-media__cap {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.55;
    color: #6B7280;
    text-align: center;
    margin: 1.25rem auto 0;
    max-width: 620px;
}

/* ---- Pills ---- */
.np-ak-pillrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.np-ak-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neural-purple, #3c1361);
    background: rgba(60, 19, 97, 0.07);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .np-ak-hero__grid,
    .np-ak-feature {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .np-ak-feature--reverse .np-ak-feature__text { order: 0; }
}

@media (max-width: 768px) {
    .np-ak-container {
        padding: 0 1.5rem;
    }

    .np-ak-hero {
        padding: calc(var(--header-height-mobile, 60px) + 2.5rem) 0 2.5rem;
    }

    .np-ak-grid--2,
    .np-ak-grid--3,
    .np-ak-pillars {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-ak-card,
    .np-ak-card::before,
    .np-ak-cta,
    .np-ak-btn {
        transition: none;
    }

    .np-ak-card:hover,
    .np-ak-btn:hover {
        transform: none;
    }
}
