/* ==========================================================================
   AETHERBIT STUDIO - THE STEAMPUNK DESIGN SYSTEM
   Victorian Industrial, Brass Machinery, Cold-Cathode Nixies & Galvanic Coils
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;700;800;900&family=Crimson+Pro:ital,wght@0,400;0,600;0,700;1,400&family=Share+Tech+Mono&display=swap');

:root {
  /* Classic Brass & Steam Palette */
  --bg-dark: #0d0a08;
  --bg-plate: #17120e;
  --bg-card: #201914;
  --bg-parchment: #f4ead5;
  --bg-parchment-dark: #dfd0b5;
  
  --brass-light: #f7de8a;
  --brass-base: #d4af37;
  --brass-dark: #826017;
  --brass-deep: #4d390c;
  
  --copper-light: #f29f6d;
  --copper-base: #cf6a32;
  --copper-dark: #873612;
  
  --amber-glow: #ff9d24;
  --nixie-orange: #ff4800;
  --nixie-glow: rgba(255, 72, 0, 0.7);
  --crt-green: #46ff78;
  
  --text-light: #ecdcb9;
  --text-muted: #b8a282;
  --text-dark: #2a1f18;
  
  --iron-border: #3b2c21;
  --rivet-color: #d4af37;
  
  /* Fonts */
  --font-display: 'Cinzel Decorative', Georgia, serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --font-mono: 'Share Tech Mono', monospace;

  /* Elevation & Lighting */
  --plate-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 1px 1px 1px rgba(247, 222, 138, 0.25), inset -1px -1px 2px rgba(0, 0, 0, 0.9);
  --brass-border: 2px solid var(--brass-base);
  --rivet-pattern: radial-gradient(circle at 50% 50%, var(--brass-light) 1.5px, var(--brass-dark) 2.5px, transparent 3px);
}

/* Galvanic Overdrive (Tesla Mode) */
body.overdrive-mode {
  --bg-dark: #080d14;
  --bg-plate: #0d1624;
  --bg-card: #132238;
  --brass-light: #9eeeff;
  --brass-base: #33b5e5;
  --brass-dark: #0e5b7a;
  --copper-light: #8cd8ff;
  --copper-base: #0099cc;
  --amber-glow: #00f0ff;
  --nixie-orange: #00d2ff;
  --nixie-glow: rgba(0, 210, 255, 0.8);
  --crt-green: #00ffff;
  --text-light: #d8f4ff;
  --text-muted: #7faec7;
  --iron-border: #1a3652;
  --rivet-color: #33b5e5;
}

/* Base Reset & Styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(207, 106, 50, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(13, 10, 8, 0.85), rgba(13, 10, 8, 0.98));
}

/* Atmospheric Steam Canvas Overlay */
#steam-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1000;
}

/* Vintage Grain/Noise Texture */
.vintage-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 999;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-light);
  text-shadow: 0 2px 5px rgba(0,0,0,0.9), 0 0 15px rgba(212, 175, 55, 0.3);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--copper-light);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--brass-light);
  text-shadow: 0 0 8px var(--amber-glow);
}

/* Steampunk Plate Container */
.steampunk-plate {
  background: linear-gradient(145deg, var(--bg-plate), #110d0a);
  border: 2px solid var(--iron-border);
  box-shadow: var(--plate-shadow);
  border-radius: 4px;
  position: relative;
  padding: 1.5rem;
}

/* Riveted Corners */
.riveted::before,
.riveted::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, var(--brass-light) 25%, var(--brass-dark) 80%);
  border-radius: 50%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.riveted::before { top: 6px; left: 6px; }
.riveted::after { top: 6px; right: 6px; }

.riveted-bottom::before,
.riveted-bottom::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, var(--brass-light) 25%, var(--brass-dark) 80%);
  border-radius: 50%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.riveted-bottom::before { bottom: 6px; left: 6px; }
