/* ═══════════════════════════════════════════════════════════════════════
   About me
   ───────────────────────────────────────────────────────────────────────
   Previously ran its own one-off palette (pink #fdebea bg, navy #043962
   ink) with a botanical line-art frame baked into the portrait image —
   unrelated to anything else on the site. Home and about have no project
   of their own to draw a bespoke palette from the way every case study
   does, so both now borrow the SITE's own identity instead: the black
   new_logo_candidate.svg mark, the neutral nav/footer, #231f20 ink. The rust/accent
   below is shared with home-theme.css and echoes the orange/rust family
   that already recurs across the case studies (High Pines #C44317,
   Restaurant redesign #BB3204, Raduzhniy #AA5A34) without copying any one
   of them.

   Scoped to body.about-page.
   ═══════════════════════════════════════════════════════════════════════ */

body.about-page {
  --about-cream:  #f7f2ea;
  --about-ink:    #231f20;
  --about-accent: #a04521; /* 5.6:1 on --about-cream, 6.2:1 on white */
  --ab-gutter: 7vw;

  background: var(--about-cream);
  color: var(--about-ink);
}

body.about-page .nav { background: #f7f2eab3; }
/* nav-links / footer-icons ink already matches --about-ink via shared.css —
   no override needed, which is the point: this page now uses the site's
   own ink rather than inventing a second one. */

body.about-page .about-main {
  /* clears the fixed nav */
  padding-top: 7rem;
}

/* ── Hero: copy beside the portrait ── */
body.about-page .about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 0 var(--ab-gutter);
}

body.about-page .about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--about-accent);
  margin-bottom: 1rem;
}
body.about-page .about-kicker::before {
  content: '';
  width: 2.25rem;
  height: 2px;
  background: var(--about-accent);
}

body.about-page .about-title {
  /* Aligned to the shared page-title scale (clamp(2.1rem,4.2vw,3.5rem)) used
     by every case-study page's .project-title, per feedback. */
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

body.about-page .about-lead {
  font-size: 1.125rem;
  line-height: 1.9;
  max-width: 34rem;
}

body.about-page .about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

body.about-page .about-cta {
  transition: transform 0.25s ease;
}
body.about-page .about-cta:hover { transform: translateY(-2px) rotate(-1deg); }

/* handwriting accent, reserved for personal-voice words only ("approach"
   here; her first name on home-theme.css) */
body.about-page .about-script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--about-accent);
  font-size: 1.25em;
  line-height: 1;
}

/* ── Portrait: plain axis-aligned photo with a circular cutout at the
   bottom-left corner holding the mark, like a seal. Replaces the earlier
   accent-blob + floating-mark treatment per feedback: no lines, no
   rotation, no ornamental shapes. Own idea, from a reference photo
   prepared by the site's owner (a plain portrait with a white circle cut
   into one corner, holding a mark) — the circle is simply a solid disc
   coloured to match this page's own flat background, so it reads as a
   literal cutout rather than a sticker on top. Same device as
   home-theme.css's .hero-cutout, so the two pages visibly belong
   together. ── */
body.about-page .about-portrait-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 24rem;
}

body.about-page .about-portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.1rem;
}

body.about-page .about-cutout {
  position: absolute;
  z-index: 2;
  left: -8%;
  bottom: -8%;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--about-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.about-page .about-mark {
  display: block;
  width: 54%;
  height: auto;
}

/* ── Skills ── */
body.about-page .about-heading {
  /* Aligned to the shared section-heading scale (clamp(1.9rem,3vw,2.5rem))
     used by every case-study page's .section-heading, per feedback. */
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-top: 1.4rem;
}
body.about-page .about-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 3px;
  background: var(--about-accent);
}

body.about-page .about-heading--center { text-align: center; }
body.about-page .about-heading--center::before {
  left: 50%;
  transform: translateX(-50%);
}

body.about-page .about-skills {
  padding: 5rem var(--ab-gutter) 0;
}

body.about-page .skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
  max-width: 46rem;
}

body.about-page .skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

body.about-page .skills-list li {
  font-size: 1.0625rem;
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}

body.about-page .skills-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--about-accent);
}

/* ── Contact ── */
body.about-page .about-contact {
  padding: 6rem var(--ab-gutter) 2rem;
}

body.about-page .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.5rem;
}

body.about-page .contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--about-ink);
  border: 1px solid rgba(35, 31, 32, .16);
  border-radius: 12px;
  padding: 2rem 1rem;
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
  /* long email address must not push the card wider than its grid track */
  overflow-wrap: anywhere;
}

body.about-page .contact-card i {
  font-size: 1.75rem;
  color: var(--about-accent);
}

body.about-page .contact-card:hover {
  background: rgba(160, 69, 33, .07);
  border-color: rgba(160, 69, 33, .45);
  transform: translateY(-2px);
}

body.about-page .contact-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body.about-page .about-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* portrait first on narrow screens, copy beneath it */
  body.about-page .about-portrait-wrap {
    grid-row: 1;
    max-width: 20rem;
  }

  body.about-page .about-lead { max-width: none; }
}

@media (max-width: 560px) {
  body.about-page .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body.about-page .about-actions .page-nav-btn {
    width: 100%;
    max-width: 22rem;
  }
}
