/* ==========================================================================
   CHRONICA — Interactive Studio, Bento Exhibits, Epoch Gallery,
   Typography Atelier, X-Ray Lens, Command Palette & Responsive Rules
   ========================================================================== */

/* ==========================================================================
   1. INTERACTIVE DESIGN LINEAGE STUDIO (Hero Centerpiece Window)
   ========================================================================== */
.studio-wrapper {
  position: relative;
  z-index: 5;
  max-width: var(--studio-max);
  margin: 0 auto;
  padding: 0 clamp(14px, 2.5vw, 28px);
}

.studio-shell {
  position: relative;
  border-radius: 18px;
  background: var(--bg-studio);
  border: 1px solid rgba(255, 244, 232, 0.11);
  box-shadow:
    0 46px 130px rgba(0, 0, 0, 0.94),
    0 0 0 1px rgba(245, 203, 167, 0.06),
    inset 0 1px 0 rgba(255, 248, 240, 0.11);
  overflow: hidden;
}

/* Studio Top Bar */
.studio-topbar {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #100e0d;
  border-bottom: 1px solid var(--border-subtle);
}

.studio-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.studio-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--accent-ivory);
  padding-right: 12px;
  border-right: 1px solid var(--border-subtle);
}

.studio-breadcrumb {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-breadcrumb strong {
  color: var(--text-primary);
  font-weight: 500;
}

.studio-badge-live {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--accent-champagne);
  color: var(--text-on-accent);
  font-weight: 600;
  flex-shrink: 0;
}

.studio-view-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #0a0908;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
}

.studio-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.studio-tab:hover {
  color: var(--accent-ivory);
}

.studio-tab.is-active {
  background: #201c19;
  color: var(--accent-champagne);
  box-shadow: inset 0 1px 0 rgba(255, 248, 240, 0.08);
}

.studio-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #171412;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.73rem;
  padding: 5px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.studio-icon-btn:hover,
.studio-icon-btn.is-active {
  border-color: var(--border-accent);
  color: var(--accent-champagne);
  background: rgba(245, 203, 167, 0.08);
}

/* Studio Main 3-Column Body */
.studio-body {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr) 284px;
  height: 586px;
}

/* Left Sidebar */
.studio-sidebar {
  background: #0f0e0d;
  border-right: 1px solid var(--border-subtle);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.sidebar-search-wrap {
  position: relative;
}

.sidebar-search {
  width: 100%;
  background: #161412;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 7px 10px 7px 28px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.sidebar-search:focus {
  border-color: var(--border-accent);
}

.sidebar-search-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.sidebar-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Warm Peach Signature + Pill (Directly echoes Qredible left sidebar) */
.sidebar-plus-btn {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: none;
  background: var(--accent-champagne);
  color: var(--text-on-accent);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-editorial), box-shadow 0.3s ease;
}

