* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #050608;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
}

.cbm-portfolio-page {
  width: 100%;
  min-height: 100vh;
}

/* ============================= */
/* HEADER */
/* ============================= */

.cbm-portfolio-header {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 150px;
  padding: 34px 7.2%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cbm-logo {
  color: rgb(255,240,227);
  text-decoration: none;
}

.cbm-logo h1 {
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: 0.85;
  font-weight: 850;
  letter-spacing: -0.055em;
  color: rgb(255,240,227);
}

.cbm-logo p {
  margin-top: 10px;
  padding-left: 40px;
  font-size: 14px;
  letter-spacing: 0.68em;
  font-weight: 500;
  opacity: 0.88;
}

.cbm-nav {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 62px);
  padding-top: 18px;
}

.cbm-nav a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 760;
  padding: 8px 0;
  transition:
    color 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
}

.cbm-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(184, 121, 9, 0),
      rgba(184, 121, 9, 1),
      rgba(184, 121, 9, 0.85),
      rgba(184, 121, 9, 0)
    );
  transform: translateX(-50%);
  box-shadow:
    0 0 12px rgba(184, 121, 9, 0.45),
    0 0 18px rgba(184, 121, 9, 0.25);
  transition: width 0.35s ease;
}

.cbm-nav a:hover,
.cbm-nav a.active {
  color: #fff4df;
  transform: translateY(-2px);
  text-shadow:
    0 0 12px rgba(184, 121, 9, 0.24),
    0 0 18px rgba(184, 121, 9, 0.12);
}

.cbm-nav a:hover::after,
.cbm-nav a.active::after {
  width: 100%;
}

/* Header button */
.cbm-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  margin-top: 6px;
  padding: 20px 36px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cbm-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 70%;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255, 184, 56, 0.55),
      rgba(94, 220, 255, 0.35),
      transparent
    );
  transform: skewX(-18deg);
  transition: left 0.65s ease;
}

.cbm-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: #ffffff;
  z-index: -2;
  transition: background 0.3s ease;
}

.cbm-btn span {
  font-size: 34px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.cbm-btn:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 14px 35px rgba(255, 255, 255, 0.13),
    0 0 22px rgba(244, 181, 54, 0.24),
    0 0 34px rgba(94, 220, 255, 0.14);
}

.cbm-btn:hover::before {
  left: 120%;
}

.cbm-btn:hover::after {
  background:
    linear-gradient(135deg, #ffffff 0%, #fff8e7 48%, #eefbff 100%);
}

.cbm-btn:hover span {
  transform: translateX(6px);
}

/* ============================= */
/* PORTFOLIO WORK SECTION */
/* ============================= */

.cbm-work-section {
  position: relative;
  overflow: hidden;
  padding: 120px 7.2% 130px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 184, 56, 0.16), transparent 30%),
    radial-gradient(circle at 18% 80%, rgba(94, 220, 255, 0.055), transparent 28%),
    linear-gradient(135deg, #020306 0%, #050608 45%, #14100a 100%);
}

#cbmPortfolioCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.cbm-work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72),
      transparent 38%,
      rgba(0, 0, 0, 0.45)
    ),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.42) 82%);
}

/* ============================= */
/* PORTFOLIO BACKGROUND ELEMENTS */
/* ============================= */

.cbm-portfolio-bg-elements {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.cbm-bg-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(255, 184, 56, 0.045);
  opacity: 0.72;
  animation: cbmBgChipFloat 8s ease-in-out infinite;
}

.chip-one {
  top: 11%;
  left: 41%;
}

.chip-two {
  top: 63%;
  left: 4%;
  animation-delay: 1.4s;
}

.chip-three {
  right: 6%;
  top: 31%;
  animation-delay: 2.2s;
}

.cbm-bg-frame {
  position: absolute;
  width: 190px;
  height: 130px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.24),
    0 0 30px rgba(255, 184, 56, 0.045),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  opacity: 0.46;
  transform-style: preserve-3d;
  animation: cbmBgFrameDrift 10s ease-in-out infinite;
}

.cbm-bg-frame::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 16px;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 184, 56, 0.42),
      rgba(94, 220, 255, 0.24),
      transparent
    );
}

.cbm-bg-frame i {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.cbm-bg-frame i:nth-child(1) {
  top: 48px;
  right: 40px;
}

.cbm-bg-frame i:nth-child(2) {
  top: 70px;
  right: 70px;
}

.cbm-bg-frame i:nth-child(3) {
  top: 92px;
  right: 28px;
}

.frame-one {
  top: 19%;
  left: 6%;
  transform: rotate(-8deg) rotateY(18deg);
}

.frame-two {
  right: 7%;
  bottom: 13%;
  transform: rotate(7deg) rotateY(-16deg);
  animation-delay: 1.6s;
}

.cbm-bg-stat {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 28px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 184, 56, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.26),
    0 0 28px rgba(94, 220, 255, 0.045);
  opacity: 0.52;
  animation: cbmBgStatPulse 7s ease-in-out infinite;
}

.cbm-bg-stat strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.cbm-bg-stat small {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-one {
  top: 72%;
  left: 41%;
}

.stat-two {
  top: 8%;
  right: 22%;
  animation-delay: 1.2s;
}

.cbm-bg-line {
  position: absolute;
  height: 1px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 184, 56, 0.36),
      rgba(94, 220, 255, 0.18),
      transparent
    );
  box-shadow:
    0 0 14px rgba(255, 184, 56, 0.18),
    0 0 18px rgba(94, 220, 255, 0.08);
  opacity: 0.48;
  animation: cbmBgLineTravel 7.5s ease-in-out infinite;
}
.cbm-ig-hint {
  display: block;
  margin-top: 14px;
  color: #b87909;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}



.line-one {
  top: 24%;
  left: -20%;
  width: 54%;
  transform: rotate(-12deg);
}

.line-two {
  bottom: 28%;
  right: -20%;
  width: 48%;
  transform: rotate(10deg);
  animation-delay: 2s;
}

.cbm-work-orb {
  position: absolute;
  right: -160px;
  top: 180px;
  width: 480px;
  height: 480px;
  z-index: 0;
  opacity: 0.46;
  pointer-events: none;
  animation: cbmWorkOrbFloat 10s ease-in-out infinite;
}

.cbm-work-orb span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(184, 121, 9, 0.22);
  box-shadow:
    0 0 34px rgba(255, 184, 56, 0.08),
    inset 0 0 40px rgba(94, 220, 255, 0.035);
}

