/* ============================================================
   about.css — Dedicated stylesheet for about.html
   Companion to styles.css (global baseline)
   Design tokens (:root) are defined in styles.css
   ============================================================ */

/* ── Page Root Wrapper ──────────────────────────────────── */
.about-page-root {
  font-family: var(--font-manrope);
  background: var(--white);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Accent Bars & Badges ───────────────────────────────── */
.accent-bar {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: #FF7A33;
  border-radius: 2px;
  margin-right: 16px;
  vertical-align: -0.14em;
}

.accent-bar--gold {
  background: var(--amber);
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #D8451F;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.about-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

.about-badge-gold {
  display: inline-block;
  font-size: 14px;
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

/* ── Section Header Helpers ─────────────────────────────── */
.about-section-header {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.about-section-title {
  font-family: var(--font-sora);
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.25;
}

.about-section-sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── 1. Hero Section ────────────────────────────────────── */
.about-hero-section {
  position: relative;
  overflow: clip;
  background: var(--bg-warm);
  padding: 48px clamp(16px, 4vw, 40px) 52px;
}

.about-hero-watermark {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-sora);
  font-weight: 800;
  font-size: 150px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 18, 32, 0.07);
  letter-spacing: -5px;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.about-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  gap: 44px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: min(320px, 100%);
  max-width: 560px;
}

.about-hero-tag {
  font-family: var(--font-sora);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: 14px;
}

.about-hero-title {
  font-family: var(--font-sora);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
  text-transform: uppercase;
}

.about-hero-title-light {
  font-weight: 300;
  color: var(--slate);
}

.about-hero-lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 18px;
}

.about-hero-subtext {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.about-hero-visual {
  position: relative;
  z-index: 1;
  flex: none;
  width: min(540px, 92vw);
  margin: 0 auto;
}

.about-hero-visual-wrap {
  position: relative;
  width: 100%;
  height: clamp(280px, 60vw, 380px);
  margin-bottom: 18px;
}

.about-hero-shadow {
  position: absolute;
  left: calc(50% + 16px);
  bottom: -10px;
  width: 75%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(11, 18, 32, 0.28), transparent 72%);
  border-radius: 50%;
  filter: blur(8px);
  transform: translateX(-50%);
  animation: heroShadow 6s ease-in-out infinite;
}

.about-hero-float-layer {
  position: absolute;
  left: calc(50% + 16px);
  top: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  animation: heroFloat 6s ease-in-out infinite;
}

.about-hero-team-slot {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 24px rgba(11, 18, 32, 0.18));
}

.about-hero-team-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* ── 2. Why We Built Instivera ──────────────────────────── */
.about-why-section {
  padding: 48px clamp(16px, 4vw, 48px);
  background: var(--white);
}

.about-why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-why-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(11, 18, 32, 0.08);
}

.about-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D8451F;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(11, 18, 32, 0.04);
}

.about-why-card-title {
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--ink);
}

.about-why-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── 3. Vision Section ──────────────────────────────────── */
.about-vision-section {
  padding: 56px clamp(16px, 4vw, 48px);
  text-align: center;
}

.about-vision-container {
  max-width: 720px;
  margin: 0 auto;
}

.about-vision-title {
  font-family: var(--font-sora);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 18px;
  line-height: 1.25;
}

.about-vision-title-highlight {
  font-weight: 300;
  color: var(--pale);
}

.about-vision-desc {
  font-size: 16px;
  color: #B8C0D0;
  line-height: 1.7;
  margin: 0;
}

/* ── 4. Backed by ReTechPrime ───────────────────────────── */
.about-retech-section {
  padding: 48px clamp(16px, 4vw, 48px);
  background: var(--white);
  text-align: center;
}

.about-retech-title {
  font-family: var(--font-sora);
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--ink);
}

.about-retech-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 20px;
}

.retech-partner-card {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 20px 26px;
  text-decoration: none;
  color: var(--ink);
  text-align: left;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.retech-partner-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(11, 18, 32, 0.08);
}

.retech-partner-logo {
  height: 38px;
  display: block;
}

.retech-partner-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.retech-partner-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 5px;
}

.retech-partner-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.retech-partner-link {
  font-size: 13px;
  font-weight: 700;
  color: #D8451F;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── 5. Team Sections (Executive, Advisory, Product) ────── */
.about-team-section {
  padding: 48px clamp(16px, 4vw, 48px);
}

.about-exec-section {
  background: var(--bg-card);
}

.about-advisory-section {
  background: var(--white);
}

.about-product-section {
  background: var(--bg-card);
}

.about-team-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-product-grid {
  max-width: 600px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

.about-team-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 22px 28px;
  text-align: center;
  box-shadow: 0 4px 20px -6px rgba(11, 18, 32, 0.08), 0 1px 3px rgba(11, 18, 32, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(11, 18, 32, 0.12);
}

.about-advisor-card {
  background: var(--bg-card);
  border: 1.5px solid #EAECEF;
  box-shadow: 0 4px 18px -4px rgba(11, 18, 32, 0.06);
}

.about-advisor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -8px rgba(11, 18, 32, 0.1);
}

.about-member-photo-slot {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  box-shadow: 0 8px 24px -4px rgba(11, 18, 32, 0.15);
  border: 3px solid var(--white);
  overflow: hidden;
  flex-shrink: 0;
}

.about-member-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.about-member-name {
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 8px;
  color: var(--ink);
}

.about-member-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.about-member-role {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}

/* ── 6. Commitment Section ──────────────────────────────── */
.about-commitment-section {
  padding: 48px clamp(16px, 4vw, 48px);
  background: var(--white);
  text-align: center;
}

.about-commitment-title {
  font-family: var(--font-sora);
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.3;
}

.about-commitment-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* ── 7. CTA Banner Section ────────────────────────────────── */
/* .cta-banner-section, .cta-banner-card, .cta-banner-title,
   .cta-banner-desc, .cta-banner-btns, .cta-btn-primary,
   .cta-btn-secondary are in styles.css */
.about-cta-section {
  padding: 0 clamp(16px, 4vw, 48px) 48px;
  background: var(--white);
}





/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* ── Tablet & Small Laptops (< 992px) ───────────────────── */
@media (max-width: 991px) {
  .about-hero-watermark {
    font-size: 100px;
    top: 30px;
  }

  .about-hero-title {
    font-size: 36px;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile Devices (< 768px) ───────────────────────────── */
@media (max-width: 767px) {
  .about-hero-container {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 20px !important;
  }

  .about-hero-visual {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
  }

  .about-hero-visual-wrap {
    width: 100% !important;
    margin: 0 auto 18px !important;
    height: clamp(220px, 55vw, 300px);
  }

  .about-hero-float-layer,
  .about-hero-shadow {
    left: 50% !important;
    animation: none !important;
  }

  .about-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
