/*
Theme Name: Eastbrook Studios
Theme URI: https://eastbrook.uk
Author: Eastbrook Studios
Author URI: https://eastbrook.uk
Description: Industrial Luxury WordPress theme for Eastbrook Recording Studios. Minimal, editorial, high-trust design with controlled red/yellow brand accents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eastbrook
Tags: recording-studio, music, audio, custom-logo, custom-menu, featured-images, full-width-template, theme-options

Industrial Luxury Design System
-------------------------------
Brutalist, confident minimalism with controlled brand accents.
Clean whites / concrete tones with black contrast.
Red = primary accent, Yellow = secondary accent.
*/

/* ============================================
   CSS VARIABLES - Design Tokens
   ============================================ */
:root {
  /* Core palette - Industrial Luxury */
  --background: hsl(30, 10%, 98%);
  --foreground: hsl(0, 0%, 8%);
  
  --card: hsl(30, 8%, 96%);
  --card-foreground: hsl(0, 0%, 8%);
  
  --secondary: hsl(30, 6%, 92%);
  --secondary-foreground: hsl(0, 0%, 15%);
  
  --muted: hsl(30, 6%, 90%);
  --muted-foreground: hsl(0, 0%, 40%);
  
  --accent: hsl(30, 8%, 88%);
  --accent-foreground: hsl(0, 0%, 8%);
  
  --border: hsl(30, 8%, 88%);
  --input: hsl(30, 8%, 88%);
  
  /* Custom tokens */
  --concrete: hsl(30, 6%, 94%);
  --concrete-dark: hsl(30, 4%, 82%);
  --charcoal: hsl(0, 0%, 12%);
  --warm-white: hsl(30, 10%, 98%);
  --steel: hsl(220, 8%, 46%);
  
  /* Brand accent colours */
  --accent-primary: hsl(0, 72%, 50%);
  --accent-secondary: hsl(45, 95%, 55%);
  --accent-primary-foreground: hsl(0, 0%, 100%);
  --accent-secondary-foreground: hsl(0, 0%, 8%);
  
  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing scale */
  --space-section: 8rem;
  --space-element: 2rem;
  
  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border radius */
  --radius: 0px;
}

/* ============================================
   BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-feature-settings: "kern" 1, "liga" 1;
  font-size: 1rem;
  line-height: 1.7;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

/* Focus states */
:focus-visible {
  outline: 1px solid var(--foreground);
  outline-offset: 2px;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container-editorial {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-editorial {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .container-editorial {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.py-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

/* ============================================
   TYPOGRAPHY - Improved Readability
   ============================================ */
.text-hero {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .text-hero {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .text-hero {
    font-size: 4rem;
  }
}

@media (min-width: 1280px) {
  .text-hero {
    font-size: 4.75rem;
  }
}

.text-subhero {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .text-subhero {
    font-size: 1.625rem;
  }
}

@media (min-width: 1024px) {
  .text-subhero {
    font-size: 2rem;
  }
}

.text-section {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .text-section {
    font-size: 0.875rem;
  }
}

.text-editorial {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .text-editorial {
    font-size: 1.1875rem;
  }
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

@media (min-width: 768px) {
  .grid-editorial {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-editorial {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   COMPONENTS - Cards
   ============================================ */
.card-editorial {
  position: relative;
  overflow: hidden;
  display: block;
  background-color: var(--secondary);
  transition: all 0.5s var(--transition-smooth);
}

.card-editorial:hover {
  background-color: var(--muted);
}

.card-content {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .card-content {
    padding: 2rem;
  }
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.card-excerpt {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* ============================================
   COMPONENTS - Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  height: 3.5rem;
  background-color: var(--foreground);
  color: var(--background);
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--charcoal);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  height: 3.5rem;
  background-color: transparent;
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--foreground);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background-color: var(--foreground);
  color: var(--background);
}

/* Accent buttons */
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  background-color: transparent;
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--foreground);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-accent:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-accent-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  background-color: transparent;
  color: var(--foreground);
  opacity: 0.8;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--foreground);
  border-opacity: 0.5;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-accent-secondary:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

/* ============================================
   COMPONENTS - Links
   ============================================ */
.link-editorial {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.link-editorial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--foreground);
  transition: width var(--transition-fast);
}

.link-editorial:hover::after {
  width: 100%;
}

.link-accent {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.link-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-primary);
  transition: width var(--transition-fast);
}

.link-accent:hover::after {
  width: 100%;
}

.link-accent-secondary {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.link-accent-secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-secondary);
  transition: width var(--transition-fast);
}

.link-accent-secondary:hover::after {
  width: 100%;
}

/* ============================================
   COMPONENTS - Underlines
   ============================================ */
.underline-accent {
  position: relative;
  display: inline-block;
}

.underline-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background-color: var(--accent-primary);
}

.underline-accent-secondary {
  position: relative;
  display: inline-block;
}

.underline-accent-secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background-color: var(--accent-secondary);
}

/* ============================================
   COMPONENTS - Tags
   ============================================ */
.tag-accent {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
}

.tag-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
}