.cbm-work-orb span:nth-child(1) {
  transform: rotateX(68deg) rotateZ(12deg);
}

.cbm-work-orb span:nth-child(2) {
  transform: rotateY(62deg) rotateZ(-18deg);
}

.cbm-work-orb span:nth-child(3) {
  transform: scale(0.66);
  border-color: rgba(94, 220, 255, 0.16);
}

.cbm-work-inner {
  position: relative;
  z-index: 3;
  max-width: 1540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 90px;
  align-items: start;
}

.cbm-work-left {
  position: sticky;
  top: 36px;
}

.cbm-work-intro {
  margin-bottom: 40px;
}

.cbm-work-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #b87909;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.cbm-work-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #b87909;
}

.cbm-work-intro h2 {
  color: rgba(255, 255, 255, 0.82);
   font-size: clamp(40px, 4vw, 64px); /* was clamp(56px, 5.4vw, 90px) */
  margin-bottom: 24px; 
  line-height: 1;
  letter-spacing: -0.075em;
  font-weight: 820;
}

.cbm-work-intro p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(18px, 1.6vw, 28px);;
  line-height: 1.42;
  letter-spacing: -0.05em;
  font-weight: 300;
}

/* ============================= */
/* 3D SHOWCASE DECK */
/* ============================= */

.cbm-showcase-stage {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  transform-style: preserve-3d;
}

/* Accordion body */
.cbm-project-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.cbm-project-item.is-open .cbm-project-body {
  max-height: 300px;
  opacity: 1;
}

.cbm-project-body-inner {
  padding: 0 0 28px 50px;
}

/* Chevron toggle arrow */
.cbm-project-chevron {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.35s ease, color 0.3s ease;
  flex-shrink: 0;
}

.cbm-project-item.is-open .cbm-project-chevron {
  transform: rotate(180deg);
  color: #b87909;
}

/* Make heading row a flex row to fit the chevron */
.cbm-project-heading {
  display: flex !important;
  align-items: center;
  gap: 16px;
}

.cbm-stage-glow {
  position: absolute;
  width: 78%;
  height: 54%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 45%, rgba(255, 184, 56, 0.18), transparent 44%),
    radial-gradient(circle at 65% 58%, rgba(94, 220, 255, 0.12), transparent 42%);
  filter: blur(36px);
  opacity: 0.75;
  animation: cbmStageGlowPulse 5.5s ease-in-out infinite;
}

.cbm-stage-shadow {
  position: absolute;
  bottom: 42px;
  width: 62%;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  filter: blur(30px);
  transform: rotateX(66deg);
  opacity: 0.75;
  animation: cbmStageShadowFloat 5.5s ease-in-out infinite;
}

.cbm-browser-card {
  position: relative;
  width: min(100%, 760px);
  height: 900px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(8, 9, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 44px 130px rgba(0, 0, 0, 0.62),
    0 0 55px rgba(255, 184, 56, 0.08),
    0 0 70px rgba(94, 220, 255, 0.045),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform-style: preserve-3d;
  will-change: transform;
  animation: cbmBrowserFloat 6.4s ease-in-out infinite;
}

.cbm-browser-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.34),
      rgba(255, 184, 56, 0.08),
      rgba(94, 220, 255, 0.1),
      rgba(255, 255, 255, 0.08)
    );
  padding: 1px;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0.85;
}
.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cbm-browser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 45%),
      rgba(255, 255, 255, 0.16),
      rgba(94, 220, 255, 0.06) 20%,
      transparent 48%
    );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cbm-browser-card:hover::after {
  opacity: 1;
}

.cbm-browser-topbar {
  position: relative;
  z-index: 3;
  height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.cbm-browser-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cbm-browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.cbm-browser-dots span:nth-child(1) {
  background: rgba(255, 184, 56, 0.85);
}

.cbm-browser-dots span:nth-child(2) {
  background: rgba(255, 255, 255, 0.42);
}

.cbm-browser-dots span:nth-child(3) {
  background: rgba(94, 220, 255, 0.55);
}

.cbm-browser-topbar p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cbm-browser-screen {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #0c0c0d;
  transform-style: preserve-3d;
}

.cbm-browser-screen img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.9);
  transform: scale(1.06);
  transition:
    opacity 0.45s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease;
}

.cbm-browser-card:hover .cbm-browser-screen img {
  transform: scale(1.11);
  filter: brightness(0.82) saturate(1.05);
}

.cbm-screen-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 50% 60%, transparent 0%, rgba(0, 0, 0, 0.32) 84%);
}

.cbm-screen-shine {
  position: absolute;
  top: -30%;
  left: -75%;
  z-index: 3;
  width: 48%;
  height: 160%;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      rgba(94, 220, 255, 0.08),
      rgba(255, 184, 56, 0.12),
      transparent
    );
  transform: rotate(15deg);
  animation: cbmScreenShine 4.8s ease-in-out infinite;
}

.cbm-screen-floating-tag {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(8, 9, 12, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(255, 184, 56, 0.06);
  transform: translateZ(60px);
  animation: cbmTagFloat 5.2s ease-in-out infinite;
}

.cbm-screen-floating-tag span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b87909;
  box-shadow:
    0 0 12px rgba(184, 121, 9, 0.6),
    0 0 18px rgba(94, 220, 255, 0.2);
}

