/* ==============================================
   about.css  —  Crown Gem About Page
   All colours / fonts / layout use global.css tokens.
   ============================================== */

/* ================================================
   HERO
   ================================================ */
.ab-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    background:
    linear-gradient(90deg, #2D2D43 0%, rgba(102, 102, 102, 0) 100%),
    url('../img/about/5.jpg') center center / cover no-repeat;
    background-color: var(--navy-mid);   
}

.ab-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 52px;
}

/* section-label already gold + uppercase from global */
.ab-hero__content .section-label { color: var(--gold-light); }

.ab-hero__title {
    font-family: var(--serif);
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-top: 6px;
}

/* ================================================
   STORY / MISSION / VISION / VALUES  GRID
   ================================================ */
.ab-grid {
    padding: 64px 0;
    background: var(--white);
}

.ab-grid__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ---- shared card ---- */
.ab-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
}

.ab-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.45s ease;
     
}
.ab-card::before {
    content: "";
    position: absolute;
    inset: 0;
  background: linear-gradient(90deg, rgba(45, 45, 67, 0.8) 24.33%, rgba(102, 102, 102, 0) 100%);
    z-index: 1;
}
.ab-card:hover .ab-card__bg { transform: scale(1.05); }

.ab-card__body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 32px 28px 28px;
    color: var(--white);
}

.ab-card__title {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.ab-card__body p {
    font-family: var(--sans);
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

/* ================================================
   STATS STRIP
   ================================================ */
.ab-stats {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 52px 0;
}

.ab-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ab-stat {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-stat__num {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.ab-stat__label {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.03em;
}

/* ================================================
   TEAM
   ================================================ */
.ab-team {
    padding: 72px 0 88px;
    background: var(--white);
}

.ab-team__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

/* nav buttons */
.ab-team__nav { display: flex; gap: 10px; }

.ab-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
    background: transparent;
}

.ab-nav-btn:hover {
    background: var(--gold);
    color: var(--white);
}

/* ---- slider ---- */
.ab-team__slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;         /* avoids clipping box-shadow */
}
.ab-team__slider::-webkit-scrollbar { display: none; }

/* ---- member card ---- */
.ab-member {
    flex: 0 0 calc(25% - 18px);
    min-width: 210px;
    scroll-snap-align: start;
}

.ab-member__photo {
    width: 100%;
    /* aspect-ratio: 3 / 4; */
    overflow: hidden;
    background: var(--off-white);
}

.ab-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ab-member:hover .ab-member__photo img { transform: scale(1.04); }

.ab-member__info { padding: 14px 0 0; }

.ab-member__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.ab-member__name {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.ab-member__role {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* LinkedIn badge */
.ab-member__li {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #FDF4E3;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.ab-member__li:hover {
    background: var(--gold);
    color: var(--white);
}

.ab-member__bio {
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
    .ab-grid__inner        { grid-template-columns: 1fr; }
    .ab-stats__inner       { grid-template-columns: repeat(2, 1fr); }
    .ab-member             { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 600px) {
    .ab-hero               { height: 260px; }
    .ab-hero__content      { padding-bottom: 36px; }
    .ab-stats__inner       { grid-template-columns: 1fr 1fr; }
    .ab-member             { flex: 0 0 78%; }
    .ab-team__header       { align-items: flex-start; flex-direction: column; gap: 16px; }
}