.sidebar-plus-btn:hover {
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 14px rgba(245, 203, 167, 0.5);
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  padding: 7px 8px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.sidebar-item-btn:hover {
  background: rgba(255, 248, 240, 0.04);
  color: var(--text-primary);
}

.sidebar-item-btn.is-active {
  background: rgba(245, 203, 167, 0.1);
  border-color: rgba(245, 203, 167, 0.24);
  color: var(--accent-champagne);
}

.sidebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-item-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-item-year {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
}

.sidebar-footer-tip {
  margin-top: auto;
  padding: 10px;
  border-radius: 10px;
  background: #141210;
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.sidebar-footer-tip strong {
  color: var(--accent-champagne);
  font-weight: 500;
}

/* Center Dot-Grid Interactive Graph Viewport */
.studio-canvas-viewport {
  position: relative;
  background-color: #0b0a09;
  background-image: radial-gradient(rgba(245, 203, 167, 0.085) 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.studio-canvas-viewport.is-panning {
  cursor: grabbing;
}

/* Warm Peach Zoom Pill (Signature Qredible Detail) */
.canvas-zoom-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  background: var(--accent-champagne);
  color: var(--text-on-accent);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 203, 167, 0.24);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.canvas-zoom-pill button {
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: var(--text-on-accent);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.canvas-zoom-pill button:hover {
  background: rgba(19, 17, 15, 0.14);
}

.canvas-zoom-val {
  min-width: 40px;
  text-align: center;
}

/* Canvas Floating Hint */
.canvas-status-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 14, 12, 0.82);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  font-size: 0.71rem;
  color: var(--text-secondary);
  pointer-events: none;
}

/* Pannable/Zoomable World Stage */
.studio-world {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px;
  height: 620px;
  transform-origin: 0 0;
  will-change: transform;
}

.studio-edges-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.edge-path-base {
  fill: none;
  stroke: rgba(245, 203, 167, 0.16);
  stroke-width: 1.5;
  transition: stroke 0.35s ease, stroke-width 0.35s ease, opacity 0.35s ease;
}

.edge-path-base.is-dashed {
  stroke-dasharray: 5 5;
}

.edge-path-base.is-related {
  stroke: rgba(245, 203, 167, 0.68);
  stroke-width: 2;
}

.edge-path-base.is-dimmed {
  opacity: 0.24;
}

.edge-pulse {
  fill: var(--accent-champagne);
  filter: drop-shadow(0 0 6px rgba(245, 203, 167, 0.95));
}

.edge-label-pill {
  font-family: var(--font-sans);
  font-size: 9.5px;
  fill: rgba(210, 198, 184, 0.65);
  text-anchor: middle;
  transition: fill 0.3s ease;
}

.edge-label-pill.is-related {
  fill: var(--accent-champagne);
}

/* Individual Lineage Node Cards */
.graph-node {
  position: absolute;
  width: 214px;
  padding: 12px 13px 11px;
  border-radius: 12px;
  background: linear-gradient(180deg, #181614 0%, #13110f 100%);
  border: 1px solid rgba(255, 244, 232, 0.095);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 248, 240, 0.06);
  cursor: pointer;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.3s ease;
  z-index: 4;
}

.graph-node:hover {
  border-color: rgba(245, 203, 167, 0.38);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.7), 0 0 22px rgba(245, 203, 167, 0.09);
  z-index: 6;
}

.graph-node.is-selected {
  border-color: var(--accent-champagne);
  background: linear-gradient(180deg, #1e1a16 0%, #151210 100%);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(245, 203, 167, 0.28),
    0 0 32px rgba(245, 203, 167, 0.16);
  z-index: 8;
}

.graph-node.is-dimmed {
  opacity: 0.48;
}

.graph-node.is-dragging {
  cursor: grabbing;
  z-index: 10;
}

/* Connection Port Pins */
.node-port {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #231f1b;
  border: 1.5px solid rgba(245, 203, 167, 0.4);
  transform: translateY(-50%);
}
.node-port-in { left: -4px; }
.node-port-out { right: -4px; }

.graph-node.is-selected .node-port {
  background: var(--accent-champagne);
  border-color: var(--accent-ivory);
  box-shadow: 0 0 8px rgba(245, 203, 167, 0.8);
}

.node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.node-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.node-icon-dot {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(245, 203, 167, 0.14);
  border: 1px solid rgba(245, 203, 167, 0.28);
  color: var(--accent-champagne);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
}

.node-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.node-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-ivory);
  line-height: 1.3;
  margin-bottom: 2px;
}

.node-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.84rem;
  color: rgba(245, 203, 167, 0.72);
  margin-bottom: 8px;
}

.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.node-tag {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 248, 240, 0.045);
  border: 1px solid rgba(255, 248, 240, 0.07);
  color: var(--text-secondary);
}

/* Simulated Ambient Curator Cursor (echoes @goodflow cursor in Qredible!) */
.curator-cursor {
  position: absolute;
  z-index: 9;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  transition: opacity 0.5s ease;
  animation: curatorDrift 11s ease-in-out infinite;
}

.curator-cursor.is-hidden {
  opacity: 0;
}

.curator-cursor-tag {
  margin-top: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 203, 167, 0.92);
  color: #14110f;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

@keyframes curatorDrift {
  0%, 100% { transform: translate(272px, 178px); }
  33% { transform: translate(546px, 192px); }
  66% { transform: translate(268px, 356px); }
}

/* Right Dynamic Inspector Panel */
.studio-inspector {
  background: #100f0d;
  border-left: 1px solid var(--border-subtle);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.inspector-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.inspector-emblem {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-champagne);
  color: var(--text-on-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
}

.inspector-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--accent-ivory);
  line-height: 1.25;
}

.inspector-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent-champagne);
  margin-top: 3px;
}