.tag-one {
  top: 26px;
  left: 26px;
}

.tag-two {
  right: 26px;
  bottom: 28px;
  animation-delay: 1.1s;
}

.cbm-browser-caption {
  position: relative;
  z-index: 3;
  padding: 28px 30px 32px;
  background:
    linear-gradient(180deg, rgba(10, 11, 14, 0.95), rgba(5, 6, 8, 0.98));
  transform: translateZ(42px);
}

.cbm-browser-caption span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #b87909;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cbm-browser-caption span::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: #b87909;
}

.cbm-browser-caption strong {
  display: block;
  color: #ffffff;
  font-size: clamp(30px, 2.7vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

/* ============================= */
/* PROJECT LIST */
/* ============================= */

.cbm-work-right {
  padding-top: 0;
  margin-top: 200px;
}

.cbm-work-right a{
  font-weight: 200;
}

.cbm-project-item {
  position: relative;
  padding: 44px 0 30px;
  border-bottom: 1px solid rgba(184, 121, 9, 0.42);
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.cbm-project-item::before {
  content: "";
  position: absolute;
  left: -34px;
  right: -34px;
  top: 18px;
  bottom: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 184, 56, 0.12), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(94, 220, 255, 0.055), transparent 32%),
    rgba(255, 255, 255, 0.025);
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.cbm-project-item:hover,
.cbm-project-item.is-active {
  transform: translateX(10px);
}

.cbm-project-item:hover::before,
.cbm-project-item.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.cbm-project-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.cbm-project-heading span {
  color: #b87909;
  font-size: 48px;
  line-height: 0.9;
  transition:
    transform 0.35s ease,
    text-shadow 0.35s ease;
}

.cbm-project-heading h3 {
  color: rgba(255, 255, 255, 0.82);
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.07em;
  font-weight: 820;
  transition: color 0.35s ease;
}

.cbm-project-item p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-left: 50px;
  color: rgba(255, 255, 255, 0.46);
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.42;
  letter-spacing: -0.045em;
  font-weight: 250;
  transition: color 0.35s ease;
}

.cbm-project-item:hover .cbm-project-heading span,
.cbm-project-item.is-active .cbm-project-heading span {
  transform: translateX(8px);
  text-shadow:
    0 0 14px rgba(184, 121, 9, 0.36),
    0 0 18px rgba(94, 220, 255, 0.1);
}

.cbm-project-item:hover .cbm-project-heading h3,
.cbm-project-item.is-active .cbm-project-heading h3 {
  color: #ffffff;
}

.cbm-project-item:hover p,
.cbm-project-item.is-active p {
  color: rgba(255, 255, 255, 0.68);
}

/* ============================= */
/* PROOF SECTION */
/* ============================= */

.cbm-proof-section {
  position: relative;
  overflow: hidden;
  padding: 92px 7.2% 110px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 184, 56, 0.12), transparent 26%),
    radial-gradient(circle at 86% 74%, rgba(94, 220, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  color: #111111;
}

.cbm-proof-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

.cbm-proof-light {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 184, 56, 0.18), rgba(94, 220, 255, 0.07) 38%, transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0.48;
  filter: blur(10px);
  z-index: 0;
}

.cbm-proof-inner {
  position: relative;
  z-index: 2;
  max-width: 1580px;
  margin: 0 auto;
}

.cbm-proof-inner h2 {
  max-width: 1000px;
  color: #292929;
  font-size: clamp(52px, 5.8vw, 92px);
  line-height: 1;
  letter-spacing: -0.07em;
  font-weight: 850;
  margin-bottom: 34px;
}

.cbm-proof-inner > p {
  max-width: 1400px;
  color: rgba(17, 17, 17, 0.68);
  font-size: clamp(25px, 2.6vw, 39px);
  line-height: 1.35;
  letter-spacing: -0.045em;
  font-weight: 520;
  margin-bottom: 88px;
}

.cbm-proof-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.cbm-proof-pill {
  position: relative;
  min-height: 96px;
  padding: 22px 36px;
  border-radius: 999px;
  border: 2px solid rgba(184, 121, 9, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 242, 224, 0.82), rgba(255, 255, 255, 0.72));
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.cbm-proof-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      transparent,
      rgba(255, 184, 56, 0.16),
      rgba(94, 220, 255, 0.08),
      transparent
    );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.cbm-proof-pill:hover {
  transform: translateY(-8px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.11),
    0 0 24px rgba(255, 184, 56, 0.1),
    0 0 30px rgba(94, 220, 255, 0.06);
}

.cbm-proof-pill:hover::before {
  transform: translateX(120%);
}

.cbm-proof-pill span {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 14px;
  background: #b87909;
  box-shadow:
    0 0 14px rgba(184, 121, 9, 0.36),
    0 0 22px rgba(255, 184, 56, 0.2);
}

.cbm-proof-pill strong {
  position: relative;
  z-index: 2;
  color: #050505;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 820;
}

/* ============================= */
/* FOOTER SECTION */
/* ============================= */

.cbm-footer {
  position: relative;
  overflow: hidden;
  background: #141414;
  color: #ffffff;
}

.cbm-footer-cta {
  position: relative;
  min-height: 270px;
  padding: 68px 7%;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  align-items: center;
  gap: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 18% 40%, rgba(255, 184, 56, 0.045), transparent 28%),
    radial-gradient(circle at 85% 50%, rgba(94, 220, 255, 0.035), transparent 26%),
    linear-gradient(180deg, #151515 0%, #121212 100%);
}

.cbm-footer-cta h2 {
  font-size: 50px;
  font-family:sans-serif;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -0.005em;
 color: rgb(255,240,227);
}

.cbm-footer-connector {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  perspective: 900px;
  transform-style: preserve-3d;
}

