/* About page – manifesto / chapter layout (Manrope only) */

.page-about {
  --about-ink: #111111;
  --about-muted: #666666;
  --about-paper: #f7f6f3;
  --about-gold: #c79402;
  --about-gold-bright: #ffc745;
  --about-sans: "Manrope", system-ui, sans-serif;
  font-family: var(--about-sans);
  color: var(--about-ink);
  background: #fff;
}

.page-about h1,
.page-about h2,
.page-about h3,
.page-about h4,
.page-about em {
  font-family: var(--about-sans) !important;
  font-style: normal;
}

/* ---------- Manifesto hero (full-bleed) ---------- */
.page-about .about-manifesto {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-about .about-manifesto-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-about .about-manifesto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  animation: about-ken 18s ease-in-out infinite alternate;
}

@keyframes about-ken {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.page-about .about-manifesto-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(255, 199, 69, 0.18), transparent 55%);
  pointer-events: none;
}

.page-about .about-manifesto-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  max-width: 820px;
}

.page-about .about-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.page-about .about-crumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.page-about .about-crumb a:hover {
  color: var(--about-gold-bright);
}

.page-about .about-manifesto-brand {
  margin: 0 0 18px;
  font-size: clamp(13px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--about-gold-bright);
}

.page-about .about-manifesto h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
}

.page-about .about-manifesto h1 .about-accent {
  color: var(--about-gold-bright);
}

.page-about .about-manifesto-lead {
  margin: 0 0 28px;
  max-width: 42ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.page-about .about-manifesto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.page-about .about-manifesto-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--about-gold-bright);
  color: #111;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-about .about-manifesto-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.page-about .about-manifesto-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.page-about .about-manifesto-link:hover {
  color: var(--about-gold-bright);
  border-color: var(--about-gold-bright);
}

.page-about .about-manifesto-legal {
  margin: 22px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Layout with chapter rail ---------- */
.page-about .about-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.page-about .about-rail {
  position: sticky;
  top: 96px;
  padding: 40px 0 40px 0;
  align-self: start;
}

.page-about .about-rail-label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--about-gold);
}

.page-about .about-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  border-left: 1px solid rgba(17, 17, 17, 0.1);
}

.page-about .about-rail-list a {
  display: block;
  padding: 10px 0 10px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--about-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-about .about-rail-list a:hover,
.page-about .about-rail-list a.is-active {
  color: var(--about-ink);
  border-left-color: var(--about-gold-bright);
}

.page-about .about-rail-num {
  display: inline-block;
  min-width: 1.6em;
  margin-right: 6px;
  color: var(--about-gold);
  font-variant-numeric: tabular-nums;
}

.page-about .about-chapters {
  min-width: 0;
  padding: 8px 0 80px;
}

.page-about .about-chapter {
  padding: 56px 0 8px;
  scroll-margin-top: 100px;
}

.page-about .about-chapter-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}

.page-about .about-chapter-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--about-gold);
}

.page-about .about-chapter-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--about-muted);
}

.page-about .about-chapter h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-about .about-chapter h2 .about-accent {
  color: var(--about-gold);
}

.page-about .about-chapter-lead {
  margin: 0 0 28px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--about-muted);
}

/* Story split */
.page-about .about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.page-about .about-story-copy p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--about-muted);
}

.page-about .about-story-copy p.about-story-strong {
  color: var(--about-ink);
  font-weight: 650;
  font-size: 17px;
}

.page-about .about-story-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 50px rgba(40, 30, 10, 0.12);
}

.page-about .about-story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about .about-story-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  backdrop-filter: blur(8px);
}

.page-about .about-story-badge strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--about-gold-bright);
}

.page-about .about-story-badge span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Purpose band (mission / vision) – unique dark editorial */
.page-about .about-purpose {
  margin: 48px 0 8px;
  padding: 40px 36px;
  border-radius: 28px;
  background: #111;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 36px;
  position: relative;
  overflow: hidden;
}

.page-about .about-purpose::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 199, 69, 0.16), transparent 65%);
  pointer-events: none;
}

