/* =========================================================
   DATAMIND ABOUT PAGE
========================================================= */


/* =========================================================
   ABOUT HERO
========================================================= */

.dm-about-hero {
  padding: var(--space-xxl) 0;
}

.dm-about-hero-wrapper {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(380px, .95fr);

  gap: 60px;

  align-items: center;
}


/* =========================================================
   ABOUT HERO CONTENT
========================================================= */

.dm-about-tag {
  display: inline-block;

  margin-bottom: 16px;

  color: var(--color-primary);

  font-size: .72rem;
  font-weight: 700;

  letter-spacing: .11em;

  text-transform: uppercase;
}

.dm-about-hero-content h1 {
  max-width: 680px;

  margin-bottom: var(--space-md);

  font-size: clamp(2.35rem, 3.6vw, 3.5rem);
  font-weight: 600;

  line-height: 1.08;

  letter-spacing: -.03em;

  text-wrap: pretty;

  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.dm-about-hero-content p {
  max-width: 650px;

  margin-bottom: var(--space-lg);

  font-size: 1rem;

  line-height: 1.72;
}


/* =========================================================
   ABOUT HERO IMAGE
========================================================= */

.dm-about-hero-image {
  position: relative;

  min-height: 520px;

  overflow: hidden;

  background: var(--color-bg-section);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.dm-about-hero-image img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .6s ease;
}

.dm-about-hero-image:hover img {
  transform: scale(1.025);
}


/* =========================================================
   ABOUT HERO IMAGE CAPTION
========================================================= */

.dm-about-hero-image-caption {
  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  flex-direction: column;

  gap: 6px;

  padding: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, .76)
    );

  color: #ffffff;
}

.dm-about-hero-image-caption span {
  color: rgba(255, 255, 255, .76);

  font-size: .68rem;
  font-weight: 700;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.dm-about-hero-image-caption strong {
  max-width: 420px;

  font-size: 1rem;
  font-weight: 600;

  line-height: 1.45;
}


/* =========================================================
   ABOUT APPROACH
========================================================= */

.dm-about-approach {
  padding:
    0
    0
    var(--space-xxl);
}

.dm-about-visual {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}


/* =========================================================
   ABOUT APPROACH CARDS
========================================================= */

.dm-about-visual-card {
  position: relative;

  min-height: 210px;

  padding: 28px;

  background: #ffffff;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.dm-about-visual-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 14px 30px rgba(0, 0, 0, .07);
}

.dm-about-visual-card span {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin-bottom: 24px;

  background: var(--color-primary);

  color: #ffffff;

  border-radius: 50%;

  font-size: .82rem;
  font-weight: 700;
}

.dm-about-visual-card h3 {
  margin-bottom: 10px;

  font-size: 1.05rem;
  font-weight: 700;

  line-height: 1.35;
}

.dm-about-visual-card p {
  margin: 0;

  color: var(--color-text-secondary);

  font-size: .88rem;

  line-height: 1.6;
}


/* =========================================================
   STORY SECTION
========================================================= */

.dm-about-story-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 2fr)
    minmax(300px, 1fr);

  gap: 50px;

  align-items: start;
}

.dm-section-label {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--color-primary);

  font-size: .72rem;
  font-weight: 700;

  letter-spacing: .11em;

  text-transform: uppercase;
}

.dm-about-story-content h2 {
  max-width: 680px;

  margin-bottom: var(--space-md);

  font-size: clamp(1.9rem, 2.7vw, 2.65rem);
  font-weight: 600;

  line-height: 1.14;

  letter-spacing: -.025em;

  text-wrap: pretty;
}

.dm-about-story-content p {
  margin-bottom: var(--space-md);
}


/* =========================================================
   STORY PANEL
========================================================= */

.dm-about-story-panel {
  padding: 30px;

  background: #ffffff;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.dm-about-story-panel h3 {
  margin-bottom: var(--space-md);

  font-size: 1.25rem;
  font-weight: 700;

  line-height: 1.3;

  text-wrap: pretty;
}

.dm-about-story-panel ul {
  display: flex;
  flex-direction: column;

  gap: 14px;
}

.dm-about-story-panel li {
  color: var(--color-text-secondary);

  line-height: 1.55;
}


/* =========================================================
   COMPANY IMAGE
========================================================= */

.dm-about-company-image {
  position: relative;

  min-height: 460px;

  margin-top: 56px;

  overflow: hidden;

  background: var(--color-bg-section);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.dm-about-company-image img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .6s ease;
}

.dm-about-company-image:hover img {
  transform: scale(1.02);
}


/* =========================================================
   COMPANY IMAGE CAPTION
========================================================= */

.dm-about-image-caption {
  position: absolute;

  left: 32px;
  bottom: 32px;

  max-width: 430px;

  padding: 22px 26px;

  background: rgba(255, 255, 255, .94);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);
}

