/* The Spearhead Color System full-details page (resources/views/store/color-system.blade.php).
   Built from the store's own pieces; only what the page adds lives here. */

.scsp-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); overflow-x: clip; } /* the stage visual spills on phones, as on the store page */
.scsp-crumb { font-size: .8rem; color: var(--muted); margin: 0 0 1.5rem; }
.scsp-crumb a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.scsp-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .95;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -.01em; margin: .75rem 0 1rem; text-wrap: balance; }
.scsp-title .em { color: var(--accent); }

.scsp-facts { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0; display: grid; gap: 1px;
  grid-template-columns: repeat(4, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scsp-facts li { background: var(--bg); padding: 1.25rem 1.4rem; color: var(--ink-2); font-size: .85rem; }
.scsp-facts b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--ink); margin-bottom: .35rem; }
@media (max-width: 720px) { .scsp-facts { grid-template-columns: repeat(2, 1fr); } }

/* the nine stages */
.scsp-pipe { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.scsp-pipe li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: .45rem; align-content: start; background: var(--bg-2); }
.scsp-pipe__n { font-family: var(--font-display); font-size: .85rem; color: var(--accent); letter-spacing: .08em; }
.scsp-pipe b { font-size: 1.1rem; }
.scsp-pipe li > span:last-child { color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
@media (max-width: 1000px) { .scsp-pipe { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .scsp-pipe { grid-template-columns: 1fr; } }

/* cameras */
.scsp-cams { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.scsp-cams li { border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-size: .92rem; font-weight: 500; background: var(--bg-3); color: var(--ink); }
.scsp-note { margin: 1.4rem 0 0; max-width: 72ch; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }

/* looks */
.scsp-looks { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.scsp-look { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; background: var(--bg-2); }
.scsp-look h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; margin: 0; display: flex; align-items: baseline; justify-content: space-between; }
.scsp-look h3 small { font-family: var(--font-body); font-size: .75rem; color: var(--muted); letter-spacing: .08em; }
.scsp-look p { color: var(--ink-2); font-size: .88rem; margin: .35rem 0 .9rem; }
.scsp-look ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.scsp-look li { font-size: .8rem; padding: .3rem .6rem; border-radius: 6px; background: var(--bg-3); color: var(--ink); }
@media (max-width: 1100px) { .scsp-looks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scsp-looks { grid-template-columns: 1fr; } }

/* workflow and requirements */
.scsp-split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr 1.2fr; align-items: start; }
.scsp-req { margin-top: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .scsp-split, .scsp-req { grid-template-columns: 1fr; } }
.scsp-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: .75rem; }
.scsp-steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: .75rem; align-items: baseline;
  padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); line-height: 1.5; }
.scsp-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); color: var(--accent); font-size: 1.05rem; }
.scsp-split > div > .h2 + .lede { margin-top: 1.25rem; }
.scsp-req .h3 { margin: 0 0 1rem; }

.scsp-cta { text-align: center; }
.scsp-cta .hero__actions { justify-content: center; }
.scsp-cta .lede { margin: 1.25rem auto 0; }
.scsp-cta .hero__actions { margin-top: 2rem; }

/* the teaser: the story and proof points beside the 9:16 film; the whole section is held to a
   comfortable width so a wide browser doesn't leave a gulf between them (Brady, 21 Oct 2026) */
.scsp-teaser__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 1fr) auto; align-items: center; max-width: 1180px; margin-inline: auto; }
.scsp-why .h2 { text-wrap: balance; }
.scsp-why .h2 + .lede { margin-top: 1.25rem; max-width: 56ch; }
.scsp-why__points { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scsp-why__points li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--bg-2); display: grid; gap: .3rem; align-content: start; }
.scsp-why__points b { color: var(--accent); font-size: .95rem; }
.scsp-why__points span { color: var(--ink-2); font-size: .86rem; line-height: 1.45; }
.scsp-teaser__frame { position: relative; height: min(76vh, 720px); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
/* a few pixels of punch-in hide the player's light edge while it loads */
.scsp-teaser__frame iframe { position: absolute; top: -3px; left: -3px; width: calc(100% + 6px); height: calc(100% + 6px); border: 0; }
.scsp-teaser__tag { position: absolute; z-index: 1; left: .75rem; top: .75rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; pointer-events: none; }
@media (max-width: 1100px) { .scsp-why__points { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .scsp-teaser__grid { grid-template-columns: 1fr; }
  .scsp-teaser__frame { height: auto; width: min(100%, 340px, calc(70svh * 9 / 16)); margin-inline: auto; }
}

/* on a phone every buy and teaser button runs full width, easy to hit with a thumb (21 Oct 2026; ad traffic is mostly phones) */
@media (max-width: 640px) {
  .scsp-hero .hero__actions, .scsp-cta .hero__actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
  .scsp-hero .hero__actions form, .scsp-cta .hero__actions form { display: block; }
  .scsp-hero .hero__actions .btn, .scsp-cta .hero__actions .btn { width: 100%; justify-content: center; }
}
