/* ═══════════════════════════════════════════════════════
   ABOUT.CSS  |  RSM — About Page
   Tone: Quiet confidence. Typography-forward. No gimmicks.
   ═══════════════════════════════════════════════════════ */

.nav-active { color: #d4a54a !important; }
.nav-active::after { width: 100% !important; }

#scrollProgress {
  position: fixed; top: 64px; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, #d4a54a, rgba(212,165,74,0.5));
  z-index: 998; pointer-events: none;
  box-shadow: 0 0 10px rgba(212,165,74,0.4);
}

/* ═══════════════════
   SHARED
═══════════════════ */
.ab-sec {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.ab-sec-dark {
  background: rgba(255,255,255,0.012);
  border-top: 1px solid rgba(212,165,74,0.06);
  border-bottom: 1px solid rgba(212,165,74,0.06);
}
.ab-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}
.ab-header {
  text-align: center; max-width: 700px;
  margin: 0 auto clamp(48px, 7vw, 80px);
}
.ab-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 3.5px;
  text-transform: uppercase; color: #d4a54a;
  display: block; margin-bottom: 16px; opacity: 0.85;
}
.ab-sec-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700; line-height: 1.18; color: #eef0ff; margin-bottom: 16px;
}
.ab-sec-title em { font-style: italic; color: #d4a54a; }
.ab-sec-sub { font-size: 15px; line-height: 1.8; color: rgba(238,240,255,0.55); }

/* Orbs */
.ab-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ab-orb1 {
  width: 65vw; height: 65vw; max-width: 860px; max-height: 860px;
  background: radial-gradient(circle, rgba(68,24,130,0.2) 0%, transparent 70%);
  top: -20%; left: -10%; animation: abOrb1 24s ease-in-out infinite;
}
.ab-orb2 {
  width: 48vw; height: 48vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(14,50,110,0.16) 0%, transparent 70%);
  bottom: -15%; right: -12%; animation: abOrb2 28s ease-in-out infinite;
}
.ab-orb3 {
  width: 36vw; height: 36vw; max-width: 480px; max-height: 480px;
  background: radial-gradient(circle, rgba(212,165,74,0.06) 0%, transparent 70%);
  top: 40%; right: 8%; animation: abOrb1 20s ease-in-out infinite reverse;
}
.ab-orb4 {
  width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(68,24,130,0.2) 0%, transparent 70%);
  top: -15%; left: -15%; animation: abOrb1 22s ease-in-out infinite;
}
.ab-orb5 {
  width: 42vw; height: 42vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(212,165,74,0.07) 0%, transparent 70%);
  bottom: -8%; right: -8%; animation: abOrb2 32s ease-in-out infinite;
}
@keyframes abOrb1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%,6%) scale(1.06); } }
@keyframes abOrb2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4%,-4%) scale(1.05); } }

.ab-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,165,74,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,165,74,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none; z-index: 1;
}

/* Buttons */
.ab-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; background: #d4a54a; color: #020108;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border-radius: 3px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.ab-btn-primary:hover { background: #e8be6a; box-shadow: 0 0 36px rgba(212,165,74,0.3); transform: translateY(-2px); }
.ab-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; background: transparent;
  border: 1px solid rgba(212,165,74,0.28); color: rgba(238,240,255,0.65);
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border-radius: 3px;
  transition: border-color 0.3s, color 0.3s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.ab-btn-ghost:hover { border-color: rgba(212,165,74,0.6); color: #d4a54a; transform: translateY(-2px); }

/* Scroll hint */
.ab-scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0;
}
.ab-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(212,165,74,0.6), transparent);
  animation: abScrollPulse 2s ease-in-out infinite;
}
@keyframes abScrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.ab-scroll-hint span {
  font-family: "JetBrains Mono", monospace; font-size: 9px;
  letter-spacing: 3px; color: rgba(212,165,74,0.45); text-transform: uppercase;
}

/* ═══════════════════
   HERO
   Two-column: text left, logo feature right
═══════════════════ */
.ab-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: #020108;
  padding: 100px 0 80px;
}
.ab-hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ab-hero-inner {
  position: relative; z-index: 5;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.ab-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900; color: #eef0ff;
  line-height: 1.06; letter-spacing: -2px;
  margin-bottom: 28px;
  display: flex; flex-direction: column;
}
.ab-title-line1 { display: block; white-space: nowrap; }
.ab-title-line2 { display: block; white-space: nowrap; font-style: italic; color: #d4a54a; }

.ab-hero-sub {
  font-size: clamp(15px, 1.5vw, 17px); line-height: 1.8;
  color: rgba(238,240,255,0.62); max-width: 520px; margin-bottom: 40px;
}

/* Stats strip */
.ab-hero-meta {
  display: flex; align-items: center;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}
.ab-meta-item { display: flex; flex-direction: column; gap: 4px; }
.ab-meta-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700; color: #d4a54a; line-height: 1;
}
.ab-meta-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(238,240,255,0.35);
}
.ab-meta-divider {
  width: 1px; height: 36px;
  background: rgba(212,165,74,0.2); flex-shrink: 0;
}