.cbm-connector-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.8) 18%,
      rgba(244, 181, 54, 0.9) 48%,
      rgba(94, 220, 255, 0.75) 72%,
      rgba(255, 255, 255, 0)
    );
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.12),
    0 0 24px rgba(244, 181, 54, 0.18),
    0 0 28px rgba(94, 220, 255, 0.14);
  transform: translateY(-50%) rotateX(58deg) rotateZ(-2deg);
  transform-origin: center;
  opacity: 0.85;
  animation: cbmConnectorBreathe 4.2s ease-in-out infinite;
}

.cbm-connector-line::before,
.cbm-connector-line::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(94, 220, 255, 0.5),
      rgba(244, 181, 54, 0.45),
      transparent
    );
  filter: blur(8px);
  opacity: 0.55;
}

.cbm-connector-line::after {
  top: 18px;
  opacity: 0.22;
  filter: blur(12px);
  transform: scaleX(0.82);
}

.cbm-connector-node {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff, #ffd179 45%, #5edcff 100%);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.28),
    0 0 22px rgba(244, 181, 54, 0.36),
    0 0 28px rgba(94, 220, 255, 0.24);
  transform: translate(-50%, -50%) rotateX(58deg) translateZ(18px);
  animation: cbmConnectorNodePulse 3.8s ease-in-out infinite;
}

.node-one {
  left: 22%;
  animation-delay: 0.1s;
}

.node-two {
  left: 52%;
  width: 15px;
  height: 15px;
  animation-delay: 0.45s;
}

.node-three {
  left: 82%;
  animation-delay: 0.8s;
}

.cbm-connector-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(94, 220, 255, 0.95),
      rgba(255, 220, 145, 0.95),
      transparent
    );
  box-shadow:
    0 0 18px rgba(94, 220, 255, 0.45),
    0 0 28px rgba(244, 181, 54, 0.34);
  transform: translateY(-50%) rotateX(58deg) rotateZ(-2deg);
  opacity: 0;
  animation: cbmConnectorSignal 3.4s ease-in-out infinite;
}

.cbm-footer-btn {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 420px;
  min-height: 120px;
  padding: 28px 54px;
  border-radius: 999px;
  background: #ffffff;
  color: black;
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.cbm-footer-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 70%;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255, 184, 56, 0.58),
      rgba(94, 220, 255, 0.32),
      transparent
    );
  transform: skewX(-18deg);
  transition: left 0.75s ease;
}

.cbm-footer-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: #ffffff;
  z-index: -2;
  transition: background 0.35s ease;
}

.cbm-footer-btn:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(255, 184, 56, 0.16),
    0 0 42px rgba(94, 220, 255, 0.12);
}

.cbm-footer-btn:hover::before {
  left: 120%;
}

.cbm-footer-btn:hover::after {
  background:
    linear-gradient(135deg, #ffffff 0%, #fff8e7 48%, #eefbff 100%);
}

.cbm-footer-main {
  position: relative;
  min-height: 470px;
  padding: 58px 7% 50px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 23% 45%, rgba(255, 184, 56, 0.06), transparent 28%),
    radial-gradient(circle at 80% 65%, rgba(94, 220, 255, 0.035), transparent 30%),
    linear-gradient(180deg, #151515 0%, #111111 100%);
}

.cbm-footer-map {
  position: absolute;
  inset: -8% -5%;
  z-index: 0;
  pointer-events: none;
  background-image: url("world-network.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 0.16;
  filter:
    sepia(1)
    saturate(1.6)
    hue-rotate(350deg)
    brightness(0.62)
    contrast(1.08);
  transform: scale(1.08);
  animation: cbmFooterMapDrift 16s ease-in-out infinite;
}

.cbm-footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(20, 20, 20, 0.88),
      rgba(20, 20, 20, 0.42),
      rgba(20, 20, 20, 0.88)
    ),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.32) 76%);
}

.cbm-footer-brand,
.cbm-footer-links {
  position: relative;
  z-index: 2;
}

.cbm-footer-logo {
  margin-bottom: 70px;
}

.cbm-footer-logo h3 {
  font-size: clamp(40px, 3.8vw, 58px);
  line-height: 0.9;
  font-weight: 850;
  letter-spacing: -0.055em;
  color: rgb(255,240,227);
}

.cbm-footer-logo p {
  margin-top: 12px;
  padding-left: 35px;
  color: rgb(255,240,227);
  font-size: 18px;
  letter-spacing: 0.68em;
  font-weight: 500;
}

.cbm-footer-text {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(20px, 1.5vw, 25px);
  line-height: 1.55;
  font-weight: 430;
}

.cbm-footer-contact {
  width: fit-content;
  display: block;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font-size: clamp(20px, 1.5vw, 25px);
  line-height: 1.4;
  transition:
    color 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
}

.cbm-footer-contact:hover {
  color: #f4b536;
  transform: translateX(6px);
  text-shadow:
    0 0 14px rgba(244, 181, 54, 0.3),
    0 0 18px rgba(94, 220, 255, 0.12);
}

.cbm-footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  gap: 110px;
  padding-top: 82px;
}

.cbm-footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cbm-footer-link-group a {
  position: relative;
  width: fit-content;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: clamp(20px, 1.45vw, 24px);
  font-weight: 430;
  transition:
    color 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
}

.cbm-footer-link-group a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(244, 181, 54, 0.95),
      rgba(94, 220, 255, 0.85),
      transparent
    );
  box-shadow:
    0 0 12px rgba(244, 181, 54, 0.45),
    0 0 16px rgba(94, 220, 255, 0.22);
  transition: width 0.32s ease;
}

.cbm-footer-link-group a:hover {
  color: #ffffff;
  transform: translateX(6px);
  text-shadow:
    0 0 14px rgba(244, 181, 54, 0.18),
    0 0 18px rgba(94, 220, 255, 0.12);
}

