/**
 * ============================================
 * SWASTHSATHI — ABOUT PAGE
 * ============================================
 * Load order: base.css -> style.css -> about.css -> enhance.css -> about-revamp.css
 *
 * DESIGN RULES (deliberate constraints, not preferences)
 *  1. Light surfaces only. No dark sections — the product is light.
 *  2. One accent: emerald. Blue appears nowhere as a fill.
 *  3. Gradients are limited to a 3px rule under section headings and one
 *     soft tint in the hero. Nothing animates a border.
 *  4. Every team card is IDENTICAL. Seniority is stated in the role line
 *     and in the ownership table, never in a different visual treatment.
 *  5. base.css stays FROZEN. Every value derives from an existing token.
 *
 * All classes are `ss2-` prefixed and avoid about.css's `.team-card` /
 * `.member-*` selectors, so the two stylesheets cannot conflict.
 */

.ss2 {
    --ink: var(--dark);
    --muted: var(--gray);
    --line: var(--gray-pale);
    --surface: var(--white);
    --surface-alt: var(--light-bg);
    --accent: var(--primary);
    --accent-dark: var(--primary-dark);
    --accent-ghost: var(--primary-ghost);
    --accent-pale: var(--primary-light);
}

/* ============ SHARED FURNITURE ============ */
.ss2-section { padding: 88px 0; background: var(--surface); }
.ss2-section--alt { background: var(--surface-alt); }

.ss2-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 0.85rem;
}

.ss2-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 0.9rem;
}

.ss2-lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 66ch;
}

/* The only gradient on the page, used once per section heading. */
.ss2-rule {
    height: 3px;
    width: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    margin: 1.1rem 0 1.9rem;
}
.ss2-rule--center { margin-left: auto; margin-right: auto; }

/* ============ 1. HERO ============
   Light, to stay in sync with index.html's hero and the white navbar.
   Structure (eyebrow pill, one accent clause, principle callout) is
   borrowed; the darkness is not — this is a clinical product. */
.ss2-hero {
    position: relative;
    padding: 148px 0 82px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-ghost) 0%, #eff6ff 100%);
    border-bottom: 1px solid var(--line);
}

/* Faint 48px grid, the only texture on the page. */
.ss2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 41, 55, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 41, 55, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.ss2-hero::after {
    content: '';
    position: absolute;
    top: -220px;
    right: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 68%);
    filter: blur(60px);
    pointer-events: none;
}

.ss2-hero > .container { position: relative; }

.ss2-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--accent-dark);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.42rem 0.95rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.ss2-hero h1 {
    font-size: clamp(2.05rem, 4.4vw, 3.15rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.022em;
    color: var(--ink);
    max-width: 24ch;
    margin-bottom: 1.2rem;
}

/* Exactly one clause carries the accent. */
.ss2-hero h1 .accent { color: var(--accent-dark); }

.ss2-hero .ss2-lead { font-size: 1.12rem; max-width: 62ch; }

.ss2-principle {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2.1rem;
    padding: 0.95rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 62ch;
}

.ss2-principle i { color: var(--accent-dark); font-size: 1.05rem; margin-top: 0.12rem; flex-shrink: 0; }
.ss2-principle span { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
.ss2-principle strong { color: var(--ink); font-weight: 600; }

/* ============ 2. MISSION ============ */
.ss2-figure {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 380px;
    border-radius: var(--radius-xl);
    background: var(--accent-ghost);
    border: 1px solid var(--accent-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ss2-figure i { font-size: 5.5rem; color: var(--accent); }

.ss2-quote {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    background: var(--accent-ghost);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin-top: 1.75rem;
}

.ss2-quote i { font-size: 1.4rem; color: var(--accent-dark); flex-shrink: 0; }
.ss2-quote span { font-weight: 600; color: var(--ink); }

/* ============ 3. PROBLEM CARDS ============ */
.ss2-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 1.9rem 1.6rem;
    height: 100%;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.ss2-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.07);
}

.ss2-ico {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: var(--accent-ghost);
    color: var(--accent-dark);
    border: 1px solid var(--accent-pale);
    margin-bottom: 1.15rem;
}

.ss2-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.55rem;
}

.ss2-card p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
    margin: 0;
}

/* ============ 4. ENGINEERING DECISIONS ============ */
.ss2-decision {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
}
.ss2-decision:last-of-type { border-bottom: 1px solid var(--line); }

.ss2-num {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    padding-top: 0.15rem;
    width: 28px;
}

.ss2-decision h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.45rem;
    line-height: 1.45;
}

.ss2-decision p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.75;
    margin: 0;
}

.ss2-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 1.9rem;
}

.ss2-specs { list-style: none; padding: 0; margin: 0; }

