/* =============================================
   ONONTO — ABOUT PAGE CSS
   Page-specific styles only.
   main.css handles: header, footer, buttons,
   fonts, variables, hamburger, overlay, reveal.
   ============================================= */

/* =============================================
   ABOUT HERO
   ============================================= */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--b900) 0%, var(--b800) 40%, var(--b700) 70%, var(--b600) 100%);
    z-index: 0;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(160deg, rgba(6,15,30,.7) 0%, rgba(13,40,80,.6) 100%);
}
.about-hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ahs { position: absolute; border-radius: 50%; animation: ahsFloat 10s ease-in-out infinite; }
.ahs-1 { width: 500px; height: 500px; top: -150px; right: -100px; border: 1px solid rgba(255,255,255,.06); }
.ahs-2 { width: 260px; height: 260px; bottom: -60px; left: -60px; background: radial-gradient(circle, rgba(14,165,233,.08), transparent); animation-delay: 3s; }
.ahs-3 { width: 120px; height: 120px; top: 40%; left: 12%; border: 1px solid rgba(255,255,255,.09); animation-delay: 6s; }
@keyframes ahsFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-20px) rotate(8deg)} }

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    animation: abHeroIn 1.2s ease both;
}
@keyframes abHeroIn { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }

.about-hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}
.about-hero-title .hero-static {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255,255,255,.6);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.about-hero-title .hero-highlight {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    background: linear-gradient(90deg, var(--white), var(--b300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.75;
}
.about-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.about-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.4);
    font-size: .72rem;
    z-index: 3;
    animation: abHeroIn 1.5s ease .6s both;
}

/* =============================================
   INTRO (Mission / Approach / Impact)
   ============================================= */
.about-intro { padding: 96px 0; background: var(--white); }

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.intro-card {
    position: relative;
    padding: 38px 28px 32px;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid rgba(16,80,160,.09);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: all .4s var(--ease);
}
.intro-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); }
.intro-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--b600), var(--accent));
    transform: scaleX(0);
    transition: transform .4s ease;
}
.intro-card:hover::after { transform: scaleX(1); }
.intro-num {
    position: absolute;
    top: 18px; right: 20px;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(16,80,160,.05);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    pointer-events: none;
}
.intro-icon {
    width: 52px; height: 52px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--b100), var(--b200));
    color: var(--b600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
    transition: all .35s ease;
}
.intro-card:hover .intro-icon {
    background: linear-gradient(135deg, var(--b600), var(--b500));
    color: var(--white);
    transform: rotate(-4deg) scale(1.06);
}
.intro-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.intro-card p { font-size: .875rem; color: var(--soft); line-height: 1.8; }

/* =============================================
   STATS BAND
   ============================================= */
.stats-band {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--b800), var(--b700));
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(14,165,233,.1), transparent 60%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,.04), transparent 50%);
    pointer-events: none;
}
.stats-band-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.sb-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 40px;
    text-align: left;
}
.sb-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--b300);
    flex-shrink: 0;
}
.sb-info { display: flex; flex-direction: column; gap: 2px; }
.sb-info > div { display: flex; align-items: baseline; gap: 2px; }
.sb-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.sb-plus { font-size: 1.2rem; font-weight: 700; color: var(--b300); }
.sb-info p {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.sb-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* =============================================
   CORE VALUES
   ============================================= */
.core-values { padding: 96px 0; background: var(--off); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* Last row: 2 cards centred */
.values-grid .value-card:nth-child(4) { grid-column: 1; }
.values-grid .value-card:nth-child(5) { grid-column: 2; }

.value-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    box-shadow: var(--sh-sm);
    border: 1px solid rgba(16,80,160,.07);
    text-align: center;
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--b600), var(--accent));
    transform: scaleX(0);
    transition: transform .4s ease;
    transform-origin: left;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--b100), var(--b200));
    color: var(--b600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all .35s ease;
    transform: rotate(-4deg);
}
.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--b600), var(--b500));
    color: var(--white);
    transform: rotate(0deg) scale(1.08);
}
.value-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.value-card p { font-size: .875rem; color: var(--soft); line-height: 1.8; }

/* =============================================
   CTA BANNER
   ============================================= */
.about-cta {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.about-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, var(--b900) 0%, var(--b800) 50%, var(--b700) 100%);
    z-index: 0;
}
.about-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(14,165,233,.1), transparent 55%),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,.04), transparent 50%);
}
.about-cta .container { position: relative; z-index: 1; }
.about-cta-inner { max-width: 680px; margin: 0 auto; }
.about-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 18px;
}
.about-cta-title em { font-style: italic; color: var(--b300); }
.about-cta-inner > p {
    font-size: .95rem;
    color: rgba(255,255,255,.68);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.about-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:1024px) {
    .intro-grid    { grid-template-columns: 1fr; }
    .values-grid   { grid-template-columns: 1fr 1fr; }
    .values-grid .value-card:nth-child(4),
    .values-grid .value-card:nth-child(5) { grid-column: auto; }
}
@media(max-width:768px) {
    .about-hero    { min-height: 60vh; padding: 110px 20px 70px; }
    .about-hero-title .hero-highlight { font-size: 3rem; }
    .about-hero-actions { flex-direction: column; align-items: center; }
    .about-intro, .core-values, .about-cta { padding: 68px 0; }
    .stats-band    { padding: 48px 0; }
    .stats-band-grid { flex-direction: column; gap: 0; }
    .sb-stat       { padding: 18px 24px; width: 100%; justify-content: center; }
    .sb-divider    { width: 80px; height: 1px; }
    .values-grid   { grid-template-columns: 1fr; }
    .about-cta-btns{ flex-direction: column; align-items: center; }
}
@media(max-width:480px) {
    .about-hero-title .hero-highlight { font-size: 2.4rem; }
    .about-cta-title { font-size: 1.8rem; }
}