/* Steal the Beat — v1 */
:root {
  --bg: #0b0b0b;
  --fg: #f2f2f2;
  --mute: #8a8a8a;
  --line: #2a2a2a;
  --field: #141414;
  --error: #ff5a4e;
  --wrap: 640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Asphalt: fine grain over black. Remove the class "asphalt" from <body> for plain black. */
body.asphalt {
  background-color: #0d0d0d;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.035), rgba(0,0,0,0.25) 75%);
}

a { color: inherit; }

/* Header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
}
.wordmark {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
}
.wordmark img { height: 52px; display: block; }
.home-logo { width: min(320px, 70vw); height: auto; margin-bottom: 36px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
nav a {
  margin-left: 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mute);
}
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }

main { flex: 1; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 80px; }

h1 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  font-size: clamp(40px, 9vw, 72px);
  margin-bottom: 20px;
}
.lede { color: var(--mute); font-size: 17px; max-width: 34em; }

/* Home */
.home {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}
.home h1 { font-size: clamp(48px, 13vw, 140px); margin-bottom: 28px; }
.home .links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  padding: 14px 26px;
  font: 600 13px/1 "Inter", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--fg); }
.btn:hover { opacity: 0.85; }
.btn[disabled] { opacity: 0.4; cursor: wait; }

/* Form */
form { margin-top: 44px; }
fieldset { border: 0; border-top: 1px solid var(--line); padding: 28px 0 8px; }
legend {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  padding-right: 12px;
}
.field { margin: 18px 0 22px; }
label, .label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.opt { color: var(--mute); font-weight: 400; font-size: 13px; margin-left: 6px; }
.hint { color: var(--mute); font-size: 13px; margin-top: 6px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="month"],
select, textarea {
  width: 100%;
  background: var(--field);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  font: 16px "Inter", sans-serif;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
input[type="month"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.5; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fg); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* Chips (checkbox / radio groups) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 400; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 9px 14px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 2px; }

/* Consent boxes */
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: #cfcfcf; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: #f2f2f2; flex: none; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.other-input { margin-top: 10px; display: none; }
.other-input.show { display: block; }

.submit-row { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 12px; }
.form-msg { margin-top: 16px; font-size: 14px; min-height: 1.4em; }
.form-msg.error { color: var(--error); }

.done { display: none; }
.done.show { display: block; }

/* Shop */
.shop-embed { margin-top: 40px; min-height: 200px; }

/* Footer */
footer {
  padding: 26px 28px;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
