/* ============================================================
   About Us — NinthAvenue
   Colors:  text/icons  #68604d
            accent      #767a5f (questions heading)
            bg-light    #fae9d2
   Fonts:   headings    var(--font-display)  Kiona
            body        var(--font-primary)  Montserrat
   ============================================================ */

/* ── Shared: eyebrow label ─────────────────────────────────── */
.about-eyebrow {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #68604d;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 14px;
}

.about-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.about-eyebrow--center {
  text-align: center;
}

.about-eyebrow--center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ── Inter-section gap ─────────────────────────────────────── */
.about-celebrate,
.about-doorstep,
.about-borders {
  margin-bottom: 40px;
}

/* ── Section 1: Celebrate Beauty ───────────────────────────── */
.about-celebrate {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.about-celebrate .static-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-celebrate__bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.about-celebrate__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 8%;
}

.about-celebrate__title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #68604d;
  margin: 0;
  max-width: 520px;
}

.about-celebrate__title::after {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  background: rgba(104, 96, 77, 0.35);
  margin: 14px 0 18px;
}

.about-celebrate__paragraph {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #68604d;
  max-width: 580px;
  margin: 0 0 16px;
}

.about-celebrate__paragraph:last-child {
  margin-bottom: 0;
}

.about-celebrate__paragraph strong {
  font-weight: 700;
}

/* ── Section 2: From Click to Doorstep ─────────────────────── */
.about-doorstep {
  background: #fff;
  padding: 80px 5%;
}

.about-doorstep__content {
  display: flex;
  align-items: center;
  gap: 52px;
  max-width: 1700px;
  margin: 0 auto;
}

.about-doorstep__image {
  flex: 0 0 56%;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
}

.about-doorstep__image .static-picture {
  display: block;
  width: 100%;
}

.about-doorstep__image img {
  display: block;
  width: 100%;
  height: auto;
}

.about-doorstep__text {
  flex: 1;
  min-width: 0;
}

.about-doorstep__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #68604d;
  margin: 0 0 24px;
}

.about-doorstep__paragraph {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #68604d;
  margin: 0 0 16px;
}

.about-doorstep__paragraph:last-child {
  margin-bottom: 0;
}

/* ── Section 3: Beauty Without Borders ─────────────────────── */
.about-borders {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 5%;
}

.about-borders .static-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-borders__bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.about-borders__content {
  position: relative;
  z-index: 1;
  background: rgba(255, 247, 236, 0.62);
  border-radius: 16px;
  padding: 52px 48px;
  max-width: 560px;
  width: 100%;
}

.about-borders__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #68604d;
  margin: 0;
}

.about-borders__title::after {
  content: "";
  display: block;
  width: 200px;
  height: 1px;
  background: rgba(104, 96, 77, 0.35);
  margin: 12px 0 16px;
}

.about-borders__paragraph {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #68604d;
  margin: 0;
}

/* ── Section 4: Have More Questions ────────────────────────── */
.about-questions {
  background: #fff7ec;
  padding: 100px 24px;
  text-align: center;
}

.about-questions .about-eyebrow {
  color: #767a5f;
  font-weight: 400;
}

.about-questions__content {
  max-width: 900px;
  margin: 0 auto;
}

.about-questions__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #767a5f;
  margin: 0 0 48px;
}

/* Shared wrapper: cards + rows share the same 664px column */
.about-questions__contact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 56px;
  max-width: 664px;
  margin: 0 auto;
}

/* Cards: Phone + Email */
.about-questions__cards {
  display: flex;
  gap: 24px;
}

.about-questions__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 320px;
  padding: 40px 24px;
  background: #fae9d2;
  border-radius: 16px;
}

.about-questions__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #68604d;
  margin: 0 0 20px;
}

.about-questions__card-label {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #68604d;
  margin: 0 0 8px;
}

.about-questions__card-value {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: #68604d;
  margin: 0;
  word-break: break-word;
}

/* Rows: Support + Address */
.about-questions__rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-questions__row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
}

.about-questions__row-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fae9d2;
}

.about-questions__row-text {
  flex: 1;
  min-width: 0;
}

.about-questions__row-label {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #68604d;
  margin: 0 0 6px;
}

.about-questions__row-value {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #898984;
  margin: 0;
}

/* ── 1200px ─────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .about-celebrate__title {
    font-size: 36px;
  }

  .about-celebrate__title::after {
    width: 110px;
  }

  .about-borders__content {
    max-width: 480px;
  }

  .about-borders__title {
    font-size: 24px;
  }

  .about-borders__title::after {
    width: 160px;
  }
}

/* ── 1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-celebrate__title {
    font-size: 30px;
  }

  .about-celebrate__title::after {
    width: 90px;
  }

  .about-doorstep {
    padding: 60px 4%;
  }

  .about-doorstep__content {
    gap: 36px;
  }

  .about-doorstep__image {
    flex: 0 0 52%;
  }

  .about-doorstep__title {
    font-size: 22px;
  }
}

/* ── Short viewport — landscape tablet / small laptop (e.g. 1024×600) ── */
@media (max-height: 700px) and (min-width: 913px) {
  .about-celebrate { min-height: 75vh; }
  .about-borders   { min-height: 75vh; }
}