.inspector-section-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.inspector-quote {
  padding: 10px 12px;
  border-radius: 10px;
  background: #161412;
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--accent-champagne);
  font-family: var(--font-serif-cn);
  font-size: 0.78rem;
  line-height: 1.62;
  color: rgba(247, 243, 236, 0.9);
}

.inspector-quote cite {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.64rem;
  color: var(--text-muted);
}

.inspector-summary {
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.64;
}

/* Precision Metric Bars */
.dna-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dna-row {
  display: grid;
  grid-template-columns: 62px 1fr 28px;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.dna-bar-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 248, 240, 0.07);
  overflow: hidden;
}

.dna-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-champagne));
  transition: width 0.65s var(--ease-editorial);
}

.dna-val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-champagne);
  text-align: right;
}

.inspector-artifact {
  padding: 10px 11px;
  border-radius: 10px;
  background: #161412;
  border: 1px solid var(--border-subtle);
}

.artifact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.artifact-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-ivory);
}

.artifact-year {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--pigment-sage);
}

.artifact-note {
  font-size: 0.71rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pioneer-chips,
.lineage-jump-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pioneer-chip {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: #171513;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.lineage-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.69rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(245, 203, 167, 0.08);
  border: 1px solid rgba(245, 203, 167, 0.24);
  color: var(--accent-champagne);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background-color 0.22s ease, transform 0.25s var(--ease-editorial);
}

.lineage-jump-btn:hover {
  background: rgba(245, 203, 167, 0.18);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. EDITORIAL BENTO SECTION (Qredible Lower Section Aesthetic Homage)
   ========================================================================== */
.bento-upper-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px;
  margin-bottom: 20px;
}

.bento-art-card {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 244, 232, 0.1);
  background: #0d0c0b;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
}

.bento-art-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-editorial);
  will-change: transform;
}

.bento-art-card:hover .bento-art-bg {
  transform: scale(1.04);
}

.bento-art-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 5, 4, 0.12) 0%, rgba(6, 5, 4, 0.35) 54%, rgba(6, 5, 4, 0.94) 94%);
  pointer-events: none;
  z-index: 1;
}

/* Left Card: Philosopher Pointing Skyward + Warm Peach Connected Orbs */
.orb-constellation {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.orb-tether-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.orb-node-btn {
  position: absolute;
  pointer-events: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255, 248, 240, 0.92);
  background: radial-gradient(circle at 35% 30%, #ffe6cf 0%, var(--accent-champagne) 70%, #e4b185 100%);
  color: #16120f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(245, 203, 167, 0.14);
  transition: transform 0.45s var(--ease-editorial), box-shadow 0.35s ease;
  transform: translate(-50%, -50%);
}

.orb-node-btn:hover,
.orb-node-btn.is-active {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.72),
    0 0 0 10px rgba(245, 203, 167, 0.24),
    0 0 36px rgba(245, 203, 167, 0.45);
}

.orb-symbol {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.orb-caption {
  position: relative;
  z-index: 3;
  margin: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(12, 11, 10, 0.82);
  border: 1px solid rgba(245, 203, 167, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.orb-caption-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--accent-champagne);
  margin-bottom: 6px;
  white-space: nowrap;
}

.orb-caption-title {
  font-family: var(--font-serif-cn);
  font-size: 1.05rem;
  color: var(--accent-ivory);
  margin-bottom: 6px;
}

.orb-caption-quote {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* Right Card: Colonnade Fresco + Linked Glass Pipeline Cards */
.pipeline-stage-wrap {
  position: relative;
  z-index: 3;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.pipeline-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(12, 11, 10, 0.72);
  border: 1px solid rgba(245, 203, 167, 0.24);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--accent-champagne);
}

.pipeline-cards-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
  margin: auto 0;
}

.pipeline-connector-line {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 2px;
  background: rgba(245, 203, 167, 0.22);
  z-index: 0;
  overflow: hidden;
}

.pipeline-connector-beam {
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-champagne), #fff3e4, transparent);
  animation: beamSweep 3.8s ease-in-out infinite;
}

@keyframes beamSweep {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}

.pipeline-glass-card {
  position: relative;
  z-index: 2;
  padding: 15px 14px;
  border-radius: 13px;
  background: rgba(15, 13, 12, 0.86);
  border: 1px solid rgba(255, 244, 232, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.4s var(--ease-editorial),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

.pipeline-glass-card:hover,
.pipeline-glass-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(245, 203, 167, 0.54);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(245, 203, 167, 0.14);
}

.pipeline-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pipeline-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-champagne);
}