/* ============================================
   COMPONENTS - Dividers
   ============================================ */
.line-editorial {
  width: 100%;
  height: 1px;
  background-color: var(--border);
}

.divider-accent-secondary {
  width: 4rem;
  height: 1px;
  background-color: var(--accent-secondary);
}

/* ============================================
   COMPONENTS - Image Effects
   ============================================ */
.image-reveal {
  position: relative;
  overflow: hidden;
  background-color: var(--muted);
}

.image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.image-reveal:hover img {
  transform: scale(1.05);
}

/* ============================================
   COMPONENTS - Forms
   ============================================ */
.form-input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  background-color: transparent;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-secondary);
}

.form-textarea {
  width: 100%;
  padding: 1rem;
  background-color: transparent;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-select {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-secondary);
}

/* ============================================
   COMPONENTS - Accordion
   ============================================ */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.accordion-trigger:hover {
  color: var(--accent-primary);
}

.accordion-trigger svg {
  transition: transform var(--transition-fast);
}

.accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-content {
  padding-bottom: 1.5rem;
  color: var(--muted-foreground);
}

/* ============================================
   LAYOUT - Header (Non-sticky - scrolls with page)
   ============================================ */
.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

/* No sticky/fixed behavior - header scrolls away naturally */

/* Obsidian Flow style header sizing - refined and minimal */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    height: 5rem;
  }
}

/* Logo Container - locked top-left, stable position */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Text fallback styling */
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-logo-text {
    font-size: 1.25rem;
  }
}

/* Logo Image Constraints - ensures high-res source displays crisp at intended size */
/* Supports both SVG (perfect at any size) and PNG (high-res fallback) */

/* Header logo link wrapper */
.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

/* Header logo image - Obsidian Flow style: refined, contained */
/* Mobile: 40px, Tablet: 48px, Desktop: 56px max-height */
.site-logo .custom-logo-link img,
.site-logo .custom-logo,
.site-logo img {
  display: block;
  height: auto !important;
  width: auto !important;
  max-height: var(--header-logo-height-mobile, 40px);
  max-width: 160px;
  object-fit: contain;
  /* Prevent blur from transforms or scaling */
  transform: none !important;
  /* Crisp rendering for high-res assets */
  image-rendering: auto;
  /* Ensure no overflow */
  overflow: visible;
}

/* Tablet header logo */
@media (min-width: 768px) {
  .site-logo .custom-logo-link img,
  .site-logo .custom-logo,
  .site-logo img {
    max-height: var(--header-logo-height-tablet, 48px);
    max-width: 200px;
  }
}

/* Desktop header logo - Obsidian Flow refined presence */
@media (min-width: 1024px) {
  .site-logo .custom-logo-link img,
  .site-logo .custom-logo,
  .site-logo img {
    max-height: var(--header-logo-height-desktop, 56px);
    max-width: 240px;
  }
}

