/* Site-wide layout */
:root {
  color-scheme: dark;
  --page-black: #000;
  --page-white: #f0ece4; /* #d3d3d3; */
  --muted-white: rgba(255, 255, 255, 0.68);
  --hairline: rgba(255, 255, 255, 0.28);
  --page-width: 960px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--page-black);
  background-image: url("../mlg_bg_20261015_1145a_transparent.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-attachment: fixed;
  background-size: auto;
  color: var(--page-white);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.65;
}

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

a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.site_body {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.site_header {
  min-height: clamp(180px, 27vw, 220px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 2.5rem;
}

.mlg_logo {
  font-size: clamp(2rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.tagline {
  margin: 1rem 0 0;
  color: var(--muted-white);
  font-size: clamp(0.9rem, 2vw, 2.15rem);
  letter-spacing: 0.08em;
}

.site_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.75rem);
  padding: 1rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
	font-weight: bold;
}

.site_nav a,
.site_footer a {
  transition: opacity 160ms ease;
}

.site_nav a:hover,
.site_footer a:hover {
  opacity: 0.65;
}

.video_section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.video_frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--hairline);
}

.video_frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.press_release,
.buy_section {
  padding-block: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline);
}

h1,
h2 {
  margin: 0;
  font-weight: 600;
  line-height: 1.18;
  overflow-wrap: anywhere;
text-align: center;
}

h1 {
/*  max-width: 18ch;*/
  font-size: clamp(2rem, 5.2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.news_release_date {
  margin: 1rem 0 2rem;
  color: var(--muted-white);
  font-size: 0.9rem;
text-align: center;
}

.news_release_copy {
/*  max-width: 70ch; */
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.news_release_copy p {
  margin: 0 0 1.2em;
}

.buy_links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
	text-align: center;
}

.buy_item {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.42);
  transition: background-color 160ms ease, border-color 160ms ease;
align-items: center;
}

.buy_item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.buy_item_title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  overflow-wrap: anywhere;
}

.buy_item_note {
  color: var(--muted-white);
  font-size: 0.85rem;
}

.site_footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
  color: var(--muted-white);
  font-size: 0.9rem;
}

/* Tablet and phone layout */
@media (max-width: 640px) {
  body {
    /* Keep the image anchored top-right, but scale it down on small screens. */
    background-size: min(100vw, 790px) auto;
  }

  .site_header {
    min-height: 180px;
  }

  .site_nav {
    gap: 0.8rem 1.25rem;
  }

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

  .buy_item {
    min-height: 105px;
  }
}

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

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

.film_title {
    color: #fff;
    filter: blur(0.45px);
}

/* Responsive images */
img {
    display: block;
    max-width: 100%;
    height: auto;
}