.ss2-specs li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.62rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
}
.ss2-specs li:last-child { border-bottom: none; }
.ss2-specs .k { color: var(--muted); }
.ss2-specs .v { font-family: var(--font-mono); font-weight: 600; color: var(--ink); text-align: right; }

.ss2-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.6rem; }

.ss2-tag {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--muted);
    background: var(--surface-alt);
    border: 1px solid var(--line);
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-base);
}

/* ============ 5. TEAM — every card identical ============
   Full-width 4/8 split: tinted media panel, white content panel.
   All four people use this exact structure. No one gets a variant. */
.ss2-person {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.ss2-person:hover {
    border-color: var(--accent-pale);
    box-shadow: 0 14px 34px rgba(31, 41, 55, 0.08);
}

.ss2-person-media {
    background: linear-gradient(160deg, var(--surface-alt) 0%, var(--surface) 100%);
    border-bottom: 1px solid var(--line);
    padding: 2.4rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Portrait frame: 4:5 rectangle, not a circle. A circular crop discards
   the top and bottom of a composed portrait and forces a small diameter. */
.ss2-photo {
    position: relative;
    width: 100%;
    max-width: 232px;
}

.ss2-photo::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: var(--radius-xl);
    background: rgba(16, 185, 129, 0.16);
    filter: blur(26px);
    z-index: 0;
}

.ss2-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-xl);
    display: block;
    background: var(--surface-alt);
    box-shadow: 0 16px 34px rgba(31, 41, 55, 0.18);
}

.ss2-person-body { padding: 2rem 1.9rem; }

.ss2-person h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.65rem;
    letter-spacing: -0.012em;
}

/* The role is the second thing a reader should register after the name,
   so it is a discrete object rather than styled text. It previously sat
   at 0.9rem — smaller than the body bullets — which buried it. */
.ss2-person .ss2-role {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--accent-dark);
    background: var(--accent-ghost);
    border: 1px solid var(--accent-pale);
    border-left: 4px solid var(--accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.ss2-person .ss2-role i { font-size: 1.05rem; opacity: 0.85; }

.ss2-person .ss2-scope {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 1.35rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.ss2-did { list-style: none; padding: 0; margin: 0 0 1.6rem; }

.ss2-did li {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 0.8rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--muted);
}

.ss2-did li:last-child { padding-bottom: 0; }

.ss2-did li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.ss2-did strong { color: var(--ink); font-weight: 600; }

/* Labelled buttons — a word is a click target, an icon alone is a guess. */
.ss2-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.ss2-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.05rem;
    border-radius: var(--radius-lg);
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    transition: all var(--transition-base);
}

.ss2-contact:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-1px);
}

.ss2-contact--solid {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.ss2-contact--solid:hover {
    background: #111827;
    border-color: #111827;
    color: var(--white);
}

@media (min-width: 992px) {
    .ss2-person-media {
        border-bottom: none;
        border-right: 1px solid var(--line);
        height: 100%;
        padding: 2.6rem 2rem;
    }
    .ss2-person-body { padding: 2.5rem 2.6rem; }
}

/* ============ 6. COMMITMENTS ============ */
.ss2-commit {
    display: flex;
    gap: 0.9rem;
    padding: 1.35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    height: 100%;
}

.ss2-commit i { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.ss2-commit strong { display: block; color: var(--ink); margin-bottom: 0.25rem; font-size: 0.98rem; }
.ss2-commit span { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ============ 7. CTA ============ */
.ss2-cta {
    padding: 80px 0;
    background: var(--accent-ghost);
    border-top: 1px solid var(--accent-pale);
}

.ss2-cta h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; color: var(--ink); margin-bottom: 0.85rem; }
.ss2-cta p { color: var(--muted); font-size: 1.05rem; max-width: 54ch; margin: 0 auto 1.9rem; }

.ss2-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.85rem 2.1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: background var(--transition-base), transform var(--transition-base);
}

.ss2-btn:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }

/* ============ QUALITY FLOOR ============ */
.ss2 a:focus-visible,
.ss2 button:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
    border-radius: var(--radius-base);
}

@media (prefers-reduced-motion: reduce) {
    .ss2 * { transition: none !important; }
}

@media (max-width: 991px) {
}

@media (max-width: 768px) {
    .ss2-hero { padding: 125px 0 56px; }
    .ss2-section, .ss2-cta { padding: 58px 0; }
    .ss2-figure { max-width: 260px; margin-bottom: 2rem; }
    .ss2-person-body { padding: 1.6rem 1.35rem; }
    .ss2-person-media { padding: 1.9rem 1.35rem; }
    .ss2-person .ss2-role { font-size: 0.95rem; padding: 0.45rem 0.85rem; }
    .ss2-photo { max-width: 200px; }
    .ss2-decision { flex-direction: column; gap: 0.5rem; }
}