/* MG ENTERPRISE 3 — Plot Studio: charcoal + olive + soft amber, stacked magazine layout */
:root {
  --ink: #141816;
  --ink-soft: #2C342F;
  --copper: #5C6B4A;
  --copper-dark: #445136;
  --copper-pale: #D7DEC8;
  --euca: #5C6B4A;
  --euca-deep: #445136;
  --euca-pale: #E4E9DA;
  --burgundy: #C4A35A;
  --parchment: #EEF1F4;
  --parchment-2: #E3E7EC;
  --white: #FAFBFC;
  --muted: #66706A;
  --line: rgba(20, 24, 22, 0.12);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(20, 24, 22, 0.1);
  --plot-charcoal: #1F2421;
  --plot-olive: #5C6B4A;
  --plot-amber: #C4A35A;
  --plot-mist: #EEF1F4;
}

body.mg-plot {
  background:
    radial-gradient(circle at 0% 0%, rgba(92, 107, 74, 0.12), transparent 42%),
    radial-gradient(circle at 100% 12%, rgba(196, 163, 90, 0.14), transparent 38%),
    linear-gradient(180deg, #F5F7F9 0%, var(--plot-mist) 40%, #E8ECF0 100%);
}

body.mg-plot .gate-header,
body.mg-plot .receipt-footer {
  display: none !important;
}

body.mg-plot .plot-frame {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

body.mg-plot .plot-mast {
  padding: 22px 0 8px;
  display: grid;
  gap: 18px;
}

body.mg-plot .plot-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

body.mg-plot .plot-brand {
  text-decoration: none;
  color: var(--ink);
}
body.mg-plot .plot-brand .eyebrow {
  margin: 0 0 6px;
  color: var(--plot-olive);
}
body.mg-plot .plot-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 700;
}

body.mg-plot .plot-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
body.mg-plot .plot-actions a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}
body.mg-plot .plot-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--plot-charcoal);
  color: #F4F7F5 !important;
  padding: 10px 14px;
  border-radius: 999px;
}
body.mg-plot .plot-cart b {
  background: var(--plot-amber);
  color: #1F2421;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
}

body.mg-plot .plot-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}
body.mg-plot .plot-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink-soft);
  background: rgba(250, 251, 252, 0.8);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 0.88rem;
}
body.mg-plot .plot-nav a.is-active,
body.mg-plot .plot-nav a:hover {
  background: var(--plot-olive);
  border-color: var(--plot-olive);
  color: #F4F7F5;
}

body.mg-plot .plot-search {
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
body.mg-plot .plot-search input {
  border: 0;
  padding: 14px 16px;
  font: inherit;
  background: transparent;
}
body.mg-plot .plot-search button {
  border: 0;
  background: var(--plot-amber);
  color: #1F2421;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

body.mg-plot .plot-hero {
  margin: 28px 0 40px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: min(72vh, 620px);
  background: var(--plot-charcoal);
  box-shadow: var(--shadow);
}
body.mg-plot .plot-hero-media {
  position: absolute;
  inset: 0;
}
body.mg-plot .plot-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
body.mg-plot .plot-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 22, 0.82) 0%, rgba(20, 24, 22, 0.35) 55%, rgba(20, 24, 22, 0.15) 100%),
    linear-gradient(180deg, transparent 45%, rgba(20, 24, 22, 0.55) 100%);
}
body.mg-plot .plot-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: clamp(28px, 6vw, 64px);
  color: #F4F7F5;
}
body.mg-plot .plot-hero-copy .eyebrow {
  color: var(--plot-amber);
}
body.mg-plot .plot-hero-copy h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 16px;
}
body.mg-plot .plot-hero-copy p {
  color: rgba(244, 247, 245, 0.84);
  max-width: 42ch;
}
body.mg-plot .plot-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
body.mg-plot .plot-hero-actions .btn-copper {
  background: var(--plot-amber);
  border-color: var(--plot-amber);
  color: #1F2421;
}
body.mg-plot .plot-hero-actions .btn-outline {
  border-color: rgba(244, 247, 245, 0.45);
  color: #F4F7F5;
}

body.mg-plot .plot-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 14px;
  margin-bottom: 40px;
}
body.mg-plot .plot-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
body.mg-plot .plot-tile:first-child {
  grid-row: span 2;
}
body.mg-plot .plot-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.mg-plot .plot-tile span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(250, 251, 252, 0.92);
  font-weight: 700;
  font-size: 0.9rem;
}

body.mg-plot .plot-footer {
  margin-top: 56px;
  background: var(--plot-charcoal);
  color: #E6EBE7;
  padding: 48px 0 28px;
}
body.mg-plot .plot-footer a { color: #E6EBE7; text-decoration: none; }
body.mg-plot .plot-footer a:hover { color: var(--plot-amber); }
body.mg-plot .plot-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 22px;
}
body.mg-plot .plot-footer h4 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plot-amber);
}
body.mg-plot .plot-footer a { display: block; margin: 8px 0; }
body.mg-plot .plot-footer-base {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(230, 235, 231, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(230, 235, 231, 0.7);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  body.mg-plot .plot-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  body.mg-plot .plot-tile:first-child { grid-column: span 2; }
  body.mg-plot .plot-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body.mg-plot .plot-brand-row { flex-direction: column; align-items: flex-start; }
  body.mg-plot .plot-mosaic { grid-template-columns: 1fr; }
  body.mg-plot .plot-tile:first-child { grid-column: auto; min-height: 240px; }
  body.mg-plot .plot-footer-grid { grid-template-columns: 1fr; }
}
