:root {
  --bg-canvas: #0F0F0F;
  --bg-card: #161616;
  --bg-card-inner: #121212;
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text-main: #FFFFFF;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;
  --accent: #4E7BFF;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: #E5E5E5;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.pb-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.pb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(12px);
}
.pb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.pb-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.pb-brand img {
  height: 32px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}
.pb-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.pb-nav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 2px;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.pb-nav-btn:hover, .pb-nav-btn.is-active {
  color: #fff;
  font-weight: 600;
}
.pb-cta {
  background: #27272A;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.pb-cta:hover {
  background: #fff;
  color: #09090B;
}

/* Bento Grid */
.pb-main { padding-top: 40px; min-height: 70vh; }
.pb-view { display: none; }
.pb-view.is-active { display: block; }

.pb-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.pb-col-6 { grid-column: span 6; }
.pb-col-3 { grid-column: span 3; }
.pb-col-4 { grid-column: span 4; }
.pb-col-8 { grid-column: span 8; }
.pb-col-12 { grid-column: span 12; }

.pb-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--border-hairline);
  background: linear-gradient(145deg, #1A1A1A 0%, #141414 55%, #111111 100%);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pb-card.is-clickable:hover {
  border-color: var(--border-hover);
}

.pb-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.pb-card.is-clickable:hover .pb-arrow {
  background: #fff;
  color: #09090B;
  border-color: #fff;
}

.pb-hero-flex {
  display: flex;
  align-items: center;
  gap: 24px;
}
.pb-avatar-box {
  width: 210px;
  height: 224px;
  flex-shrink: 0;
  border-radius: 26px 12px 26px 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #7EA2FF 60%, #B9CEFF 100%);
  overflow: hidden;
}
.pb-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pb-kicker { font-size: 12px; color: var(--text-muted); margin: 0; font-weight: 500; }
.pb-h1 { font-size: 34px; line-height: 1.12; font-weight: 600; color: #fff; margin: 6px 0 12px; letter-spacing: -0.02em; }
.pb-h2 { font-size: 18px; font-weight: 600; color: #fff; margin: 4px 0 0; }
.pb-body { font-size: 14px; color: var(--text-muted); margin: 0; }

.pb-marquee-wrap {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  background: #141414;
  padding: 12px 20px;
  margin-bottom: 20px;
}
.pb-marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  font-size: 12px;
  color: var(--text-muted);
  animation: pbMarquee 28s linear infinite;
}
@keyframes pbMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pb-split-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  flex: 1;
}

.pb-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px 0;
}
.pb-service-item {
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.pb-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.pb-metric-box {
  background: var(--bg-card-inner);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 24px 14px;
  text-align: center;
}
.pb-metric-val {
  display: block;
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.pb-metric-lbl {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.pb-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-card-inner);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 22px;
}
.pb-social-circle {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #1A1A1A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}
.pb-social-circle:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.pb-works-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.pb-filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--border-hairline);
  background: #151515;
}
.pb-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 10px;
}
.pb-filter-btn.is-active {
  background: #fff;
  color: #09090B;
}
.pb-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pb-project-thumb {
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(135deg, #17171B 0%, #0E0E11 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pb-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pb-form-group { margin-bottom: 16px; }
.pb-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.pb-input, .pb-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-hairline);
  background: #1E1E22;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.pb-btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
}

.pb-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pb-modal.is-open { display: flex; }
.pb-modal-box {
  position: relative;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #141414;
  padding: 32px;
}

.pb-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 64px;
  padding: 44px 24px;
  text-align: center;
}
.pb-footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .pb-col-6, .pb-col-3, .pb-col-4, .pb-col-8 { grid-column: span 12; }
  .pb-works-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pb-nav, .pb-cta { display: none; }
  .pb-hero-flex { flex-direction: column; align-items: flex-start; }
  .pb-avatar-box { width: 100%; height: 220px; }
  .pb-split-2, .pb-works-grid, .pb-metrics-grid { grid-template-columns: 1fr; }
}
