/* Custom Rack & Studio Controls CSS (Intelligence Artificielle Theme) */

:root {
  --anthracite: #1c1a17;
  --anthracite-2: #24221e;
  --cream: #ede4cf;
  --cream-dark: #c4bca8;
  --copper: #c4703a;
  --copper-glow: #e08b52;
  --aluminum: #85827a;
  --aluminum-dark: #3a3733;
  --aluminum-light: #b8b5ae;
  --peak-red: #d8412f;
  --signal-green: #4da860;
  
  --font-display: "Chivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Azeret Mono", monospace;
}

body {
  background-color: var(--anthracite);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--copper);
  color: var(--anthracite);
}

/* Vintage Screenprint Labels */
.screenprint {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aluminum-light);
}

.screenprint-lg {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream);
}

/* LED Indicators */
.led {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2a2823;
  border: 1px solid #1a1815;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.8);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.led-on {
  background-color: var(--copper);
  box-shadow: 0 0 6px var(--copper), inset 0 1px 1px rgba(255,255,255,0.4);
}

.led-green {
  background-color: var(--signal-green);
  box-shadow: 0 0 6px var(--signal-green), inset 0 1px 1px rgba(255,255,255,0.4);
}

.led-red {
  background-color: var(--peak-red);
  box-shadow: 0 0 6px var(--peak-red), inset 0 1px 1px rgba(255,255,255,0.4);
}

/* Push Button Vintage */
.push-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--cream);
  background-color: #2a2823;
  border: 1px solid var(--aluminum-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.5);
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}

.push-button:hover {
  background-color: var(--copper);
  color: var(--anthracite);
  border-color: var(--copper-glow);
  box-shadow: 0 0 12px rgba(196, 112, 58, 0.4);
}

.push-button:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

/* Rack Unit Panels & Ears */
.bevel-panel {
  border: 1px solid #1a1815;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 12px rgba(0,0,0,0.4);
}

.rack-ear {
  width: 24px;
  background: linear-gradient(180deg, #3a3733 0%, #24221e 100%);
  border: 1px solid #1a1815;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  flex-shrink: 0;
}

.rack-grain {
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 4px 4px;
}

.walnut-face {
  background-color: #26221c;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 2px, transparent 2px, transparent 8px);
  border: 1px solid #100f0d;
}

.brushed-aluminum-dark {
  background: linear-gradient(180deg, #2d2a25 0%, #201e1a 100%);
  border: 1px solid #141311;
}

/* Warm parchment card — used by Unit 08 article cards (brushed-aluminum from reference) */
.brushed-aluminum {
  background-color: #ede4cf;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.03) 0px,
      rgba(0,0,0,0.03) 1px,
      transparent 1px,
      transparent 6px
    );
  border: 1px solid #c5ba9e;
  transition: box-shadow 0.2s ease;
}

.brushed-aluminum:hover {
  box-shadow: 0 0 0 1px var(--copper);
}

/* Dark title text on light aluminum card */
.brushed-aluminum h3,
.brushed-aluminum h4 {
  color: #1c1a17 !important;
}

.copper-underline {
  border-bottom: 2px solid var(--copper);
  text-decoration: none;
  transition: border-color 0.2s;
}

.copper-underline:hover {
  border-color: var(--copper-glow);
}

/* Slider Controls */
.fader {
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  width: 14px;
  height: 100px;
  background: #141311;
  outline: none;
  border: 1px solid #3a3733;
}

.fader::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 22px;
  background: linear-gradient(180deg, #85827a 0%, #3a3733 100%);
  border: 1px solid #1a1815;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.knob {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b8b5ae 0%, #3a3733 70%, #1a1815 100%);
  border: 1px solid #100f0d;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  position: relative;
}

.knob::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 13px;
  width: 2px;
  height: 6px;
  background-color: var(--copper);
}

/* WP Block & Post Content Reset */
.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--cream);
}

.post-content h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content blockquote {
  border-left: 4px solid var(--copper);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--cream-dark);
}
