/* =============================================================================
   Home — "What We Create" (six work-type tiles)
   -----------------------------------------------------------------------------
   Companion stylesheet for Views/Home/Sections/_WhatWeCreate.cshtml. Builds on
   the shared .tile-card component; scoped so it cannot collide with other
   pages' section CSS.
   ============================================================================= */

/* --- Shared full-width span (user request 2026-10-13) -----------------------
   Matches "Elevate 1.png": eyebrow, heading and the 3x2 tile grid align on the
   same margins as the Where We Work section (~5.5vw; 79px @ 1440). Tiles keep
   their solid navy panels (user asked to KEEP the blue here). */
.home-what-we-create__inner {
  padding-inline: clamp(1.25rem, 5.5vw, 6rem);
}

.home-what-we-create__inner .grid {
  margin-top: clamp(3.5rem, 7.5vw, 6.5rem);
}

/* Tile geometry from the export: image crops are 404x240 native (~5:3) and
   square-cornered; type ~22px title / ~17px body with a taller panel. */
.home-what-we-create__card {
  border-radius: 0;
}

.home-what-we-create__card .tile-card__media {
  aspect-ratio: 5 / 3;
}

.home-what-we-create__card .tile-card__panel {
  padding: 2.5rem var(--space-5) var(--space-5);
}

.home-what-we-create__card {
  display: flex;
  color: inherit;
  text-decoration: none;
}

.home-what-we-create__card:hover,
.home-what-we-create__card:focus-visible {
  text-decoration: none;
}

.home-what-we-create__card .tile-card__media {
  transition: transform 600ms ease;
}

.home-what-we-create__card:hover .tile-card__media,
.home-what-we-create__card:focus-visible .tile-card__media {
  transform: scale(1.04);
}

/* Panel text inside a link: keep colours from the shared component but stop
   link underlines/inheritance from leaking in. */
.home-what-we-create__card .tile-card__title {
  display: block;
  color: var(--color-text-on-navy);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.home-what-we-create__card .tile-card__text {
  display: block;
  color: var(--color-text-on-navy-muted);
  font-size: var(--text-small);
}

.home-what-we-create__card:hover .tile-card__title {
  color: var(--color-gold-pale);
}

/* Labelled placeholder rendered until the asset agent's web derivatives land
   (see TODO in _WhatWeCreate.cshtml). */
.home-what-we-create__media-placeholder {
  background-color: var(--color-cream-deep);
}
