/* ══════════════════════════════════════
   ABOUT PAGE — Dark + Orange Theme
   Same palette / motion language as welcome.css
══════════════════════════════════════ */

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

/* ── Shared blobs ── */
.ab-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.ab-blob-1 {
    width: 480px; height: 480px;
    top: -160px; left: -150px;
    background: rgba(249,115,22,0.12);
    animation: blobFloat 15s ease-in-out infinite;
}
.ab-blob-2 {
    width: 420px; height: 420px;
    top: -80px; right: -140px;
    background: rgba(34,211,238,0.07);
    animation: blobFloat 19s ease-in-out infinite reverse;
}
.ab-blob-3 {
    width: 460px; height: 460px;
    bottom: -160px; left: -160px;
    background: rgba(249,115,22,0.08);
    animation: blobFloat 17s ease-in-out infinite;
}

/* ── Shared reveal ── */
.ab-rv { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.ab-rv.visible { opacity: 1; transform: translateY(0); }

/* ── Shared type ── */
.ab-label {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: #F97316;
    padding: 6px 14px;
    border: 1px solid rgba(249,115,22,0.28);
    border-radius: 999px;
    background: rgba(249,115,22,0.06);
    margin-bottom: 1rem;
}
.ab-h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800; color: #fff;
    line-height: 1.2; margin-bottom: 1rem;
}
.ab-h2 em { font-style: normal; color: #F97316; }
.ab-center { text-align: center; }
.ab-text {
    font-size: 0.9rem; color: #777;
    line-height: 1.8; margin-bottom: 1rem;
}
.ab-text strong { color: #fff; font-weight: 600; }

.ab-head { text-align: center; margin-bottom: 3rem; }
.ab-head-desc {
    font-size: 0.88rem; color: #666;
    max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ── Shared buttons ── */
.ab-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #F97316; color: #000;
    font-family: 'Sora', sans-serif;
    font-weight: 700; font-size: 0.875rem;
    padding: 13px 28px; border-radius: 10px; border: none;
    text-decoration: none; cursor: pointer;
    position: relative; overflow: hidden;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.ab-btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.45s;
}
.ab-btn-primary:hover::before { left: 100%; }
.ab-btn-primary:hover { background: #fb923c; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,0.4); }
.ab-btn-primary svg { transition: transform 0.2s; }
.ab-btn-primary:hover svg { transform: translateX(3px); }

.ab-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 600; font-size: 0.875rem;
    padding: 13px 28px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none; cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.ab-btn-ghost:hover { border-color: rgba(249,115,22,0.4); background: rgba(249,115,22,0.06); transform: translateY(-2px); }

/* ══════════ PAGE HERO ══════════ */
.ab-hero {
    position: relative;
    padding: 110px 2rem 80px;
    background: #0d0d0d;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(249,115,22,0.1);
}
.ab-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(249,115,22,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249,115,22,0.045) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}
.ab-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }

.ab-crumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; color: #555;
    margin-bottom: 1.25rem;
}
.ab-crumb a { color: #888; text-decoration: none; transition: color 0.2s; }
.ab-crumb a:hover { color: #F97316; }
.ab-crumb-current { color: #F97316; font-weight: 600; }

.ab-hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800; color: #fff;
    line-height: 1.1; margin-bottom: 1rem;
}
.ab-hero-title em { font-style: normal; color: #F97316; }
.ab-hero-sub {
    font-size: 0.95rem; color: #777;
    max-width: 540px; margin: 0 auto; line-height: 1.7;
}

/* ══════════ STORY ══════════ */
.ab-story { padding: 90px 2rem; background: #0a0a0a; position: relative; overflow: hidden; }
.ab-story-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

/* Photo column */
.ab-photo-col { position: relative; display: flex; justify-content: center; }

.ab-photo-deco {
    position: absolute;
    border: 1px solid rgba(249,115,22,0.18);
    border-radius: 26px;
    pointer-events: none;
}
.ab-photo-deco-1 { inset: -14px -14px 14px 14px; animation: floatY 6s ease-in-out infinite; }
.ab-photo-deco-2 { inset: 14px 14px -14px -14px; border-color: rgba(34,211,238,0.14); animation: floatY 8s ease-in-out infinite reverse; }

.ab-photo-frame {
    position: relative;
    width: 100%; max-width: 340px;
    aspect-ratio: 3 / 3.6;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(249,115,22,0.28);
    background: #121212;
    z-index: 1;
    animation: photoFloat 7s ease-in-out infinite;
}
.ab-photo {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    display: block;
    filter: grayscale(0.25);
    transition: filter 0.5s, transform 0.5s;
}
.ab-photo-frame:hover .ab-photo { filter: grayscale(0); transform: scale(1.04); }
.ab-photo-glow {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(249,115,22,0.18) 100%);
    pointer-events: none;
}

.ab-photo-badge {
    position: absolute;
    bottom: 18px; left: 0;
    display: flex; align-items: center; gap: 8px;
    background: #F97316; color: #000;
    padding: 10px 16px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(249,115,22,0.35);
    z-index: 2;
    animation: chipFloat1 4s ease-in-out infinite;
}
.ab-badge-num { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; line-height: 1; }
.ab-badge-txt { font-size: 0.63rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; }

.ab-float-chip {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    background: rgba(20,20,20,0.94);
    border: 1px solid rgba(249,115,22,0.22);
    backdrop-filter: blur(10px);
    padding: 10px 14px;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.ab-float-chip b { display: block; font-size: 0.78rem; color: #fff; font-weight: 600; }
.ab-float-chip i { display: block; font-size: 0.66rem; color: #777; font-style: normal; }
.ab-chip-ico {
    width: 30px; height: 30px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 8px;
    background: rgba(249,115,22,0.12);
    font-size: 0.9rem;
}
.ab-chip-1 { top: 12%; right: -6%; animation: chipFloat1 5s ease-in-out infinite; }
.ab-chip-2 { bottom: 26%; right: -10%; animation: chipFloat2 6.5s ease-in-out infinite; }

/* Info grid */
.ab-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.5rem;
    margin: 1.75rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ab-info { display: flex; flex-direction: column; gap: 3px; }
.ab-info-label {
    font-size: 0.66rem; text-transform: uppercase;
    letter-spacing: 0.1em; color: #555; font-weight: 600;
}
.ab-info-value { font-size: 0.85rem; color: #ddd; font-weight: 500; }
.ab-info-value a { color: #F97316; text-decoration: none; transition: opacity 0.2s; }
.ab-info-value a:hover { opacity: 0.75; }
.ab-open { color: #4ade80 !important; }

.ab-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ══════════ STATS ══════════ */
.ab-stats {
    padding: 70px 2rem;
    background: #0d0d0d;
    border-top: 1px solid rgba(249,115,22,0.1);
    border-bottom: 1px solid rgba(249,115,22,0.1);
}
.ab-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.ab-stat {
    text-align: center;
    padding: 1.75rem 1rem;
    background: linear-gradient(150deg, #121212, #171717);
    border: 1px solid rgba(249,115,22,0.16);
    border-radius: 16px;
    transition: border-color 0.3s, transform 0.3s;
}
.ab-stat:hover { border-color: rgba(249,115,22,0.45); transform: translateY(-4px); }
.ab-stat-num {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, #F97316, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.ab-stat-label {
    display: block;
    font-size: 0.72rem; color: #666;
    text-transform: uppercase; letter-spacing: 0.09em;
    font-weight: 600; margin-top: 0.4rem;
}

/* ══════════ VALUES ══════════ */
.ab-values { padding: 90px 2rem; background: #0a0a0a; }
.ab-val-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.ab-val-card {
    background: linear-gradient(150deg, #111, #161616);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.ab-val-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, var(--vc, #F97316) 0%, transparent 70%);
    opacity: 0.07;
    pointer-events: none;
    transition: opacity 0.3s;
}
.ab-val-card:hover { border-color: var(--vc, #F97316); transform: translateY(-5px); }
.ab-val-card:hover::before { opacity: 0.16; }
.ab-val-ico {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s, border-color 0.3s;
}
.ab-val-card:hover .ab-val-ico { transform: scale(1.1) rotate(-6deg); border-color: var(--vc, #F97316); }
.ab-val-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: #fff; margin-bottom: 0.45rem;
}
.ab-val-desc { font-size: 0.82rem; color: #666; line-height: 1.7; }

/* ══════════ TIMELINE ══════════ */
.ab-journey { padding: 90px 2rem; background: #0d0d0d; position: relative; overflow: hidden; }
.ab-timeline { position: relative; max-width: 860px; margin: 0 auto; }

.ab-tl-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.07);
    overflow: hidden;
}
.ab-tl-fill {
    display: block; width: 100%; height: 0;
    background: linear-gradient(180deg, #F97316, #fb923c);
    transition: height 0.15s linear;
}

.ab-tl-item {
    position: relative;
    width: 50%;
    padding: 0 2.5rem 2.5rem 0;
    display: flex;
    justify-content: flex-end;
}
/* .ab-tl-line is the first child, so items start at nth-child(2) —
   odd children are therefore the 2nd, 4th, 6th entries. */
.ab-tl-item:nth-child(odd) { margin-left: 50%; padding: 0 0 2.5rem 2.5rem; justify-content: flex-start; }

.ab-tl-dot {
    position: absolute;
    top: 22px; right: -7px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #0d0d0d;
    border: 2px solid rgba(249,115,22,0.4);
    z-index: 2;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ab-tl-item:nth-child(odd) .ab-tl-dot { right: auto; left: -7px; }
.ab-tl-item.visible .ab-tl-dot { background: #F97316; border-color: #F97316; box-shadow: 0 0 0 5px rgba(249,115,22,0.15); }
.ab-tl-item.is-current .ab-tl-dot { animation: pulse 2s ease-in-out infinite; }

.ab-tl-card {
    background: linear-gradient(150deg, #121212, #171717);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1.35rem 1.5rem;
    max-width: 380px;
    transition: border-color 0.3s, transform 0.3s;
}
.ab-tl-card:hover { border-color: rgba(249,115,22,0.4); transform: translateY(-3px); }
.ab-tl-item.is-current .ab-tl-card { border-color: rgba(249,115,22,0.35); }

.ab-tl-year {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 0.7rem; font-weight: 700;
    color: #F97316;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.25);
    padding: 3px 10px; border-radius: 999px;
    margin-bottom: 0.6rem;
}
.ab-tl-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.98rem; font-weight: 700;
    color: #fff; margin-bottom: 0.2rem;
}
.ab-tl-org { display: block; font-size: 0.72rem; color: #F97316; margin-bottom: 0.5rem; font-weight: 500; }
.ab-tl-desc { font-size: 0.8rem; color: #666; line-height: 1.65; }

/* ══════════ SKILLS ══════════ */
.ab-skills { padding: 90px 2rem; background: #0a0a0a; }
.ab-skill-cats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}
.ab-skill-cat {
    background: linear-gradient(150deg, #111, #161616);
    border: 1px solid rgba(249,115,22,0.14);
    border-radius: 16px;
    padding: 1.6rem 1.5rem;
    transition: border-color 0.3s;
}
.ab-skill-cat:hover { border-color: rgba(249,115,22,0.4); }
.ab-skill-cat-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 0.9rem; margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ab-skill-cat-head h3 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    color: #fff; text-transform: capitalize;
}
.ab-skill-count {
    font-size: 0.68rem; color: #F97316;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.25);
    padding: 2px 9px; border-radius: 999px; font-weight: 700;
}

.ab-skill { margin-bottom: 0.95rem; }
.ab-skill:last-child { margin-bottom: 0; }
.ab-skill-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.ab-skill-name { font-size: 0.82rem; color: #ddd; font-weight: 500; display: flex; align-items: center; }
.ab-skill-ico { margin-right: 7px; font-size: 0.9rem; }
.ab-skill-pct { font-size: 0.72rem; color: #666; font-weight: 600; }
.ab-skill-bar {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
    overflow: hidden;
}
.ab-skill-bar > i {
    display: block; height: 100%; width: 0;
    border-radius: 999px;
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ══════════ CTA ══════════ */
.ab-cta { padding: 0 2rem 90px; background: #0a0a0a; }
.ab-cta-banner {
    background: linear-gradient(110deg, #111 0%, #161616 50%, #111 100%);
    border: 1px solid rgba(249,115,22,0.2);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
    position: relative; overflow: hidden;
    transition: border-color 0.3s;
}
.ab-cta-banner:hover { border-color: rgba(249,115,22,0.45); }
.ab-cta-banner::before {
    content: ''; position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.ab-cta-banner::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249,115,22,0.3), transparent);
}
.ab-cta-text h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    color: #fff; margin-bottom: 0.4rem;
}
.ab-cta-text h3 em { font-style: normal; color: #F97316; }
.ab-cta-text p { font-size: 0.85rem; color: #666; max-width: 420px; line-height: 1.6; }
.ab-cta-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
    .ab-story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .ab-photo-col { max-width: 380px; margin: 0 auto; }
    .ab-val-grid { grid-template-columns: repeat(2, 1fr); }
    .ab-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    /* Timeline collapses to a single left rail */
    .ab-tl-line { left: 7px; transform: none; }
    .ab-tl-item,
    .ab-tl-item:nth-child(odd) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 2rem 2.25rem;
        justify-content: flex-start;
    }
    .ab-tl-dot,
    .ab-tl-item:nth-child(odd) .ab-tl-dot { left: 0; right: auto; }
    .ab-tl-card { max-width: 100%; }
}

@media (max-width: 640px) {
    .ab-hero { padding: 80px 1.25rem 60px; }
    .ab-story, .ab-values, .ab-journey, .ab-skills { padding: 60px 1.25rem; }
    .ab-cta { padding: 0 1.25rem 60px; }
    .ab-stats { padding: 50px 1.25rem; }
    .ab-val-grid { grid-template-columns: 1fr; }
    .ab-info-grid { grid-template-columns: 1fr; }
    .ab-cta-banner { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
    .ab-cta-btns { width: 100%; }
    .ab-btn-primary, .ab-btn-ghost { width: 100%; justify-content: center; }
    /* Floating chips crowd the photo on small screens */
    .ab-float-chip { display: none; }
    .ab-photo-deco { display: none; }
}

@media (max-width: 400px) {
    .ab-stats-grid { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .ab-rv { opacity: 1; transform: none; transition: none; }
    .ab-blob, .ab-photo-frame, .ab-float-chip, .ab-photo-badge, .ab-photo-deco { animation: none; }
    .ab-skill-bar > i { transition: none; }
}
