/* Majestic Creative Media Systems supplemental styles. */
:root {
  --mgd-black: #080808;
  --mgd-charcoal: #151515;
  --mgd-gold: #febd0e;
  --mgd-gold-soft: rgba(254, 189, 14, 0.16);
  --mgd-burgundy: #641f2e;
  --mgd-navy: #12213d;
  --mgd-white: #ffffff;
  --mgd-muted: #d8d8d8;
}
.navbar-default .navbar-nav > li > a { font-size: 11px; letter-spacing: 0; }
.navbar-default .nav > li > a { padding-left: 5px; padding-right: 5px; }
.mgd-system-section { width: 100%; float: left; padding: 100px 0; background: #fff; }
.mgd-system-section--dark { background: radial-gradient(circle at top left, rgba(100,31,46,0.22), transparent 34%), var(--mgd-black); color: var(--mgd-white); }
.mgd-system-section--home { background: linear-gradient(135deg, #0c0c0c 0%, #171717 56%, #2a1f10 100%); color: #fff; }
.mgd-int-header { background: linear-gradient(135deg, #111 0%, #24180b 54%, #febd0e 140%) !important; }
.mgd-align-center { display: flex; align-items: center; flex-wrap: wrap; }
.mgd-kicker { display: inline-block; margin-bottom: 14px; color: var(--mgd-gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.mgd-section-heading { max-width: 850px; margin: 0 auto 42px; }
.mgd-section-heading h2, .mgd-system-section h2, .mgd-page-hero h1, .mgd-final-cta h2 { font-weight: 800; letter-spacing: 0; }
.mgd-system-section h2 { font-size: 40px; margin: 0 0 18px; }
.mgd-system-section p { font-size: 17px; line-height: 1.75; }
.mgd-page-hero { width: 100%; float: left; padding: 110px 0; background: linear-gradient(135deg, #080808 0%, #141414 52%, #3b1722 100%); color: #fff; }
.mgd-page-hero h1 { font-size: 54px; line-height: 1.05; margin: 0 0 24px; }
.mgd-page-hero .lead { font-size: 22px; line-height: 1.55; color: #fff; }
.mgd-page-hero p { color: var(--mgd-muted); font-size: 17px; line-height: 1.8; }
.mgd-action-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.mgd-action-row--center { justify-content: center; }
.mgd-action-row a, .mgd-primary-button, .mgd-offer-card a, .mgd-price-card a { display: inline-block; padding: 14px 22px; background: var(--mgd-gold); color: #121212; font-weight: 800; text-transform: uppercase; font-size: 12px; text-decoration: none; border-radius: 4px; }
.mgd-action-row a.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.34); }
.mgd-image-placeholder { min-height: 300px; border: 1px solid rgba(254,189,14,0.45); background: linear-gradient(135deg, rgba(254,189,14,0.12), rgba(255,255,255,0.04)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; color: #fff; }
.mgd-image-placeholder span { font-size: 22px; font-weight: 800; color: var(--mgd-gold); }
.mgd-image-placeholder small { max-width: 420px; margin-top: 12px; color: #e5e5e5; line-height: 1.5; overflow-wrap: anywhere; }
.mgd-card-row { margin-top: 18px; }
.mgd-offer-card, .mgd-price-card, .mgd-terms-card { height: 100%; min-height: 260px; margin-bottom: 28px; padding: 34px; background: #121212; border: 1px solid rgba(254,189,14,0.24); color: #fff; box-shadow: 0 18px 45px rgba(0,0,0,0.18); }
.mgd-system-section:not(.mgd-system-section--dark):not(.mgd-system-section--home) .mgd-offer-card, .mgd-system-section:not(.mgd-system-section--dark):not(.mgd-system-section--home) .mgd-price-card, .mgd-terms-card { background: #fff; color: #151515; border-color: rgba(0,0,0,0.08); box-shadow: 0 18px 45px rgba(0,0,0,0.08); }
.mgd-offer-card h3, .mgd-price-card h3 { margin-top: 0; font-weight: 800; }
.mgd-offer-card span, .mgd-price-card strong { display: block; margin: 18px 0; color: var(--mgd-gold); font-size: 22px; }
.mgd-price-card--featured { border-color: var(--mgd-gold); }
.mgd-price-card ul { padding-left: 20px; margin: 20px 0 26px; }
.mgd-price-card li { margin-bottom: 9px; line-height: 1.5; }
.mgd-table-wrap { overflow-x: auto; background: #fff; border-radius: 4px; }
.mgd-pricing-table { width: 100%; color: #111; }
.mgd-pricing-table td { padding: 16px 20px; border-bottom: 1px solid #e9e3d8; font-size: 16px; }
.mgd-pricing-table td:last-child { width: 190px; text-align: right; font-weight: 800; color: #6b3f00; }
.mgd-mini-grid, .mgd-service-grid, .mgd-client-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mgd-mini-grid article, .mgd-service-grid article, .mgd-client-action-grid a { padding: 24px; background: #fff; border: 1px solid rgba(0,0,0,0.08); font-weight: 800; color: #161616; text-decoration: none; }
.mgd-mini-grid--light article { background: #171717; color: #fff; border-color: rgba(254,189,14,0.22); }
.mgd-service-grid article h3 { margin-top: 0; font-weight: 800; }
.mgd-service-grid article p { font-size: 15px; line-height: 1.65; }
.mgd-final-cta { width: 100%; float: left; padding: 100px 0; text-align: center; background: linear-gradient(135deg, #111 0%, #23160a 100%); color: #fff; }
.mgd-final-cta p { max-width: 790px; margin: 0 auto; color: #e8e8e8; font-size: 18px; line-height: 1.7; }
.mgd-centered-action { text-align: center; margin-top: 18px; }
.mgd-form-helper { margin-bottom: 24px; color: #f2f2f2; line-height: 1.7; }
.mgd-client-actions-section { background: #101010; color: #fff; }
.mgd-client-action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 34px; }
.mgd-client-action-grid a { background: #171717; color: #fff; border-color: rgba(254,189,14,0.24); text-transform: uppercase; font-size: 12px; }
.mgd-dashboard-placeholder { min-height: 240px; }
.majestic-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 18px 0; }
.majestic-footer-links a, .portfolio-footer .majestic-footer-links a { color: #fff; font-weight: 700; text-decoration: underline; }
.portfolio-links { flex-wrap: wrap; }
.portfolio-links a { white-space: nowrap; }
.portfolio-footer a { display: block; margin-bottom: 8px; }
@media only screen and (max-width: 991px) {
  .mgd-page-hero h1 { font-size: 42px; }
  .mgd-mini-grid, .mgd-service-grid, .mgd-client-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgd-align-center { display: block; }
}
@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .mgd-system-section, .mgd-page-hero, .mgd-final-cta { padding: 72px 0; }
  .mgd-page-hero h1 { font-size: 34px; }
  .mgd-system-section h2 { font-size: 30px; }
  .mgd-action-row { flex-direction: column; align-items: stretch; }
  .mgd-action-row a, .mgd-primary-button { text-align: center; width: 100%; }
  .mgd-mini-grid, .mgd-service-grid, .mgd-client-action-grid { grid-template-columns: 1fr; }
  .mgd-offer-card, .mgd-price-card, .mgd-terms-card { padding: 26px; }
  .majestic-footer-links { grid-template-columns: 1fr; }
}
@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .navbar-default .navbar-header { position: relative; }
  .navbar-default .navbar-toggle {
    display: block !important;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 10001;
    width: 44px;
    height: 44px;
  }
  .navbar-default .navbar-collapse.in {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .navbar-default .navbar-collapse {
    display: block !important;
    height: auto !important;
    max-height: 360px;
    overflow-y: auto !important;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 8px 0;
  }
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .navbar-default.navbar-fixed-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
  header.int-header, header.mgd-int-header {
    padding-top: 36px !important;
  }
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .navbar-default .navbar-toggle {
    display: none !important;
  }
}

/* Discreet AI-assisted visual disclosure. */
.majestic-ai-disclosure {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  margin: 16px 0 14px;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.majestic-ai-disclosure:hover,
.majestic-ai-disclosure:focus {
  opacity: 1;
  outline: none;
  transform: translateY(-1px);
}
.majestic-ai-disclosure img {
  width: 42px;
  height: auto;
  display: block;
  border-radius: 3px;
}
.majestic-ai-disclosure figcaption,
.majestic-ai-disclosure span {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}
.portfolio-ai-disclosure {
  margin: 18px auto 0;
  max-width: 1180px;
  padding: 0 24px;
}
body.majestic-ai-popup-open {
  overflow: hidden;
}
.majestic-ai-popup {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.majestic-ai-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.majestic-ai-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.majestic-ai-popup__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
  background: #0f0f0f;
  color: #fff;
  border: 1px solid rgba(254, 189, 14, 0.34);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}
.majestic-ai-popup__panel img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto 22px;
  background: #171717;
}
.majestic-ai-popup__copy h2 {
  margin: 0 0 12px;
  color: #febd0e;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}
.majestic-ai-popup__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.7;
}
.majestic-ai-popup__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  font-size: 24px;
  line-height: 28px;
}
@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .majestic-ai-disclosure {
    max-width: 100%;
    opacity: 0.8;
  }
  .majestic-ai-popup {
    padding: 16px;
  }
  .majestic-ai-popup__panel {
    padding: 22px;
  }
  .majestic-ai-popup__copy h2 {
    font-size: 21px;
  }
}

.mgd-image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(254, 189, 14, 0.42);
  background: #111;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}
.mgd-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.mgd-page-hero .mgd-image-frame img,
.mgd-system-section--home .mgd-image-frame img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
