/* Goldfat Music — styles */
:root {
  --paper: #efe9df;
  --ink: #333132;
  --soft: #6e6862;
  --gold: #d4a33f;
  --gold-deep: #b8862a;
  --night: #0b0a09;
  --green: #1ed760;
  --rule: rgba(51, 49, 50, .22);
  --gutter: 16px;
  --wrap: 1120px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  opacity: .13; mix-blend-mode: multiply;
  background-image: 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='.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 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.crest { display: block; fill: currentColor; }

/* gold sleeve */
.wrap.top { padding-top: var(--gutter); }
.sleeve {
  background: var(--gold);
  color: var(--ink);
  position: relative;
  aspect-ratio: 5 / 4;
  max-height: 62vh;
  width: 100%;
  display: grid; place-items: center;
  overflow: hidden;
}
@media (min-width: 720px) { .sleeve { aspect-ratio: 20 / 9; } }
.sleeve small { position: absolute; bottom: 16px; font-size: 12px; letter-spacing: .02em; }
.sleeve .l { left: 18px; }
.sleeve .r { right: 18px; }
.spin { width: clamp(110px, 22vw, 210px); perspective: 800px; }
.spin svg.crest {
  width: 100%; height: auto; transform-origin: 50% 55%;
  animation: arrive 1.4s cubic-bezier(.2,.7,.2,1) both, wow 7s ease-in-out 1.4s infinite;
}
/* blurs in, then a slow warped-record wobble */
@keyframes arrive {
  from { opacity: 0; filter: blur(10px); transform: translateY(14px) rotate(-8deg) scale(.94); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes wow {
  0%, 100% { transform: rotate(0deg) rotateY(0deg); }
  25%      { transform: rotate(2.5deg) rotateY(10deg); }
  50%      { transform: rotate(0deg) rotateY(0deg) translateY(-4px); }
  75%      { transform: rotate(-2.5deg) rotateY(-10deg); }
}
@media (prefers-reduced-motion: reduce) { .spin svg.crest { animation: none; } }

/* sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--rule); }
h2 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.big { font-size: clamp(24px, 3.6vw, 36px); line-height: 1.22; letter-spacing: -.01em; max-width: 26ch; }
.cols { display: grid; gap: 28px; }
@media (min-width: 820px) { .cols { grid-template-columns: 1fr 2fr; gap: 48px; } }
.cols > * { min-width: 0; }
.go { display: inline-block; margin-top: 18px; font-size: 16px; }
.go.spotify { text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.go.spotify:hover { text-decoration-thickness: 5px; }

/* KOOL strip: same width as the gold block */
section.kool { padding: 0; border: 0; background: var(--night); color: var(--paper); margin-bottom: 56px; }
.kool img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: center 35%; background: #1a1612; }
@media (max-width: 719px) { .kool img { aspect-ratio: 3 / 2; object-position: center 40%; } }
.kool-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; padding: 18px; }
.kool-bar p { font-size: 15px; color: rgba(239, 233, 223, .72); }
.kool-bar b { color: var(--paper); }
.kool-bar a { color: var(--paper); }
section.kool + section { border-top: 0; padding-top: 0; }

/* merch */
.tees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
@media (min-width: 820px) { .tees { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.tee { text-decoration: none; display: block; }
.tee .img { aspect-ratio: 4 / 5; background: #e4ddd1; overflow: hidden; }
.tee .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tee p { margin-top: 10px; font-size: 14px; line-height: 1.35; }
.tee p span { color: var(--soft); }
.tee:hover p:first-of-type { text-decoration: underline; }

/* about */
.about-body { display: grid; gap: 24px; }
.about-body .big { max-width: none; }
.team { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* demos */
.demos .body { margin-top: 18px; max-width: 58ch; color: var(--soft); display: grid; gap: 14px; }

/* footer */
footer { border-top: 1px solid var(--ink); color: var(--ink); padding: 48px 0 28px; }
.foot-top { display: grid; gap: 36px; }
@media (min-width: 820px) { .foot-top { grid-template-columns: 1fr auto; align-items: end; } }
footer svg.crest { width: 44px; height: auto; color: var(--gold-deep); }
.signup-label { font-size: 15px; margin-bottom: 10px; }
footer .bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--soft);
}
footer .bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer .bottom a { color: var(--ink); text-decoration: none; }
footer .bottom a:hover { text-decoration: underline; }

/* Kit embed, restyled to match the page (the embed itself is untouched) */
footer .formkit-form[data-uid] { max-width: 420px; background: none; }
footer .formkit-form[data-uid] [data-style="clean"] { padding: 0 !important; }
footer .formkit-form[data-uid] .formkit-fields { display: flex; flex-wrap: nowrap; margin: 0 !important; border-bottom: 1px solid var(--ink); }
footer .formkit-form[data-uid] .formkit-field { flex: 1 1 auto; margin: 0 !important; min-width: 0; }
footer .formkit-form[data-uid] .formkit-input { color: var(--ink) !important; border-color: transparent !important; background: transparent; border: 0; border-radius: 0 !important; padding: 10px 0; font: 16px var(--sans); }
footer .formkit-form[data-uid] .formkit-input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
footer .formkit-form[data-uid] .formkit-input::placeholder { color: var(--soft); opacity: 1; }
footer .formkit-form[data-uid] .formkit-submit { color: var(--ink) !important; background-color: transparent !important; flex: 0 0 auto; margin: 0 !important; border-radius: 0 !important; font: 15px var(--sans); }
footer .formkit-form[data-uid] .formkit-submit > span { padding: 10px 0 10px 12px; }
footer .formkit-form[data-uid] .formkit-submit:hover > span,
footer .formkit-form[data-uid] .formkit-submit:focus > span { background: none; text-decoration: underline; }
footer .formkit-form[data-uid] .formkit-spinner > div { background-color: var(--ink); }
footer .formkit-form[data-uid] .formkit-alert { margin: 12px 0 0; text-align: left; border-radius: 0; font-size: 14px; }
footer .formkit-form[data-uid] .formkit-powered-by-convertkit-container { display: none !important; }
footer .formkit-form[data-uid] .formkit-powered-by-convertkit { margin: 0; opacity: .45; transform: scale(.8); transform-origin: left center; }

/* Latest show card (filled by /latest-show) */
.latest { display: flex; gap: 16px; align-items: center; padding: 0 18px 18px; color: var(--paper); text-decoration: none; }
.latest[hidden] { display: none; }
.latest img { width: 96px; height: 96px; aspect-ratio: 1; flex: none; object-fit: cover; }
.latest span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.latest small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(239, 233, 223, .6); }
.latest em { font-style: normal; font-size: 15px; color: rgba(239, 233, 223, .72); }
.latest:hover b { text-decoration: underline; }

/* Latest release (Bandcamp embed) */
.latest-release iframe { display: block; border: 0; width: 100%; height: 120px; }
