/* "Make your own" binder page (/ws/binder/custom): the sales sections around the builder (components/ws/CustomBinderSections.tsx).
   Mobile first. Uses the tokens in ws.css; the FAQ reuses .bfaq from binder.css. */

.cbs__sec { padding: 72px 0 8px; }
.cbs__title { font-size: clamp(40px, 12vw, 96px); margin-top: 14px; }
.cbs__note { margin-top: 10px; color: var(--faint); font-size: 10px; }

/* how it works */
.cbs-how__steps { list-style: none; display: grid; gap: 10px; margin-top: 28px; counter-reset: none; }
.cbs-how__steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: color-mix(in srgb, var(--ink-2) 80%, transparent); }
.cbs-how__n { grid-row: span 2; font-size: 34px; line-height: .9; -webkit-text-stroke-width: 1.2px; }
.cbs-how__steps b { font-size: 18px; line-height: 1.25; }
.cbs-how__steps p { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 4px; }
.cbs-how__covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.cbs-how__covers img { width: 100%; height: auto; aspect-ratio: 600 / 804; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: 0 12px 28px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.cbs-how__covers img:nth-child(odd) { rotate: -2deg; }
.cbs-how__covers img:nth-child(even) { rotate: 2deg; translate: 0 6px; }
@media (min-width: 800px) {
  .cbs-how__steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cbs-how__steps li { grid-template-columns: 1fr; padding: 24px; align-content: start; }
  .cbs-how__n { grid-row: auto; font-size: 64px; margin-bottom: 18px; }
  .cbs-how__covers { gap: 18px; max-width: 880px; margin: 36px auto 0; }
  .cbs-how .cbs__note { text-align: center; }
}

/* what you get */
.cbs-get__grid { display: grid; gap: 12px; margin-top: 28px; }
.cbs-get__wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cbs-get__wrap img { width: 100%; height: auto; aspect-ratio: 1400 / 782; }
.cbs-get__wrap figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 9% 1fr; text-align: center; padding: 8px 0; font-size: 10px; color: var(--bone); background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.cbs-get__inside { display: none; border-radius: var(--radius); overflow: hidden; background: #f3f1ea; }
.cbs-get__inside img { width: 100%; height: 100%; object-fit: cover; }
.cbs-get__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cbs-get__facts div { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--ink-2) 80%, transparent); }
.cbs-get__facts div:first-child, .cbs-get__facts div:nth-child(4), .cbs-get__facts div:last-child { grid-column: 1 / -1; }
.cbs-get__facts dt { color: var(--muted); font-size: 10px; }
.cbs-get__facts dd { margin-top: 4px; font-weight: 600; font-size: 14px; line-height: 1.4; }
.cbs-get__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 20px; }
.cbs-get__price b { font-size: 56px; line-height: 1; }
.cbs-get__price span { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .cbs-get__grid { grid-template-columns: 1.6fr 1fr; grid-template-areas: "wrap inside" "facts facts"; }
  .cbs-get__wrap { grid-area: wrap; }
  .cbs-get__inside { grid-area: inside; display: block; position: relative; }
  .cbs-get__inside img { position: absolute; inset: 0; }
  .cbs-get__facts { grid-area: facts; grid-template-columns: repeat(3, 1fr); }
  .cbs-get__facts div:first-child, .cbs-get__facts div:nth-child(4), .cbs-get__facts div:last-child { grid-column: auto; }
  .cbs-get__wrap figcaption { font-size: 12px; }
}

/* for you or for them */
.cbs-who__grid { display: grid; gap: 12px; margin-top: 28px; }
.cbs-who__card { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: color-mix(in srgb, var(--ink-2) 80%, transparent); }
.cbs-who__card img { width: 100%; height: auto; aspect-ratio: 600 / 804; border-radius: 3px 8px 8px 3px; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.cbs-who__tag { color: var(--gold); font-size: 10px; }
.cbs-who__card h3 { font-size: 26px; margin: 6px 0 8px; }
.cbs-who__card p { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 800px) {
  .cbs-who__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cbs-who__card { grid-template-columns: 150px 1fr; gap: 24px; padding: 20px; }
  .cbs-who__card h3 { font-size: 34px; }
  .cbs-who__card p { font-size: 15px; }
}

/* faq */
.cbs-faq { padding-top: 72px; }

/* match it with a hoodie */
.cbs-match { padding: 48px 0 40px; } /* the strip now sits right above the builder: give the builder room */
.cbs-match__card { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.04); transition: border-color .2s, background .2s; }
.cbs-match__card:hover { border-color: rgba(243,241,234,.3); background: rgba(255,255,255,.07); }
.cbs-match__imgs { display: flex; }
.cbs-match__imgs img { width: 58px; height: auto; aspect-ratio: 439 / 462; border-radius: 10px; background: radial-gradient(circle at 50% 35%, #1d1d26, #0b0b10); border: 1px solid var(--ink); }
.cbs-match__imgs img + img { margin-left: -22px; }
.cbs-match__body { display: grid; gap: 4px; min-width: 0; }
.cbs-match__body b { font-size: 17px; line-height: 1.05; }
.cbs-match__note { color: var(--muted); font-size: 13px; line-height: 1.4; }
.cbs-match__go { grid-column: 1 / -1; text-align: center; font-size: 11px; padding: 10px 14px; border-radius: 999px; background: var(--bone); color: var(--ink); }
@media (min-width: 700px) {
  .cbs-match__card { grid-template-columns: auto 1fr auto; padding: 16px 20px; gap: 24px; }
  .cbs-match__imgs img { width: 84px; }
  .cbs-match__imgs img + img { margin-left: -30px; }
  .cbs-match__body b { font-size: 24px; }
  .cbs-match__go { grid-column: auto; }
}

/* last call */
.cbs-cta { padding: 80px 0 96px; text-align: center; }
.cbs-cta h2 { font-size: clamp(56px, 17vw, 128px); }
.cbs-cta p { color: var(--muted); max-width: 30ch; margin: 18px auto 26px; }
.cbs-cta .btn { min-width: 240px; }

/* the builder anchor clears the sticky header */
#builder { scroll-margin-top: 64px; }
@media (prefers-reduced-motion: no-preference) { html:has(.cbs) { scroll-behavior: smooth; } }
