/* ==========================================================================
   Motor City Music Club — mcmc.rocks
   Design system: orange/black/cream rock energy, modernized from the Wix era.
   ========================================================================== */

/* ---- Fonts (self-hosted) ---- */
@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url("/fonts/oswald-400.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("/fonts/oswald-500.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("/fonts/oswald-600.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("/fonts/oswald-700.woff2") format("woff2"); }
@font-face { font-family: "Kelly Slab"; font-weight: 400; font-display: swap; src: url("/fonts/kelly-slab-400.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-display: swap; src: url("/fonts/courier-prime-400.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url("/fonts/courier-prime-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }

/* ---- Tokens ---- */
:root {
  --orange: #f0941f;
  --orange-dark: #d67f0d;
  --black: #161513;
  --ink: #2a2723;
  --gray: #5f5a52;
  --cream: #f2f0e8;
  --cream-deep: #e9e6da;
  --white: #ffffff;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --slab: "Kelly Slab", "Rockwell", serif;
  --mono: "Courier Prime", "Courier New", monospace;
  --body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --shadow-hard: 6px 6px 0 rgba(22, 21, 19, 0.9);
  --shadow-soft: 0 10px 30px rgba(22, 21, 19, 0.12);
  --container: 1140px;
  --radius: 10px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--black); color: var(--white); padding: 0.75rem 1.25rem;
  font-family: var(--mono);
}
.skip-link:focus { left: 0; }

/* ---- Brand chip (the orange label plate) ---- */
.chip {
  display: inline-block;
  font-family: var(--slab);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.06em;
  color: var(--black);
  background: var(--orange);
  padding: 0.35em 1em 0.3em;
  box-shadow: 4px 4px 0 rgba(22, 21, 19, 0.85);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid var(--black);
  padding: 0.7em 1.7em;
  background: var(--orange);
  color: var(--black);
  box-shadow: 4px 4px 0 rgba(22, 21, 19, 0.9);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(22, 21, 19, 0.9); background: #f7a53a; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(22, 21, 19, 0.9); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 rgba(240, 148, 31, 0.9); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--dark { background: var(--black); color: var(--white); box-shadow: 4px 4px 0 rgba(240, 148, 31, 0.9); }
.btn--dark:hover { background: #2c2a26; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-bottom: 3px solid var(--orange);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container); margin: 0 auto;
  padding: 0.65rem clamp(1.25rem, 4vw, 2.5rem);
}
.site-header__logo img { width: 168px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.6rem); }
.site-nav a {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: 0.35em 0.1em;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--orange); }
.site-nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); }
.site-nav a.nav-donate {
  background: var(--orange); color: var(--black);
  padding: 0.45em 1.1em; border-bottom: none;
  transition: background 120ms ease;
}
.site-nav a.nav-donate:hover { background: #f7a53a; color: var(--black); }
.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--orange);
  color: var(--orange); font-family: var(--mono); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45em 0.9em; cursor: pointer; font-size: 0.9rem;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black);
    border-bottom: 3px solid var(--orange);
    padding: 0.5rem 0 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85em clamp(1.25rem, 4vw, 2.5rem); border-bottom: 1px solid #2c2a26; font-size: 1rem; }
  .site-nav a.nav-donate { margin: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 0; text-align: center; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(420px, 68vh, 640px);
  background-size: cover; background-position: var(--hero-pos, center);
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 15, 13, 0.82) 0%, rgba(16, 15, 13, 0.25) 55%, rgba(16, 15, 13, 0.35) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero__content h1 { color: var(--white); margin-bottom: 0.35em; }
.hero__content h1 .hl { background: var(--orange); color: var(--black); padding: 0.04em 0.18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__tagline { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40rem; margin-bottom: 1.6em; color: #f4f2ec; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero--page { min-height: clamp(300px, 44vh, 440px); }

/* ---- Sections ---- */
.section { padding: clamp(3.25rem, 8vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--black); color: #e8e5dd; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__lead { max-width: 46rem; }
.prose { max-width: 44rem; }
.prose p { margin-bottom: 1.2em; }

/* ---- CTA cards (home) ---- */
.cta-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2.5rem;
}
.cta-card {
  background: var(--white);
  border: 2px solid var(--black);
  box-shadow: var(--shadow-hard);
  padding: 2.25rem 1.75rem 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.cta-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 rgba(22, 21, 19, 0.9); }
.cta-card__icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--black); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.cta-card__icon img { width: 52px; height: 52px; object-fit: contain; }
.cta-card h3 { margin-bottom: 0.65rem; }
.cta-card p { margin: 0; font-size: 0.98rem; color: var(--gray); }
.cta-card .faux-btn {
  margin-top: 1.4rem;
  font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black); background: var(--orange);
  padding: 0.5em 1.4em; border: 2px solid var(--black);
}

/* ---- Program cards ---- */
.program-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
}
@media (max-width: 700px) { .program-grid { grid-template-columns: 1fr; } }
.program-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 2px solid var(--black);
  box-shadow: var(--shadow-hard);
  text-decoration: none; color: var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.program-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 rgba(22, 21, 19, 0.9); }
.program-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 3px solid var(--orange); }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; }
.program-card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.program-card h3 { margin-bottom: 0.55rem; }
.program-card p { margin: 0 0 1.2rem; font-size: 0.98rem; color: var(--gray); flex: 1; }
.program-card__more { font-family: var(--mono); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-dark); font-size: 0.9rem; }

