/* ============================================================================
 *  about.css — page styles for about.html (Realty Resource Connection)
 *  Namespaced .about-* / .philo-* / .how-* / .stat classes only.
 *  Palette & type come entirely from site.css variables — no new colors.
 * ========================================================================== */

/* ====================================================== 1 · INTRO / BIO ===== */
.about-intro { padding-top: 76px; }
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 64px;
  align-items: start;
}

/* portrait column ---------------------------------------------------------- */
.about-portrait {
  position: sticky; top: calc(var(--head-h) + 28px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.about-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 24%;
  border-radius: 13px;
  box-shadow: 0 0 0 1px var(--line);
}
.about-portrait__cap {
  margin: 18px 2px 0;
  font-family: var(--display); font-size: 17px; font-weight: 500; color: var(--ink);
  line-height: 1.2;
}
.about-portrait__meta {
  list-style: none; margin: 16px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 11px;
  font-size: 14px; color: var(--ink-soft);
}
.about-portrait__meta li { display: flex; align-items: center; gap: 10px; }
.about-portrait__meta svg { color: var(--pine); flex: none; }
.about-portrait__meta a { transition: color .16s; }
.about-portrait__meta a:hover { color: var(--pine); }

/* bio column --------------------------------------------------------------- */
.about-bio__head {
  margin: 14px 0 22px;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--ink);
}
.about-bio p { margin: 0 0 18px; color: var(--ink-soft); font-size: 16px; line-height: 1.72; max-width: 62ch; }
.about-bio .lead { margin-bottom: 22px; }
.about-bio__sign {
  margin: 6px 0 30px; padding-left: 16px;
  border-left: 2px solid var(--brass);
}
.about-bio__signname {
  display: block; font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--ink);
  line-height: 1; letter-spacing: .4px;
}
.about-bio__signrole {
  display: block; margin-top: 6px;
  font-size: 12.5px; letter-spacing: .4px; color: var(--muted);
}
.about-bio__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ====================================================== 2 · PHILOSOPHY ====== */
.about-philo { background: var(--paper-2); }
.about-philo__head { max-width: 640px; margin-bottom: 44px; }
.about-philo__head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 16px; color: var(--ink); }
.about-philo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.philo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px 30px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.philo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.philo-card__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(47, 84, 70, .08);
  color: var(--pine);
  border: 1px solid rgba(47, 84, 70, .14);
}
.philo-card h3 { font-size: 21px; color: var(--ink); margin-bottom: 9px; }
.philo-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

/* ========================================================== 3 · STATS ======= */
.about-stats {
  padding: 18px 0;
  background:
    linear-gradient(135deg, var(--pine-700) 0%, var(--pine) 55%, var(--pine-700) 100%);
  color: var(--paper);
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 56px 0 50px;
}
.stat {
  text-align: center;
  padding: 6px 18px;
  position: relative;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: rgba(255,255,255,.16);
}
.stat__num {
  display: block;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(44px, 5.5vw, 62px);
  line-height: 1; color: var(--paper);
  letter-spacing: .5px;
}
.stat__plus, .stat__star { color: var(--brass-soft); font-size: .62em; margin-left: 2px; }
.stat__star { font-size: .5em; vertical-align: super; }
.stat__lbl {
  display: block; margin-top: 14px;
  font-family: var(--ui); font-size: 13px; font-weight: 500;
  line-height: 1.45; color: rgba(244,239,230,.78);
  letter-spacing: .3px;
}
.about-stats__note {
  margin: 0 0 6px; text-align: center;
  font-size: 11.5px; letter-spacing: .5px; color: rgba(244,239,230,.5);
}

/* ====================================================== 4 · HOW I WORK ====== */
.about-how__head { max-width: 620px; margin-bottom: 48px; }
.about-how__head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 16px; color: var(--ink); }
.about-how__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: how;
}
.how-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line-2);
}
.how-step__num {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  color: var(--brass);
  font-family: var(--display); font-weight: 500; font-size: 24px;
  background: var(--card);
}
.how-step h3 { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.how-step p { margin: 0; font-size: 15px; line-height: 1.68; color: var(--ink-soft); max-width: 38ch; }

/* ========================================================= 5 · CTA BAND ===== */
.about-cta { padding: 0 0 96px; }
.about-cta__inner {
  position: relative; overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(120deg, var(--pine-700) 0%, var(--pine) 60%, var(--pine-700) 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.about-cta__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .20; z-index: -1;
  filter: saturate(.85);
}
.about-cta__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(35,69,57,.72) 0%, rgba(47,84,70,.62) 100%);
}
.about-cta__body {
  position: relative; z-index: 1;
  max-width: 660px;
  padding: clamp(44px, 6vw, 76px);
  color: var(--paper);
}
.about-cta__body .eyebrow { color: var(--brass-soft); }
.about-cta__body h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 14px 0 16px; color: var(--paper);
}
.about-cta__body .lead { color: rgba(244,239,230,.86); margin-bottom: 28px; }
.about-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.about-cta__ghost { border-color: rgba(255,255,255,.45); color: var(--paper); }
.about-cta__ghost:hover { border-color: var(--paper); color: var(--paper); background: rgba(255,255,255,.08); }
.about-cta__fine {
  margin: 26px 0 0;
  font-size: 12px; letter-spacing: .5px; color: rgba(244,239,230,.6);
}

/* ======================================================== responsive ======== */
@media (max-width: 980px) {
  .about-intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait {
    position: static;
    display: grid; grid-template-columns: 150px 1fr; align-items: center;
    column-gap: 24px;
  }
  .about-avatar { font-size: 56px; }
  .about-portrait__cap { grid-column: 2; margin-top: 0; }
  .about-portrait__meta { grid-column: 2; margin-top: 12px; padding-top: 12px; }
  .about-how__steps { grid-template-columns: 1fr; gap: 0; }
  .how-step { border-top: none; padding-top: 0; padding-bottom: 30px; display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; }
  .how-step__num { margin-bottom: 0; }
  .how-step h3 { margin-top: 6px; }
  .how-step h3, .how-step p { grid-column: 2; }
  .how-step__num { grid-row: span 2; }
}
@media (max-width: 760px) {
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(3)::before, .stat:nth-child(4)::before {
    content: ""; position: absolute; top: -18px; left: 12%; right: 12%;
    width: auto; height: 1px; background: rgba(255,255,255,.16);
  }
}
@media (max-width: 600px) {
  .about-philo__grid { grid-template-columns: 1fr; }
  .about-portrait { grid-template-columns: 1fr; text-align: center; }
  .about-avatar { max-width: 200px; margin: 0 auto; font-size: 72px; }
  .about-portrait__cap, .about-portrait__meta { grid-column: 1; }
  .about-portrait__meta li { justify-content: center; }
}
@media (max-width: 460px) {
  .about-stats__grid { grid-template-columns: 1fr; gap: 30px 0; }
  .stat::before, .stat:nth-child(3)::before, .stat:nth-child(4)::before { display: none !important; }
}
