/* profile.css - White + Orange Theme */

.reveal { opacity:0; transform:translateY(28px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* PAGE HERO - Light */
.page-hero {
  position: relative;
  background: var(--off-white);
  padding: 80px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(255,114,16,0.06) 0%, transparent 70%),
    linear-gradient(135deg, #fafaf9 0%, #fff7ed 100%);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,0,0,0.02) 1px,transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content {
  position: relative; z-index: 1;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 900;
  color: var(--text); line-height: 1.3;
  margin: 12px 0 16px;
  word-break: keep-all;
}
.page-hero-title .accent { color: var(--orange); }
.page-hero-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  word-break: keep-all;
}

/* CANDIDATE INTRO */
.candidate-intro {
  padding: 72px 0;
  background: var(--white);
}
.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.intro-photo { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.intro-photo-frame {
  width: 240px; height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--orange);
  box-shadow: var(--shadow-lg);
  background: var(--off-white);
  flex-shrink: 0;
}
.intro-photo-frame img { width:100%; height:100%; object-fit:contain; object-position: center bottom; }
.photo-ph {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-serif); font-size:52px; font-weight:900; color:var(--orange);
}
.intro-info-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 3px solid var(--orange);
  width: 100%;
  max-width: 300px;
}
.intro-info-card ul { display:flex; flex-direction:column; gap:10px; }
.intro-info-card li {
  display: flex; gap: 12px;
  font-size: 14px; color: var(--gray-600);
}
.info-label {
  font-weight: 700; color: var(--text);
  min-width: 36px; flex-shrink: 0;
}

.intro-text { display:flex; flex-direction:column; gap:16px; padding-left: 8px; }
.intro-text p {
  font-size: 15px; color: var(--gray-600);
  line-height: 1.9; word-break: keep-all;
}
.keyword-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.keyword-tags span {
  background: var(--orange);
  color: var(--white);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* TIMELINE */
.timeline-section {
  padding: 80px 0;
  background: var(--off-white);
}
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--gray-200));
}
.timeline-item {
  display: flex;
  gap: 24px;
  padding: 0 0 40px 0;
  position: relative;
}
.timeline-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-300, var(--gray-400));
  flex-shrink: 0;
  z-index: 1;
  margin-top: 4px;
  transition: all var(--transition);
}
.timeline-dot.gold {
  border-color: var(--orange);
  background: var(--orange);
}
.timeline-item:hover .timeline-dot { transform: scale(1.2); }
.timeline-year {
  display: none;
}
.timeline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  flex: 1;
  transition: all var(--transition);
  position: relative;
}
.timeline-card::before {
  content: '';
  position: absolute;
  top: 12px; left: -8px;
  width: 16px; height: 16px;
  background: var(--white);
  border-left: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  transform: rotate(45deg);
}
.timeline-item:hover .timeline-card {
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
  transform: translateX(4px);
}
.timeline-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text); background: var(--gray-100);
  padding: 3px 10px; border-radius: 10px;
  margin-bottom: 8px;
}
.timeline-badge.highlight {
  color: var(--white); background: var(--orange);
}
.timeline-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.timeline-card p {
  font-size: 13px; color: var(--gray-600);
  line-height: 1.7; word-break: keep-all;
}

/* ACHIEVEMENT - Orange accent on white */
.achievement-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.achievement-section .section-title { color: var(--text); }
.achievement-section .section-label { color: var(--orange); background: var(--orange-50); border-color: rgba(255,114,16,0.2); }
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
.achievement-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
}
.achievement-card:hover {
  background: rgba(255,114,16,0.05);
  border-color: rgba(255,114,16,0.3);
  transform: translateY(-4px);
}
.ach-num {
  font-family: var(--font-serif);
  font-size: 44px; font-weight: 900;
  color: var(--orange); line-height: 1;
  margin-bottom: 10px;
}
.ach-num small { font-size: 24px; }
.ach-label {
  font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.ach-desc {
  font-size: 12px; color: var(--gray-500);
  line-height: 1.5; word-break: keep-all;
}

/* VALUES */
.values-section {
  padding: 80px 0;
  background: var(--off-white);
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border-top: 4px solid var(--orange);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
  border-top: 4px solid var(--orange);
}
.value-card:hover {
  background: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value-card:hover h3, .value-card:hover p { color: var(--white); }
.value-icon { font-size: 36px; margin-bottom: 16px; }
.value-card h3 {
  font-size: 18px; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
  transition: color var(--transition);
}
.value-card p {
  font-size: 14px; color: var(--gray-600);
  line-height: 1.8; word-break: keep-all;
  transition: color var(--transition);
}

/* PROFILE CTA */
.profile-cta {
  padding: 72px 0;
  background: var(--orange);
}
.profile-cta-inner {
  text-align: center;
}
.profile-cta-inner h2 {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 900;
  color: var(--white); margin-bottom: 12px;
  word-break: keep-all;
}
.profile-cta-inner p {
  font-size: 15px; color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.profile-cta-btns {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 15px;
  padding: 13px 27px; border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.btn-outline-dark:hover { background: var(--white); color: var(--orange); border-color: var(--white); }

/* TABLET */
@media (min-width: 768px) {
  .page-hero-title { font-size: 52px; }
  .intro-grid { flex-direction: row; align-items: flex-start; gap: 60px; }
  .intro-photo { align-items: flex-start; width: 280px; flex-shrink: 0; }
  .intro-photo-frame { width: 280px; height: 350px; }
  .timeline::before { left: 100px; }
  .timeline-item { gap: 32px; }
  .timeline-dot { width: 38px; height: 38px; }
  .timeline-year {
    display: block;
    width: 80px; flex-shrink: 0;
    text-align: right;
    font-size: 13px; font-weight: 700;
    color: var(--orange); padding-top: 8px;
  }
  .achievement-grid { grid-template-columns: repeat(4,1fr); }
  .values-grid { grid-template-columns: repeat(3,1fr); }
  .profile-cta-inner h2 { font-size: 32px; }
}

@media (min-width: 1024px) {
  .intro-photo-frame { width: 320px; height: 400px; }
}
