.media-page {
  color: #271c27;
  background: #fffcf9;
  font-family: var(--body);
  padding-block-end: 44px;
}
.media-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
  padding-block: clamp(40px, 7vw, 86px);
}
.media-page h1, .media-page h2, .media-page h3 { font-family: var(--display); color: #2d1a29; }
.media-page h1 { margin: 0 0 16px; font-size: clamp(2.8rem, 7.8vw, 6.6rem); line-height: 1.2; }
.media-page h2 { font-size: clamp(1.55rem, 3vw, 2.55rem); line-height: 1.38; margin: 0 0 16px; }
.media-page h3 { font-size: 1.15rem; margin-block: 14px 2px; line-height: 1.5; }
.media-page p { max-width: 62ch; }
.media-hero > div > p { color: #584954; font-size: clamp(1.08rem, 1.8vw, 1.35rem); }
.media-page a { color: #8b214c; }
.media-page .kit-download {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 21px;
  margin-top: 24px;
  border-radius: 9px;
  background: #802344;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.kit-download:hover { background: #661b37; }
.kit-download small { font-size: .76em; color: #fce4ed; }
.brand-plate {
  background: #fae9df;
  border: 1px solid #ebcfbe;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
}
.brand-plate a { display: grid; justify-items: center; text-align: center; font-weight: 700; }
.brand-plate img { width: min(64%, 208px); height: auto; border-radius: 22%; margin-block-end: 20px; box-shadow: 0 8px 22px #53223326; }
.brand-plate small, .format { color: #66525c; font: 600 .83rem/1.6 var(--utility); }
.media-page section { border-block-start: 1px solid #dfd2cb; padding-block: clamp(30px, 5vw, 62px); }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px 20px; }
.media-item { min-width: 0; }
.media-item.ipad { grid-column: span 2; }
.media-item .art { height: clamp(210px,25vw,328px); background: #f1e6ea; border: 1px solid #e4d7dc; border-radius: 14px; display: grid; place-items: center; padding: 14px; }
.media-item.ipad .art { background: #f5ead7; }
.media-item.watch .art { background: #e5eae6; }
.art img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; border-radius: 5px; box-shadow: 0 5px 14px #40172918; }
.watch .art img { max-height: 76%; border-radius: 16%; }
html[dir="rtl"] .format { text-align: right; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 8px; }
.downloads a { padding: 7px 15px; border: 1px solid #c9a9b6; border-radius: 6px; font-weight: 700; text-decoration: none; }
.downloads a:hover { background: #f5e6eb; }
.motion, .press-info { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 8vw, 100px); }
.motion { align-items: center; }
.motion .format { margin-block: 12px; }
.motion video { display: block; max-width: 100%; width: auto; height: 270px; border-radius: 9px; justify-self: center; background: #1c1320; }
.press-info a { display: inline-block; font-weight: 700; margin-block-start: 10px; overflow-wrap: anywhere; }
.press-info small { margin-inline-start: 5px; }
@media(max-width: 700px) {
  .media-hero, .press-info { grid-template-columns: 1fr; }
  .brand-plate { padding: 14px 20px; }
  .brand-plate a { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; text-align: start; justify-items: start; align-items: end; }
  .brand-plate img { grid-row: span 2; width: 76px; margin: 0; }
  .brand-plate small { align-self: start; }
  .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .media-item .art { height: clamp(176px,49vw,260px); padding: 9px; }
  .media-item.ipad .art { height: auto; aspect-ratio: 1.65; }
  .media-page h3 { font-size: 1rem; }
  .downloads { gap: 6px; }
  .downloads a { padding: 6px 10px; }
  .motion { grid-template-columns: 1fr auto; gap: 12px; }
  .motion video { height: auto; width: clamp(88px,24vw,145px); }
}
@media(max-width: 360px) { .motion { grid-template-columns: 1fr; } }
