/* ─────────────────────────────────────────────
   About — portrait + first-person bio + approach.
   ───────────────────────────────────────────── */

.about-intro {
  padding-block: var(--space-6) var(--space-6);
  text-align: center;
}
.about-intro__eyebrow {
  margin-bottom: var(--space-3);
}
.about-intro__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 28ch;
  color: var(--ink);
}

.about-bio {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(var(--space-4), 5vw, var(--space-6));
  align-items: start;
  padding-block: var(--space-5) var(--space-7);
}
.about-bio__text > * + * {
  margin-top: var(--space-3);
}
.about-bio__text p {
  max-width: 48ch;
  line-height: 1.75;
}

/* Portrait frame — matches homepage about-teaser treatment */
.about-bio__frame {
  position: relative;
  isolation: isolate;
  margin: 0;
}
.about-bio__frame::before,
.about-bio__frame::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: -1;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}
.about-bio__frame::before { top: calc(-1 * var(--space-2)); right: calc(-1 * var(--space-2)); }
.about-bio__frame::after  { bottom: calc(-1 * var(--space-2)); left: calc(-1 * var(--space-2)); }
.about-bio__frame:hover::before { transform: translate(var(--space-1), calc(-1 * var(--space-1))); }
.about-bio__frame:hover::after  { transform: translate(calc(-1 * var(--space-1)), var(--space-1)); }
.about-bio__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}
.about-bio__dogear {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  z-index: 2;
  background: linear-gradient(225deg, rgba(242,232,220,0.10) 0 50%, transparent 50%);
  box-shadow: -2px 2px 4px rgba(36,26,20,0.25);
  transition: width 320ms ease, height 320ms ease;
  pointer-events: none;
}
.about-bio__frame:hover .about-bio__dogear { width: 60px; height: 60px; }

.about-close {
  text-align: center;
  padding-block: var(--space-7);
}
.about-close__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: 1.4;
  margin: 0 auto var(--space-3);
  max-width: 36ch;
  color: var(--ink);
  opacity: 0.92;
}

@media (max-width: 760px) {
  .about-bio { grid-template-columns: 1fr; gap: var(--space-4); }
  .about-intro__line { font-size: var(--fs-h3); }
}

@media (prefers-reduced-motion: reduce) {
  .about-bio__frame::before, .about-bio__frame::after { transition: none; }
}

/* ── Bio facts block ────────────────────────── */
.about-bio__facts {
  margin-top: var(--space-5);
  background: var(--surface);
  padding: var(--space-3);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--mgx-ink) 40%, transparent);
}
.about-bio__facts-hairline {
  height: 1px;
  background: var(--rule);
}
.about-bio__facts-label {
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink);
  opacity: 0.7;
  padding-top: var(--space-3);
  padding-bottom: var(--space-2);
}
.about-bio__facts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.about-bio__facts-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--ink);
}
.about-bio__facts-diamond {
  color: var(--accent-40);
  font-size: 0.7em;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Story ─────────────────────────────────── */
.about-story {
  padding-block: var(--space-5) var(--space-6);
}
.about-story.ground-cream {
  padding-inline: max(clamp(1.25rem, 5vw, 3rem), calc(50vw - 26ch));
}
.about-story > p {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--ink);
  max-width: 52ch;
}
.about-story > p + p {
  margin-top: var(--space-4);
}

/* ── Section label — shared by process + personal ── */
.about-section-label {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.about-section-rule {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.about-section-rule::before {
  content: '';
  display: block;
  height: 1px;
  width: 120px;
  background: var(--rule);
  flex-shrink: 0;
}
.about-section-rule-diamond {
  color: var(--accent-40);
  font-size: 0.65em;
  line-height: 1;
}

/* ── Process section ────────────────────────── */
.about-process {
  padding-block: var(--space-6);
}
.about-process__beats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-4), 4vw, var(--space-6));
}
.about-process__beat-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--ink-muted);
  margin-bottom: var(--space-2);
}
.about-process__beat p:last-child {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
}

/* ── Pull quote ─────────────────────────────── */
.about-pull {
  max-width: 34ch;
  margin: var(--space-6) auto;
  padding-block: var(--space-4);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-h2);
  line-height: 1.3;
  color: var(--ink);
}
.about-pull::before {
  content: none;
}
.about-pull p {
  margin: 0 0 var(--space-2);
}
.about-pull__attribution {
  display: block;
  font-family: var(--font-label);
  font-style: normal;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
}

