/* ==========================================================================
   projects-list.css – Projects page (Figma frame "projects-list" 1:4660, 1920 × 1824)
   1 Figma px = var(--u). No blue hero on this page: the header bar is solid black
   (Figma 1:4715) and the team photo sits directly on the footer.
   ========================================================================== */

.site-footer { margin-top: 0; }

.projects-intro { position: relative; height: calc(798 * var(--u)); }
.projects-intro__triangles { position: absolute; width: calc(224 * var(--u)); height: calc(588 * var(--u)); max-width: none; pointer-events: none; }
/* Figma 1:4661 (x -72, y 128) and 1:4687 (x 1699, y 479) */
.projects-intro__triangles--left { left: calc(-2 * var(--u)); top: calc(128 * var(--u)); }
.projects-intro__triangles--right { right: 0; top: calc(479 * var(--u)); width: calc(221 * var(--u)); }

.projects-intro__media {
  position: absolute; left: calc(160 * var(--u)); bottom: 0;
  width: calc(872 * var(--u)); height: calc(606 * var(--u));
}
.projects-intro__media img { display: block; width: 100%; height: 100%; max-width: none; }

.projects-intro__copy { position: absolute; left: calc(1112 * var(--u)); top: calc(294 * var(--u)); width: calc(648 * var(--u)); }
.projects-intro__text {
  margin-top: calc(16 * var(--u));
  color: var(--c-text);
  font-size: calc(24 * var(--u));
  line-height: calc(36 * var(--u));
}
/* ---------- Year filter + Download (GOODWIN-QATAR Work File 762:10539 – 322 + 24 + 214, 68 tall) ---------- */
.projects-dl { display: flex; align-items: center; gap: calc(24 * var(--u)); margin-top: calc(32 * var(--u)); }
.projects-dl__select {
  position: relative; flex: none;
  width: calc(322 * var(--u)); height: calc(68 * var(--u));
}
.projects-dl__select select {
  width: 100%; height: 100%;
  padding: 0 calc(56 * var(--u)) 0 calc(58 * var(--u));
  border: 1px solid #d2d2d2; border-radius: calc(40 * var(--u));
  background: #fff;
  color: var(--c-text);
  font: inherit;
  font-size: calc(24 * var(--u));
  line-height: calc(34 * var(--u));
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.3s;
}
.projects-dl__select select:invalid { color: #979797; }          /* "Select by Year" placeholder */
.projects-dl__select select option { color: var(--c-text); }
.projects-dl__select select:hover { border-color: var(--c-blue); }
.projects-dl__select select:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; border-color: var(--c-blue); }
.projects-dl__icon, .projects-dl__caret { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.projects-dl__icon { left: calc(25 * var(--u)); width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.projects-dl__caret { right: calc(25 * var(--u)); width: calc(16 * var(--u)); height: calc(16 * var(--u)); transition: transform 0.3s; }

/* Download – Figma 668:24527: pill 214 × 68 with white icon (shared gradient .btn) */
.projects-intro__btn {
  gap: calc(16 * var(--u));
  height: calc(68 * var(--u));
  padding: 0 calc(32 * var(--u));
  border: 0;
  color: #fff;
}
.projects-intro__btn img { flex: none; width: calc(20 * var(--u)); height: calc(20 * var(--u)); filter: brightness(0) invert(1); }
.projects-intro__btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.projects-intro__btn:disabled::before { display: none; }       /* no hover effect while disabled */
.projects-intro__notice {
  position: absolute; left: 0; top: 100%;
  margin-top: calc(12 * var(--u));
  color: var(--c-text);
  font-size: calc(18 * var(--u));
  line-height: calc(28 * var(--u));
}
.projects-intro__notice:empty { display: none; }

/* ==========================================================================
   TABLET + MOBILE (< 1200px)
   ========================================================================== */
@media (max-width: 1199.98px) {
  .projects-intro {
    height: auto;
    display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; column-gap: 32px;
    padding: 104px var(--gutter) 0;
  }
  .projects-intro__triangles { display: none; }
  .projects-intro__media { position: relative; left: auto; bottom: auto; width: 100%; height: auto; align-self: end; }
  .projects-intro__media img { height: auto; }
  .projects-intro__copy { position: relative; left: auto; top: auto; width: auto; padding: 40px 0; }
  .projects-intro .section-title { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.25; }
  .projects-intro__text { margin-top: 12px; font-size: 17px; line-height: 1.6; }
  .projects-dl { flex-wrap: wrap; gap: 12px; margin-top: 24px; }
  .projects-dl__select { width: 250px; height: 52px; }
  .projects-dl__select select { padding: 0 44px 0 46px; border-radius: 40px; font-size: 17px; line-height: 24px; }
  .projects-dl__icon { left: 18px; width: 16px; height: 16px; }
  .projects-dl__caret { right: 18px; width: 14px; height: 14px; }
  .projects-intro__btn { gap: 10px; height: 52px; padding: 0 26px; font-size: 15px; line-height: 24px; }
  .projects-intro__btn img { width: 16px; height: 16px; }
  .projects-intro__notice { position: static; margin-top: 12px; font-size: 15px; line-height: 22px; }
}

@media (max-width: 767.98px) {
  .projects-intro { grid-template-columns: 1fr; padding-top: 96px; }
  .projects-intro__copy { order: -1; padding: 24px 0 32px; }
  .projects-dl__select { flex: 1 1 220px; width: auto; }
  .projects-intro__btn { flex: 1 1 140px; justify-content: center; }
}
