/* Majestic uses the shared product/feature sections; only its composition differs. */
body[data-page-path^="/products/majestic"] {
  --mj-line: rgba(255,255,255,.11);
  --mj-muted: #b1acbc;
}
body[data-page-path^="/products/majestic"] .s-background { opacity: .22; }
body[data-page-path^="/products/majestic"] .s-hero { padding-top: 48px; padding-bottom: 70px; }
body[data-page-path^="/products/majestic"] .s-hero-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(28px,4vw,64px); align-items: center; }
body[data-page-path^="/products/majestic"] .s-hero h1 { font-size: clamp(34px,4.2vw,62px); line-height: 1.08; letter-spacing: -.045em; max-width: 680px; text-wrap: balance; }
body[data-page-path^="/products/majestic"] .s-description { font-size: clamp(16px,1.35vw,18px); line-height: 1.7; max-width: 640px; }
body[data-page-path^="/products/majestic"] .s-hero-stage { min-width: 0; }
body[data-page-path^="/products/majestic"] .s-screen { width: 100%; background: #101014; }
body[data-page-path^="/products/majestic"] .s-screen img { display: block; width: 100%; height: auto; object-fit: contain; }
body[data-page-path^="/products/majestic"] .s-screen-note { color: var(--mj-muted); font-size: 12px; line-height: 1.65; margin: 14px 0 0; max-width: 570px; }
.s-product-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.s-product-nav a { padding: 10px 14px; border-radius: 10px; color: #c6c1d0; font-size: 13px; line-height: 1.5; text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.s-product-nav a[aria-current="page"] { color: #fff; background: rgba(157,78,221,.18); box-shadow: inset 0 0 0 1px rgba(179,129,241,.23); }
.s-product-nav a:focus-visible { outline: 2px solid #bd94ff; outline-offset: 3px; }
body[data-page-path^="/products/majestic"] .s-section { padding-block: clamp(42px,6vw,82px); scroll-margin-top: 110px; }
body[data-page-path^="/products/majestic"] .s-section-head { align-items: start; gap: 24px; }
body[data-page-path^="/products/majestic"] .s-section-head h2 { text-wrap: balance; }
body[data-page-path^="/products/majestic"] .s-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
body[data-page-path^="/products/majestic"] .s-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
body[data-page-path^="/products/majestic"] .s-card { padding: 20px; border: 1px solid var(--mj-line); border-radius: 18px; background: linear-gradient(150deg,rgba(33,29,43,.9),rgba(17,17,23,.95)); min-width: 0; overflow: hidden; }
body[data-page-path^="/products/majestic"] .s-card-image { display: block; width: 100%; height: auto; aspect-ratio: 10/7; object-fit: contain; margin: 0 0 20px; border-radius: 10px; background: #101014; }
body[data-page-path^="/products/majestic"] .s-card-top { color: #c7adf0; font-size: 11px; letter-spacing: .02em; min-height: 2em; }
body[data-page-path^="/products/majestic"] .s-card h3 { font-size: 24px; letter-spacing: -.025em; }
body[data-page-path^="/products/majestic"] .s-card p { color: var(--mj-muted); font-size: 14px; line-height: 1.7; }
body[data-page-path^="/products/majestic"] .s-card .s-text-link { margin-top: auto; padding-top: 22px; font-size: 13px; }
/* Illustrated work cards follow the GTA5RP home composition. Screens stay in the guides. */
body[data-page-path^="/products/majestic"] .s-grid--scenes.s-grid--2 { max-width: calc((100% - 20px) * 2 / 3); margin-inline: auto; }
body[data-page-path^="/products/majestic"] .s-card.s-card--scene { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 0; aspect-ratio: 4 / 5; min-height: 390px; border-radius: 14px; background: #15131a; box-shadow: 0 14px 36px #0003; }
body[data-page-path^="/products/majestic"] .s-card--scene::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg,rgba(10,10,14,.98) 0%,rgba(10,10,14,.86) 19%,rgba(10,10,14,.28) 43%,transparent 65%); }
body[data-page-path^="/products/majestic"] .s-card--scene .s-scene-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 30%; margin: 0; border-radius: 0; transition: transform 350ms ease; }
body[data-page-path^="/products/majestic"] .s-scene-copy { padding: 26px; }
body[data-page-path^="/products/majestic"] .s-scene-copy h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; color: #fff; font-size: clamp(25px,2.4vw,32px); line-height: 1.1; letter-spacing: -.04em; }
body[data-page-path^="/products/majestic"] .s-scene-copy h3 svg { flex: 0 0 20px; width: 20px; height: 20px; transition: transform 180ms ease; }
body[data-page-path^="/products/majestic"] .s-scene-copy p { margin: 0; color: #d4cfdb; font-size: 14px; line-height: 1.65; }
body[data-page-path^="/products/majestic"] .s-card--scene:focus-visible { outline: 2px solid #caa2ff; outline-offset: 4px; }
body[data-page-path^="/products/majestic"] .s-editorial-pair article { min-width: 0; }
body[data-page-path^="/products/majestic"] .v13-row { grid-template-columns: minmax(0,1fr) auto; }
body[data-page-path^="/products/majestic"] .v13-row p { max-width: 820px; }
body[data-page-path^="/products/majestic"] .s-prose { max-width: 840px; }
body[data-page-path^="/products/majestic"] #limits .s-prose { border-left: 2px solid #9169c8; padding-left: 24px; }
body[data-page-path^="/products/majestic"] .s-gallery { align-items: start; }
body[data-page-path^="/products/majestic"] #field .s-gallery,
body[data-page-path^="/products/majestic"] #statistics .s-gallery { grid-template-columns: minmax(0,1fr); max-width: 900px; }
body[data-page-path^="/products/majestic"] .s-gallery figcaption { color: var(--mj-muted); line-height: 1.65; }
@media (hover:hover) and (pointer:fine) {
  .s-product-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
  body[data-page-path^="/products/majestic"] .s-card-link:hover { border-color: rgba(186,135,251,.48); }
  body[data-page-path^="/products/majestic"] .s-card--scene:hover .s-scene-image { transform: scale(1.025); }
  body[data-page-path^="/products/majestic"] .s-card--scene:hover h3 svg { transform: translateX(3px); }
}
@media (max-width:1000px) {
  body[data-page-path^="/products/majestic"] .s-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-page-path^="/products/majestic"] .s-grid--scenes.s-grid--2 { max-width: none; }
  body[data-page-path^="/products/majestic"] .s-hero-grid { grid-template-columns: minmax(0,1fr); }
  body[data-page-path^="/products/majestic"] .s-hero-stage { max-width: 800px; width: 100%; }
}
@media (max-width:600px) {
  body[data-page-path^="/products/majestic"] .s-hero { padding-top: 30px; padding-bottom: 36px; }
  body[data-page-path^="/products/majestic"] .s-grid,
  body[data-page-path^="/products/majestic"] .s-grid--2 { grid-template-columns: minmax(0,1fr); }
  body[data-page-path^="/products/majestic"] .s-facts { gap: 18px; flex-wrap: wrap; }
  body[data-page-path^="/products/majestic"] .s-card { padding: 16px; }
  body[data-page-path^="/products/majestic"] .s-scene-copy { padding: 24px; }
  body[data-page-path^="/products/majestic"] .s-section-head { display: block; }
  body[data-page-path^="/products/majestic"] .s-section-head p { margin-top: 14px; }
  body[data-page-path^="/products/majestic"] .s-stage-label { flex-wrap: wrap; gap: 6px; }
  .s-product-nav { gap: 4px; }
  .s-product-nav a { padding: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .s-product-nav a,
  body[data-page-path^="/products/majestic"] .s-card--scene .s-scene-image,
  body[data-page-path^="/products/majestic"] .s-scene-copy h3 svg { transition: none; }
  body[data-page-path^="/products/majestic"] .s-card--scene:hover .s-scene-image,
  body[data-page-path^="/products/majestic"] .s-card--scene:hover h3 svg { transform: none; }
}
