/* about.css — loaded alongside index.css (which supplies the .avatar and the
   .pill). An editorial layout in three beats: a hero with the big round
   avatar + links, a ruled row of figures, and the story (drop cap, pull
   quote). */

/* Blur-in entrances (marginalia variant) — overrides base.css fadeUp
   for every animated element on this page. */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* ── Hero ── */
.about-hero {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 3rem 5rem;
  border-bottom: 1px solid var(--rule);
}

/* The warm glow pooled behind the avatar + title is the sitewide backdrop's
   "about" palette now (js/backdrop.js). */
.about-avatar {
  margin-bottom: 2.5rem;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.about-eyebrow {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s both;
}

.about-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.25rem, 7.5vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  padding-bottom: 0.08em;       /* room for italic descenders */
  margin-bottom: 2.5rem;
  animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s both;
}

/* ── Link buttons (the .pill itself lives in index.css) ── */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s both;
}


/* ── Story: one reading column, centred in the space beside the sidebar ── */
.about-spread {
  padding: clamp(5rem, 9vw, 9rem) 3rem;
}

.about-copy {
  max-width: 40rem;
  margin-inline: auto;
}

.about-copy p {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* Key phrases, same treatment as the marginalia post body. Pinned to 700
   because the UA default is the RELATIVE `bolder`, which against this
   column's 300 computes to 400 — near-invisible next to the body text. */
.about-copy b,
.about-copy strong { font-weight: 700; }

/* Drop cap: a three-line Instrument Serif initial. Spanned in the markup
   rather than ::first-letter — the lede opens on a contraction, and WebKit
   folds the apostrophe that follows the first letter into ::first-letter,
   which would blow the ' up to three lines tall alongside the I. */
.about-dropcap {
  float: left;
  font-family: 'Instrument Serif', serif;
  font-size: 5.1em;
  line-height: 0.8;
  padding: 0.08em 0.1em 0 0;
  color: var(--text);
}

.about-pull {
  margin: 3rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.about-pull::before { content: '“'; }
.about-pull::after  { content: '”'; }

/* ── Figures: straight under the hero, ruled off from the story ── */
.about-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

.about-figure {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 3.5rem 3rem 4rem;
}

.about-figure + .about-figure { border-left: 1px solid var(--rule); }

.about-figure-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.about-figure-num em {
  font-size: 0.4em;
  margin-left: 0.15em;
  letter-spacing: 0;
  color: var(--muted);
}

.about-figure-label {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--muted);
  max-width: 22ch;
}

/* ── Desktop: centre the hero on the window, not on the column beside the
   sidebar (the backdrop already runs under the glass) ── */
@media (min-width: 769px) {
  .about-hero {
    margin-left: calc(-1 * var(--nav-inset));
    padding-left: calc(3rem + var(--nav-inset));
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .about-hero {
    min-height: auto;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1.5rem 4rem;
  }

  .about-title { margin-bottom: 2rem; }

  .about-spread { padding: 4rem 1.5rem; }

  .about-figures { grid-template-columns: 1fr; }

  .about-figure { padding: 2.5rem 1.5rem; }

  .about-figure + .about-figure {
    border-left: none;
    border-top: 1px solid var(--rule);
  }
}