.cbm-footer-link-group a:hover::after {
  width: 100%;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

@keyframes cbmBgChipFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.38;
  }

  50% {
    transform: translate3d(14px, -18px, 0) rotate(2deg);
    opacity: 0.78;
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0.38;
  }
}

@keyframes cbmBgFrameDrift {
  0% {
    transform: translate3d(0, 0, 0) rotate(-8deg) rotateY(18deg);
    opacity: 0.3;
  }

  50% {
    transform: translate3d(18px, -16px, 0) rotate(-4deg) rotateY(28deg);
    opacity: 0.58;
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg) rotateY(18deg);
    opacity: 0.3;
  }
}

@keyframes cbmBgStatPulse {
  0% {
    transform: translateY(0) scale(0.96);
    opacity: 0.34;
  }

  50% {
    transform: translateY(-14px) scale(1.02);
    opacity: 0.62;
  }

  100% {
    transform: translateY(0) scale(0.96);
    opacity: 0.34;
  }
}

@keyframes cbmBgLineTravel {
  0% {
    opacity: 0;
    transform: translateX(-80px) rotate(-12deg);
  }

  18% {
    opacity: 0.58;
  }

  70% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
    transform: translateX(180px) rotate(-12deg);
  }
}

@keyframes cbmWorkOrbFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-20px, -14px, 0) rotate(12deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes cbmBrowserFloat {
  0% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: translateY(-12px) rotateX(1deg) rotateY(-1deg);
  }

  100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
}

@keyframes cbmStageGlowPulse {
  0% {
    opacity: 0.42;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.04);
  }

  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }
}

@keyframes cbmStageShadowFloat {
  0% {
    opacity: 0.58;
    transform: rotateX(66deg) scale(0.94);
  }

  50% {
    opacity: 0.78;
    transform: rotateX(66deg) scale(1.04);
  }

  100% {
    opacity: 0.58;
    transform: rotateX(66deg) scale(0.94);
  }
}

@keyframes cbmScreenShine {
  0% {
    left: -80%;
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  48% {
    opacity: 0.78;
  }

  76% {
    left: 128%;
    opacity: 0;
  }

  100% {
    left: 128%;
    opacity: 0;
  }
}

@keyframes cbmTagFloat {
  0% {
    transform: translateZ(60px) translateY(0);
  }

  50% {
    transform: translateZ(60px) translateY(-8px);
  }

  100% {
    transform: translateZ(60px) translateY(0);
  }
}

@keyframes cbmFooterMapDrift {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
    opacity: 0.13;
  }

  50% {
    transform: scale(1.12) translate3d(-18px, -8px, 0);
    opacity: 0.2;
  }

  100% {
    transform: scale(1.08) translate3d(0, 0, 0);
    opacity: 0.13;
  }
}

@keyframes cbmConnectorBreathe {
  0% {
    opacity: 0.48;
    transform: translateY(-50%) rotateX(58deg) rotateZ(-2deg) scaleX(0.94);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) rotateX(58deg) rotateZ(-2deg) scaleX(1);
  }

  100% {
    opacity: 0.48;
    transform: translateY(-50%) rotateX(58deg) rotateZ(-2deg) scaleX(0.94);
  }
}

@keyframes cbmConnectorNodePulse {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) rotateX(58deg) translateZ(10px) scale(0.86);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) rotateX(58deg) translateZ(24px) scale(1.12);
  }

  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) rotateX(58deg) translateZ(10px) scale(0.86);
  }
}

