/* ---------- Tokens ---------- */
:root {
  --bg: #0f0d0b;
  --bg-alt: #17130f;
  --bg-panel: #1c1712;
  --ink: #f2ede4;
  --ink-dim: #b8ada0;
  --accent: #e8a33d;
  --accent-red: #c1443a;
  --line: #3a3129;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  border-bottom: 1px solid var(--line);
}

.logo-link { display: block; }
.logo-img {
  height: 110px;
  width: auto;
  display: block;
}

.site-nav { display: flex; gap: 32px; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ink-dim);
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--accent); }

.nav-icon {
  display: flex;
  align-items: center;
  color: var(--ink-dim);
  transition: color 0.2s;
}
.nav-icon:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding: 20vh 5vw 14vh;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

.hero > * {
  max-width: 1100px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 110px);
  line-height: 0.95;
  letter-spacing: 0.5px;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero h1 span { color: var(--accent); }

.hero-sub {
  max-width: 560px;
  color: var(--ink-dim);
  font-size: 19px;
  margin: 0 0 56px;
}

/* VU meter signature element */
.vu-meter {
  max-width: 560px;
}
.vu-track {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}
.vu-bar {
  flex: 1;
  background: var(--line);
  border-radius: 1px;
  animation: vu-pulse 2.4s ease-in-out infinite;
}
.vu-bar:nth-child(odd) { animation-duration: 1.9s; }
.vu-bar:nth-child(3n) { animation-duration: 2.7s; }
.vu-bar:nth-child(4n) { background: var(--accent); }
.vu-bar:nth-child(7n) { background: var(--accent-red); }
.vu-bar:nth-child(1) { animation-delay: 0.1s; }
.vu-bar:nth-child(2) { animation-delay: 0.3s; }
.vu-bar:nth-child(3) { animation-delay: 0.05s; }
.vu-bar:nth-child(4) { animation-delay: 0.4s; }
.vu-bar:nth-child(5) { animation-delay: 0.2s; }
.vu-bar:nth-child(6) { animation-delay: 0.6s; }
.vu-bar:nth-child(7) { animation-delay: 0.15s; }
.vu-bar:nth-child(8) { animation-delay: 0.5s; }
.vu-bar:nth-child(9) { animation-delay: 0.25s; }
.vu-bar:nth-child(10) { animation-delay: 0.35s; }
.vu-bar:nth-child(11) { animation-delay: 0.1s; }
.vu-bar:nth-child(12) { animation-delay: 0.45s; }
.vu-bar:nth-child(13) { animation-delay: 0.2s; }
.vu-bar:nth-child(14) { animation-delay: 0.55s; }
.vu-bar:nth-child(15) { animation-delay: 0.3s; }
.vu-bar:nth-child(16) { animation-delay: 0.15s; }
.vu-bar:nth-child(17) { animation-delay: 0.4s; }
.vu-bar:nth-child(18) { animation-delay: 0.25s; }
.vu-bar:nth-child(19) { animation-delay: 0.5s; }
.vu-bar:nth-child(20) { animation-delay: 0.1s; }

@keyframes vu-pulse {
  0%, 100% { height: 15%; }
  50% { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vu-bar { animation: none; height: 40%; }
}

/* ---------- Credits ticker ---------- */
.ticker-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 18px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink-dim);
  white-space: nowrap;
  padding: 0 5vw;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}

.ticker {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ticker-track {
  display: inline-flex;
  gap: 20px;
  white-space: nowrap;
  padding-left: 30px;
  animation: ticker-scroll 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--ink);
}

.ticker-track .dot { color: var(--accent); }

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

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Patch bay / services ---------- */
.patchbay {
  padding: 10vh 5vw;
  max-width: 900px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin: 0 0 32px;
}

.patch-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.patch-list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.5vw, 34px);
  text-transform: uppercase;
}
.patch-list li:last-child { border-bottom: 1px solid var(--line); }

.patch-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 1px;
  min-width: 60px;
}

/* ---------- About / gear teaser ---------- */
.about {
  padding: 4vh 5vw 12vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
}

