/* ========================================================
   ABOUT PAGE - alternating dark and light editorial story
   Matches TML About page visual system.
   ======================================================== */

.about-page {
  min-height: 100vh;
  background: var(--color-bg, #0D0D0D);
}

/* ============================================
   LIGHT-MODE SECTIONS (cream background)
   Applied via <section class="... theme-light">.
   Overrides the default dark ab-* styles.
   ============================================ */
.theme-light {
  background: #faf8f3 !important;
  color: #0d0d0d !important;
  position: relative;
}
.theme-light .ab-h2,
.theme-light h1,
.theme-light h2,
.theme-light h3 {
  color: #0d0d0d !important;
}
.theme-light .ab-body p,
.theme-light p,
.theme-light li,
.theme-light span {
  color: #2a2a2a;
}
.theme-light .ab-eyebrow,
.theme-light em.tml,
.theme-light em {
  color: #fcb141;
}
.theme-light .ab-body em {
  color: #0d0d0d;
  font-style: italic;
}
.theme-light .ab-cred-title {
  color: #0d0d0d;
}
.theme-light .ab-cred-body {
  color: #2a2a2a;
}
.theme-light .ab-cred-item {
  border-color: rgba(13, 13, 13, 0.12) !important;
}

/* Skip link - visually hidden until keyboard-focused.
   Uses `clip` + width:1px so it does NOT create horizontal overflow in RTL. */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  inset-inline-start: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  padding: 0.75rem 1rem;
  background: #fcb141;
  color: #0d0d0d;
  z-index: 9999;
  font-weight: 600;
  border-radius: 4px;
}

/* Prevent any accidental horizontal overflow on RTL pages */
html[dir="rtl"] body {
  overflow-x: hidden;
}

/* Logo SVG: give it a bit more room and don't clip */
.nav-logo svg,
.footer-logo svg {
  width: auto;
  height: 32px;
  overflow: visible;
}

/* Inner-container */
.ab-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Shared eyebrow */
.ab-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin: 0 0 var(--space-6);
}

/* Shared section H2 */
.ab-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 0.9rem + 2.2vw, 2.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 var(--space-8);
  max-width: 760px;
}
.ab-h2-italic {
  font-style: italic;
}

/* Body copy in sections */
.ab-body p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 var(--space-5);
  max-width: 760px;
}
.ab-body p:last-child {
  margin-bottom: 0;
}
.ab-body em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}

/* Section spacing */
.ab-section {
  padding: var(--space-24) 0;
}

/* Constrained-column variant - text is left-aligned within a centered column */
.ab-section-centered .ab-inner {
  max-width: 760px;
  text-align: left;
}
.ab-section-centered .ab-h2 {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.ab-section-centered .ab-body {
  max-width: 100%;
  text-align: left;
}
.ab-section-centered .ab-pullquote {
  margin-left: auto;
  margin-right: auto;
}
.ab-section-centered.ab-pullquote .ab-inner,
.ab-pullquote.ab-section-centered .ab-inner {
  text-align: center;
}

/* ===== HERO ===== */
.ab-hero {
  position: relative;
  /* Three-step fallback: vh -> svh (iOS Safari) -> dvh (dynamic, adapts to in-app browser chrome) */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}
.ab-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ab-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}
.ab-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.6) 0%,
    rgba(10, 12, 18, 0.4) 50%,
    rgba(8, 12, 18, 0.7) 100%
  );
}
.ab-hero-geometry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(75vh, 620px);
  height: min(75vh, 620px);
  z-index: 1;
  pointer-events: none;
}
.ab-hero-geometry svg {
  width: 100%;
  height: 100%;
}
.ab-hero-content {
  position: relative;
  z-index: 2;
  /* Align with the logo on the left (nav uses 24px / var(--space-6) horizontal padding) */
  max-width: none;
  margin: 0;
  /* Top padding pushes the heading well past dead-centre, ~50% lower */
  padding: clamp(13rem, 26vh, 22rem) var(--space-6) var(--space-16);
  width: 100%;
  text-align: left;
}
/* Cap inner text width so headings + sub copy wrap nicely on wide screens. Sub copy uses a tighter cap so it lands on ~2 lines consistently. */
.ab-hero-content .ab-hero-eyebrow,
.ab-hero-content h1 {
  max-width: 900px;
}
.ab-hero-content .ab-hero-sub {
  max-width: 720px;
}
/* CTA button placed under the sub copy on About + Threshold heroes */
.ab-hero-cta {
  display: inline-flex;
  margin-top: var(--space-8);
}
.ab-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin: 0 0 var(--space-6);
}
.ab-hero h1 {
  /* Clamp: 30px mobile (1.875rem) -> 50px desktop (3.125rem).
     ExtraLight 200 + slightly tightened line-height + a touch more tracking
     keeps the ALL CAPS feeling editorial rather than heavy. */
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1rem + 2.2vw, 3.125rem);
  font-weight: 200;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin: 0 0 var(--space-10);
  max-width: 900px;
}
.ab-hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
  /* Balance line breaks so each line has roughly the same length */
  text-wrap: balance;
}
.ab-hero-sub em {
  font-style: italic;
  color: inherit;
  font-weight: 400;
}