/* ── Trust line ─────────────────────────────── */
.about-trust {
  padding-block: var(--space-5);
  text-align: center;
}
.about-trust__hairline {
  width: 100%;
  height: 1px;
  background: var(--rule);
}
.about-trust__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding-block: var(--space-4);
  margin: 0;
}
.about-trust__item {
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
}
.about-trust__diamond {
  color: var(--accent-40);
  font-size: 0.75em;
}

/* ── Off camera ─────────────────────────────── */
.about-personal {
  padding-block: var(--space-5) var(--space-6);
  max-width: 52ch;
}
.about-personal > p {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--ink);
}

/* ── Mobile ─────────────────────────────────── */
@media (max-width: 760px) {
  /* Reduce dead gap between section-label ornament and body copy */
  .about-section-label  { margin-bottom: var(--space-3); }
  /* Compress vertical rhythm across all mid-page sections */
  .about-process        { padding-block: var(--space-4); }
  .about-process__beats { grid-template-columns: 1fr; gap: var(--space-4); }
  .about-pull           { font-size: var(--fs-h3); margin-block: var(--space-4); }
  .about-trust          { padding-block: var(--space-3); }
  .about-trust__items   { flex-direction: column; gap: var(--space-2); }
  .about-personal       { max-width: 100%; padding-block: var(--space-3) var(--space-4); }
  /* Reduce dead gap before the closing CTA block */
  .about-close          { padding-block: var(--space-5); }
}

/* ── Entrance motion — four new about sections ─
   Override sitewide 16px/600ms/ease defaults.
   Fallback-first: no reveal-enabled means sections
   are always visible; JS applies pre-anim state. */
html.reveal-enabled .about-process[data-reveal],
html.reveal-enabled .about-pull[data-reveal],
html.reveal-enabled .about-trust[data-reveal],
html.reveal-enabled .about-personal[data-reveal] {
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ── Hairline draws 0 → 120px on scroll-in ──── */
html.reveal-enabled .about-section-rule::before {
  width: 0;
  transition: width 700ms cubic-bezier(0.25, 0.1, 0.25, 1) 200ms;
}
html.reveal-enabled [data-reveal].is-revealed .about-section-rule::before {
  width: 120px;
}

/* ── prefers-reduced-motion fallbacks ───────── */
@media (prefers-reduced-motion: reduce) {
  html.reveal-enabled .about-process[data-reveal],
  html.reveal-enabled .about-pull[data-reveal],
  html.reveal-enabled .about-trust[data-reveal],
  html.reveal-enabled .about-personal[data-reveal] {
    transform: none;
    transition: none;
  }
  html.reveal-enabled .about-section-rule::before {
    width: 120px;
    transition: none;
  }
}

/* ── MARGAUX: Paper-clip portrait artifact ───────────────────────────────
   A brass paper-clip SVG at the top of the portrait, appearing to clip the
   photo to an imaginary page. Positioned slightly off the portrait's left
   shoulder, protruding above the top edge.
   ──────────────────────────────────────────────────────────────────────── */
.mgx-paperclip {
  position: absolute;
  top: -24px;
  left: 20px;
  display: block;
  width: 22px;
  height: 58px;
  color: var(--mgx-brass);
  z-index: 3;
  pointer-events: none;
  /* Gentle CSS sway animation matches the locket/ring in spec */
  animation: mgx-clip-sway 5s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes mgx-clip-sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50%       { transform: rotate(1.5deg);  }
}
@media (prefers-reduced-motion: reduce) {
  .mgx-paperclip { animation: none; transform: none; }
}

/* ── CTA link — draw underline left→right ───── */
@media (hover: hover) and (pointer: fine) {
  .about-close .text-link {
    position: relative;
    text-decoration: none;
    background-image: linear-gradient(var(--accent-40), var(--accent-40));
    background-repeat: no-repeat;
    background-position: 0 calc(100% + 2px);
    background-size: 100% 1px;
  }
  .about-close .text-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .about-close .text-link:hover::before {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-close .text-link::before { transition: none; }
}

/* ── Pull-quote full-bleed oxblood band ─────── */
.about-pull-band {
  padding-block: var(--space-6);
}
.about-pull-band .about-pull {
  margin-block: 0;
}

/* ── Section alternation: B / R / B / R / B / R / B ─────────────── */
.about-intro    { background: var(--paper); }
.about-bio      { background: var(--surface); }
.about-story    { background: var(--paper); }
.about-process  { background: var(--paper); }
.about-trust    { background: var(--paper); }
.about-personal { background: var(--surface); }
.about-close    { background: var(--paper); }

/* Card-on-raised: facts box dissolves into about-bio (both noir-raised).
   Hairline brass border at 25% opacity restores the separation. */
.about-bio__facts {
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