.riveted-bottom::after { bottom: 6px; right: 6px; }

/* Ornate Victorian Filigree Border Accent */
.ornate-frame {
  border: 1px solid var(--brass-base);
  outline: 4px solid var(--bg-dark);
  outline-offset: -5px;
  position: relative;
}

/* ==========================================================================
   HEADER & TELEMETRY NAVIGATION BAR
   ========================================================================== */
.studio-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(to bottom, #1a130e 0%, #120e0a 100%);
  border-bottom: 2px solid var(--brass-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.emblem-disc {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brass-base);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4), inset 0 0 6px rgba(0,0,0,0.8);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  flex-shrink: 0;
}

.emblem-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.studio-brand:hover .emblem-disc img {
  transform: rotate(45deg) scale(1.1);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brass-light);
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--copper-light);
  text-transform: uppercase;
}

/* Nav Menu Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  padding: 0.4rem 0.6rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--brass-base);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--brass-light);
}

/* Header Telemetry & Quick Switches */
.header-telemetry {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Cold-Cathode Nixie Chronometer */
.nixie-clock-housing {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: #090705;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--brass-dark);
  border-radius: 4px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.9), 0 0 8px rgba(255, 72, 0, 0.2);
}

.nixie-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-right: 0.3rem;
  letter-spacing: 0.1em;
}

.nixie-tube {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--nixie-orange);
  text-shadow: 0 0 6px var(--nixie-glow), 0 0 12px var(--nixie-orange);
  letter-spacing: 0.05em;
  padding: 0 2px;
  background: rgba(40, 15, 5, 0.4);
  border-radius: 2px;
  min-width: 22px;
  text-align: center;
}

.nixie-colon {
  color: var(--nixie-orange);
  font-weight: bold;
  animation: pulse-colon 1s infinite alternate;
}

@keyframes pulse-colon {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Steampunk Brass Toggle Switches */
.steampunk-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, #30241b, #1d1610);
  border: 1px solid var(--brass-dark);
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: inset 1px 1px 1px rgba(255,255,255,0.15), 0 2px 5px rgba(0,0,0,0.7);
  transition: all 0.2s ease;
}

.steampunk-toggle-btn:hover {
  border-color: var(--brass-base);
  box-shadow: inset 1px 1px 1px rgba(255,255,255,0.25), 0 0 10px rgba(212, 175, 55, 0.4);
}

.steampunk-toggle-btn:active {
  transform: translateY(1px);
  box-shadow: inset 1px 2px 4px rgba(0,0,0,0.9);
}

.steampunk-toggle-btn .toggle-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #443224;
  border: 1px solid var(--brass-dark);
  transition: all 0.2s ease;
}

.steampunk-toggle-btn.active .toggle-pip {
  background: var(--crt-green);
  box-shadow: 0 0 8px var(--crt-green);
}

.steampunk-toggle-btn.muted .toggle-pip {
  background: #662211;
  box-shadow: none;
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--brass-base);
  color: var(--brass-light);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO: THE GRAND APPARATUS
   ========================================================================== */