/* ── Mobile + tablet portrait (≤912px) ──────────────────────── */
@media (max-width: 912px) {

  .about-celebrate,
  .about-doorstep,
  .about-borders {
    margin-bottom: 24px;
  }


  /* Eyebrow */
  .about-eyebrow {
    font-size: 8px;
    letter-spacing: 4px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .about-eyebrow::after {
    width: 80px;
  }

  /* Section 1: portrait hero, text overlaid top */
  .about-celebrate {
    min-height: auto;
    height: 825px;
    align-items: flex-start;
  }

  .about-celebrate__bg-image {
    object-position: center center;
  }

  .about-celebrate__content {
    padding: 36px 24px 0;
    background: linear-gradient(
      to bottom,
      rgba(250, 233, 210, 0.96) 0%,
      rgba(250, 233, 210, 0.88) 50%,
      rgba(250, 233, 210, 0.55) 75%,
      transparent 100%
    );
  }

  .about-celebrate__title {
    font-size: 24px;
    max-width: 100%;
  }

  .about-celebrate__title::after {
    width: 100px;
    margin: 10px 0 14px;
  }

  .about-celebrate__paragraph {
    font-size: 13px;
    line-height: 1.75;
    max-width: 100%;
    margin-bottom: 12px;
  }

  /* Section 2: portrait image behind, text overlaid */
  .about-doorstep {
    position: relative;
    height: 1000px;
    padding: 0;
    background: transparent;
    overflow: hidden;
  }

  .about-doorstep__content {
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    margin: 0;
  }

  .about-doorstep__image {
    position: absolute;
    inset: 0;
    flex: none;
    width: auto;
    height: auto;
    border-radius: 0;
    overflow: visible;
    min-width: 0;
  }

  .about-doorstep__image .static-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

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

  .about-doorstep__text {
    position: relative;
    z-index: 1;
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 40px 24px 0;
    text-align: center;
  }

  .about-doorstep__text .about-eyebrow::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-doorstep__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .about-doorstep__paragraph {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 12px;
  }

  /* Section 3: portrait bg, card at top */
  .about-borders {
    min-height: auto;
    height: 876px;
    padding: 36px 20px;
    align-items: flex-start;
    justify-content: center;
  }

  .about-borders__bg-image {
    object-position: center center;
  }

  .about-borders__content {
    max-width: 100%;
    padding: 28px 24px;
    border-radius: 12px;
    background: rgba(255, 247, 236, 0.77);
    text-align: left;
  }

  .about-borders__title {
    font-size: 20px;
  }

  .about-borders__title::after {
    width: 100px;
    margin: 10px 0 14px;
  }

  .about-borders__paragraph {
    font-size: 13px;
    line-height: 1.75;
  }

  /* Section 4: questions */
  .about-questions {
    padding: 48px 16px 60px;
  }

  .about-questions .about-eyebrow {
    font-size: 8px;
    letter-spacing: 4px;
  }

  .about-questions__content {
    max-width: 100%;
  }

  .about-questions__title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 32px;
  }

  .about-questions__contact {
    max-width: 100%;
    gap: 40px;
  }

  .about-questions__cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .about-questions__card {
    max-width: 100%;
    width: 100%;
  }

  .about-questions__card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .about-questions__card-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .about-questions__card-value {
    font-size: 14px;
  }

  .about-questions__rows {
    gap: 32px;
  }

  .about-questions__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .about-questions__row-icon {
    width: 56px;
    height: 56px;
    background: #68604d;
  }

  .about-questions__row-icon img {
    filter: brightness(0) invert(1);
  }

  .about-questions__row-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .about-questions__row-value {
    font-size: 13px;
    max-width: 100%;
  }
}

/* ── Tablet portrait overrides (769px–912px) ────────────────── */
@media (min-width: 769px) and (max-width: 912px) {
  /* Slightly larger text for wider screens */
  .about-eyebrow {
    font-size: 10px;
    letter-spacing: 6px;
  }

  .about-celebrate__title { font-size: 28px; }
  .about-doorstep__title  { font-size: 22px; }
  .about-borders__title   { font-size: 22px; }

  .about-celebrate__paragraph,
  .about-doorstep__paragraph,
  .about-borders__paragraph {
    font-size: 14px;
  }

  /* Section 2 text: more horizontal padding on wider screens */
  .about-doorstep__text {
    padding-left: 48px;
    padding-right: 48px;
  }

  /* Section 4: keep cards side-by-side */
  .about-questions__contact {
    max-width: 664px;
  }

  .about-questions__cards {
    flex-direction: row;
    align-items: stretch;
  }

  .about-questions__card {
    width: auto;
    max-width: 320px;
  }
}

/* ── Very small screens (≤390px) ───────────────────────────── */
@media (max-width: 390px) {
  .about-celebrate__title { font-size: 20px; }
  .about-doorstep__title  { font-size: 18px; }
  .about-borders__title   { font-size: 18px; }
  .about-questions__title { font-size: 16px; }
}
