/* =========================================================
   ABOUT PAGE — PREMIUM SYSTEM (clean + updated)
   Keeps your existing class names + Bootstrap layout
========================================================= */

/* ---------- Design tokens (About page only) ---------- */
:root {
  --ss-paper: #f7f2ea;                 /* off-white */
  --ss-ink: rgba(18, 28, 22, 0.92);    /* deep green-black */
  --ss-muted: rgba(18, 28, 22, 0.66);  /* muted text */
  --ss-line: rgba(18, 28, 22, 0.10);   /* dividers */
  --ss-card: rgba(255, 255, 255, 0.74);
  --ss-card-strong: rgba(255, 255, 255, 0.86);
  --ss-sage: #6e8374;
  --ss-sage-2: #5f7566;               /* darker sage for hover */
  --ss-sage-tint: rgba(110, 131, 116, 0.10);
  --ss-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
  --ss-shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --ss-radius: 1.25rem;
}

/* ---------- Make the area behind the navbar match page ---------- */
body.nav-pill.nav-static {
  background: var(--ss-paper);
}

body.nav-pill.nav-static main,
body.nav-pill.nav-static .page,
body.nav-pill.nav-static .page-wrap,
body.nav-pill.nav-static .nav-wrap,
body.nav-pill.nav-static .nav-shell,
body.nav-pill.nav-static .nav-area {
  background: var(--ss-paper) !important;
}

/* ---------- Global rhythm: consistent section padding ---------- */
.about-hero,
.about-approach,
.about-cards,
.about-expect,
.about-practice,
.about-final-cta {
  padding-top: clamp(2rem, 3.5vw, 3.2rem);
  padding-bottom: clamp(2rem, 3.5vw, 3.2rem);
}

/* Subtle alternating section tint so it doesn’t feel “all white” */
.about-hero,
.about-cards,
.about-practice {
  background: var(--ss-paper);
}

.about-approach,
.about-expect {
  background: linear-gradient(180deg, var(--ss-paper) 0%, var(--ss-sage-tint) 100%);
}

/* ---------- Typography polish ---------- */
.about-kicker {
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(18, 28, 22, 0.55);
}

.about-title {
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.05rem, 3vw, 2.9rem);
  margin: 0;
  color: var(--ss-ink);
}

.about-subtitle {
  color: var(--ss-muted);
}

.about-lead {
  max-width: 54ch;
  color: var(--ss-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- Section titles with divider line ---------- */
.about-section-title {
  position: relative;
}

.about-section-title h2 {
  font-weight: 760;
  letter-spacing: -0.01em;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  display: inline-block;
  padding: 0 1rem;
  background: transparent; /* allow gradient sections without a “block” look */
  position: relative;
  z-index: 2;
  color: var(--ss-ink);
}

.about-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  height: 1px;
  background: var(--ss-line);
  transform: translateY(-50%);
  z-index: 1;
}

/* Left-aligned title variant (My Practice) */
.about-section-title--left h2 {
  padding-left: 0;
  padding-right: 0;
}

.about-section-title--left::before {
  display: none;
}

/* Approach text */
.about-approach-inner {
  max-width: 64ch;
}

.about-quote {
  font-style: italic;
  font-size: 1.06rem;
  color: rgba(18, 28, 22, 0.62);
}

/* ---------- Images: editorial consistency ---------- */
.about-portrait,
.about-practice-media {
  border-radius: var(--ss-radius);
  overflow: hidden;
  background: var(--ss-card-strong);
  border: 1px solid rgba(18, 28, 22, 0.08);
  box-shadow: var(--ss-shadow-soft);
}

/* Make images feel consistent + premium */
.about-portrait img,
.about-practice-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Buttons (premium: visible hover) ---------- */
.btn-ss-primary {
  background: var(--ss-sage);
  border-color: var(--ss-sage);
  color: #fff;
  box-shadow:
    0 10px 20px rgba(110, 131, 116, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

/* FIX: darken on hover (prevents blending into off-white background) */
.btn-ss-primary:hover {
  background: var(--ss-sage-2);
  border-color: var(--ss-sage-2);
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px rgba(110, 131, 116, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-ss-outline {
  border: 1px solid rgba(110, 131, 116, 0.55);
  color: rgba(18, 28, 22, 0.86);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.btn-ss-outline:hover {
  background: rgba(110, 131, 116, 0.10);
  border-color: rgba(110, 131, 116, 0.70);
  transform: translateY(-1px);
  color: rgba(18, 28, 22, 0.92);
}

/* ---------- Cards (lighter + more “designed”) ---------- */
.about-card {
  background: var(--ss-card);
  border: 1px solid rgba(18, 28, 22, 0.08);
  border-radius: var(--ss-radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--ss-shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ss-shadow);
  border-color: rgba(18, 28, 22, 0.11);
}

.about-card-title {
  font-size: 1.10rem;
  font-weight: 760;
  margin-bottom: 0.75rem;
  color: var(--ss-ink);
}

.about-list {
  padding-left: 1.05rem;
  margin: 0;
  color: var(--ss-muted);
}

.about-list li {
  margin-bottom: 0.55rem;
}

.about-list li:last-child {
  margin-bottom: 0;
}

/* ---------- What to Expect ---------- */
.expect-item {
  padding: 1.1rem 0.75rem;
  text-align: center;
}

.expect-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  color: var(--ss-sage);
  opacity: 0.85;
  transition: transform 180ms ease, opacity 180ms ease;
}

.expect-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.expect-item:hover .expect-icon {
  opacity: 1;
  transform: translateY(-2px);
}

.expect-title {
  font-size: 1.02rem;
  font-weight: 760;
  margin-bottom: 0.35rem;
  color: var(--ss-ink);
}

.expect-text {
  font-size: 0.95rem;
  color: var(--ss-muted);
  max-width: 24ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* ---------- My Practice list ---------- */
.about-practice-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: var(--ss-muted);
}

.about-practice-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(18, 28, 22, 0.08);
}

.about-practice-list li:last-child {
  border-bottom: 0;
}

/* ---------- Final CTA: premium panel ---------- */
.about-final-cta {
  background: var(--ss-paper);
}

.final-cta-inner {
  max-width: 64ch;
  margin: 0 auto;
  background: rgba(110, 131, 116, 0.10);
  border: 1px solid rgba(110, 131, 116, 0.18);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

/* ---------- Optional: divider utility ---------- */
.about-divider {
  height: 1px;
  background: var(--ss-line);
  width: 100%;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}

/* ---------- Optional: reveal animation hooks (add .reveal + JS later) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 500ms ease, transform 500ms ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