.hero-apparatus {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: 
    linear-gradient(to bottom, rgba(13, 10, 8, 0.75), rgba(13, 10, 8, 0.95)),
    url('../assets/images/hero.jpg') center/cover no-repeat;
  border-bottom: 3px double var(--brass-base);
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.patent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px dashed var(--brass-base);
  padding: 0.3rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.05em;
  background: linear-gradient(to right, #ffffff, var(--brass-light) 40%, var(--copper-light) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.9));
}

.hero-manifesto {
  font-size: 1.3rem;
  color: var(--text-light);
  font-style: italic;
  border-left: 3px solid var(--copper-base);
  padding-left: 1.25rem;
  line-height: 1.5;
}

.hero-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.discipline-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: linear-gradient(135deg, rgba(207, 106, 50, 0.25), rgba(40, 25, 18, 0.8));
  border: 1px solid var(--copper-base);
  color: var(--brass-light);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* Steampunk Primary Buttons */
.btn-brass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(145deg, #c59b27, #856111);
  color: #120e0a;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--brass-light);
  border-radius: 3px;
  cursor: pointer;
  box-shadow: inset 1px 1px 2px rgba(255,255,255,0.6), 0 4px 15px rgba(0,0,0,0.8);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-brass:hover {
  background: linear-gradient(145deg, #dfb43b, #9e7519);
  box-shadow: inset 1px 1px 2px rgba(255,255,255,0.8), 0 0 20px rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
  color: #000;
}

.btn-brass:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.8);
}

.btn-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(145deg, #2b1f18, #18120e);
  color: var(--copper-light);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--copper-base);
  border-radius: 3px;
  cursor: pointer;
  box-shadow: inset 1px 1px 1px rgba(255,255,255,0.1), 0 4px 15px rgba(0,0,0,0.7);
  transition: all 0.2s ease;
}

.btn-copper:hover {
  border-color: var(--copper-light);
  color: var(--brass-light);
  box-shadow: 0 0 15px rgba(207, 106, 50, 0.4);
  transform: translateY(-2px);
}

/* Hero Mechanical Apparatus Rig (Clockwork + Gauges) */
.hero-rig {
  background: linear-gradient(145deg, #251b14, #120e0a);
  border: 3px solid var(--brass-dark);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 12px 35px rgba(0,0,0,0.9), inset 0 0 25px rgba(0,0,0,0.8);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Analog Steampunk Dials Cluster */
.gauge-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.dial-housing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.analog-meter {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f4ead5 0%, #d8caa7 70%, #856a42 100%);
  border: 4px solid var(--brass-base);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.6), 0 4px 10px rgba(0,0,0,0.7);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analog-meter::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed #7a5f36;
  pointer-events: none;
}

.needle-pivot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #2b1f18;
  border: 1px solid var(--brass-light);
  border-radius: 50%;
  z-index: 5;
}

.meter-needle {
  position: absolute;
  bottom: 50%;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 36px;
  background: linear-gradient(to top, #b72a15, #ff3b1f);
  border-radius: 2px;
  transform-origin: bottom center;
  transition: transform 0.15s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  box-shadow: 1px 0 2px rgba(0,0,0,0.5);
}

.dial-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brass-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Gear Train Chamber */
.gear-chamber {
  position: relative;
  width: 240px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-gear {
  position: absolute;
  transform-origin: center center;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.7));
}

#gear-main {
  width: 140px;
  height: 140px;
  top: 30px;
  left: 20px;
}

#gear-medium {
  width: 95px;
  height: 95px;
  top: 15px;
  right: 15px;
}

#gear-small {
  width: 65px;
  height: 65px;
  bottom: 10px;
  right: 40px;
}

#gear-escapement {
  width: 80px;
  height: 80px;
  bottom: 15px;
  left: 30px;
}

/* Throttle Lever Control */
.throttle-control {
  width: 100%;
  background: #140f0c;
  border: 1px solid var(--iron-border);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.throttle-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-light);
}

.steampunk-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #251b14;
  border: 1px solid var(--brass-dark);
  border-radius: 4px;
  outline: none;
}

.steampunk-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brass-light), var(--brass-dark));
  border: 2px solid #1a130e;
  cursor: ew-resize;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.7);
}

.steampunk-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brass-light), var(--brass-dark));
  border: 2px solid #1a130e;
  cursor: ew-resize;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.7);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--copper-light);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--brass-light);
}

.section-divider {
  width: 160px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0.25rem;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: var(--brass-base);
}
.section-divider::before { left: 0; }
.section-divider::after { right: 0; }

