/* ── Construction & Building Supplies page ── */

/* ── 1. Hero ── */
.cbs-hero-wrap {
  position: relative;
  width: 100%;
  min-height: 460px;
  padding-top: 72px;
  overflow: hidden;
  background: var(--voy-bg-cream);
}
.cbs-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cbs-hero-glow {
  position: absolute; top: -60px; right: -40px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(224,37,37,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cbs-hero-glow2 {
  position: absolute; bottom: 40px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(22,101,52,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cbs-hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--voy-bg-cream));
  pointer-events: none;
}
.cbs-hero-container {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cbs-hero-inner { padding: 56px 0 40px 96px; max-width: 640px; flex: 1 1 560px; }
.cbs-hero-inner h1 {
  font-family: var(--voy-font-heading);
  font-weight: 800;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
  color: var(--voy-text-heading);
  margin: 18px 0 22px;
  letter-spacing: -0.025em;
}
.cbs-hero-inner h1 em { font-style: normal; color: var(--voy-primary); }
.cbs-hero-sub {
  font-family: var(--voy-font-body);
  font-size: 17.5px; font-weight: 400;
  color: var(--voy-text-body);
  line-height: 1.65; max-width: 560px;
  margin-bottom: 36px;
}
.cbs-hero-buttons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* hero right visual */
.cbs-hero-visual {
  position: relative; z-index: 2;
  flex: 0 0 auto;
  width: 400px;
  max-width: 40%;
  padding-right: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cbs-hero-panel {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--voy-border);
  border-radius: var(--voy-radius-xl);
  box-shadow: 0 0 40px -18px rgba(224,37,37,.22), 0 24px 54px -20px rgba(60,54,44,.2);
  padding: 22px 24px;
}
.cbs-hero-float-chip {
  position: absolute; left: -22px; bottom: -20px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: #FFFFFF; border: 1px solid rgba(224,37,37,.28);
  border-radius: 14px; padding: 11px 16px;
  box-shadow: 0 16px 36px -16px rgba(26,26,23,.3);
}
.cbs-hero-float-chip .fc-num { font-family: var(--voy-font-heading); font-weight: 800; font-size: 19px; color: var(--voy-primary); letter-spacing: -.01em; }
.cbs-hero-float-chip .fc-lbl { font-size: 11px; color: var(--voy-text-muted); line-height: 1.3; max-width: 118px; }
.cbs-hero-float-chip2 {
  position: absolute; right: -18px; top: -18px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  background: var(--voy-green-bg); border: 1px solid rgba(22,101,52,.28);
  border-radius: 999px; padding: 7px 13px;
  box-shadow: 0 12px 28px -14px rgba(26,26,23,.28);
  font-size: 11.5px; font-weight: 600; color: var(--voy-green);
}
.cbs-hero-float-chip2 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--voy-green); }
.cbs-hero-ring {
  position: absolute; top: -46px; right: -36px;
  width: 130px; height: 130px; border-radius: 50%;
  border: 1px solid rgba(224,37,37,.18);
  pointer-events: none;
}

