/* Profile page styles (Task 8) - dark cockpit theme, matches app-extra.css tokens */

@view-transition {
    navigation: auto;
}

.tcp-wrap {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1rem;
}

.tc-profile-head {
    margin-bottom: 1.5rem;
}

.tc-profile-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tc-avail-chip {
    display: inline-block;
    border: 1px solid var(--tc-glass-border);
    border-radius: 999px;
    background: var(--tc-glass);
    color: var(--tc-accent-soft);
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
}

.tc-profile-name {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
    color: #F8FAFC;
    letter-spacing: -0.02em;
}

.tc-profile-headline {
    margin: 0.4rem 0 0;
    font-size: 1.05rem;
    color: var(--tc-text);
}

.tc-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.1rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--tc-glass-border);
    border-radius: 12px;
    background: var(--tc-glass);
}

.tc-profile-meta div {
    min-width: 0;
}

.tc-profile-meta dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tc-muted);
}

.tc-profile-meta dd {
    margin: 0.15rem 0 0;
    color: var(--tc-text);
}

.tc-contact {
    margin-top: 1.1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.10);
}

.tc-contact-list {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.tc-contact-label {
    display: inline-block;
    min-width: 4rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tc-muted);
}

.tc-contact-value {
    color: var(--tc-accent-soft);
    text-decoration: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
}

a.tc-contact-value:hover {
    text-decoration: underline;
}

.tc-section-title {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tc-muted);
}

.tc-panel {
    border: 1px solid var(--tc-glass-border);
    border-radius: 16px;
    background: var(--tc-glass);
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.25rem;
}

.tc-summary {
    margin: 0;
    color: var(--tc-text);
    font-size: 0.95rem;
}

.tc-ai-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.9rem 0 0;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.4);
    background: rgba(167, 139, 250, 0.10);
    color: #C4B5FD;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.tc-ai-note svg {
    width: 13px;
    height: 13px;
}

.tc-skill-group + .tc-skill-group {
    margin-top: 0.9rem;
}

.tc-skill-heading {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    color: var(--tc-accent-soft);
}

.tc-profile-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.tc-profile-cols .tc-panel {
    margin-bottom: 0;
}

.tc-profile-cols + .tc-profile-cols {
    margin-top: 1.25rem;
}

.tc-edu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.tc-edu-institution {
    margin: 0;
    color: #F1F5F9;
    font-weight: 600;
    font-size: 0.92rem;
}

.tc-edu-qualification {
    margin: 0.1rem 0 0;
    color: var(--tc-body);
    font-size: 0.85rem;
}

.tc-edu-extra {
    margin: 0.25rem 0 0;
    display: flex;
    gap: 0.75rem;
    color: var(--tc-muted);
    font-size: 0.78rem;
}

.tc-cgpa {
    color: #FACC15;
    font-weight: 600;
}

.tc-cv-frame {
    display: block;
    width: 100%;
    height: 640px;
    border: 1px solid var(--tc-glass-border);
    border-radius: 12px;
    background: #fff;
}

.tc-cv-fallback.tc-cv-actions {
    margin-top: 0.75rem;
    padding: 0;
    text-align: left;
}

/* Footer + privacy note */

.tc-footer--extended {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--tc-line);
    padding: 1.25rem;
    text-align: center;
    display: grid;
    gap: 0.35rem;
}

.tc-footer--extended p {
    margin: 0;
}

.tc-footer-credit {
    color: var(--tc-text);
    font-size: 0.85rem;
}

.tc-footer-credit a {
    color: var(--tc-accent-soft);
    text-decoration: none;
    font-weight: 600;
}

.tc-footer-credit a:hover {
    text-decoration: underline;
}

.tc-footer-privacy {
    color: var(--tc-muted);
    font-size: 0.78rem;
}

.tc-privacy-note {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 1.25rem auto;
    padding: 1rem 1.4rem;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    color: var(--tc-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.tc-privacy-note p {
    margin: 0.35rem 0 0;
}

.tc-privacy-note a {
    color: var(--tc-accent-soft);
}

/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 720px) {
    .tcp-wrap {
        padding-top: 1.5rem;
    }

    .tc-profile-name {
        font-size: 1.5rem;
    }

    .tc-profile-cols {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .tc-cv-frame {
        height: 460px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}