/* =========================================================
   René De La Muerte — Remote Mixing & Mastering
   Design system + global styles

   Sections in this file:
     1.  Tokens          9.  Remote steps
     2.  Reset + base    10. Chips (any audio)
     3.  Layout helpers  11. Rates / Stripe
     4.  Header / nav    12. Contact
     5.  Buttons         13. Footer
     6.  Hero            14. Reveal
     7.  Ticker          15. Responsive
     8.  Logo wall
   ========================================================= */


/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  /* Palette — punk rock zombie / Night of the Living Dead */
  --bg:          #07060a;
  --bg-elev:     #0d0b10;
  --bg-card:     #121016;
  --line:        #241a20;
  --line-soft:   #17131a;
  --text:        #f1e9d4;
  --text-dim:    #a2968c;
  --text-mute:   #6b5f59;
  --accent:      #d4001a;
  --accent-soft: #ff2e44;
  --toxic:       #2ee85e;

  /* Type */
  --font-display: "Anton", "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
  --font-label:   "Special Elite", "Courier New", monospace;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw:   1240px;
  --gutter: clamp(1.5rem, 5vw, 3.5rem);
  --radius: 2px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 68px;
}


/* =========================================================
   2. RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-soft); }

button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--toxic); outline-offset: 3px; }

/* Film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }


/* =========================================================
   3. LAYOUT HELPERS
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section        { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section--band {
  background: var(--bg-elev);
  border-block: 1px solid var(--line-soft);
}

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }

h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .01em;
}
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }

h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-dim);
  margin: 1rem 0 0;
}

p { margin: 1rem 0 0; color: var(--text-dim); }

.accent { color: var(--accent); }
.toxic  { color: var(--toxic); }

.arrow { display: inline-block; transition: transform .2s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }


/* =========================================================
   4. HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 6, 10, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 6, 10, .94);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.05rem;
}
.brand:hover { color: var(--text); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: .95rem;
  line-height: 1;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-dim);
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: .4rem;
  border-radius: var(--radius);
}


/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--toxic); border-color: var(--toxic); }

.btn--sm   { padding: .6rem 1.05rem; font-size: .72rem; }
.btn--full { width: 100%; }


/* =========================================================
   6. HERO — poster composition
   Three stacked bands: name bar / photo / tagline bar.
   Nothing sits on top of the photo — he is the main event.
   ========================================================= */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  background: #000;
}

.hero-bar {
  background: #000;
  text-align: center;
  padding: clamp(1.1rem, 2.6vw, 2rem) clamp(1rem, 3vw, 2.5rem);
}

/* --- Name bar: the wordmark, spanning the full width of the poster --- */
.hero-name {
  margin: 0;
  /* Sized in vw so the name fills the bar edge to edge, like the reference */
  font-size: clamp(1.6rem, 8.2vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.005em;
  white-space: nowrap;
}

/* --- The photo: clean, no overlay, no scrim --- */
.hero-img { display: block; width: 100%; }
.hero-img img {
  width: 100%;
  height: clamp(340px, 60vh, 620px);
  object-fit: cover;
  /* He's at the top-right of the frame — a low Y% keeps his head in shot.
     Raising this number crops downward and cuts his face off. */
  object-position: center 12%;
}

/* --- Tagline bar --- */
.hero-pitch {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.05rem, 3.1vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--text);
}

.hero-sub {
  margin: .7rem 0 0;
  font-family: var(--font-label);
  font-size: clamp(.62rem, 1.25vw, .82rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.6;
}


/* =========================================================
   7. TICKER
   ========================================================= */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
  padding: .85rem 0;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  font-family: var(--font-label);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.ticker-track b { color: var(--accent); padding: 0 .85em; font-weight: 400; }
.ticker-track b.toxic { color: var(--toxic); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* =========================================================
   8. LOGO WALL
   Official band logos on black, hairline grid. No text —
   the cell falls back to a wordmark only when the logo file
   is missing (JS adds .no-logo).
   ========================================================= */
.wall-label {
  margin: 0 0 1.5rem;
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
}

/* 4 columns × 7 rows = 28 cells, exactly the number of credits — so the
   wall never ends on a half-empty row. Mobile drops to 2 (= 14 rows),
   also exact. If you add or remove bands, keep the count a multiple of
   4 and 2 (28, 32, 36…) or the last row will show gaps. */
.logo-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* minmax(0,1fr), not 1fr: a plain 1fr keeps a min-content floor, and a long
     wordmark ("Campfire Shitkickers") then pushes the last column past the
     container and scrolls the page sideways. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.logo {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  /* Height only — do NOT add aspect-ratio here. Combined with min-height it
     inverts the sizing direction (width gets computed from height), so each
     cell blows past its grid track and scrolls the page sideways. Grid already
     equalises heights across a row. */
  min-height: 148px;
  /* Safety net: a logo can never bleed into the next section */
  overflow: hidden;
  transition: background .3s var(--ease);
}
.logo:hover { background: #0f0d12; }

/* The cap that matters: every logo gets the SAME optical box, so a
   square logo and a wide wordmark carry equal weight on the wall.
   Without the max-height, tall logos scale to full cell width and
   overflow the row. */
.logo img {
  max-width: 74%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Rest: desaturated and knocked back. Hover: full colour, full strength.
     The drop has to be deep enough that the change reads on the monochrome
     logos too, not just the handful that have colour to reveal. */
  opacity: .5;
  filter: grayscale(1) contrast(1.08);
  transition: opacity .35s var(--ease), filter .35s var(--ease);
}
.logo:hover img {
  opacity: 1;
  filter: grayscale(0) contrast(1);
}

/* Wordmark fallback — only shown when the logo file is missing.
   Sized to sit at the same optical weight as a real logo. */
.logo-word {
  display: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  line-height: 1.12;
  letter-spacing: .03em;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--text-dim);
  transition: color .3s var(--ease);
}
.logo.no-logo img   { display: none; }
.logo.no-logo .logo-word { display: block; }
.logo.no-logo:hover .logo-word { color: var(--text); }


/* =========================================================
   9. REMOTE STEPS
   ========================================================= */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  padding: 1.75rem 1.5rem;
}
.step:nth-child(2) { border-top-color: var(--toxic); }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--text-mute);
  margin-bottom: .65rem;
}
.step h3 { font-size: 1.25rem; color: var(--text); }
.step p  { font-size: .95rem; margin-top: .5rem; }