/* Footer logo - matches header sizing */
.footer-brand .site-logo .custom-logo-link img,
.footer-brand .site-logo .custom-logo,
.footer-brand .site-logo img {
  max-height: 56px;
  max-width: 220px;
}

@media (min-width: 768px) {
  .footer-brand .site-logo .custom-logo-link img,
  .footer-brand .site-logo .custom-logo,
  .footer-brand .site-logo img {
    max-height: 64px;
    max-width: 280px;
  }
}

@media (min-width: 1024px) {
  .footer-brand .site-logo .custom-logo-link img,
  .footer-brand .site-logo .custom-logo,
  .footer-brand .site-logo img {
    max-height: 72px;
    max-width: 320px;
  }
}

/* ============================================
   LAYOUT - Navigation (NO DOTS/SEPARATORS)
   ============================================ */
.main-nav {
  display: none;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.main-nav,
.main-nav ul,
.main-nav li {
  list-style: none !important;
  list-style-type: none !important;
}

.main-nav li::before,
.main-nav li::after,
.main-nav li::marker {
  content: none !important;
  display: none !important;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.main-nav li {
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--foreground);
}

/* Mobile menu button */
.menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background-color: var(--background);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.mobile-nav,
.mobile-nav ul,
.mobile-nav li {
  list-style: none !important;
  list-style-type: none !important;
}

.mobile-nav li::before,
.mobile-nav li::after,
.mobile-nav li::marker {
  content: none !important;
  display: none !important;
}

.mobile-nav li {
  margin-bottom: 1.5rem;
  padding: 0;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

@media (min-width: 768px) {
  .mobile-nav a {
    font-size: 2rem;
  }
}

.mobile-nav a:hover,
.mobile-nav a.current {
  color: var(--foreground);
}

/* ============================================
   LAYOUT - Footer
   ============================================ */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  z-index: 1;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 6rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Footer grid without navigation - 2 columns */
.footer-grid-no-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid-no-nav {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.footer-nav,
.footer-nav ul,
.footer-nav li {
  list-style: none !important;
  list-style-type: none !important;
}

.footer-nav li::before,
.footer-nav li::after,
.footer-nav li::marker {
  content: none !important;
  display: none !important;
}

.footer-nav li {
  margin-bottom: 0.5rem;
  padding: 0;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--muted-foreground);
}

/* Footer Social Icons - FIXED */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 10;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 11;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
  background: transparent;
  border: none;
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--accent-primary);
  cursor: pointer !important;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a,
.footer-legal button {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: color var(--transition-fast);
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--foreground);
}

/* ============================================
   PAGE - Hero
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img,
.hero-background .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Video Styling */
.hero-background .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback image for prefers-reduced-motion */
.hero-image-fallback {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-background .hero-video {
    display: none;
  }
  
  .hero-image-fallback {
    display: block;
  }
}

.hero-background::after,
.hero-gradient {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding-bottom: 6rem;
  }
}

