/* Website-specific styles, layered on top of colors_and_type.css */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--mt-bg);
  color: var(--mt-fg);
  font-family: var(--mt-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 48px; }
.section-head__eye {
  font-family: var(--mt-font-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mt-yellow);
}
.section-head__h {
  font-family: var(--mt-font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mt-fg);
}
.section-head__sub {
  font-family: var(--mt-font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--mt-fog);
  max-width: 64ch;
  margin-top: 8px;
}

/* ---------- Buttons (canonical) ---------- */
.mmt-btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--mt-font-condensed); font-weight: 700;
  font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px 22px; border: 0; cursor: pointer;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.mmt-btn--primary {
  background: var(--mt-yellow); color: var(--mt-black);
  box-shadow: 0 2px 0 0 rgba(0,0,0,0.6);
}
.mmt-btn--primary:hover {
  background: var(--mt-yellow-hot);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 0 rgba(0,0,0,0.7);
}
.mmt-btn--primary:active { transform: scale(0.98); box-shadow: 0 1px 0 0 rgba(0,0,0,0.6); }
.mmt-btn--outline {
  background: transparent; color: var(--mt-fg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.45);
}
.mmt-btn--outline:hover { box-shadow: inset 0 0 0 2px var(--mt-yellow); color: var(--mt-yellow); }
.mmt-btn--ghost {
  background: transparent; color: var(--mt-fg);
  box-shadow: inset 0 0 0 2px var(--mt-yellow);
}
.mmt-btn--ghost:hover { background: var(--mt-yellow); color: var(--mt-black); }
.mmt-btn--lg { font-size: 16px; padding: 18px 28px; }

/* ---------- Cards (canonical) ---------- */
.mmt-card {
  background: var(--mt-coal);
  box-shadow: inset 0 0 0 1px var(--mt-graphite), 0 6px 18px rgba(0,0,0,0.45);
  padding: 28px;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms;
  position: relative;
}
.mmt-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--mt-graphite), 0 14px 28px rgba(0,0,0,0.6); }
.mmt-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mt-yellow);
  transform: scaleX(0); transform-origin: left; transition: transform 200ms;
}
.mmt-card:hover::before { transform: scaleX(1); }

/* ---------- Pill / chip ---------- */
.mmt-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mt-font-condensed); font-weight: 700;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.mmt-pill--solid { background: var(--mt-yellow); color: var(--mt-black); }
.mmt-pill--ghost { background: rgba(255,255,255,0.08); color: var(--mt-fg); }
.mmt-pill--stroke { background: transparent; color: var(--mt-yellow); box-shadow: inset 0 0 0 1.5px var(--mt-yellow); }

/* ---------- Selection ---------- */
::selection { background: var(--mt-yellow); color: var(--mt-black); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--mt-black); }
::-webkit-scrollbar-thumb { background: var(--mt-graphite); }
::-webkit-scrollbar-thumb:hover { background: var(--mt-yellow); }
