/* ==========================================================================
   ARTIFEX INFOTECH - ABOUT US PAGE STYLESHEET
   Matches Brand System: Midnight (#050716 / #070b1e), Electric Blue (#0381f0),
   Cyan (#00d2ff / #38bdf8), Archivo & Instrument Serif Typography.
   ========================================================================== */

:root {
    --ab-bg: #050716;
    --ab-bg2: #0a1022;
    --ab-card: rgba(10, 17, 38, 0.72);
    --ab-line: rgba(133, 171, 255, 0.14);
    --ab-line-strong: rgba(56, 189, 248, 0.34);
    --ab-blue: #0381f0;
    --ab-blue-deep: #0151b2;
    --ab-cyan: #00d2ff;
    --ab-sky: #38bdf8;
    --ab-white: #f4f6fb;
    --ab-mist: #94a3b8;
}

.about-page-main {
    background: var(--ab-bg);
    color: var(--ab-white);
    font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.about-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   1. HERO SECTION + INTERACTIVE STARFIELD CANVAS
   ========================================================================== */
.about-hero {
    position: relative;
    padding: 168px 0 92px;
    background: radial-gradient(1000px 580px at 78% 18%, rgba(3, 129, 240, 0.22), transparent 65%),
                radial-gradient(760px 440px at 14% 78%, rgba(0, 210, 255, 0.12), transparent 60%),
                #050819;
    border-bottom: 1px solid var(--ab-line);
    overflow: hidden;
}

#aboutHeroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.about-hero-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(560px circle at var(--hero-mx, 50%) var(--hero-my, 40%), rgba(0, 210, 255, 0.14), transparent 65%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.about-hero-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.about-kicker-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(14, 27, 77, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 24px;
}

.about-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ab-cyan);
    box-shadow: 0 0 10px var(--ab-cyan);
    animation: abPulse 2s ease-in-out infinite;
}

@keyframes abPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

.about-kicker-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e0f2fe;
}

.about-focus-rotator {
    color: var(--ab-cyan);
    font-weight: 700;
    display: inline-block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.about-focus-rotator.is-swapping {
    opacity: 0;
    transform: translateY(-6px);
}

.about-hero-title {
    font-size: clamp(40px, 5.6vw, 70px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 22px;
}

.about-hero-title .serif-accent {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(125deg, #ffffff 0%, #38bdf8 48%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 4px;
}

.about-hero-lead {
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 720px;
    margin: 0 auto 34px;
}

.about-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 54px;
}

.about-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0381f0 0%, #0151b2 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(3, 129, 240, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
    will-change: transform;
}

.about-btn-primary:hover {
    box-shadow: 0 16px 36px rgba(0, 210, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.about-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    background: rgba(14, 27, 77, 0.55);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #f8fafc !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
    will-change: transform;
}

.about-btn-secondary:hover {
    border-color: var(--ab-cyan);
    background: rgba(37, 99, 245, 0.25);
}

.about-btn-secondary svg {
    width: 15px;
    height: 15px;
}

/* KPI Counters Bar */
.about-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1020px;
    margin: 0 auto;
}

.about-stat-box {
    padding: 24px 18px;
    border-radius: 16px;
    background: rgba(10, 17, 40, 0.68);
    border: 1px solid var(--ab-line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.about-stat-box:hover {
    border-color: var(--ab-line-strong);
    transform: translateY(-3px);
}

.about-stat-num {
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.about-stat-num em {
    font-style: normal;
    color: var(--ab-cyan);
    font-size: 0.72em;
}

.about-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ab-mist);
    margin-top: 8px;
}

/* ==========================================================================
   2. FOUNDER & STORY MANIFESTO SECTION (3D TILT + INTERACTIVE TABS)
   ========================================================================== */
.about-section {
    padding: 96px 0;
    border-bottom: 1px solid var(--ab-line);
    position: relative;
}

.about-founder-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-founder-grid--reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.about-founder-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(3, 129, 240, 0.24), transparent 62%),
        linear-gradient(160deg, #0b1433 0%, #060b20 100%);
}

.about-founder-placeholder svg {
    width: 92px;
    height: 92px;
    color: var(--ab-cyan);
    opacity: 0.78;
    filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.45));
}