.hero-subline {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-subline {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ============================================
   PAGE - Section Headers
   ============================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

/* ============================================
   PAGE - Services Grid (Homepage) - FIXED FOR MOBILE
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--border);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.services-grid .service-item {
  display: flex;
  align-items: center;
  padding: 1.25rem 1rem;
  background-color: var(--secondary);
  border: none;
  transition: background-color var(--transition-fast);
  min-height: 4rem;
}

@media (min-width: 768px) {
  .services-grid .service-item {
    padding: 2rem 2.5rem;
    min-height: auto;
  }
}

.services-grid .service-item:hover,
.services-grid .service-item:focus-visible {
  background-color: var(--background);
}

.services-grid .service-item span {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  line-height: 1.3;
  transition: text-decoration var(--transition-fast);
}

@media (min-width: 768px) {
  .services-grid .service-item span {
    font-size: 1rem;
  }
}

.services-grid .service-item:hover span {
  text-decoration: underline;
  text-decoration-color: var(--accent-primary);
  text-underline-offset: 4px;
}

/* ============================================
   HOMEPAGE - Online Mixing/Mastering Cards
   ============================================ */
.online-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .online-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.online-service-card {
  display: block;
  padding: 2rem 2.5rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  transition: border-color var(--transition-fast);
}

.online-service-card:hover,
.online-service-card:focus-visible {
  border-color: hsl(0, 0%, 50%);
}

.online-service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  transition: text-decoration var(--transition-fast);
}

.online-service-card:hover h3,
.online-service-card:focus-visible h3 {
  text-decoration: underline;
  text-decoration-color: var(--accent-primary);
  text-underline-offset: 4px;
}

.online-service-card p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.online-service-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.online-service-card:hover .online-service-cta,
.online-service-card:focus-visible .online-service-cta {
  color: var(--foreground);
}

/* ============================================
   HOMEPAGE - Analogue Processing Section
   ============================================ */
.analogue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .analogue-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.analogue-content {
  max-width: 40rem;
}

.analogue-text {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.analogue-secondary {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.analogue-cta {
  margin-top: 2rem;
  display: inline-flex;
}

/* Mobile divider line after CTA on mobile/tablet */
.analogue-mobile-divider {
  display: block;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 100%;
}

@media (min-width: 1024px) {
  .analogue-mobile-divider {
    display: none;
  }
}

.signal-chain-title {
  font-size: 0.75rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

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

.signal-chain-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.signal-chain-number {
  font-size: 0.75rem;
  font-family: var(--font-display);
  color: var(--muted-foreground);
  width: 1.5rem;
}

.signal-chain-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
}

/* ============================================
   ONLINE SERVICES - Mobile CTA (matches React)
   ============================================ */
.online-services-mobile-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .online-services-mobile-cta {
    display: none;
  }
}

/* Hidden on mobile utility */
.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: flex;
  }
}

/* ============================================
   PAGE - Services Archive
   ============================================ */
.service-item {
  display: block;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .service-item {
    padding: 3rem 0;
  }
}

.service-item:hover .service-title {
  color: var(--accent-primary);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

@media (min-width: 768px) {
  .service-title {
    font-size: 2rem;
  }
}

/* ============================================
   PAGE - Studios Archive
   ============================================ */
.studio-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background-color: var(--secondary);
  transition: background-color var(--transition-smooth);
}

/* Desktop: image + grey text box side by side */
@media (min-width: 1024px) {
  .studio-card {
    grid-template-columns: 1fr 1fr;
  }
}

.studio-card:hover {
  background-color: var(--muted);
}

.studio-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.studio-card-image {
  position: relative;
  z-index: 2;
}

.studio-card-image .image-reveal {
  aspect-ratio: 4/3;
}

@media (min-width: 1024px) {
  .studio-card-image .image-reveal {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* Grey text box - below image on mobile/tablet, beside on desktop */
.studio-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--secondary);
}

