/* ================================
   PROJECT PAGE — SIDEBAR
   ================================ */

.proj-sidebar-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  padding-top: 12px;
  min-height: 0;
}

.proj-title {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.48px;
  color: var(--text);
}

.proj-subtitle {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  letter-spacing: -0.16px;
  color: var(--text-body);
  margin-top: 6px;
}

/* Meta row: Company / Timeframe / Platform */
.proj-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.proj-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proj-meta-label {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.proj-meta-value {
  font-family: var(--font);
  font-size: 14.4px;
  font-weight: 400;
  line-height: 20.16px;
  letter-spacing: -0.144px;
  color: var(--text-body);
}

/* Context block */
.proj-context {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proj-context-label {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.proj-context-body {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.14px;
  color: var(--text-body);
}

/* ================================
   PROJECT PAGE — CONTENT PANELS
   ================================ */

.proj-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--pad) 0;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.proj-content::-webkit-scrollbar { display: none; }

.proj-panel {
  position: relative;
  height: 800px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e7e7e7;
}

.proj-panel::after {
  content: '';
  position: absolute;
  inset: 0 0 -0.44px 0;
  border: 1px solid rgba(219, 219, 219, 0.25);
  border-radius: 8px;
  pointer-events: none;
  z-index: 10;
}

/* ---- Panel colour variants ---- */
.proj-panel--dark        { background: #000a26; }
.proj-panel--navy        { background: radial-gradient(ellipse 70% 60% at 52% 80%, rgba(99,149,255,0.22) 0%, transparent 70%), #041A55; }
.proj-panel--blue        { background: #c0d1ff; }
.proj-panel--claudeops { background: radial-gradient(ellipse at 50% 52.5%, rgba(99,149,255,0.22) 0%, transparent 85%), #000a26; }
.proj-panel--conduct     { background: radial-gradient(ellipse 60% 55% at 51% 80%, rgba(255,255,255,0.24) 0%, transparent 85%), #000; }

/* ---- Panel image helpers ---- */
.proj-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating screenshot (ClaudeWatch, etc.) */
.proj-panel-screenshot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: auto;
  max-height: 86%;
  object-fit: contain;
}

/* ---- Single phone mockup (Helm) ---- */
.proj-phone-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 78%;
  aspect-ratio: 251.5 / 516.105;
}

.proj-phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.proj-phone-screen {
  position: absolute;
  left: 3.61%;
  top: 1.42%;
  width: 92.1%;
  height: 96.9%;
  object-fit: cover;
}

/* ---- Trio mockup (CLEAR projects) ---- */
.proj-trio {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 78%;
  aspect-ratio: 404 / 339;
}

.proj-trio-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-trio-screen {
  position: absolute;
  object-fit: cover;
}

.proj-trio-screen--1 { left: 3.47%; top: 4.60%; width: 33.84%; height: 93.9%;  }
.proj-trio-screen--2 { left: 42.19%; top: 1.22%; width: 23.74%; height: 87.85%; }
.proj-trio-screen--3 { left: 70.85%; top: 7.21%; width: 28.67%; height: 87.32%; }

/* ================================
   MOBILE
   ================================ */
@media (max-width: 809px) {
  .proj-title    { font-size: 20px; }
  .proj-subtitle { font-size: 14.4px; line-height: 20.16px; }

  .proj-content {
    flex-direction: column;
    overflow: visible;
    padding: 8px 16px 32px;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .proj-content > .proj-panel {
    flex: none;
    width: 100%;
    height: 380px;
  }
}
