/* Homepage-only pieces: the hero, the struck headline, and the snare pads.
 * Everything else the homepage uses lives in site.css.
 */

.hero {
  min-height: calc(88vh - 75px);
  padding: clamp(40px, 6vh, 72px) var(--pad-x);
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
}
.hero-inner {
  max-width: 1280px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(44px, 6vh, 72px);
}
.hero-copy {
  max-width: 720px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-kicker {
  font-weight: 700; font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 2.5px solid var(--ink); padding-bottom: 8px;
  margin: 0; color: var(--ink);
}
.hero h1 {
  font-weight: 800; font-size: clamp(38px, 4.2vw, 48px);
  line-height: 1.08; letter-spacing: -0.025em;
  margin: 16px 0 0; padding-top: 0.72em; text-wrap: pretty;
}
.strike { position: relative; display: inline-block; }
.strike svg {
  position: absolute; left: -4%; top: 50%;
  width: 108%; height: 0.28em; margin-top: -0.14em;
  pointer-events: none;
}
.strike-note {
  position: absolute; left: 4%; bottom: 96%;
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 0.85em; line-height: 1; letter-spacing: 0.01em;
  color: var(--red); transform: rotate(-4deg); white-space: nowrap;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65;
  max-width: 44em; margin: 24px 0 0; text-wrap: pretty;
}
.hero-media { width: 100%; max-width: 860px; display: flex; justify-content: center; }
.video-card {
  width: min(832px, 100%); aspect-ratio: 4 / 3;
  border: 1px solid var(--card-border); border-radius: 10px;
  box-sizing: border-box; overflow: hidden;
  box-shadow: 0 2px 8px rgba(20,20,20,0.05);
  position: relative; background: #FFFFFF;
}
.video-card video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.sound-toggle {
  position: absolute; right: 14px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(20,20,20,0.55); color: #FFFFFF; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background 0.2s ease;
}
.sound-toggle:hover { background: rgba(20,20,20,0.8); }
.sound-toggle svg { display: block; }
.hero-foot {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 22px;
}
.hero-note { font-size: clamp(16px, 1.5vw, 18px); font-style: italic; color: var(--muted); }

/* Homepage section rhythm is roomier than interior pages. */
.home .section { padding: clamp(90px, 14vh, 160px) var(--pad-x); }
.home .section:first-of-type { border-top: none; }
.home .prose p {
  font-size: clamp(17px, 1.7vw, 19px); line-height: 1.75;
  margin: 0 0 20px; color: var(--ink);
}

/* ── Drum pads ───────────────────────────────────────── */
.pad-card {
  margin-top: clamp(40px, 6vh, 60px);
  background: #FFFFFF; border: 1px solid var(--card-border);
  border-radius: 14px; box-shadow: 0 2px 12px rgba(20,20,20,0.06);
  display: grid; grid-template-columns: 1fr; overflow: hidden;
}
.drumpad {
  background: transparent; border: none;
  border-top: 1px solid rgba(20,20,20,0.1);
  padding: 34px 20px 28px;
  font-family: inherit; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cline x1='6.5' y1='6.5' x2='26' y2='26' stroke='%23141414' stroke-width='4.5' stroke-linecap='round'/%3E%3Ccircle cx='5.5' cy='5.5' r='4' fill='%23141414'/%3E%3C/svg%3E") 5 5, pointer;
}
.drumpad:first-child { border-top: none; }
.drumpad:hover { background: rgba(20,20,20,0.025); }
.drumpad:active { transform: scale(0.98); }
@media (min-width: 760px) {
  .pad-card { grid-template-columns: repeat(3, 1fr); }
  .drumpad { border-top: none; border-left: 1px solid rgba(20,20,20,0.1); }
  .drumpad:first-child { border-left: none; }
}
/* At 11px this is small text under WCAG regardless of weight, so it needs the
 * full 4.5:1. The previous 0.45 alpha measured 2.99:1 on the white pad card. */
.pad-label {
  font-weight: 700; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.pad-drum {
  width: 124px; height: 124px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pad-drum > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pad-ripple {
  position: absolute; inset: 6px; border-radius: 50%;
  border: 2.5px solid transparent;
  background: linear-gradient(135deg, var(--amber), var(--red)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; pointer-events: none;
}
.pad-dot { border-radius: 50%; background: var(--ink); display: block; position: relative; }
.pad-dot.ghost { width: 12px; height: 12px; background: rgba(20,20,20,0.45); }
.pad-dot.normal { width: 20px; height: 20px; }
.pad-dot.accent { width: 28px; height: 28px; }
.pad-wave { width: 44px; height: 24px; display: block; }
.pad-name { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.pad-name b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.pad-name span { font-size: 13px; color: var(--muted); }
.pad-bar-row { margin-top: 20px; display: flex; justify-content: center; }
.pad-bar {
  font-family: inherit; font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  padding: 9px 20px; cursor: pointer;
}
.pad-bar:hover { background: var(--ink); color: var(--bg); }