/* ===== TWO-COLUMN SECTION (The Real Story) ===== */
.ab-section-twocol {
  padding: var(--space-24) var(--space-6);
}
.ab-twocol-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (min-width: 900px) {
  .ab-twocol-inner {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-16);
  }
}
.ab-twocol-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* ===== STAT CARDS ===== */
.ab-stat {
  padding: var(--space-7) var(--space-7);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(252, 177, 65, 0.18);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ab-stat:hover {
  border-color: rgba(252, 177, 65, 0.4);
  background: rgba(255, 255, 255, 0.045);
}
.ab-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem);
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}
.ab-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

/* ===== PULL QUOTE ===== */
.ab-pullquote {
  margin: var(--space-12, 5rem) 0;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border: 0;
  text-align: center;
}
.ab-pullquote.ab-section-bg .ab-bg img {
  opacity: 0.48;
}
.ab-pullquote.ab-section-bg .ab-bg-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(13, 13, 13, 0.88) 0%,
      rgba(13, 13, 13, 0.55) 30%,
      rgba(13, 13, 13, 0.50) 70%,
      rgba(13, 13, 13, 0.92) 100%
    );
}
.ab-pullquote .ab-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  position: relative;
}
/* Decorative orange bars removed by request - keep quote clean */
.ab-pullquote .ab-inner::before,
.ab-pullquote .ab-inner::after {
  content: none;
}
.ab-pullquote p {
  /* Matched to .ab-quote-text (Threshold pattern) so the quote feels strong */
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  letter-spacing: normal;
  text-align: center;
}
.ab-pullquote p em {
  /* Keep the emphasis as italic + slight weight bump but in white to match the
     all-white quote treatment requested across all three pages. */
  font-style: italic;
  color: #fff;
  font-weight: 500;
}
.ab-pullquote-attr {
  /* Matched to .ab-quote-attribution (Threshold pattern): orange, centered, uppercase, 600 */
  display: block !important;
  margin: var(--space-6) auto 0 !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-xs) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: var(--color-accent) !important;
}

/* ===== QUOTE BANNER (full-bleed) ===== */
.ab-quote-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
  padding: var(--space-20) var(--space-6);
}
.ab-quote-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ab-quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.ab-quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.65) 0%,
    rgba(10, 12, 18, 0.45) 50%,
    rgba(8, 12, 18, 0.7) 100%
  );
}
.ab-quote-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}
.ab-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 var(--space-6);
}
.ab-quote-text em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}
.ab-quote-attribution {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin: 0 auto;
  text-align: center;
  text-indent: 0.3em;
}

