/* ============================================================
   Power of Smol — About page styles
   Only layout/composition unique to about.html.
   ============================================================ */

/* ── Page wrapper ── */
.about-page {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 80px var(--gutter) 120px;
}

@media (max-width: 720px) {
  .about-page { padding: 52px var(--gutter) 80px; }
}


/* ── Hero split ── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 96px;
}

@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; gap: 48px; }
  .about-hero__visual { order: -1; }
}


/* ── Photo frame ── */
.photo-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 420px;
}

.photo-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sand-100);
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-block);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

/* When a real photo is added: */
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Subtle grid texture for placeholder depth */
.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--sand-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--sand-200) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 35%, rgba(221,120,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* Placeholder state — hide when real photo is present */
.photo-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.photo-placeholder__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange-100);
  border: 2px dashed var(--orange-300);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder__icon svg {
  width: 32px;
  height: 32px;
  color: var(--orange-500);
}

.photo-placeholder__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
}

/* Floating credential chips */
.chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  z-index: 2;
  animation: chip-float 4s ease-in-out infinite;
}

.chip--1 {
  top: -14px;
  left: -12px;
  background: var(--ink-900);
  color: var(--cream);
  box-shadow: var(--shadow-md);
  animation-delay: 0s;
}

.chip--2 {
  bottom: 28px;
  right: -16px;
  background: var(--orange-500);
  color: #fff;
  box-shadow: var(--shadow-md);
  animation-delay: 1.4s;
}

.chip--3 {
  bottom: -14px;
  left: 24px;
  background: var(--paper);
  color: var(--teal-700);
  border: 1.5px solid var(--teal-200);
  box-shadow: var(--shadow-sm);
  animation-delay: 0.7s;
}


/* ── Bio copy ── */
.about-hero__copy { padding-top: 8px; }

.about-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--orange-500);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.about-hero__eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--orange-400);
  flex-shrink: 0;
}

.about-hero__name {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: var(--weight-extrabold);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: var(--weight-semibold);
  color: var(--orange-600);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.about-hero__rule {
  width: 48px;
  height: 3px;
  background: var(--orange-500);
  border-radius: 2px;
  margin-bottom: 28px;
}

.bio-para {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.68;
  color: var(--ink-700);
  margin-bottom: 20px;
  max-width: 54ch;
  text-wrap: pretty;
}

.bio-para:last-of-type { margin-bottom: 36px; }

.bio-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ── Credential bar ── */
.cred-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 96px;
  padding: 32px;
  background: var(--paper);
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) {
  .cred-bar { grid-template-columns: repeat(2, 1fr); }
}

.cred-bar__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline-end: 16px;
  border-right: 1px solid var(--sand-200);
}

.cred-bar__item:last-child { border-right: none; }

@media (max-width: 720px) {
  .cred-bar__item:nth-child(2n) { border-right: none; }
  .cred-bar__item { border-bottom: 1px solid var(--sand-200); padding-bottom: 16px; }
  .cred-bar__item:nth-child(3),
  .cred-bar__item:nth-child(4) { border-bottom: none; padding-bottom: 0; }
}

.cred-bar__number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.04em;
  color: var(--orange-500);
  line-height: 1;
}

.cred-bar__label {
  font-size: 13px;
  font-weight: var(--weight-semibold);
  color: var(--ink-700);
}

.cred-bar__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ── Section heads ── */
.about-section { margin-bottom: 80px; }

.about-section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 12px;
}

.about-section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.025em;
  color: var(--ink-900);
  line-height: 1.08;
  margin-bottom: 40px;
}


/* ── Timeline ── */
.timeline {
  display: flex;
  flex-direction: column;
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--sand-200);
}

.timeline__item:first-child { padding-top: 0; }
.timeline__item:last-child  { border-bottom: none; }

.timeline__year {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--weight-bold);
  color: var(--ink-400);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.timeline__role {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--weight-extrabold);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.timeline__org {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 8px;
}

.timeline__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 60ch;
}

@media (max-width: 600px) {
  .timeline__item { grid-template-columns: 1fr; gap: 6px; }
}


/* ── Credential cards ── */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .creds-grid { grid-template-columns: 1fr; }
}

.cred-card {
  background: var(--paper);
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--dur), transform var(--dur);
}

.cred-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cred-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--orange-600);
}

.cred-card__name {
  font-size: 15px;
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  margin-bottom: 2px;
}

.cred-card__inst {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ── Dark CTA block ── */
.about-cta {
  background: var(--ink-900);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.about-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 10px;
}

.about-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 10px;
}

.about-cta__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-300);
  max-width: 44ch;
}

@media (max-width: 640px) {
  .about-cta { padding: 36px 28px; }
}
