/* Jesse Heslinga Music: brand tokens from the brand sheet (Nov 2026) */
:root {
  --ink: #181D25;
  --paper: #F8F6F5;
  --sand: #ECE6E2;
  --ember: #F76831;
  --rust: #9F413B;
  --plum: #531F43;
  --ink-soft: #4a4f58;
  --line: rgba(24, 29, 37, 0.14);
  --line-light: rgba(248, 246, 245, 0.22);
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.display {
  font-family: var(--display);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
.h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.h3 { font-size: 1.35rem; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.25; margin: 0 0 .4em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 38em; }
.label {
  font-family: var(--body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--plum);
}
.on-dark .label { color: #f9a27f; }
.muted { color: var(--ink-soft); }
.on-dark { color: var(--paper); }
.on-dark .muted { color: rgba(248,246,245,.74); }

/* Surfaces */
.band { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.band--sand { background: var(--sand); }
.band--ink { background: var(--ink) url("grad-ink.jpg") center / cover; }
.band--plum { background: var(--plum) url("grad-plum.jpg") center / cover; }
.band--ember { background: var(--ember) url("grad-ember.jpg") center / cover; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .16; mix-blend-mode: overlay;
}
.band > * { position: relative; z-index: 1; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; letter-spacing: .02em; }
.brand svg { width: 40px; height: auto; }
.site-header--light { position: sticky; background: rgba(248,246,245,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 14px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 500 .8rem/1 var(--body); letter-spacing: 2px; text-transform: uppercase;
  padding: 1em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ember); color: var(--ink); text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #ff7a45; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(247,104,49,.12); }
.btn--small { padding: .7em 1.1em; font-size: .88rem; }
.btn[hidden] { display: none; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); margin-top: -2px; }
input[type=text], input[type=email], select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: .8em .9em;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(247,104,49,.22); }
.on-dark input[type=text], .on-dark input[type=email] { background: rgba(248,246,245,.96); border-color: transparent; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices legend { margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .55em 1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: .92rem; font-weight: 500;
}
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(248,246,245,.7); padding: 36px 0; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--paper); }