/* ── 2. Who we build for ── */
.cbs-audience-section { background: #FFFFFF; padding: 96px 96px; border-top: 1px solid rgba(0,0,0,0.06); }
.cbs-audience-inner { max-width: 1360px; margin: 0 auto; }
.cbs-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cbs-audience-block {
  background: var(--voy-bg-panel-inner);
  border: 1px solid var(--voy-border-light);
  border-radius: var(--voy-radius-lg);
  padding: 26px 24px 28px;
  transition: border-color .25s ease, transform .25s cubic-bezier(.22,.8,.36,1), box-shadow .25s ease;
}
.cbs-audience-block:hover { border-color: rgba(224,37,37,.35); transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(26,26,23,.18); }
.cbs-audience-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(224,37,37,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cbs-audience-block h3 { font-family: var(--voy-font-heading); font-weight: 700; font-size: 16.5px; color: var(--voy-text-heading); margin: 0 0 10px; letter-spacing: -.01em; line-height: 1.3; }
.cbs-audience-block p { font-size: 13px; color: #6A6A5A; line-height: 1.55; margin: 0 0 12px; }
.cbs-audience-block p:last-of-type { margin-bottom: 16px; }
.cbs-audience-relevant {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--voy-primary);
  text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s;
}
.cbs-audience-relevant:hover { border-color: var(--voy-primary); }

/* ── 3. Capabilities (bento) ── */
.cbs-cap-section { background: #FFFFFF; padding: 96px 96px; border-top: 1px solid rgba(0,0,0,0.06); }
.cbs-cap-inner { max-width: 1248px; margin: 0 auto; }
.cbs-cap-header { max-width: 660px; margin-bottom: 48px; }
.cbs-cap-header h2 {
  font-family: var(--voy-font-heading); font-weight: 800;
  font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em;
  line-height: 1.1; color: var(--voy-text-heading); margin: 14px 0 16px;
}
.cbs-cap-header p { font-size: 16px; color: var(--voy-text-body); line-height: 1.65; }

.cbs-cap-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas:
    "feature mid1 mid2"
    "feature b1   b1"
    "banner  banner banner";
  gap: 16px;
}
.cbs-bento-tile {
  background: var(--voy-bg-panel-inner);
  border: 1px solid var(--voy-border-light);
  border-radius: var(--voy-radius-lg);
  padding: 24px 24px 26px;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s cubic-bezier(.22,.8,.36,1), box-shadow .25s ease;
}
.cbs-bento-tile:hover { border-color: rgba(224,37,37,.35); transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(26,26,23,.18); }

.cbs-bento-feature { grid-area: feature; background: #1A1A17; border-color: rgba(255,255,255,.08); padding: 32px 30px 30px; }
.cbs-bento-feature:hover { border-color: rgba(224,37,37,.5); transform: none; }
.cbs-bento-feature .cbs-bento-icon { background: rgba(224,37,37,.18); }
.cbs-bento-stat { font-family: var(--voy-font-heading); font-weight: 800; font-size: clamp(26px, 3vw, 34px); color: #FFFFFF; letter-spacing: -.02em; margin: 18px 0 3px; line-height: 1; }
.cbs-bento-stat-label { font-size: 12.5px; color: rgba(254,252,246,.55); margin-bottom: 22px; }
.cbs-bento-feature .cbs-bento-title { color: #FEFCF6; font-size: 19px; }
.cbs-bento-feature .cbs-bento-desc { color: rgba(254,252,246,.6); }
.cbs-bento-feature .cbs-bento-tag { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: rgba(254,252,246,.82); }

.cbs-bento-mid1 { grid-area: mid1; }
.cbs-bento-mid2 { grid-area: mid2; }
.cbs-bento-b1 { grid-area: b1; }
.cbs-bento-banner { grid-area: banner; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 26px 30px; }

.cbs-bento-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(224,37,37,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.cbs-bento-title { font-family: var(--voy-font-heading); font-weight: 700; font-size: 16.5px; color: var(--voy-text-heading); margin-bottom: 8px; }
.cbs-bento-desc { font-size: 13px; color: #6A6A5A; line-height: 1.55; margin-bottom: 16px; flex: 1; }
.cbs-bento-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.cbs-bento-tag { font-size: 11.5px; font-family: var(--voy-font-mono); color: #5A5A50; background: #FFFFFF; border: 1px solid var(--voy-border-light); padding: 5px 10px; border-radius: var(--voy-radius-pill); }

.cbs-bento-b1 .cbs-bento-tags { flex-wrap: wrap; }

.cbs-bento-banner-left { display: flex; align-items: center; gap: 18px; flex: 1 1 320px; }
.cbs-bento-banner-left .cbs-bento-icon { margin-bottom: 0; }
.cbs-bento-banner-text .cbs-bento-title { margin-bottom: 4px; }
.cbs-bento-banner-text .cbs-bento-desc { margin-bottom: 0; }
.cbs-bento-banner-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.cbs-bento-banner-stat-num { font-family: var(--voy-font-heading); font-weight: 800; font-size: 21px; color: var(--voy-primary); letter-spacing: -.01em; }
.cbs-bento-banner-stat-label { font-size: 11px; color: var(--voy-text-muted); margin-top: 3px; max-width: 150px; line-height: 1.35; }

/* ── 4. Where we contribute ── */
.cbs-contrib-section { background: var(--voy-bg-cream); padding: 88px 96px; border-top: 1px solid rgba(0,0,0,0.06); }
.cbs-contrib-inner { max-width: 780px; margin: 0 auto; }
.cbs-contrib-header { text-align: center; margin-bottom: 40px; }
.cbs-contrib-header h2 {
  font-family: var(--voy-font-heading); font-weight: 800;
  font-size: clamp(26px, 3vw, 36px); color: var(--voy-text-heading); letter-spacing: -.025em; margin: 14px 0 0;
}
.cbs-contrib-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cbs-contrib-list li {
  font-size: 15px; line-height: 1.6; color: var(--voy-text-body);
  padding: 16px 20px; background: #FFFFFF;
  border: 1px solid var(--voy-border-light); border-radius: 10px;
}

/* ── 5. What we would ask first (FAQ-style layout) ── */
.cbs-questions-section { background: #FFFFFF; padding: 100px 96px; border-top: 1px solid rgba(0,0,0,0.07); }
.cbs-questions-inner { max-width: 1248px; margin: 0 auto; display: flex; gap: 80px; align-items: flex-start; }
.cbs-questions-intro { flex: 0 0 320px; position: sticky; top: 110px; }
.cbs-questions-intro .section-badge-wrap { justify-content: flex-start; margin-bottom: 18px; }
.cbs-questions-intro h2 {
  font-family: var(--voy-font-heading); font-weight: 800;
  font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em;
  line-height: 1.15; color: var(--voy-text-heading); margin: 0;
}
.cbs-questions-list { flex: 1; min-width: 0; border-top: 1px solid rgba(0,0,0,0.09); }
.cbs-questions-item { display: flex; align-items: flex-start; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(0,0,0,0.09); }
.cbs-questions-num { flex-shrink: 0; font-family: var(--voy-font-mono); font-size: 13px; font-weight: 500; color: rgba(224,37,37,.5); padding-top: 3px; }
.cbs-questions-text { flex: 1; font-family: var(--voy-font-heading); font-weight: 700; font-size: 17px; color: var(--voy-text-heading); line-height: 1.4; }

/* ── 6. Projects ── */
.cbs-cases-section { background: var(--voy-bg-cream); padding: 96px 96px; border-top: 1px solid rgba(0,0,0,0.06); position: relative; overflow: hidden; }
.cbs-cases-inner { max-width: 1248px; margin: 0 auto; position: relative; z-index: 1; }
.cbs-cases-header { margin-bottom: 40px; max-width: 700px; }
.cbs-cases-header h2 {
  font-family: var(--voy-font-heading); font-weight: 800;
  font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em;
  line-height: 1.1; color: var(--voy-text-heading); margin: 14px 0 16px;
}
.cbs-cases-header p { font-size: 16px; color: var(--voy-text-body); line-height: 1.65; }
.cbs-tabs-bar { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid rgba(0,0,0,0.1); margin-bottom: 32px; padding-bottom: 14px; }
.cbs-tab {
  background: #FFFFFF; border: 1px solid var(--voy-border-light); cursor: pointer;
  padding: 9px 16px; border-radius: var(--voy-radius-pill);
  font-size: 13px; font-weight: 500; color: var(--voy-text-muted);
  transition: all .2s ease; white-space: nowrap; font-family: var(--voy-font-body);
}
.cbs-tab.active { background: var(--voy-text-heading); border-color: var(--voy-text-heading); color: #FFFFFF; font-weight: 600; }
.cbs-tab:hover:not(.active) { border-color: rgba(224,37,37,.4); color: var(--voy-text-heading); }
.cbs-case-panel {
  background: var(--voy-bg-panel);
  border-radius: 16px;
  border: 1px solid #F2EBE0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.05);
  padding: 44px 48px;
  display: flex; gap: 56px; align-items: flex-start;
  transition: opacity .25s ease, transform .25s cubic-bezier(.22,.8,.36,1);
}
.cbs-case-panel.switching { opacity: 0; transform: translateY(8px); }
.cbs-case-left { flex: 1.3; min-width: 0; }
.cbs-case-right { width: 320px; flex: none; background: var(--voy-bg-panel-inner); border-radius: 12px; border: 1px solid #EAE9E7; padding: 26px 22px; }
.cbs-case-cat { font-size: 12px; font-family: var(--voy-font-mono); font-weight: 500; letter-spacing: .06em; color: var(--voy-primary); text-transform: uppercase; margin-bottom: 14px; }
.cbs-case-title { font-family: var(--voy-font-heading); margin: 0 0 16px; font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--voy-text-heading); }
.cbs-case-desc { margin: 0 0 24px; font-size: 14.5px; line-height: 1.7; color: #5A5A50; }
.cbs-case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cbs-case-metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--voy-text-muted); margin-bottom: 14px; font-weight: 600; }
.cbs-case-metric { padding: 12px 0; border-bottom: 1px solid #EAE7E0; }
.cbs-case-metric:last-child { border-bottom: none; padding-bottom: 0; }
.cbs-case-metric-num { font-family: var(--voy-font-heading); font-weight: 800; font-size: 17px; color: var(--voy-primary); letter-spacing: -.01em; }
.cbs-case-metric-text { font-size: 12.5px; color: #6A6A5A; margin-top: 2px; line-height: 1.4; }

/* ── 7. Stats band ── */
.cbs-stats-section { background: #1A1A17; padding: 72px 96px; }
.cbs-stats-inner { max-width: 1248px; margin: 0 auto; }
.cbs-stats-inner h2 {
  font-family: var(--voy-font-heading); font-weight: 800; text-align: center;
  font-size: clamp(24px, 2.6vw, 32px); color: #FEFCF6; letter-spacing: -.02em; margin-bottom: 48px;
}
.cbs-stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.cbs-stat-cell { text-align: center; padding: 0 12px; border-left: 1px solid rgba(255,255,255,0.08); }
.cbs-stat-cell:first-child { border-left: none; }
.cbs-stat-num { font-family: var(--voy-font-heading); font-weight: 800; font-size: 26px; color: var(--voy-primary); letter-spacing: -.02em; line-height: 1; }
.cbs-stat-label { font-size: 12px; color: rgba(254,252,246,0.5); margin-top: 10px; line-height: 1.4; }

/* ── 8. Tech stack ── */
.cbs-stack-section { background: #FFFFFF; padding: 96px 96px; border-top: 1px solid rgba(0,0,0,0.06); }
.cbs-stack-inner { max-width: 1248px; margin: 0 auto; }
.cbs-stack-header { text-align: center; margin-bottom: 48px; }
.cbs-stack-header h2 {
  font-family: var(--voy-font-heading); font-weight: 800;
  font-size: clamp(26px, 3vw, 36px); letter-spacing: -.025em;
  color: var(--voy-text-heading); margin: 14px 0 0;
}
.cbs-stack-header p { font-size: 15px; color: var(--voy-text-body); line-height: 1.6; max-width: 540px; margin: 12px auto 0; }

.cbs-stack-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }

/* left: stacked layer buttons */
.cbs-stack-list { display: flex; flex-direction: column; gap: 10px; }
.cbs-stack-layer {
  display: flex; align-items: center; gap: 18px; width: 100%;
  font-family: inherit; text-align: left; cursor: pointer;
  padding: 22px 24px; border-radius: var(--voy-radius-lg);
  background: #FFFFFF; border: 1px solid var(--voy-border-light);
  box-shadow: 0 2px 10px rgba(20,20,20,.04);
  transition: all .2s ease-out;
}
.cbs-stack-layer:nth-child(1) { transform: translateX(18px); }
.cbs-stack-layer:nth-child(2) { transform: translateX(24px); }
.cbs-stack-layer:nth-child(3) { transform: translateX(30px); }
.cbs-stack-layer:nth-child(4) { transform: translateX(36px); }
.cbs-stack-layer:hover { transform: translateX(8px); }
.cbs-stack-layer.is-active,
.cbs-stack-layer.is-active:hover {
  transform: translateX(0);
  background: var(--voy-text-heading); border-color: var(--voy-text-heading);
  box-shadow: 0 18px 40px rgba(20,20,20,.16);
}
.cbs-stack-layer-num {
  flex: none; font-family: var(--voy-font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; color: var(--voy-primary); background: rgba(224,37,37,.08);
  border-radius: 8px; padding: 8px 10px; transition: all .2s ease-out;
}
.cbs-stack-layer.is-active .cbs-stack-layer-num { color: #fff; background: rgba(255,255,255,.14); }
.cbs-stack-layer-text { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.cbs-stack-layer-name { font-family: var(--voy-font-heading); font-weight: 700; font-size: 19px; letter-spacing: -.02em; transition: color .2s ease-out; color: var(--voy-text-heading); }
.cbs-stack-layer-blurb { font-size: 13.5px; line-height: 1.4; color: var(--voy-text-muted); transition: color .2s ease-out; }
.cbs-stack-layer.is-active .cbs-stack-layer-name { color: #fff; }
.cbs-stack-layer.is-active .cbs-stack-layer-blurb { color: rgba(255,255,255,.62); }
.cbs-stack-layer-count {
  flex: none; font-family: var(--voy-font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: #C4BDB5; transition: color .2s ease-out;
}
.cbs-stack-layer.is-active .cbs-stack-layer-count { color: rgba(255,255,255,.5); }

/* right: sticky pill panel */
.cbs-stack-panels { position: sticky; top: 32px; }
.cbs-stack-panel { display: none; flex-direction: column; gap: 20px; background: var(--voy-bg-panel-inner); border: 1px solid var(--voy-border-light); border-radius: var(--voy-radius-lg); padding: 30px 28px; }
.cbs-stack-panel.is-active { display: flex; }
.cbs-stack-panel-label { font-family: var(--voy-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--voy-primary); }
.cbs-stack-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cbs-stack-pill {
  font-size: 12.5px; color: #5A5A50; font-weight: 500;
  background: #FFFFFF; border: 1px solid var(--voy-border-light);
  padding: 6px 12px; border-radius: var(--voy-radius-pill);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cbs-hero-inner, .cbs-audience-section, .cbs-cap-section, .cbs-contrib-section, .cbs-questions-section, .cbs-cases-section, .cbs-stack-section, .cbs-stats-section { padding-left: 48px; padding-right: 48px; }
  .cbs-hero-visual { width: 300px; padding-right: 48px; }
  .cbs-hero-panel { max-width: 280px; padding: 18px 18px; }
  .cbs-hero-float-chip { left: -14px; bottom: -14px; padding: 9px 12px; }
  .cbs-audience-grid { grid-template-columns: 1fr; }
  .cbs-cap-bento { grid-template-columns: 1fr 1fr; grid-template-areas: "feature feature" "mid1 mid2" "b1 b1" "banner banner"; }
  .cbs-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cbs-stat-cell { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
  .cbs-questions-inner { flex-direction: column; gap: 40px; }
  .cbs-questions-intro { position: static; flex: none; }
}
@media (max-width: 900px) {
  .cbs-case-panel { flex-direction: column; gap: 28px; }
  .cbs-case-right { width: 100%; }
}
@media (max-width: 1100px) {
  .cbs-stack-body { grid-template-columns: 1fr; gap: 28px; }
  .cbs-stack-panels { position: static; top: auto; }
  .cbs-stack-layer, .cbs-stack-layer:nth-child(n) { transform: none; }
}
@media (max-width: 860px) {
  .cbs-hero-container { flex-wrap: wrap; }
  .cbs-hero-visual { display: none; }
  .cbs-hero-inner { flex: 1 1 100%; max-width: 100%; }
}
@media (max-width: 700px) {
  .cbs-hero-inner { padding: 56px 24px 32px; }
  .cbs-audience-section, .cbs-cap-section, .cbs-contrib-section, .cbs-questions-section, .cbs-cases-section, .cbs-stack-section, .cbs-stats-section { padding: 56px 20px 64px; }
  .cbs-cap-bento { grid-template-columns: 1fr; grid-template-areas: "feature" "mid1" "mid2" "b1" "banner"; }
  .cbs-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cbs-case-panel { padding: 28px 20px; }
  .cbs-stack-layer { padding: 16px 16px; gap: 12px; border-radius: 12px; }
  .cbs-stack-layer-num { font-size: 11px; padding: 6px 8px; border-radius: 6px; }
  .cbs-stack-layer-name { font-size: 16px; }
  .cbs-stack-layer-blurb { font-size: 12.5px; }
  .cbs-stack-layer-count { display: none; }
  .cbs-stack-panel { padding: 22px 20px; }
  .cbs-bento-banner { flex-direction: column; align-items: flex-start; }
  .cbs-questions-item { gap: 12px; }
}
