/* mvp.css — shared dark theme for Music Venture Partners */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #181818;
  --border: #2a2a2a;
  --gold: #c9a84c;
  --gold-bright: #e6cd82;
  --gold-rgb: 201, 168, 76;
  --silver: #c9ced5;
  --silver-bright: #eef1f4;
  --silver-rgb: 201, 206, 213;
  --chrome: linear-gradient(140deg, #fafbfc 0%, #ccd1d8 40%, #a6acb5 58%, #e7eaee 100%);
  --chrome-hover: linear-gradient(140deg, #ffffff 0%, #d9dde2 40%, #b6bcc4 58%, #f1f3f5 100%);
  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-dim: #6a6a6a;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100svh;
}

img { display: block; max-width: 100%; }

.gold { color: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 30px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-bright); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Focus rings — silver to match the chrome logo, never browser-default blue ── */
.btn:focus-visible,
.link-btn:focus-visible,
.btn-modal-submit:focus-visible,
.site-foot a:focus-visible {
  outline: 2px solid var(--silver-bright);
  outline-offset: 3px;
}
/* Close button is auto-focused when a modal opens */
.modal-close:focus {
  outline: 2px solid var(--silver-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Label tag ── */
.label-tag {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
}

/* ── Contact / footer ── */
.site-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 20px;
  text-align: center;
}
.site-foot a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .5px;
  transition: color .2s ease;
}
.site-foot a:hover { color: var(--gold); }
.site-copy { color: var(--text-dim); font-size: 11px; letter-spacing: .5px; }

/* ── Modals ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 14px;
  background: rgba(20, 20, 24, .55);
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
  border: 1px solid rgba(var(--silver-rgb), .32);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .65),
    0 0 40px rgba(var(--silver-rgb), .07),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color .2s ease;
}
.modal-close:hover { color: #fff; }
.modal-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #aeb4bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
}
.modal-heading {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 24px;
}

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.form-input:focus { border-color: rgba(var(--silver-rgb), .85); background: rgba(255, 255, 255, .06); }
.form-input::placeholder { color: rgba(255, 255, 255, .4); }
textarea.form-input { resize: vertical; min-height: 90px; }
.btn-modal-submit {
  width: 100%;
  background: var(--chrome);
  color: #121316;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  box-shadow:
    0 6px 22px rgba(150, 160, 175, .22),
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -2px 4px rgba(90, 100, 115, .25);
  transition: background .2s ease, box-shadow .2s ease;
}
.btn-modal-submit:hover {
  background: var(--chrome-hover);
  box-shadow:
    0 8px 28px rgba(160, 170, 185, .32),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -2px 4px rgba(90, 100, 115, .22);
}
.modal-success, .modal-error {
  display: none;
  text-align: center;
  font-size: 14px;
  margin-top: 14px;
  font-weight: 700;
}
.modal-success { color: var(--silver-bright); }
.modal-error { color: #e05c5c; }

@media (max-width: 600px) {
  .modal-card { padding: 28px 20px; max-height: 88vh; }
  .form-row { grid-template-columns: 1fr; }
}
