/* ═══════════════════════════════════════════════════════
   AWARDS PAGE — Page-Specific Styles
   ═══════════════════════════════════════════════════════ */

/* ── 1. Hero ───────────────────────────────────────── */
.aw-hero {
  position: relative;
  height: 50vh;              /* 16 Sept: matched to Awards Page (1).png: ~385px at 1366x768 */
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.aw-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.35);
}

.aw-hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 2.7306vw, 3.28rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
}

/* ── 2. Awards main (dark section) ────────────────── */
.aw-main {
  background: var(--color-dark);   /* the mockup's #1D211F is a colour cast: its footer shares it */
  color: #fff;
}

.aw-main .section-label {
  color: rgba(255, 255, 255, 0.85);
}

.aw-main .section-label::before {
  background: rgba(255, 255, 255, 0.85);
}

.aw-main__heading {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.25vw, 1.4rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.aw-main__intro {
  font-size: clamp(1.1rem, 1.39vw, 1.4rem);   /* ~19px white at 1366 */
  line-height: 1.45;
  color: #fff;
  max-width: 440px;
  margin-bottom: clamp(2.5rem, 4.1vw, 2.87rem);
}

/* 16 Sept: matched to Awards Page (1).png: filters end ~x320, cards start
   ~x434 with ~40px between them. */
.aw-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 8.5vw, 116px);
  align-items: start;
}

/* ── Filter sidebar ─────────────────────────────────── */
.aw-filters {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.3rem;
  padding-top: 1.8rem;
}

.aw-filters__link {
  font-size: 1.14rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.aw-filters__link:hover { color: rgba(255, 255, 255, 0.8); }

.aw-filters__link--active { color: #fff; }

.aw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.5rem, 2.93vw, 40px);
  row-gap: 2.5rem;
}

.aw-card__img {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 256/235;
  margin-bottom: 1rem;
}

/* project photo only — must not catch the badge overlay */
.aw-card__img > img:not(.aw-card__badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-card__img .aw-card__badge {
  position: absolute;
  top: 0;
  right: 1.25rem;
  z-index: 2;
  width: clamp(46px, 4.51vw, 50.84px);
  height: auto;
  object-fit: contain;
}

.aw-card__cat {
  font-size: 1.07rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-on-dark);
  margin-bottom: 0.2rem;
}

.aw-card__name {
  font-family: var(--font-sans);
  font-size: 1.07rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-on-dark);
  margin-bottom: 1.25rem;
}
.btn--outline-light {
  background: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.btn--outline-light::before {
  background: #fff;
}

.btn--outline-light:hover {
  color: var(--color-dark);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .aw-layout {
    grid-template-columns: 1fr;
  }

  .aw-filters {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem;
  }

  .aw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .aw-hero {
    height: 34vh;
    min-height: 260px;
  }

  .aw-grid {
    grid-template-columns: 1fr;
  }
}

/* 16 Sept: the "Let's start a conversation" heading is set in capitals on this page's mockup */
.contact__heading { text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════
   17 Sept: matched to the Canva mockup (Awards Page), 1366 canvas.
   ═══════════════════════════════════════════════════════ */

/* See Project — thin white outline pill, 181 x 45 */
.aw-card .btn {
  justify-content: center;
  min-width: clamp(140px, 13.25vw, 195px);
  min-height: 45px;
  padding: 0.75rem 1.25rem;
  border-width: 1px;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* Let's start a conversation — same form proportions as the approved
   Careers form: 221 x 45 fields, 474 x 121 message box, 181 x 45 Submit */
.contact {
  padding: clamp(60px, 7.3vw, 110px) 0 clamp(60px, 6vw, 90px);
}

.contact__heading {
  font-size: clamp(1.9rem, 2.93vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.contact__text {
  font-size: clamp(1.05rem, 1.32vw, 1.4rem);
  line-height: 1.45;
  color: #fff;
  max-width: 21.6em;
}

.contact__form,
.contact__form > form {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.76vw, 1.7rem);
}

.contact__row { gap: clamp(1rem, 2.34vw, 2.3rem); }

.contact__input,
.contact__select,
.contact__textarea {
  height: auto;
  min-height: 45px;
  margin-bottom: 0;   /* Webflow's .w-input / .w-select add 10px */
  padding: 0.95rem 1rem;
  background: var(--color-surface-light);
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 400;
  letter-spacing: 0;
  border-radius: 0;
}

.contact .contact__textarea {   /* outranks Webflow's textarea.w-input height */
  height: clamp(96px, 8.86vw, 140px);
  min-height: 0;
  padding-top: clamp(2.2rem, 3.6vw, 3.6rem);   /* mockup centres MESSAGE in the box */
  resize: vertical;
}

.contact .contact__submit {
  align-self: flex-start;
  justify-content: center;
  min-width: clamp(150px, 13.25vw, 195px);
  min-height: 45px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact .contact__submit svg { display: none; }

@media (min-width: 1025px) {
  .contact > .container {
    max-width: none;
    padding: 0 9.4vw 0 7.47vw;
  }

  .contact__inner {
    grid-template-columns: 1fr 34.7vw;
    align-items: start;
  }
}

/* Intro, filters and grid — spacing measured off the mockup at 1366:
   content from x77, filters right-aligned to x323, three 232px cards
   starting x434 / x726 / x1018. */
@media (min-width: 1025px) {
  .aw-main > .container {
    max-width: none;
    padding: 0 8.5vw 0 5.64vw;
  }

  .aw-layout {
    grid-template-columns: clamp(200px, 18vw, 280px) 1fr;
    gap: clamp(1.5rem, 8.1vw, 130px);
  }

  .aw-grid {
    column-gap: clamp(1.5rem, 4.39vw, 70px);
    row-gap: 3rem;
  }
}

.aw-main .section-label { margin-bottom: 0.55rem; }

.aw-main__heading {
  font-size: clamp(1.15rem, 1.45vw, 1.6rem);
  margin-bottom: 0.7rem;
}

.aw-main__intro {
  font-size: clamp(1.1rem, 1.46vw, 1.55rem);
  line-height: 1.4;
  margin-bottom: clamp(3rem, 6.6vw, 6.4rem);
}

.aw-filters {
  gap: clamp(1.4rem, 2.25vw, 2.3rem);
  padding-top: 0.9rem;
}

.aw-filters__link {
  font-size: clamp(1.1rem, 1.43vw, 1.5rem);
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.2);   /* mockup inactive grey #4B4B4B */
  line-height: normal;               /* Webflow's .w-button sets a taller line */
}

.aw-filters__link--active { color: #fff; }

.aw-card__img {
  aspect-ratio: 232 / 230;
  margin-bottom: 0.65rem;
}

/* badges sit flush on the photo's right edge; the SAPOA plaque is wider
   than the African Property Awards ribbons */
.aw-card__img .aw-card__badge {
  right: 0;
  width: clamp(40px, 3.66vw, 56px);
}

.aw-card__img .aw-card__badge[src*="sapoa"] {
  width: clamp(52px, 4.7vw, 72px);
}

.aw-card__cat { margin-bottom: 0.45rem; }
.aw-card__name { margin-bottom: 0.75rem; }
