/* Mixed Martial Cards - press kit. Shares the portal's palette (ink ground, blue vs red corner, crown gold). */

:root {
  --display: "Archivo Black", "Impact", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Barlow", sans-serif;
  --radius: 3px;
  --wrap: 1180px;
}

html {
  scroll-padding-top: 84px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--crown);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--crown);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--crown);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.skip:focus {
  top: 8px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1px solid rgba(242, 236, 228, 0.3);
  background: transparent;
  color: var(--bone);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  color: #fff;
  border-color: var(--crown);
}

.btn--primary {
  background: var(--crown);
  border-color: var(--crown);
  color: var(--ink);
}

.btn--primary:hover {
  background: #f5cd62;
  border-color: #f5cd62;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
}

.btn--small {
  padding: 8px 16px;
  font-size: 16px;
  white-space: nowrap;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--ink) 2%, rgba(10, 8, 16, 0.55) 40%, rgba(10, 8, 16, 0.05) 80%);
}

.hero__body {
  padding: 96px 0 44px;
}

.eyebrow {
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 17px;
  color: var(--crown);
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  margin: 4px 0 18px;
}

.hero__pitch {
  max-width: 640px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--bone);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--smoke);
  max-width: 640px;
}

/* Layout */

.layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  padding-top: 40px;
  padding-bottom: 80px;
  align-items: start;
}

.factsheet {
  position: sticky;
  top: 84px;
  background: none;
  border: 0;
  border-top: 2px solid var(--bone);
  padding: 16px 0 0;
}

.factsheet h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 10px;
}

.factsheet h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--smoke);
  margin: 22px 0 8px;
}

.factsheet dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px;
  line-height: 1.4;
}

.factsheet dt {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  color: var(--smoke);
  padding-top: 1px;
}

.factsheet dd {
  overflow-wrap: anywhere;
}

.social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.social a {
  font-size: 15.5px;
}

/* Content */

.content section {
  margin-bottom: 64px;
}

.content h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}

.content h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 22px;
  color: var(--bone);
  margin: 26px 0 6px;
}

.content p {
  margin-bottom: 14px;
  max-width: 70ch;
}

.lede {
  font-size: 21px;
  line-height: 1.5;
  color: #fff;
}

.muted {
  color: var(--smoke);
  font-size: 15.5px;
}

.features {
  max-width: 70ch;
  padding-left: 1.1em;
}

.features li {
  padding: 4px 0;
}

.features li::marker {
  color: var(--corner-red);
}

/* Video */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hairline);
  margin-bottom: 12px;
}

.video iframe,
.video__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__play {
  background: none;
  cursor: pointer;
  padding: 0;
}

.video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease;
}

.video__play:hover img {
  filter: brightness(1.1);
}

.video__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  margin: -43px 0 0 -43px;
  border-radius: 50%;
  background: var(--corner-red);
}

.video__icon::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 25px;
  border-left: 28px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

/* Loops */

.loops {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.loop {
  background: var(--bruise);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.loop video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* Gallery + assets */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.shot,
.asset {
  background: none;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.shot > a {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--smoke);
}

.dl {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.assets {
  display: grid;
  gap: 16px;
  margin-bottom: 12px;
}

.assets--logos {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.assets--art {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.asset--wide {
  grid-column: 1 / -1;
}

.asset img {
  width: 100%;
}

.assets--logos .asset img {
  padding: 24px;
  height: 170px;
  object-fit: contain;
}

.asset--dark {
  background: #08060d;
}

.asset--light {
  background: transparent;
}

.asset--light img {
  background: #f2ece4;
}

.asset--checker img {
  background: repeating-conic-gradient(#2a2535 0% 25%, #1c1826 0% 50%) 50% / 24px 24px;
}

.assets--art .asset img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.assets--art .asset--wide img {
  aspect-ratio: auto;
}

.assets--art .asset--square img {
  object-fit: contain;
  background: #08060d;
}

/* Team */

.team {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin: 0 0 16px;
  padding: 0;
}

.team li {
  display: flex;
  flex-direction: column;
}

.team strong {
  font-family: var(--cond);
  font-size: 22px;
}

.team span {
  color: var(--smoke);
  font-size: 15px;
}

/* Contact */

.contact {
  padding-top: 0;
}

.contact h2 {
  border-image: none;
  border-bottom: 0;
  padding-bottom: 0;
}

.contact__mail {
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(20px, 3.4vw, 30px);
  overflow-wrap: anywhere;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 3, 8, 0.94);
  color: var(--bone);
}

.lightbox:not([open]) {
  display: none;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lightbox figure {
  max-width: min(92vw, 1500px);
  text-align: center;
}

.lightbox figure img {
  max-height: 82vh;
  margin: 0 auto;
  border-radius: 6px;
}

.lightbox figcaption {
  justify-content: center;
  font-size: 16px;
}

.lightbox__close,
.lightbox__nav {
  background: rgba(255, 255, 255, 0.08);
  color: var(--bone);
  border: 1px solid var(--hairline);
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
  flex: none;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Responsive */

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .factsheet {
    position: static;
  }

}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: 480px;
  }

  .hero__body {
    padding-top: 160px;
  }

  .lightbox__nav {
    position: absolute;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .lightbox__nav--prev {
    left: 16px;
  }

  .lightbox__nav--next {
    right: 16px;
  }
}