@media (min-width: 768px) {
  .studio-content {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .studio-content {
    padding: 3rem;
  }
}

.studio-specs {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.studio-spec {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
}

.studio-card-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.studio-private-access-link {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.studio-private-access-link:hover {
  color: var(--accent-secondary);
}

/* ============================================
   PAGE - Credits Section (Dark) - FIXED FOR MOBILE
   ============================================ */
.credits-section {
  background-color: var(--foreground);
  color: var(--background);
}

.credits-section .container-editorial {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .credits-section .container-editorial {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .credits-section .container-editorial {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .credits-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .credits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.credit-item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem 0;
}

@media (min-width: 768px) {
  .credit-item {
    padding: 1.5rem 0;
  }
}

.credit-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--background);
}

@media (min-width: 768px) {
  .credit-title {
    font-size: 1.125rem;
  }
}

.credit-artist {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .credit-artist {
    font-size: 0.9375rem;
  }
}

.credit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .credit-meta {
    font-size: 0.75rem;
    gap: 1rem;
  }
}

/* ============================================
   PAGE - Studio Detail (Single)
   ============================================ */
.studio-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.studio-back-link:hover {
  color: var(--foreground);
}

/* Studio Gallery - FIXED: Main image + thumbnail strip only */
.studio-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.studio-gallery-main {
  width: 100%;
}

.studio-gallery-main .image-reveal {
  aspect-ratio: 16/9;
  width: 100%;
}

.studio-gallery-main .image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thumbnail strip - horizontal scrollable, consistent sizing */
.studio-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.studio-thumb {
  flex: 0 0 auto;
  width: 5rem;
  height: 3.5rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  overflow: hidden;
}

.studio-thumb:hover {
  opacity: 0.8;
}

.studio-thumb.is-active {
  opacity: 1;
  outline: 2px solid var(--foreground);
  outline-offset: 0;
}

.studio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Studio Detail Grid - Matches React StudioDetail layout */
.studio-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .studio-detail-grid {
    grid-template-columns: 1fr 380px;
    gap: 4rem;
  }
}

.studio-detail-content {
  order: 2;
}

@media (min-width: 1024px) {
  .studio-detail-content {
    order: 1;
  }
}

.studio-detail-sidebar {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .studio-detail-sidebar {
    order: 2;
    position: sticky;
    top: 7rem;
    height: fit-content;
  }
}

/* Book This Studio Button - Matches React */
.studio-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--foreground);
  background-color: transparent;
  color: var(--foreground);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.studio-book-btn:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.studio-sidebar-section {
  padding-top: 0;
}

.studio-info-box {
  padding: 1.5rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
}

.studio-independent-use {
  padding: 1.5rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
}

.studio-private-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--foreground);
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent-secondary);
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.studio-private-link:hover {
  opacity: 1;
  color: var(--accent-secondary);
}

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