.pipeline-step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-champagne);
  color: var(--text-on-accent);
  font-weight: 700;
  font-size: 0.62rem;
  display: grid;
  place-items: center;
}

.pipeline-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-ivory);
  margin-bottom: 4px;
}

.pipeline-card-summary {
  font-size: 0.73rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.pipeline-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pipeline-mini-tags span {
  font-size: 0.61rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 248, 240, 0.06);
  color: var(--text-secondary);
}

.pipeline-footer-note {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(11, 10, 9, 0.82);
  border: 1px solid rgba(255, 244, 232, 0.1);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(247, 243, 236, 0.88);
}

.pipeline-footer-note span:last-child {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-champagne);
  white-space: nowrap;
}

/* ==========================================================================
   LOWER BENTO INTERACTIVE CRAFT TRIO (Bauhaus Lab, Swiss Grid, Braun Dial)
   ========================================================================== */
.bento-labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lab-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 416px;
}

.lab-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lab-kicker {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-champagne);
  margin-bottom: 4px;
}

.lab-title {
  font-family: var(--font-serif-cn);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--accent-ivory);
}

.lab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lab-chip {
  background: #191614;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
}

.lab-chip:hover {
  color: var(--accent-ivory);
  border-color: var(--border-medium);
}

.lab-chip.is-active {
  background: rgba(245, 203, 167, 0.14);
  border-color: rgba(245, 203, 167, 0.48);
  color: var(--accent-champagne);
}

/* Lab 1: Bauhaus Physics Canvas */
.bauhaus-stage {
  position: relative;
  flex: 1;
  min-height: 224px;
  border-radius: 14px;
  background: #0b0a09;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: crosshair;
}

#bauhausCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Lab 2: Swiss Modular Grid Deconstructor */
.swiss-stage {
  position: relative;
  flex: 1;
  min-height: 224px;
  border-radius: 14px;
  background: #141210;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swiss-poster-art {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swiss-poster-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent-ivory);
}

.swiss-poster-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
}

.swiss-circles-deco {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 155px;
  height: 155px;
  pointer-events: none;
}

.swiss-overlay-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.swiss-layer {
  opacity: 0;
  transition: opacity 0.45s var(--ease-editorial);
}

.swiss-layer.is-on {
  opacity: 1;
}

/* Lab 3: Dieter Rams Braun Tactile Rotary Dial */
.braun-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 6px 4px;
}

.braun-dial-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  user-select: none;
  touch-action: none;
}

.braun-ticks-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.braun-tick {
  cursor: pointer;
  transition: stroke 0.25s ease, r 0.25s ease;
}

.braun-knob {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #2b2723 0%, #171513 55%, #0c0b0a 100%);
  border: 1px solid rgba(255, 244, 232, 0.16);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.78),
    inset 0 2px 3px rgba(255, 248, 240, 0.14),
    inset 0 -3px 8px rgba(0, 0, 0, 0.8);
  cursor: grab;
  transition: transform 0.42s var(--ease-editorial);
}

.braun-knob.is-dragging {
  cursor: grabbing;
  transition: none;
}

.braun-knob-indicator {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 3px;
  height: 16px;
  border-radius: 99px;
  background: var(--accent-champagne);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(245, 203, 167, 0.8);
}

.braun-knob-cap {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #1d1a17, #0e0d0c);
  border: 1px solid rgba(255, 244, 232, 0.08);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-champagne);
  pointer-events: none;
}

.braun-readout {
  text-align: center;
  min-height: 76px;
}

.braun-principle-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-ivory);
  margin-bottom: 2px;
}

.braun-principle-de {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--accent-champagne);
  margin-bottom: 5px;
}

.braun-principle-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.lab-foot-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.52;
}

/* ==========================================================================
   3. SEVEN EPOCHS CURATED MUSEUM GALLERY
   ========================================================================== */
.epoch-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 26px;
}

.epoch-tab {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 13px;
  background: #100f0d;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: all 0.35s var(--ease-editorial);
}