/* Logo feature — right side */
.ab-hero-right {
  display: flex; align-items: center; justify-content: center;
}
.ab-logo-feature {
  position: relative;
  width: clamp(220px, 28vw, 340px);
  height: clamp(220px, 28vw, 340px);
  display: flex; align-items: center; justify-content: center;
}
/* Rotating ring behind logo */
.ab-logo-feature::before {
  content: "";
  position: absolute; inset: -20px; border-radius: 50%;
  border: 1px solid rgba(212,165,74,0.14);
  animation: abLogoRing1 20s linear infinite;
}
.ab-logo-feature::after {
  content: "";
  position: absolute; inset: -44px; border-radius: 50%;
  border: 1px solid rgba(212,165,74,0.07);
  animation: abLogoRing1 32s linear infinite reverse;
}
@keyframes abLogoRing1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ab-logo-feature img {
  width: 90%; object-fit: contain;
  mix-blend-mode: screen; filter: brightness(1.4);
  position: relative; z-index: 2;
  animation: abLogoFloat 5s ease-in-out infinite;
}
@keyframes abLogoFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
/* Subtle glow behind logo */
.ab-logo-feature .ab-logo-glow {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,74,0.1) 0%, transparent 70%);
  animation: abLogoFloat 5s ease-in-out infinite;
  z-index: 1;
}

/* ═══════════════════
   THE STORY
   Label left, body right (editorial grid)
═══════════════════ */

.ab-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 1100px; margin: 0 auto;
}
.ab-pillar {
  padding: clamp(28px, 3.5vw, 44px);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 12px;
  transition: border-color 0.35s, background 0.35s,
    transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative; overflow: hidden;
}
.ab-pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--pc, #d4a54a);
  opacity: 0; transition: opacity 0.35s;
}
.ab-pillar:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}
.ab-pillar:hover::before { opacity: 1; }
.ab-pillar-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--pc, #d4a54a);
  transition: background 0.3s, border-color 0.3s;
}
.ab-pillar-icon svg { width: 20px; height: 20px; }
.ab-pillar:hover .ab-pillar-icon {
  background: color-mix(in srgb, var(--pc) 12%, transparent);
  border-color: color-mix(in srgb, var(--pc) 25%, transparent);
}
.ab-pillar-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700; color: #eef0ff;
  line-height: 1.3; margin-bottom: 12px;
}
.ab-pillar-body {
  font-size: clamp(13px, 1.2vw, 14.5px); line-height: 1.75;
  color: rgba(238,240,255,0.5);
}

/* ═══════════════════
   CTA
═══════════════════ */
.ab-cta-sec {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0;
  overflow: hidden; background: #020108; text-align: center;
  border-top: 1px solid rgba(212,165,74,0.06);
}
.ab-cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.ab-cta-inner {
  position: relative; z-index: 3; max-width: 720px; margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
}
.ab-cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 5.5vw, 68px); font-weight: 900;
  line-height: 1.1; color: #eef0ff; margin-bottom: 22px; letter-spacing: -1px;
}
.ab-cta-title em { display: block; font-style: italic; color: #d4a54a; }
.ab-cta-sub {
  font-size: clamp(14px, 1.4vw, 16px); line-height: 1.8;
  color: rgba(238,240,255,0.5); max-width: 540px; margin: 0 auto 36px;
}
.ab-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.ab-btn-large { padding: 17px 38px !important; font-size: 12px !important; }
.ab-cta-note {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 2px; color: rgba(238,240,255,0.2); text-transform: uppercase;
}

/* ── TIMELINE — horizontal on desktop, vertical on mobile ── */

/* ─── DESKTOP HORIZONTAL ─── */
.ab-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 0;
}

/* Horizontal spine line — sits at dot level */
.ab-timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 38px; /* year height ~28px + 10px gap = center of dot */
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(212,165,74,0.2) 8%,
    rgba(212,165,74,0.2) 92%,
    transparent
  );
  z-index: 0;
}

.ab-tl-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(8px, 1.5vw, 20px);
  position: relative;
}

