/* ============================================================
   Media Centre — gallery + videos. Reuses about-redesign tokens.
   ============================================================ */
.media-hero { padding-top: 172px; }
.media-hero .about-shell { width: min(1180px, 100%); }
.media-hero h1 {
  margin: 14px 0 0;
  max-width: 15ch;
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 1.02;
}
.media-hero-lede {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--about-muted);
}

/* filter tabs */
.media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.media-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--about-line);
  background: rgba(255, 253, 248, 0.7);
  color: var(--about-ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.media-tab:hover { border-color: var(--about-orange); }
.media-tab.is-active {
  background: var(--about-maroon);
  color: #fff;
  border-color: var(--about-maroon);
}

/* uniform gallery grid — every tile the same shape, images cover-fill */
.media-grid {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.media-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 56px -34px rgba(60, 15, 30, 0.4);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.media-item:hover img { transform: scale(1.05); }
.media-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 16px;
  background: linear-gradient(transparent, rgba(28, 10, 18, 0.82));
  color: #fff;
}
.media-item figcaption span {
  display: block;
  color: var(--about-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.media-item figcaption strong {
  display: block;
  margin-top: 5px;
  font-family: var(--about-display);
  font-size: 19px;
  font-weight: 500;
}
.media-item.is-hidden { display: none; }

/* ---------- Videos ---------- */
.media-videos { background: linear-gradient(180deg, #fffdf8, #f6ecdc); }
.media-videos-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.media-videos-head h2 {
  margin: 12px 0 0;
  font-family: var(--about-display) !important;
  color: var(--about-maroon);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.06;
}
.media-videos-head h2 em { font-style: normal; color: var(--about-orange); }
.media-videos-head p { margin: 16px 0 0; color: var(--about-muted); font-size: 17px; line-height: 1.55; }

.media-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.media-video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: var(--about-maroon);
  box-shadow: 0 30px 64px -40px rgba(60, 15, 30, 0.5);
  text-decoration: none;
}
.media-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.media-video:hover img { transform: scale(1.06); }
.media-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 10, 18, 0.12), rgba(28, 10, 18, 0.72));
  z-index: 1;
}
.media-video-play {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--about-maroon);
  transition: transform 0.25s ease, background 0.25s ease;
}
.media-video:hover .media-video-play { transform: scale(1.08); background: var(--about-orange); color: #fff; }
.media-video-cap {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}
.media-video-cap span { display: block; color: var(--about-orange); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.media-video-cap strong { display: block; margin-top: 5px; font-family: var(--about-display); font-size: 20px; font-weight: 500; }
.media-soon {
  position: absolute;
  right: 18px;
  top: 22px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.16);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

@media (max-width: 1000px) { .media-grid { grid-template-columns: 1fr 1fr; } .media-video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .media-grid { grid-template-columns: 1fr; } .media-video-grid { grid-template-columns: 1fr; } }