.about-copy p {
  color: var(--ink-dim);
  font-size: 16px;
}

.text-link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  padding: 14vh 5vw;
  text-align: center;
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 90px);
  margin: 0 0 24px;
  text-transform: uppercase;
}

.cta-sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--ink-dim);
  font-style: italic;
}

.cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s;
}
.cta-button:hover { background: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 5vw 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.5px;
  text-align: center;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 16px;
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Inner page hero (Work/Equipment/Studio) ---------- */
.page-hero {
  padding: 14vh 5vw 6vh;
  max-width: 900px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.page-sub {
  max-width: 520px;
  color: var(--ink-dim);
  font-size: 18px;
  margin: 0;
}

/* ---------- Session log (Work page) ---------- */
.session-log {
  padding: 2vh 5vw 10vh;
  max-width: 1000px;
}

.session-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.session-entry:last-child { border-bottom: 1px solid var(--line); }

.session-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
}

.session-year {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 1px;
}

.session-role {
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.session-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.session-body p {
  color: var(--ink-dim);
  font-size: 16px;
  max-width: 640px;
  margin: 0;
}

@media (max-width: 640px) {
  .session-entry { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Music & Media tag list (Work page) ---------- */
.music-media {
  padding: 4vh 5vw 10vh;
  max-width: 1000px;
}

.tag-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.tag-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 15px;
}
.tag-list li:last-child { border-bottom: 1px solid var(--line); }

.tag-artist { color: var(--ink); }
.tag-project { color: var(--ink-dim); text-align: right; }

.press-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.5px;
}
.press-note strong { color: var(--accent); }

/* ---------- Spec sheet (Equipment page) ---------- */
.specsheet {
  padding: 2vh 5vw 10vh;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.spec-group:first-child { grid-row: span 2; }

.spec-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spec-list li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-alt);
}

@media (max-width: 760px) {
  .specsheet { grid-template-columns: 1fr; }
  .spec-group:first-child { grid-row: auto; }
}

/* ---------- Studio page ---------- */
.studio-photo {
  padding: 0 5vw;
  max-width: 1200px;
  margin: 0 auto 8vh;
}
.studio-photo img {
  width: 100%;
  border-radius: 2px;
}

.console-detail {
  padding: 2vh 5vw 8vh;
  max-width: 900px;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.console-photo img {
  width: 100%;
  border-radius: 2px;
  margin-bottom: 8px;
}

.photo-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.5px;
  margin: 0;
}

.console-copy {
  color: var(--ink-dim);
  font-size: 16px;
  max-width: 700px;
  margin: 0 0 20px;
}

@media (max-width: 640px) {
  .console-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  padding: 14vh 5vw;
  text-align: center;
}

.contact-methods {
  max-width: 700px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-method {
  background: var(--bg-panel);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}

a.contact-method:hover { background: var(--bg-alt); }

.contact-method--primary .contact-value { color: var(--accent); }

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--ink-dim);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  word-break: break-word;
}

@media (max-width: 640px) {
  .contact-methods { grid-template-columns: 1fr; }
}

/* ---------- Photo band (full-width atmospheric image) ---------- */
.photo-band {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- About section photo ---------- */
.about-photo {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}
.about-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 2px;
}

/* ---------- Spec sheet inline photos ---------- */
.spec-photo {
  width: 100%;
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ---------- Equipment page decorative mic background ---------- */
.equipment-main {
  position: relative;
  overflow: hidden;
}

.mic-bg-decor {
  position: absolute;
  top: 20vh;
  right: 4vw;
  height: 78vh;
  width: auto;
  opacity: 0.16;
  filter: grayscale(20%);
  pointer-events: none;
  z-index: 0;
}

.equipment-main > section {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .mic-bg-decor { display: none; }
}

.contact--standalone {
  padding-top: 4vh;
  border-top: none;
}

/* ---------- Mobile nav tweaks ---------- */
@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-nav { gap: 20px; flex-wrap: wrap; }
  .hero { padding-top: 10vh; }
}