.ab-tl-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(212,165,74,0.55);
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ab-tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(212,165,74,0.3);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-bottom: 20px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ab-tl-dot--gold {
  background: #d4a54a;
  border-color: #d4a54a;
  box-shadow: 0 0 14px rgba(212,165,74,0.5);
}
.ab-tl-item:hover .ab-tl-dot {
  background: rgba(212,165,74,0.3);
  border-color: rgba(212,165,74,0.7);
}

.ab-tl-content { text-align: center; }

.ab-tl-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  color: #eef0ff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.ab-tl-body {
  font-size: clamp(12px, 1.1vw, 13.5px);
  line-height: 1.72;
  color: rgba(238,240,255,0.48);
}
.ab-tl-item--highlight .ab-tl-title { color: #d4a54a; }
.ab-tl-item--highlight .ab-tl-body  { color: rgba(238,240,255,0.62); }

/* ─── TABLET: 3 items top row, 2 bottom — still horizontal ─── */
@media (max-width: 1024px) {
  .ab-tl-year  { font-size: 9.5px; letter-spacing: 1.5px; }
  .ab-tl-title { font-size: 14px; }
  .ab-tl-body  { font-size: 12px; }
}

/* ─── MOBILE: switch to vertical ─── */
@media (max-width: 768px) {
  .ab-timeline {
    flex-direction: column;
    padding-left: 32px;
    gap: 0;
    max-width: 540px;
  }

  /* restore vertical spine */
  .ab-timeline::before {
    left: 0; right: auto; top: 8px; bottom: 8px;
    width: 1px; height: auto;
    background: linear-gradient(to bottom,
      transparent,
      rgba(212,165,74,0.2) 8%,
      rgba(212,165,74,0.2) 92%,
      transparent
    );
  }

  .ab-tl-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0 16px;
    padding: 0 0 36px;
    /* year | dot | content */
    display: grid;
    grid-template-columns: 80px 16px 1fr;
  }
  .ab-tl-item:last-child { padding-bottom: 0; }

  .ab-tl-year {
    height: auto;
    padding-top: 3px;
    text-align: right;
    font-size: 10px;
    justify-content: flex-end;
    margin-bottom: 0;
  }

  .ab-tl-dot {
    margin: 5px 0 0;
    justify-self: center;
  }

  .ab-tl-content { text-align: left; }
  .ab-tl-title   { font-size: 15px; }
  .ab-tl-body    { font-size: 13px; }
}

@media (max-width: 375px) {
  .ab-timeline { padding-left: 16px; }
  .ab-tl-item  { grid-template-columns: 64px 14px 1fr; gap: 0 10px; }
  .ab-tl-year  { font-size: 9px; letter-spacing: 1px; }
  .ab-tl-title { font-size: 14px; }
}

/* ═══════════════════
   LARGE SCREENS
═══════════════════ */
@media (min-width: 1440px) {
  .ab-sec-sub { font-size: 17px; }
  .ab-story-p { font-size: 17px; }
  .ab-story-lead { font-size: 22px; }
  .ab-pillar-body { font-size: 15px; }
  .ab-inner { max-width: 1400px; }
}
@media (min-width: 1920px) {
  .ab-hero-inner { max-width: 1500px; }
  .ab-story-grid { max-width: 1300px; }
  .ab-pillars { max-width: 1300px; }
}

/* ═══════════════════
   RESPONSIVE
═══════════════════ */
@media (max-width: 1024px) {
  .ab-hero-inner { grid-template-columns: 1fr; }
  .ab-hero-right { display: none; }
  .ab-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .ab-story-label { position: relative; top: auto; display: flex; align-items: center; gap: 16px; }
  .ab-story-line { width: 40px; height: 1px;
    background: linear-gradient(to right, #d4a54a, transparent); }
}
@media (max-width: 768px) {
  .ab-hero { min-height: auto; padding: 100px 0 60px; }
  .ab-hero-title { font-size: clamp(38px, 9vw, 60px); letter-spacing: -1px; }
  .ab-pillars { grid-template-columns: 1fr; }
  .ab-cta-btns { flex-direction: column; align-items: center; }
  .ab-btn-primary, .ab-btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
  .ab-hero-meta { gap: 16px; }
}
@media (max-width: 560px) {
  .ab-hero-title { font-size: clamp(32px, 9vw, 48px); }
  .ab-sec-title { font-size: clamp(24px, 6vw, 36px); }
  .ab-meta-num { font-size: 22px; }
  .ab-story-lead { font-size: 16px; }
  .ab-pillar { padding: 22px 18px; }
  .ab-pillar-title { font-size: 17px; }
  .ab-cta-title { font-size: clamp(26px, 7vw, 40px); }
}
@media (max-width: 375px) {
  .ab-hero-title { font-size: 30px; }
  .ab-hero-meta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ab-meta-divider { display: none; }
  .ab-cta-title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}