@charset "UTF-8";

/* ===================================================
 * @module about-page | @vars --tv-* (20개)
 * @pair /about 페이지 (HTML 블록 html_codes/about-*.html)
 * @flow About page hero, profile, sections styling
 *
 * 사용자 자주 조정 포인트:
 *   - :root --tv-*: 라이트 변수 (배경/텍스트/액센트)
 *   - body.dark-theme --tv-*: 다크 재할당
 *   - .tv-inner padding: 120px 36px
 *   - .tv-eyebrow font-size: 16px
 *   - .tv-section-title font-size: 63px
 * =================================================== */

/* =====================================================
   THIRD VAULT - ABOUT PAGE UNIFIED STYLES
   (1.5x Scaled Up, Dark Mode Fix, Dynamic Hover, Justify, Profile Resize, Advanced Responsive)
===================================================== */

:root {
    --tv-bg-main: #f9f9f9;
    --tv-bg-card: #ffffff;
    --tv-border: rgba(0, 0, 0, 0.08);
    --tv-text-main: #111111;
    --tv-text-sub: #555555;
    --tv-text-muted: #999999;
    --tv-accent: #0361B7;
    --tv-accent-rgb: 3, 97, 183;
    --tv-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --tv-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
}

body.dark-theme {
    --tv-bg-main: var(--bg-main, #121212);
    --tv-bg-card: var(--bg-panel, #1e1e1e);
    --tv-border: var(--border-main, #333333);
    --tv-text-main: var(--text-main, #eeeeee);
    --tv-text-sub: var(--text-soft, #aaaaaa);
    --tv-text-muted: var(--text-muted, #777777);
    --tv-accent: var(--link-entry, #8be9fd);
    --tv-accent-rgb: 139, 233, 253;
    --tv-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --tv-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.tv-about-wrapper {
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: var(--tv-text-main);
    line-height: 1.6;
    overflow-x: clip;
    padding-bottom: 120px;
}

.tv-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 120px 36px;
}

.tv-accent {
    color: var(--tv-accent);
    transition: color 0.3s;
}

.tv-eyebrow {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tv-accent);
    margin-bottom: 18px;
}

.tv-section-title {
    font-family: 'Rockstar-ExtraBold', 'Pretendard', sans-serif;
    font-size: 63px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 36px 0;
    line-height: 1.1;
}

/* =====================================================
   1. Hero & Glitch Title & Badge Bounce
===================================================== */
.tv-hero-section .tv-inner {
    text-align: center;
    padding-top: 90px;
}

.tv-badge-wrap {
    margin-bottom: 30px;
}

.tv-badge {
    display: inline-block;
    padding: 9px 21px;
    border: 1px solid var(--tv-border);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--tv-text-sub);
    animation: tv-badge-bounce 3s ease-in-out infinite;
}

@keyframes tv-badge-bounce {

    0%,
    100% {
        transform: translateY(0);
        border-color: var(--tv-border);
        color: var(--tv-text-sub);
    }

    50% {
        transform: translateY(-8px);
        border-color: var(--tv-accent);
        color: var(--tv-accent);
        box-shadow: 0 6px 18px rgba(var(--tv-accent-rgb), 0.2);
    }
}

.tv-hero-title {
    font-family: 'Rockstar-ExtraBold', 'Pretendard', sans-serif;
    font-size: 96px;
    font-weight: 900;
    margin: 0 0 45px 0;
    letter-spacing: -0.02em;
}

.tv-glitch {
    position: relative;
    display: inline-block;
    color: var(--tv-text-main);
}

.tv-glitch::before,
.tv-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.tv-glitch::before {
    left: 3px;
    text-shadow: -3px 0 red;
    clip-path: inset(100% 0 0 0);
    animation: tv-glitch-anim 3s infinite linear alternate-reverse;
}

.tv-glitch::after {
    left: -3px;
    text-shadow: -3px 0 cyan;
    clip-path: inset(100% 0 0 0);
    animation: tv-glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes tv-glitch-anim {

    0%,
    80% {
        clip-path: inset(100% 0 0 0);
        transform: translate(0);
    }

    82% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-3px, 2px);
    }

    84% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(3px, -2px);
    }

    86% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 3px);
    }

    88% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -3px);
    }

    90%,
    100% {
        clip-path: inset(100% 0 0 0);
        transform: translate(0);
    }
}

