/* prototype.bar -- Steampunk Industrial */
:root {
    --forge-black: #1A1209;
    --iron-oxide: #2A1F14;
    --smokehouse: #3D2E1F;
    --brass: #C8A84E;
    --brass-dark: #A68932;
    --copper: #B8733A;
    --iron: #5C5147;
    --parchment: #D4C4A0;
    --steam: #E8DCC8;
    --rivet: #8B8178;
    --blueprint: #4A3728;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto Slab', serif; font-weight: 300; font-size: 17px; line-height: 1.8; color: var(--parchment); background: var(--forge-black); overflow-x: hidden; }

.blueprint-grid { position: fixed; inset: 0; background-image: repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(74,55,40,0.08) 79px, rgba(74,55,40,0.08) 80px), repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(74,55,40,0.08) 79px, rgba(74,55,40,0.08) 80px); pointer-events: none; z-index: 0; }

.pipe-nav { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; z-index: 100; }
.gauge { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--iron); background: conic-gradient(var(--iron-oxide) 0deg, var(--smokehouse) 180deg, var(--iron-oxide) 360deg); position: relative; cursor: pointer; transition: border-color 0.3s; }
.gauge.active { border-color: var(--brass); }
.gauge-needle { position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; background: var(--brass); transform-origin: left center; transform: rotate(0deg); transition: transform 0.4s; }
.gauge.active .gauge-needle { transform: rotate(0deg); background: var(--copper); }

.chamber { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; padding: 64px 80px; position: relative; z-index: 1; }

.gear-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; pointer-events: none; animation: spin-slow 60s linear infinite; }
@keyframes spin-slow { to { transform: translate(-50%, -50%) rotate(360deg); } }

.panel { background: var(--iron-oxide); border: 1px solid var(--iron); padding: 40px; position: relative; box-shadow: inset 0 1px 0 rgba(232,220,200,0.05), 0 4px 20px rgba(0,0,0,0.4); opacity: 0; transform: translateY(30px); transition: opacity 0.5s, transform 0.5s; }
.panel.visible { opacity: 1; transform: translateY(0); }
.panel:hover { border-color: var(--brass-dark); }

.hero-panel { text-align: center; max-width: 700px; }
.panel-left, .panel-right { width: 45%; min-width: 280px; }
.panel-wide { width: 80%; max-width: 800px; }

.rivet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--brass) 0%, #7A5C2E 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,0.4); }
.rivet-tl { top: 8px; left: 8px; }
.rivet-tr { top: 8px; right: 8px; }
.rivet-bl { bottom: 8px; left: 8px; }
.rivet-br { bottom: 8px; right: 8px; }

.hero-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 64px; letter-spacing: 0.06em; color: var(--brass); text-shadow: 0 1px 0 var(--iron-oxide); line-height: 1.1; }
.title-dot { color: var(--copper); }
.hero-sub { font-family: 'Courier Prime', monospace; font-size: 13px; letter-spacing: 0.08em; color: var(--rivet); margin-top: 12px; }

.section-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 32px; letter-spacing: 0.06em; color: var(--brass); text-shadow: 0 1px 0 var(--iron-oxide); margin-bottom: 16px; }
.body-text { color: var(--parchment); font-weight: 300; }
.annotation { display: block; font-family: 'Courier Prime', monospace; font-size: 12px; letter-spacing: 0.04em; color: var(--rivet); opacity: 0.7; margin-bottom: 12px; }

.pipe-decoration { display: flex; align-items: center; gap: 0; margin-top: 24px; }
.pipe-segment { height: 6px; flex: 1; background: linear-gradient(180deg, var(--brass) 0%, var(--brass-dark) 50%, #7A5C2E 100%); border-radius: 3px; }
.pipe-joint { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--brass) 0%, var(--brass-dark) 100%); border: 1px solid var(--iron); }

.footer-panel { padding: 60px 40px; }
.monogram { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 96px; color: var(--brass); text-shadow: 0 1px 0 var(--brass-dark), 0 2px 0 #7A5C2E; display: block; line-height: 1; }
.footer-text { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 18px; letter-spacing: 0.06em; color: var(--steam); margin-top: 8px; }

@media (max-width: 768px) {
    .chamber { padding: 48px 24px; }
    .panel-left, .panel-right { width: 100%; }
    .panel-wide { width: 100%; }
    .hero-title { font-size: 36px; }
    .section-title { font-size: 24px; }
    .pipe-nav { display: none; }
}
