html,body{margin:0;padding:0;background:#171310;}
/* Portfolio Builder — ported 1:1 from the design reference. Deliberately
   unlayered (not wrapped in @layer) so it always wins over Tailwind's base
   reset / Quanta tokens without a specificity fight; every selector is
   pbb-prefixed so it can't collide with anything else on the page. */

.pbb-root {
  --pbb-panel-w: 360px;
  height: 100dvh;
  font-family: "Instrument Sans", sans-serif;
  background: #0a0a0a;
}
.pbb-root * {
  box-sizing: border-box;
}
.pbb-root ::selection {
  background: #e8542a;
  color: #fff;
}

/* ---------- APP SHELL ---------- */
.pbb-app {
  display: flex;
  height: 100%;
  overflow: hidden;
}
.pbb-panel {
  width: var(--pbb-panel-w);
  min-width: var(--pbb-panel-w);
  height: 100%;
  overflow-y: auto;
  background: #efede7;
  color: #1a1815;
  padding: 22px 20px 90px;
  border-right: 1px solid #d8d4c9;
}
.pbb-panel::-webkit-scrollbar {
  width: 8px;
}
.pbb-panel::-webkit-scrollbar-thumb {
  background: #c9c3b4;
  border-radius: 4px;
}
.pbb-brand-mark {
  font-family: "Fraunces", serif;
  font-size: 19px;
  letter-spacing: 0.01em;
  margin: 0 0 3px;
}
.pbb-brand-sub {
  font-size: 11.5px;
  color: #7a7568;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.pbb-brand-by {
  font-size: 11px;
  color: #9a9484;
  margin: 0 0 22px;
}

.pbb-section {
  border-top: 1px solid #dcd8cb;
  padding: 16px 0;
}
.pbb-section:first-of-type {
  border-top: none;
}
.pbb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}
.pbb-section-head h3 {
  font-size: 13px;
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
}
.pbb-section-head .pbb-chev {
  font-size: 12px;
  color: #8c8676;
  transition: transform 0.25s;
  display: inline-block;
}
.pbb-section.pbb-closed .pbb-chev {
  transform: rotate(-90deg);
}
.pbb-section-body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pbb-section.pbb-closed .pbb-section-body {
  display: none;
}

.pbb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #5a564c;
}
.pbb-field input[type="text"],
.pbb-field input[type="email"],
.pbb-field textarea,
.pbb-field select {
  font-family: inherit;
  font-size: 13px;
  padding: 8px 9px;
  border: 1px solid #cfc9ba;
  border-radius: 6px;
  background: #fff;
  color: #1a1815;
  resize: vertical;
}
.pbb-field textarea {
  min-height: 52px;
}

.pbb-color-grid {
  display: flex;
  align-items: center;
}
.pbb-color-grid .pbb-cg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: #5a564c;
  text-transform: none;
  letter-spacing: 0;
}
.pbb-app input[type="color"] {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: none;
}
.pbb-app input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.pbb-app input[type="color"]::-webkit-color-swatch {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d3cdbd;
}

.pbb-presets {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pbb-preset-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #d6d0c1;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-size: 12.5px;
  text-align: left;
}
.pbb-preset-btn.pbb-active {
  border-color: #1a1815;
  background: #1a1815;
  color: #efede7;
}
.pbb-preset-dots {
  display: flex;
  gap: 3px;
}
.pbb-preset-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.pbb-btn {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 13px;
  border-radius: 7px;
  border: 1px solid #1a1815;
  background: #1a1815;
  color: #efede7;
  cursor: pointer;
  text-align: center;
}
.pbb-btn:hover {
  opacity: 0.85;
}
.pbb-btn.pbb-ghost {
  background: transparent;
  color: #1a1815;
}
.pbb-btn.pbb-small {
  padding: 6px 10px;
  font-size: 11.5px;
}
.pbb-btn.pbb-full {
  width: 100%;
}
.pbb-btn.pbb-danger {
  border-color: #b0392a;
  color: #b0392a;
  background: transparent;
}
.pbb-btn.pbb-light {
  background: #efede7;
  color: #1a1815;
  border-color: #efede7;
}

.pbb-upload-drop {
  border: 1.5px dashed #c9c3b4;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  color: #8c8676;
  cursor: pointer;
  background: #faf9f5;
}
.pbb-upload-drop:hover {
  border-color: #1a1815;
  color: #1a1815;
}
.pbb-hidden-input {
  display: none;
}

