/* ============================================================
   About Page — Cybersecurity / Engineer Profile Stylesheet
   Loaded only on page-about.hbs, does not affect other pages
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --ab-bg:          #ffffff;
    --ab-card:        #f6f8fa;
    --ab-border:      #d0d7de;
    --ab-green:       #22c55e;
    --ab-green-dim:   rgba(34, 197, 94, 0.10);
    --ab-text:        #15171a;
    --ab-text-muted:  #6e7781;
    --ab-radius:      8px;
    --ab-mono:        "JetBrains Mono", "Fira Code", "Cascadia Code", ui-monospace, monospace;
    --ab-sans:        Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Page shell ---------- */
.about-page {
    background: var(--ab-bg);
    color: var(--ab-text);
    font-family: var(--ab-sans);
    min-height: 100vh;
}

/* ---------- Shared layout ---------- */
.about-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section headers — terminal style ---------- */
.about-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 32px;
    font-family: var(--ab-mono);
    font-size: 1.3rem;
    color: var(--ab-green);
    letter-spacing: 0.02em;
}
.about-section-header::before {
    content: "$";
    opacity: 0.5;
}
.about-section-header::after {
    content: "";
    display: block;
    flex: 1;
    height: 1px;
    background: var(--ab-border);
}

/* ---------- Hero ---------- */
.about-hero {
    padding: 80px 0 72px;
    border-bottom: 1px solid var(--ab-border);
}

.about-profile {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Avatar */
.about-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.about-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--ab-border);
    box-shadow: 0 0 0 4px var(--ab-green-dim);
}
.about-status-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 14px;
    height: 14px;
    background: var(--ab-green);
    border-radius: 50%;
    border: 2px solid var(--ab-bg);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse-dot 2.5s ease-out infinite;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Identity */
.about-identity {
    padding-top: 4px;
}
.about-prompt {
    font-family: var(--ab-mono);
    font-size: 1.2rem;
    color: var(--ab-text-muted);
    margin-bottom: 8px;
}
.about-prompt .prompt-sym {
    color: var(--ab-green);
    margin-right: 6px;
}
.about-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--ab-text);
    margin: 0 0 6px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.about-title {
    font-family: var(--ab-mono);
    font-size: 1.35rem;
    color: var(--ab-text-muted);
    margin: 0 0 12px;
}
.about-title .sep {
    margin: 0 6px;
    color: var(--ab-border);
}
.about-location {
    font-size: 1.3rem;
    color: var(--ab-text-muted);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Social links */
.about-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.about-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--ab-card);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius);
    color: var(--ab-text-muted);
    font-family: var(--ab-mono);
    font-size: 1.2rem;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.about-social-link:hover {
    border-color: var(--ab-green);
    color: var(--ab-green);
    text-decoration: none;
}
.about-social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ---------- Sections common ---------- */
.about-section {
    padding: 64px 0;
    border-bottom: 1px solid var(--ab-border);
}
.about-section:last-child {
    border-bottom: none;
}

/* ---------- Bio ---------- */
.about-bio p {
    font-size: 1.7rem;
    line-height: 1.85;
    color: var(--ab-text-muted);
    margin: 0 0 16px;
}
.about-bio p:last-child { margin-bottom: 0; }
.about-bio strong { color: var(--ab-text); font-weight: 600; }
.about-bio a { color: var(--ab-green); text-decoration: none; }
.about-bio a:hover { text-decoration: underline; }

/* ---------- Gear list ---------- */
.about-gear-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.about-gear-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    color: var(--ab-text-muted);
}
.about-gear-list li::before {
    content: "▸";
    font-family: var(--ab-mono);
    color: var(--ab-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.about-gear-name {
    font-family: var(--ab-mono);
    font-weight: 600;
    color: var(--ab-text);
}

/* ---------- Experience timeline ---------- */
.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--ab-border);
    margin-left: 8px;
    padding-left: 28px;
}
.about-timeline-item {
    position: relative;
    padding-bottom: 36px;
}
.about-timeline-item:last-child { padding-bottom: 0; }
.about-timeline-item::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ab-border);
    border: 2px solid var(--ab-bg);
    transition: background 0.15s;
}
.about-timeline-item:hover::before {
    background: var(--ab-green);
}
.about-timeline-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.about-timeline-period {
    font-family: var(--ab-mono);
    font-size: 1.15rem;
    color: var(--ab-green);
}
.about-timeline-org {
    font-size: 1.2rem;
    color: var(--ab-text-muted);
}
.about-timeline-role {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--ab-text);
    margin: 0 0 6px;
}
.about-timeline-desc {
    font-size: 1.5rem;
    line-height: 1.75;
    color: var(--ab-text-muted);
    margin: 0;
}

/* ---------- Talks ---------- */
.about-talks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.about-talk-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    background: var(--ab-card);
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.about-talk-item:hover {
    border-color: var(--ab-green);
    box-shadow: 0 0 0 3px var(--ab-green-dim);
}
.about-talk-conf {
    font-family: var(--ab-mono);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--ab-text);
}
.about-talk-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.about-talk-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.2rem;
    color: var(--ab-text-muted);
}
.about-talk-city svg {
    flex-shrink: 0;
    opacity: 0.6;
}
.about-talk-year {
    font-family: var(--ab-mono);
    font-size: 1.15rem;
    color: var(--ab-green);
    white-space: nowrap;
}

/* ---------- Contact ---------- */
.about-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.about-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-radius);
    color: var(--ab-text-muted);
    font-family: var(--ab-mono);
    font-size: 1.45rem;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.about-contact-link:hover {
    border-color: var(--ab-green);
    color: var(--ab-green);
    background: var(--ab-green-dim);
    text-decoration: none;
}
.about-contact-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}
.about-contact-link--primary {
    background: var(--ab-green);
    border-color: var(--ab-green);
    color: #ffffff;
    font-weight: 600;
}
.about-contact-link--primary:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .about-hero { padding: 48px 0 52px; }
    .about-profile { flex-direction: column; gap: 24px; }
    .about-avatar { width: 96px; height: 96px; }
    .about-name { font-size: 2.2rem; }
}
