/* ═══════════════════════════════════════════════════════════════
   CLARITY — about.css
   Styles specific to about.html (About / Founder Page)
   Sections: Hero · Founder · Qualifications · Approach ·
             Values · CTA
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   HERO — 70vh, forest path, deep teal overlay
   ───────────────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--pure-white);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.about-hero.loaded .about-hero-bg {
  transform: scale(1);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  /* ~60% teal opacity as per spec */
  background: linear-gradient(
    160deg,
    rgba(26, 95, 90, 0.82) 0%,
    rgba(26, 42, 42, 0.65) 55%,
    rgba(26, 95, 90, 0.5) 100%
  );
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
}

/* Breadcrumb */
.about-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}
.about-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.about-breadcrumb a:hover { color: var(--pure-white); }
.about-breadcrumb i { font-size: 0.9rem; }
.about-breadcrumb span { color: rgba(255, 255, 255, 0.5); }

/* Main headline */
.about-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--pure-white);
  max-width: 860px;
  margin: 0 auto 32px;
}
.about-hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

/* Gold horizontal rule */
.about-hero-rule {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
  border-radius: 1px;
}

/* Subtext */
.about-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   FOUNDER STORY — Asymmetric magazine layout
   ───────────────────────────────────────────────────────────── */
.founder-section {
  background: var(--warm-white);
}

.founder-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--gap-lg);
  align-items: start;
}

/* ── Left: image column ── */
.founder-media {
  /* sticky so portrait stays visible as text scrolls */
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.founder-img-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.founder-portrait {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.founder-portrait--placeholder {
  height: 540px;
  background: linear-gradient(145deg, var(--teal-pale) 0%, var(--teal-soft) 100%);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: unset;
}
.founder-portrait--placeholder svg {
  width: 60%;
  max-width: 220px;
  height: auto;
}

/* Floating experience badge (bottom-left of image) */
.founder-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-deep));
  color: var(--pure-white);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 8px 28px rgba(26, 95, 90, 0.35);
  min-width: 148px;
}
.founder-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.founder-badge-text {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* Credential initials row */
.founder-credentials {
  display: flex;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.cred-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-pale);
  border: 2px solid var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.2;
  cursor: default;
  transition: all 0.25s ease;
}
.cred-badge:hover {
  background: var(--teal-mid);
  border-color: var(--teal-mid);
  color: var(--pure-white);
}

/* ── Right: text column ── */
.founder-text {
  padding-top: 8px;
}

/* "The Founder" label in Playfair Display italic */
.founder-label {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--teal-mid);
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 12px;
}

.founder-role {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 36px;
}

.founder-para {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 20px;
}

/* Pull quote block */
.founder-pullquote {
  margin: 36px 0 0;
  padding: 24px 28px;
  border-left: 4px solid var(--teal-mid);
  background: var(--teal-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--teal-deep);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   QUALIFICATIONS — Dark teal background, 3×2 card grid
   ───────────────────────────────────────────────────────────── */
.quals-section {
  background: var(--teal-deep);
}
.quals-section .section-header .overline {
  color: var(--gold-light);
  opacity: 1;
}
.quals-section .section-header h2 {
  color: var(--pure-white);
}

.quals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 56px;
}

.qual-card {
  background: #2A6B66;
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.qual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4), 0 16px 40px rgba(0, 0, 0, 0.25);
}

.qual-acronym {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.qual-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
  line-height: 1.4;
}

.qual-body {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--teal-soft);
  opacity: 0.8;
  line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────
   APPROACH — White, split: LEFT text + pillars, RIGHT image
   ───────────────────────────────────────────────────────────── */
.approach-section {
  background: var(--pure-white);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

/* ── Left: text ── */
.approach-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 40px;
  margin-top: 20px;
}

.approach-pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.approach-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ap-icon {
  width: 46px;
  height: 46px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--teal-mid);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.approach-pillar:hover .ap-icon {
  background: var(--teal-mid);
  color: var(--pure-white);
}
.ap-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ap-text strong {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
}
.ap-text span {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.55;
}

.approach-para {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate);
  margin-top: 8px;
}

/* ── Right: image + decoration ── */
.approach-visual {
  position: relative;
}

/* Large decorative pale teal circle behind the image */
.approach-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  background: var(--teal-pale);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -55%);
  z-index: 0;
  pointer-events: none;
}

.approach-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: block;
}

/* Small floating card */
.approach-float-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  z-index: 2;
  background: var(--pure-white);
  border-left: 4px solid var(--teal-mid);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(26, 95, 90, 0.15);
  min-width: 220px;
}
.approach-float-card i {
  font-size: 1.5rem;
  color: var(--teal-mid);
  flex-shrink: 0;
}
.approach-float-card strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.approach-float-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────
   VALUES — Pale teal, 5 value cards
   ───────────────────────────────────────────────────────────── */
.values-section {
  background: var(--teal-pale);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
  margin-top: 52px;
}

.value-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  /* Fill layer for teal hover state */
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal-deep);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
  z-index: 0;
}
.value-card:hover::before {
  transform: scaleY(1);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.value-icon,
.value-card h3,
.value-card p {
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal-mid);
  margin: 0 auto 20px;
  transition: background 0.35s ease, color 0.35s ease;
}
.value-card:hover .value-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--gold-light);
}

.value-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.value-card:hover h3 { color: var(--pure-white); }

.value-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--slate);
}
.value-card:hover p { color: rgba(255, 255, 255, 0.82); }

/* ─────────────────────────────────────────────────────────────
   CTA SECTION — Diagonal gradient, decorative rings
   ───────────────────────────────────────────────────────────── */
.about-cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--teal-deep) 100%);
  padding-block: 110px;
}

/* Decorative ring elements (concentric circles, low opacity) */
.about-cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.about-cta-ring--1 {
  width: 400px;
  height: 400px;
  top: -120px;
  right: -80px;
}
.about-cta-ring--2 {
  width: 600px;
  height: 600px;
  top: -220px;
  right: -180px;
}
.about-cta-ring--3 {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: -60px;
  border-color: rgba(201, 168, 76, 0.08);
}

.about-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.about-cta-eyebrow {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-cta-inner h2 {
  color: var(--pure-white);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-cta-inner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* btn-outline-white (shared with home, needed here too) */
.btn-outline-white {
  background: transparent;
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--pure-white);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE OVERRIDES
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: var(--gap);
  }
  .founder-media {
    position: static;
    max-width: 480px;
    margin-inline: auto;
  }
  .founder-portrait { height: 400px; }
  .quals-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: var(--gap);
  }
  .approach-visual {
    order: -1;
    max-width: 560px;
    margin-inline: auto;
  }
  .approach-img { height: 400px; }
  .approach-float-card { right: -8px; bottom: -8px; }
  .approach-circle { width: 320px; height: 320px; }
}

@media (max-width: 768px) {
  .about-hero-headline { font-size: clamp(2rem, 7vw, 2.8rem); }
  .quals-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-badge { bottom: -12px; left: -8px; padding: 14px 18px; }
  .approach-float-card { display: none; }
  .approach-circle { width: 260px; height: 260px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .founder-credentials { gap: 8px; }
}