.about-founder-placeholder span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ab-mist);
}

@media (max-width: 992px) {
    .about-founder-grid,
    .about-founder-grid--reverse {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-founder-grid--reverse .about-founder-card {
        order: -1;
    }
}

.about-founder-card {
    perspective: 1200px;
    -webkit-perspective: 1200px;
}

.about-founder-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.32);
    background: #091026;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(3, 129, 240, 0.16);
    transform-style: preserve-3d;
    transition: transform 0.16s cubic-bezier(0.2, 0.6, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
}

.about-founder-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-founder-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle 280px at var(--glare-x, 50%) var(--glare-y, 35%), rgba(255, 255, 255, 0.22), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
    mix-blend-mode: overlay;
    z-index: 3;
}

.about-founder-card:hover .about-founder-glare {
    opacity: 1;
}

.about-founder-badge {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateZ(24px);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(8, 14, 38, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.about-founder-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ab-cyan);
    box-shadow: 0 0 10px var(--ab-cyan);
}

.about-founder-badge span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f8fafc;
}

.about-section-kicker {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ab-cyan);
    margin: 0 0 12px;
    display: inline-block;
}

.about-section-h2 {
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin: 0 0 20px;
}

.about-section-h2 .serif {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: #60a5fa;
}

.about-lead-copy {
    font-size: 16.5px;
    line-height: 1.75;
    color: #cbd5e1;
    margin: 0 0 28px;
}

/* Interactive Tabs */
.about-story-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ab-line);
    padding-bottom: 12px;
}

.about-tab-btn {
    appearance: none;
    background: rgba(14, 27, 77, 0.45);
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    padding: 9px 18px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ab-mist);
    cursor: pointer;
    transition: all 0.2s ease;
}

.about-tab-btn:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
}

.about-tab-btn.is-active {
    background: linear-gradient(135deg, #0381f0, #0151b2);
    border-color: rgba(0, 210, 255, 0.55);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(3, 129, 240, 0.35);
}

.about-story-panels {
    position: relative;
    min-height: 145px;
}

.about-story-panel {
    display: none;
    animation: abTabFade 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-story-panel.is-active {
    display: block;
}

@keyframes abTabFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-story-panel p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 14px;
}

.about-story-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin-top: 12px;
    padding: 0;
    list-style: none;
}

.about-story-highlights li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.about-story-highlights li svg {
    width: 16px;
    height: 16px;
    color: var(--ab-cyan);
    flex-shrink: 0;
}

/* ==========================================================================
   3. RADIAL SPOTLIGHT GLOW CARDS + CRAFT STACK FILTER
   ========================================================================== */
.about-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.about-filter-bar {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.about-filter-btn {
    appearance: none;
    background: rgba(10, 17, 38, 0.75);
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ab-mist);
    cursor: pointer;
    transition: all 0.2s ease;
}

.about-filter-btn:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.45);
}

.about-filter-btn.is-active {
    background: rgba(0, 210, 255, 0.14);
    border-color: var(--ab-cyan);
    color: var(--ab-cyan);
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-glow-card {
    position: relative;
    border-radius: 18px;
    background: rgba(10, 16, 36, 0.82);
    border: 1px solid var(--ab-line);
    padding: 32px;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, opacity 0.25s ease;
}

.about-glow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 210, 255, 0.16), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-glow-card:hover::before {
    opacity: 1;
}

.about-glow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.42);
}

.about-glow-card.is-dimmed {
    opacity: 0.28;
    transform: scale(0.985);
}

.about-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.about-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(3, 129, 240, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ab-cyan);
}

.about-card-num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #64748b;
}

.about-glow-card h3 {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
}

