/* ==========================================================================
   TenderMitra — About page
   Loads on top of modern.css, which supplies the fonts, tokens, buttons,
   mesh, marquee, reveal and carousel styling. Only About-specific components
   live here. Everything is scoped to .tm-about or prefixed .ab-*.
   ========================================================================== */

/* ==========================================================================
   PAGE HERO — narrower than home, no product panel
   ========================================================================== */

/* Shell and atmosphere come from modern.css; only the padding is local */
.ab-hero {
    padding-top: clamp(3rem, 2rem + 4vw, 5rem);
    padding-bottom: clamp(3rem, 2rem + 3.5vw, 4.5rem);
}

.ab-hero > .hm-wrap { position: relative; z-index: 1; }

/* Breadcrumb */
.ab-crumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: .8125rem;
    /* Sits on the coloured field, so one step darker than body muted */
    color: var(--s-ink-2);
}

.ab-crumbs a { color: var(--s-ink-2); text-decoration: none; transition: color .2s var(--tm-ease); }
.ab-crumbs a:hover { color: var(--s-ink); }
.ab-crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--s-line-2); }
.ab-crumbs [aria-current="page"] { color: var(--s-ink); }

/* ==========================================================================
   STORY — pull quote + body, asymmetric
   ========================================================================== */

.ab-story { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }

@media (max-width: 991.98px) { .ab-story { grid-template-columns: 1fr; } }

.ab-sticky { position: sticky; top: calc(var(--tm-header-h) + 2rem); }

/* Large serif pull quote */
.ab-quote {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.15rem);
    line-height: 1.24;
    letter-spacing: -.015em;
    color: var(--s-ink);
    margin: 0;
}

.ab-quote em { font-style: italic; color: var(--s-orange-d); }

.ab-prose { font-size: .9688rem; line-height: 1.75; color: var(--s-ink-2); }
.ab-prose p { margin: 0 0 1.15rem; }
.ab-prose p:last-child { margin-bottom: 0; }
.ab-prose strong { color: var(--s-ink); font-weight: 600; }

/* ==========================================================================
   VALUE CARDS — tinted, matching the home feature cards
   ========================================================================== */

.ab-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.ab-value {
    padding: 1.75rem;
    border-radius: 20px;
    background: var(--_t, var(--t-cream));
    transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease);
}

.ab-value:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 4px rgb(11 18 32 / .04),
                0 12px 24px -10px rgb(11 18 32 / .12),
                0 28px 56px -24px rgb(11 18 32 / .24);
}

.ab-value:nth-child(1) { --_t: var(--t-cream); }
.ab-value:nth-child(2) { --_t: var(--t-lilac); }
.ab-value:nth-child(3) { --_t: var(--t-mint); }

.ab-value-n {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    background: #fff;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.1875rem;
    color: var(--s-ink);
    box-shadow: 0 3px 10px rgb(11 18 32 / .06);
}

.ab-value-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.018em; color: var(--s-ink); margin: 0 0 .5rem; }
.ab-value-text { font-size: .8438rem; line-height: 1.65; color: var(--s-ink-2); margin: 0; }

@media (max-width: 767.98px) { .ab-values { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOUNDER — portrait-less profile card with credential chips
   ========================================================================== */

.ab-founder {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
    align-items: center;
    padding: clamp(1.75rem, 1.5rem + 2vw, 3rem);
    border-radius: 24px;
    background: rgb(255 255 255 / .72);
    border: 1px solid rgb(255 255 255 / .9);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow:
        0 1px 1px rgb(11 18 32 / .04),
        0 4px 8px rgb(11 18 32 / .04),
        0 12px 24px -8px rgb(11 18 32 / .08),
        0 32px 64px -24px rgb(11 18 32 / .18);
}

@media (max-width: 991.98px) { .ab-founder { grid-template-columns: 1fr; } }

.ab-founder-mark {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    max-width: 240px;
    width: 100%;
    margin-inline: auto;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--t-cream), var(--t-blush) 55%, var(--t-lilac));
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
    line-height: 1;
    color: var(--s-ink);
    box-shadow: inset 0 2px 12px rgb(255 255 255 / .8);
}

.ab-founder-role {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--s-orange-d);
    margin: 0 0 .65rem;
}

.ab-founder-name {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.015em;
    color: var(--s-ink);
    margin: 0 0 1rem;
}

.ab-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }

.ab-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .85rem;
    font-size: .75rem;
    font-weight: 500;
    color: var(--s-ink-2);
    background: #fff;
    border: 1px solid var(--s-line);
    border-radius: 999px;
}

.ab-chip i { color: var(--s-orange); font-size: .9em; }

/* ==========================================================================
   TIMELINE — vertical rail with soft markers
   ========================================================================== */

.ab-timeline { position: relative; max-width: 46rem; margin-inline: auto; padding-left: 2.25rem; }

.ab-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: .6rem;
    bottom: .6rem;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--s-apricot), var(--s-rose) 50%, var(--s-lilac));
}

.ab-step { position: relative; padding-bottom: 2.25rem; }
.ab-step:last-child { padding-bottom: 0; }

.ab-step::before {
    content: "";
    position: absolute;
    left: -2.25rem;
    top: .35rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--s-orange);
    box-shadow: 0 0 0 4px rgb(255 255 255 / .9);
}

.ab-step-k {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--s-orange-d);
    margin: 0 0 .4rem;
}

.ab-step-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.018em; color: var(--s-ink); margin: 0 0 .4rem; }
.ab-step-text { font-size: .875rem; line-height: 1.68; color: var(--s-ink-2); margin: 0; }

@media (max-width: 575.98px) { .ab-timeline { padding-left: 1.85rem; } .ab-step::before { left: -1.85rem; } }

/* ==========================================================================
   TEAM
   ========================================================================== */

.ab-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.ab-member {
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: #fff;
    border: 1px solid var(--s-line);
    border-radius: 20px;
    transition: transform .3s var(--tm-ease), box-shadow .3s var(--tm-ease), border-color .3s var(--tm-ease);
}

.ab-member:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 2px 4px rgb(11 18 32 / .04),
                0 12px 24px -10px rgb(11 18 32 / .12),
                0 28px 56px -24px rgb(11 18 32 / .24);
}

.ab-member img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto .9rem;
    display: block;
    background: var(--s-off);
    border: 1px solid var(--s-line);
}

.ab-member-mono {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto .9rem;
    border-radius: 50%;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.75rem;
    color: var(--s-ink);
    background: var(--t-lilac);
}

.ab-member-name { font-size: .9375rem; font-weight: 600; color: var(--s-ink); margin: 0 0 .15rem; }
.ab-member-role { font-size: .8125rem; color: var(--s-ink-3); margin: 0; }

@media (max-width: 991.98px) { .ab-team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .ab-team { grid-template-columns: repeat(2, 1fr); } }

/* Shown when no Team records exist yet */
.ab-team-empty {
    max-width: 34rem;
    margin-inline: auto;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 20px;
    background: var(--t-cream);
}

.ab-team-empty i { font-size: 1.75rem; color: var(--s-orange); }
.ab-team-empty p { margin: .85rem 0 0; font-size: .9063rem; color: var(--s-ink-2); line-height: 1.6; }

/* ==========================================================================
   CREDENTIALS
   ========================================================================== */

.ab-creds { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 1rem + 4vw, 4.5rem); }

/* Matches .hm-creds on the home page: full colour, no hover state */
.ab-creds img {
    height: clamp(56px, 4.6vw, 80px);
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.ab-cta { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }

.ab-cta > .hm-wrap { position: relative; z-index: 1; }