.section-divider-gem {
  width: 10px;
  height: 10px;
  background: var(--copper-base);
  border: 1px solid var(--brass-light);
  transform: rotate(45deg);
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ==========================================================================
   THE THREE GUILDS (DISCIPLINES OVERVIEW)
   ========================================================================== */
.guilds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.guild-card {
  background: linear-gradient(160deg, #241c16, #140f0c);
  border: 2px solid var(--iron-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--plate-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.guild-card:hover {
  transform: translateY(-6px);
  border-color: var(--brass-base);
}

.guild-media {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--brass-dark);
}

.guild-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.guild-card:hover .guild-media img {
  transform: scale(1.08);
}

.guild-emblem-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 10, 8, 0.85);
  border: 1px solid var(--brass-base);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brass-light);
  backdrop-filter: blur(4px);
}

.guild-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.guild-title {
  font-size: 1.3rem;
  color: var(--brass-light);
  line-height: 1.2;
}

.guild-motto {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.guild-text {
  font-size: 1.05rem;
  color: var(--text-light);
  flex-grow: 1;
}

.guild-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
  border-top: 1px dashed var(--iron-border);
  padding-top: 0.75rem;
}

.guild-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--brass-light);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   INTERACTIVE WORKBENCH: GALVANIC OSCILLOSCOPE
   ========================================================================== */
.workbench-chassis {
  background: linear-gradient(150deg, #281d16, #140d09);
  border: 3px solid var(--brass-base);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.9), inset 0 0 30px rgba(0,0,0,0.8);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
}

.crt-housing {
  background: #0d1a12;
  border: 6px solid #4a3725;
  outline: 2px solid var(--brass-base);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: inset 0 0 25px rgba(0,0,0,0.9), 0 8px 25px rgba(0,0,0,0.7);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crt-bezel-title {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #3bb366;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#crt-canvas {
  width: 100%;
  height: 280px;
  background: #08160e;
  border-radius: 6px;
  display: block;
}

/* Oscilloscope Controls Rack */
.workbench-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tube-indicator-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #18110b;
  border: 1px solid var(--brass-dark);
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

.vacuum-tube-icon {
  width: 32px;
  height: 52px;
  background: rgba(255, 150, 40, 0.15);
  border: 1px solid var(--copper-light);
  border-radius: 16px 16px 4px 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.3);
}

.vacuum-tube-icon .filament {
  width: 4px;
  height: 28px;
  background: #ffaa33;
  box-shadow: 0 0 8px #ff7700;
  border-radius: 2px;
  transition: opacity 0.1s ease;
}

.wave-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.wave-selector button {
  background: #201710;
  border: 1px solid var(--brass-dark);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.wave-selector button.active,
.wave-selector button:hover {
  background: var(--brass-dark);
  color: var(--brass-light);
  border-color: var(--brass-light);
}

.control-knob-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.knob-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.knob-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-light);
}

/* ==========================================================================
   PORTFOLIO: THE SPECIMEN ARCHIVE
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-nav button {
  background: linear-gradient(145deg, #251b14, #16110c);
  border: 1px solid var(--brass-dark);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.6rem 1.25rem;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  transition: all 0.2s ease;
}

.filter-nav button:hover {
  color: var(--brass-light);
  border-color: var(--brass-base);
}

.filter-nav button.active {
  background: linear-gradient(145deg, #c59b27, #7a5813);
  color: #120e0a;
  border-color: var(--brass-light);
  box-shadow: inset 1px 1px 2px rgba(255,255,255,0.6), 0 0 12px rgba(212, 175, 55, 0.5);
}

/* Project Cards Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background: linear-gradient(160deg, #221a14, #140e0a);
  border: 2px solid var(--iron-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--plate-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  position: relative;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--brass-base);
}

.project-thumbnail {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--brass-dark);
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumbnail img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(13, 10, 8, 0.9);
  border: 1px solid var(--brass-base);
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.project-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.project-title {
  font-size: 1.25rem;
  color: var(--brass-light);
  line-height: 1.25;
}

.project-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  flex-grow: 1;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.tech-punchcard {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: #17110c;
  color: var(--copper-light);
  border: 1px solid var(--iron-border);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  border-top: 1px dashed var(--iron-border);
  padding-top: 0.75rem;
}

.btn-inspect {
  background: none;
  border: 1px solid var(--brass-base);
  color: var(--brass-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-inspect:hover {
  background: var(--brass-base);
  color: #120e0a;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   MODAL DIALOG (BLUEPRINT INSPECTOR)
   Modern Top-Layer Standards with @starting-style
   ========================================================================== */
