/* ==========================================================
   MEDIA PAGE
========================================================== */


/* ==========================================================
   HERO
========================================================== */

.media-hero {
  position: relative;

  overflow: hidden;

  padding:
    clamp(90px, 11vw, 155px) 0;

  color: white;

  background: var(--navy-900);
}

.media-hero-decoration {
  position: absolute;

  inset: 0;

  pointer-events: none;
}

.media-hero-decoration span {
  position: absolute;

  border:
    1px solid rgba(255, 255, 255, .06);

  border-radius: 50%;
}

.media-hero-decoration span:nth-child(1) {
  width: 620px;
  height: 620px;

  right: -180px;
  top: -310px;
}

.media-hero-decoration span:nth-child(2) {
  width: 850px;
  height: 850px;

  right: -290px;
  top: -420px;
}

.media-hero-decoration span:nth-child(3) {
  width: 1080px;
  height: 1080px;

  right: -420px;
  top: -540px;
}

.media-hero-layout {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.25fr) minmax(280px, .5fr);

  align-items: end;

  gap:
    clamp(60px, 9vw, 140px);
}

.media-eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 28px;

  font-size: .67rem;
  font-weight: 700;

  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-500);
  
}

.media-eyebrow::before {
  content: "";

  width: 30px;
  height: 1px;

  background: currentColor;
}

.media-hero h1 {
  margin: 0;

  font-family: var(--font-display);

  font-size:
    clamp(3.8rem, 7.5vw, 7.8rem);

  line-height: .9;
  letter-spacing: -.055em;

  font-weight: 600;
}

.media-hero h1 span,
.media-hero h1 em {
  display: block;
}

.media-hero h1 em {
  color: var(--amber-500);
  
}

.media-hero-copy {
  padding-bottom: 7px;
}

.media-hero-copy p {
  margin-bottom: 30px;

  font-size: .88rem;
  line-height: 1.8;

  color: #94a3b8;
}

.media-hero-copy a {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding-bottom: 5px;

  border-bottom:
    1px solid rgba(255, 255, 255, .25);

  font-size: .67rem;
  font-weight: 700;

  color: white;
}

.media-hero-copy svg {
  width: 16px;

  transition:
    transform var(--transition);
}

.media-hero-copy a:hover svg {
  transform: translateY(3px);
}


/* ==========================================================
   SECTION INDEX
========================================================== */

.media-section-index {
  display: flex;
  align-items: center;

  gap: 13px;

  margin-bottom: 30px;

  font-size: .63rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .1em;

  color: #64748b;
}

.media-section-index span {
  color: var(--blue-600);
}

.media-section-index p {
  margin: 0;
}


/* ==========================================================
   FEATURED MEDIA
========================================================== */

.featured-media-section {
  padding:
    clamp(85px, 10vw, 140px) 0;

  background: var(--surface-alt);
}

.featured-media {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr) minmax(340px, .8fr);

  min-height: 540px;

  background: white;

  box-shadow:
    0 12px 40px rgba(15, 23, 42, .05);
}

.featured-media-visual {
  position: relative;

  min-height: 540px;

  padding: 0;

  overflow: hidden;

  border: 0;

  cursor: pointer;

  background: #dce2e8;

  text-align: left;
}

.featured-media-visual img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 900ms var(--ease);
}

.featured-media:hover .featured-media-visual img {
  transform: scale(1.025);
}

.featured-media-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(180deg,
      rgba(15, 23, 42, .03) 30%,
      rgba(15, 23, 42, .55) 100%);
}

.featured-play {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 78px;
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--navy-900);
  background: rgba(255, 255, 255, .94);

  border-radius: 50%;

  transform:
    translate(-50%, -50%);

  backdrop-filter: blur(8px);

  transition:
    transform var(--transition),
    background var(--transition);
}

.featured-play svg {
  width: 23px;
}

.featured-media-visual:hover .featured-play {
  background: white;

  transform:
    translate(-50%, -50%) scale(1.08);
}

.featured-source {
  position: absolute;

  left: 25px;
  bottom: 22px;

  color: white;

  font-size: .62rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .1em;
}

.featured-media-content {
  padding:
    clamp(35px, 5vw, 70px);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 25px;

  font-size: .62rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .06em;

  color: #94a3b8;
}

.featured-media-meta span {
  color: var(--blue-600);
}

.featured-media-content h2 {
  margin-bottom: 23px;

  font-family: var(--font-display);

  font-size:
    clamp(2rem, 3.2vw, 3.4rem);

  line-height: 1.08;
  letter-spacing: -.035em;

  color: var(--navy-900);
}

.featured-media-content>p {
  margin-bottom: 35px;

  font-size: .86rem;
  line-height: 1.8;

  color: #64748b;
}

