/* ==========================================================================
   TIADEL — How We Design page
   Requires common.css
   ========================================================================== */
.page--hwd {
  background: var(--cream-warm);
}

/* Intro
   -------------------------------------------------------------------------- */
.page--hwd .intro {
  text-align: center;
  padding-top: 38px;
}
.page--hwd .intro__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--ink-strong);
}
.page--hwd .intro__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-mid);
  margin-top: 14px;
}
.page--hwd .intro__text {
  margin: 24px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-body);
}

/* Process steps
   -------------------------------------------------------------------------- */
.page--hwd .process {
  padding: 32px 38px 0;
}
.page--hwd .process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}
.page--hwd .step {
  text-align: center;
}
.page--hwd .step__image {
  width: 100%;
  height: 232px;
  object-fit: cover;
  display: block;
}
.page--hwd .step__number {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-strong);
  margin-top: 22px;
}
.page--hwd .step__name {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--ink-strong);
  margin-top: 10px;
}
.page--hwd .step__rule {
  width: 24px;
  height: 1px;
  background: var(--gold-rule);
  margin: 10px auto;
}
.page--hwd .step__text {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-body);
}

/* Statement band
   -------------------------------------------------------------------------- */
.page--hwd .statement {
  background: #EBE3D3;
  margin-top: 44px;
}
.page--hwd .statement__inner {
  padding: 52px 170px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.page--hwd .statement__quote {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-strong);
  flex: 1.18;
}
.page--hwd .statement__divider {
  width: 1px;
  align-self: stretch;
  background: var(--gold-rule);
}
.page--hwd .statement__text {
  font-size: 12.5px;
  line-height: 1.8;
  color: #565043;
  flex: 1;
}

/* Principles
   -------------------------------------------------------------------------- */
.page--hwd .principles {
  padding: 14px 38px 46px;
}
.page--hwd .principles__grid {
  display: grid;
  grid-template-columns: 315px 327px 1fr;
  gap: 14px;
}
.page--hwd .principle__image {
  width: 100%;
  height: 163px;
  object-fit: cover;
  display: block;
}
.page--hwd .principle__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.page--hwd .principle__icon {
  height: 38px;
  width: auto;
}
.page--hwd .principle__icon--diamond {
  height: 42px;
}
.page--hwd .principle__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: var(--ink);
}
.page--hwd .principle__text {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-body);
}

/* Closing band
   -------------------------------------------------------------------------- */
.page--hwd .closing {
  position: relative;
  height: 192px;
  background: #F2EDE2;
  overflow: hidden;
}
.page--hwd .closing__deco {
  position: absolute;
  left: 0;
  top: 0;
  height: 192px;
  width: auto;
  -webkit-mask-image: linear-gradient(90deg, black 78%, transparent 100%);
  mask-image: linear-gradient(90deg, black 78%, transparent 100%);
}
.page--hwd .closing__inner {
  position: relative;
  max-width: var(--page-width);
  margin: 0 auto;
  height: 100%;
}
.page--hwd .closing__content {
  position: absolute;
  left: 620px;
  top: 24px;
}
.page--hwd .closing__title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-strong);
}
.page--hwd .closing__text {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 390px;
}
.page--hwd .closing__btn {
  padding: 10px 26px;
  margin-top: 16px;
}

/* ==========================================================================
   Tablet — 768px to 1085px
   ========================================================================== */
@media (max-width: 1085px) {
  .page--hwd .intro {
    padding: 36px 24px 0;
  }

  .page--hwd .intro__title {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .page--hwd .process {
    padding: 30px 24px 0;
  }

  /* Five process steps become three, then two on the second row */

  .page--hwd .step__image {
    height: 200px;
  }

  /* --- Statement: quote above, supporting text below ---------------- */
  .page--hwd .statement__inner {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .page--hwd .statement__quote {
    font-size: 22px;
  }

  .page--hwd .statement__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .page--hwd .principles {
    padding: 30px 24px 40px;
  }

  /* --- Closing band: the copy was absolutely placed beside the art --- */
  .page--hwd .closing {
    height: auto;
    padding: 36px 24px 40px;
  }

  .page--hwd .closing__deco {
    display: none;
  }

  .page--hwd .closing__inner {
    max-width: 100%;
    height: auto;
  }

  .page--hwd .closing__content {
    position: static;
  }

}

/* ==========================================================================
   Mobile — up to 767px
   ========================================================================== */
@media (max-width: 767px) {
  .page--hwd .intro {
    padding: 32px 20px 0;
  }

  .page--hwd .intro__title {
    font-size: 28px;
    letter-spacing: 1.5px;
  }

  .page--hwd .intro__subtitle {
    font-size: 15px;
  }

  .page--hwd .process {
    padding: 26px 20px 0;
  }

  .page--hwd .step__number {
    margin-top: 16px;
  }

  .page--hwd .statement {
    margin-top: 34px;
  }

  .page--hwd .statement__inner {
    padding: 32px 20px;
    gap: 20px;
  }

  .page--hwd .statement__quote {
    font-size: 19px;
  }

  .page--hwd .statement__text {
    font-size: 12px;
    line-height: 1.7;
  }

  .page--hwd .principles {
    padding: 26px 20px 34px;
  }

  .page--hwd .principles__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page--hwd .principle__image {
    height: 180px;
  }

  .page--hwd .principle__head {
    margin-top: 18px;
  }

  .page--hwd .closing {
    padding: 32px 20px 36px;
  }

  .page--hwd .closing__title {
    font-size: 20px;
  }

  .page--hwd .closing__text {
    max-width: none;
  }
}

/* These grids follow the shared card-grid breakpoint so a row keeps its
   desktop column count all the way down to 992px. */
@media (max-width: 991px) {
  .page--hwd .process__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 13px;
  }

  .page--hwd .principles__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }
}

/* The process steps hold two across down to 576px; only the narrowest
   phones get one per row, where each photo can be tall. */
@media (max-width: 767px) {
  .page--hwd .process__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }

  .page--hwd .step__image {
    height: 190px;
  }
}

@media (max-width: 575px) {
  .page--hwd .process__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page--hwd .step__image {
    height: 240px;
  }
}
