/* ============================================================
   ABOUT & CONTACT PAGE STYLES
   ============================================================ */

/* ---- Hero ---- */
.about-hero {
  padding-top: calc(var(--space-32) + var(--space-8));
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border);
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-16);
  align-items: end;
}

.about-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.about-hero__heading {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  max-width: 12ch;
  margin-bottom: var(--space-4);
}

.about-hero__subtext {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: var(--leading-loose);
}

.about-hero__photo {
  width: 200px;
  height: 260px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero__photo-placeholder {
  width: 200px;
  height: 260px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-hover);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--space-4);
}

@media (max-width: 768px) {
  .about-hero__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .about-hero__photo,
  .about-hero__photo-placeholder {
    width: 120px;
    height: 160px;
    margin-top: var(--space-6);
  }
}

/* ---- Profile Photo Animations ---- */
@keyframes photoEntrance {
  from { opacity: 0; transform: scale(0.88) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes photoFloat {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -10px; }
}

/* Richer entrance — overrides the generic heroFadeUp */
.about-hero__photo.hero-enter {
  animation-name: photoEntrance;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

/* Continuous float — class added by JS after entrance finishes */
.about-hero__photo.is-floating {
  animation: photoFloat 5s ease-in-out infinite;
}

/* Hover */
.about-hero__photo {
  transition: scale 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.about-hero__photo:hover {
  scale: 1.04;
  box-shadow: 0 20px 56px rgba(0, 212, 255, 0.18);
  border-color: var(--accent-border);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__photo.is-floating { animation: none; }
  .about-hero__photo:hover { scale: 1; box-shadow: none; }
}


/* ---- About Body ---- */
.about-body__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about-journey__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.about-journey__heading {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.about-journey__paragraphs {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.about-journey__paragraphs p {
  color: var(--text-secondary);
  line-height: var(--leading-loose);
  font-size: var(--text-sm);
}

.about-principles {
  position: sticky;
  top: calc(var(--space-16) + var(--space-8));
}

.about-principles__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.principle-item {
  padding: var(--space-4) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 2px solid var(--accent);
  transition: border-color var(--transition-fast);
}
.principle-item:hover {
  border-color: var(--accent-border);
  border-left-color: var(--accent);
}

.principle-item__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.principle-item__body {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--leading-loose);
}

@media (max-width: 768px) {
  .about-body__inner { grid-template-columns: 1fr; }
  .about-principles { position: static; }
}


/* ---- Current Role Badge ---- */
.current-role {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-12);
}

.current-role__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.role-badge {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.role-badge__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

.role-badge__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.role-badge__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.role-badge__company {
  font-size: var(--text-sm);
  color: var(--accent);
}

.role-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}


/* ---- Contact Form ---- */
.contact {
  padding-bottom: var(--space-32);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__info {
  position: sticky;
  top: calc(var(--space-16) + var(--space-8));
}

.contact__heading {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.contact__subtext {
  color: var(--text-secondary);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-8);
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.contact-channel:hover { color: var(--text-primary); }
.contact-channel__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}
.contact-channel:hover .contact-channel__icon {
  border-color: var(--accent-border);
}
.contact-channel__icon svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.contact-form__heading {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.contact-form__row {
  margin-bottom: var(--space-4);
}

.contact-form__submit {
  margin-top: var(--space-6);
  width: 100%;
  justify-content: center;
  padding-block: var(--space-4);
  font-size: var(--text-base);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8);
  text-align: center;
  color: var(--accent-green);
  font-weight: var(--weight-semibold);
}

@media (max-width: 768px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .contact-form__grid { grid-template-columns: 1fr; }
}