.pbb-item-card {
  border: 1px solid #dcd8cb;
  border-radius: 9px;
  padding: 10px;
  background: #faf9f5;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pbb-item-card .pbb-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pbb-item-card .pbb-item-top span {
  font-size: 11px;
  color: #8c8676;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pbb-thumb-preview {
  width: 100%;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
  background: #e5e2d8;
}
.pbb-stars-input {
  display: flex;
  gap: 3px;
}
.pbb-stars-input button {
  cursor: pointer;
  font-size: 15px;
  color: #d6d0c1;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}
.pbb-stars-input button.pbb-on {
  color: #e8542a;
}

.pbb-logo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dcd8cb;
  border-radius: 20px;
  padding: 5px 6px 5px 10px;
  background: #fff;
  font-size: 11.5px;
}
.pbb-logo-chip .pbb-thumb-bg {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(45deg, #e2ded2 25%, transparent 25%),
    linear-gradient(-45deg, #e2ded2 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e2ded2 75%),
    linear-gradient(-45deg, transparent 75%, #e2ded2 75%);
  background-size: 8px 8px;
  background-position:
    0 0,
    0 4px,
    4px -4px,
    -4px 0;
}
.pbb-logo-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.pbb-logo-chip .pbb-bg-btn {
  border: none;
  background: #eee;
  border-radius: 9px;
  padding: 0 7px;
  height: 18px;
  font-size: 9.5px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  white-space: nowrap;
}
.pbb-logo-chip .pbb-bg-btn:hover {
  background: #e0ddd0;
}
.pbb-logo-chip .pbb-bg-btn.pbb-active {
  background: #1a1815;
  color: #efede7;
}
.pbb-logo-chip button.pbb-rm-btn {
  border: none;
  background: #eee;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  flex-shrink: 0;
}
.pbb-logo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pbb-small-note {
  font-size: 11px;
  color: #8c8676;
  line-height: 1.5;
}

/* ---------- PREVIEW ---------- */
.pbb-preview-wrap {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  background: #0a0a0a;
  position: relative;
  transform: translateZ(0);
}
.pbb-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #232323;
}
.pbb-toolbar .pbb-tw-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8c8676;
  font-size: 12px;
}
.pbb-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}
.pbb-toolbar .pbb-tw-right {
  display: flex;
  gap: 8px;
}

