/* ==========================================================================
   About page
   ========================================================================== */

.about-btn--sage {
  background: #a3ac6f;
  color: var(--color-black);
  min-width: 193px;
}

/* Hero */
.about-hero {
  position: relative;
  min-height: 764px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad-x) 80px;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
}

.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.about-hero__panel {
  position: relative;
  z-index: 1;
  width: min(1096px, 100%);
  background: rgba(218, 200, 165, 0.8);
  padding: 64px 48px;
  text-align: center;
}

.about-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-hero__text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  max-width: 758px;
  margin: 0 auto;
}

.about-hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
  width: min(1440px, 100%);
  margin-top: 48px;
  padding-right: 0;
}

/* Who */
.about-who {
  padding: 80px 0 40px;
  background: var(--color-white);
}

.about-who__intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 var(--pad-x);
}

.about-who__watermark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 100px);
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(132, 132, 132, 0.6), rgba(202, 195, 195, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -12px;
}

.about-who__subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
}

.about-story {
  display: grid;
  grid-template-columns: 833fr 708fr;
  min-height: 677px;
}

.about-story__media {
  position: relative;
  background: #d9d9d9;
  min-height: 677px;
}

.about-story__media img:first-child {
  width: 100%;
  height: 100%;
  min-height: 677px;
  object-fit: cover;
}

.about-story__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 103px;
  height: 76px;
  pointer-events: none;
}

.about-story__copy {
  padding: 80px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.about-story__copy--sage {
  background: #b8be9b;
}

.about-story__copy--grey {
  background: #ddd;
}

.about-story__copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.about-story__copy p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  max-width: 592px;
}

/* Made for RE */
.about-made {
  padding: 100px 0 80px;
  background: var(--color-white);
}

.about-made__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.about-made__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 100px);
  text-align: center;
  line-height: 1.05;
  margin-bottom: 16px;
}

.about-made__lead {
  font-family: var(--font-display);
  font-size: 20px;
  text-align: center;
  margin-bottom: 40px;
}

.about-made__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 525px);
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  min-height: 520px;
}

.about-made__aside {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  max-width: 277px;
  justify-self: end;
  order: 2;
}

.about-made__camera-wrap {
  position: relative;
  order: 1;
  justify-self: center;
  width: min(525px, 100%);
}

.about-made__camera {
  width: 100%;
  height: auto;
}

.about-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 162, 134, 0.2);
  border-radius: 64px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  padding: 14px 28px;
  white-space: nowrap;
}

.about-pill--flex { left: -18%; top: 28%; }
.about-pill--speed { left: -2%; top: 46%; }
.about-pill--cons { left: -22%; top: 64%; }
.about-pill--team { right: -8%; bottom: 8%; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-card {
  background: var(--color-white);
  border: 0.5px solid #000;
  border-radius: 10px;
  padding: 40px 48px;
  min-height: 224px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 20px;
}

.about-card p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  max-width: 516px;
}

.about-card--accent {
  background: #b8be9b;
  border-color: transparent;
}

/* Values */
.about-values {
  background: #f1f1f1;
  padding: 60px 0 70px;
}

.about-values__inner {
  max-width: 1246px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.about-values__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 65px;
  letter-spacing: -1px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.about-values__item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}

.about-values__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}

.about-values__item img {
  width: 35px;
  height: auto;
  flex-shrink: 0;
}

.about-values__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 12px;
}

.about-values__item p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
}

/* Approach + slider */
.about-approach {
  padding: 70px 0 40px;
  background: var(--color-white);
}

.about-approach__head {
  max-width: 1440px;
  margin: 0 auto 40px;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr auto;
  gap: 32px;
  align-items: center;
}

.about-approach__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 45px;
  letter-spacing: -1px;
  max-width: 486px;
}

.about-approach__head p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
  max-width: 733px;
}

.about-slider {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 28px;
  outline: none;
}

.about-slider__viewport {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.about-slider__viewport.is-dragging {
  cursor: grabbing;
}

.about-slider__track {
  display: flex;
  gap: 32px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.about-slider__slide {
  margin: 0;
  flex: 0 0 calc((100% - 96px) / 4);
  height: 372px;
  background: #d9d9d9;
  overflow: hidden;
}

.about-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.about-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  color: #2b2b2b;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.about-slider__arrow:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.about-slider__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.about-slider__arrow--prev {
  left: 12px;
}

.about-slider__arrow--next {
  right: 12px;
}

.about-slider__dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
}

.about-slider__dots button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.about-slider__dots button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #c8c8c8;
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-slider__dots button.is-active::after {
  background: #4f523f;
  transform: translate(-50%, -50%) scale(1.15);
}

/* CTA */
.about-cta {
  margin-top: 40px;
  border-radius: 100px 100px 0 0;
  overflow: hidden;
  background: #262626;
  color: var(--color-white);
}

.about-cta__inner {
  text-align: center;
  padding: 110px var(--pad-x) 90px;
}

.about-cta__inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 55px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-cta__inner p {
  font-family: var(--font-display);
  font-size: 20px;
  max-width: 896px;
  margin: 0 auto 36px;
  line-height: 1.35;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.about-cta__actions .btn {
  background: #FFF;
    color: #000;
   
}
@media (max-width: 1100px) {
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story__media,
  .about-story__media img:first-child {
    min-height: 420px;
  }

  .about-made__visual {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-made__aside {
    order: 2;
    justify-self: start;
    max-width: none;
  }

  .about-made__camera-wrap {
    order: 1;
  }

  .about-pill {
    position: static;
    margin: 8px 8px 0 0;
    display: inline-flex;
  }

  .about-made__camera-wrap {
    text-align: center;
  }

  .about-values__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-values__item::after {
    display: none !important;
  }

  .about-approach__head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 560px;
    padding: 80px 20px 48px;
  }

  .about-hero__panel {
    padding: 40px 24px;
  }

  .about-hero__actions {
    justify-content: center;
  }

  .about-who__subtitle,
  .about-story__copy h3,
  .about-values__title,
  .about-approach__head h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-cta {
    border-radius: 40px 40px 0 0;
  }

  .about-cta__inner {
    padding: 72px 20px;
  }

  .about-slider {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-slider__slide {
    height: 280px;
  }

  .about-slider__arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .about-slider__arrow--prev {
    left: 6px;
  }

  .about-slider__arrow--next {
    right: 6px;
  }
}