.studio-spec-list li {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.studio-spec-list li:last-child {
  border-bottom: none;
}

.other-studios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

@media (min-width: 768px) {
  .other-studios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.other-studio-card {
  display: block;
  padding: 1.5rem;
  background-color: var(--secondary);
  transition: background-color var(--transition-smooth);
}

.other-studio-card:hover {
  background-color: var(--muted);
}

/* ============================================
   COMPONENTS - Cookie Consent - FIXED
   ============================================ */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-content {
  width: 100%;
  max-width: 32rem;
  padding: 2rem;
  background-color: var(--background);
  border: 1px solid var(--border);
}

.cookie-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cookie-text {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cookie-buttons {
    flex-direction: row;
  }
}

.cookie-buttons button {
  flex: 1;
}

/* Cookie Preferences Panel */
.cookie-prefs {
  margin-top: 1rem;
}

.cookie-pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-pref:last-child {
  border-bottom: none;
}

.cookie-pref-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cookie-pref-desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.cookie-pref-always {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* Cookie Toggle - Polished like Lovable */
.cookie-toggle {
  position: relative;
  width: 3rem;
  height: 1.5rem;
  border-radius: 1rem;
  background-color: var(--muted);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.cookie-toggle:hover {
  background-color: var(--border);
}

.cookie-toggle.is-on,
.cookie-toggle[aria-pressed="true"] {
  background-color: var(--foreground);
}

.cookie-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--background);
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cookie-toggle.is-on .cookie-toggle-knob,
.cookie-toggle[aria-pressed="true"] .cookie-toggle-knob {
  transform: translateX(1.5rem);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.page-transition {
  animation: fadeUp 0.6s ease-out forwards;
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none !important;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-foreground {
  background-color: var(--foreground);
}

.text-background {
  color: var(--background);
}

.text-muted {
  color: var(--muted-foreground);
}

.border-t {
  border-top: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

/* ============================================
   RESPONSIVE TYPOGRAPHY ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
  body {
    font-size: 0.9375rem;
  }
  
  .text-editorial {
    font-size: 1rem;
  }
  
  .main-nav a,
  .mobile-nav a {
    font-size: 1.625rem;
  }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

/* Reset all WordPress menu default styles */
ul.menu,
ul.sub-menu,
.menu li,
.sub-menu li {
  list-style: none !important;
  list-style-type: none !important;
}

ul.menu li::before,
ul.sub-menu li::before,
.menu li::marker,
.sub-menu li::marker {
  content: none !important;
  display: none !important;
}

/* Fluent Forms / Gravity Forms styling override */
.fluentform .ff-el-input--label label,
.gform_wrapper .gfield_label {
  font-family: var(--font-display) !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform textarea,
.fluentform select,
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea,
.gform_wrapper select {
  height: 3rem !important;
  padding: 0 1rem !important;
  background-color: transparent !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
}

.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus,
.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  border-color: var(--accent-secondary) !important;
  outline: none !important;
  box-shadow: none !important;
}

.fluentform .ff-btn-submit,
.gform_wrapper .gform_button {
  height: 3.5rem !important;
  padding: 0 2rem !important;
  background-color: var(--foreground) !important;
  color: var(--background) !important;
  font-family: var(--font-display) !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

.fluentform .ff-btn-submit:hover,
.gform_wrapper .gform_button:hover {
  background-color: var(--charcoal) !important;
}

/* ============================================
   CREDITS PAGE TEMPLATE
   ============================================ */
.credits-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.credits-filter-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s;
}

.credits-filter-btn:hover,
.credits-filter-btn.active {
  color: var(--foreground);
}

/* Credits page grid - matches React preview exactly */
.credits-page .credits-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 0;
}

@media (min-width: 768px) {
  .credits-page .credits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .credits-page .credits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.credits-page .credit-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  background: transparent;
}

.credits-page .credit-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--foreground);
  margin: 0;
}

.credits-page .credit-artist {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.credits-page .credit-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}

.credits-page .credit-meta span:nth-child(2) {
  width: 1px;
  height: 0.75rem;
  background-color: var(--border);
}

/* ============================================
   ANALOGUE PROCESSING PAGE TEMPLATE
   ============================================ */
.analogue-processing-page {
  animation: fadeUp 0.6s ease-out forwards;
}

.analogue-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .analogue-page-grid {
    grid-template-columns: 1fr 340px;
    gap: 6rem;
  }
}

.analogue-main-content {
  max-width: 100%;
}

.analogue-section {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.analogue-section:last-child {
  border-bottom: none;
}

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

.analogue-ideal-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
}

.analogue-ideal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.analogue-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.analogue-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.analogue-step-number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.analogue-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.analogue-step-content p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* Sidebar sticky on desktop */
.analogue-sidebar {
  position: relative;
}

@media (min-width: 1024px) {
  .signal-chain-sidebar {
    position: sticky;
    top: 8rem;
  }
}

.signal-chain-detailed .signal-chain-item-detailed {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.signal-chain-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.signal-chain-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Analogue Form */
.analogue-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .analogue-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.analogue-form .form-group {
  margin-bottom: 1.5rem;
}

.analogue-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.analogue-form input,
.analogue-form select,
.analogue-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.analogue-form input:focus,
.analogue-form select:focus,
.analogue-form textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
}

.analogue-success {
  text-align: center;
  padding: 3rem 0;
}

.analogue-success svg {
  margin: 0 auto 1.5rem;
  color: var(--accent-primary);
}

.analogue-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.analogue-success p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ENGINEERS & PRODUCERS PAGE
   ============================================ */
.collaborators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .collaborators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .collaborators-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.collaborator-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
}

.collaborator-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.collaborator-role {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.collaborator-focus {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ============================================
   SELECTED WORKS PAGE
   ============================================ */
.spotify-embed-wrapper {
  background: var(--muted);
  border-radius: 12px;
  overflow: hidden;
}

.spotify-embed-wrapper iframe {
  display: block;
}

.spotify-embed-placeholder {
  background: var(--muted);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
}

/* ============================================
   CTA LAMINATE - Yellow box hover effect
   ============================================ */
.cta-laminate {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid transparent;
  transition: all 0.3s ease-out;
  z-index: 1;
}

.cta-laminate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--accent-secondary);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease-out;
}

.cta-laminate:hover {
  border-color: var(--accent-secondary);
  color: var(--foreground);
}

.cta-laminate:hover::before {
  opacity: 1;
}

.cta-laminate:focus-visible {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 2px hsla(45, 95%, 55%, 0.3);
}

.cta-laminate:focus-visible::before {
  opacity: 1;
}

/* Inverted variant for dark backgrounds - uses yellow laminate */
.cta-laminate-inverted {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--background);
  border: 1px solid hsla(30, 10%, 98%, 0.3);
  background-color: transparent;
  transition: all 0.3s ease-out;
  z-index: 1;
}