.tv-hero-desc {
    max-width: 1140px;
    margin: 0 auto 60px;
    font-size: 24px;
    line-height: 1.8;
    color: var(--tv-text-sub);
    word-break: keep-all;
    text-align: justify;
}

.tv-tags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.tv-tags-grid span {
    padding: 9px 21px;
    background: rgba(var(--tv-accent-rgb), 0.05);
    border: 1px solid rgba(var(--tv-accent-rgb), 0.15);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--tv-accent);
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s, box-shadow 0.3s;
}

.tv-tags-grid span:hover {
    transform: translateY(-6px) scale(1.05);
    background: var(--tv-accent);
    color: #fff;
    box-shadow: 0 9px 22px rgba(var(--tv-accent-rgb), 0.35);
}

/* =====================================================
   2 & 3. Split Layout (Profile & Logo)
===================================================== */
.tv-split-layout {
    display: flex;
    align-items: center;
    gap: 90px;
}

.tv-split-layout.reverse {
    flex-direction: row-reverse;
}

.tv-profile-visual,
.tv-logo-visual {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tv-profile-content,
.tv-logo-content {
    flex: 1;
}

.tv-blob-wrap {
    width: 336px;
    height: 336px;
    position: relative;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    animation: tv-blob 8s ease-in-out infinite;
    box-shadow: 0 0 45px rgba(var(--tv-accent-rgb), 0.2);
}

@keyframes tv-blob {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.tv-img-blob {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-email-btn {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--tv-bg-card);
    border: 1px solid var(--tv-border);
    border-radius: 36px;
    color: var(--tv-text-main);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.tv-email-btn:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--tv-accent);
    color: var(--tv-accent);
    box-shadow: 0 9px 30px rgba(var(--tv-accent-rgb), 0.2);
}

.tv-bio p,
.tv-desc {
    margin-bottom: 22px;
    font-size: 22px;
    text-align: justify;
    color: var(--tv-text-sub);
    word-break: keep-all;
}

.tv-bio-highlight {
    margin-top: 36px;
    padding: 24px 30px;
    border-left: 4px solid var(--tv-accent);
    background: rgba(var(--tv-accent-rgb), 0.05);
    font-weight: 600;
    color: var(--tv-text-main);
    word-break: keep-all;
}

.tv-disclaimer {
    font-size: 19px;
    color: var(--tv-text-muted);
    margin-top: 30px;
}

/* 3D 로고 애니메이션 및 틸트 */
.tv-3d-wrap {
    perspective: 1500px;
    animation: tv-float 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes tv-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

.tv-site-logo-img {
    max-width: 360px;
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), filter 0.5s ease;
}

.tv-3d-wrap:hover .tv-site-logo-img {
    transform: scale(1.15) rotateX(15deg) rotateY(-15deg);
    filter: drop-shadow(22px 37px 60px rgba(0, 0, 0, 0.25));
}

/* 다크테마 로고 반전 오버라이드 */
body.dark-theme .tv-about-wrapper .tv-site-logo-img,
body.dark-theme .entry-content .tv-about-wrapper .tv-site-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 22px 45px rgba(255, 255, 255, 0.15)) !important;
}

body.dark-theme .tv-about-wrapper .tv-3d-wrap:hover .tv-site-logo-img,
body.dark-theme .entry-content .tv-about-wrapper .tv-3d-wrap:hover .tv-site-logo-img {
    filter: brightness(0) invert(1) drop-shadow(22px 37px 60px rgba(255, 255, 255, 0.25)) !important;
}

