.priority-homepage #top {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  scroll-margin-top: 100px;
}

.priority-homepage #top > .mx-auto { min-height: 0; }

.priority-homepage .static-hero-logo img {
  width: min(97.75vw, 782px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.priority-logo-stage {
  display: flow-root;
  min-height: calc(100svh - 4rem);
}

.priority-logo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.priority-logo-button:focus-visible {
  outline: 2px solid #0074e4;
  outline-offset: 4px;
}

.priority-homepage .headline-shell {
  min-height: 0;
  scroll-margin-top: 105px;
}

.priority-primary-link,
.priority-secondary-link,
.priority-nav-contact {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.5rem;
  border: 1px solid #e7e7ea;
  border-radius: 999px;
  background: #fff;
  color: #111113;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.priority-primary-link,
.priority-nav-contact {
  border-color: #e90010;
  background: #e90010;
  color: #fff;
  box-shadow: 0 5px 20px rgb(0 116 228 / 10%);
}

.priority-primary-link:hover,
.priority-nav-contact:hover { box-shadow: 0 7px 24px rgb(0 116 228 / 18%); }
.priority-secondary-link:hover { border-color: #0074e4; }

.priority-primary-link:focus-visible,
.priority-secondary-link:focus-visible,
.priority-nav-contact:focus-visible,
.priority-details > summary:focus-visible {
  outline: 2px solid #0074e4;
  outline-offset: 4px;
}

.priority-homepage-header > div { gap: .75rem; }
.priority-homepage-header .site-nav-scroll { gap: .55rem; }
.priority-homepage-header .site-nav-scroll > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 1rem;
}

.priority-nav-contact {
  flex: 0 0 auto;
  min-height: 44px;
  padding: .65rem 1rem;
  font-size: .875rem;
}

.priority-homepage [data-priority-client-strip] {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.priority-homepage [data-priority-client-strip] .trusted-heading {
  max-width: 800px;
  font-size: 1.125rem;
  line-height: 1.5;
}

.priority-homepage [data-priority-client-strip] .trusted-heading + div { margin-top: 1.75rem; }

.priority-homepage #maen-latest-booth,
.priority-homepage #recent-projects,
.priority-homepage .priority-resource-section,
.priority-homepage #contact {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  scroll-margin-top: 100px;
}

.priority-homepage #solutions {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.priority-homepage #trade-show-support {
  padding-bottom: 2rem;
  scroll-margin-top: 100px;
}

.priority-maen-story,
.priority-support-cta { margin-top: 1.75rem; }

.priority-homepage .priority-resource-section h2 {
  max-width: 1000px;
  font-size: 2rem;
  line-height: 1.15;
  text-wrap: balance;
}

.priority-resource-lead {
  max-width: 800px;
  margin-top: 1.25rem;
  color: #505156;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.priority-details {
  margin-top: 1.5rem;
  border-top: 1px solid #e7e7ea;
  border-bottom: 1px solid #e7e7ea;
}

.priority-details > summary {
  min-height: 56px;
  padding: 1rem .25rem;
  color: #111113;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.priority-details > summary::marker { color: #0074e4; }
.priority-details > div {
  margin-top: 1rem;
  padding-bottom: 1.5rem;
}

.ethos-founder-attribution {
  display: block;
  margin-top: 1.25rem;
  color: #505156;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.priority-homepage #homepage-expo-edge {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

html.maen-photo-viewer-open,
html.maen-photo-viewer-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.maen-photo-viewer-open { scrollbar-gutter: stable; }

.maen-photo-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.maen-photo-lightbox[open] {
  display: grid;
  padding: 80px 32px 28px;
}

.maen-photo-lightbox::backdrop {
  background: rgb(17 17 19 / 72%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.maen-photo-lightbox:not([open]),
.maen-photo-lightbox [hidden] { display: none !important; }

.maen-photo-lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.maen-photo-frame {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}

.maen-photo-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1400px, 100%);
  max-height: 100%;
  object-fit: contain;
}

.maen-photo-lightbox figcaption,
.maen-photo-status {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.maen-photo-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  background: rgb(17 17 19 / 25%);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.maen-photo-close:hover { background: rgb(255 255 255 / 12%); }
.maen-photo-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 639px) {
  .maen-photo-lightbox[open] { padding: 76px 16px 24px; }
}

@media (min-width: 640px) {
  .priority-nav-contact { padding-inline: 1.25rem; font-size: .9375rem; }
}

@media (min-width: 1024px) {
  .priority-homepage #top { padding-top: 3rem; padding-bottom: 3.5rem; }
  .priority-homepage .priority-resource-section h2 { font-size: 2.75rem; }
  .priority-homepage #maen-latest-booth,
  .priority-homepage #recent-projects,
  .priority-homepage .priority-resource-section,
  .priority-homepage #contact { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .priority-primary-link,
  .priority-secondary-link,
  .priority-nav-contact { transition: none !important; }
  .priority-homepage { scroll-behavior: auto; }
}