/* ===== CREDENTIALS ===== */
.ab-cred-lede {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 0 var(--space-3);
}
.ab-cred-lede-sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}
.ab-cred-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.ab-cred-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: var(--space-6) 0;
  color: #fff;
}
.ab-cred-card + .ab-cred-card {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ab-cred-card:first-child {
  padding-top: 0;
}
.ab-cred-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 8px;
}
.ab-cred-card-body {
  flex: 1;
}
.ab-cred-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  margin: 0 0 var(--space-2);
  letter-spacing: 0;
  line-height: 1.3;
}
.ab-cred-card p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ===== CLOSING CTA BANNER =====
   Full-screen finale on desktop - the closing moment of the page deserves
   the whole viewport, mirroring the hero treatment.
   Asymmetric padding pushes the content block down ~30% so it sits closer to
   the optical centre of the section, not against the top of the photo. */
.ab-cta-banner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
  padding: clamp(8rem, 22vh, 16rem) var(--space-6) clamp(4rem, 8vh, 6rem);
}
.ab-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ab-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}
.ab-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 12, 18, 0.78) 0%,
    rgba(10, 12, 18, 0.5) 60%,
    rgba(10, 8, 6, 0.35) 100%
  );
}
.ab-cta-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.ab-cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 0.6rem + 3vw, 2.75rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.18;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 auto var(--space-8);
  max-width: 680px;
}

/* Outline orange CTA button. Solid orange only on hover/focus for consistency with .btn-hero/.btn-audience/.btn-cta-outline. */
.ab-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-6);
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
  cursor: pointer;
}
.ab-cta-button:hover,
.ab-cta-button:focus-visible {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  box-shadow: 0 6px 24px rgba(252, 177, 65, 0.32);
}
.ab-cta-button:active {
  transform: scale(0.97);
}

/* ===== EXTERNAL LINK CARD (Threshold page) ===== */
.th-link-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(252, 177, 65, 0.18);
  border-radius: 12px;
  padding: var(--space-12) var(--space-10);
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.th-link-card .ab-h2 {
  margin-bottom: var(--space-5);
}
.th-link-card .ab-cred-lede {
  margin-bottom: var(--space-8);
  max-width: 100%;
}
.th-external-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1.5px solid var(--color-accent);
  transition: gap 0.2s ease, color 0.2s ease;
}
.th-external-link:hover,
.th-external-link:focus-visible {
  gap: var(--space-4);
  color: var(--color-accent-hover);
}
.th-external-arrow {
  font-size: 1.1em;
  display: inline-block;
}
@media (max-width: 767px) {
  .th-link-card {
    padding: var(--space-8) var(--space-6);
  }
}

/* ===== FOOTER ===== */
.ab-footer {
  background: var(--color-dark);
  padding: var(--space-16) var(--space-6) var(--space-12);
  border-top: 1px solid rgba(252, 177, 65, 0.18);
}
.ab-footer-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.ab-footer-logo {
  display: inline-block;
  margin: 0 0 var(--space-8);
}
.ab-footer-logo img {
  height: 32px;
  width: auto;
}
.ab-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin: 0 0 var(--space-8);
}
.ab-footer-nav a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}
.ab-footer-nav a:hover,
.ab-footer-nav a:focus-visible,
.ab-footer-nav a[aria-current="page"] {
  color: var(--color-accent);
}
.ab-footer-meta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  letter-spacing: 0.05em;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 767px) {
  .ab-hero {
    /* Match desktop: fill the full mobile viewport so no cream peeks at the bottom on first load */
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .ab-hero-content {
    padding: clamp(7rem, 14vh, 11rem) var(--space-4) var(--space-12);
  }
  .ab-hero h1 {
    font-size: clamp(1.4rem, 1rem + 2.5vw, 2rem);
    line-height: 1.2;
  }
  .ab-hero-geometry {
    width: 95vw;
    height: 95vw;
    opacity: 0.7;
  }
  .ab-section, .ab-section-twocol {
    padding: var(--space-16) var(--space-4);
  }
  .ab-inner {
    padding: 0 var(--space-4);
  }
  .ab-h2 {
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem);
  }
  .ab-body p {
    font-size: var(--text-base);
  }
  .ab-pullquote {
    padding-left: var(--space-4);
  }
  .ab-pullquote p {
    font-size: clamp(1.25rem, 0.9rem + 1.5vw, 1.75rem);
  }
  .ab-quote-banner {
    min-height: 55vh;
    padding: var(--space-16) var(--space-4);
  }
  .ab-quote-text {
    font-size: clamp(1.2rem, 0.9rem + 1.3vw, 1.8rem);
  }
  .ab-cred-card {
    padding: var(--space-6) var(--space-5) var(--space-6) var(--space-10);
  }
  .ab-cred-dot {
    top: var(--space-6);
    left: var(--space-4);
  }
  .ab-cta-banner {
    /* Mobile keeps the full-viewport treatment too so it still ends on a strong dark moment.
       Generous top padding drops the heading to the optical centre of the section. */
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: clamp(14rem, 38vh, 22rem) var(--space-4) clamp(4rem, 8vh, 6rem);
  }
  .ab-cta-content h2 {
    font-size: clamp(1.4rem, 1rem + 2vw, 1.9rem);
  }
  .ab-footer-nav {
    gap: var(--space-4);
  }
}

