/* ==========================================================================
   TIADEL — About page
   Requires common.css
   ========================================================================== */
.page--about {
  background: var(--cream-page);
}

/* Hero
   -------------------------------------------------------------------------- */
.page--about .hero {
  background: #EFE9DD;
}
.page--about .hero__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  position: relative;
  height: 384px;
  overflow: hidden;
}
.page--about .hero__image {
  position: absolute;
  right: 0;
  top: 0;
  width: 616px;
  height: 384px;
  object-fit: cover;
  display: block;
}
.page--about .hero__fade {
  position: absolute;
  right: 436px;
  top: 0;
  width: 240px;
  height: 384px;
  background: linear-gradient(90deg, #EFE9DD 0%, rgba(239, 233, 221, 0) 100%);
}
.page--about .hero__content {
  position: absolute;
  left: 80px;
  /* top: 76px; */
  width: 380px;
}
.page--about .hero__lead {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.7;
  color: #332E25;
}
.page--about .hero__note {
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-body);
}

/* Cities
   -------------------------------------------------------------------------- */
.page--about .cities {
  background: #F6F2E9;
}
.page--about .cities__inner {
  padding: 46px 60px 40px;
}
.page--about .cities__grid {
  margin-top: 16px;
}
.page--about .city {
  text-align: center;
  padding: 0 24px;
}
.page--about .city--divided {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.page--about .city__image {
  width: 100%;
  height: 180px;
  object-fit: contain;
}
.page--about .city__name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 1px;
  color: var(--ink-strong);
  margin-top: 8px;
}
.page--about .city__text {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-body);
}

/* Values
   -------------------------------------------------------------------------- */
.page--about .values {
  background: var(--sand);
}
.page--about .values__inner {
  padding: 38px 60px 44px;
}
.page--about .values__grid {
  margin-top: 32px;
}
.page--about .value {
  display: flex;
  gap: 16px;
  padding: 0 28px 0 20px;
}
.page--about .value--middle {
  padding: 0 28px;
  border-left: 1px solid var(--line-warm);
}
.page--about .value--last {
  padding: 0 20px 0 28px;
  border-left: 1px solid var(--line-warm);
}
.page--about .value__icon {
  height: 56px;
  width: auto;
}
.page--about .value__title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--ink-mid);
}
.page--about .value__text {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Call to action
   -------------------------------------------------------------------------- */
.page--about .cta {
  background: var(--cream-page);
}
.page--about .cta__inner {
  padding: 36px 38px 44px;
  display: flex;
  gap: 50px;
}
.page--about .cta__image {
  width: 310px;
  height: 204px;
  object-fit: cover;
  display: block;
}
.page--about .cta__body {
  flex: 1;
  padding-top: 6px;
}
.page--about .cta__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-strong);
  margin-top: 12px;
}
.page--about .cta__text {
  margin: 16px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 290px;
}
.page--about .cta__button {
  margin-top: 20px;
}
.page--about .cta__aside {
  width: 220px;
  padding-top: 36px;
}
.page--about .cta__aside-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-strong);
}
.page--about .cta__aside-text {
  margin: 16px 0 0;
  font-size: 11.5px;
  color: var(--ink-body);
}
.page--about .cta__aside-link {
  margin-top: 16px;
}

/* ==========================================================================
   Tablet — 768px to 1085px
   ========================================================================== */
@media (max-width: 1085px) {

  .page--about .cities__inner {
    padding: 40px 24px 36px;
  }

  .page--about .values__inner {
    padding: 34px 24px 38px;
  }

  /* Three columns become two; the third wraps to a new row, so the
     column dividers no longer line up and are replaced by row spacing. */
  .page--about .cities__grid,
  .page--about .values__grid {
    gap: 32px 0;
  }

  .page--about .cta__inner {
    padding: 32px 24px 38px;
    gap: 28px;
    flex-wrap: wrap;
  }

  .page--about .cta__image {
    width: 260px;
    height: 172px;
  }

  .page--about .cta__aside {
    width: 100%;
    padding-top: 0;
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }

}

/* ==========================================================================
   Mobile — up to 767px
   ========================================================================== */
@media (max-width: 767px) {
  /* Below 768px the overlay becomes two stacked blocks. */
  .page--about .hero__inner {
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .page--about .hero__image {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 616 / 384;
    object-fit: contain;
  }

  .page--about .hero__fade {
    display: none;
  }

  .page--about .hero__content {
    position: static;
    width: auto;
    padding: 32px 20px 36px;
  }

  .page--about .hero__lead {
    font-size: 14.5px;
  }

  .page--about .cities__inner {
    padding: 34px 20px 30px;
  }

  .page--about .values__inner {
    padding: 30px 20px 34px;
  }

  .page--about .cities__grid,
  .page--about .values__grid {
    gap: 30px;
  }

  .page--about .city {
    padding: 0;
  }

  .page--about .city__image {
    height: 150px;
  }

  .page--about .value,
  .page--about .value--middle,
  .page--about .value--last {
    padding: 0;
  }

  /* --- CTA stacks completely --------------------------------------- */
  .page--about .cta__inner {
    flex-direction: column;
    padding: 30px 20px 36px;
    gap: 24px;
  }

  .page--about .cta__image {
    width: 100%;
    height: 200px;
  }

  .page--about .cta__body {
    padding-top: 0;
  }

  .page--about .cta__title {
    font-size: 23px;
  }

  .page--about .cta__text {
    max-width: none;
  }

  .page--about .cta__aside {
    padding-top: 24px;
  }

   .hero__br {
    display: none;
  }
}

/* About's footer makes .footer__inner the flex row itself rather than
   using .footer__row, so the shared mobile stacking rule misses it. */

/* The column dividers only make sense while the cities/values rows are
   still three across; they follow the grid breakpoint, not the page tier. */
@media (max-width: 991px) {
  .page--about .city--divided {
    border-left: none;
    border-right: none;
  }

  .page--about .value--middle,
  .page--about .value--last {
    border-left: none;
  }

  .page--about .value,
  .page--about .value--middle,
  .page--about .value--last {
    padding: 0 20px 0 0;
  }
}

/* ==========================================================================
   Tablet hero — 768px to 991px
   The banner keeps the desktop overlay down to 768px; only its
   proportions change so the copy never runs into the image.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
  /* The hero keeps its overlay layout here, sized in percentages. */
  .page--about .hero__inner {
    height: 340px;
  }

  .page--about .hero__image {
    width: 52%;
    height: 340px;
  }

  .page--about .hero__fade {
    right: 42%;
    width: 16%;
    height: 340px;
  }

  .page--about .hero__content {
    left: 40px;
    top: 48px;
    width: 44%;
  }

  .page--about .page-title {
    font-size: 32px;
  }

  .page--about .hero__lead {
    font-size: 13.5px;
  }

  .page--about .hero__note {
    font-size: 11.5px;
  }
}
