.mobile-menu { display: none; }

@media (max-width: 650px) {
  .mobile-menu { display: block; }
}

@media (max-width: 900px) {
  .mobile-menu--tablet { display: block; }
}

.mobile-menu {
  width: min(100% - 28px, 360px);
  margin: 8px auto 10px;
  color: #242424;
  font-family: 'DM Sans', sans-serif;
}

.mobile-menu summary {
  display: flex;
  width: fit-content;
  min-height: 34px;
  margin: auto;
  padding: 0 16px;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  list-style: none;
  border: 1px solid #292929;
  background: #292929;
  color: #fffdf9;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.mobile-menu summary::-webkit-details-marker { display: none; }

.mobile-menu summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}

.mobile-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.mobile-menu summary:focus-visible, .mobile-menu a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.mobile-menu nav {
  margin-top: 8px;
  padding: 8px;
  border-radius: 24px;
  border: 1px solid #292929;
  background: #292929;
  color: #fffdf9;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #fffdf9;
}

.mobile-menu[open] summary { background: #242424; color: #fffdf9; }
.mobile-menu nav a:hover, .mobile-menu nav a:focus-visible { background: #444; color: #fffdf9; }

.hero, .film-card, .portfolio .featured, .portfolio .mini, .portfolio .tile, .video-wrap {
  border-radius: clamp(16px, 2.4vw, 32px);
  overflow: hidden;
}

.package { border-radius: 24px; }

.hero-actions .hero-watch,
.package a,
.closing a,
button.submit,
input[type="submit"],
.btn {
  border-radius: 999px;
}

/* Use the same header row at each page's mobile navigation breakpoint. */
@media (max-width: 900px) {
  header:has(> .mobile-menu--tablet) {
    --header-layout: grid;
  }
}

@media (max-width: 650px) {
  header:has(> .mobile-menu) {
    --header-layout: grid;
  }
}

header:has(> .mobile-menu) {
  display: var(--header-layout, block);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}

@media (max-width: 900px) {
  header:has(> .mobile-menu--tablet) > .nav {
    width: auto;
    margin: 0 0 0 14px;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 650px) {
  header:has(> .mobile-menu) > .nav {
    width: auto;
    margin: 0 0 0 14px;
    justify-self: start;
    text-align: left;
  }
}

header > .mobile-menu {
  position: relative;
  z-index: 21;
  width: auto;
  margin: 0 14px 8px 0;
}

header > .mobile-menu nav {
  position: absolute;
  inset: 100% 0 auto auto;
  width: min(260px, calc(100vw - 28px));
  box-shadow: 0 10px 24px rgb(0 0 0 / 12%);
}

/* Modern, consistent header wordmark across site pages. */
header .brand { line-height: 1; color: #000; }
header .brand-script, header .brand-goats { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: #000; }
header .brand-goats { margin-top: 3px; margin-left: 0; }
@media (max-width: 650px) {
  header .brand-script, header .brand-goats { font-size: 13px; }
}