/* ============================================================
   Credentials list (about page)
   ============================================================ */
.ab-cred-list {
  list-style: none;
  margin: var(--space-8, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5, 1.75rem);
  text-align: left;
}
@media (min-width: 768px) {
  .ab-cred-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6, 2rem);
  }
}
.ab-cred-item {
  padding: var(--space-5, 1.75rem) var(--space-5, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.ab-cred-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  margin: 0 0 var(--space-3, 0.85rem);
  line-height: 1.3;
}
.ab-cred-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ============================================================
   Closing CTA buttons (about page)
   ============================================================ */
.ab-closing {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}
/* Center the closing heading so it aligns with the centered buttons below */
.ab-closing .ab-inner {
  text-align: center;
}
.ab-closing .ab-h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.ab-closing-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4, 1.25rem);
  margin-top: var(--space-7, 2.5rem);
}
@media (min-width: 640px) {
  .ab-closing-buttons {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-5, 1.75rem);
  }
}
.ab-cta-primary,
.ab-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 1.12rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ab-cta-primary {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  background: transparent;
}
.ab-cta-primary:hover,
.ab-cta-primary:focus-visible {
  background: var(--color-accent);
  color: var(--color-dark, #0D0D0D);
}
.ab-cta-secondary {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: transparent;
}
.ab-cta-secondary:hover,
.ab-cta-secondary:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   Section background imagery (solo climb, credentials)
   ============================================================ */
.ab-section-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ab-section-bg .ab-inner {
  position: relative;
  z-index: 2;
}
.ab-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ab-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
}
.ab-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(13, 13, 13, 0.92) 0%,
      rgba(13, 13, 13, 0.72) 18%,
      rgba(13, 13, 13, 0.55) 50%,
      rgba(13, 13, 13, 0.78) 88%,
      rgba(13, 13, 13, 0.95) 100%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(10, 8, 6, 0.10) 0%,
      rgba(10, 8, 6, 0.45) 100%
    );
}
/* Credentials cards: make them readable on top of imagery */
.ab-section-bg .ab-cred-item {
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, 0.14);
}

/* ============================================================
   About footer - ensure logo and meta are centered on all sizes
   ============================================================ */
