/* ==========================================================================
   TIADEL — Home page
   Requires common.css
   ========================================================================== */
.page--home {
  background: transparent;
}

/* Hero
   -------------------------------------------------------------------------- */
.page--home .hero {
  background: var(--cream-alt);
}
.page--home .hero__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  position: relative;
  height: 468px;
  overflow: hidden;
}
.page--home .hero__image {
  position: absolute;
  right: 0;
  top: 0;
  width: 626px;
  height: 468px;
  object-fit: cover;
  display: block;
}
.page--home .hero__fade {
  position: absolute;
  right: 396px;
  top: 0;
  width: 280px;
  height: 468px;
  background: linear-gradient(90deg, var(--cream-alt) 0%, rgba(241, 236, 225, 0) 100%);
}
.page--home .hero__content {
  position: absolute;
  left: 88px;
  top:20px;
  width: 400px;
}
/* The headline breaks only at its explicit <br />; at 45px "Women's footwear."
   is a hair wider than the column and would otherwise wrap to a third line,
   pushing the buttons out of the hero band. */
.page--home .hero__headline {
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 500;
  line-height: 1.16;
  color: var(--ink-strong);
  white-space: nowrap;
}
.page--home .hero__headline em {
  font-weight: 500;
}
.page--home .hero__rule {
  margin: 26px 0 24px;
}
.page--home .hero__tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.9px;
  color: #454036;
}
.page--home .hero__text {
  margin: 22px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-body-alt);
  max-width: 280px;
}
.page--home .hero__text--wide {
  margin-top: 18px;
  max-width: none;
}
.page--home .hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.page--home .hero__btn {
  font-size: 10.5px;
  padding: 12px 22px;
}

/* Collection
   -------------------------------------------------------------------------- */
.page--home .collection {
  background: #F6F2E9;
}
.page--home .collection__inner {
  padding: 56px 60px 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page--home .collection__title {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 500;
  color: var(--ink-strong);
}
.page--home .collection__rule {
  margin: 22px 0 34px;
}
.page--home .collection__grid {
  gap: 14px;
  width: 100%;
}
.page--home .product-card {
  background: #F0EADC;
  box-shadow: inset 0 0 0 1px #E7DECD;
  padding: 26px 18px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page--home .product-card__image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
}
.page--home .product-card__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--ink-strong);
  margin-top: 20px;
}
.page--home .product-card__text {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6B6455;
  text-align: center;
}

/* Pillars band
   -------------------------------------------------------------------------- */
.page--home .pillars {
  background: #EBE3D2;
}
.page--home .pillars__inner {
  padding: 40px 50px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.18fr;
}
.page--home .pillar {
  display: flex;
  gap: 10px;
  padding-right: 18px;
}
.page--home .pillar--divided {
  padding: 0 18px;
  border-left: 1px solid var(--line-warm);
}
.page--home .pillar__icon {
  width: auto;
}
.page--home .pillar__icon--woman { height: 42px; }
.page--home .pillar__icon--tcircle { height: 40px; }
.page--home .pillar__icon--leaf { height: 44px; }
.page--home .pillar__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--ink-mid);
  white-space: nowrap;
}
.page--home .pillar__text {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #6B6457;
}

/* Join callout, last column of the pillars band */
.page--home .join-callout {
  padding-left: 26px;
  border-left: 1px solid var(--line-warm);
}
.page--home .join-callout__eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--gold);
}
.page--home .join-callout__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-strong);
  margin-top: 10px;
}
.page--home .join-callout__text {
  margin: 11px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: #6B6457;
}
.page--home .join-callout__btn {
  letter-spacing: 1.3px;
  padding: 10px 20px;
  margin-top: 18px;
}

/* Newsletter band
   -------------------------------------------------------------------------- */
