/* About page (about.html) — same editorial, light-theme treatment as the
   Résumé page (resume.css): fixed hand-picked colors, no full-viewport hero.
   Difference from resume.css: a single left-aligned content column instead
   of an editorial-column + sticky-sidebar split, since this page has no
   <wm-resume-nav>. See ./README.md */

:root {
  --wm-about-header-bg: #e9e8ec;
  --wm-about-content-bg: #dfe1e5;
  --wm-about-navy: #1b2947;
  --wm-about-muted: #8890a3;
  --wm-about-border: rgba(27, 41, 71, 0.14);
}

body {
  background: var(--wm-about-content-bg);
}

/* This page has no full-viewport hero to scroll past, so cancel header.css's
   fade-after-one-viewport rule (same technique as work.css/resume.css) — and
   force the reused logo/menu-toggle to this page's navy regardless of the
   visitor's OS color scheme. */
body.wm-past-hero .wm-logo-mark,
body.wm-past-hero .wm-menu-toggle {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mxd-header {
  --t-bright: var(--wm-about-navy);
  background: var(--wm-about-header-bg);
}
@media (min-width: 900px) {
  .mxd-header {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .wm-logo-mark {
    font-size: 3.2rem;
    gap: 1.4rem;
  }
}
@media (min-width: 1600px) {
  .mxd-header {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .wm-logo-mark {
    font-size: 3.6rem;
  }
}

.wm-about {
  padding: 13rem 3rem 10rem 5rem;
}
@media (min-width: 768px) {
  .wm-about {
    padding: 15rem 6rem 12rem 8rem;
  }
}
/* The header's own 900px+ enlargement (see .mxd-header above) needs more
   clearance here than the pre-900px tiers above provide. */
@media (min-width: 900px) {
  .wm-about {
    padding-top: 19rem;
  }
}
@media (min-width: 1600px) {
  .wm-about {
    padding: 22rem 8rem 14rem 11rem;
  }
}

.wm-about__hero {
  display: flex;
  align-items: flex-start;
}

.wm-about__content {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 90rem;
}
@media (min-width: 1600px) {
  .wm-about__content {
    max-width: 104rem;
  }
}

.wm-about__section {
  padding-top: 5rem;
}
.wm-about__section:first-of-type {
  padding-top: 0;
}
.wm-about__section + .wm-about__section {
  border-top: 1px solid var(--wm-about-border);
}

.wm-about__eyebrow {
  font: normal 700 1.4rem/1 var(--_font-accent);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: #666666;
  margin-bottom: 1.6rem;
}
.wm-about__section .wm-about__eyebrow {
  max-width: calc(100% - 1.6rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--wm-about-border);
}

.wm-about__heading {
  font: normal 400 2.4rem/1.15 var(--_font-default);
  color: #333333;
  letter-spacing: 0.1rem;
  margin-top: 2rem;
}

.wm-about__body {
  display: flex;
  gap: 2rem;
  margin-top: 2.8rem;
  max-width: calc(100% - 1.6rem);
}
.wm-about__tick {
  flex: none;
  width: 2.4rem;
  height: 1px;
  margin-top: 1.1rem;
  background: var(--wm-about-muted);
}
.wm-about__body p {
  font: normal 400 1.6rem/1.6 var(--_font-default);
  color: #555555;
}
.wm-about__body p + p {
  margin-top: 1.6rem;
}

/* Portrait: an organic "blob" frame with hand-drawn accent marks around it,
   filling the white space to the right of the content column. Hidden below
   900px — the blob/doodle layout needs the room a two-column desktop width
   gives it, and isn't worth a separate stacked treatment on mobile. */
.wm-about__portrait {
  display: none;
}
@media (min-width: 900px) {
  .wm-about__portrait {
    display: block;
    position: relative;
    flex: none;
    width: 32rem;
    height: 38rem;
    margin-top: 4.4rem;
    margin-right: 6rem;
    color: #c5966d;
  }
}
@media (min-width: 1600px) {
  .wm-about__portrait {
    width: 36rem;
    height: 42rem;
    margin-right: 9rem;
  }
}

.wm-about__portrait-blob {
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  background: #cfd0d6;
  border-radius: 42% 58% 66% 34% / 52% 44% 56% 48%;
}

.wm-about__portrait-frame {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 46% 54% 62% 38% / 56% 48% 52% 44%;
}
.wm-about__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.wm-about__doodle {
  position: absolute;
}
.wm-about__doodle--tl {
  top: -2rem;
  left: -3.2rem;
}
.wm-about__doodle--tr {
  top: -1rem;
  right: -3.6rem;
}
.wm-about__doodle--bl {
  bottom: 2rem;
  left: -4rem;
}
.wm-about__doodle--br {
  bottom: -1rem;
  right: -3rem;
}

/* Principles: a title + intro on the left, a 2x2 (1-col on mobile) card
   grid on the right — its own full-width row below the hero, not just the
   content column, so it spans behind the portrait too. */
.wm-about__principles {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--wm-about-border);
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
@media (min-width: 900px) {
  .wm-about__principles {
    flex-direction: row;
    gap: 6rem;
  }
}

.wm-about__principles-intro {
  flex: none;
}
@media (min-width: 900px) {
  .wm-about__principles-intro {
    width: 28rem;
  }
}
@media (min-width: 1600px) {
  .wm-about__principles-intro {
    width: 32rem;
  }
}
.wm-about__principles-title {
  font: normal 400 2.4rem/1.15 var(--_font-default);
  color: #333333;
  letter-spacing: 0.1rem;
  margin-bottom: 1.6rem;
}
.wm-about__principles-intro p {
  font: normal 400 1.6rem/1.6 var(--_font-default);
  color: #555555;
}
.wm-about__principles-intro p + p {
  margin-top: 1.6rem;
}

.wm-about__principles-grid {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 620px) {
  .wm-about__principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wm-about__principle-card {
  padding: 3.2rem;
  background: #e7e8ec;
  border: 1px solid var(--wm-about-border);
  border-radius: 1.6rem;
}
.wm-about__principle-icon {
  color: var(--wm-about-navy);
  margin-bottom: 2.4rem;
}
.wm-about__principle-card h3 {
  font: normal 700 1.8rem/1.3 var(--_font-default);
  color: var(--wm-about-navy);
  margin-bottom: 1.2rem;
}
.wm-about__principle-card p {
  font: normal 400 1.5rem/1.6 var(--_font-default);
  color: #555555;
}