dialog#blueprint-modal {
  margin: auto;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  background: linear-gradient(150deg, #221811, #130d09);
  border: 3px solid var(--brass-base);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 25px 60px rgba(0,0,0,0.95), inset 0 0 40px rgba(0,0,0,0.9);
  color: var(--text-light);
  overflow: hidden;

  /* MANDATORY top-layer transition properties */
  opacity: 0;
  transform: scale(0.92);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

dialog#blueprint-modal[open] {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.92);
  }
}

dialog#blueprint-modal::backdrop {
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  transition: display 0.3s allow-discrete, overlay 0.3s allow-discrete, background-color 0.3s ease-out, backdrop-filter 0.3s ease-out;
}

dialog#blueprint-modal[open]::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);

  @starting-style {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
}

.modal-header-plate {
  background: linear-gradient(to bottom, #2b1f16, #1b130e);
  border-bottom: 2px solid var(--brass-base);
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-heading-group {
  display: flex;
  flex-direction: column;
}

.modal-category-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.modal-close-lever {
  background: #19120d;
  border: 1px solid var(--brass-base);
  color: var(--brass-light);
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-lever:hover {
  background: var(--brass-base);
  color: #000;
}

.modal-scroll-body {
  padding: 1.75rem;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blueprint-hero-view {
  width: 100%;
  max-height: 380px;
  border: 2px solid var(--brass-dark);
  border-radius: 4px;
  overflow: hidden;
}

.blueprint-hero-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.schematic-box {
  background: rgba(15, 25, 20, 0.4);
  border: 1px dashed #3bb366;
  padding: 1.25rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #a8e8b8;
  line-height: 1.6;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  background: #18110b;
  border: 1px solid var(--iron-border);
  padding: 1rem;
  border-radius: 4px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  border-bottom: 1px dotted var(--iron-border);
  padding: 0.4rem 0;
}

.spec-label {
  font-family: var(--font-mono);
  color: var(--copper-light);
}

.spec-value {
  color: var(--brass-light);
  font-weight: 600;
}

/* ==========================================================================
   WORKSHOP LAB & INSTRUMENTATION (TECH SKILLS MATRIX)
   ========================================================================== */
.lab-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.instrument-bay {
  background: linear-gradient(150deg, #241b14, #120e0a);
  border: 1px solid var(--iron-border);
  border-top: 3px solid var(--brass-base);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--plate-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bay-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bay-icon {
  font-size: 1.5rem;
  color: var(--copper-light);
}

.bay-title {
  font-size: 1.1rem;
  color: var(--brass-light);
}

.instrument-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.instrument-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-light);
  background: rgba(20, 15, 11, 0.6);
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
  border-left: 2px solid var(--copper-base);
}

.instrument-level {
  font-size: 0.7rem;
  color: var(--brass-base);
}

/* ==========================================================================
   PNEUMATIC DISPATCH TERMINAL (CONTACT STATION)
   ========================================================================== */
.pneumatic-station {
  background: linear-gradient(145deg, #261c15, #140d08);
  border: 4px solid var(--brass-base);
  border-radius: 8px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.95), inset 0 0 35px rgba(0,0,0,0.85);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
}

.pneumatic-tube-visual {
  background: linear-gradient(to right, #1a120b, #0f0a06);
  border-right: 3px solid var(--brass-dark);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brass-manifold {
  width: 100px;
  height: 24px;
  background: linear-gradient(to right, var(--brass-dark), var(--brass-light), var(--brass-dark));
  border: 1px solid #110e0a;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.glass-pneumatic-tube {
  width: 60px;
  height: 260px;
  background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(120, 180, 220, 0.15) 50%, rgba(255,255,255,0.05));
  border-left: 2px solid rgba(255,255,255,0.3);
  border-right: 2px solid rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.brass-capsule {
  width: 44px;
  height: 90px;
  background: linear-gradient(to right, #8c6a1e, #f0cc68 40%, #7d5e1a);
  border: 2px solid #20170a;
  border-radius: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8), inset 0 2px 4px rgba(255,255,255,0.7);
  position: relative;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.brass-capsule::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 4px;
  background: #3d2a10;
}

.brass-capsule.launching {
  transform: translateY(-280px);
}

.pneumatic-form-bay {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--copper-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.steampunk-input {
  background: #17110c;
  border: 1px solid var(--brass-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.steampunk-input:focus {
  border-color: var(--brass-light);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.9), 0 0 10px rgba(212, 175, 55, 0.4);
}

textarea.steampunk-input {
  resize: vertical;
  min-height: 120px;
}

/* Dispatch Telegraph Receipt */
.dispatch-receipt-terminal {
  display: none;
  background: var(--bg-parchment);
  color: var(--text-dark);
  padding: 2rem;
  border: 2px solid var(--brass-dark);
  border-radius: 4px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.7);
  font-family: var(--font-mono);
}

.receipt-header {
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.receipt-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
}

.receipt-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.studio-footer {
  background: #110d0a;
  border-top: 3px solid var(--brass-base);
  padding: 4rem 1.5rem 2rem 1.5rem;
  position: relative;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--brass-light);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--iron-border);
  padding-bottom: 0.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom-bar {
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid var(--iron-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Back to Top Steam Piston Button */
.btn-steam-return {
  background: #1b130e;
  border: 1px solid var(--brass-base);
  color: var(--brass-light);
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-steam-return:hover {
  background: var(--brass-base);
  color: #000;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .guilds-grid {
    grid-template-columns: 1fr;
  }
  .workbench-chassis {
    grid-template-columns: 1fr;
  }
  .lab-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .pneumatic-station {
    grid-template-columns: 1fr;
  }
  .pneumatic-tube-visual {
    border-right: none;
    border-bottom: 3px solid var(--brass-dark);
    padding: 1.5rem;
  }
  .glass-pneumatic-tube {
    height: 180px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a130e;
    border-bottom: 2px solid var(--brass-base);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.9);
  }
  .main-nav.nav-open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nixie-clock-housing {
    display: none; /* Conserve header space on small mobile */
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .lab-matrix {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  dialog#blueprint-modal,
  dialog#blueprint-modal::backdrop {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   STUDIO MASTHEAD (INTRO BANNER)
   ========================================================================== */
.studio-masthead {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 0.5rem 1.5rem;
}

.masthead-inner {
  background: 
    linear-gradient(to bottom, rgba(17, 13, 10, 0.88), rgba(13, 10, 8, 0.96)),
    url('../assets/images/hero.jpg') center/cover no-repeat;
  border: 2px solid var(--iron-border);
  box-shadow: var(--plate-shadow);
  border-radius: 6px;
  position: relative;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.masthead-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  background: linear-gradient(to right, #ffffff, var(--brass-light) 40%, var(--copper-light) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.9));
}

/* Frontpage Studio Portals */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  max-width: 1300px;
  margin: 1.5rem auto 1.5rem auto;
  padding: 0 1.5rem;
}

.portal-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(145deg, rgba(28, 21, 16, 0.95), rgba(18, 14, 10, 0.98));
  border: 1px solid var(--brass-dark);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass-base);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9), 0 0 15px rgba(212, 175, 55, 0.2);
}

.portal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portal-title {
  font-size: 1.45rem;
  color: var(--brass-light);
}

.portal-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.55;
  flex-grow: 1;
}

/* ==========================================================================
   NEWS & DISPATCHES SECTION
   ========================================================================== */
.news-featured-card {
  margin-bottom: 2.5rem;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--brass-base);
  background: linear-gradient(135deg, rgba(32, 25, 20, 0.95), rgba(18, 14, 10, 0.98));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--copper-light);
}

.news-featured-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--brass-base);
  color: var(--brass-light);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  font-weight: bold;
}

.news-featured-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--brass-light);
  line-height: 1.25;
}