.epoch-tab:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.epoch-tab.is-active {
  background: linear-gradient(180deg, #1b1714 0%, #13110f 100%);
  border-color: rgba(245, 203, 167, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 22px rgba(245, 203, 167, 0.08);
}

.epoch-tab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.epoch-tab.is-active .epoch-tab-top {
  color: var(--accent-champagne);
}

.epoch-tab-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.epoch-stage {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  transition: box-shadow 0.6s ease;
}

.epoch-ambient-halo {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  opacity: 0.8;
  transition: background 0.8s ease;
}

.epoch-content {
  position: relative;
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-editorial);
}

.epoch-content.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.epoch-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-champagne);
}

.epoch-num-pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(245, 203, 167, 0.14);
  border: 1px solid rgba(245, 203, 167, 0.32);
}

.epoch-heading {
  font-family: var(--font-serif-cn);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--accent-ivory);
  line-height: 1.2;
  margin-bottom: 4px;
}

.epoch-en-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: rgba(245, 203, 167, 0.76);
  margin-bottom: 18px;
}

.epoch-tagline {
  font-size: 0.98rem;
  color: var(--accent-ivory);
  font-weight: 500;
  margin-bottom: 12px;
}

.epoch-desc {
  font-size: 0.89rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.epoch-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.epoch-work-card {
  padding: 11px 12px;
  border-radius: 11px;
  background: #171513;
  border: 1px solid var(--border-subtle);
}

.epoch-work-year {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-champagne);
  margin-bottom: 4px;
}

.epoch-work-name {
  font-size: 0.78rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.epoch-palette-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.swatch-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 6px;
  border-radius: var(--radius-pill);
  background: #171513;
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.swatch-pill:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  color: var(--accent-ivory);
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.epoch-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.circle-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #181614;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.circle-arrow-btn:hover {
  background: var(--accent-champagne);
  border-color: var(--accent-champagne);
  color: var(--text-on-accent);
}

/* Bespoke Architectural Generative Art Frame on Right of Epoch Stage */
.epoch-visual-frame {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 4.2;
  border-radius: 18px;
  background: #0b0a09;
  border: 1px solid rgba(245, 203, 167, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75);
}

.epoch-svg-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transition: opacity 0.35s ease, transform 0.55s var(--ease-editorial);
}

.epoch-svg-wrap.is-switching {
  opacity: 0;
  transform: scale(0.95);
}

.epoch-visual-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   4. TYPOGRAPHY & OPTICAL PROPORTION ATELIER
   ========================================================================== */
.type-atelier-shell {
  border-radius: var(--radius-xl);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.type-atelier-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 24px;
  background: #0f0e0c;
  border-bottom: 1px solid var(--border-subtle);
}

.type-specimen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.type-toggle-guides {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(245, 203, 167, 0.1);
  border: 1px solid rgba(245, 203, 167, 0.32);
  color: var(--accent-champagne);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.type-toggle-guides:not(.is-on) {
  background: #171513;
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.type-stage {
  position: relative;
  min-height: 290px;
  padding: 54px clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(245, 203, 167, 0.045), transparent 72%),
    #0a0908;
  overflow: hidden;
}

/* Optical Metric Hairlines */
.type-guides-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.type-guides-layer.is-hidden {
  opacity: 0;
}

.type-guide-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-top: 1px dashed rgba(245, 203, 167, 0.28);
}

.type-guide-line span {
  position: absolute;
  right: 18px;
  top: -16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(245, 203, 167, 0.62);
  text-transform: uppercase;
}

.guide-cap { top: 29%; }
.guide-x { top: 43%; border-top-color: rgba(126, 168, 149, 0.34); }
.guide-base { top: 57%; border-top-style: solid; border-top-color: rgba(245, 203, 167, 0.5); }
.guide-desc { top: 68%; }

.type-editable-display {
  position: relative;
  z-index: 2;
  color: var(--accent-ivory);
  outline: none;
  text-align: center;
  transition: font-family 0.25s ease;
  word-break: break-word;
}

.type-sub-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.type-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 20px;
  padding: 20px 24px;
  background: #11100e;
  border-top: 1px solid var(--border-subtle);
  align-items: center;
}

.slider-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.slider-label-row output {
  font-family: var(--font-mono);
  color: var(--accent-champagne);
}

.atelier-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 248, 240, 0.14);
  outline: none;
}

.atelier-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-champagne);
  border: 2px solid #141210;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(245, 203, 167, 0.5);
  transition: transform 0.2s ease;
}

.atelier-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.type-sample-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.type-ratio-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.55;
  color: var(--accent-champagne);
}

/* ==========================================================================
   5. CLASSICAL ↔ MODERN OPTICAL X-RAY LENS COMPARISON
   ========================================================================== */