.dm-about-image-caption span {
  display: block;

  margin-bottom: 7px;

  color: var(--color-primary);

  font-size: .68rem;
  font-weight: 700;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.dm-about-image-caption p {
  margin: 0;

  color: var(--color-text-main);

  font-size: .92rem;
  font-weight: 600;

  line-height: 1.5;
}


/* =========================================================
   COMPANY FOCUS / STATS
========================================================= */

.dm-about-stats {
  padding: var(--space-xl) 0;

  background: var(--color-bg-section);
}

.dm-stat-card {
  padding: 30px;

  background: #ffffff;

  border-radius: var(--radius-lg);

  text-align: center;

  box-shadow: var(--shadow-sm);
}

.dm-stat-card h3 {
  margin-bottom: var(--space-sm);

  color: var(--color-primary);
}


/* =========================================================
   MISSION & VISION
========================================================= */

.dm-about-section {
  background: var(--color-bg-light);
}


/* =========================================================
   PURPOSE IMAGE
========================================================= */

.dm-about-purpose-image {
  position: relative;

  min-height: 390px;

  margin-top: 46px;

  overflow: hidden;

  background: var(--color-bg-section);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.dm-about-purpose-image img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .6s ease;
}

.dm-about-purpose-image:hover img {
  transform: scale(1.02);
}


/* =========================================================
   PURPOSE IMAGE CONTENT
========================================================= */

.dm-about-purpose-image-content {
  position: absolute;

  right: 32px;
  bottom: 32px;

  display: flex;
  flex-direction: column;

  gap: 8px;

  max-width: 440px;

  padding: 24px 28px;

  background: var(--color-primary);

  color: #ffffff;

  border-radius: var(--radius-md);

  box-shadow: 0 14px 32px rgba(0, 0, 0, .14);
}

.dm-about-purpose-image-content span {
  color: rgba(255, 255, 255, .76);

  font-size: .68rem;
  font-weight: 700;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.dm-about-purpose-image-content strong {
  color: #ffffff;

  font-size: 1rem;
  font-weight: 600;

  line-height: 1.5;
}


/* =========================================================
   MISSION & VISION CARDS
========================================================= */

.dm-about-card {
  padding: 35px;
}

.dm-card-icon {
  display: inline-block;

  margin-bottom: 15px;

  font-size: 2rem;
}

.dm-about-card h3 {
  margin-bottom: var(--space-md);
}


/* =========================================================
   VALUES
========================================================= */

.dm-value-card {
  padding: 35px;

  text-align: center;
}

.dm-value-card h3 {
  margin-bottom: var(--space-md);
}


/* =========================================================
   CTA
========================================================= */

.dm-about-cta {
  padding: var(--space-xxl) 0;

  background: var(--color-bg-section);
}

.dm-about-cta h2 {
  max-width: 760px;

  margin:
    0 auto
    var(--space-md);

  font-size: clamp(1.95rem, 2.8vw, 2.7rem);
  font-weight: 600;

  line-height: 1.13;

  letter-spacing: -.03em;

  text-wrap: pretty;
}

.dm-about-cta p {
  max-width: 750px;

  margin: 0 auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

  /* =========================================
     HERO
  ========================================= */

  .dm-about-hero-wrapper {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .dm-about-hero-content {
    max-width: 760px;
  }

  .dm-about-hero-image {
    min-height: 460px;
  }


  /* =========================================
     APPROACH
  ========================================= */

  .dm-about-visual {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 16px;
  }


  /* =========================================
     STORY
  ========================================= */

  .dm-about-story-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .dm-about-story-panel h3 {
    white-space: normal;
  }


  /* =========================================
     COMPANY IMAGE
  ========================================= */

  .dm-about-company-image {
    min-height: 400px;

    margin-top: 44px;
  }


  /* =========================================
     PURPOSE IMAGE
  ========================================= */

  .dm-about-purpose-image {
    min-height: 360px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  /* =========================================
     TYPOGRAPHY
  ========================================= */

  .dm-about-hero-content h1 {
    font-size: clamp(2.1rem, 7vw, 2.75rem);

    line-height: 1.1;

    letter-spacing: -.025em;
  }

  .dm-about-story-content h2,
  .dm-about-cta h2 {
    font-size: clamp(1.65rem, 5.5vw, 2rem);

    line-height: 1.16;

    letter-spacing: -.02em;
  }


  /* =========================================
     HERO
  ========================================= */

  .dm-about-hero {
    padding: var(--space-xl) 0;
  }

  .dm-about-hero-wrapper {
    gap: 30px;
  }

  .dm-about-hero-image {
    min-height: 390px;
  }

  .dm-about-hero-image-caption {
    padding: 22px;
  }


  /* =========================================
     APPROACH
  ========================================= */

  .dm-about-approach {
    padding-bottom: var(--space-xl);
  }

  .dm-about-visual {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .dm-about-visual-card {
    min-height: auto;

    padding: 22px;
  }

  .dm-about-visual-card span {
    margin-bottom: 16px;
  }


  /* =========================================
     STORY
  ========================================= */

  .dm-about-story-grid {
    gap: 30px;
  }

  .dm-about-story-panel {
    padding: 24px;
  }

  .dm-about-story-panel h3 {
    margin-bottom: var(--space-sm);

    font-size: 1.125rem;

    line-height: 1.35;

    white-space: normal;
  }


  /* =========================================
     COMPANY IMAGE
  ========================================= */

  .dm-about-company-image {
    min-height: 340px;

    margin-top: 36px;
  }

  .dm-about-image-caption {
    right: 20px;
    bottom: 20px;
    left: 20px;

    max-width: none;

    padding: 18px 20px;
  }


  /* =========================================
     STATS
  ========================================= */

  .dm-stat-card {
    padding: 24px;
  }


  /* =========================================
     PURPOSE IMAGE
  ========================================= */

  .dm-about-purpose-image {
    min-height: 330px;

    margin-top: 34px;
  }

  .dm-about-purpose-image-content {
    right: 20px;
    bottom: 20px;
    left: 20px;

    max-width: none;

    padding: 20px;
  }


  /* =========================================
     MISSION / VISION
  ========================================= */

  .dm-about-card {
    padding: 28px;
  }


  /* =========================================
     VALUES
  ========================================= */

  .dm-value-card {
    padding: 28px;
  }


  /* =========================================
     CTA
  ========================================= */

  .dm-about-cta {
    padding: var(--space-xl) 0;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  /* =========================================
     TYPOGRAPHY
  ========================================= */

  .dm-about-hero-content h1 {
    font-size: 2rem;

    line-height: 1.12;

    letter-spacing: -.02em;
  }

  .dm-about-story-content h2,
  .dm-about-cta h2 {
    font-size: 1.8rem;

    line-height: 1.16;
  }

  .dm-about-tag,
  .dm-section-label {
    font-size: .64rem;
  }


  /* =========================================
     HERO
  ========================================= */

  .dm-about-hero {
    padding: 40px 0;
  }

  .dm-about-hero-image {
    min-height: 310px;

    border-radius: var(--radius-md);
  }

  .dm-about-hero-image-caption {
    padding: 18px;
  }

  .dm-about-hero-image-caption span {
    font-size: .62rem;
  }

  .dm-about-hero-image-caption strong {
    font-size: .9rem;
  }


  /* =========================================
     APPROACH
  ========================================= */

  .dm-about-visual-card {
    padding: 20px;
  }


  /* =========================================
     STORY
  ========================================= */

  .dm-about-story-panel {
    padding: 22px;
  }

  .dm-about-story-panel h3 {
    font-size: 1.05rem;

    line-height: 1.35;
  }


  /* =========================================
     COMPANY IMAGE
  ========================================= */

  .dm-about-company-image {
    min-height: 280px;

    margin-top: 30px;

    border-radius: var(--radius-md);
  }

  .dm-about-image-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;

    padding: 16px;
  }

  .dm-about-image-caption span {
    font-size: .61rem;
  }

  .dm-about-image-caption p {
    font-size: .84rem;
  }


  /* =========================================
     STATS
  ========================================= */

  .dm-stat-card {
    padding: 22px;
  }


  /* =========================================
     PURPOSE IMAGE
  ========================================= */

  .dm-about-purpose-image {
    min-height: 280px;

    margin-top: 28px;

    border-radius: var(--radius-md);
  }

  .dm-about-purpose-image-content {
    right: 14px;
    bottom: 14px;
    left: 14px;

    padding: 17px;
  }

  .dm-about-purpose-image-content span {
    font-size: .61rem;
  }

  .dm-about-purpose-image-content strong {
    font-size: .88rem;
  }


  /* =========================================
     MISSION / VISION
  ========================================= */

  .dm-about-card {
    padding: 24px;
  }


  /* =========================================
     VALUES
  ========================================= */

  .dm-value-card {
    padding: 24px;
  }

  .dm-card-icon {
    font-size: 1.75rem;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 375px) {

  .dm-about-hero-content h1 {
    font-size: 1.9rem;
  }

  .dm-about-story-content h2,
  .dm-about-cta h2 {
    font-size: 1.65rem;
  }

  .dm-about-hero-image {
    min-height: 270px;
  }

  .dm-about-company-image {
    min-height: 250px;
  }

  .dm-about-purpose-image {
    min-height: 250px;
  }

  .dm-about-image-caption,
  .dm-about-purpose-image-content {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .dm-about-hero-image img,
  .dm-about-visual-card,
  .dm-about-company-image img,
  .dm-about-purpose-image img {
    transition: none;
  }

  .dm-about-hero-image:hover img,
  .dm-about-visual-card:hover,
  .dm-about-company-image:hover img,
  .dm-about-purpose-image:hover img {
    transform: none;
  }

}