.featured-watch {
  width: fit-content;

  padding:
    0 0 5px;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  border: 0;
  border-bottom:
    1px solid #cbd5e1;

  cursor: pointer;

  color: var(--navy-900);
  background: transparent;

  font-size: .7rem;
  font-weight: 700;
}

.featured-watch svg {
  width: 17px;

  transition:
    transform var(--transition);
}

.featured-watch:hover svg {
  transform: translateX(4px);
}


/* ==========================================================
   MEDIA LIBRARY
========================================================== */

.media-library {
  padding:
    clamp(90px, 11vw, 150px) 0;

  background: white;
}

.media-library-header {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr) minmax(270px, 380px);

  align-items: end;

  gap: 60px;

  margin-bottom: 50px;
}

.media-library-header h2 {
  margin: 0;

  font-family: var(--font-display);

  font-size:
    clamp(2.8rem, 5vw, 5rem);

  line-height: 1;
  letter-spacing: -.045em;

  color: var(--navy-900);
}

.media-library-header h2 em {
  color: var(--blue-600);
}

.media-library-header>p {
  margin: 0 0 6px;

  font-size: .85rem;
  line-height: 1.8;

  color: #64748b;
}


/* ==========================================================
   FILTERS
========================================================== */

.media-filters {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  margin-bottom: 55px;

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);
}

.media-filters a {
  position: relative;

  min-height: 72px;

  padding:
    0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  color: #64748b;

  border-right:
    1px solid var(--border);

  font-size: .72rem;
  font-weight: 600;

  transition:
    color var(--transition),
    background var(--transition);
}

.media-filters a:last-child {
  border-right: 0;
}

.media-filters a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -1px;

  height: 2px;

  background: var(--blue-600);

  transform: scaleX(0);

  transition:
    transform var(--transition);
}

.media-filters a:hover {
  color: var(--navy-900);

  background: #f8fafc;
}

.media-filters a.is-active {
  color: var(--navy-900);
}

.media-filters a.is-active::after {
  transform: scaleX(1);
}

.media-filters small {
  font-size: .57rem;

  color: #94a3b8;
}


/* ==========================================================
   MEDIA GRID
========================================================== */

.media-library-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap:
    55px 25px;
}

.library-media-card {
  min-width: 0;
}

.library-media-visual {
  position: relative;

  width: 100%;
  aspect-ratio: 1.5;

  padding: 0;

  display: block;

  overflow: hidden;

  border: 0;

  cursor: pointer;

  background: #e2e8f0;

  text-align: left;
}

.library-media-visual img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 750ms var(--ease);
}

.library-media-card:hover .library-media-visual img {
  transform: scale(1.035);
}

.media-image-shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(180deg,
      transparent 40%,
      rgba(15, 23, 42, .5));
}

.media-type-badge {
  position: absolute;

  top: 14px;
  left: 14px;

  padding:
    6px 8px;

  color: var(--navy-900);
  background: rgba(255, 255, 255, .94);

  font-size: .55rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .06em;

  backdrop-filter: blur(8px);
}

.media-card-action {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--navy-900);
  background: rgba(255, 255, 255, .92);

  border-radius: 50%;

  transform:
    translate(-50%, -50%);

  transition:
    transform var(--transition),
    background var(--transition);
}

.media-card-action svg {
  width: 17px;
}

.library-media-card:hover .media-card-action {
  background: white;

  transform:
    translate(-50%, -50%) scale(1.07);
}

.media-card-source {
  position: absolute;

  left: 15px;
  bottom: 14px;

  color: white;

  font-size: .57rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .07em;
}

.library-media-content {
  padding-top: 20px;
}

.library-media-meta {
  margin-bottom: 13px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  font-size: .59rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .05em;

  color: #94a3b8;
}

.library-media-meta span {
  color: var(--blue-600);
}

.library-media-content h3 {
  margin-bottom: 14px;

  font-family: var(--font-display);

  font-size:
    clamp(1.35rem, 2vw, 1.7rem);

  line-height: 1.24;

  color: var(--navy-900);
}

.library-media-content>p {
  display: -webkit-box;

  margin-bottom: 20px;

  overflow: hidden;

  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  font-size: .77rem;
  line-height: 1.7;

  color: #64748b;
}

.media-card-link {
  padding: 0;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  border: 0;

  cursor: pointer;

  color: var(--navy-900);
  background: transparent;

  font-size: .66rem;
  font-weight: 700;
}

.media-card-link svg {
  width: 15px;

  transition:
    transform var(--transition);
}

.media-card-link:hover svg {
  transform: translateX(4px);
}


/* ==========================================================
   EMPTY
========================================================== */

.media-empty {
  max-width: 500px;

  margin: 60px auto;

  text-align: center;
}