.about-glow-card p {
    font-size: 15px;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 18px;
}

.about-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.about-chip-row span {
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(133, 171, 255, 0.08);
    border: 1px solid rgba(133, 171, 255, 0.2);
    color: #cbd5e1;
}

/* ==========================================================================
   4. SCROLL-LINKED TIMELINE (2014 - 2026)
   ========================================================================== */
.about-timeline-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.about-year-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.about-year-btn {
    appearance: none;
    background: rgba(10, 17, 38, 0.8);
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    padding: 7px 15px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ab-mist);
    cursor: pointer;
    transition: all 0.2s ease;
}

.about-year-btn.is-active,
.about-year-btn:hover {
    background: rgba(3, 129, 240, 0.22);
    border-color: var(--ab-cyan);
    color: #ffffff;
}

.about-timeline-wrap {
    position: relative;
    padding-left: 44px;
}

.about-timeline-track {
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(133, 171, 255, 0.16);
    border-radius: 2px;
}

.about-timeline-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #00d2ff 0%, #0381f0 100%);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.55);
    border-radius: 2px;
    transition: height 0.15s ease-out;
}

.about-milestone {
    position: relative;
    padding: 24px 28px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(10, 16, 36, 0.6);
    border: 1px solid var(--ab-line);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.about-milestone:last-child {
    margin-bottom: 0;
}

.about-milestone::before {
    content: "";
    position: absolute;
    left: -37px;
    top: 30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #070b1e;
    border: 2px solid rgba(56, 189, 248, 0.45);
    transition: all 0.3s ease;
    z-index: 2;
}

.about-milestone.is-active {
    background: rgba(14, 24, 54, 0.9);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateX(4px);
}

.about-milestone.is-active::before {
    background: var(--ab-cyan);
    border-color: #ffffff;
    box-shadow: 0 0 0 6px rgba(0, 210, 255, 0.22), 0 0 16px var(--ab-cyan);
}

.about-milestone-year {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--ab-cyan);
    margin-bottom: 6px;
}

.about-milestone h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
}

.about-milestone p {
    font-size: 15px;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

/* ==========================================================================
   5. CLIENT STORIES CAROUSEL + CTA BANNER
   ========================================================================== */
.about-quote-box {
    max-width: 920px;
    margin: 0 auto;
    padding: 42px 38px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(14, 24, 54, 0.92), rgba(7, 11, 28, 0.95));
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.about-quote-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.about-quote-stars {
    color: #0381f0;
    font-size: 18px;
    letter-spacing: 3px;
}

.about-quote-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-q-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(14, 27, 77, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.about-q-btn:hover {
    background: var(--ab-blue);
    border-color: var(--ab-cyan);
}

.about-quote-text {
    font-size: clamp(19px, 2.2vw, 26px);
    font-weight: 600;
    line-height: 1.5;
    color: #f8fafc;
    margin: 0 0 24px;
    min-height: 84px;
    transition: opacity 0.22s ease;
}

.about-quote-text.is-fading {
    opacity: 0;
}

.about-quote-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--ab-line);
    padding-top: 18px;
}

.about-quote-author b {
    display: block;
    font-size: 16px;
    color: #ffffff;
}

.about-quote-author span {
    font-size: 13.5px;
    color: var(--ab-mist);
}

.about-quote-dots {
    display: inline-flex;
    gap: 7px;
}

.about-quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(148, 163, 184, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.about-quote-dot.is-active {
    width: 24px;
    background: var(--ab-cyan);
}

.about-cta-banner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

/* Reveal utility animated by IntersectionObserver */
.ab-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-hero .ab-reveal,
.about-founder-grid .ab-reveal,
.ab-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .about-founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 136px 0 68px;
    }
    .about-section {
        padding: 68px 0;
    }
    .about-stats-strip,
    .about-story-highlights {
        grid-template-columns: 1fr;
    }
    .about-quote-box {
        padding: 28px 22px;
    }
}