/* =====================================================
   4. Unified Timeline (History & Philosophy)
===================================================== */
.tv-timeline-section {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.02), transparent);
    border-top: 1px solid var(--tv-border);
    border-bottom: 1px solid var(--tv-border);
}

body.dark-theme .tv-timeline-section {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.tv-timeline-header {
    text-align: center;
    margin-bottom: 90px;
}

.tv-track-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 75px;
}

.tv-track-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 36px;
    width: 3px;
    background: var(--tv-border);
    border-radius: 3px;
    overflow: hidden;
}

.tv-track-energy {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--tv-accent), transparent);
    animation: tv-energy-flow 4s infinite linear;
}

@keyframes tv-energy-flow {
    0% {
        top: -150px;
        opacity: 0;
    }

    20%,
    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.tv-track-label {
    position: relative;
    margin: 0 0 45px -45px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--tv-text-muted);
    background: var(--tv-bg-main);
    display: inline-block;
    padding: 6px 18px;
    border-radius: 6px;
    z-index: 2;
}

.tv-track-item {
    position: relative;
    margin-bottom: 60px;
}

.tv-track-item:last-child {
    margin-bottom: 0;
}

.tv-track-node {
    position: absolute;
    left: -48px;
    top: 45px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--tv-bg-card);
    border: 3px solid var(--tv-accent);
    z-index: 2;
    box-shadow: 0 0 15px rgba(var(--tv-accent-rgb), 0.4);
}

.tv-track-node.is-philosophy::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--tv-accent);
    animation: tv-ping 2s infinite ease-out;
}

@keyframes tv-ping {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.tv-card {
    display: flex;
    background: var(--tv-bg-card);
    border: 1px solid var(--tv-border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    box-shadow: var(--tv-shadow);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

a.tv-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--tv-shadow-hover);
    border-color: var(--tv-accent);
}

.tv-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: var(--tv-accent);
    opacity: 0;
    transform: scaleY(0.5);
    transition: all 0.3s ease;
    z-index: 5;
}

a.tv-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.tv-card-visual {
    width: 330px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.tv-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

a.tv-card:hover .tv-card-visual img {
    transform: scale(1.08);
}

.tv-card-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 2;
}

.tv-card-body {
    padding: 36px 45px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tv-card-body h3 {
    font-family: 'Rockstar-ExtraBold', 'Pretendard', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px 0;
    transition: color 0.3s;
}

a.tv-card:hover .tv-card-body h3 {
    color: var(--tv-accent);
}

.tv-card-intro {
    font-size: 22px;
    font-weight: 600;
    color: var(--tv-accent);
    margin-bottom: 18px;
}

.tv-card-body p {
    font-size: 18px;
    color: var(--tv-text-sub);
    margin: 0;
    line-height: 1.6;
    word-break: keep-all;
    white-space: normal;
}

.tv-card.is-text-only {
    align-items: center;
    padding-left: 15px;
}

.tv-card-num {
    font-family: 'Rockstar-ExtraBold', 'Pretendard', sans-serif;
    font-size: 72px;
    font-weight: 900;
    color: rgba(var(--tv-accent-rgb), 0.1);
    padding: 0 30px 0 45px;
    user-select: none;
}

/* =====================================================
   5. Update Info
===================================================== */
.tv-update-section {
    text-align: center;
    padding: 60px 0 0;
}

.tv-update-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--tv-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tv-pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--tv-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(var(--tv-accent-rgb), 0.5);
    animation: tv-pulse 2s infinite;
}

@keyframes tv-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--tv-accent-rgb), 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--tv-accent-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--tv-accent-rgb), 0);
    }
}

/* =====================================================
   Responsive Adjustments (Tablet & Mobile Optimized)
===================================================== */