.media-empty>span {
  display: block;

  margin-bottom: 15px;

  font-family: var(--font-display);
  font-size: 4rem;

  color: #e2e8f0;
}

.media-empty h3 {
  margin-bottom: 10px;

  font-family: var(--font-display);
  font-size: 2rem;

  color: var(--navy-900);
}

.media-empty p {
  margin-bottom: 20px;

  color: #64748b;
}

.media-empty a {
  font-size: .7rem;
  font-weight: 700;

  color: var(--blue-600);
}


/* ==========================================================
   POSITIONING
========================================================== */

.media-positioning {
  padding:
    clamp(90px, 11vw, 150px) 0;

  background: var(--surface-alt);
}

.media-positioning-layout {
  display: grid;

  grid-template-columns:
    150px minmax(0, 1fr) minmax(230px, .45fr);

  gap:
    clamp(40px, 6vw, 85px);

  align-items: start;
}

.positioning-label {
  font-size: .63rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .1em;

  color: #64748b;
}

.positioning-label span {
  display: block;

  margin-bottom: 10px;

  color: var(--blue-600);
}

.positioning-label p {
  margin: 0;
}

.media-positioning blockquote {
  margin: 0;

  font-family: var(--font-display);

  font-size:
    clamp(2rem, 3.7vw, 3.8rem);

  line-height: 1.16;
  letter-spacing: -.035em;

  color: var(--navy-900);
}

.media-positioning blockquote p {
  margin: 0;
}

.positioning-copy {
  align-self: end;
}

.positioning-copy p {
  margin: 0;

  font-size: .83rem;
  line-height: 1.8;

  color: #64748b;
}


/* ==========================================================
   MEDIA ENQUIRY
========================================================== */

.media-enquiry {
  position: relative;

  overflow: hidden;

  padding:
    clamp(90px, 10vw, 140px) 0;

  color: white;

  background: var(--blue-600);
}

.media-enquiry-decoration {
  position: absolute;

  width: 650px;
  height: 650px;

  right: -250px;
  top: -350px;

  border:
    1px solid rgba(255, 255, 255, .12);

  border-radius: 50%;
}

.media-enquiry-decoration::before {
  content: "";

  position: absolute;

  inset: 100px;

  border:
    1px solid rgba(255, 255, 255, .1);

  border-radius: 50%;
}

.media-enquiry-layout {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr) auto;

  align-items: end;

  gap: 70px;
}

.media-enquiry h2 {
  max-width: 800px;

  margin-bottom: 22px;

  font-family: var(--font-display);

  font-size:
    clamp(2.7rem, 5vw, 5.2rem);

  line-height: 1;
  letter-spacing: -.045em;

  color: white;
}

.media-enquiry h2 em {
  color: #dbeafe;
}

.media-enquiry p {
  max-width: 580px;

  margin: 0;

  font-size: .88rem;
  line-height: 1.75;

  color: #dbeafe;
}

.media-enquiry-button {
  min-width: 240px;
  min-height: 66px;

  padding:
    0 10px 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;

  color: var(--navy-900);
  background: white;

  font-size: .76rem;
  font-weight: 700;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.media-enquiry-icon {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  background: var(--navy-900);

  border-radius: 50%;
}

.media-enquiry-icon svg {
  width: 17px;

  transition:
    transform var(--transition);
}

.media-enquiry-button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 18px 40px rgba(15, 23, 42, .2);
}

.media-enquiry-button:hover svg {
  transform: translateX(3px);
}


/* ==========================================================
   LIGHTBOX
========================================================== */

.media-lightbox {
  position: fixed;

  z-index: 10000;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 300ms ease,
    visibility 300ms ease;
}

.media-lightbox.is-open {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;
}

.media-lightbox-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(5, 10, 20, .92);

  backdrop-filter: blur(10px);
}

.media-lightbox-dialog {
  position: relative;
  z-index: 2;

  width: min(1100px, 100%);
  max-height: calc(100vh - 60px);

  overflow-y: auto;

  background: var(--navy-900);

  box-shadow:
    0 35px 100px rgba(0, 0, 0, .35);
}

.media-lightbox-header {
  min-height: 80px;

  padding:
    18px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border-bottom:
    1px solid rgba(255, 255, 255, .1);
}

.media-lightbox-header>div>span {
  display: block;

  margin-bottom: 3px;

  font-size: .55rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .1em;

  color: #64748b;
}

.media-lightbox-header h2 {
  margin: 0;

  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;

  color: white;
}

.media-lightbox-close {
  position: relative;

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  border:
    1px solid rgba(255, 255, 255, .15);

  border-radius: 50%;

  background: transparent;

  cursor: pointer;
}

