/* Profile Pattern — sagaksagak theme */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

.pf-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background: #fff;
}

.pf-box {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 24px;
}

.pf-p6  { padding: 24px; }
.pf-p8  { padding: 32px; }
.pf-p10 { padding: 32px 40px; }

.pf-section-title {
    font-size: 15px;
    font-weight: 800;
    padding-left: 12px;
    border-left: 3px solid #00C73C;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

/* Hero */
.pf-hero { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.pf-avatar-wrap { position: relative; flex-shrink: 0; }
.pf-avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.12), 0 4px 6px -4px rgba(0,0,0,.08);
    background: #e5e5e5;
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-avatar-badge {
    position: absolute;
    bottom: -8px; right: -8px;
    background: #00C73C;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.12);
}
.pf-info { flex: 1; min-width: 0; }
.pf-name-row { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pf-name { font-size: 22px; font-weight: 900; letter-spacing: -0.025em; }
.pf-handle { color: #9ca3af; font-size: 12px; font-family: monospace; padding-bottom: 2px; }
.pf-tagline { font-size: 14px; font-weight: 500; color: #374151; line-height: 1.7; margin-bottom: 16px; }
.pf-tagline-sub { font-size: 13px; font-weight: 400; color: #6b7280; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tag { padding: 4px 12px; background: #f5f5f5; font-size: 11px; font-weight: 700; color: #555; border-radius: 4px; }

/* Grid */
.pf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.pf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; align-items: stretch; }
.pf-grid-3 .pf-box,
.pf-grid-2 .pf-box { margin-bottom: 0; }
.pf-grid-2 .pf-box { display: flex; flex-direction: column; }
.pf-grid-2 .pf-box > *:last-child { flex: 1; }

/* Core Values */
.pf-value-card { text-align: center; padding: 24px 16px; }
.pf-value-icon {
    width: 44px; height: 44px;
    background: #f0fdf4; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.pf-value-title { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.pf-value-desc { font-size: 12px; color: #6b7280; line-height: 1.6; }

/* Numbers */
.pf-num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.pf-num-value { font-size: 36px; font-weight: 900; line-height: 1; }
.pf-num-label { font-size: 11px; color: #888; margin-top: 8px; font-weight: 600; }

/* Experience */
.pf-exp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.pf-exp-row { display: flex; gap: 12px; }
.pf-exp-badge { font-size: 11px; font-weight: 700; padding-top: 2px; flex-shrink: 0; }
.pf-exp-title { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.pf-exp-sub { font-size: 12px; color: #6b7280; }

/* Timeline */
.pf-timeline { display: flex; flex-direction: column; }
.pf-timeline-item {
    position: relative;
    padding-left: 24px;
    padding-bottom: 20px;
    border-left: 1px solid #e5e5e5;
    font-size: 13px;
}
.pf-timeline-item:last-child { padding-bottom: 0; border-left: none; }
.pf-timeline-item::before {
    content: '';
    position: absolute;
    left: -5px; top: 5px;
    width: 9px; height: 9px;
    background: #00C73C;
    border-radius: 50%;
}
.pf-timeline-title { font-weight: 700; margin-bottom: 2px; }
.pf-timeline-sub { font-size: 12px; color: #6b7280; }

/* Thesis */
.pf-thesis-inner { padding: 16px; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; }
.pf-thesis-badge { font-size: 11px; color: #00C73C; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.05em; text-transform: uppercase; }
.pf-thesis-title { font-weight: 700; color: #1f2937; font-style: italic; font-size: 14px; }
.pf-thesis-sub { font-size: 12px; color: #6b7280; margin-top: 4px; }

/* Story */
.pf-story-wrap { position: relative; }
.pf-story-deco { position: absolute; top: 32px; right: 32px; font-size: 60px; color: #00C73C; opacity: 0.08; pointer-events: none; line-height: 1; }

/* Prose */
.pf-prose { line-height: 1.9; color: #4b5563; font-size: 13px; }
.pf-prose p { margin: 0 0 16px; }
.pf-prose p:last-child { margin-bottom: 0; }

/* CTA */
.pf-cta {
    background: #111; color: #fff;
    border-radius: 8px; padding: 32px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; flex-wrap: wrap;
    margin-bottom: 24px;
}
.pf-cta-title { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.pf-cta-desc { font-size: 13px; color: #aaa; line-height: 1.6; }
.pf-cta-btn {
    display: inline-block;
    background: #00C73C; color: #fff;
    padding: 12px 24px; border-radius: 6px;
    font-weight: 800; font-size: 14px;
    text-decoration: none; white-space: nowrap;
}
.pf-cta-btn:hover,
.pf-cta-btn:focus { background: #00a832; color: #fff; text-decoration: none; }

/* Sidebar profile hide */
.page-template-page-profile-php .profile-wrap { display: none !important; }

/* Mobile */
@media (max-width: 640px) {
    .pf-wrap { padding: 24px 16px; }
    .pf-hero { flex-direction: column; text-align: center; }
    .pf-tags { justify-content: center; }
    .pf-grid-3 { grid-template-columns: 1fr; }
    .pf-grid-2 { grid-template-columns: 1fr; }
    .pf-cta { flex-direction: column; text-align: center; padding: 24px; }
    .pf-cta-btn { width: 100%; text-align: center; display: block; }
}
