/* =====================================================================
   Daytime Design Co. — Case Study palette: Heroic
   Structure lives in case-study.css. This file is Heroic's palette plus
   the hero art sizing. Nothing else belongs here.
   Load order: styles.css → case-study.css → heroic.css → anim.css
   Hero mode: cs-hero--dark (periwinkle field, so the nav stays cream)
   Sampled from the Heroic 2.0 brand: Periwinkle, Powder Blue, Linen,
   Stone, plus the category yellow the app uses for what's new.
   ===================================================================== */

:root {
  /* the spine's palette contract */
  --cs-hero-field:  #5461ae;              /* periwinkle */
  --cs-hero-strip:  #4b579d;              /* meta strip — periwinkle at 10% black */
  --cs-paper:       #fdfdfb;              /* every editorial section */
  --cs-cream:       #f8f7f3;              /* linen — the outcome band */
  --cs-card:        #ffffff;              /* outcome number cards */
  --cs-screen:      #f8f7f3;              /* linen, behind screens */
  --cs-chrome:      #edebe6;              /* browser chrome bar, stone */
  --cs-web-field:   #5461ae;              /* the web band, same field as the hero */
  --cs-web-ink:     #fdfdfb;
  --cs-web-shadow:  rgba(19, 23, 27, 0.34);
  --cs-words-field: #cfe1ed;              /* powder blue — the quote band */
  --cs-pair-card:   #f8f7f3;

  /* the rest of the Heroic palette, for reference */
  --hr-ink:         #13171b;              /* surface inverse */
  --hr-stone:       #ddd9d5;
  --hr-yellow:      #e2ca39;              /* the app's "new" yellow */
}

/* ---------- hero art — browser card with the app phone in front ---------- */
.heroic-devices {
  width: min(720px, 110%);
  margin-right: clamp(-70px, -3vw, 0px);
}
@media (max-width: 1100px) {
  .heroic-devices { width: min(560px, 100%); margin-right: 0; }
}

/* Nov 25: bigger hero art. The v2 composite carries its own shadow room, so it sits inside its column, never past the edge */
@media (min-width: 1101px) {
  .cs-hero--dark .cs-hero__grid { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); align-items: center; }
}
.heroic-devices { width: 100%; max-width: 860px; height: auto; margin: 0; }
@media (max-width: 1100px) {
  .heroic-devices { width: min(680px, 100%); }
}
/* the app band keeps its whole phone on small screens */
@media (max-width: 820px) {
  .cs-full--app .cs-full__img { height: auto; object-fit: contain; }
}