.media-lightbox-close span {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 16px;
  height: 1px;

  background: white;
}

.media-lightbox-close span:first-child {
  transform:
    translate(-50%, -50%) rotate(45deg);
}

.media-lightbox-close span:last-child {
  transform:
    translate(-50%, -50%) rotate(-45deg);
}


/* Content */

.media-lightbox-content {
  position: relative;

  background: #030712;
}

.media-lightbox-content iframe {
  display: block;

  width: 100%;
  aspect-ratio: 16 / 9;

  border: 0;
}

.media-lightbox-content video {
  display: block;

  width: 100%;
  max-height: 70vh;

  background: black;
}

.media-lightbox-content audio {
  width: calc(100% - 60px);

  margin: 60px 30px;
}

.media-lightbox-content img {
  display: block;

  width: 100%;
  max-height: 75vh;

  object-fit: contain;
}


/* External fallback */

.media-external-fallback {
  min-height: 400px;

  padding: 60px 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.media-external-fallback-inner {
  max-width: 480px;
}

.media-external-fallback h3 {
  margin-bottom: 12px;

  font-family: var(--font-display);
  font-size: 2rem;

  color: white;
}

.media-external-fallback p {
  margin-bottom: 25px;

  color: #94a3b8;

  line-height: 1.7;
}

.media-external-fallback a {
  min-height: 48px;

  padding:
    0 18px;

  display: inline-flex;
  align-items: center;

  color: var(--navy-900);
  background: white;

  font-size: .7rem;
  font-weight: 700;
}


/* Footer */

.media-lightbox-footer {
  padding:
    15px 24px;

  font-size: .62rem;

  color: #64748b;
}

body.media-lightbox-open {
  overflow: hidden;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

  .media-hero-layout {
    grid-template-columns:
      minmax(0, 1fr) minmax(230px, .45fr);
  }

  .featured-media {
    grid-template-columns: 1fr;
  }

  .featured-media-visual {
    min-height: 480px;
  }

  .media-library-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .media-positioning-layout {
    grid-template-columns:
      100px minmax(0, 1fr);

    gap: 45px;
  }

  .positioning-copy {
    grid-column: 2;
  }

}


@media (max-width: 800px) {

  .media-hero-layout,
  .media-library-header,
  .media-enquiry-layout {
    grid-template-columns: 1fr;
  }

  .media-filters {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .media-filters a:nth-child(2) {
    border-right: 0;
  }

  .media-filters a:nth-child(-n+2) {
    border-bottom:
      1px solid var(--border);
  }

}


@media (max-width: 650px) {

  .media-hero {
    padding:
      75px 0;
  }

  .media-hero h1 {
    font-size:
      clamp(3.5rem, 17vw, 5.6rem);
  }

  .featured-media-visual {
    min-height: 330px;
  }

  .featured-media-content {
    padding:
      30px 22px;
  }

  .featured-play {
    width: 62px;
    height: 62px;
  }

  .media-filters {
    grid-template-columns: 1fr;
  }

  .media-filters a {
    border-right: 0;
    border-bottom:
      1px solid var(--border);
  }

  .media-library-grid {
    grid-template-columns: 1fr;
  }

  .media-positioning-layout {
    grid-template-columns: 1fr;
  }

  .positioning-copy {
    grid-column: auto;
  }

  .media-enquiry-button {
    width: 100%;
  }

  .media-lightbox {
    padding: 0;
  }

  .media-lightbox-dialog {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
  }

  .media-lightbox-header {
    padding:
      15px 18px;
  }

}








.media-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #f1eee8;
}

.media-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.media-embed-frame iframe,
.media-embed-frame video,
.media-embed-frame embed,
.media-embed-frame object {
  position: absolute !important;
  inset: 0 !important;

  display: block !important;

  width: 100% !important;
  height: 100% !important;

  max-width: 100% !important;
  max-height: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
}



.media-gallery-trigger {
  position: relative;

  display: block;

  width: 100%;
  aspect-ratio: 4 / 3;

  padding: 0;
  margin: 0;

  border: 0;
  border-radius: 16px;

  overflow: hidden;

  background: #f1eee8;

  cursor: pointer;

  text-align: left;
}

.media-gallery-trigger img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.media-gallery-trigger:hover img {
  transform: scale(1.04);
}

.media-gallery-overlay {
  position: absolute;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 8px;

  background: rgba(18, 53, 91, 0.58);

  color: #fff;

  opacity: 0;

  transition: opacity 0.3s ease;
}

.media-gallery-trigger:hover .media-gallery-overlay,
.media-gallery-trigger:focus-visible .media-gallery-overlay {
  opacity: 1;
}

.media-gallery-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;

  font-size: 24px;
  line-height: 1;
}