.page--home .newsletter {
  background: #F3EEE3;
  position: relative;
  height: 190px;
  overflow: hidden;
}
.page--home .newsletter__deco {
  position: absolute;
  top: 0;
  height: 190px;
  width: auto;
}
.page--home .newsletter__deco--left {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, black 60%, transparent 100%);
  mask-image: linear-gradient(90deg, black 60%, transparent 100%);
}
.page--home .newsletter__deco--right {
  right: 0;
  -webkit-mask-image: linear-gradient(270deg, black 60%, transparent 100%);
  mask-image: linear-gradient(270deg, black 60%, transparent 100%);
}
.page--home .newsletter__inner {
  position: relative;
  max-width: var(--page-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.page--home .newsletter__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink-strong);
}
.page--home .newsletter__text {
  font-size: 11.5px;
  color: var(--ink-body);
}
.page--home .newsletter__field {
  position: relative;
  width: 290px;
  margin-top: 6px;
}
.page--home .newsletter__input {
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  border: 1px solid #CDC3AC;
  background: rgba(253, 251, 246, 0.85);
  padding: 0 40px 0 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: #3E3930;
}
.page--home .newsletter__arrow {
  position: absolute;
  right: 12px;
  top: 8px;
}
.page--home .newsletter__privacy {
  font-size: 9.5px;
  color: #8B8474;
}

/* ==========================================================================
   Tablet — 768px to 1085px
   ========================================================================== */
@media (max-width: 1085px) {
  .page--home .collection__inner {
    padding: 44px 24px 56px;
  }

  .page--home .pillars__inner {
    padding: 36px 24px 40px;
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }

  /* Borders that divided columns now divide rows unevenly, so drop them */
  .page--home .pillar--divided,
  .page--home .join-callout {
    border-left: none;
  }

  .page--home .pillar {
    padding-right: 24px;
  }

  .page--home .pillar--divided {
    padding: 0 24px 0 0;
  }

  .page--home .join-callout {
    padding-left: 0;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-warm);
    padding-top: 28px;
  }

}

/* ==========================================================================
   Mobile — up to 767px
   ========================================================================== */
@media (max-width: 767px) {
  /* Below 768px the overlay becomes two stacked blocks. The image keeps
     its own 626x468 proportions so nothing is cropped. */
  .page--home .hero__inner {
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .page--home .hero__image {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 626 / 468;
    object-fit: contain;
  }

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

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

  /* The explicit <br /> still gives the two-line break we want */
  .page--home .hero__headline {
    font-size: 32px;
    white-space: normal;
  }

  .page--home .hero__tagline {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .page--home .hero__text {
    font-size: 13px;
    max-width: none;
  }

  .page--home .hero__actions {
    margin-top: 26px;
    flex-wrap: wrap;
  }

  .page--home .collection__inner {
    padding: 36px 20px 44px;
  }

  .page--home .collection__title {
    font-size: 26px;
    text-align: center;
  }

  .page--home .collection__grid {
    gap: 12px;
  }

  .page--home .product-card__image {
    height: 170px;
  }

  .page--home .pillars__inner {
    padding: 32px 20px 36px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .page--home .pillar,
  .page--home .pillar--divided {
    padding: 0;
  }

  .page--home .pillar__title {
    white-space: normal;
  }

  .page--home .join-callout {
    padding-top: 26px;
  }

  /* --- Newsletter: decorative side art would crowd the form ----------- */
  .page--home .newsletter {
    height: auto;
    padding: 36px 20px 40px;
  }

  .page--home .newsletter__deco {
    display: none;
  }

  .page--home .newsletter__inner {
    height: auto;
    text-align: center;
  }

  .page--home .newsletter__title {
    font-size: 24px;
  }

  .page--home .newsletter__field {
    width: 100%;
    max-width: 320px;
  }

}

/* ==========================================================================
   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; the image and copy column
     are sized in percentages so they never run into each other. */
  .page--home .hero__inner {
    height: 400px;
  }

  .page--home .hero__image {
    width: 52%;
    height: 400px;
  }

  .page--home .hero__fade {
    right: 40%;
    width: 18%;
    height: 400px;
  }

  .page--home .hero__content {
    left: 20px;
    top: 20px;
    width: 44%;
  }

  .page--home .hero__headline {
    font-size: 34px;
    white-space: normal;
  }

  .page--home .hero__text {
    font-size: 12.5px;
    max-width: none;
  }

  .page--home .hero__actions {
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .page--home .hero__btn,
  .page--home .btn-outline {
    padding: 10px 16px;
    font-size: 9.5px;
  }
}