@keyframes cbmConnectorSignal {
  0% {
    left: 0%;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  62% {
    opacity: 0.85;
  }

  86% {
    left: calc(100% - 80px);
    opacity: 0;
  }

  100% {
    left: calc(100% - 80px);
    opacity: 0;
  }
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1100px) {
  .cbm-portfolio-header {
    min-height: auto;
    padding: 32px 6%;
  }

  .cbm-nav {
    display: none;
  }

  .cbm-work-section {
    padding: 86px 6% 100px;
  }

  .cbm-work-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .cbm-work-left {
    position: relative;
    top: auto;
  }

  .cbm-work-intro {
    margin-bottom: 46px;
  }

  .cbm-showcase-stage {
    min-height: 780px;
  }

  .cbm-browser-card {
    width: min(100%, 720px);
    min-height: 700px;
  }

  .cbm-browser-screen {
    height: 520px;
  }

  .cbm-proof-pills {
    grid-template-columns: 1fr;
  }

  .cbm-footer-cta {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 60px 6%;
  }

  .cbm-footer-connector {
    max-width: 520px;
  }

  .cbm-footer-btn {
    justify-self: start;
    min-width: 340px;
    min-height: 92px;
  }

  .cbm-footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cbm-footer-links {
    justify-content: start;
    padding-top: 30px;
    gap: 90px;
  }
}

@media (max-width: 640px) {
  .cbm-portfolio-header {
    padding: 26px 22px;
    align-items: flex-start;
  }

  .cbm-logo h1 {
    font-size: 30px;
  }

  .cbm-logo p {
    padding-left: 40px;
    font-size: 10px;
    letter-spacing: 0.48em;
  }

  .cbm-btn {
    padding: 13px 18px;
    gap: 16px;
    font-size: 14px;
  }

  .cbm-btn span {
    font-size: 26px;
  }

  .cbm-work-section {
    padding: 68px 22px 78px;
  }

  .cbm-work-intro h2 {
    font-size: 50px;
  }

  .cbm-work-intro p {
    font-size: 24px;
  }

  .cbm-showcase-stage {
    min-height: 640px;
  }

  .cbm-browser-card {
    min-height: 580px;
    border-radius: 22px;
  }

  .cbm-browser-topbar {
    height: 48px;
  }

  .cbm-browser-topbar p {
    font-size: 10px;
  }

  .cbm-browser-screen {
    height: 410px;
  }

  .cbm-screen-floating-tag {
    display: none;
  }

  .cbm-browser-caption {
    padding: 22px 20px 24px;
  }

  .cbm-browser-caption strong {
    font-size: 30px;
  }

  .cbm-bg-frame,
  .cbm-bg-stat,
  .cbm-bg-chip {
    opacity: 0.22;
    transform: scale(0.82);
  }

  .frame-one,
  .stat-two,
  .chip-three {
    display: none;
  }

  .cbm-project-item {
    padding: 36px 0 42px;
  }

  .cbm-project-heading {
    grid-template-columns: 28px 1fr;
  }

  .cbm-project-heading span {
    font-size: 38px;
  }

  .cbm-project-heading h3 {
    font-size: 34px;
  }

  .cbm-project-item p {
    padding-left: 44px;
    font-size: 21px;
  }

  .cbm-proof-section {
    padding: 72px 22px 82px;
  }

  .cbm-proof-inner h2 {
    font-size: 48px;
  }

  .cbm-proof-inner > p {
    font-size: 22px;
    margin-bottom: 50px;
  }

  .cbm-proof-pill {
    min-height: auto;
    border-radius: 28px;
    padding: 22px 24px;
  }

  .cbm-proof-pill strong {
    font-size: 24px;
  }

  .cbm-work-orb {
    display: none;
  }

  .cbm-footer-cta {
    padding: 52px 24px;
  }

  .cbm-footer-cta h2 {
    font-size: 44px;
  }

  .cbm-footer-connector {
    height: 80px;
  }

  .cbm-footer-btn {
    min-width: 100%;
    min-height: 78px;
    padding: 22px 28px;
    font-size: 18px;
  }

  .cbm-footer-main {
    padding: 48px 24px 50px;
  }

  .cbm-footer-logo {
    margin-bottom: 44px;
  }

  .cbm-footer-logo h3 {
    font-size: 38px;
  }

  .cbm-footer-logo p {
    padding-left: 20px;
    font-size: 13px;
    letter-spacing: 0.52em;
  }

  .cbm-footer-text,
  .cbm-footer-contact {
    font-size: 18px;
  }

  .cbm-footer-links {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cbm-footer-link-group {
    gap: 20px;
  }

  .cbm-footer-link-group a {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cbm-work-orb,
  .cbm-browser-card,
  .cbm-stage-glow,
  .cbm-stage-shadow,
  .cbm-screen-shine,
  .cbm-screen-floating-tag,
  .cbm-footer-map,
  .cbm-connector-line,
  .cbm-connector-node,
  .cbm-connector-pulse,
  .cbm-bg-chip,
  .cbm-bg-frame,
  .cbm-bg-stat,
  .cbm-bg-line {
    animation: none;
  }

  .cbm-nav a,
  .cbm-nav a::after,
  .cbm-btn,
  .cbm-btn::before,
  .cbm-btn::after,
  .cbm-btn span,
  .cbm-project-item,
  .cbm-project-item::before,
  .cbm-proof-pill,
  .cbm-footer-btn,
  .cbm-footer-btn::before,
  .cbm-footer-btn::after,
  .cbm-footer-contact,
  .cbm-footer-link-group a,
  .cbm-footer-link-group a::after {
    transition: none;
  }
}


/* ==========================================================
   CROSSBORDER — CONSOLIDATED FIX PATCH
   Replace EVERYTHING in portfolio.css from the comment
   "CROSSBORDER MARKETING — SHOWCASE FIX" downward with this.
   ========================================================== */

/* ── Section: lock to viewport ───────────────────────────── */
.cbm-work-section {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cbm-work-inner {
  height: 100%;
  max-height: calc(100vh - 120px);
  align-items: stretch;
  gap: 60px;
}

/* ── LEFT COLUMN ─────────────────────────────────────────── */
.cbm-work-left {
  position: relative;
  top: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cbm-work-intro {
  flex: 0 0 auto;
  margin-bottom: 20px;
}

.cbm-showcase-stage {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.cbm-browser-card {
  width: min(100%, 520px);
  height: 100%;
  max-height: calc(100vh - 260px);
  min-height: 0;
  border-radius: 22px;
  animation: cbmBrowserFloat 6.4s ease-in-out infinite;
}

.cbm-browser-screen {
  height: calc(100% - 58px - 100px);
  min-height: 120px;
}

.cbm-browser-caption {
  padding: 14px 22px 16px;
}
.cbm-browser-caption strong {
  font-size: clamp(18px, 1.8vw, 34px);
  line-height: 1.05;
}

.cbm-stage-glow,
.cbm-stage-shadow {
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   RIGHT COLUMN — 5 equal slots, nothing hidden
   ══════════════════════════════════════════════════════════ */
.cbm-work-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: visible;   /* was overflow:hidden — that hid the 5th item */
  padding-top: 0;
  margin-top: 0;
}

/* Each link: exactly 1/5 of the column height */
.project-link {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

/* Item fills its slot */
.cbm-project-item {
  width: 100%;
  padding: 0;
  border-top: none;
  border-bottom: 1px solid rgba(184, 121, 9, 0.42);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s ease;
}

/* No double-line below the last item */
.project-link:last-child .cbm-project-item {
  border-bottom: none;
}

/* ── Kill the overflowing ::before — use inset shadow instead */
.cbm-project-item::before {
  display: none !important;
}

.cbm-project-item:hover,
.cbm-project-item.is-active {
  transform: translateX(6px);
  box-shadow:
    inset 0 0 0 1px rgba(184, 121, 9, 0.10),
    inset 6px 0 28px rgba(255, 184, 56, 0.05),
    inset -6px 0 28px rgba(94, 220, 255, 0.025);
}

/* Heading */
.cbm-project-heading {
  flex: 0 0 auto;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center;
  gap: 16px;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.cbm-project-heading h3 {
  font-size: clamp(15px, 1.45vw, 28px);
  line-height: 1.1;
}
.cbm-project-heading span {
  font-size: clamp(18px, 1.7vw, 32px);
}

.cbm-project-item.is-open .cbm-project-heading {
  transform: translateY(-6px);
}

/* Description: absolutely inside its slot, clips cleanly */
.cbm-project-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 1;
  transition:
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.cbm-project-item.is-open .cbm-project-body {
  max-height: 100px;
  opacity: 1;
}

.cbm-project-body-inner {
  padding: 4px 0 6px 40px;
}

.cbm-project-body-inner p {
  padding-left: 0;
  font-size: clamp(11px, 0.95vw, 16px);
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.54);
  margin: 0;
}

.cbm-ig-hint {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #b87909;
  opacity: 0.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Hide raw <p> before JS moves it into .cbm-project-body */
.cbm-project-item > p {
  display: none;
}

/* Chevron */
.cbm-project-chevron {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.35s ease, color 0.3s ease;
  flex-shrink: 0;
}
.cbm-project-item.is-open .cbm-project-chevron {
  transform: rotate(180deg);
  color: #b87909;
}

/* ══════════════════════════════════════════════════════════
   PROOF PILLS — round dot, full-width
   ══════════════════════════════════════════════════════════ */
.cbm-proof-pills {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cbm-proof-pill {
  min-height: 88px;
  padding: 22px 36px 22px 30px;
  gap: 20px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.cbm-proof-pill > span {
  display: block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  border-radius: 50% !important;
  align-self: center !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: content-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cbm-proof-pill strong {
  font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.2;
  word-break: normal;
  overflow-wrap: break-word;
  flex: 1 1 auto;
}

/* ══════════════════════════════════════════════════════════
   PROOF SECTION — ZIP REVEAL
   overflow:hidden on the section means ::before / ::after
   are hard-clipped — they CANNOT bleed into the list above.
   ══════════════════════════════════════════════════════════ */
.cbm-proof-section {
  overflow: hidden;
  position: relative;
}

.cbm-proof-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  clip-path: inset(0% 0 0% 0);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.cbm-proof-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(184, 121, 9, 0.9) 30%,
    rgba(255, 184, 56, 1) 50%,
    rgba(184, 121, 9, 0.9) 70%,
    transparent
  );
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: 0 0 12px rgba(255, 184, 56, 0.6), 0 0 24px rgba(255, 184, 56, 0.3);
  opacity: 0;
}

.cbm-proof-section.cbm-is-unzipped::after {
  clip-path: inset(50% 0 50% 0);
}

.cbm-proof-section.cbm-is-unzipped::before {
  opacity: 1;
  transform: translateX(-50%) scaleY(1);
  animation: cbmZipLineFade 1.1s 0.25s ease forwards;
}

.cbm-proof-inner {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s 0.65s ease, transform 0.55s 0.65s ease;
}

.cbm-proof-section.cbm-is-unzipped .cbm-proof-inner {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cbmZipLineFade {
  0%   { opacity: 1; }
  55%  { opacity: 0.7; }
  100% { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — natural scroll on small screens
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cbm-work-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-top: 86px;
    padding-bottom: 100px;
    display: block;
  }

  .cbm-work-inner {
    height: auto;
    max-height: none;
    align-items: start;
  }

  .cbm-work-left { height: auto; }

  .cbm-showcase-stage {
    flex: none;
    min-height: 680px;
  }

  .cbm-browser-card {
    width: min(100%, 720px);
    height: auto;
    max-height: none;
    min-height: 600px;
  }

  .cbm-browser-screen { height: 460px; }
  .cbm-browser-caption { padding: 22px 24px 26px; }
  .cbm-browser-caption strong { font-size: clamp(24px, 2.6vw, 42px); }

  .cbm-work-right {
    height: auto;
    overflow: visible;
    display: block;
    margin-top: 0;
  }

  .project-link {
    flex: none;
    display: block;
  }

  .cbm-project-item {
    padding: 38px 0 44px;
    min-height: auto;
    overflow: visible;
    border-bottom: 1px solid rgba(184, 121, 9, 0.42);
  }

  /* Restore border on all items on mobile */
  .project-link:last-child .cbm-project-item {
    border-bottom: 1px solid rgba(184, 121, 9, 0.42);
  }

  .cbm-project-heading h3 { font-size: clamp(30px, 3.2vw, 52px); }
  .cbm-project-heading span { font-size: clamp(28px, 3vw, 46px); }
  .cbm-project-item.is-open .cbm-project-heading { transform: none; }

  .cbm-project-body {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .cbm-project-body-inner p { font-size: clamp(18px, 1.8vw, 28px); }
  .cbm-project-body-inner { padding: 0 0 24px 44px; }
}

@media (max-width: 640px) {
  .cbm-work-section { height: auto; overflow: visible; }
  .cbm-showcase-stage { min-height: 520px; }
  .cbm-browser-card { min-height: 480px; }
  .cbm-browser-screen { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .cbm-proof-section::after,
  .cbm-proof-section::before { display: none; }
  .cbm-proof-inner { opacity: 1; transform: none; transition: none; }
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — restore natural scroll on small screens
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* Section goes back to scrollable */
  .cbm-work-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-top: 86px;
    padding-bottom: 100px;
    display: block;
  }

  .cbm-work-inner {
    height: auto;
    max-height: none;
    align-items: start;
  }

  /* Left col back to normal */
  .cbm-work-left {
    height: auto;
  }

  .cbm-showcase-stage {
    flex: none;
    min-height: 680px;
  }

  .cbm-browser-card {
    width: min(100%, 720px);
    height: auto;
    max-height: none;
    min-height: 600px;
  }

  .cbm-browser-screen {
    height: 460px;
  }

  .cbm-browser-caption {
    padding: 22px 24px 26px;
  }

  .cbm-browser-caption strong {
    font-size: clamp(24px, 2.6vw, 42px);
  }

  /* Right col: natural stacking, no forced heights */
  .cbm-work-right {
    height: auto;
    overflow: visible;
    display: block;
  }

  .project-link {
    flex: none;
    display: block;
  }

  .cbm-project-item {
    padding: 38px 0 44px;
    min-height: auto;
    overflow: visible;
  }

  .cbm-project-heading h3 {
    font-size: clamp(30px, 3.2vw, 52px);
  }

  .cbm-project-heading span {
    font-size: clamp(28px, 3vw, 46px);
  }

  .cbm-project-item.is-open .cbm-project-heading {
    transform: none;
  }

  /* Description back to normal flow */
  .cbm-project-body {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .cbm-project-body-inner p {
    font-size: clamp(18px, 1.8vw, 28px);
  }

  .cbm-project-body-inner {
    padding: 0 0 24px 44px;
  }
}

@media (max-width: 640px) {
  .cbm-work-section {
    height: auto;
    overflow: visible;
  }

  .cbm-showcase-stage {
    min-height: 520px;
  }

  .cbm-browser-card {
    min-height: 480px;
  }

  .cbm-browser-screen {
    height: 340px;
  }
}

/* ==========================================================
   FIX 1 — STRAY LINE BETWEEN PROJECT ITEMS ON HOVER
   Root cause: .cbm-project-item::before (the hover glow bg)
   overflows the item bounds and creates a hairline.
   Fix: hide it entirely and replace with a contained
   inset box-shadow that cannot escape the item box.
   ========================================================== */

/* Kill the overflowing ::before glow completely */
.cbm-project-item::before {
  display: none !important;
}

/* Replace with a fully-contained inset box-shadow */
.cbm-project-item:hover,
.cbm-project-item.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(184, 121, 9, 0.15),
    inset 6px 0 28px rgba(255, 184, 56, 0.06),
    inset -6px 0 28px rgba(94, 220, 255, 0.03);
}

/* Hard clip — nothing escapes the item boundary */
.cbm-project-item {
  isolation: isolate;
  overflow: hidden;
}

/* ==========================================================
   FIX 2 — PROOF PILLS: WIDER + PERFECTLY ROUND DOT
   The dot was stretching into an oval because flex align-items
   was stretching it. Force it with all dimension properties
   plus align-self:center so flex cannot distort it.
   ========================================================== */

.cbm-proof-pills {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cbm-proof-pill {
  min-height: 88px;
  padding: 22px 36px 22px 30px;
  gap: 20px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

/* Absolute lockdown on the dot — flex cannot touch it */
.cbm-proof-pill > span {
  display: block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  border-radius: 50% !important;
  align-self: center !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: content-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cbm-proof-pill strong {
  font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.2;
  word-break: normal;
  overflow-wrap: break-word;
  flex: 1 1 auto;
}

/* ==========================================================
   FIX 3 — ZIP / UNZIP REVEAL FOR PROOF SECTION
   The zip line must ONLY appear inside .cbm-proof-section.
   overflow:hidden on the section clips both pseudo-elements
   so they can never bleed upward into the portfolio section.
   ========================================================== */

.cbm-proof-section {
  overflow: hidden; /* hard clip — zip pseudo-elements stay inside */
}

/* Cover panel — starts fully visible, opens from centre */
.cbm-proof-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  clip-path: inset(0% 0 0% 0);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Zip pull line — hidden by default, only shown during open */
.cbm-proof-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(184, 121, 9, 0.9) 30%,
    rgba(255, 184, 56, 1) 50%,
    rgba(184, 121, 9, 0.9) 70%,
    transparent
  );
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  box-shadow: 0 0 12px rgba(255, 184, 56, 0.6), 0 0 24px rgba(255, 184, 56, 0.3);
  opacity: 0; /* invisible until JS triggers the zip */
}

/* Unzipped state — JS adds .cbm-is-unzipped */
.cbm-proof-section.cbm-is-unzipped::after {
  clip-path: inset(50% 0 50% 0); /* collapses to a line then gone */
}

.cbm-proof-section.cbm-is-unzipped::before {
  opacity: 1;
  transform: translateX(-50%) scaleY(1);
  animation: cbmZipLineFade 1.1s 0.25s ease forwards;
}

/* Content reveals after zip */
.cbm-proof-inner {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s 0.65s ease, transform 0.55s 0.65s ease;
}

.cbm-proof-section.cbm-is-unzipped .cbm-proof-inner {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cbmZipLineFade {
  0%   { opacity: 1; }
  55%  { opacity: 0.7; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cbm-proof-section::after,
  .cbm-proof-section::before { display: none; }
  .cbm-proof-inner { opacity: 1; transform: none; transition: none; }
}

.cbm-footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

.cbm-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  width: fit-content;
  min-width: 340px;
}

.cbm-footer-contact:hover {
  border-color: rgba(244, 181, 54, 0.3);
  background: rgba(244, 181, 54, 0.05);
  transform: translateX(6px);
}

.cbm-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b87909;
}

.cbm-contact-value {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s ease;
}

.cbm-footer-contact:hover .cbm-contact-value {
  color: #ffffff;
}

/* ── MOBILE FIX: Stack proof pills vertically ── */
@media (max-width: 768px) {
  .cbm-proof-pills {
    grid-template-columns: 1fr !important; /* Stack on top of each other */
    gap: 16px;
  }

  .cbm-proof-pill {
    border-radius: 20px !important; /* Rounded rect looks better stacked */
    min-height: auto;
    padding: 20px 24px;
    width: 100%;
  }

  .cbm-proof-pill strong {
    font-size: clamp(16px, 4.5vw, 22px);
  }
}