.page-about .about-purpose-col {
  position: relative;
  z-index: 1;
}

.page-about .about-purpose-rule {
  background: rgba(255, 255, 255, 0.12);
}

.page-about .about-purpose-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--about-gold-bright);
}

.page-about .about-purpose-col h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-about .about-purpose-col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* Capability index – editorial numbered list, not card grid */
.page-about .about-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.page-about .about-index-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  transition: background 0.2s ease;
}

.page-about .about-index-item:hover {
  background: linear-gradient(90deg, rgba(255, 199, 69, 0.08), transparent 60%);
}

.page-about .about-index-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--about-gold);
}

.page-about .about-index-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 750;
}

.page-about .about-index-body p {
  margin: 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--about-muted);
}

.page-about .about-index-mark {
  font-size: 20px;
  color: rgba(17, 17, 17, 0.2);
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-about .about-index-item:hover .about-index-mark {
  color: var(--about-gold);
  transform: translateX(4px);
}

/* Values – principle strip */
.page-about .about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-about .about-principle {
  padding: 24px 22px;
  border-radius: 20px;
  background: var(--about-paper);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.page-about .about-principle-num {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--about-gold);
}

.page-about .about-principle h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
}

.page-about .about-principle p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--about-muted);
}

/* Stats – oversized type */
.page-about .about-stats {
  margin-top: 28px;
  padding: 36px 32px;
  border-radius: 28px;
  background: #111;
  color: #fff;
}

.page-about .about-stats-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.page-about .about-stats-grid div {
  text-align: left;
}

.page-about .about-stats-grid dt {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--about-gold-bright);
}

.page-about .about-stats-grid dd {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* Quotes */
.page-about .about-quotes {
  display: grid;
  gap: 18px;
}

.page-about .about-quote {
  margin: 0;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--about-paper);
  border-left: 3px solid var(--about-gold-bright);
}

.page-about .about-quote p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--about-ink);
  font-weight: 550;
}

.page-about .about-quote footer {
  font-size: 13.5px;
  color: var(--about-muted);
}

.page-about .about-quote strong {
  color: var(--about-ink);
  font-weight: 750;
}

/* FAQ – no beige qa-section panel (heading was flush to the box edge) */
.page-about .qa-section {
  margin-top: 40px;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.page-about .qa-section::before {
  display: none;
}

.page-about .qa-header h2,
.page-about .qa-header h2 em,
.page-about .consult-section h2,
.page-about .consult-section h2 em {
  font-family: var(--about-sans) !important;
}

.page-about .qa-header h2 em,
.page-about .consult-section h2 em {
  font-style: normal !important;
  font-weight: 800;
  color: var(--about-gold);
}

.page-about .qa-script {
  display: none;
}

/* Mobile chapter nav */
.page-about .about-rail-mobile {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 6px;
  margin: 0 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-about .about-rail-mobile::-webkit-scrollbar {
  display: none;
}

.page-about .about-rail-mobile a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  color: var(--about-muted);
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.page-about .about-rail-mobile a.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

@media (max-width: 980px) {
  .page-about .about-shell {
    grid-template-columns: 1fr;
  }

  .page-about .about-rail {
    display: none;
  }

  .page-about .about-rail-mobile {
    display: flex;
    position: sticky;
    top: 72px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  }

  .page-about .about-story-grid,
  .page-about .about-purpose,
  .page-about .about-principles,
  .page-about .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .page-about .about-purpose {
    gap: 28px;
    padding: 28px 24px;
  }

  .page-about .about-purpose-rule {
    display: none;
  }

  .page-about .about-index-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .page-about .about-index-mark {
    display: none;
  }

  .page-about .about-manifesto {
    min-height: 72vh;
  }

  .page-about .about-manifesto-inner {
    padding: 36px 0 40px;
  }
}

@media (max-width: 640px) {
  .page-about .about-manifesto h1 {
    max-width: none;
  }

  .page-about .about-stats {
    padding: 28px 22px;
  }

  .page-about .about-chapter {
    padding-top: 40px;
  }
}
