/**
 * About (Who We Are) Page - Styles v5
 * Complete redesign: modern hero, unified section system, card components.
 */

/* ==========================================================================
   HERO
   ========================================================================== */

.abt-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 0 var(--spacing-4, 1rem);
    overflow: hidden;
    color: #fff;
}

.abt-hero__bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

.abt-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, #1a0a2e 0%, rgba(45, 27, 78, 0.95) 35%, rgba(88, 28, 135, 0.88) 70%, rgba(107, 33, 168, 0.85) 100%);
}

.abt-hero__overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(14, 124, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.abt-hero__container {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: calc(64px + 3rem) 0 3.5rem;
}

.abt-hero__pretitle {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin-bottom: 1.5rem;
}

.abt-hero__title {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.abt-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 2.25rem;
    line-height: 1.65;
}

.abt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================================
   SHARED SECTION SYSTEM
   ========================================================================== */

.abt-section {
    padding: 5rem var(--spacing-4, 1rem);
}

.abt-section--white    { background: #fff; }
.abt-section--gray     { background: #f8fafc; }

.abt-section--gradient {
    background: linear-gradient(135deg, #2d1b4e 0%, var(--primary-purple, #660099) 50%, #1a0a2e 100%);
    position: relative;
    overflow: hidden;
}

.abt-section--gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.abt-section__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.abt-section__container--narrow {
    max-width: 720px;
}

.abt-section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.abt-section__pretitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-purple, #660099);
    background: rgba(102, 0, 153, 0.06);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.abt-section__pretitle--white {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.abt-section__title {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: clamp(1.75rem, 3.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-purple, #660099);
    background: none;
    -webkit-text-fill-color: currentColor;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    position: relative;
}

.abt-section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple, #660099), var(--secondary-green, #B0D7AB));
    border-radius: 2px;
}

.abt-section__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary, #555);
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.abt-section--gradient .abt-section__subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.abt-section--gradient .abt-section__title {
    color: #fff;
}

.abt-section__empty {
    text-align: center;
    color: var(--text-secondary, #555);
}

.abt-section__empty a {
    color: var(--primary-purple, #660099);
    font-weight: 600;
}

/* Sub-headings (directors, advisors) */
.abt-section__subheading {
    text-align: center;
    margin: 3rem 0 2rem;
}

.abt-section__subheading h3 {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: clamp(1.75rem, 3.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary-purple, #660099);
    background: none;
    -webkit-text-fill-color: currentColor;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    margin: 0 0 0.75rem;
    position: relative;
}

.abt-section__subheading h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple, #660099), var(--secondary-green, #B0D7AB));
    border-radius: 2px;
}

.abt-section__subheading p {
    font-size: 1rem;
    color: var(--text-secondary, #555);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================================================
   GRID
   ========================================================================== */

.abt-grid {
    display: grid;
    gap: 1.5rem;
}

.abt-grid--values { grid-template-columns: 1fr; }
.abt-grid--offices { grid-template-columns: 1fr; }
.abt-grid--team { grid-template-columns: repeat(2, 1fr); margin-bottom: 2rem; }

.abt-grid--team:last-of-type { margin-bottom: 0; }

@media (min-width: 640px) {
    .abt-grid--values  { grid-template-columns: repeat(2, 1fr); }
    .abt-grid--offices { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .abt-grid--values  { grid-template-columns: repeat(3, 1fr); }
    .abt-grid--team    { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   OUR STORY
   ========================================================================== */

.abt-story {
    max-width: 740px;
    margin: 0 auto;
}

.abt-story__content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary, #555);
    margin: 0 0 1.25rem;
}

.abt-story__content p:last-child {
    margin-bottom: 0;
}

.abt-story__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ==========================================================================
   MISSION & VISION CARDS
   ========================================================================== */

.abt-mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .abt-mv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.abt-mv-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease;
}

.abt-mv-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-4px);
}

.abt-mv-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-secondary, linear-gradient(135deg, var(--primary-purple), var(--secondary-green)));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.abt-mv-card__icon svg {
    stroke: currentColor !important;
    fill: none !important;
}

.abt-mv-card__icon svg * {
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
}

.abt-mv-card__title {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.abt-mv-card__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   VALUE CARDS
   ========================================================================== */

.abt-value-card {
    position: relative;
    z-index: 0;
    background: #fff;
    border-radius: 22px;
    padding: 2.25rem 2rem;
    border: 1px solid rgba(102, 0, 153, 0.10);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.abt-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(102, 0, 153, 0.12);
    border-color: rgba(102, 0, 153, 0.20);
}

.abt-value-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 18% 14%, rgba(102, 0, 153, 0.16) 0%, transparent 48%),
        radial-gradient(circle at 86% 86%, rgba(176, 215, 171, 0.26) 0%, transparent 54%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: -1;
}

.abt-value-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple, #660099), var(--secondary-green, #B0D7AB));
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

.abt-value-card:hover::before {
    opacity: 1;
}

.abt-value-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(102, 0, 153, 0.06);
    color: var(--primary-purple, #660099);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 22px rgba(102, 0, 153, 0.08);
}

.abt-value-card__icon svg {
    stroke: currentColor !important;
    fill: none !important;
}

.abt-value-card__icon svg * {
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
}

.abt-value-card__icon svg {
    width: 24px;
    height: 24px;
}

.abt-value-card:hover .abt-value-card__icon {
    background: var(--gradient-secondary, linear-gradient(135deg, var(--primary-purple), var(--secondary-green)));
    color: #fff;
    transform: scale(1.05);
}

.abt-value-card__title {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: 1.125rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.abt-value-card__desc {
    font-size: 0.95rem;
    color: var(--text-secondary, #555);
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
}

/* ==========================================================================
   OFFICE CARDS
   ========================================================================== */

.abt-office-card {
    position: relative;
    z-index: 0;
    background: #fff;
    border-radius: 22px;
    padding: 2.15rem 2rem;
    border: 1px solid rgba(102, 0, 153, 0.10);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.abt-office-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(102, 0, 153, 0.12);
    border-color: rgba(102, 0, 153, 0.20);
}

.abt-office-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 16% 10%, rgba(102, 0, 153, 0.14) 0%, transparent 48%),
        radial-gradient(circle at 92% 88%, rgba(176, 215, 171, 0.22) 0%, transparent 54%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: -1;
}

.abt-office-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple, #660099), var(--secondary-green, #B0D7AB));
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

.abt-office-card:hover::before {
    opacity: 1;
}

.abt-office-card__header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: none;
    position: relative;
}

.abt-office-card__header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple, #660099), var(--secondary-green, #B0D7AB));
    opacity: 0.35;
}

.abt-office-card__icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(102, 0, 153, 0.06);
    color: var(--primary-purple, #660099);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(102, 0, 153, 0.08);
}

.abt-office-card__icon-wrap svg {
    stroke: currentColor !important;
    fill: none !important;
}

.abt-office-card__icon-wrap svg * {
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
}

.abt-office-card__name {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: 1.125rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.25;
}

.abt-office-card__region {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-purple, #660099);
}

.abt-office-card__body {
    flex: 1;
}

.abt-office-card__detail {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.95rem;
    color: var(--text-secondary, #555);
    margin: 0 0 0.625rem;
    line-height: 1.5;
}

.abt-office-card__detail svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--text-secondary, #999);
}

.abt-office-card__detail a {
    color: var(--text-secondary, #555);
    text-decoration: none;
    transition: color 0.2s ease;
}

.abt-office-card__detail a:hover {
    color: var(--primary-purple, #660099);
}

.abt-office-card__directions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.75rem 1.05rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary-purple, #660099);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border-radius: 999px;
    border: 1px solid rgba(102, 0, 153, 0.16);
    background: rgba(102, 0, 153, 0.06);
}

.abt-office-card__directions:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-purple, #660099), var(--secondary-green, #B0D7AB));
}

/* ==========================================================================
   DIRECTIONS CARD
   ========================================================================== */

.abt-directions-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.abt-directions-card__icon-row {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(102, 0, 153, 0.06);
    color: var(--primary-purple, #660099);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.abt-directions-card__title {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a2e);
    margin: 0 0 0.5rem;
}

.abt-directions-card__subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary, #555);
    margin: 0 0 1.5rem;
}

.abt-directions-card__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.abt-directions-card__help {
    font-size: 0.8125rem;
    color: var(--text-secondary, #999);
    margin: 0;
}

.abt-directions-card__help a {
    color: var(--primary-purple, #660099);
    font-weight: 600;
    text-decoration: none;
}

.abt-directions-card__help a:hover {
    text-decoration: underline;
}

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

.abt-team-showcase {
    position: relative;
}

.abt-team-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(102, 0, 153, 0.12);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.abt-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(102, 0, 153, 0.14);
    border-color: rgba(102, 0, 153, 0.14);
}

.abt-team-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 20% 8%, rgba(102, 0, 153, 0.16) 0%, transparent 48%),
        radial-gradient(circle at 90% 90%, rgba(176, 215, 171, 0.24) 0%, transparent 54%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.abt-team-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple, #660099), var(--secondary-green, #B0D7AB));
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.abt-team-card:hover::before {
    opacity: 1;
}

.abt-team-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.08) 0%, rgba(102, 0, 153, 0.03) 100%);
    position: relative;
    z-index: 1;
}

.abt-team-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(102, 0, 153, 0.10) 0%,
        rgba(102, 0, 153, 0.02) 48%,
        rgba(176, 215, 171, 0.22) 100%);
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.abt-team-card:hover .abt-team-card__image::after {
    opacity: 0.85;
}

.abt-team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.abt-team-card:hover .abt-team-card__image img {
    transform: scale(1.05);
}

.abt-team-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple, #660099);
    position: relative;
    z-index: 1;
}

.abt-team-card__placeholder svg {
    width: 56px;
    height: 56px;
    opacity: 0.55;
}

.abt-team-card__body {
    padding: 1rem 1.05rem 1.2rem;
    flex-grow: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.abt-team-card__name {
    font-family: var(--font-header, 'Inter', sans-serif);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary, #1a1a2e);
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.abt-team-card__role {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(102, 0, 153, 0.95);
    margin: 0 0 0.65rem;
    line-height: 1.35;
}

.abt-team-card__bio {
    font-size: 0.8rem;
    color: var(--text-secondary, #555);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 767.98px) {
    .abt-hero {
        min-height: 440px;
    }

    .abt-hero__container {
        padding: calc(64px + 2rem) 0 2.5rem;
    }

    .abt-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .abt-hero__actions .c-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .abt-section {
        padding: 3.5rem var(--spacing-4, 1rem);
    }

    .abt-section__header {
        margin-bottom: 2.5rem;
    }

    .abt-grid--team {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .abt-team-card__body {
        padding: 1rem;
    }

    .abt-team-card__name {
        font-size: 0.9rem;
    }

    .abt-team-card__role {
        font-size: 0.75rem;
    }

    .abt-team-card__bio {
        font-size: 0.75rem;
    }

    .abt-office-card,
    .abt-value-card {
        padding: 1.5rem;
    }

    .abt-directions-card {
        padding: 1.75rem;
    }
}

@media (max-width: 479.98px) {
    .abt-grid--team {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .abt-mv-card:hover,
    .abt-value-card:hover,
    .abt-office-card:hover,
    .abt-team-card:hover {
        transform: none;
    }
}
