:root {
  --ink: #070605;
  --ink-soft: #12100d;
  --cream: #ead8b0;
  --muted: #bca883;
  --red: #a52b21;
  --red-bright: #c23b2f;
  --line: rgba(224, 193, 137, 0.27);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  min-width: 280px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 10%, rgba(165, 43, 33, 0.13), transparent 30rem),
    linear-gradient(145deg, #100c09, var(--ink) 54%, #0c0907);
  font-family: var(--body);
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.media-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding: 0.3rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 5, 0.9);
  backdrop-filter: blur(14px);
}

.media-logo img {
  width: 7rem;
  height: 4rem;
  object-fit: contain;
}

.media-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.media-nav a {
  transition: color 170ms ease;
}

.media-nav a:hover,
.media-nav a:focus-visible {
  color: var(--cream);
}

.media-nav .back-link {
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
}

.media-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(72vh, 760px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: url("Images/Pressmedia/banner.jpg") center / cover no-repeat;
}

.media-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.95) 0%, rgba(5, 4, 3, 0.63) 43%, rgba(5, 4, 3, 0.08) 76%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.05) 40%, rgba(5, 4, 3, 0.86) 100%);
}

.media-hero-content {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.kicker {
  color: var(--red-bright);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.media-hero h1,
.section-heading h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

.media-hero h1 {
  margin-top: 0.65rem;
  max-width: 7ch;
  color: var(--cream);
  font-size: clamp(5rem, 13vw, 11.5rem);
  letter-spacing: 0.025em;
  line-height: 0.76;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.75);
}

.hero-copy {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: #d3c6ae;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.media-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 2rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-counts strong {
  margin-right: 0.3rem;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.media-section {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2 {
  margin-top: 0.4rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.section-heading > p {
  max-width: 28rem;
  justify-self: end;
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.video-section {
  max-width: none;
  width: 100%;
  padding-inline: max(clamp(1rem, 4vw, 3rem), calc((100vw - 1320px) / 2 + 3rem));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(32, 17, 13, 0.7), rgba(9, 7, 5, 0.98));
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0907;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.video-card-featured {
  grid-column: 1 / -1;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.video-copy {
  position: relative;
  padding: 1.25rem clamp(1rem, 3vw, 1.6rem) 1.5rem;
  border-top: 1px solid var(--line);
}

.video-copy::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 5rem;
  height: 2px;
  background: var(--red);
}

.video-copy span,
.video-copy p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin: 0.45rem 0 0.5rem;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.photo-section {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: minmax(160px, 18vw);
  gap: clamp(0.65rem, 1.4vw, 1.1rem);
}

.photo-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(224, 193, 137, 0.22);
  border-radius: 0;
  background: #100d0a;
  color: var(--cream);
  cursor: zoom-in;
}

.photo-card-wide {
  grid-column: span 2;
}

.photo-card-tall {
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 350ms ease, filter 350ms ease;
}

.photo-card span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.8rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(5, 4, 3, 0.94));
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  transform: translateY(0.15rem);
  transition: transform 250ms ease;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  filter: saturate(1) contrast(1.06);
  transform: scale(1.035);
}

.photo-card:hover span,
.photo-card:focus-visible span {
  transform: translateY(0);
}

.photo-card:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  border: 0;
  background: rgba(4, 3, 2, 0.96);
  color: var(--cream);
}

.photo-lightbox[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.3rem, 2vw, 1.5rem);
  padding: clamp(0.75rem, 3vw, 2rem);
}

.photo-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.photo-lightbox form {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 2;
}

.lightbox-close,
.lightbox-arrow {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 8, 6, 0.86);
  color: var(--cream);
  font: 400 2rem/1 var(--body);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  border-color: var(--cream);
  background: var(--red);
  outline: none;
}

.photo-lightbox figure {
  display: grid;
  justify-items: center;
  min-width: 0;
  max-height: calc(100dvh - 2rem);
}

.photo-lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 6rem);
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
}

.photo-lightbox figcaption {
  width: 100%;
  padding-top: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.media-footer {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 3.5rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050403;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.media-footer img {
  width: 8rem;
  height: 4.8rem;
  object-fit: contain;
}

.media-footer a {
  margin-top: 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}

@media (max-width: 900px) {
  .media-hero {
    min-height: 64vh;
    background-position: 58% center;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading > p {
    justify-self: start;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, 42vw);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 4.4rem;
  }

  .media-header {
    min-height: 4.4rem;
    padding-inline: 0.85rem;
  }

  .media-logo img {
    width: 5.8rem;
    height: 3.5rem;
  }

  .media-nav {
    gap: 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .media-nav a:not(.back-link) {
    display: none;
  }

  .media-nav .back-link {
    min-height: 44px;
    padding: 0.85rem 0.75rem;
  }

  .media-hero {
    min-height: 72svh;
    background-position: 57% center;
  }

  .media-hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.18) 16%, rgba(5, 4, 3, 0.86) 76%, rgba(5, 4, 3, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 4, 3, 0.76), rgba(5, 4, 3, 0.08));
  }

  .media-hero-content {
    padding: 3rem 1rem;
  }

  .media-hero h1 {
    font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(4.7rem, 24vw, 7rem);
    letter-spacing: -0.045em;
    line-height: 0.78;
    transform: scaleX(0.78);
    transform-origin: left bottom;
    width: 128%;
  }

  .media-counts {
    margin-top: 1.4rem;
  }

  .media-section {
    padding: 4.25rem 0.85rem;
  }

  .section-heading h2 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
  }

  .section-heading > p {
    padding-left: 0.85rem;
    font-size: 0.94rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card-featured {
    grid-column: auto;
  }

  .video-copy {
    padding: 1rem 0.9rem 1.15rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-card,
  .photo-card-wide,
  .photo-card-tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-card-tall {
    aspect-ratio: 3 / 4;
  }

  .photo-lightbox[open] {
    grid-template-columns: 1fr;
    padding: 4rem 0.65rem 1rem;
  }

  .photo-lightbox figure {
    grid-row: 1;
  }

  .photo-lightbox figure img {
    max-height: calc(100dvh - 8.5rem);
  }

  .lightbox-arrow {
    position: fixed;
    bottom: 1rem;
    z-index: 2;
  }

  .lightbox-previous {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