.xray-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(245, 203, 167, 0.18);
  aspect-ratio: 16 / 9;
  max-height: 620px;
  width: 100%;
  background: #0a0908;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  box-shadow: var(--shadow-studio);
}

.xray-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.xray-painting {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xray-blueprint-layer {
  clip-path: inset(0 0 0 50%);
  background: #080706;
  will-change: clip-path;
}

.xray-painting-ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.25) brightness(0.26);
  opacity: 0.82;
}

.xray-wireframe-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.xray-badge {
  position: absolute;
  top: 20px;
  z-index: 5;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(11, 10, 9, 0.8);
  border: 1px solid rgba(245, 203, 167, 0.25);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent-ivory);
  pointer-events: none;
}

.xray-badge-left { left: 20px; }
.xray-badge-right { right: 20px; color: var(--accent-champagne); }

.xray-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(245, 203, 167, 0.3), var(--accent-champagne), rgba(245, 203, 167, 0.3));
  box-shadow: 0 0 18px rgba(245, 203, 167, 0.65);
  z-index: 6;
  transform: translateX(-50%);
  pointer-events: none;
}

.xray-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 12, 10, 0.92);
  border: 1.5px solid var(--accent-champagne);
  color: var(--accent-champagne);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(245, 203, 167, 0.35);
}

/* ==========================================================================
   6. GLOBAL COMMAND PALETTE (⌘K QUICK JUMP)
   ========================================================================== */
.cmd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 3, 3, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cmd-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cmd-dialog {
  width: min(580px, calc(100% - 32px));
  border-radius: 18px;
  background: #12100e;
  border: 1px solid rgba(245, 203, 167, 0.26);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 203, 167, 0.08);
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.32s var(--ease-editorial);
}

.cmd-backdrop.is-open .cmd-dialog {
  transform: translateY(0) scale(1);
}

.cmd-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--accent-ivory);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.cmd-input::placeholder {
  color: var(--text-muted);
}

.cmd-esc {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--border-subtle);
}

.cmd-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.cmd-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.cmd-item:hover,
.cmd-item.is-highlighted {
  background: rgba(245, 203, 167, 0.1);
  border-color: rgba(245, 203, 167, 0.24);
}

.cmd-item-title {
  font-size: 0.86rem;
  font-weight: 500;
}

.cmd-item-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.cmd-item-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--accent-champagne);
  white-space: nowrap;
}

/* Toast Notification */
.atelier-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 210;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(18, 16, 14, 0.94);
  border: 1px solid rgba(245, 203, 167, 0.36);
  color: var(--accent-ivory);
  font-size: 0.8rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.38s var(--ease-editorial);
}

.atelier-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile Precision)
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-callout {
    display: none;
  }

  .studio-body {
    grid-template-columns: 190px minmax(0, 1fr) 256px;
  }

  .bento-labs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-labs-grid .lab-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .section-header-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-desc {
    justify-self: start;
  }

  .studio-topbar {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .studio-breadcrumb {
    display: none;
  }

  .studio-body {
    grid-template-columns: 1fr;
    height: auto;
  }

  .studio-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    max-height: 170px;
  }

  .studio-canvas-viewport {
    height: 410px;
  }

  .studio-inspector {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    max-height: none;
  }

  .bento-upper-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-cards-row {
    grid-template-columns: 1fr;
  }

  .pipeline-connector-line {
    display: none;
  }

  .bento-labs-grid {
    grid-template-columns: 1fr;
  }

  .bento-labs-grid .lab-card:last-child {
    grid-column: auto;
  }

  .epoch-rail {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .epoch-rail::-webkit-scrollbar {
    display: none;
  }
  .epoch-tab {
    flex: 0 0 auto;
    min-width: 118px;
  }

  .epoch-stage {
    grid-template-columns: 1fr;
  }

  .epoch-works-grid {
    grid-template-columns: 1fr;
  }

  .type-controls-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 26px);
  }

  .eyebrow-pill {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    white-space: nowrap;
  }

  .orb-caption-meta {
    font-size: 0.58rem;
  }

  .nav-cmd-btn span:first-child {
    display: none;
  }

  .studio-view-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .bento-art-card {
    min-height: 420px;
  }

  .orb-node-btn {
    width: 54px;
    height: 54px;
  }

  .xray-frame {
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