/* ---------- SITE ---------- */
.pbb-site {
  background: var(--pbb-bg);
  color: var(--pbb-text);
  font-family: "Instrument Sans", sans-serif;
  position: relative;
  cursor: none;
}
.pbb-site .pbb-cform input,
.pbb-site .pbb-cform textarea,
.pbb-site .pbb-cform button {
  cursor: auto;
}
.pbb-site h1,
.pbb-site h2,
.pbb-site h3,
.pbb-site .pbb-heading-font {
  font-family: "Fraunces", serif;
  font-weight: 450;
  margin: 0;
}
.pbb-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 30;
  transition:
    background 0.3s,
    border-radius 0.3s;
}
.pbb-site-nav.pbb-nav-corners-round {
  border-radius: 16px;
}
.pbb-site-nav.pbb-nav-corners-square {
  border-radius: 0;
}
.pbb-site-nav.pbb-nav-pos-floating {
  padding: 14px 22px;
  left: 6vw;
  right: 6vw;
  top: 18px;
  background: rgba(28, 22, 17, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pbb-site-nav.pbb-nav-pos-integrated {
  padding: 20px 6vw;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  background: var(--pbb-bg);
  border: none;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}
.pbb-site-nav.pbb-nav-pos-floating.pbb-nav-scroll-normal {
  position: absolute;
}
.pbb-site-nav.pbb-nav-pos-floating.pbb-nav-scroll-fixed {
  position: fixed;
}
.pbb-site-nav.pbb-nav-pos-integrated.pbb-nav-scroll-normal {
  position: relative;
}
.pbb-site-nav.pbb-nav-pos-integrated.pbb-nav-scroll-fixed {
  position: fixed;
}

.pbb-site-nav .pbb-nm {
  font-family: "Fraunces", serif;
  font-size: 16.5px;
  color: #fff;
  white-space: nowrap;
}
.pbb-site-nav .pbb-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b9b3a6;
}
.pbb-site-nav .pbb-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.pbb-site-nav .pbb-links a:hover {
  color: #fff;
}
.pbb-site-nav .pbb-links a.pbb-active {
  color: #fff;
  font-weight: 700;
}
.pbb-site-nav .pbb-socials {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pbb-site-nav .pbb-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.pbb-site-nav .pbb-socials a:hover {
  background: rgba(255, 255, 255, 0.26);
}
.pbb-site-nav .pbb-socials svg {
  width: 15px;
  height: 15px;
}
.pbb-site-nav.pbb-nav-pos-integrated .pbb-nm {
  color: var(--pbb-text);
}
.pbb-site-nav.pbb-nav-pos-integrated .pbb-links {
  color: var(--pbb-muted);
}
.pbb-site-nav.pbb-nav-pos-integrated .pbb-links a:hover,
.pbb-site-nav.pbb-nav-pos-integrated .pbb-links a.pbb-active {
  color: var(--pbb-text);
}
.pbb-site-nav.pbb-nav-pos-integrated .pbb-socials a {
  background: rgba(128, 128, 128, 0.15);
  color: var(--pbb-text);
}
.pbb-site-nav.pbb-nav-pos-integrated .pbb-socials a:hover {
  background: rgba(128, 128, 128, 0.28);
}
@media (max-width: 760px) {
  .pbb-site-nav .pbb-links {
    display: none;
  }
}

.pbb-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  cursor: none;
}
.pbb-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
}
.pbb-hero .pbb-no-vid {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 15%, rgba(255, 255, 255, 0.05), transparent 60%), var(--pbb-bg);
}
.pbb-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 6vw 7vw;
  width: 100%;
}
.pbb-hero .pbb-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pbb-accent);
  margin-bottom: 14px;
  display: block;
}
.pbb-hero h1,
.pbb-hero .pbb-hero-title {
  font-size: clamp(38px, 6.6vw, 92px);
  line-height: 0.98;
  max-width: 16ch;
  letter-spacing: -0.01em;
}
.pbb-hero h1 em,
.pbb-hero .pbb-hero-title em {
  font-style: italic;
  color: var(--pbb-accent);
}
.pbb-hero p.pbb-sub {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 15.5px;
  color: #e8e4d8;
  opacity: 0.85;
  line-height: 1.6;
}

.pbb-marquee-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pbb-marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: pbb-scroll-left 26s linear infinite;
}
@keyframes pbb-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.pbb-marquee-track .pbb-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0.55;
  filter: grayscale(1);
  transition:
    opacity 0.3s,
    filter 0.3s;
}
.pbb-marquee-track .pbb-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}
.pbb-marquee-track img {
  height: 26px;
  max-width: 120px;
  object-fit: contain;
}
.pbb-marquee-track .pbb-word {
  font-family: "Fraunces", serif;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--pbb-text);
}

.pbb-work {
  padding: 9vw 6vw 6vw;
}
.pbb-work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 38px;
  flex-wrap: wrap;
  gap: 14px;
}
.pbb-work-head h2,
.pbb-work-head .pbb-heading-2 {
  font-size: clamp(26px, 3.4vw, 42px);
}
.pbb-work-head p {
  color: var(--pbb-muted);
  font-size: 13.5px;
  max-width: 34ch;
  margin: 0;
}
.pbb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
}
.pbb-project-card {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pbb-surface);
  cursor: none;
  border-radius: 18px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.pbb-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.85);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s;
}
.pbb-project-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(0.7);
}
.pbb-project-card .pbb-pc-media {
  position: absolute;
  inset: 0;
}
.pbb-project-card .pbb-pc-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  z-index: 3;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.pbb-project-card:hover .pbb-pc-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0, 0, 0, 0.6);
}
.pbb-project-card .pbb-pc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 45%);
}
.pbb-project-card .pbb-pc-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  transform: translateY(10px);
  opacity: 0.92;
  transition:
    transform 0.4s,
    opacity 0.4s;
}
.pbb-project-card:hover .pbb-pc-info {
  transform: translateY(0);
  opacity: 1;
}
.pbb-project-card .pbb-pc-tag {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pbb-accent);
  display: block;
  margin-bottom: 6px;
}
.pbb-project-card .pbb-pc-title {
  font-size: 20px;
}
.pbb-project-card .pbb-pc-client {
  font-size: 12.5px;
  color: var(--pbb-muted);
  margin-top: 3px;
}