.cta-laminate-inverted::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--accent-secondary);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease-out;
}

.cta-laminate-inverted:hover {
  border-color: transparent;
  color: var(--accent-secondary-foreground);
}

.cta-laminate-inverted:hover::before {
  opacity: 1;
}

.cta-laminate-inverted:focus-visible {
  outline: none;
  border-color: transparent;
  color: var(--accent-secondary-foreground);
  box-shadow: 0 0 0 2px hsla(45, 95%, 55%, 0.5);
}

.cta-laminate-inverted:focus-visible::before {
  opacity: 1;
}

/* ============================================
   INSTAGRAM FEED SECTION
   ============================================ */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.instagram-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--muted);
}

.instagram-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.instagram-tile:hover img {
  transform: scale(1.05);
}

.instagram-tile-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.3s ease-out;
}

.instagram-tile:hover .instagram-tile-overlay {
  background-color: rgba(23, 23, 23, 0.2);
}

.instagram-tile-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   CREDITS PAGE - Lovable Parity
   ============================================ */
.credits-page {
  animation: fadeUp 0.6s ease-out forwards;
}

.credits-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.credits-filter-btn {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.credits-filter-btn:hover,
.credits-filter-btn.active {
  color: var(--foreground);
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .credits-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .credits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.credit-item {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.credit-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0;
}

.credit-artist {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0.25rem 0 0 0;
}

.credit-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* Credits section on homepage (dark background) */
.credits-section {
  background-color: var(--foreground);
  color: var(--background);
}

.credits-section .credit-item {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.credits-section .credit-title {
  color: var(--background);
}

.credits-section .credit-artist {
  color: rgba(255, 255, 255, 0.6);
}

.credits-section .credit-meta {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   STUDIOS SECTION BACKGROUND
   ============================================ */
.studios-section-bg {
  position: relative;
}

.studios-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background) 0%, rgba(255,255,255,0.85) 30%, rgba(255,255,255,0.85) 70%, var(--background) 100%);
  z-index: 0;
}

/* ============================================
   SELECTED WORKS MODULE (OMM PAGE)
   ============================================ */
.omm-selected-works-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.omm-spotify-embed {
  max-width: 48rem;
  margin: 0 auto;
}

.omm-spotify-embed iframe {
  width: 100%;
  min-height: 380px;
  border-radius: 12px;
}

.omm-view-full-link {
  text-align: center;
  margin-top: 1.5rem;
}

/* ============================================
   ENGINEERS MODULE (OMM PAGE)
   ============================================ */
.omm-engineers-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.omm-engineers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .omm-engineers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .omm-engineers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.omm-engineer-card {
  padding: 1.5rem;
  background: var(--secondary);
  border: 1px solid var(--border);
}

.omm-engineer-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.omm-engineer-card .role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.omm-engineer-card .focus {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ===========================
   Form Error/Success Messages
   =========================== */

.form-error-message {
  padding: 1rem;
  margin-bottom: 1rem;
  background: hsl(0 84% 60% / 0.1);
  border: 1px solid hsl(0 84% 60% / 0.3);
  border-radius: 0.25rem;
  color: hsl(0 84% 40%);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-error-message p {
  margin: 0;
}

.form-success {
  padding: 1.5rem;
  background: hsl(142 76% 36% / 0.1);
  border: 1px solid hsl(142 76% 36% / 0.3);
  border-radius: 0.25rem;
  text-align: center;
}

.form-success p {
  margin: 0;
  color: hsl(142 76% 30%);
  font-size: 1.125rem;
}