:root {
  --eq-orange: #f1a710;
  --eq-black: #111;
  --eq-page-bg: #f8f8f8;
  /* Values section proportions based on the 1920px Figma frame. */
  --eq-values-content-width: 65%;
  --eq-values-content-max: 1248px;
  --eq-values-pill-inset: 14%;
  --eq-values-pill-bleed: -4%;
  --eq-values-title-gap: clamp(14px, 2.8125vw, 54px);
  --eq-values-row-gap: clamp(16px, 1.3542vw, 26px);
  --eq-values-row-min-height: clamp(88px, 5.8854vw, 113px);
  --eq-values-row-padding-y: clamp(17px, 1.3021vw, 25px);
  --eq-values-heading-size: clamp(17px, 1.5625vw, 30px);
  --eq-values-copy-size: clamp(12px, 1.0417vw, 20px);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--eq-page-bg);
}

.eq-about-page,
.eq-about-page *,
.eq-about-page *::before,
.eq-about-page *::after {
  box-sizing: border-box;
}

.eq-about-page {
  width: 100%;
  overflow-x: hidden;
  color: var(--eq-black);
  background: var(--eq-page-bg);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.eq-about-container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

/* =====================================================
   INTRODUCTION
===================================================== */

.eq-top-section {
  margin-bottom: 40px;
  text-align: center;
}

.eq-company-brand {
  margin-bottom: 8px;
  color: var(--eq-orange);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.eq-company-title {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
}

.eq-company-title--small {
  margin-bottom: 14px;
  font-size: 38px;
}

.eq-company-subtitle {
  display: block;
  max-width: 1080px;
  margin: 0 auto;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

/* =====================================================
   ABOUT CONTENT
===================================================== */

.eq-content-row {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  margin-top: 40px;
}

.eq-left-column,
.eq-right-column {
  width: 50%;
}

.eq-about-copy {
  margin: 0 0 40px;
  color: #1b1b1b;
  font-size: 16px;
  line-height: 1.55;
}

.eq-mission-block {
  margin-top: 48px;
}

.eq-mission-title-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
  margin-bottom: 18px;
}

  .eq-mission-title-row h3 {
    flex-shrink: 0;
    margin: 0;
    color: var(--eq-orange);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .eq-mission-title-row hr {
    flex: 1;
    min-width: 60px;
    height: 4px;
    margin: 0;
    border: 0;
    background: var(--eq-orange);
    opacity: 1;
  }

.eq-mission-block p {
  max-width: 520px;
  margin: 0;
  color: var(--eq-black);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.eq-right-column img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* =====================================================
   OUR VALUES

   Alignment rule:
   - Every heading begins at the same horizontal position.
   - Heading width remains natural.
   - A longer heading pushes only its own description right.
   - The description wraps and the row grows automatically.
===================================================== */

.eq-values-section {
  width: 100%;
  margin-top: 70px;
  margin-bottom: 7rem;
  overflow: hidden;
  background: var(--eq-page-bg);
}

.eq-values-title {
  margin: 0 0 50px;
  color: var(--eq-orange);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.eq-values-list {
  display: flex;
  flex-direction: column;
  gap: var(--eq-values-row-gap);
  width: 100%;
}

.eq-value-row {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--eq-values-row-min-height);
  height: auto;
  padding-block: var(--eq-values-row-padding-y);
}

  /* The pill is rendered once. The row and inner content have no border. */
  .eq-value-row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
  }

.eq-value-row--left::before {
  left: var(--eq-values-pill-bleed);
  right: var(--eq-values-pill-inset);
  border: 1.5px solid var(--eq-orange);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: #fff;
}

.eq-value-row--right::before {
  left: var(--eq-values-pill-inset);
  right: var(--eq-values-pill-bleed);
  border-radius: 999px 0 0 999px;
  background: var(--eq-orange);
}

.eq-value-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--eq-values-title-gap);
  width: min(var(--eq-values-content-max), var(--eq-values-content-width));
  margin: 0 auto;
}

.eq-value-heading {
  flex: 0 0 auto;
  margin: 0;
  font-size: var(--eq-values-heading-size);
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

.eq-value-copy {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: var(--eq-values-copy-size);
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.eq-value-row--left .eq-value-heading {
  color: var(--eq-orange);
}

.eq-value-row--left .eq-value-copy {
  color: var(--eq-black);
}

.eq-value-row--right .eq-value-heading {
  color: var(--eq-black);
}

.eq-value-row--right .eq-value-copy {
  color: #fff;
}

/* =====================================================
   LAPTOP / SMALL DESKTOP
===================================================== */

@media (max-width: 1199px) {
  :root {
    --eq-values-content-width: 72%;
    --eq-values-pill-inset: 10%;
    --eq-values-pill-bleed: -3%;
    --eq-values-title-gap: clamp(22px, 3vw, 36px);
    --eq-values-heading-size: 20px;
    --eq-values-copy-size: 15px;
    --eq-values-row-min-height: 94px;
    --eq-values-row-padding-y: 19px;
  }

  .eq-about-container {
    width: min(1120px, calc(100% - 36px));
  }

  .eq-company-brand {
    font-size: 38px;
  }

  .eq-company-title {
    font-size: 34px;
  }

  .eq-company-title--small {
    font-size: 32px;
  }

  .eq-values-title {
    margin-bottom: 38px;
    font-size: 36px;
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {
  :root {
    --eq-values-content-width: 84%;
    --eq-values-pill-inset: 6%;
    --eq-values-pill-bleed: -2%;
    --eq-values-title-gap: 22px;
    --eq-values-heading-size: 18px;
    --eq-values-copy-size: 14px;
    --eq-values-row-min-height: 88px;
    --eq-values-row-padding-y: 16px;
  }

  .eq-top-section {
    margin-bottom: 30px;
  }

  .eq-company-brand {
    font-size: 35px;
  }

  .eq-company-title,
  .eq-company-title--small {
    font-size: 30px;
  }

  .eq-company-subtitle {
    font-size: 16px;
  }

  .eq-content-row {
    flex-direction: column;
  }

  .eq-left-column,
  .eq-right-column {
    width: 100%;
  }

  .eq-right-column {
    max-width: 760px;
    margin: 0 auto;
  }

  .eq-mission-block {
    margin-top: 38px;
  }

  .eq-mission-title-row h3 {
    font-size: 24px;
  }

  .eq-values-title {
    font-size: 30px;
  }
}

/* =====================================================
   MOBILE
   Keeps the same horizontal alternating design.
===================================================== */

@media (max-width: 767px) {
  :root {
    --eq-values-content-width: calc(100% - 24px);
    --eq-values-pill-inset: 2%;
    --eq-values-pill-bleed: -2%;
    --eq-values-title-gap: 14px;
    --eq-values-heading-size: 15px;
    --eq-values-copy-size: 12px;
    --eq-values-row-gap: 15px;
    --eq-values-row-min-height: 82px;
    --eq-values-row-padding-y: 14px;
  }

  .eq-about-container {
    width: calc(100% - 28px);
  }

  .eq-company-brand {
    font-size: 31px;
  }

  .eq-company-title,
  .eq-company-title--small {
    font-size: 25px;
    line-height: 1.2;
  }

  .eq-company-subtitle {
    font-size: 14px;
  }

  .eq-content-row {
    gap: 24px;
    margin-top: 30px;
  }

  .eq-about-copy {
    font-size: 15px;
  }

  .eq-mission-title-row {
    gap: 10px;
  }

    .eq-mission-title-row h3 {
      font-size: 21px;
    }

    .eq-mission-title-row hr {
      height: 3px;
    }

  .eq-mission-block p {
    font-size: 15px;
  }

  .eq-values-section {
    margin-top: 50px;
    margin-bottom: 70px;
  }

  .eq-values-title {
    margin-bottom: 26px;
    font-size: 27px;
  }

  .eq-value-inner {
    padding-left: 10px;
  }

  .eq-value-copy {
    line-height: 1.3;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
  :root {
    --eq-values-content-width: calc(100% - 16px);
    --eq-values-title-gap: 9px;
    --eq-values-heading-size: 12px;
    --eq-values-copy-size: 10px;
    --eq-values-row-gap: 13px;
    --eq-values-row-min-height: 84px;
    --eq-values-row-padding-y: 12px;
  }

  .eq-about-container {
    width: calc(100% - 22px);
  }

  .eq-company-brand {
    font-size: 29px;
  }

  .eq-company-title,
  .eq-company-title--small {
    font-size: 22px;
  }

  .eq-values-title {
    font-size: 25px;
  }

  .eq-value-inner {
    padding-left: 12px;
  }

  .eq-value-copy {
    line-height: 1.26;
  }
}

/* =====================================================
   320PX-360PX
===================================================== */

@media (max-width: 360px) {
  :root {
    --eq-values-content-width: calc(100% - 12px);
    --eq-values-title-gap: 7px;
    --eq-values-heading-size: 10px;
    --eq-values-copy-size: 8.8px;
    --eq-values-row-min-height: 88px;
    --eq-values-row-padding-y: 11px;
  }

  .eq-about-container {
    width: calc(100% - 16px);
  }

  .eq-company-brand {
    font-size: 27px;
  }

  .eq-company-title,
  .eq-company-title--small {
    font-size: 20px;
  }

  .eq-company-subtitle,
  .eq-about-copy,
  .eq-mission-block p {
    font-size: 13px;
  }

  .eq-mission-title-row h3 {
    font-size: 18px;
  }

  .eq-values-title {
    font-size: 23px;
  }

  .eq-value-inner {
    padding-left: 10px;
  }

  .eq-value-copy {
    line-height: 1.22;
  }
}

@media (min-width: 2000px) {
  .eq-about-container {
    max-width: 1400px;
  }
}
