/* CineAssets Warsaw — Dark Grading Suite UI */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #0b0b0d;
  color: #e6e4df;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: #e59934; text-decoration: none; transition: color .18s ease; }
a:hover { color: #ffc168; }

.suite-bar {
  background: #121216;
  border-bottom: 1px solid #24242c;
  padding: 0 28px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f5f3ee;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
}
.reel-icon {
  width: 26px; height: 26px;
  border: 2px solid #e59934;
  border-radius: 50%;
  position: relative;
  animation: slowSpin 18s linear infinite;
}
.reel-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px dashed #e59934;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

.suite-nav { display: flex; gap: 26px; font-size: 13.5px; }
.suite-nav a { color: #91909a; font-weight: 500; padding: 18px 0; border-bottom: 2px solid transparent; }
.suite-nav a.is-active, .suite-nav a:hover { color: #f5f3ee; border-bottom-color: #e59934; }

.tc-readout {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #e59934;
  background: #1a1a20;
  border: 1px solid #2b2b35;
  padding: 5px 11px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
@media (max-width: 780px) { .tc-readout { display: none; } }

.stage { max-width: 1240px; margin: 0 auto; padding: 34px 28px 64px; }

/* Interactive Monitor */
.monitor-split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
  background: #131318;
  border: 1px solid #25252e;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 42px;
}
@media (max-width: 920px) { .monitor-split { grid-template-columns: 1fr; } }

.viewport {
  position: relative;
  min-height: 360px;
  background: #07080c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  transition: filter .45s ease;
}
.viewport.logc {
  filter: saturate(0.38) contrast(0.82) brightness(1.08);
}
.viewport.rec709 {
  filter: saturate(1.22) contrast(1.14) brightness(0.98);
}
.viewport.film2383 {
  filter: saturate(1.3) contrast(1.24) sepia(0.16) hue-rotate(-8deg);
}

.scene-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(235, 146, 52, 0.42), transparent 48%),
    radial-gradient(ellipse at 26% 65%, rgba(46, 119, 189, 0.38), transparent 55%),
    linear-gradient(180deg, #0b1320 0%, #1d2430 52%, #0b0c10 53%, #121014 100%);
  z-index: 0;
}
.bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  animation: drift 9s ease-in-out infinite alternate;
}
.b1 { width: 90px; height: 90px; background: #ff9d3b; top: 36%; left: 62%; }
.b2 { width: 54px; height: 54px; background: #ffd27d; top: 43%; left: 74%; animation-delay: -3s; }
.b3 { width: 70px; height: 70px; background: #3b82f6; top: 46%; left: 22%; animation-delay: -5s; }
@keyframes drift {
  from { transform: translate(-8px, -4px) scale(0.96); }
  to { transform: translate(12px, 6px) scale(1.06); }
}
.anamorphic-streak {
  position: absolute;
  top: 48%; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(120, 190, 255, 0.75), rgba(255, 198, 120, 0.9), transparent);
  box-shadow: 0 0 18px rgba(120, 190, 255, 0.65);
  z-index: 1;
}

.hud-top, .hud-bot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: rgba(245, 243, 238, 0.82);
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
}
.rec-dot {
  display: inline-block; width: 8px; height: 8px;
  background: #ef4444; border-radius: 50%; margin-right: 6px;
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.lut-switch { display: flex; gap: 6px; }
.lut-btn {
  background: rgba(18, 18, 24, 0.82);
  color: #b9b7c2;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 10px;
  font-size: 11px;
  font-family: inherit;
  border-radius: 3px;
  cursor: pointer;
}
.lut-btn.active {
  background: #e59934;
  color: #0b0b0d;
  border-color: #e59934;
  font-weight: 700;
}

.monitor-copy {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kicker {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  color: #e59934;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.18;
  color: #faf8f5;
  margin-bottom: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.monitor-copy p {
  color: #9e9ca8;
  font-size: 14.5px;
  margin-bottom: 22px;
}
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-amber {
  background: #e59934; color: #0c0c0e;
  font-weight: 700; font-size: 13.5px;
  padding: 10px 18px; border-radius: 4px; border: none; cursor: pointer;
}
.btn-amber:hover { background: #f3ad4d; color: #0c0c0e; }
.btn-ghost {
  background: #1b1b22; color: #e6e4df;
  border: 1px solid #2e2e3a;
  font-weight: 600; font-size: 13.5px;
  padding: 10px 16px; border-radius: 4px;
}
.btn-ghost:hover { border-color: #e59934; color: #fff; }

/* Filter bar & Bins */
.bin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #22222a;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.fpill {
  background: #15151b; color: #9a98a6;
  border: 1px solid #262630;
  padding: 6px 13px; border-radius: 4px;
  font-size: 12.5px; cursor: pointer; font-weight: 600;
}
.fpill.on, .fpill:hover { background: #242019; color: #e59934; border-color: #e59934; }

.search-in {
  background: #141419; border: 1px solid #2a2a35; color: #f0eee9;
  padding: 7px 12px; border-radius: 4px; font-size: 13px; min-width: 220px;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 18px;
}
.reel-card {
  background: #131318;
  border: 1px solid #23232c;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.reel-card:hover { transform: translateY(-3px); border-color: #e59934; }
.thumb {
  height: 138px;
  position: relative;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
}
.t-night { background: linear-gradient(135deg, #091224, #2b192e 58%, #6e351a); }
.t-baltic { background: linear-gradient(135deg, #16242b, #2e454d 55%, #6a7d82); }
.t-flare { background: radial-gradient(circle at 30% 50%, #d97724, #281326 60%, #09090d); }
.t-ind { background: linear-gradient(145deg, #1b2024, #2a3338 50%, #101316); }
.t-grain { background: repeating-linear-gradient(90deg, #1c1a17 0 2px, #25221d 2px 4px); }
.t-aerial { background: linear-gradient(160deg, #102536, #1f4c5c 60%, #c98a5b); }

.badge-cam {
  align-self: flex-start;
  background: rgba(0,0,0,0.68);
  padding: 3px 7px;
  border-radius: 3px;
  color: #f3f1ec;
  border: 1px solid rgba(255,255,255,0.14);
}
.badge-gb {
  align-self: flex-end;
  background: rgba(229, 153, 52, 0.92);
  color: #0b0b0d;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}
.reel-body { padding: 16px; }
.reel-body h3 { font-size: 15px; color: #f6f4ef; margin-bottom: 6px; font-weight: 600; }
.reel-body p { font-size: 13px; color: #8f8d99; margin-bottom: 12px; }
.reel-meta {
  display: flex; justify-content: space-between;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px; color: #b5b3be;
  border-top: 1px solid #202028; padding-top: 10px;
}

/* Specs & Forms */
.spec-panel {
  background: #131318; border: 1px solid #24242e; border-radius: 6px;
  padding: 26px; margin-bottom: 24px;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 14px; }
.spec-table th, .spec-table td {
  padding: 11px 14px; border-bottom: 1px solid #22222b; text-align: left;
}
.spec-table th { color: #9c9aa6; font-weight: 600; background: #18181f; }
.spec-table code {
  font-family: ui-monospace, Menlo, monospace; color: #e59934;
  background: #1e1b16; padding: 2px 6px; border-radius: 3px;
}

.form-grid { max-width: 540px; }
.fld { margin-bottom: 15px; }
.fld label { display: block; font-size: 12.5px; color: #b5b3be; margin-bottom: 6px; font-weight: 600; }
.fld input, .fld select, .fld textarea {
  width: 100%; background: #0d0d11; border: 1px solid #2c2c38;
  color: #f3f1ec; padding: 10px 12px; border-radius: 4px; font: inherit; font-size: 14px;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: #e59934; }
.toast {
  display: none; margin-top: 14px; padding: 12px 14px;
  background: #231c12; border: 1px solid #e59934; color: #ffd494;
  font-size: 13px; border-radius: 4px;
}

.suite-foot {
  border-top: 1px solid #1f1f27;
  padding: 24px 28px 36px;
  max-width: 1240px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #787684;
}
