:root {
  --mg-red: #d32626;
  --mg-gold: #d5be98;
  --mg-ink: #171616;
  --mg-paper: #fbfbfb;
  --mg-parchment: #f7eedf;
  --mg-muted: #625e5b;
  --mg-shell: min(100% - 40px, 1440px);
  --mg-font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mg-font-body: Manrope, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; color: var(--mg-ink); background: var(--mg-paper); font-family: var(--mg-font-body); }
img { max-width: 100%; height: auto; }
.mg-theme-shell { width: var(--mg-shell); margin-inline: auto; }
.mg-skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 99999; padding: .75rem 1rem; background: var(--mg-paper); color: var(--mg-ink); transform: translateY(-200%); }
.mg-skip-link:focus { transform: translateY(0); }
.mg-theme-header, .mg-theme-footer { padding-block: 1.25rem; background: var(--mg-ink); color: var(--mg-paper); }
.mg-theme-header .mg-theme-shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.mg-theme-header ul, .mg-theme-footer ul { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.mg-theme-header a, .mg-theme-footer a { color: inherit; text-decoration: none; }
.mg-theme-brand { font-family: var(--mg-font-display); font-weight: 650; }
.mg-theme-content { padding-block: clamp(4rem, 8vw, 8rem); }
:focus-visible { outline: 3px solid var(--mg-red); outline-offset: 3px; }
@media (min-width: 768px) { :root { --mg-shell: min(100% - 64px, 1440px); } }
@media (min-width: 1025px) { :root { --mg-shell: min(100% - 112px, 1440px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