/* =========================================================
   10. CHIPS — any audio
   ========================================================= */
.any { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.any-line {
  margin: 0 0 1rem;
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--toxic);
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.chips li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .5rem 1rem;
  font-size: .88rem;
  color: var(--text-dim);
  background: var(--bg-card);
}
.chips li:last-child { border-color: var(--accent); color: var(--text); }


/* =========================================================
   11. RATES / STRIPE
   ========================================================= */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.rate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.rate-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.rate-card--feature { border-color: var(--accent); }

.rate-flag {
  position: absolute;
  top: -1px;
  right: 1.25rem;
  font-family: var(--font-label);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: .3rem .65rem;
}

.rate-card h3 { font-size: 1.4rem; color: var(--text); }

.price {
  margin: 1rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--text);
  flex-grow: 1;
}
.price-cur  { font-size: 1.15rem; vertical-align: super; color: var(--text-mute); margin-right: .1em; }
.price-code {
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--text-mute);
  margin-left: .35rem;
  vertical-align: super;
}
.price-unit {
  display: block;
  font-family: var(--font-label);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: .4rem;
}

/* Shown when a service has no price set — reads as a deliberate
   "ask me", not as a broken number. */
.price--quote {
  font-family: var(--font-label);
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}


/* =========================================================
   12. CONTACT
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list .label {
  display: block;
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .2rem;
}
.contact-list .value { color: var(--text); font-size: .98rem; }
.contact-list a.value { color: var(--accent); }
.contact-list a.value:hover { color: var(--accent-soft); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-label);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: .8rem .9rem;
  transition: border-color .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); }

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.form-actions .note { margin: 0; font-size: .82rem; color: var(--text-mute); }

.form-status {
  display: none;
  margin-top: 1.15rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .92rem;
  border: 1px solid;
}
.form-status.is-visible { display: block; }
.form-status.success { border-color: var(--toxic);  color: var(--toxic);       background: rgba(46,232,94,.07); }
.form-status.error   { border-color: var(--accent); color: var(--accent-soft); background: rgba(212,0,26,.08); }


/* =========================================================
   13. FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--bg);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-grid p { margin: 0; font-size: .84rem; color: var(--text-mute); }

.footer-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-mute);
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--text); }


/* =========================================================
   14. REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  * { transition-duration: .01ms !important; }
}


/* =========================================================
   15. RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
  .rate-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Tablets --- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7,6,10,.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 1rem; }
  .nav-links a { display: block; padding: .95rem 0; font-size: .85rem; }
  .nav-links a.btn { justify-content: center; padding: .85rem 1rem; }

  .contact-wrap { grid-template-columns: 1fr; }
  .steps        { grid-template-columns: 1fr; gap: 1rem; }
}

/* --- Phones --- */
@media (max-width: 760px) {
  body { font-size: 16px; }

  /* The name breaks to two lines on phones — one line would be unreadably small */
  .hero-name { white-space: normal; font-size: clamp(2rem, 12vw, 3.4rem); }
  .hero-img img { height: clamp(340px, 56vh, 520px); object-position: center 30%; }

  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo { padding: 1rem .85rem; min-height: 104px; }
  .logo img { max-height: 54px; max-width: 80%; }

  .rate-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .form-actions .note { text-align: center; }

  .footer-grid { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 1rem; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
}

/* --- Touch: no hover lift --- */
@media (hover: none) {
  .btn:hover,
  .rate-card:hover { transform: none; }

  /* There's no hover on touch, so never leave the logos stuck in the
     desaturated rest state — show them the way they actually look. */
  .logo img { opacity: 1; filter: none; }
  .logo-word { color: var(--text); }
}
