/* =====================================================================
   Awards & Recognition, an awards announcement:
   a long centered title; an intro row (date left, prose + proud line
   right); then one block per award with NO separators: date left /
   text right, then the awarding mark left / award name + link right.
   ===================================================================== */

/* Long, centered page title (headline style) */
.aw-hero-title {
  margin: 0 auto clamp(3.5rem, 8vw, 7rem);
  max-width: 24ch;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

/* Shared two-column rhythm (intro row + every award row) */
.aw-row {
  display: grid;
  grid-template-columns: clamp(190px, 26vw, 330px) 1fr;
  column-gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

/* Award block: two sub-rows on the shared grid, no separators.
   DOM order is date, desc, logo, name; grid placement lifts the awarding
   mark + name onto the top row and drops the date + description below. */
.aw-award {
  row-gap: clamp(1.75rem, 3.5vw, 2.75rem);
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  /* Fix the top row to the tallest mark (the seal) so the space below every
     award title is identical regardless of that award's logo height. */
  grid-template-rows: minmax(clamp(73px, 8.8vw, 103px), auto) auto;
}
.aw-award__logo { grid-area: 1 / 1; }
.aw-award__name { grid-area: 1 / 2; }
.aw-award__date { grid-area: 2 / 1; }
.aw-award__desc { grid-area: 2 / 2; }

.aw-award__date {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

.aw-award__desc { margin: 0; max-width: 58ch; }
.aw-award__desc p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.aw-award__desc p + p { margin-top: 1.5em; }

.aw-award__logo {
  display: block;
  align-self: start;
  height: clamp(42px, 5vw, 62px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Square seals read smaller than wide banners at equal height; give them
   more height so their visual weight matches the banner-shaped marks. */
.aw-award__logo--seal { height: clamp(73px, 8.8vw, 103px); }

.aw-award__name { align-self: start; }
.aw-award__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--color-ink);
}
.aw-award__link { display: inline-block; margin-top: clamp(1.1rem, 2.2vw, 1.5rem); }

@media (max-width: 640px) {
  .aw-row { grid-template-columns: 1fr; }
  .aw-award { row-gap: clamp(1.25rem, 5vw, 1.75rem); grid-template-rows: none; }
  .aw-award__logo { height: clamp(40px, 10vw, 52px); }
  /* Single column: keep the inverted order (logo, name, date, text) */
  .aw-award__logo { grid-area: 1 / 1; }
  .aw-award__name { grid-area: 2 / 1; }
  .aw-award__date { grid-area: 3 / 1; }
  .aw-award__desc { grid-area: 4 / 1; }
}