/* ---- Feature rows (alternating) ---- */
.feature-row {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.feature-row__media img { border: 2px solid var(--black); box-shadow: var(--shadow-hard); }
.feature-row--flip .feature-row__media { order: 2; }
.feature-row h3 { position: relative; padding-bottom: 0.45em; }
.feature-row h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--orange); }
.feature-row p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .feature-row__media { order: 0; }
}

/* ---- Involvement tiles ---- */
.tile-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 2.5rem;
}
.tile {
  background: var(--white); border: 2px solid var(--black);
  box-shadow: var(--shadow-hard);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  color: var(--ink); text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
a.tile:hover, button.tile:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 rgba(22, 21, 19, 0.9); }
button.tile { font: inherit; cursor: pointer; }
.tile__icon {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.tile__icon img { width: 56px; height: 56px; object-fit: contain; }
.tile h3 {
  font-family: var(--slab); text-transform: uppercase;
  background: var(--black); color: var(--orange);
  padding: 0.25em 0.9em; font-size: 1.15rem; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.tile p { margin: 0; font-size: 0.96rem; color: var(--gray); }
.tile .tile__hint { margin-top: 1.1rem; font-family: var(--mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-dark); }

/* ---- Team ---- */
/* Restored from the Wix-era treatment (see Wayback / Travis's reference shot):
   cream ground, a dark ASYMMETRIC wedge pointing left, the cutout portrait
   standing on it, copy set beside the photo rather than under it. Two-up, so the
   third member starts a new row exactly like the original.
   The wedge is what makes a cream section safe here: Travis's hair is near-white
   and dissolves on cream, so his head must land ON the dark shape. That is also
   how the original solved it. Keep the head over the wedge. */
.team-grid {
  display: grid; gap: 3rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  margin-top: 2.5rem;
}
.team-member {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) 1.15fr;
  align-items: start;
  column-gap: 1.25rem;
}
.team-member__figure {
  position: relative;
  aspect-ratio: 357 / 258;
  align-self: start;
}
/* The wedge: scalene, apex top-right, long point reaching left. */
.team-member__figure::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(22, 21, 19, 0.78);
  clip-path: polygon(100% 0%, 0% 66%, 97% 100%);
}
/* Cutouts are pre-normalised to one canvas (head height + eye line), so a single
   rule places all three identically — no per-person nudging. */
/* Geometry lifted off the original: photo box sits at 38%/32% of the wedge, 59%
   wide, running 25% past the wedge's base. Cutouts are head-centred at one scale,
   so this single rule places all three. */
.team-member__figure img {
  position: absolute;
  left: 18%; width: 82%;
  top: 28%; height: 97%;
  object-fit: contain; object-position: bottom center;
}
.team-member__body { padding-top: 0.35rem; }
.team-member h3 { margin-bottom: 0.1rem; line-height: 1.05; }
.team-member .role {
  font-family: var(--mono); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-dark);
  display: block; margin-bottom: 0.7rem;
}
.team-member p { margin: 0; font-size: 0.95rem; color: var(--gray); }

@media (max-width: 560px) {
  .team-member { grid-template-columns: 1fr; row-gap: 0.75rem; }
  .team-member__figure { max-width: 300px; }
}

/* ---- Big CTA band ---- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { max-width: 38rem; margin: 0 auto 1.75em; }
.cta-band .hero__actions { justify-content: center; }

/* ---- Forms / dialogs ---- */
.modal { border: 3px solid var(--black); box-shadow: 10px 10px 0 rgba(240, 148, 31, 0.95); padding: 0; max-width: 560px; width: calc(100vw - 2.5rem); }
.modal::backdrop { background: rgba(16, 15, 13, 0.72); }
.modal__head { background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.modal__head h3 { color: var(--orange); margin: 0; font-family: var(--slab); letter-spacing: 0.05em; }
.modal__close { background: none; border: none; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.4rem; }
.modal__close:hover { color: var(--orange); }
.modal form { padding: 1.5rem; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem;
  padding: 0.6em 0.75em;
  border: 2px solid var(--black); border-radius: 0;
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { margin-top: 1.4rem; display: flex; align-items: center; gap: 1rem; }
.form-note { font-size: 0.85rem; color: var(--gray); margin: 0; }
.form-status { font-family: var(--mono); font-size: 0.9rem; margin: 0.9rem 0 0; }
.form-status.is-error { color: #b3261e; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---- Footer ---- */
.site-footer { background: var(--black); color: #cfcabe; border-top: 3px solid var(--orange); }
.site-footer__inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  display: grid; gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.site-footer h4 { color: var(--orange); font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.14em; margin-bottom: 0.7rem; }
.site-footer p { margin: 0 0 0.35em; font-size: 0.95rem; }
.site-footer a { color: #f4f2ec; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer__brand img { width: 190px; margin-bottom: 1rem; }
.site-footer__social { display: flex; gap: 0.9rem; margin-top: 0.75rem; }
.site-footer__social a { display: flex; width: 38px; height: 38px; border: 2px solid #cfcabe; border-radius: 50%; align-items: center; justify-content: center; }
.site-footer__social a:hover { border-color: var(--orange); }
.site-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__legal {
  max-width: var(--container); margin: 0 auto;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid #2c2a26;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---- Misc ---- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.notice-banner {
  background: var(--orange); color: var(--black);
  font-family: var(--mono); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-block; padding: 0.3em 1em; margin-bottom: 1rem; font-size: 0.9rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cta-card, .program-card, .tile { transition: none; }
}