.news-featured-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass-dark);
  box-shadow: 0 14px 28px rgba(0,0,0,0.9), 0 0 15px rgba(212, 175, 55, 0.15);
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--copper-light);
}

.news-card-title {
  font-size: 1.2rem;
  color: var(--brass-light);
  line-height: 1.35;
}

.news-card-body {
  font-size: 1.05rem;
  color: var(--text-light);
  flex-grow: 1;
  line-height: 1.55;
}

.news-card-footer {
  border-top: 1px dashed var(--iron-border);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* ==========================================================================
   MINIMALIST SPLASH SHOWCASE
   ========================================================================== */
.splash-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(207, 106, 50, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.22) 0%, rgba(207, 106, 50, 0.1) 40%, transparent 75%),
    linear-gradient(to bottom, #090705 0%, #120e0a 50%, #080605 100%);
}

.splash-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem 1.5rem;
  z-index: 10;
}

.splash-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.25rem;
  max-width: 900px;
  width: 100%;
  min-height: 55vh;
  padding: 1.5rem;
  animation: splashFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash-emblem-disc {
  width: min(340px, 48vw);
  height: min(340px, 48vw);
  min-width: 200px;
  min-height: 200px;
  max-width: 380px;
  max-height: 380px;
  border-radius: 50%;
  border: 4px solid var(--brass-base);
  outline: 2px dashed rgba(212, 175, 55, 0.45);
  outline-offset: 8px;
  box-shadow: 
    0 0 40px rgba(212, 175, 55, 0.35),
    0 0 80px rgba(207, 106, 50, 0.25),
    inset 0 0 30px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.8s ease;
}

