/* ============================================================================
   about.css — About page (loaded after redesign.css; wins cascade)
   Prefix: .about-  ·  All themable colors come from redesign.css tokens.
   ========================================================================== */

.rd-wrap.about {
  padding-top: 56px;
  padding-bottom: 44px;
}

/* ----------------------------------------------------------------- Header -- */
.about-head {
  margin-bottom: 36px;
}
.about-head .rd-eyebrow.about {
  margin-bottom: 22px;
}
.about-title {
  font-size: 56px;
  line-height: 1;
  margin: 0;
}

/* ------------------------------------------------------------------- Grid -- */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

/* ------------------------------------------------------------- Left aside -- */
.about-aside {
  position: sticky;
  top: 24px;
}

/* Diagonal-stripe portrait placeholder (no real image available) */
.ph-stripe {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0, 0, 0, .05) 0 8px,
    transparent 8px 16px
  );
}
:root.dark .ph-stripe {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, .05) 0 8px,
    transparent 8px 16px
  );
}

.about-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--hairline-2);
  margin-bottom: 22px;
  image-rendering: pixelated;
}

/* Quick facts */
.about-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.about-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--hairline);
  margin: 0;
}
.about-fact-label {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--faint);
}
.about-fact-value {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* Social pills */
.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.about-social {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: var(--muted);
  background: var(--footer);
  padding: 6px 12px;
  border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}
.about-social:hover {
  color: var(--ink);
  background: var(--skill-chip-bg);
  text-decoration: none;
}

/* ----------------------------------------------------------------- Right -- */
.about-main {
  max-width: 620px;
}

.about-prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-prose);
  margin: 0 0 16px;
}
.about-prose p:last-child {
  margin-bottom: 28px;
}
.about-prose em { font-style: italic; }
.about-prose a {
  color: var(--code-chip);
  border-bottom: 1px solid var(--code-wash);
}
.about-prose a:hover { text-decoration: none; }

/* Skills */
.about-skills-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
}
/* Rendered from skills.md: intro, group headings → labels, lists → chips,
   trailing availability note → inset card. */
.about-skills-content > h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
  margin: 0 0 6px;
}
.about-skills-content > p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
}
.about-skills-content h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--faint);
  margin: 20px 0 9px;
}
.about-skills-content ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 6px;
}
.about-skills-content li {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-prose);
  background: var(--skill-chip-bg);
  padding: 6px 13px;
  border-radius: 8px;
}
.about-skills-content hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 24px 0 18px;
}
.about-skills-content hr:last-child { display: none; }

/* The two trailing note paragraphs read as one inset card */
.about-skills-content hr + p,
.about-skills-content hr + p + p {
  background: var(--footer);
  margin: 0;
  padding: 4px 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.about-skills-content hr + p {
  border-radius: 14px 14px 0 0;
  padding-top: 18px;
  color: var(--ink);
  font-weight: 600;
}
.about-skills-content hr + p em { font-style: normal; }
.about-skills-content hr + p + p {
  border-radius: 0 0 14px 14px;
  padding-bottom: 18px;
}
.about-skills-content hr + p + p strong { color: var(--ink-prose); }

/* Acknowledgments (rendered from acknowledgments.md) */
/* CTA at the bottom of the About page linking to the acknowledgments page */
.about-ack-cta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 48px;
  padding: 22px 26px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--contact-wash);
  transition: border-color .15s ease, transform .15s ease;
}
.about-ack-cta:hover {
  text-decoration: none;
  border-color: var(--contact);
  transform: translateY(-1px);
}
.about-ack-cta-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--contact-chip);
}
.about-ack-cta-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
}

/* Dedicated acknowledgments page */
.ack-page {
  padding-top: 40px;
  padding-bottom: 56px;
}
.ack-back {
  display: inline-block;
  color: var(--contact-chip);
  margin-bottom: 22px;
}
.ack-back:hover { text-decoration: none; color: var(--ink); }
.ack-title {
  font-size: 46px;
  margin: 0 0 10px;
}
.about-ack-content > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-prose);
  margin: 0 0 18px;
  max-width: 760px;
}
.about-ack-content ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-ack-content li {
  position: relative;
  padding-left: 30px;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-prose);
}
.about-ack-content li::before {
  content: "\2665"; /* ♥ */
  position: absolute;
  left: 0;
  top: 0.18em;
  font-size: 13px;
  color: var(--contact-chip);
  opacity: 0.75;
}

/* --------------------------------------------------------------- Responsive */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-aside {
    position: static;
    max-width: 360px;
  }
  .about-main { max-width: none; }
}

@media (max-width: 720px) {
  .about-title { font-size: 40px; }
}
