/* ============================================================
   XMPanels — About Page Styles
   File: public/about.css
   Tata letak profil pendiri, linimasa, infrastruktur & responsivitas
   ============================================================ */

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink, #0a0a0d);
  color: var(--text, #f0f0f0);
}

html.light-theme, body.light-theme {
  background: #f7f5ef !important;
  background-color: #f7f5ef !important;
  color: #0a0a0d !important;
}

.navbar {
  min-height: 60px;
}

.navbar .nav-container {
  padding-left: 14px;
  padding-right: 14px;
}

/* Hero Section */
.about-hero {
  padding: 150px 0 40px;
}

.about-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.profile-card {
  position: relative;
  margin-top: 34px;
  width: 100%;
  max-width: 860px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 44px 40px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.5), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.profile-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.16), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.profile-top {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 18px 50px -12px rgba(255, 106, 0, 0.55);
  position: relative;
}

.profile-avatar::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--ink-2);
  box-shadow: 0 0 12px rgba(199, 255, 61, 0.8);
}

.profile-id h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 8px;
}

.profile-id h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-roles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(255, 106, 0, 0.08);
  color: var(--orange);
  border: 1px solid rgba(255, 106, 0, 0.2);
}

.profile-loc {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.profile-loc i {
  color: var(--orange);
  margin-right: 6px;
}

.profile-quote {
  margin: 30px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--orange);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 106, 0, 0.05);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.profile-quote strong {
  color: var(--text);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.pstat {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}

.pstat .n {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pstat .n em {
  font-style: normal;
  color: var(--orange);
}

.pstat .l {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Story Section */
.about-story {
  padding: 60px 0 20px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.story-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 32px 30px;
}

.story-card h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-card h2 i {
  color: var(--orange);
  font-size: 1.15rem;
}

.story-card p {
  font-family: var(--sans);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-card strong {
  color: var(--text);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 6px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), transparent);
}

.t-item {
  position: relative;
}

.t-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 3px solid var(--orange);
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.6);
}

.t-item .t-year {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
}

.t-item .t-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  margin: 4px 0 4px;
}

.t-item .t-desc {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Responsibilities / Jobs */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.job-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 26px 24px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.job-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.job-card .j-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--orange);
}

.job-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.job-card p {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Infrastructure Strip */
.infra-strip {
  margin-top: 40px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 28px 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.infra-strip h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.infra-strip p {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.6;
}

.infra-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.infra-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  color: var(--text-soft);
}

.infra-badge i {
  color: var(--lime);
}

/* Values */
.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.value-item {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.value-item b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

/* Contact CTA */
.about-cta {
  margin: 60px auto 0;
  max-width: 860px;
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  left: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.18), transparent 60%);
  filter: blur(40px);
}

.about-cta h2 {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.about-cta p {
  position: relative;
  font-family: var(--sans);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.about-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.about-links .btn-primary,
.about-links .btn-ghost {
  position: relative;
}

/* Footer Mini */
.about-footer {
  margin-top: 70px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.about-footer p {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.about-footer a {
  color: var(--text-dim);
  text-decoration: none;
}

.about-footer a:hover {
  color: var(--orange);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(255, 106, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* RESPONSIVE: Tablet (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .about-hero {
    padding: 130px 0 30px;
  }
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE: Mobile (<= 760px) */
@media (max-width: 760px) {
  .about-hero {
    padding: 120px 0 20px;
  }
  .profile-card {
    padding: 30px 22px;
    border-radius: 22px;
  }
  .profile-top {
    gap: 18px;
  }
  .profile-avatar {
    width: 88px;
    height: 88px;
    font-size: 1.6rem;
    border-radius: 22px;
  }
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .values-row {
    grid-template-columns: 1fr;
  }
  .infra-strip {
    padding: 22px 20px;
  }
  .about-cta {
    padding: 40px 22px;
    border-radius: 22px;
  }
  .about-links .btn-primary,
  .about-links .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}