.splash-emblem-disc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(247, 222, 138, 0.3), inset 0 0 45px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 2;
}

.splash-emblem-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.splash-brand:hover .splash-emblem-disc {
  transform: scale(1.03);
  box-shadow: 
    0 0 55px rgba(212, 175, 55, 0.55),
    0 0 110px rgba(255, 157, 36, 0.4),
    inset 0 0 30px rgba(0, 0, 0, 0.95);
}

.splash-brand:hover .splash-emblem-disc img {
  transform: rotate(15deg) scale(1.08);
}

.splash-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.splash-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 6.5rem);
  font-weight: 900;
  color: var(--brass-light);
  letter-spacing: 0.16em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(212, 175, 55, 0.45),
    0 0 60px rgba(255, 157, 36, 0.25);
  margin: 0;
}

.splash-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.8vw, 1.85rem);
  letter-spacing: 0.38em;
  color: var(--copper-light);
  text-transform: uppercase;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(242, 159, 109, 0.4);
  margin: 0;
}

.splash-footer {
  width: 100%;
  padding: 1.75rem 1.5rem;
  text-align: center;
  z-index: 10;
}

.splash-footer p {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.8vw, 0.92rem);
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

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


/* Minimalist Center Splash Lockup */
.brand-hero-section {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  z-index: 10;
}

.studio-brand-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  max-width: 1200px;
  padding: 1.5rem;
  text-decoration: none;
}

.site-footer {
  width: 100%;
  padding: 1.75rem 1.5rem;
  text-align: center;
  z-index: 10;
}

.site-footer p {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.75rem, 1.6vw, 0.92rem);
  letter-spacing: 0.16em;
  color: #b8a282;
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}