/* 💻 Tablet & Small Desktop (Max 1200px) */
@media (max-width: 1200px) {
    .tv-inner {
        padding: 90px 30px;
    }

    .tv-split-layout {
        gap: 50px;
    }

    .tv-hero-title {
        font-size: 76px;
    }

    .tv-section-title {
        font-size: 52px;
    }

    .tv-hero-desc {
        font-size: 20px;
    }

    .tv-blob-wrap {
        width: 280px;
        height: 280px;
    }

    .tv-site-logo-img {
        max-width: 280px;
    }

    .tv-card-visual {
        width: 270px;
    }

    .tv-card-body h3 {
        font-size: 30px;
    }

    .tv-card-intro,
    .tv-bio p,
    .tv-desc {
        font-size: 18px;
    }
}

/* 📱 Smartphone (Max 768px) - 가독성 및 여백 최적화 */
@media (max-width: 768px) {
    .tv-about-wrapper {
        padding-bottom: 60px;
    }

    .tv-inner {
        padding: 60px 20px;
    }

    .tv-eyebrow {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .tv-hero-title {
        font-size: 46px;
        margin-bottom: 30px;
    }

    .tv-section-title {
        font-size: 34px;
        margin-bottom: 24px;
    }

    /* 💡 모바일 텍스트 정렬 이슈 해결 (양끝 정렬 해제 -> 좌측 정렬) */
    .tv-hero-desc,
    .tv-bio p,
    .tv-desc,
    .tv-bio-highlight,
    .tv-card-body p {
        font-size: 16px;
        line-height: 1.65;
        text-align: left;
        /* 양끝 정렬(justify)로 인한 자간 벌어짐 방지 */
        word-break: keep-all;
    }

    .tv-hero-desc {
        margin-bottom: 45px;
    }

    .tv-bio-highlight {
        padding: 18px 20px;
        margin-top: 24px;
    }

    .tv-tags-grid {
        gap: 8px;
    }

    .tv-tags-grid span {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* 레이아웃 세로 정렬 */
    .tv-split-layout,
    .tv-split-layout.reverse {
        flex-direction: column;
        text-align: center;
        gap: 45px;
    }

    /* 요소들 크기 모바일에 맞게 다운사이징 */
    .tv-blob-wrap {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .tv-site-logo-img {
        max-width: 200px;
    }

    .tv-email-btn {
        margin-top: 24px;
        padding: 10px 24px;
        font-size: 15px;
    }

    /* 타임라인 연혁/철학 모바일 최적화 */
    .tv-timeline-header {
        margin-bottom: 50px;
    }

    .tv-track-container {
        padding-left: 36px;
    }

    .tv-track-line {
        left: 18px;
        width: 2px;
    }

    .tv-track-label {
        margin-left: -18px;
        font-size: 14px;
        padding: 4px 12px;
        margin-bottom: 30px;
    }

    .tv-track-node {
        left: -26px;
        width: 14px;
        height: 14px;
        top: 28px;
        border-width: 2px;
    }

    .tv-track-node.is-philosophy::before {
        inset: -4px;
        border-width: 1px;
    }

    .tv-track-item {
        margin-bottom: 40px;
    }

    .tv-card {
        flex-direction: column;
        height: auto;
        border-radius: 12px;
    }

    .tv-card-visual {
        width: 100%;
        height: 240px;
    }

    .tv-card-badge {
        top: 12px;
        left: 12px;
        font-size: 12px;
        padding: 4px 8px;
    }

    .tv-card-body {
        padding: 24px;
    }

    .tv-card-body h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .tv-card-intro {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .tv-card.is-text-only {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
    }

    .tv-card-num {
        padding: 24px 24px 0;
        font-size: 48px;
    }

    /* 하단 업데이트 정보 */
    .tv-update-section {
        padding: 40px 0 0;
    }

    .tv-update-text {
        font-size: 13px;
        gap: 8px;
    }

    .tv-pulse-dot {
        width: 8px;
        height: 8px;
    }
}