/* video lightbox — deliberately rendered OUTSIDE .pbb-site (see PortfolioBuilder.tsx)
   so it isn't affected by .pbb-site's cursor:none, and sits above everything in
   the preview pane instead of being clipped by a card's own stacking context. */
.pbb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 7, 6, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw;
  cursor: default;
  animation: pbb-lightbox-in 0.2s ease;
}
@keyframes pbb-lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.pbb-lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.pbb-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pbb-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.pbb-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 760px) {
  .pbb-lightbox {
    padding: 8vw 5vw;
  }
  .pbb-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

.pbb-reviews {
  padding: 6vw;
  background: var(--pbb-surface);
}
.pbb-reviews-head {
  margin-bottom: 34px;
}
.pbb-reviews-head h2,
.pbb-reviews-head .pbb-heading-2 {
  font-size: clamp(24px, 3vw, 36px);
}
.pbb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.pbb-review-card {
  background: var(--pbb-bg);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pbb-review-card .pbb-stars {
  color: var(--pbb-accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.pbb-review-card p.pbb-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--pbb-text);
  opacity: 0.92;
  margin: 0 0 16px;
}
.pbb-review-card .pbb-who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}
.pbb-review-card .pbb-who .pbb-initial {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pbb-accent);
  color: var(--pbb-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 13px;
}
.pbb-review-card .pbb-who .pbb-role {
  color: var(--pbb-muted);
}

.pbb-contact {
  padding: 9vw 6vw;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.pbb-contact-left {
  padding-top: 6px;
}
.pbb-contact .pbb-tag {
  display: inline-block;
  color: var(--pbb-accent-text);
  background: var(--pbb-accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.pbb-contact h2,
.pbb-contact .pbb-heading-2 {
  font-size: clamp(30px, 3.6vw, 48px);
  max-width: 12ch;
  margin: 0 0 22px;
  line-height: 1.05;
}
.pbb-contact-left p {
  font-size: 14.5px;
  color: var(--pbb-muted);
  margin: 0;
}
.pbb-contact-left p a {
  color: var(--pbb-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pbb-cform {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pbb-cform input,
.pbb-cform textarea {
  background: #fff;
  border: none;
  border-radius: 14px;
  color: #2a2620;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14.5px;
  padding: 17px 20px;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.pbb-cform textarea {
  min-height: 130px;
}
.pbb-cform input::placeholder,
.pbb-cform textarea::placeholder {
  color: #9a9488;
}
.pbb-cform input:focus,
.pbb-cform textarea:focus {
  box-shadow: 0 0 0 2px var(--pbb-accent);
}
.pbb-cform button {
  margin-top: 2px;
  background: var(--pbb-accent);
  border: none;
  color: var(--pbb-accent-text);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 17px 26px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  transition: filter 0.2s;
}
.pbb-cform button:hover {
  filter: brightness(0.95);
}
.pbb-form-msg {
  font-size: 12.5px;
  color: var(--pbb-muted);
  min-height: 16px;
}
@media (max-width: 820px) {
  .pbb-contact {
    grid-template-columns: 1fr;
  }
}
.pbb-site-footer {
  padding: 22px 6vw;
  display: flex;
  justify-content: space-between;
  color: var(--pbb-muted);
  font-size: 11.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* cursor */
#pbb-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 1cm;
  height: 1cm;
  border-radius: 50%;
  border: 1px solid var(--pbb-text, #f5f1e8);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%) scale(0);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.25s;
  opacity: 0;
}
#pbb-cursor.pbb-show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.85;
}
#pbb-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--pbb-accent, #e8542a);
  filter: blur(4px);
  z-index: -1;
}

@media (max-width: 900px) {
  .pbb-app {
    flex-direction: column;
  }
  .pbb-panel {
    width: 100%;
    min-width: 0;
    height: auto;
    max-height: 46vh;
    order: 2;
    border-right: none;
    border-top: 1px solid #d8d4c9;
  }
  .pbb-preview-wrap {
    order: 1;
    height: 54vh;
  }
  #pbb-cursor {
    display: none;
  }
  .pbb-hero,
  .pbb-project-card {
    cursor: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pbb-marquee-track {
    animation: none;
  }
  #pbb-cursor {
    display: none;
  }
}