.ab-footer .footer-brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--space-5, 1.75rem);
}
.ab-footer .ab-footer-meta {
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   "THE REAL STORY" SECTION - now centered to match the rest
   of the About page. The right-side stats column was removed,
   so the orphaned left column should collapse to a single
   centered column matching the other ab-section-centered blocks.
   ============================================================ */
.ab-section-twocol .ab-twocol-inner {
  grid-template-columns: 1fr !important;
  max-width: 760px;
  text-align: center;
}
.ab-section-twocol .ab-twocol-text {
  text-align: center;
}
.ab-section-twocol .ab-twocol-text .ab-h2 {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.ab-section-twocol .ab-twocol-text .ab-body {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.ab-section-twocol .ab-eyebrow {
  text-align: center;
}

/* Ensure the final dark CTA fills at least the viewport when scrolled to
   the bottom, so no thin sliver of the previous light section peeks out. */
.ab-closing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-closing .ab-inner {
  width: 100%;
}

/* Closing CTA stays centered — matching the composition that already
   feels balanced on the mountain imagery. */

/* True vertical centering — equal padding top and bottom. */
.ab-closing {
  padding-top: clamp(4rem, 12vh, 10rem) !important;
  padding-bottom: clamp(4rem, 12vh, 10rem) !important;
  align-items: center !important;
}

/* Constrain closing to exactly one viewport, cropping any overflow. */
.ab-closing {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  align-items: center !important;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
.ab-closing .ab-inner {
  transform: translateY(6vh);
}

/* Closing subtitle - quiet line beneath the closing H2 */
.ab-closing-sub {
  max-width: 640px;
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  font-family: var(--font-body, 'Raleway', sans-serif);
  font-size: clamp(1rem, 0.85rem + 0.35vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* FINAL closing section — viewport-minus-footer height, perfect centering.
   Placed at the END of about.css so it wins the cascade over earlier rules. */
:root {
  --footer-h: 152px;
}
.ab-closing {
  min-height: calc(100vh - var(--footer-h)) !important;
  height: calc(100vh - var(--footer-h)) !important;
  max-height: none !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  padding: 2rem 1.5rem !important;
}
.ab-closing .ab-inner {
  transform: none !important;
  width: 100%;
  max-width: 900px;
  padding: 0 !important;
  text-align: center;
}
.ab-closing .ab-h2 {
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem) !important;
  line-height: 1.15 !important;
  font-weight: 300 !important;
  margin: 0 auto clamp(1.25rem, 2.5vw, 1.75rem) !important;
  max-width: 720px;
}
.ab-closing-sub {
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.2rem) !important;
  line-height: 1.6 !important;
  max-width: 620px;
  margin: 0 auto !important;
}


/* =====================================================
   UNIFIED DARK-IMAGE OVERLAYS (Aug 2, 2026)
   One gradient recipe for every dark-image section across
   both sites — from the .ab-quote-banner recipe on the
   TML threshold explainer page. Portrait visible, gentle
   at edges, lightest at the face.
   ===================================================== */

/* Kill any image dimming on dark-image sections — let the photo breathe */
.ab-bg img,
.ab-hero-bg img,
.ab-quote-bg img,
.ab-cta-bg img,
.audience-bg img,
.comparison-bg img,
.cta-banner-bg img,
.hero-bg img,
.quote-banner-bg img {
  opacity: 1 !important;
}

/* One gradient to rule them all — soft top, lightest at 50%, soft bottom */
.ab-bg-overlay,
.ab-hero-overlay,
.ab-quote-overlay,
.ab-cta-overlay,
.audience-overlay,
.comparison-overlay,
.cta-banner-overlay,
.hero-overlay,
.quote-banner-overlay,
.ab-pullquote.ab-section-bg .ab-bg-overlay,
.ab-section-bg .ab-bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.65) 0%,
    rgba(10, 12, 18, 0.45) 50%,
    rgba(8, 12, 18, 0.7) 100%
  ) !important;
}

/* Pull-quote sections: give them room to breathe (matches .ab-quote-banner) */
.ab-pullquote.ab-section-bg,
.ab-pullquote {
  min-height: 60vh;
  padding-top: clamp(5rem, 8vw, 7rem) !important;
  padding-bottom: clamp(5rem, 8vw, 7rem) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 700px) {
  .ab-pullquote.ab-section-bg,
  .ab-pullquote {
    min-height: 50vh;
  }
}
